← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1912001] [NEW] glance allows reserved properties during create()

 

Public bug reported:

Certain image properties are reserved for internal glance usage, such as
os_glance_import_task. Changing these properties is disallowed during
PATCH. However, glance does not enforce that they are not present in an
image POST. It should.

This command:

openstack --debug image create --container-format bare --disk-format qcow2 \
  --property os_glance_import_task=foobar test

succeeds in creating an image with os_glance_import_task set.

** Affects: glance
     Importance: Undecided
         Status: New

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

Title:
  glance allows reserved properties during create()

Status in Glance:
  New

Bug description:
  Certain image properties are reserved for internal glance usage, such
  as os_glance_import_task. Changing these properties is disallowed
  during PATCH. However, glance does not enforce that they are not
  present in an image POST. It should.

  This command:

  openstack --debug image create --container-format bare --disk-format qcow2 \
    --property os_glance_import_task=foobar test

  succeeds in creating an image with os_glance_import_task set.

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


Follow ups