Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

"Unauthorized" Unable to create a volume from image with ceph

Hello,

I have installed ceph on three nodes. I configured those three nodes as cinder and nova nodes. I have another node which contains glance, neutron, keystone, and horizon services. I am able to create a volume, an instance, and upload an image file. I am unable to create a volume from an image. I am able to list the images using cinder. Thank you in advance for your help. Let me know if anyone needs more information.

Here is the error while issues the --debug option.

cinder --debug create --image-id ab919cdf-187b-4047-8a7b-de4a25c3011b  --display_name=bootable-cirros-0.3.4 1                                 DEBUG:keystoneauth.session:REQ: curl -g -i -X GET http://controller:35357/v3 -H "Accept: application/json" -H "User-Agent: cinder keystoneauth1/2.12.2 python-requests/2.10.0 CPython/2.7.5"
DEBUG:keystoneauth.session:RESP: [200] Date: Tue, 24 Jan 2017 02:26:44 GMT Server: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 Vary: X-Auth-Token x-openstack-request-id: req-619d8989-7a99-4321-91b4-4a973629630e Content-Length: 255 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: application/json
RESP BODY: {"version": {"status": "stable", "updated": "2016-10-06T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.7", "links": [{"href": "http://controller:35357/v3/", "rel": "self"}]}}

DEBUG:keystoneauth.identity.v3.base:Making authentication request to http://controller:35357/v3/auth/tokens
DEBUG:keystoneauth.identity.v3.base:{"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "5a36727a8f044de882a605cf105b2899", "name": "admin"}], "expires_at": "2017-01-24T03:26:44.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "0f7284da6fa54341901244b654699bf6", "name": "admin"}, "catalog": [{"endpoints": [{"url": "http://controller:9292", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "099194fbe75945bea75883d33ed6ed94"}, {"url": "http://controller:9292", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "14e864dcab284d6ca7c417f053db008a"}, {"url": "http://controller:9292", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "e648693275ed4f088d8d337eb7d9e968"}], "type": "image", "id": "3245168e03e94ff299255df5cc080d8f", "name": "glance"}, {"endpoints": [{"url": "http://controller:8776/v1/0f7284da6fa54341901244b654699bf6", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "2783c3acbb4e42b280782b0bbc5240d4"}, {"url": "http://controller:8776/v1/0f7284da6fa54341901244b654699bf6", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "a32e03c6fb384b08bf6d9216abfeaa2d"}, {"url": "http://controller:8776/v1/0f7284da6fa54341901244b654699bf6", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "afb2d5f74568423690d40bb7056688ca"}], "type": "volume", "id": "7a16a87c93d140178d34158d43541370", "name": "cinder"}, {"endpoints": [{"url": "http://controller:8776/v2/0f7284da6fa54341901244b654699bf6", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "1b48e3bf56084dd0a2371b6dcec91cb5"}, {"url": "http://controller:8776/v2/0f7284da6fa54341901244b654699bf6", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "598fd04cd11f4861987b78731e06aabb"}, {"url": "http://controller:8776/v2/0f7284da6fa54341901244b654699bf6", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "c92371bfd74444d1a77f4f95a1f6b9a5"}], "type": "volumev2", "id": "ac4dda5394ab41d9ba8b9197236b7832", "name": "cinderv2"}, {"endpoints": [{"url": "http://controller:8774/v2.1/0f7284da6fa54341901244b654699bf6", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "5c54df0803f04627be8cd29b3a211df6"}, {"url": "http://controller:8774/v2.1/0f7284da6fa54341901244b654699bf6", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "897ad18dac3046ab97e0ff17c83da077"}, {"url": "http://controller:8774/v2.1/0f7284da6fa54341901244b654699bf6", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "c51c21e3a4b74453a39e49bfc1f1918d"}], "type": "compute", "id": "c75551eb77144588bba0372702e3f60c", "name": "nova"}, {"endpoints": [{"url": "http://controller:35357/v3/", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "1489a4c153f84f6e8e4df911326d9f0f"}, {"url": "http://controller:5000/v3/", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "39465a8ded914beaa32ace61588326b1"}, {"url": "http://controller:35357/v3/", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "805dca80e3b84e199ce600b9799117bb"}], "type": "identity", "id": "d341a345733340bcb9143f33c953e5cb", "name": "keystone"}, {"endpoints": [{"url": "http://controller:9696", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "1d47a94c30f040a3a4fff386e8a79e6e"}, {"url": "http://controller:9696", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "e9186d758f2543ebb6615422c9f2cae2"}, {"url": "http://controller:9696", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "f974fe2e6dc84e39ae6552e7cb98a6f4"}], "type": "network", "id": "ddc22cfe1ad84db8a85505c675db467c", "name": "neutron"}], "user": {"domain": {"id": "default", "name": "Default"}, "id": "fa952d9401804d738ba855a57b0b6ff7", "name": "admin"}, "audit_ids": ["k71wVgLiTUGK4llCLRZtUw"], "issued_at": "2017-01-24T02:26:44.000000Z"}}
DEBUG:keystoneauth:REQ: curl -g -i -X POST http://controller:8776/v2/0f7284da6fa54341901244b654699bf6/volumes -H "User-Agent: python-cinderclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}19a19cf4779ce4cb036056baca8ca55bea88851d" -d '{"volume": {"status": "creating", "user_id": null, "name": "bootable-cirros-0.3.4", "imageRef": "ab919cdf-187b-4047-8a7b-de4a25c3011b", "availability_zone": null, "description": null, "multiattach": false, "attach_status": "detached", "volume_type": null, "metadata": {}, "consistencygroup_id": null, "source_volid": null, "snapshot_id": null, "project_id": null, "source_replica": null, "size": 1}}'
DEBUG:keystoneauth:RESP: [400] Content-Length: 105 Content-Type: application/json; charset=UTF-8 X-Compute-Request-Id: req-e5ec5190-31b8-41e3-ad39-8fbeb7a0038e X-Openstack-Request-Id: req-e5ec5190-31b8-41e3-ad39-8fbeb7a0038e Date: Tue, 24 Jan 2017 02:26:47 GMT Connection: keep-alive
RESP BODY: {"badRequest": {"message": "Invalid image identifier or unable to access requested image.", "code": 400}}

