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.
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
Bug already reported on OpenStack Launchpad https://bugs.launchpad.net/nova/+bug/1717547
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.