conn.compute.create_server error: 'Image' object has no attribute 'copy'

asked 2016-01-15 14:28:40 -0500

I started experimenting with the python openstacksdk today. I tried creating an instance from an existing image using: image = conn.image.find_image('TestVM') conn.compute.create_server(name='bill_script', image=image, flavor=flavor, nics=[{'net-id':'a75f24d7-7d00-4de9-9e2d-7302ba846d00'},])

error: File "/usr/local/lib/python2.7/dist-packages/openstacksdk-0.7.3-py2.7.egg/openstack/resource.py", line 252, in __init__ self._attrs = {} if attrs is None else attrs.copy() AttributeError: 'Image' object has no attribute 'copy'

The image object contains a 'copy_from' but no 'copy'.

edit retag flag offensive close merge delete