POST call to volumev2 for http://controller:8776/v2/0f7284da6fa54341901244b654699bf6/volumes used request id req-e5ec5190-31b8-41e3-ad39-8fbeb7a0038e
DEBUG:cinderclient.client:POST call to volumev2 for http://controller:8776/v2/0f7284da6fa54341901244b654699bf6/volumes used request id req-e5ec5190-31b8-41e3-ad39-8fbeb7a0038e
ERROR: Invalid image identifier or unable to access requested image. (HTTP 400) (Request-ID: req-e5ec5190-31b8-41e3-ad39-8fbeb7a0038e)

Here are my config files.
openstack --version openstack 3.2.0 ceph --version ceph version 10.2.5 (c461ee19ecbc0c5c330aca20f7392c9a00730367)

cat /etc/cinder/cinder.conf | grep -v '^#\|^$'
[DEFAULT]
my_ip = x.x.x.108
glance_api_version = 2
auth_strategy = keystone
enabled_backends = rbd
transport_url = rabbit://openstack:RABBIT_PASS@controller
[database]
connection = mysql+pymysql://cinder:CINDER_DBPASS@controller/cinder
[keystone_authtoken]
auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = Default
user_domain_name = Default
project_name = service
username = cinder
password = cinder
[oslo_concurrency]
lock_path = /var/lib/cinder/tmp
[rbd]
volume_driver = cinder.volume.drivers.rbd.RBDDriver
rbd_pool = volumes
rbd_ceph_conf = /etc/ceph/ceph.conf
rbd_flatten_volume_from_snapshot = false
rbd_max_clone_depth = 5
rbd_store_chunk_size = 4
rados_connect_timeout = -1
glance_api_version = 2
rbd_user = volumes
rbd_secret_uuid = 8597ac3e-614b-4ea9-8a0e-d4370d0cf9fc

