What time of year is your trip?
Seven nights for Barcelona, San Sebastian, and multiple points in between? It's certainly not what I would do. For one thing, two nights in Barcelona means really just one day if you're arriving from North America, due to sleep-deprivation and jetlag. I'd spend the whole time in Barcelona, taking however many day-trips I felt like.
I haven't seen the Spanish Pyrenees, but folks have reported that the area is lovely. I question whether you really have time to include it, however.
The Basque Country is very pretty (though I'm sure less dramatic than the mountains), so having some time to explore there would be good. I preferred Bilbao to San Sebastian and am sorry you won't have time for the former. There are also some cute little coastal villages (formerly fishing villages, now touristy) west of San Sebastian. Hondarribia is a bit larger and would probably be a pleasant overnight stop. It has a fishermen's district (the restaurant area) down along the water and a medieval center on the hill. But if you're looking for a lively food scene, I think you'd be better off in San Sebastian. Certainly for 2 nights, I wouldn't choose Hondarribia.
Not terribly far from Logrono (between Logrono and the very interesting Vitoria-Gasteiz) is the old hill town of Laguardia. Close to the Rioja area, and complete with wine bars. Very atmospheric. A one-night stopover there would be fine; I think it's too small for longer than that.
I stayed in Pamplona for a couple of nights because I couldn't find an affordable hotel in Vitoria-Gasteiz. Pamplona is OK; there is an historic center to wander around. I didn't think it was special at all; I preferred Vitoria-Gasteiz.
You can fiddle around with ViaMichelin.com to see estimated driving times (said to be optimistic). Getting into and around the Pyrenees on the Spanish side looks a bit slow. I see that if you ask for a routing between San Sebastian and Jaca, the route through France is an hour faster than the route through Spain.
I'd suggest leaving your time in Barcelona until the end of your trip so you don't have to rush back to catch your flight. Something can always happen on the road.