boot from volume fails when upgrading using cinder v1 API
Bug #1354499 reported by
Dan Prince
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Critical
|
Dan Prince |
Bug Description
In c5402ef4fc50904
When a user who was previously using the Cinder v1 API (which would have been required) updates to the new code the immediate defaults cause the cinder v2 API to be chosen. This is because we now default cinder_catalog_info to 'volumev2:
Given the new deprecation code hasn't been released yet I think we need to wait at least one release before we can make this change to our cinder_catalog_info default value.
Changed in nova: | |
assignee: | nobody → Dan Prince (dan-prince) |
importance: | Undecided → Critical |
status: | New → In Progress |
Changed in nova: | |
milestone: | none → juno-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-3 → 2014.2 |
To post a comment you must log in.
This is the exception you'll see if your Keystone endpoint still uses the Cinder V1 api and you upgrade to the latest nova code:
Aug 07 20:11:05 overcloud- novacompute0- fj442a7p4zp6 nova-compute[2720]: 2014-08-07 20:11:05.501 2720 TRACE nova.compute. manager [instance: f3ecce77- 84c9-4ea6- 80c1-e5b8177860 d6] bdm.attach( *attach_ args, **attach_kwargs) novacompute0- fj442a7p4zp6 nova-compute[2720]: 2014-08-07 20:11:05.501 2720 TRACE nova.compute. manager [instance: f3ecce77- 84c9-4ea6- 80c1-e5b8177860 d6] File "/opt/stack/ venvs/nova/ lib/python2. 7/site- packages/ nova/virt/ block_device. py", line 316, in attach novacompute0- fj442a7p4zp6 nova-compute[2720]: 2014-08-07 20:11:05.501 2720 TRACE nova.compute. manager [instance: f3ecce77- 84c9-4ea6- 80c1-e5b8177860 d6] '', '', image_id= self.image_ id) novacompute0- fj442a7p4zp6 nova-compute[2720]: 2014-08-07 20:11:05.501 2720 TRACE nova.compute. manager [instance: f3ecce77- 84c9-4ea6- 80c1-e5b8177860 d6] File "/opt/stack/ venvs/nova/ lib/python2. 7/site- packages/ nova/volume/ cinder. py", line 367, in create novacompute0- fj442a7p4zp6 nova-compute[2720]: 2014-08-07 20:11:05.501 2720 TRACE nova.compute. manager [instance: f3ecce77- 84c9-4ea6- 80c1-e5b8177860 d6] version = get_cinder_ client_ version( context) novacompute0- fj442a7p4zp6 nova-compute[2720]: 2014-08-07 20:11:05.501 2720 TRACE nova.compute. manager [instance: f3ecce77- 84c9-4ea6- 80c1-e5b8177860 d6] File "/opt/stack/ venvs/nova/ lib/python2. 7/site- packages/ nova/volume/ cinder. py", line 237, in get_cinder_ client_ version novacompute0- fj442a7p4zp6 nova-compute[2720]: 2014-08-07 20:11:05.501 2720 TRACE nova.compute. manager [instance: f3ecce77- 84c9-4ea6- 80c1-e5b8177860 d6] endpoint_ type=endpoint_ type) novacompute0- fj442a7p4zp6 nova-compute[2720]: 2014-08-07 20:11:05.501 2720 TRACE nova.compute. manager [instance: f3ecce77- 84c9-4ea6- 80c1-e5b8177860 d6] File "/opt/stack/ venvs/nova/ lib/python2. 7/site- packages/ cinderclient/ service_ catalog. py", line 80, in url_for novacompute0- fj442a7p4zp6 nova-compute[2720]: 2014-08-07 20:11:05.501 2720 TRACE nova.compute. manager [instance: f3ecce77- 84c9-4ea6- 80c1-e5b8177860 d6] raise cinderclient. exceptions. EndpointNotFoun d() novacompute0- fj442a7p4zp6 nova-compute[2720]: 2014-08-07 20:11:05.501 2720 TRACE nova.compute. manager [instance: f3ecce77- 84c9-4ea6- 80c1-e5b8177860 d6] EndpointNotFound
Aug 07 20:11:05 overcloud-
Aug 07 20:11:05 overcloud-
Aug 07 20:11:05 overcloud-
Aug 07 20:11:05 overcloud-
Aug 07 20:11:05 overcloud-
Aug 07 20:11:05 overcloud-
Aug 07 20:11:05 overcloud-
Aug 07 20:11:05 overcloud-
Aug 07 20:11:05 overcloud-