Bug 1381323 - nova image-create fails with instances booted from volume
Summary: nova image-create fails with instances booted from volume
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: RDO
Classification: Community
Component: openstack-nova
Version: Mitaka
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
: trunk
Assignee: nlevinki
QA Contact: Prasanth Anbalagan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-03 17:11 UTC by Alessandro Pilotti
Modified: 2017-06-19 20:25 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-19 20:25:09 UTC


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1629940 0 None None None 2016-10-03 17:13:40 UTC

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


Note You need to log in before you can comment on or make changes to this bug.