[openstacksdk] image name is not set if filename is not passed to create_image method

Bug #1863209 reported by Tushar Patil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Invalid
Undecided
Prashant Bhole

Bug Description

I want to create an image without uploading image data using openstacksdk create_image method.

sdkconnection.image.create_image(name, allow_duplicates=True, **fields)

fields = {"min_disk": min_disk, "min_ram": min_ram,
          "disk_format": "qcow2",
          "container_format": "bare",
          "sha256": <hash>,
          "visibility": "private"}

Image is created successfully but it doesn't have any name to it.

Tushar Patil (tpatil)
summary: - [openstacksdk] image name is not set if filename is not used during
- create_image
+ [openstacksdk] image name is not set if filename is not passed to
+ create_image method
Prashant Bhole (pbhole)
Changed in glance:
assignee: nobody → Prashant Bhole (pbhole)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstacksdk 0.42.0

This issue was fixed in the openstack/openstacksdk 0.42.0 release.

Revision history for this message
Abhishek Kekane (abhishek-kekane) wrote :

This issue is fixed in openstacksdk so marking it as invalid for Glance.

Changed in glance:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.