Glance copy_from should gracefully handle file store
If you try to add an image with copy_from set to file:///somewhere, the API returns a 500 due to a NotImplementedError raised from get_size in the filesystem store driver. Ideally, the user would not be able to upload an image and ask the api to read from the local filesystem for security reasons.
This is not a security bug at the moment due to the 500.
|Changed in glance:|
|milestone:||essex-4 → 2012.1|