Ah... without anything it works:
mfedosin@wdev:/opt/stack/nova$ glance --os-image-api-version 2 location-add ff76656b-c38c-4334-a0a2-27a97ab06111 --url file://
500 Internal Server Error: The server has either erred or is incapable of performing the requested operation. (HTTP 500)
Ah... without anything it works: wdev:/opt/ stack/nova$ glance --os-image- api-version 2 location-add ff76656b- c38c-4334- a0a2-27a97ab061 11 --url file://
mfedosin@
500 Internal Server Error: The server has either erred or is incapable of performing the requested operation. (HTTP 500)