Bug 1381323

Summary: nova image-create fails with instances booted from volume
Product: [Community] RDO Reporter: Alessandro Pilotti <apilotti>
Component: openstack-novaAssignee: nlevinki <nlevinki>
Status: CLOSED ERRATA QA Contact: Prasanth Anbalagan <panbalag>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: MitakaCC: berrange, chris.brown, dasmith, eglynn, rbryant, sbauza, sferdjao, sgordon, srevivo, vromanso
Target Milestone: ---   
Target Release: trunk   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-19 20:25:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Alessandro Pilotti 2016-10-03 17:11:26 UTC
Description of problem:


Using packstack on Mitaka, trying to snapshot an instance booted from volume fails with:

2016-10-03 19:54:27.347 3546 ERROR nova.api.openstack.extensions from cinderclient.v3.availability_zones import * # flake8: noqa
2016-10-03 19:54:27.347 3546 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/cinderclient/v3/__init__.py", line 17, in <module>
2016-10-03 19:54:27.347 3546 ERROR nova.api.openstack.extensions from cinderclient.v3.client import Client # noqa
2016-10-03 19:54:27.347 3546 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/cinderclient/v3/client.py", line 20, in <module>
2016-10-03 19:54:27.347 3546 ERROR nova.api.openstack.extensions from cinderclient.v3 import availability_zones
2016-10-03 19:54:27.347 3546 ERROR nova.api.openstack.extensions ImportError: cannot import name availability_zones
2016-10-03 19:54:27.347 3546 ERROR nova.api.openstack.extensions

Version-Release number of selected component (if applicable):

RDO Mitaka

Installed cinder client: python-cinderclient-1.6.0-1.el7.noarch

How reproducible:

Steps to Reproduce:
1. Boot instance from volume
2. novva image-create <instance> <name>
3.

Actual results:

Fails with 500 error

Expected results:

Snapshot created

Additional info:

Updating python-cinderclient solves the issue

Comment 1 Christopher Brown 2017-06-19 20:25:09 UTC
As an updated client resolved this I'm closing ERRATA but please re-open if still a problem.

Thanks