cat /etc/nova/nova.conf | grep -v '^#\|^$'
[DEFAULT]
auth_strategy=keystone
my_ip = x.x.x.108
use_neutron=True
enabled_apis=osapi_compute,metadata
firewall_driver = nova.virt.firewall.NoopFirewallDriver
transport_url = rabbit://openstack:RABBIT_PASS@controller
[glance]
api_servers = http://controller:9292
[keystone_authtoken]
auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = Default
user_domain_name = Default
project_name = service
username = nova
password = nova
[libvirt]
virt_type=qemu
images_type=rbd
images_rbd_pool=vms
images_rbd_ceph_conf=/etc/ceph/ceph.conf
rbd_user=volumes
rbd_secret_uuid=8597ac3e-614b-4ea9-8a0e-d4370d0cf9fc
disk_cachemodes="network=writeback"
inject_password = false
inject_key = false
inject_partition = -2
live_migration_flag="VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,VIR_MIGRATE_LIVE,VIR_MIGRATE_PERSIST_DEST,VIR_MIGRATE_TUNNELLED"
[neutron]
url = http://controller:9696
auth_url = http://controller:35357
auth_type = password
project_domain_name = Default
user_domain_name = Default
region_name = RegionOne
project_name = service
username = neutron
password = neutron
[oslo_concurrency]
lock_path=/var/lib/nova/tmp
[vnc]
enabled=True
vncserver_listen=0.0.0.0
vncserver_proxyclient_address=$my_ip
novncproxy_base_url = http://controller:6080/vnc_auto.html
cat /etc/glance/glance-api.conf | grep -v '^#\|^$'
[DEFAULT]
show_image_direct_url = True
show_multiple_locations = True
[database]
connection = mysql+pymysql://glance:GLANCE_DBPASS@controller/glance
[glance_store]
stores = rbd
default_store = rbd
filesystem_store_datadir = /var/lib/glance/images
rbd_store_chunk_size = 8
rbd_store_pool = volumes
rbd_store_user = volumes
rbd_store_ceph_conf = /etc/ceph/ceph.conf
[keystone_authtoken]
auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = Default
user_domain_name = Default
project_name = service
username = glance
password = glance
[paste_deploy]
flavor = keystone

"Unauthorized" Unable to create a volume from image with ceph

Hello,

I have installed ceph on three nodes. I configured those three nodes as cinder and nova nodes. I have another node which contains glance, neutron, keystone, and horizon services. I am able to create a volume, an instance, and upload an image file. I am unable to create a volume from an image. I am able to list the images using cinder. Thank you in advance for your help. Let me know if anyone needs more information.

Here is the error while issues the --debug option.

cinder --debug create --image-id ab919cdf-187b-4047-8a7b-de4a25c3011b  --display_name=bootable-cirros-0.3.4 1                                 DEBUG:keystoneauth.session:REQ: curl -g -i -X GET http://controller:35357/v3 -H "Accept: application/json" -H "User-Agent: cinder keystoneauth1/2.12.2 python-requests/2.10.0 CPython/2.7.5"
DEBUG:keystoneauth.session:RESP: [200] Date: Tue, 24 Jan 2017 02:26:44 GMT Server: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 Vary: X-Auth-Token x-openstack-request-id: req-619d8989-7a99-4321-91b4-4a973629630e Content-Length: 255 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: application/json
RESP BODY: {"version": {"status": "stable", "updated": "2016-10-06T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.7", "links": [{"href": "http://controller:35357/v3/", "rel": "self"}]}}

