attach_volume doesn't work in cells when api is icehouse and compute is havana

Bug #1308846 reported by Sam Morrison
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Won't Fix
Undecided
Unassigned

Bug Description

This affects Havana not Icehouse

The method signature of attach_volume changed from Havana -> Icehouse

- def attach_volume(self, context, instance, volume_id, device=None):
+ def attach_volume(self, context, instance, volume_id, device=None,
+ disk_bus=None, device_type=None):

Tags: cells vol
Tracy Jones (tjones-i)
tags: added: vol
Stephen Gordon (sgordon)
tags: added: cells
Revision history for this message
Joe Gordon (jogo) wrote :

Although I cannot validate this myself, I am not surprised to see this, in our rolling upgrade testing we didn't use cells. At this point I don't think we can really retroactively fix this, I think the best we can do is try to get better cells testing in the gate.

Sam, just to be clear this breaks if you use cells?

Changed in nova:
status: New → Won't Fix
Revision history for this message
Joe Gordon (jogo) wrote :

Marking this as a won't fix since I am not sure how we can easily fix this without requiring patches to havana

Revision history for this message
Chris Behrens (cbehrens) wrote :

Agree with "won't fix". There's a number of things related to objects that need fixed with cells yet, also, to allow rolling upgrades.

Revision history for this message
Sam Morrison (sorrison) wrote :

Yeah all good, we have a simple patch in our havana tree to add those two arguments and just do nothing with them to match the method signature. Seems to work fine.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.