← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1380547] Re: Image is not added when filesystem_store_datadirs specified in glance configuration

 

As we designed, glance (even all services) should be able to load
options from deprecated place instead of failure. This report involved a
backward-compatibility issue of glance or/and glance_store, IMO. Need
more investigation.

** Changed in: glance
       Status: Invalid => 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/1380547

Title:
  Image is not added when filesystem_store_datadirs specified in glance
  configuration

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  If user specifies 'filesystem_store_datadirs' option in the glance api
  configuration, he is not able to add the image to the specified
  location as following response is returned to the user.

  <html>
   <head>
    <title>410 Gone</title>
   </head>
   <body>
    <h1>410 Gone</h1>
    Error in store configuration. Adding images to store is disabled.<br /><br />

   </body>
  </html> (HTTP N/A)

  Steps to reproduce:

  1. Edit glance-api.conf file to add 'filesystem_store_datadirs' parameter.
     filesystem_store_datadirs = /opt/stack/data/glance/images/:1
     
     Note: Disable 'filesystem_store_datadir' option

  2. restart glance-api service

  3. create image
     glance image-create --file /etc/passwd --name passwd --container-format bare --disk-format raw

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


References