Here I run with --debug on while creating the image. Let me know if this suffice. (venv3) root@ss:~/kolla-ansible_setup# ./init-runonce Checking for locally available cirros image. Creating glance image. START with options: --debug image create --disk-format qcow2 --container-format bare --public --property os_type=linux --file .//cirros-0.4.0-x86_64-disk.img cirros options: Namespace(access_token='***', access_token_endpoint='', access_token_type='', application_credential_id='', application_credential_name='', application_credential_secret='***', auth_methods='', auth_type='', auth_url='http://172.22.100.10:35357/v3', cacert=None, cert='', client_id='', client_secret='***', cloud='', code='', debug=True, default_domain='default', default_domain_id='', default_domain_name='', deferred_help=False, discovery_endpoint='', domain_id='', domain_name='', endpoint='', identity_provider='', insecure=None, interface='internal', key='', log_file=None, openid_scope='', os_beta_command=False, os_compute_api_version='', os_container_infra_api_version='1', os_identity_api_version='3', os_image_api_version='', os_network_api_version='', os_object_api_version='', os_project_id=None, os_project_name=None, os_tacker_api_version='1', os_volume_api_version='', passcode='', password='***', project_domain_id='', project_domain_name='Default', project_id='', project_name='admin', protocol='', redirect_uri='', region_name='RegionOne', remote_project_domain_id='', remote_project_domain_name='', remote_project_id='', remote_project_name='', service_provider='', system_scope='', timing=False, token='***', trust_id='', user_domain_id='', user_domain_name='Default', user_id='', username='admin', verbose_level=3, verify=None) Auth plugin password selected auth_config_hook(): {'api_timeout': None, 'verify': True, 'cacert': None, 'cert': None, 'key': None, 'baremetal_status_code_retries': '5', 'baremetal_introspection_status_code_retries': '5', 'image_status_code_retries': '5', 'disable_vendor_agent': {}, 'interface': 'internal', 'floating_ip_source': 'neutron', 'image_api_use_tasks': False, 'image_format': 'qcow2', 'message': '', 'network_api_version': '2', 'object_store_api_version': '1', 'secgroup_source': 'neutron', 'status': 'active', 'auth': {'user_domain_name': 'Default', 'project_domain_name': 'Default', 'project_name': 'admin'}, 'verbose_level': 3, 'deferred_help': False, 'debug': True, 'region_name': 'RegionOne', 'default_domain': 'default', 'timing': False, 'auth_url': 'http://172.22.100.10:35357/v3', 'username': 'admin', 'password': '***', 'beta_command': False, 'identity_api_version': '3', 'tacker_api_version': '1', 'container_infra_api_version': '1', 'auth_type': 'password', 'networks': []} defaults: {'api_timeout': None, 'verify': True, 'cacert': None, 'cert': None, 'key': None, 'auth_type': 'password', 'baremetal_status_code_retries': 5, 'baremetal_introspection_status_code_retries': 5, 'image_status_code_retries': 5, 'disable_vendor_agent': {}, 'interface': None, 'floating_ip_source': 'neutron', 'image_api_use_tasks': False, 'image_format': 'qcow2', 'message': '', 'network_api_version': '2', 'object_store_api_version': '1', 'secgroup_source': 'neutron', 'status': 'active'} cloud cfg: {'api_timeout': None, 'verify': True, 'cacert': None, 'cert': None, 'key': None, 'baremetal_status_code_retries': '5', 'baremetal_introspection_status_code_retries': '5', 'image_status_code_retries': '5', 'disable_vendor_agent': {}, 'interface': 'internal', 'floating_ip_source': 'neutron', 'image_api_use_tasks': False, 'image_format': 'qcow2', 'message': '', 'network_api_version': '2', 'object_store_api_version': '1', 'secgroup_source': 'neutron', 'status': 'active', 'auth': {'user_domain_name': 'Default', 'project_domain_name': 'Default', 'project_name': 'admin'}, 'verbose_level': 3, 'deferred_help': False, 'debug': True, 'region_name': 'RegionOne', 'default_domain': 'default', 'timing': False, 'auth_url': 'http://172.22.100.10:35357/v3', 'username': 'admin', 'password': '***', 'beta_command': False, 'identity_api_version': '3', 'tacker_api_version': '1', 'container_infra_api_version': '1', 'auth_type': 'password', 'networks': []} compute API version 2.1, cmd group openstack.compute.v2 identity API version 3, cmd group openstack.identity.v3 image API version 2, cmd group openstack.image.v2 network API version 2, cmd group openstack.network.v2 object_store API version 1, cmd group openstack.object_store.v1 volume API version 3, cmd group openstack.volume.v3 tackerclient API version 1, cmd group openstack.tackerclient.v1 neutronclient API version 2, cmd group openstack.neutronclient.v2 container_infra API version 1, cmd group openstack.container_infra.v1 Auth plugin password selected auth_config_hook(): {'api_timeout': None, 'verify': True, 'cacert': None, 'cert': None, 'key': None, 'baremetal_status_code_retries': '5', 'baremetal_introspection_status_code_retries': '5', 'image_status_code_retries': '5', 'disable_vendor_agent': {}, 'interface': 'internal', 'floating_ip_source': 'neutron', 'image_api_use_tasks': False, 'image_format': 'qcow2', 'message': '', 'network_api_version': '2', 'object_store_api_version': '1', 'secgroup_source': 'neutron', 'status': 'active', 'auth': {'user_domain_name': 'Default', 'project_domain_name': 'Default', 'project_name': 'admin'}, 'verbose_level': 3, 'deferred_help': False, 'debug': True, 'region_name': 'RegionOne', 'default_domain': 'default', 'timing': False, 'auth_url': 'http://172.22.100.10:35357/v3', 'username': 'admin', 'password': '***', 'beta_command': False, 'identity_api_version': '3', 'tacker_api_version': '1', 'container_infra_api_version': '1', 'auth_type': 'password', 'networks': []} command: image create -> openstackclient.image.v2.image.CreateImage (auth=True) Auth plugin password selected auth_config_hook(): {'api_timeout': None, 'verify': True, 'cacert': None, 'cert': None, 'key': None, 'baremetal_status_code_retries': '5', 'baremetal_introspection_status_code_retries': '5', 'image_status_code_retries': '5', 'disable_vendor_agent': {}, 'interface': 'internal', 'floating_ip_source': 'neutron', 'image_api_use_tasks': False, 'image_format': 'qcow2', 'message': '', 'network_api_version': '2', 'object_store_api_version': '1', 'secgroup_source': 'neutron', 'status': 'active', 'auth': {'user_domain_name': 'Default', 'project_domain_name': 'Default', 'project_name': 'admin'}, 'additional_user_agent': [('osc-lib', '1.14.1')], 'verbose_level': 3, 'deferred_help': False, 'debug': True, 'region_name': 'RegionOne', 'default_domain': 'default', 'timing': False, 'auth_url': 'http://172.22.100.10:35357/v3', 'username': 'admin', 'password': '***', 'beta_command': False, 'identity_api_version': '3', 'tacker_api_version': '1', 'container_infra_api_version': '1', 'auth_type': 'password', 'networks': []} Using auth plugin: password Using parameters {'auth_url': 'http://172.22.100.10:35357/v3', 'project_name': 'admin', 'project_domain_name': 'Default', 'username': 'admin', 'user_domain_name': 'Default', 'password': '***'} Get auth_ref REQ: curl -g -i -X GET http://172.22.100.10:35357/v3 -H "Accept: application/json" -H "User-Agent: openstacksdk/0.39.0 keystoneauth1/3.18.0 python-requests/2.22.0 CPython/3.6.9" Starting new HTTP connection (1): 172.22.100.10:35357 http://172.22.100.10:35357 "GET /v3 HTTP/1.1" 200 254 RESP: [200] Content-Length: 254 Content-Type: application/json Date: Thu, 19 Dec 2019 15:39:40 GMT Server: Apache Vary: X-Auth-Token x-openstack-request-id: req-4dc359dd-6c9c-43a5-956c-c42c7bf7f081 RESP BODY: {"version": {"id": "v3.13", "status": "stable", "updated": "2019-07-19T00:00:00Z", "links": [{"rel": "self", "href": "http://172.22.100.10:35357/v3/"}], "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}]}} GET call to http://172.22.100.10:35357/v3 used request id req-4dc359dd-6c9c-43a5-956c-c42c7bf7f081 Making authentication request to http://172.22.100.10:35357/v3/auth/tokens http://172.22.100.10:35357 "POST /v3/auth/tokens HTTP/1.1" 201 9091 {"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "49f3838311564e8d8917be9f2046c6cf", "name": "admin", "password_expires_at": null}, "audit_ids": ["YO-qlntWQw2dmBdHAuKkdA"], "expires_at": "2019-12-20T15:39:41.000000Z", "issued_at": "2019-12-19T15:39:41.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "60bde3e734ba468b89b453d324ae4d68", "name": "admin"}, "is_domain": false, "roles": [{"id": "03a6993fe2a94829b7214defc04b2d6d", "name": "heat_stack_owner"}, {"id": "4abf59ec27894dca9b701f4cfef6e6b6", "name": "member"}, {"id": "d448dc18c73f48769c881a0598bb5f8b", "name": "reader"}, {"id": "640f2ae2cbe14e529e8fb0e7d6db8c71", "name": "admin"}], "catalog": [{"endpoints": [{"id": "66ea8d7fa17b496b848497edea0d99f2", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.100.10:8774/v2.1", "region": "RegionOne"}, {"id": "748f102d107f4113a8491515ffb76438", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.100.10:8774/v2.1", "region": "RegionOne"}, {"id": "c1c64a8977874f668e09299395f0ce0d", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.100.10:8774/v2.1", "region": "RegionOne"}], "id": "0583c9428f6a4de0bd5ee3e1bb419a53", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "224b50ef720946c5922c8210ba8dc8fb", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.100.10:8776/v2/60bde3e734ba468b89b453d324ae4d68", "region": "RegionOne"}, {"id": "7e13e258ee1d47438d892cabcaf0caaf", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.100.10:8776/v2/60bde3e734ba468b89b453d324ae4d68", "region": "RegionOne"}, {"id": "ac8f273b7ddc47f2bea969ebe223f93d", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.100.10:8776/v2/60bde3e734ba468b89b453d324ae4d68", "region": "RegionOne"}], "id": "2ca1af6910f44364ad8c79769977ffac", "type": "volumev2", "name": "cinderv2"}, {"endpoints": [{"id": "043928e509d44ab89a7238f67809e981", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.100.10:9517/v1/", "region": "RegionOne"}, {"id": "bc4ce934fd814271a6cdc19b91675c13", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.100.10:9517/v1/", "region": "RegionOne"}, {"id": "bdd4ec135ec7437d9efb6b13892a64e4", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.100.10:9517/v1/", "region": "RegionOne"}], "id": "5c910280c0d7423b8251f4080a646798", "type": "container", "name": "zun"}, {"endpoints": [{"id": "1a5e8bcc7c374a1da2ef2de6fa6b7899", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.100.10:9292", "region": "RegionOne"}, {"id": "a161d30f085a4b558a06450e3114db9d", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.100.10:9292", "region": "RegionOne"}, {"id": "f0988879a4e84ba18c0de083a6849b0f", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.100.10:9292", "region": "RegionOne"}], "id": "7d1a062cff8d49c79ea121cfbfb880e5", "type": "image", "name": "glance"}, {"endpoints": [{"id": "0f92abcc963941a998c0f5ca1b82981f", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.100.10:8004/v1/60bde3e734ba468b89b453d324ae4d68", "region": "RegionOne"}, {"id": "449bfb3c8ecd4bd0b21fe0c85ffa5bc6", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.100.10:8004/v1/60bde3e734ba468b89b453d324ae4d68", "region": "RegionOne"}, {"id": "cf56be42d76b41b88c006cacf78ec74c", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.100.10:8004/v1/60bde3e734ba468b89b453d324ae4d68", "region": "RegionOne"}], "id": "84c44939a02543df868445c548bd5685", "type": "orchestration", "name": "heat"}, {"endpoints": [{"id": "2beb029dc1dc443dae914e00c8d67b15", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.100.10:9511/v1", "region": "RegionOne"}, {"id": "7ece6d885fb6475e9efd3c44b292bdf2", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.100.10:9511/v1", "region": "RegionOne"}, {"id": "b04c2a45072043ddad2c8736956fdc81", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.100.10:9511/v1", "region": "RegionOne"}], "id": "90ac39f2908846bbb042e0b3b492456b", "type": "container-infra", "name": "magnum"}, {"endpoints": [{"id": "1e54e729a9dd4608a40de752e831b73a", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.100.10:8000/v1", "region": "RegionOne"}, {"id": "1f40d9d29f5542fab97f740b79a19c7b", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.100.10:8000/v1", "region": "RegionOne"}, {"id": "444750468b9a43aa95a358b548c7ffb9", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.100.10:8000/v1", "region": "RegionOne"}], "id": "97a27b63ff114f77a8eaa849d15e942e", "type": "cloudformation", "name": "heat-cfn"}, {"endpoints": [{"id": "a40e5467b748491198e77106d89bf6fe", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.100.10:8080/v1/AUTH_60bde3e734ba468b89b453d324ae4d68", "region": "RegionOne"}, {"id": "ad6d1644d79943aa94252d19d60a5cfa", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.100.10:8080/v1", "region": "RegionOne"}, {"id": "bb26dcb2abb94eebba09460693025a2c", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.100.10:8080/v1/AUTH_60bde3e734ba468b89b453d324ae4d68", "region": "RegionOne"}], "id": "9b6bee86ae3b40f4895fd0bddc19a435", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "2a2b5d282621411c9b4117abe14c054c", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.100.10:8776/v3/60bde3e734ba468b89b453d324ae4d68", "region": "RegionOne"}, {"id": "5089a7c354604d59983cd8555214b5a6", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.100.10:8776/v3/60bde3e734ba468b89b453d324ae4d68", "region": "RegionOne"}, {"id": "e7ddcdf6590c4df185fc2c16c7d7e48c", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.100.10:8776/v3/60bde3e734ba468b89b453d324ae4d68", "region": "RegionOne"}], "id": "a4e32bd82a7b4c5db17c58a355ba04d3", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "18d43b3c758f4963b11cdf07e54756d5", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.100.10:9696", "region": "RegionOne"}, {"id": "480c826452d14d8aaa538c6bc9b0869a", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.100.10:9696", "region": "RegionOne"}, {"id": "6883f7f337ee4ffdae5c76dc5339e4f9", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.100.10:9696", "region": "RegionOne"}], "id": "b7f4215ede174c95968ff6b60381aafc", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "47b52a39e3ff40d2a6de3761ccee9e66", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.100.10:9311", "region": "RegionOne"}, {"id": "a0f99f8081cd481fa4072621822339a9", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.100.10:9311", "region": "RegionOne"}, {"id": "dd902c067de74eda85ef7842b517384d", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.100.10:9311", "region": "RegionOne"}], "id": "c2d1a9a16140496abf984969550da9a2", "type": "key-manager", "name": "barbican"}, {"endpoints": [{"id": "11a2c166f2fe43d690b6ef640117fe5a", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.100.10:8774/v2/60bde3e734ba468b89b453d324ae4d68", "region": "RegionOne"}, {"id": "a2e69a0ea8e44bfd8a927601cd9bdf4c", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.100.10:8774/v2/60bde3e734ba468b89b453d324ae4d68", "region": "RegionOne"}, {"id": "ecf0b40085ed43d7b5a1ef7109f5e7e8", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.100.10:8774/v2/60bde3e734ba468b89b453d324ae4d68", "region": "RegionOne"}], "id": "c5407bad1431403499218f18a7b6ab41", "type": "compute_legacy", "name": "nova_legacy"}, {"endpoints": [{"id": "0794ea5713e246aca87cd3b460c14996", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.100.10:5000", "region": "RegionOne"}, {"id": "3c2140b55b9546cea14cf5730b2b4810", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.100.10:5000", "region": "RegionOne"}, {"id": "b4ba7f8c3811442cbcee2aa7ad847c0a", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.100.10:35357", "region": "RegionOne"}], "id": "c952c70d40564df7a493c4baf4d025e2", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "3ccd6551c3ab463984ed408261661edd", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.100.10:8780", "region": "RegionOne"}, {"id": "b5705d8ec7ee4127a6752544b9696e65", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.100.10:8780", "region": "RegionOne"}, {"id": "f10a56c551854a4b8ba3a5d0a77f1bcf", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.100.10:8780", "region": "RegionOne"}], "id": "ed40272ec4fc42068e23fe76f996ea89", "type": "placement", "name": "placement"}]}} run(Namespace(checksum=None, columns=[], community=False, container_format='bare', copy_from=None, disk_format='qcow2', file='.//cirros-0.4.0-x86_64-disk.img', fit_width=False, force=False, formatter='table', id=None, location=None, max_width=0, min_disk=None, min_ram=None, name='cirros', noindent=False, prefix='', print_empty=False, private=False, project=None, project_domain=None, properties={'os_type': 'linux'}, protected=False, public=True, shared=False, sign_cert_id=[], sign_key_path=[], size=None, store=None, tags=None, unprotected=False, variables=[], volume=None)) Instantiating identity client: Instantiating image client: Making authentication request to http://172.22.100.10:35357/v3/auth/tokens http://172.22.100.10:35357 "POST /v3/auth/tokens HTTP/1.1" 201 9091 {"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "49f3838311564e8d8917be9f2046c6cf", "name": "admin", "password_expires_at": null}, "audit_ids": ["48aF5TUbRNGsx_osFKr3nQ"], "expires_at": "2019-12-20T15:39:41.000000Z", "issued_at": "2019-12-19T15:39:41.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "60bde3e734ba468b89b453d324ae4d68", "name": "admin"}, "is_domain": false, "roles": [{"id": "03a6993fe2a94829b7214defc04b2d6d", "name": "heat_stack_owner"}, {"id": "4abf59ec27894dca9b701f4cfef6e6b6", "name": "member"}, {"id": "d448dc18c73f48769c881a0598bb5f8b", "name": "reader"}, {"id": "640f2ae2cbe14e529e8fb0e7d6db8c71", "name": "admin"}], "catalog": [{"endpoints": [{"id": "66ea8d7fa17b496b848497edea0d99f2", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.100.10:8774/v2.1", "region": "RegionOne"}, {"id": "748f102d107f4113a8491515ffb76438", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.100.10:8774/v2.1", "region": "RegionOne"}, {"id": "c1c64a8977874f668e09299395f0ce0d", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.100.10:8774/v2.1", "region": "RegionOne"}], "id": "0583c9428f6a4de0bd5ee3e1bb419a53", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "224b50ef720946c5922c8210ba8dc8fb", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.100.10:8776/v2/60bde3e734ba468b89b453d324ae4d68", "region": "RegionOne"}, {"id": "7e13e258ee1d47438d892cabcaf0caaf", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.100.10:8776/v2/60bde3e734ba468b89b453d324ae4d68", "region": "RegionOne"}, {"id": "ac8f273b7ddc47f2bea969ebe223f93d", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.100.10:8776/v2/60bde3e734ba468b89b453d324ae4d68", "region": "RegionOne"}], "id": "2ca1af6910f44364ad8c79769977ffac", "type": "volumev2", "name": "cinderv2"}, {"endpoints": [{"id": "043928e509d44ab89a7238f67809e981", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.100.10:9517/v1/", "region": "RegionOne"}, {"id": "bc4ce934fd814271a6cdc19b91675c13", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.100.10:9517/v1/", "region": "RegionOne"}, {"id": "bdd4ec135ec7437d9efb6b13892a64e4", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.100.10:9517/v1/", "region": "RegionOne"}], "id": "5c910280c0d7423b8251f4080a646798", "type": "container", "name": "zun"}, {"endpoints": [{"id": "1a5e8bcc7c374a1da2ef2de6fa6b7899", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.100.10:9292", "region": "RegionOne"}, {"id": "a161d30f085a4b558a06450e3114db9d", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.100.10:9292", "region": "RegionOne"}, {"id": "f0988879a4e84ba18c0de083a6849b0f", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.100.10:9292", "region": "RegionOne"}], "id": "7d1a062cff8d49c79ea121cfbfb880e5", "type": "image", "name": "glance"}, {"endpoints": [{"id": "0f92abcc963941a998c0f5ca1b82981f", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.100.10:8004/v1/60bde3e734ba468b89b453d324ae4d68", "region": "RegionOne"}, {"id": "449bfb3c8ecd4bd0b21fe0c85ffa5bc6", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.100.10:8004/v1/60bde3e734ba468b89b453d324ae4d68", "region": "RegionOne"}, {"id": "cf56be42d76b41b88c006cacf78ec74c", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.100.10:8004/v1/60bde3e734ba468b89b453d324ae4d68", "region": "RegionOne"}], "id": "84c44939a02543df868445c548bd5685", "type": "orchestration", "name": "heat"}, {"endpoints": [{"id": "2beb029dc1dc443dae914e00c8d67b15", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.100.10:9511/v1", "region": "RegionOne"}, {"id": "7ece6d885fb6475e9efd3c44b292bdf2", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.100.10:9511/v1", "region": "RegionOne"}, {"id": "b04c2a45072043ddad2c8736956fdc81", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.100.10:9511/v1", "region": "RegionOne"}], "id": "90ac39f2908846bbb042e0b3b492456b", "type": "container-infra", "name": "magnum"}, {"endpoints": [{"id": "1e54e729a9dd4608a40de752e831b73a", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.100.10:8000/v1", "region": "RegionOne"}, {"id": "1f40d9d29f5542fab97f740b79a19c7b", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.100.10:8000/v1", "region": "RegionOne"}, {"id": "444750468b9a43aa95a358b548c7ffb9", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.100.10:8000/v1", "region": "RegionOne"}], "id": "97a27b63ff114f77a8eaa849d15e942e", "type": "cloudformation", "name": "heat-cfn"}, {"endpoints": [{"id": "a40e5467b748491198e77106d89bf6fe", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.100.10:8080/v1/AUTH_60bde3e734ba468b89b453d324ae4d68", "region": "RegionOne"}, {"id": "ad6d1644d79943aa94252d19d60a5cfa", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.100.10:8080/v1", "region": "RegionOne"}, {"id": "bb26dcb2abb94eebba09460693025a2c", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.100.10:8080/v1/AUTH_60bde3e734ba468b89b453d324ae4d68", "region": "RegionOne"}], "id": "9b6bee86ae3b40f4895fd0bddc19a435", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "2a2b5d282621411c9b4117abe14c054c", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.100.10:8776/v3/60bde3e734ba468b89b453d324ae4d68", "region": "RegionOne"}, {"id": "5089a7c354604d59983cd8555214b5a6", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.100.10:8776/v3/60bde3e734ba468b89b453d324ae4d68", "region": "RegionOne"}, {"id": "e7ddcdf6590c4df185fc2c16c7d7e48c", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.100.10:8776/v3/60bde3e734ba468b89b453d324ae4d68", "region": "RegionOne"}], "id": "a4e32bd82a7b4c5db17c58a355ba04d3", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "18d43b3c758f4963b11cdf07e54756d5", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.100.10:9696", "region": "RegionOne"}, {"id": "480c826452d14d8aaa538c6bc9b0869a", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.100.10:9696", "region": "RegionOne"}, {"id": "6883f7f337ee4ffdae5c76dc5339e4f9", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.100.10:9696", "region": "RegionOne"}], "id": "b7f4215ede174c95968ff6b60381aafc", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "47b52a39e3ff40d2a6de3761ccee9e66", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.100.10:9311", "region": "RegionOne"}, {"id": "a0f99f8081cd481fa4072621822339a9", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.100.10:9311", "region": "RegionOne"}, {"id": "dd902c067de74eda85ef7842b517384d", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.100.10:9311", "region": "RegionOne"}], "id": "c2d1a9a16140496abf984969550da9a2", "type": "key-manager", "name": "barbican"}, {"endpoints": [{"id": "11a2c166f2fe43d690b6ef640117fe5a", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.100.10:8774/v2/60bde3e734ba468b89b453d324ae4d68", "region": "RegionOne"}, {"id": "a2e69a0ea8e44bfd8a927601cd9bdf4c", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.100.10:8774/v2/60bde3e734ba468b89b453d324ae4d68", "region": "RegionOne"}, {"id": "ecf0b40085ed43d7b5a1ef7109f5e7e8", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.100.10:8774/v2/60bde3e734ba468b89b453d324ae4d68", "region": "RegionOne"}], "id": "c5407bad1431403499218f18a7b6ab41", "type": "compute_legacy", "name": "nova_legacy"}, {"endpoints": [{"id": "0794ea5713e246aca87cd3b460c14996", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.100.10:5000", "region": "RegionOne"}, {"id": "3c2140b55b9546cea14cf5730b2b4810", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.100.10:5000", "region": "RegionOne"}, {"id": "b4ba7f8c3811442cbcee2aa7ad847c0a", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.100.10:35357", "region": "RegionOne"}], "id": "c952c70d40564df7a493c4baf4d025e2", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "3ccd6551c3ab463984ed408261661edd", "interface": "admin", "region_id": "RegionOne", "url": "http://172.22.100.10:8780", "region": "RegionOne"}, {"id": "b5705d8ec7ee4127a6752544b9696e65", "interface": "public", "region_id": "RegionOne", "url": "http://172.22.100.10:8780", "region": "RegionOne"}, {"id": "f10a56c551854a4b8ba3a5d0a77f1bcf", "interface": "internal", "region_id": "RegionOne", "url": "http://172.22.100.10:8780", "region": "RegionOne"}], "id": "ed40272ec4fc42068e23fe76f996ea89", "type": "placement", "name": "placement"}]}} Instantiating image api: curl -g -i -X GET -H 'b'Content-Type': b'application/octet-stream'' -H 'b'X-Auth-Token': b'gAAAAABd-5m909nalk-GACSrOmpC1xPey9YHJYSoahClkUwTZLeOpdlxyVqxL5G9Oal5dU6QGAWBx3H0ZpyQ5pIV5lCi7bqXg2V-4ooJ7QukhRlC4vSHh2D_OCsJNq1PCyEYyfQR0VvT_LGSnuuciqMkYjAok5SZC-9p2tYn82Wcici2PI5sHaM'' -H 'User-Agent: python-glanceclient' -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'Connection: keep-alive' http://172.22.100.10:9292/v2/schemas/image Starting new HTTP connection (1): 172.22.100.10:9292 http://172.22.100.10:9292 "GET /v2/schemas/image HTTP/1.1" 200 6083 GET call to image for http://172.22.100.10:9292/v2/schemas/image used request id req-a7dc4d55-7c9d-47e3-b5ed-0410e7029533 HTTP/1.1 200 OK Content-Type: application/json Content-Length: 6083 X-Openstack-Request-Id: req-a7dc4d55-7c9d-47e3-b5ed-0410e7029533 Date: Thu, 19 Dec 2019 15:39:41 GMT {"name": "image", "properties": {"id": {"type": "string", "description": "An identifier for the image", "pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$"}, "name": {"type": ["null", "string"], "description": "Descriptive name for the image", "maxLength": 255}, "status": {"type": "string", "readOnly": true, "description": "Status of the image", "enum": ["queued", "saving", "active", "killed", "deleted", "uploading", "importing", "pending_delete", "deactivated"]}, "visibility": {"type": "string", "description": "Scope of image accessibility", "enum": ["community", "public", "private", "shared"]}, "protected": {"type": "boolean", "description": "If true, image will not be deletable."}, "os_hidden": {"type": "boolean", "description": "If true, image will not appear in default image list response."}, "checksum": {"type": ["null", "string"], "readOnly": true, "description": "md5 hash of image contents.", "maxLength": 32}, "os_hash_algo": {"type": ["null", "string"], "readOnly": true, "description": "Algorithm to calculate the os_hash_value", "maxLength": 64}, "os_hash_value": {"type": ["null", "string"], "readOnly": true, "description": "Hexdigest of the image contents using the algorithm specified by the os_hash_algo", "maxLength": 128}, "owner": {"type": ["null", "string"], "description": "Owner of the image", "maxLength": 255}, "size": {"type": ["null", "integer"], "readOnly": true, "description": "Size of image file in bytes"}, "virtual_size": {"type": ["null", "integer"], "readOnly": true, "description": "Virtual size of image in bytes"}, "container_format": {"type": ["null", "string"], "description": "Format of the container", "enum": [null, "ami", "ari", "aki", "bare", "ovf", "ova", "docker", "compressed"]}, "disk_format": {"type": ["null", "string"], "description": "Format of the disk", "enum": [null, "ami", "ari", "aki", "vhd", "vhdx", "vmdk", "raw", "qcow2", "vdi", "iso", "ploop"]}, "created_at": {"type": "string", "readOnly": true, "description": "Date and time of image registration"}, "updated_at": {"type": "string", "readOnly": true, "description": "Date and time of the last image modification"}, "tags": {"type": "array", "description": "List of strings related to the image", "items": {"type": "string", "maxLength": 255}}, "direct_url": {"type": "string", "readOnly": true, "description": "URL to access the image file kept in external store"}, "min_ram": {"type": "integer", "description": "Amount of ram (in MB) required to boot image."}, "min_disk": {"type": "integer", "description": "Amount of disk space (in GB) required to boot image."}, "self": {"type": "string", "readOnly": true, "description": "An image self url"}, "file": {"type": "string", "readOnly": true, "description": "An image file url"}, "stores": {"type": "string", "readOnly": true, "description": "Store in which image data resides. Only present when the operator has enabled multiple stores. May be a comma-separated list of store identifiers."}, "schema": {"type": "string", "readOnly": true, "description": "An image schema url"}, "locations": {"type": "array", "items": {"type": "object", "properties": {"url": {"type": "string", "maxLength": 255}, "metadata": {"type": "object"}, "validation_data": {"description": "Values to be used to populate the corresponding image properties. If the image status is not 'queued', values must exactly match those already contained in the image properties.", "type": "object", "writeOnly": true, "additionalProperties": false, "properties": {"checksum": {"type": "string", "minLength": 32, "maxLength": 32}, "os_hash_algo": {"type": "string", "maxLength": 64}, "os_hash_value": {"type": "string", "maxLength": 128}}, "required": ["os_hash_algo", "os_hash_value"]}}, "required": ["url", "metadata"]}, "description": "A set of URLs to access the image file kept in external store"}, "kernel_id": {"type": ["null", "string"], "pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$", "description": "ID of image stored in Glance that should be used as the kernel when booting an AMI-style image.", "is_base": false}, "ramdisk_id": {"type": ["null", "string"], "pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$", "description": "ID of image stored in Glance that should be used as the ramdisk when booting an AMI-style image.", "is_base": false}, "instance_uuid": {"type": "string", "description": "Metadata which can be used to record which instance this image is associated with. (Informational only, does not create an instance snapshot.)", "is_base": false}, "architecture": {"description": "Operating system architecture as specified in https://docs.openstack.org/python-glanceclient/latest/cli/property-keys.html", "type": "string", "is_base": false}, "os_distro": {"description": "Common name of operating system distribution as specified in https://docs.openstack.org/python-glanceclient/latest/cli/property-keys.html", "type": "string", "is_base": false}, "os_version": {"description": "Operating system version as specified by the distributor.", "type": "string", "is_base": false}, "description": {"description": "A human-readable string describing this image.", "type": "string", "is_base": false}, "cinder_encryption_key_id": {"description": "Identifier in the OpenStack Key Management Service for the encryption key for the Block Storage Service to use when mounting a volume created from this image", "type": "string", "is_base": false}, "cinder_encryption_key_deletion_policy": {"description": "States the condition under which the Image Service will delete the object associated with the 'cinder_encryption_key_id' image property. If this property is missing, the Image Service will take no action", "type": "string", "enum": ["on_image_deletion", "do_not_delete"], "is_base": false}}, "additionalProperties": {"type": "string"}, "links": [{"rel": "self", "href": "{self}"}, {"rel": "enclosure", "href": "{file}"}, {"rel": "describedby", "href": "{schema}"}]} curl -g -i -X POST -H 'b'Content-Type': b'application/json'' -H 'b'X-Auth-Token': b'gAAAAABd-5m909nalk-GACSrOmpC1xPey9YHJYSoahClkUwTZLeOpdlxyVqxL5G9Oal5dU6QGAWBx3H0ZpyQ5pIV5lCi7bqXg2V-4ooJ7QukhRlC4vSHh2D_OCsJNq1PCyEYyfQR0VvT_LGSnuuciqMkYjAok5SZC-9p2tYn82Wcici2PI5sHaM'' -H 'User-Agent: python-glanceclient' -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'Connection: keep-alive' -d '{"name": "cirros", "container_format": "bare", "disk_format": "qcow2", "os_type": "linux", "visibility": "public"}' http://172.22.100.10:9292/v2/images http://172.22.100.10:9292 "POST /v2/images HTTP/1.1" 201 652 POST call to image for http://172.22.100.10:9292/v2/images used request id req-299737aa-df80-4897-ab5e-586ef2af53e8 HTTP/1.1 201 Created Content-Length: 652 Content-Type: application/json Location: http://172.22.100.10:9292/v2/images/25f83295-3c46-47c2-8c92-673f3c2b86c7 Openstack-Image-Import-Methods: glance-direct,web-download X-Openstack-Request-Id: req-299737aa-df80-4897-ab5e-586ef2af53e8 Date: Thu, 19 Dec 2019 15:39:41 GMT {"os_type": "linux", "name": "cirros", "disk_format": "qcow2", "container_format": "bare", "visibility": "public", "size": null, "virtual_size": null, "status": "queued", "checksum": null, "protected": false, "min_ram": 0, "min_disk": 0, "owner": "60bde3e734ba468b89b453d324ae4d68", "os_hidden": false, "os_hash_algo": null, "os_hash_value": null, "id": "25f83295-3c46-47c2-8c92-673f3c2b86c7", "created_at": "2019-12-19T15:39:41Z", "updated_at": "2019-12-19T15:39:41Z", "locations": [], "tags": [], "self": "/v2/images/25f83295-3c46-47c2-8c92-673f3c2b86c7", "file": "/v2/images/25f83295-3c46-47c2-8c92-673f3c2b86c7/file", "schema": "/v2/schemas/image"} curl -g -i -X PUT -H 'b'Content-Type': b'application/octet-stream'' -H 'b'X-Auth-Token': b'gAAAAABd-5m909nalk-GACSrOmpC1xPey9YHJYSoahClkUwTZLeOpdlxyVqxL5G9Oal5dU6QGAWBx3H0ZpyQ5pIV5lCi7bqXg2V-4ooJ7QukhRlC4vSHh2D_OCsJNq1PCyEYyfQR0VvT_LGSnuuciqMkYjAok5SZC-9p2tYn82Wcici2PI5sHaM'' -H 'User-Agent: python-glanceclient' -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'Connection: keep-alive' http://172.22.100.10:9292/v2/images/25f83295-3c46-47c2-8c92-673f3c2b86c7/file PUT call to image for http://172.22.100.10:9292/v2/images/25f83295-3c46-47c2-8c92-673f3c2b86c7/file used request id req-0dbf7b49-f995-4b85-b704-9ddacb5d22c8 Request returned failure status 500. curl -g -i -X DELETE -H 'b'Content-Type': b'application/octet-stream'' -H 'b'X-Auth-Token': b'gAAAAABd-5m909nalk-GACSrOmpC1xPey9YHJYSoahClkUwTZLeOpdlxyVqxL5G9Oal5dU6QGAWBx3H0ZpyQ5pIV5lCi7bqXg2V-4ooJ7QukhRlC4vSHh2D_OCsJNq1PCyEYyfQR0VvT_LGSnuuciqMkYjAok5SZC-9p2tYn82Wcici2PI5sHaM'' -H 'User-Agent: python-glanceclient' -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'Connection: keep-alive' http://172.22.100.10:9292/v2/images/25f83295-3c46-47c2-8c92-673f3c2b86c7 http://172.22.100.10:9292 "DELETE /v2/images/25f83295-3c46-47c2-8c92-673f3c2b86c7 HTTP/1.1" 204 0 DELETE call to image for http://172.22.100.10:9292/v2/images/25f83295-3c46-47c2-8c92-673f3c2b86c7 used request id req-606f06fc-0ae6-4cbe-a5db-6849d54fab32 HTTP/1.1 204 No Content Content-Type: text/html; charset=UTF-8 Content-Length: 0 X-Openstack-Request-Id: req-606f06fc-0ae6-4cbe-a5db-6849d54fab32 Date: Thu, 19 Dec 2019 15:40:13 GMT HTTP 500 Internal Server Error: The server has either erred or is incapable of performing the requested operation. Traceback (most recent call last): File "/root/venv3/lib/python3.6/site-packages/cliff/app.py", line 401, in run_subcommand result = cmd.run(parsed_args) File "/root/venv3/lib/python3.6/site-packages/osc_lib/command/command.py", line 41, in run return super(Command, self).run(parsed_args) File "/root/venv3/lib/python3.6/site-packages/cliff/display.py", line 116, in run column_names, data = self.take_action(parsed_args) File "/root/venv3/lib/python3.6/site-packages/openstackclient/image/v2/image.py", line 401, in take_action image_client.images.upload(image.id, fp) File "/root/venv3/lib/python3.6/site-packages/wrapt/wrappers.py", line 603, in __call__ args, kwargs) File "/root/venv3/lib/python3.6/site-packages/glanceclient/common/utils.py", line 598, in inner return RequestIdProxy(wrapped(*args, **kwargs)) File "/root/venv3/lib/python3.6/site-packages/glanceclient/v2/images.py", line 288, in upload resp, body = self.http_client.put(url, headers=hdrs, data=body) File "/root/venv3/lib/python3.6/site-packages/glanceclient/common/http.py", line 321, in put return self._request('PUT', url, **kwargs) File "/root/venv3/lib/python3.6/site-packages/glanceclient/common/http.py", line 307, in _request resp, body_iter = self._handle_response(resp) File "/root/venv3/lib/python3.6/site-packages/glanceclient/common/http.py", line 126, in _handle_response raise exc.from_response(resp, resp.content) glanceclient.exc.HTTPInternalServerError: HTTP 500 Internal Server Error: The server has either erred or is incapable of performing the requested operation. clean_up CreateImage: HTTP 500 Internal Server Error: The server has either erred or is incapable of performing the requested operation. Traceback (most recent call last): File "/root/venv3/lib/python3.6/site-packages/osc_lib/shell.py", line 136, in run ret_val = super(OpenStackShell, self).run(argv) File "/root/venv3/lib/python3.6/site-packages/cliff/app.py", line 281, in run result = self.run_subcommand(remainder) File "/root/venv3/lib/python3.6/site-packages/osc_lib/shell.py", line 176, in run_subcommand ret_value = super(OpenStackShell, self).run_subcommand(argv) File "/root/venv3/lib/python3.6/site-packages/cliff/app.py", line 401, in run_subcommand result = cmd.run(parsed_args) File "/root/venv3/lib/python3.6/site-packages/osc_lib/command/command.py", line 41, in run return super(Command, self).run(parsed_args) File "/root/venv3/lib/python3.6/site-packages/cliff/display.py", line 116, in run column_names, data = self.take_action(parsed_args) File "/root/venv3/lib/python3.6/site-packages/openstackclient/image/v2/image.py", line 401, in take_action image_client.images.upload(image.id, fp) File "/root/venv3/lib/python3.6/site-packages/wrapt/wrappers.py", line 603, in __call__ args, kwargs) File "/root/venv3/lib/python3.6/site-packages/glanceclient/common/utils.py", line 598, in inner return RequestIdProxy(wrapped(*args, **kwargs)) File "/root/venv3/lib/python3.6/site-packages/glanceclient/v2/images.py", line 288, in upload resp, body = self.http_client.put(url, headers=hdrs, data=body) File "/root/venv3/lib/python3.6/site-packages/glanceclient/common/http.py", line 321, in put return self._request('PUT', url, **kwargs) File "/root/venv3/lib/python3.6/site-packages/glanceclient/common/http.py", line 307, in _request resp, body_iter = self._handle_response(resp) File "/root/venv3/lib/python3.6/site-packages/glanceclient/common/http.py", line 126, in _handle_response raise exc.from_response(resp, resp.content) glanceclient.exc.HTTPInternalServerError: HTTP 500 Internal Server Error: The server has either erred or is incapable of performing the requested operation. END return value: 1 (venv3) root@ss:~/kolla-ansible_setup#