Red Hat Bugzilla – Bug 1550981
Creating snapshot fails when image metadata has version field
Last modified: 2018-10-28 22:11:04 EDT
Created attachment 1403022 [details] Log from reproducer Description of problem: When creating a snapshot of a server using the nova API, failure occurs if the image contains the metadata property "version". It seems like image metadata is passed as an argument to _create_v2 (nova/image/glance.py) which is then passed to call (nova/image/glance.py) as kwargs. The function already takes in context, method, and version arguments, so it seems that any of these metadata properties would cause the snapshot to fail. How reproducible: Always Steps to Reproduce: 1. Create an image with metadata property "version" 2. Launch an server using this image 3. Try to create a server snapshot of the server you just launched Actual results: Error Expected results: Snapshot created Additional info: Bug already reported on OpenStack Launchpad https://bugs.launchpad.net/nova/+bug/1717547