DEBUG:keystoneauth.identity.v3.base:Making authentication request to http://controller:35357/v3/auth/tokens
DEBUG:keystoneauth.identity.v3.base:{"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "5a36727a8f044de882a605cf105b2899", "name": "admin"}], "expires_at": "2017-01-24T03:26:44.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "0f7284da6fa54341901244b654699bf6", "name": "admin"}, "catalog": [{"endpoints": [{"url": "http://controller:9292", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "099194fbe75945bea75883d33ed6ed94"}, {"url": "http://controller:9292", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "14e864dcab284d6ca7c417f053db008a"}, {"url": "http://controller:9292", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "e648693275ed4f088d8d337eb7d9e968"}], "type": "image", "id": "3245168e03e94ff299255df5cc080d8f", "name": "glance"}, {"endpoints": [{"url": "http://controller:8776/v1/0f7284da6fa54341901244b654699bf6", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "2783c3acbb4e42b280782b0bbc5240d4"}, {"url": "http://controller:8776/v1/0f7284da6fa54341901244b654699bf6", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "a32e03c6fb384b08bf6d9216abfeaa2d"}, {"url": "http://controller:8776/v1/0f7284da6fa54341901244b654699bf6", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "afb2d5f74568423690d40bb7056688ca"}], "type": "volume", "id": "7a16a87c93d140178d34158d43541370", "name": "cinder"}, {"endpoints": [{"url": "http://controller:8776/v2/0f7284da6fa54341901244b654699bf6", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "1b48e3bf56084dd0a2371b6dcec91cb5"}, {"url": "http://controller:8776/v2/0f7284da6fa54341901244b654699bf6", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "598fd04cd11f4861987b78731e06aabb"}, {"url": "http://controller:8776/v2/0f7284da6fa54341901244b654699bf6", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "c92371bfd74444d1a77f4f95a1f6b9a5"}], "type": "volumev2", "id": "ac4dda5394ab41d9ba8b9197236b7832", "name": "cinderv2"}, {"endpoints": [{"url": "http://controller:8774/v2.1/0f7284da6fa54341901244b654699bf6", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "5c54df0803f04627be8cd29b3a211df6"}, {"url": "http://controller:8774/v2.1/0f7284da6fa54341901244b654699bf6", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "897ad18dac3046ab97e0ff17c83da077"}, {"url": "http://controller:8774/v2.1/0f7284da6fa54341901244b654699bf6", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "c51c21e3a4b74453a39e49bfc1f1918d"}], "type": "compute", "id": "c75551eb77144588bba0372702e3f60c", "name": "nova"}, {"endpoints": [{"url": "http://controller:35357/v3/", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "1489a4c153f84f6e8e4df911326d9f0f"}, {"url": "http://controller:5000/v3/", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "39465a8ded914beaa32ace61588326b1"}, {"url": "http://controller:35357/v3/", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "805dca80e3b84e199ce600b9799117bb"}], "type": "identity", "id": "d341a345733340bcb9143f33c953e5cb", "name": "keystone"}, {"endpoints": [{"url": "http://controller:9696", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "1d47a94c30f040a3a4fff386e8a79e6e"}, {"url": "http://controller:9696", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "e9186d758f2543ebb6615422c9f2cae2"}, {"url": "http://controller:9696", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "f974fe2e6dc84e39ae6552e7cb98a6f4"}], "type": "network", "id": "ddc22cfe1ad84db8a85505c675db467c", "name": "neutron"}], "user": {"domain": {"id": "default", "name": "Default"}, "id": "fa952d9401804d738ba855a57b0b6ff7", "name": "admin"}, "audit_ids": ["k71wVgLiTUGK4llCLRZtUw"], "issued_at": "2017-01-24T02:26:44.000000Z"}}
DEBUG:keystoneauth:REQ: curl -g -i -X POST http://controller:8776/v2/0f7284da6fa54341901244b654699bf6/volumes -H "User-Agent: python-cinderclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}19a19cf4779ce4cb036056baca8ca55bea88851d" -d '{"volume": {"status": "creating", "user_id": null, "name": "bootable-cirros-0.3.4", "imageRef": "ab919cdf-187b-4047-8a7b-de4a25c3011b", "availability_zone": null, "description": null, "multiattach": false, "attach_status": "detached", "volume_type": null, "metadata": {}, "consistencygroup_id": null, "source_volid": null, "snapshot_id": null, "project_id": null, "source_replica": null, "size": 1}}'
DEBUG:keystoneauth:RESP: [400] Content-Length: 105 Content-Type: application/json; charset=UTF-8 X-Compute-Request-Id: req-e5ec5190-31b8-41e3-ad39-8fbeb7a0038e X-Openstack-Request-Id: req-e5ec5190-31b8-41e3-ad39-8fbeb7a0038e Date: Tue, 24 Jan 2017 02:26:47 GMT Connection: keep-alive
RESP BODY: {"badRequest": {"message": "Invalid image identifier or unable to access requested image.", "code": 400}}

POST call to volumev2 for http://controller:8776/v2/0f7284da6fa54341901244b654699bf6/volumes used request id req-e5ec5190-31b8-41e3-ad39-8fbeb7a0038e
DEBUG:cinderclient.client:POST call to volumev2 for http://controller:8776/v2/0f7284da6fa54341901244b654699bf6/volumes used request id req-e5ec5190-31b8-41e3-ad39-8fbeb7a0038e
ERROR: Invalid image identifier or unable to access requested image. (HTTP 400) (Request-ID: req-e5ec5190-31b8-41e3-ad39-8fbeb7a0038e)

Here are my config files.
openstack --version openstack 3.2.0 ceph --version ceph version 10.2.5 (c461ee19ecbc0c5c330aca20f7392c9a00730367)

