← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: glance
     Importance: Undecided
         Status: New

** Summary changed:

- [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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1863209

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

Status in Glance:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1863209/+subscriptions


Follow ups