← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1577821] [NEW] User cannot set arbitary IDs for images

 

Public bug reported:

The glance command line enables user to supply ID for the image
while creating it using the`glance image-create` command.

However, the backend imposes that the ID of an image be a UUID.

There is no meaning of letting user supply ID as parameter, if the ID
needs to be a UUID.
User should be able to set custom ID for images as per need.

Also, the regular expression for the image ID is hard coded in the
backend. It will be nice if it is configurable in `schema-image.json`

** Affects: glance
     Importance: Undecided
         Status: New

** Description changed:

- The glance command line enables user to supply ID to the image
- while creating the using the`glance image-create` command.
+ The glance command line enables user to supply ID for the image
+ while creating it using the`glance image-create` command.
  
  However, the backend imposes that the ID of an image be a UUID.
  
- There no meaning of letting user supply ID as parameter, if the ID
+ There is no meaning of letting user supply ID as parameter, if the ID
  needs to be a UUID.
  User should be able to set custom ID for images as per need.
  
  Also, the regular expression for the image ID is hard coded in the
  backend. It will be nice if it is configurable in `schema-image.json`

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

Title:
  User cannot set arbitary IDs for images

Status in Glance:
  New

Bug description:
  The glance command line enables user to supply ID for the image
  while creating it using the`glance image-create` command.

  However, the backend imposes that the ID of an image be a UUID.

  There is no meaning of letting user supply ID as parameter, if the ID
  needs to be a UUID.
  User should be able to set custom ID for images as per need.

  Also, the regular expression for the image ID is hard coded in the
  backend. It will be nice if it is configurable in `schema-image.json`

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


Follow ups