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?
I checked out 742c898956d655a ffa7351505c8a3a 5c72881eae 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-416b571b57 d6 --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.