cat /etc/cinder/cinder.conf | grep -v '^#\|^$'
[DEFAULT]
my_ip = x.x.x.108
glance_api_version = 2
auth_strategy = keystone
enabled_backends = rbd
transport_url = rabbit://openstack:RABBIT_PASS@controller
[database]
connection = mysql+pymysql://cinder:CINDER_DBPASS@controller/cinder
[keystone_authtoken]
auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = Default
user_domain_name = Default
project_name = service
username = cinder
password = cinder
[oslo_concurrency]
lock_path = /var/lib/cinder/tmp
[rbd]
volume_driver = cinder.volume.drivers.rbd.RBDDriver
rbd_pool = volumes
rbd_ceph_conf = /etc/ceph/ceph.conf
rbd_flatten_volume_from_snapshot = false
rbd_max_clone_depth = 5
rbd_store_chunk_size = 4
rados_connect_timeout = -1
glance_api_version = 2
rbd_user = volumes
rbd_secret_uuid = 8597ac3e-614b-4ea9-8a0e-d4370d0cf9fc

cat /etc/nova/nova.conf | grep -v '^#\|^$'
[DEFAULT]
auth_strategy=keystone
my_ip = x.x.x.108
use_neutron=True
enabled_apis=osapi_compute,metadata
firewall_driver = nova.virt.firewall.NoopFirewallDriver
transport_url = rabbit://openstack:RABBIT_PASS@controller
[glance]
api_servers = http://controller:9292
[keystone_authtoken]
auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = Default
user_domain_name = Default
project_name = service
username = nova
password = nova
[libvirt]
virt_type=qemu
images_type=rbd
images_rbd_pool=vms
images_rbd_ceph_conf=/etc/ceph/ceph.conf
rbd_user=volumes
rbd_secret_uuid=8597ac3e-614b-4ea9-8a0e-d4370d0cf9fc
disk_cachemodes="network=writeback"
inject_password = false
inject_key = false
inject_partition = -2
live_migration_flag="VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,VIR_MIGRATE_LIVE,VIR_MIGRATE_PERSIST_DEST,VIR_MIGRATE_TUNNELLED"
[neutron]
url = http://controller:9696
auth_url = http://controller:35357
auth_type = password
project_domain_name = Default
user_domain_name = Default
region_name = RegionOne
project_name = service
username = neutron
password = neutron
[oslo_concurrency]
lock_path=/var/lib/nova/tmp
[vnc]
enabled=True
vncserver_listen=0.0.0.0
vncserver_proxyclient_address=$my_ip
novncproxy_base_url = http://controller:6080/vnc_auto.html
cat /etc/glance/glance-api.conf | grep -v '^#\|^$'
[DEFAULT]
show_image_direct_url = True
show_multiple_locations = True
[database]
connection = mysql+pymysql://glance:GLANCE_DBPASS@controller/glance
[glance_store]
stores = rbd
default_store = rbd
filesystem_store_datadir = /var/lib/glance/images
rbd_store_chunk_size = 8
rbd_store_pool = volumes
rbd_store_user = volumes
rbd_store_ceph_conf = /etc/ceph/ceph.conf
[keystone_authtoken]
auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = Default
user_domain_name = Default
project_name = service
username = glance
password = glance
[paste_deploy]
flavor = keystone

cat /var/log/glance/registry.log

2017-01-24 12:28:46.705 2963 WARNING keystonemiddleware.auth_token [-] Identity response: {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}} 2017-01-24 12:28:46.876 2963 WARNING keystonemiddleware.auth_token [-] Identity response: {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}} 2017-01-24 12:28:46.877 2963 CRITICAL keystonemiddleware.auth_token [-] Unable to validate token: Identity server rejected authorization necessary to fetch token data 2017-01-24 12:28:46.880 2963 INFO eventlet.wsgi.server [-] 127.0.0.1 - - [24/Jan/2017 12:28:46] "GET /images/ab919cdf-187b-4047-8a7b-de4a25c3011b HTTP/1.1" 503 235 0.414538 2017-01-24 12:28:47.618 2963 WARNING keystonemiddleware.auth_token [-] Identity response: {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}} 2017-01-24 12:28:47.771 2963 WARNING keystonemiddleware.auth_token [-] Identity response: {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}} 2017-01-24 12:28:47.772 2963 CRITICAL keystonemiddleware.auth_token [-] Unable to validate token: Identity server rejected authorization necessary to fetch token data 2017-01-24 12:28:47.774 2963 INFO eventlet.wsgi.server [-] 127.0.0.1 - - [24/Jan/2017 12:28:47] "GET /images/detail?is_public=none&limit=20&name=ab919cdf-187b-4047-8a7b-de4a25c3011b HTTP/1.1" 503 235 0.322871

