Comment 2 for bug 1400966

Revision history for this message
Stuart McLaren (stuart-mclaren) wrote : Re: Glance allows users to download and delete any file in glance-api server

I checked out 742c898956d655affa7351505c8a3a5c72881eae and set show_multiple_locations to be True.

I checked the server startup log to be sure it was set:

2014-12-10 16:37:23.803 6847 DEBUG glance.common.config [-] show_multiple_locations = True log_opt_values /mnt/ubuntu/git/glance-juno-stable/glance/.tox/py27/local/lib/python2.7/site-packages/oslo/config/cfg.py:1992

With the default store set to either file or swift I got:

$ glance image-update 7450abb5-fb9b-452a-abcf-416b571b57d6 --location file://etc/fstab
<html>
 <head>
  <title>400 Bad Request</title>
 </head>
 <body>
  <h1>400 Bad Request</h1>
  External sourcing not supported for store 'file'<br /><br />

 </body>
</html> (HTTP 400)

Can you provide more info (eg config files) to help reproduce?

Thanks.