cat /var/log/cinder/api.log 2017-01-24 12:28:45.906 3075 INFO cinder.api.v2.volumes [req-26066de0-c030-403b-9b49-08681e2f97e6 8075b68a8bcf4fd2b7f6892053d586bc 676e1c39443b405a8adb747638646aed - default default] Create volume of 1 GB 2017-01-24 12:28:47.783 3075 INFO cinder.api.openstack.wsgi [req-26066de0-c030-403b-9b49-08681e2f97e6 8075b68a8bcf4fd2b7f6892053d586bc 676e1c39443b405a8adb747638646aed - default default] HTTP exception thrown: Invalid image identifier or unable to access requested image. 2017-01-24 12:28:47.784 3075 INFO cinder.api.openstack.wsgi [req-26066de0-c030-403b-9b49-08681e2f97e6 8075b68a8bcf4fd2b7f6892053d586bc 676e1c39443b405a8adb747638646aed - default default] http://tstwltcphadm001:8776/v2/676e1c39443b405a8adb747638646aed/volumes returned with HTTP 400 2017-01-24 12:28:47.787 3075 INFO eventlet.wsgi.server [req-26066de0-c030-403b-9b49-08681e2f97e6 8075b68a8bcf4fd2b7f6892053d586bc 676e1c39443b405a8adb747638646aed - default default] 10.89.200.106 "POST /v2/676e1c39443b405a8adb747638646aed/volumes HTTP/1.1" status: 400 len: 392 time: 2.7151279

cat /var/log/cinder 2017-01-24 12:28:46.882 2987 ERROR glance.registry.client.v1.client [req-0ad4db4e-d129-40bf-90c3-66ffecf3032f 8075b68a8bcf4fd2b7f6892053d586bc 676e1c39443b405a8adb747638646aed - default default] Registry client request GET /images/ab919cdf-187b-4047-8a7b-de4a25c3011b raised ServiceUnavailable 2017-01-24 12:28:46.882 2987 ERROR glance.registry.client.v1.client Traceback (most recent call last): 2017-01-24 12:28:46.882 2987 ERROR glance.registry.client.v1.client File "/usr/lib/python2.7/site-packages/glance/registry/client/v1/client.py", line 124, in do_request 2017-01-24 12:28:46.882 2987 ERROR glance.registry.client.v1.client *kwargs) 2017-01-24 12:28:46.882 2987 ERROR glance.registry.client.v1.client File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 70, in wrapped 2017-01-24 12:28:46.882 2987 ERROR glance.registry.client.v1.client return func(self, *args, *kwargs) 2017-01-24 12:28:46.882 2987 ERROR glance.registry.client.v1.client File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 373, in do_request 2017-01-24 12:28:46.882 2987 ERROR glance.registry.client.v1.client headers=copy.deepcopy(headers)) 2017-01-24 12:28:46.882 2987 ERROR glance.registry.client.v1.client File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 87, in wrapped 2017-01-24 12:28:46.882 2987 ERROR glance.registry.client.v1.client return func(self, method, url, body, headers) 2017-01-24 12:28:46.882 2987 ERROR glance.registry.client.v1.client File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 541, in _do_request 2017-01-24 12:28:46.882 2987 ERROR glance.registry.client.v1.client raise exception.ServiceUnavailable(retry=_retry(res)) 2017-01-24 12:28:46.882 2987 ERROR glance.registry.client.v1.client ServiceUnavailable: The request returned 503 Service Unavailable. This generally occurs on service overload or other transient outage. 2017-01-24 12:28:46.882 2987 ERROR glance.registry.client.v1.client 2017-01-24 12:28:46.884 2987 ERROR glance.common.wsgi [req-0ad4db4e-d129-40bf-90c3-66ffecf3032f 8075b68a8bcf4fd2b7f6892053d586bc 676e1c39443b405a8adb747638646aed - default default] Caught error: The request returned 503 Service Unavailable. This generally occurs on service overload or other transient outage. 2017-01-24 12:28:46.884 2987 ERROR glance.common.wsgi Traceback (most recent call last): 2017-01-24 12:28:46.884 2987 ERROR glance.common.wsgi File "/usr/lib/python2.7/site-packages/glance/common/wsgi.py", line 1113, in __call__ 2017-01-24 12:28:46.884 2987 ERROR glance.common.wsgi request, *action_args) 2017-01-24 12:28:46.884 2987 ERROR glance.common.wsgi File "/usr/lib/python2.7/site-packages/glance/common/wsgi.py", line 1152, in dispatch 2017-01-24 12:28:46.884 2987 ERROR glance.common.wsgi return method(args, *kwargs) 2017-01-24 12:28:46.884 2987 ERROR glance.common.wsgi File "/usr/lib/python2.7/site-packages/glance/api/v1/images.py", line 459, in meta 2017-01-24 12:28:46.884 2987 ERROR glance.common.wsgi image_meta = self.get_image_meta_or_404(req, id) 2017-01-24 12:28:46.884 2987 ERROR glance.common.wsgi File "/usr/lib/python2.7/site-packages/glance/api/v1/controller.py", line 41, in get_image_meta_or_404 2017-01-24 12:28:46.884 2987 ERROR glance.common.wsgi return registry.get_image_metadata(context, image_id) 2017-01-24 12:28:46.884 2987 ERROR glance.common.wsgi File "/usr/lib/python2.7/site-packages/glance/registry/client/v1/api.py", line 182, in get_image_metadata 2017-01-24 12:28:46.884 2987 ERROR glance.common.wsgi return c.get_image(image_id) 2017-01-24 12:28:46.884 2987 ERROR glance.common.wsgi File "/usr/lib/python2.7/site-packages/glance/registry/client/v1/client.py", line 169, in get_image 2017-01-24 12:28:46.884 2987 ERROR glance.common.wsgi res = self.do_request("GET", "/images/%s" % image_id) 2017-01-24 12:28:46.884 2987 ERROR glance.common.wsgi File "/usr/lib/python2.7/site-packages/glance/registry/client/v1/client.py", line 147, in do_request 2017-01-24 12:28:46.884 2987 ERROR glance.common.wsgi 'exc_name': exc_name}) 2017-01-24 12:28:46.884 2987 ERROR glance.common.wsgi File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__ 2017-01-24 12:28:46.884 2987 ERROR glance.common.wsgi self.force_reraise() 2017-01-24 12:28:46.884 2987 ERROR glance.common.wsgi File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise 2017-01-24 12:28:46.884 2987 ERROR glance.common.wsgi six.reraise(self.type_, self.value, self.tb) 2017-01-24 12:28:46.884 2987 ERROR glance.common.wsgi File "/usr/lib/python2.7/site-packages/glance/registry/client/v1/client.py", line 124, in do_request 2017-01-24 12:28:46.884 2987 ERROR glance.common.wsgi *kwargs) 2017-01-24 12:28:46.884 2987 ERROR glance.common.wsgi File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 70, in wrapped 2017-01-24 12:28:46.884 2987 ERROR glance.common.wsgi return func(self, args, *kwargs) 2017-01-24 12:28:46.884 2987 ERROR glance.common.wsgi File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 373, in do_request 2017-01-24 12:28:46.884 2987 ERROR glance.common.wsgi headers=copy.deepcopy(headers)) 2017-01-24 12:28:46.884 2987 ERROR glance.common.wsgi File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 87, in wrapped 2017-01-24 12:28:46.884 2987 ERROR glance.common.wsgi return func(self, method, url, body, headers) 2017-01-24 12:28:46.884 2987 ERROR glance.common.wsgi File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 541, in _do_request 2017-01-24 12:28:46.884 2987 ERROR glance.common.wsgi raise exception.ServiceUnavailable(retry=_retry(res)) 2017-01-24 12:28:46.884 2987 ERROR glance.common.wsgi ServiceUnavailable: The request returned 503 Service Unavailable. This generally occurs on service overload or other transient outage. 2017-01-24 12:28:46.884 2987 ERROR glance.common.wsgi

both openstack image save and glance image-download worked openstack image save --file mylocalfile cirros-0.3.4 glance image-download --file example.img 4cda9bc0-1fcc-4e92-be6b-943a8750f8e6