Skip to content

Instantly share code, notes, and snippets.

@fatmcgav
Last active February 24, 2017 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fatmcgav/5c84529f6fd7bd2604732880b4e10204 to your computer and use it in GitHub Desktop.
Save fatmcgav/5c84529f6fd7bd2604732880b4e10204 to your computer and use it in GitHub Desktop.
Openstack Debug logs for shell hang
╭─ ✓   ~/Work/TV/K5   venv 🐍  14:01:28
╰─ openstack --version
openstack 3.8.1
╭─ ✓   ~/Work/TV/K5   venv 🐍  14:01:34
╰─ openstack --os-cloud k5 --debug
START with options: [u'--os-cloud', u'k5', u'--debug']
options: Namespace(access_token='***', access_token_endpoint='', access_token_type='', auth_type='', auth_url='', cacert=None, cert='', client_id='', client_secret='***', cloud=u'k5', 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='', key='', log_file=None, openid_scope='', os_beta_command=False, os_compute_api_version='', os_identity_api_version='', os_image_api_version='', os_network_api_version='', os_object_api_version='', os_project_id=None, os_project_name=None, os_volume_api_version='', passcode='', password='***',project_domain_id='', project_domain_name='', project_id='', project_name='', protocol='', redirect_uri='', region_name='', timing=False, token='***', trust_id='', url='', user_domain_id='', user_domain_name='', user_id='', username='', verbose_level=3, verify=None)
Auth plugin password selected
auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', u'orchestration_api_version': u'1', u'database_api_version': u'1.0', u'metering_api_version': u'2', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], 'cloud': u'k5', u'image_api_version': u'2', 'verify': True, u'dns_api_version': u'2', u'object_store_api_version': u'1', u'status': u'active', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': 'uk-1', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'username': 'gavin.williams@weareact.com', 'project_name': 'rUbTpj9m-prj', 'user_domain_name': 'rUbTpj9m', 'auth_url': 'https://identity.uk-1.cloud.global.fujitsu.com/v3', 'password': '***', 'project_domain_name': 'rUbTpj9m'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', 'key': None, 'timing': False, u'application_catalog_api_version': u'1', 'cacert': None, u'key_manager_api_version': u'v1', 'deferred_help': False, u'identity_api_version': '3', u'volume_api_version': u'2', 'cert': None, u'secgroup_source': u'neutron', 'debug': True, u'interface': None, u'disable_vendor_agent': {}}
defaults: {u'auth_type': 'password', u'status': u'active', u'compute_api_version': u'2', 'key': None, u'database_api_version': u'1.0', 'api_timeout': None, u'baremetal_api_version': u'1', u'image_api_version': u'2', u'container_infra_api_version': u'1', u'metering_api_version': u'2', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1', 'cacert': None, u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', u'application_catalog_api_version': u'1', u'key_manager_api_version': u'v1', 'verify': True, u'identity_api_version': u'2.0', u'volume_api_version': u'2', 'cert': None, u'secgroup_source': u'neutron', u'container_api_version': u'1', u'dns_api_version': u'2', u'object_store_api_version': u'1', u'interface': None, u'disable_vendor_agent': {}}
cloud cfg: {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', u'orchestration_api_version': u'1', u'database_api_version': u'1.0', u'metering_api_version': u'2', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], 'cloud': u'k5', u'image_api_version': u'2', 'verify': True, u'dns_api_version': u'2', u'object_store_api_version': u'1', u'status': u'active', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': 'uk-1', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'username': 'gavin.williams@weareact.com', 'project_name': 'rUbTpj9m-prj', 'user_domain_name': 'rUbTpj9m', 'auth_url': 'https://identity.uk-1.cloud.global.fujitsu.com/v3', 'password': '***', 'project_domain_name': 'rUbTpj9m'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', 'key': None, 'timing': False, u'application_catalog_api_version': u'1', 'cacert': None, u'key_manager_api_version': u'v1', 'deferred_help': False, u'identity_api_version': '3', u'volume_api_version': u'2', 'cert': None, u'secgroup_source': u'neutron', 'debug': True, u'interface': None, u'disable_vendor_agent': {}}
compute API version 2, cmd group openstack.compute.v2
network API version 2, cmd group openstack.network.v2
image API version 2, cmd group openstack.image.v2
volume API version 2, cmd group openstack.volume.v2
identity API version 3, cmd group openstack.identity.v3
object_store API version 1, cmd group openstack.object_store.v1
neutronclient API version 2, cmd group openstack.neutronclient.v2
Auth plugin password selected
auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', u'orchestration_api_version': u'1', u'database_api_version': u'1.0', u'metering_api_version': u'2', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], 'cloud': u'k5', u'image_api_version': u'2', 'verify': True, u'dns_api_version': u'2', u'object_store_api_version': u'1', u'status': u'active', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': 'uk-1', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'username': 'gavin.williams@weareact.com', 'project_name': 'rUbTpj9m-prj', 'user_domain_name': 'rUbTpj9m', 'auth_url': 'https://identity.uk-1.cloud.global.fujitsu.com/v3', 'password': '***', 'project_domain_name': 'rUbTpj9m'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', 'key': None, 'timing': False, u'application_catalog_api_version': u'1', 'cacert': None, u'key_manager_api_version': u'v1', 'deferred_help': False, u'identity_api_version': '3', u'volume_api_version': u'2', 'cert': None, u'secgroup_source': u'neutron', 'debug': True, u'interface': None, u'disable_vendor_agent': {}}
^CEND return value: 1
Traceback (most recent call last):
File "/Users/gavinw/Work/TV/K5/venv/bin/openstack", line 11, in <module>
sys.exit(main())
File "/Users/gavinw/Work/TV/K5/venv/lib/python2.7/site-packages/openstackclient/shell.py", line 211, in main
return OpenStackShell().run(argv)
File "/Users/gavinw/Work/TV/K5/venv/lib/python2.7/site-packages/osc_lib/shell.py", line 135, in run
ret_val = super(OpenStackShell, self).run(argv)
File "/Users/gavinw/Work/TV/K5/venv/lib/python2.7/site-packages/cliff/app.py", line 277, in run
result = self.interact()
File "/Users/gavinw/Work/TV/K5/venv/lib/python2.7/site-packages/osc_lib/shell.py", line 188, in interact
ret_value = super(OpenStackShell, self).interact()
File "/Users/gavinw/Work/TV/K5/venv/lib/python2.7/site-packages/cliff/app.py", line 316, in interact
from .interactive import InteractiveApp
File "/Users/gavinw/Work/TV/K5/venv/lib/python2.7/site-packages/cliff/interactive.py", line 20, in <module>
import cmd2
File "/Users/gavinw/Work/TV/K5/venv/lib/python2.7/site-packages/cmd2.py", line 338, in <module>
subprocess.check_call('pbcopy -help', shell=True, stdin=subprocess.PIPE, stdout=DEVNULL, stderr=DEVNULL)
File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 181, in check_call
retcode = call(*popenargs, **kwargs)
File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 168, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1073, in wait
pid, sts = _eintr_retry_call(os.waitpid, self.pid, 0)
File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 121, in _eintr_retry_call
return func(*args)
KeyboardInterrupt
╭─ ↵ 1   ~/Work/TV/K5   venv 🐍  14:03:28
╰─ openstack --os-cloud k5 --debug server list
START with options: [u'--os-cloud', u'k5', u'--debug', u'server', u'list']
options: Namespace(access_token='***', access_token_endpoint='', access_token_type='', auth_type='', auth_url='', cacert=None, cert='', client_id='', client_secret='***', cloud=u'k5', 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='', key='', log_file=None, openid_scope='', os_beta_command=False, os_compute_api_version='', os_identity_api_version='', os_image_api_version='', os_network_api_version='', os_object_api_version='', os_project_id=None, os_project_name=None, os_volume_api_version='', passcode='', password='***',project_domain_id='', project_domain_name='', project_id='', project_name='', protocol='', redirect_uri='', region_name='', timing=False, token='***', trust_id='', url='', user_domain_id='', user_domain_name='', user_id='', username='', verbose_level=3, verify=None)
Auth plugin password selected
auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', u'orchestration_api_version': u'1', u'database_api_version': u'1.0', u'metering_api_version': u'2', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], 'cloud': u'k5', u'image_api_version': u'2', 'verify': True, u'dns_api_version': u'2', u'object_store_api_version': u'1', u'status': u'active', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': 'uk-1', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'username': 'gavin.williams@weareact.com', 'project_name': 'rUbTpj9m-prj', 'user_domain_name': 'rUbTpj9m', 'auth_url': 'https://identity.uk-1.cloud.global.fujitsu.com/v3', 'password': '***', 'project_domain_name': 'rUbTpj9m'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', 'key': None, 'timing': False, u'application_catalog_api_version': u'1', 'cacert': None, u'key_manager_api_version': u'v1', 'deferred_help': False, u'identity_api_version': '3', u'volume_api_version': u'2', 'cert': None, u'secgroup_source': u'neutron', 'debug': True, u'interface': None, u'disable_vendor_agent': {}}
defaults: {u'auth_type': 'password', u'status': u'active', u'compute_api_version': u'2', 'key': None, u'database_api_version': u'1.0', 'api_timeout': None, u'baremetal_api_version': u'1', u'image_api_version': u'2', u'container_infra_api_version': u'1', u'metering_api_version': u'2', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1', 'cacert': None, u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', u'application_catalog_api_version': u'1', u'key_manager_api_version': u'v1', 'verify': True, u'identity_api_version': u'2.0', u'volume_api_version': u'2', 'cert': None, u'secgroup_source': u'neutron', u'container_api_version': u'1', u'dns_api_version': u'2', u'object_store_api_version': u'1', u'interface': None, u'disable_vendor_agent': {}}
cloud cfg: {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', u'orchestration_api_version': u'1', u'database_api_version': u'1.0', u'metering_api_version': u'2', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], 'cloud': u'k5', u'image_api_version': u'2', 'verify': True, u'dns_api_version': u'2', u'object_store_api_version': u'1', u'status': u'active', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': 'uk-1', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'username': 'gavin.williams@weareact.com', 'project_name': 'rUbTpj9m-prj', 'user_domain_name': 'rUbTpj9m', 'auth_url': 'https://identity.uk-1.cloud.global.fujitsu.com/v3', 'password': '***', 'project_domain_name': 'rUbTpj9m'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', 'key': None, 'timing': False, u'application_catalog_api_version': u'1', 'cacert': None, u'key_manager_api_version': u'v1', 'deferred_help': False, u'identity_api_version': '3', u'volume_api_version': u'2', 'cert': None, u'secgroup_source': u'neutron', 'debug': True, u'interface': None, u'disable_vendor_agent': {}}
compute API version 2, cmd group openstack.compute.v2
network API version 2, cmd group openstack.network.v2
image API version 2, cmd group openstack.image.v2
volume API version 2, cmd group openstack.volume.v2
identity API version 3, cmd group openstack.identity.v3
object_store API version 1, cmd group openstack.object_store.v1
neutronclient API version 2, cmd group openstack.neutronclient.v2
Auth plugin password selected
auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', u'orchestration_api_version': u'1', u'database_api_version': u'1.0', u'metering_api_version': u'2', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], 'cloud': u'k5', u'image_api_version': u'2', 'verify': True, u'dns_api_version': u'2', u'object_store_api_version': u'1', u'status': u'active', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': 'uk-1', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'username': 'gavin.williams@weareact.com', 'project_name': 'rUbTpj9m-prj', 'user_domain_name': 'rUbTpj9m', 'auth_url': 'https://identity.uk-1.cloud.global.fujitsu.com/v3', 'password': '***', 'project_domain_name': 'rUbTpj9m'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', 'key': None, 'timing': False, u'application_catalog_api_version': u'1', 'cacert': None, u'key_manager_api_version': u'v1', 'deferred_help': False, u'identity_api_version': '3', u'volume_api_version': u'2', 'cert': None, u'secgroup_source': u'neutron', 'debug': True, u'interface': None, u'disable_vendor_agent': {}}
Auth plugin password selected
auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', u'orchestration_api_version': u'1', u'database_api_version': u'1.0', u'metering_api_version': u'2', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], 'cloud': u'k5', u'image_api_version': u'2', 'verify': True, u'dns_api_version': u'2', u'object_store_api_version': u'1', u'status': u'active', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': 'uk-1', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'username': 'gavin.williams@weareact.com', 'project_name': 'rUbTpj9m-prj', 'user_domain_name': 'rUbTpj9m', 'auth_url': 'https://identity.uk-1.cloud.global.fujitsu.com/v3', 'password': '***', 'project_domain_name': 'rUbTpj9m'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', 'key': None, 'timing': False, u'application_catalog_api_version': u'1', 'cacert': None, u'key_manager_api_version': u'v1', 'deferred_help': False, u'identity_api_version': '3', u'volume_api_version': u'2', 'cert': None, u'secgroup_source': u'neutron', 'debug': True, u'interface': None, u'disable_vendor_agent': {}}
command: server list -> openstackclient.compute.v2.server.ListServer
Auth plugin password selected
auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', u'orchestration_api_version': u'1', u'database_api_version': u'1.0', u'metering_api_version': u'2', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], 'cloud': u'k5', u'image_api_version': u'2', 'verify': True, u'dns_api_version': u'2', u'object_store_api_version': u'1', u'status': u'active', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': 'uk-1', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'username': 'gavin.williams@weareact.com', 'project_name': 'rUbTpj9m-prj', 'user_domain_name': 'rUbTpj9m', 'auth_url': 'https://identity.uk-1.cloud.global.fujitsu.com/v3', 'password': '***', 'project_domain_name': 'rUbTpj9m'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', 'key': None, 'timing': False, u'application_catalog_api_version': u'1', 'cacert': None, u'key_manager_api_version': u'v1', 'deferred_help': False, u'identity_api_version': '3', u'volume_api_version': u'2', 'cert': None, u'secgroup_source': u'neutron', 'debug': True, u'interface': None, u'disable_vendor_agent': {}}
Using auth plugin: password
Using parameters {'username': 'gavin.williams@weareact.com', 'project_name': 'rUbTpj9m-prj', 'user_domain_name': 'rUbTpj9m', 'auth_url': 'https://identity.uk-1.cloud.global.fujitsu.com/v3', 'password': '***', 'project_domain_name': 'rUbTpj9m'}
Get auth_ref
REQ: curl -g -i -X GET https://identity.uk-1.cloud.global.fujitsu.com/v3 -H "Accept: application/json" -H "User-Agent: osc-lib/1.3.0 keystoneauth1/2.18.0 python-requests/2.13.0 CPython/2.7.13"
Starting new HTTPS connection (1): identity.uk-1.cloud.global.fujitsu.com
https://identity.uk-1.cloud.global.fujitsu.com:443 "GET /v3 HTTP/1.1" 404 231
RESP: [404] X-Fcx-Endpoint-Request: FAILED_REQ006034588 Content-Type: application/xml;charset=UTF-8 Content-Length: 231 Date: Fri, 24 Feb 2017 14:03:35 GMT
RESP BODY: Omitted, Content-Type is set to application/xml;charset=UTF-8. Only application/json responses have their bodies logged.
Request returned failure status: 404
Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.
Making authentication request to https://identity.uk-1.cloud.global.fujitsu.com/v3/auth/tokens
https://identity.uk-1.cloud.global.fujitsu.com:443 "POST /v3/auth/tokens HTTP/1.1" 201 8403
{"token": {"methods": ["password"], "roles": [{"id": "9fe2ff9ee4384b1894a90878d3e92bab", "name": "_member_"}, {"id": "df7d043a09d34a7c9e2bad15926ee097", "name": "cpf_org_manager"}, {"id": "3af119c426a742999e7890f6d1f70b36", "name": "cpf_admin"}, {"id": "0739580a550d4a0f9c78f45a9f038c05", "name": "cpf_systemowner"}], "expires_at": "2017-02-24T17:03:36.145469Z", "project": {"domain": {"id": "b2e80501df4346d8bfe9318b69861975", "name": "rUbTpj9m"}, "id": "e646d0a2cc0c49459635a8638309461a", "name": "rUbTpj9m-prj"}, "catalog": [{"endpoints": [{"url": "https://objectstorage.uk-1.cloud.global.fujitsu.com/v1/AUTH_e646d0a2cc0c49459635a8638309461a", "interface": "public", "region": "uk-1", "name": "objectstorage", "id": "b506af0e016a4b5fb592f196da569a41"}], "type": "object-store", "id": "024329e4fde148e58ecd90b7d9872438"}, {"endpoints": [{"url": "https://keymanagement.uk-1.cloud.global.fujitsu.com/v1", "interface": "public", "region": "uk-1", "name": "keymanagement", "id": "0419c448001845af8f6828cf49745e72"}], "type": "keystore", "id": "07f309b0ef9d42758ea4de47bdca9c32"}, {"endpoints": [{"url": "https://certificate.uk-1.cloud.global.fujitsu.com/v1", "interface": "public","region": "uk-1", "name": "certificate", "id": "e1cc93936fb94cdbadc20f17c4ad3140"}], "type": "certificate", "id": "0bd9a971e97d4c15af6b94311e4e9c15"}, {"endpoints": [{"url": "https://orchestration.uk-1.cloud.global.fujitsu.com/v1/e646d0a2cc0c49459635a8638309461a", "interface": "public", "region": "uk-1", "name": "orchestration", "id": "c3ee708a6ae24ddf92c078526c36a446"}], "type": "orchestration", "id": "0dafa2a9240c41268c37818979769c88"}, {"endpoints": [{"url": "https://blockstorage.uk-1.cloud.global.fujitsu.com/v1/e646d0a2cc0c49459635a8638309461a", "interface": "public", "region": "uk-1", "name": "blockstorage", "id": "ba9061d324954b1a9f6b1c1f5d4a5c5e"}], "type": "volume", "id": "0ec640e57e4d4374841d2ab7b292f2c2"}, {"endpoints": [{"url": "https://loadbalancing.uk-1.cloud.global.fujitsu.com", "interface": "public", "region": "uk-1", "name": "loadbalancing", "id": "169bcb3f92384f709232864f4d5304eb"}], "type": "loadbalancing", "id": "15ef761fa00a438985213aec7b6fb18a"}, {"endpoints": [], "type": "dwh", "id": "1a53a2e82370422d90174c4acf585ea9"}, {"endpoints": [], "type": "contract", "id": "1b35fa74ae0e46ebbc2014f976fec0e1"}, {"endpoints": [], "type": "appplatform","id": "253096ed430c49c48c9f3549e867b538"}, {"endpoints": [{"url": "https://compute-w.uk-1.cloud.global.fujitsu.com", "interface": "public", "region": "uk-1", "name": "compute-w", "id": "e26ad89a682d4c8f8a71c9e76cd785b4"}], "type": "compute-w", "id": "327c11710f184555b43bc6fdfc47626b"}, {"endpoints": [], "type": "notification", "id": "3435ad7a1da04b1cb2e249665529eb51"}, {"endpoints": [{"url": "https://compute.uk-1.cloud.global.fujitsu.com/v2/e646d0a2cc0c49459635a8638309461a", "interface": "public", "region": "uk-1", "name": "compute", "id": "f70e51b9a6a74a87a4c7055b8df8bedf"}], "type": "compute", "id": "3e19093f50cc4590973c8953e2c327f9"}, {"endpoints": [{"url": "https://queue.uk-1.cloud.global.fujitsu.com", "interface": "public", "region": "uk-1", "name": "queue", "id": "c46b5ec51ab04402a9ffd8177743ba6f"}], "type": "queue", "id": "4a9ab69b74ec4948a0a6958177d30387"}, {"endpoints": [{"url": "https://autoscale.uk-1.cloud.global.fujitsu.com/autoscale_schedulers", "interface": "public", "region": "uk-1", "name": "autoscale", "id": "071ee50be4b341558e37f84abac47d02"}], "type": "autoscale", "id": "4f158b2836434c7ca6ee47e40a3ee56c"}, {"endpoints": [{"url": "https://telemetry.uk-1.cloud.global.fujitsu.com", "interface": "public", "region": "uk-1", "name": "telemetry", "id": "6ac15657fbc548d7ab2ed986b8d94192"}], "type": "metering", "id": "54ee7596f0e1433cb8db6201be2cf772"}, {"endpoints": [], "type": "cdn", "id": "5954129d136e4a76b7cd6f3d1f3808b5"}, {"endpoints": [], "type": "oss", "id": "5a252878ffd7402498b6b74b575a899a"}, {"endpoints": [{"url": "https://rolemanagement.uk-1.cloud.global.fujitsu.com/v1", "interface": "public", "region": "uk-1", "name": "rolemanagement", "id": "2d600a5de6ec42c6a5eab7b519832d87"}], "type": "rolemanagement", "id": "5bc90099f0ad490c811239a6a3a8f853"}, {"endpoints": [{"url": "https://compute-b.uk-1.cloud.global.fujitsu.com", "interface": "public", "region": "uk-1", "name": "compute-b", "id": "768450282d5546409395d2cb35502dad"}], "type": "compute-b", "id": "65f754202b6049578e9a292a801e28f7"}, {"endpoints": [{"url": "https://networking.uk-1.cloud.global.fujitsu.com", "interface": "public", "region": "uk-1", "name": "networking", "id": "675910513a7e466c84c39c5ca9445b81"}], "type": "network", "id": "6cf37e33dc7140b9b032faabfa53a53e"}, {"endpoints": [], "type": "dns", "id": "7426c97af5174c1abdb8b84ba02227ce"}, {"endpoints": [{"url": "https://database.uk-1.cloud.global.fujitsu.com/v1.0/e646d0a2cc0c49459635a8638309461a", "interface": "public", "region": "uk-1", "name": "database", "id": "6976cbeed14c464da15c13e949b41607"}], "type": "database", "id": "75c0280f15844d7a9eb22b1ad5a978e8"}, {"endpoints": [{"url": "https://identity.uk-1.cloud.global.fujitsu.com/v2.0", "interface": "admin", "region": "uk-1", "name": "identity", "id": "db15a7126d4a4f1f81903bb4d56be32b"}], "type": "identity", "id": "79066fe949064550930a61b33a49eb53"}, {"endpoints": [], "type": "intdns", "id": "804190a423804019aab8fd934db0086e"}, {"endpoints": [], "type": "invoicing", "id": "8d364df08cbc4d7188f0cf83744b0336"}, {"endpoints": [], "type": "catalog", "id": "9674ae5917af401397071c028ff33b68"}, {"endpoints": [{"url": "https://software.uk-1.cloud.global.fujitsu.com/v1.0", "interface": "public", "region": "uk-1", "name": "software", "id": "fd6g35fgknrzumut7bx6p6bwzehkfhrz"}], "type": "software", "id": "9760973e49b04b00b41e60c180a80562"}, {"endpoints": [{"url": "https://blockstorage.uk-1.cloud.global.fujitsu.com/v2/e646d0a2cc0c49459635a8638309461a", "interface": "public", "region": "uk-1", "name": "blockstoragev2", "id": "8c4ace3bbbd44883b5762a9ad8432a46"}], "type": "volumev2", "id": "9bf82d0466714eee86e304ab3301aec9"}, {"endpoints": [], "type": "dnsadmin", "id": "a2b90094346c48deabb9ca645bacf588"}, {"endpoints": [{"url": "https://vmimport.uk-1.cloud.global.fujitsu.com", "interface": "public", "region": "uk-1", "name": "vmimport", "id": "225257ec50ef47668185587cc6edb95d"}], "type": "vmimport", "id": "c73fa07c3b604b4f89d5a2b9c4621cf2"}, {"endpoints": [{"url": "https://identity.uk-1.cloud.global.fujitsu.com/v3", "interface": "public", "region": "uk-1", "name": "identityv3", "id": "27dc2bba1c5d4a14b68657fc8fdd4e3e"}], "type": "identityv3", "id": "cc6f50d496884ef0a751acb2e1eceedd"}, {"endpoints": [{"url": "https://applicationmanagement.uk-1.cloud.global.fujitsu.com", "interface": "public", "region": "uk-1", "name": "appmanagement", "id": "06fbcf8235434f23a08faed03b4af9ac"}], "type": "appmanagement", "id": "ce2f6bbe7a9f446b82d63725bd7bb484"}, {"endpoints": [], "type": "nosql", "id": "d07aa581c0734b6bb85cd496115b5110"}, {"endpoints": [], "type": "baremetal", "id": "d2f57dcae4c84466ac357220ff3d8900"}, {"endpoints": [], "type": "mail", "id": "d4601f51af8f43f3b0e3409e4cbac690"}, {"endpoints": [{"url": "https://networking-ex.uk-1.cloud.global.fujitsu.com", "interface": "public", "region": "uk-1", "name": "networking-ex", "id": "bf356065e45349a5bde5e043c95a1923"}], "type": "networking-ex", "id": "d4937aa1275c41378bf2ae1dbe829c68"}, {"endpoints": [{"url": "https://identity.gls.cloud.global.fujitsu.com/v3", "interface": "public", "region": "jp-east-1", "name": "global-identity", "id": "dc2ebf9d6fc04f1facc263a733cf754d"}], "type": "global-identity", "id": "e74b9c29d6504f10a8fb8e1495f3f5c6"}, {"endpoints": [{"url": "https://image.uk-1.cloud.global.fujitsu.com", "interface": "public", "region": "uk-1", "name": "image", "id": "a832d640886b4ef89027339a2edf8fcd"}], "type": "image", "id": "ea850dab0e964e12a9f66787ee8623ae"}, {"endpoints": [], "type": "billing", "id": "f1302a2477bf492bb3e867952175974a"}, {"endpoints": [{"url": "https://import-export.uk-1.cloud.global.fujitsu.com", "interface": "public","region": "uk-1", "name": "import-export", "id": "e8bde8fe61a14a88b414e5568fc17201"}], "type": "import-export", "id": "fc302725919645199373077fa299fc6e"}], "extras": {}, "user": {"domain": {"id": "b2e80501df4346d8bfe9318b69861975", "name": "rUbTpj9m"}, "id": "3de382b5568e4873ac2007a1481ac9b9", "name": "gavin.williams@weareact.com"}, "issued_at": "2017-02-24T14:03:36.145503Z"}}
run(Namespace(all_projects=False, changes_since=None, columns=[], deleted=False, flavor=None, formatter='table', host=None, image=None, instance_name=None, ip=None, ip6=None, limit=None, long=False, marker=None, max_width=0, name=None,noindent=False, print_empty=False, project=None, project_domain=None, quote_mode='nonnumeric', reservation_id=None, status=None, user=None, user_domain=None))
Instantiating compute client for API Version Major: 2, Minor: 0
Instantiating identity client: <class 'keystoneclient.v3.client.Client'>
Instantiating image client: <class 'glanceclient.v2.client.Client'>
Making authentication request to https://identity.uk-1.cloud.global.fujitsu.com/v3/auth/tokens
https://identity.uk-1.cloud.global.fujitsu.com:443 "POST /v3/auth/tokens HTTP/1.1" 201 8403
{"token": {"methods": ["password"], "roles": [{"id": "9fe2ff9ee4384b1894a90878d3e92bab", "name": "_member_"}, {"id": "df7d043a09d34a7c9e2bad15926ee097", "name": "cpf_org_manager"}, {"id": "3af119c426a742999e7890f6d1f70b36", "name": "cpf_admin"}, {"id": "0739580a550d4a0f9c78f45a9f038c05", "name": "cpf_systemowner"}], "expires_at": "2017-02-24T17:03:36.597889Z", "project": {"domain": {"id": "b2e80501df4346d8bfe9318b69861975", "name": "rUbTpj9m"}, "id": "e646d0a2cc0c49459635a8638309461a", "name": "rUbTpj9m-prj"}, "catalog": [{"endpoints": [{"url": "https://objectstorage.uk-1.cloud.global.fujitsu.com/v1/AUTH_e646d0a2cc0c49459635a8638309461a", "interface": "public", "region": "uk-1", "name": "objectstorage", "id": "b506af0e016a4b5fb592f196da569a41"}], "type": "object-store", "id": "024329e4fde148e58ecd90b7d9872438"}, {"endpoints": [{"url": "https://keymanagement.uk-1.cloud.global.fujitsu.com/v1", "interface": "public", "region": "uk-1", "name": "keymanagement", "id": "0419c448001845af8f6828cf49745e72"}], "type": "keystore", "id": "07f309b0ef9d42758ea4de47bdca9c32"}, {"endpoints": [{"url": "https://certificate.uk-1.cloud.global.fujitsu.com/v1", "interface": "public","region": "uk-1", "name": "certificate", "id": "e1cc93936fb94cdbadc20f17c4ad3140"}], "type": "certificate", "id": "0bd9a971e97d4c15af6b94311e4e9c15"}, {"endpoints": [{"url": "https://orchestration.uk-1.cloud.global.fujitsu.com/v1/e646d0a2cc0c49459635a8638309461a", "interface": "public", "region": "uk-1", "name": "orchestration", "id": "c3ee708a6ae24ddf92c078526c36a446"}], "type": "orchestration", "id": "0dafa2a9240c41268c37818979769c88"}, {"endpoints": [{"url": "https://blockstorage.uk-1.cloud.global.fujitsu.com/v1/e646d0a2cc0c49459635a8638309461a", "interface": "public", "region": "uk-1", "name": "blockstorage", "id": "ba9061d324954b1a9f6b1c1f5d4a5c5e"}], "type": "volume", "id": "0ec640e57e4d4374841d2ab7b292f2c2"}, {"endpoints": [{"url": "https://loadbalancing.uk-1.cloud.global.fujitsu.com", "interface": "public", "region": "uk-1", "name": "loadbalancing", "id": "169bcb3f92384f709232864f4d5304eb"}], "type": "loadbalancing", "id": "15ef761fa00a438985213aec7b6fb18a"}, {"endpoints": [], "type": "dwh", "id": "1a53a2e82370422d90174c4acf585ea9"}, {"endpoints": [], "type": "contract", "id": "1b35fa74ae0e46ebbc2014f976fec0e1"}, {"endpoints": [], "type": "appplatform","id": "253096ed430c49c48c9f3549e867b538"}, {"endpoints": [{"url": "https://compute-w.uk-1.cloud.global.fujitsu.com", "interface": "public", "region": "uk-1", "name": "compute-w", "id": "e26ad89a682d4c8f8a71c9e76cd785b4"}], "type": "compute-w", "id": "327c11710f184555b43bc6fdfc47626b"}, {"endpoints": [], "type": "notification", "id": "3435ad7a1da04b1cb2e249665529eb51"}, {"endpoints": [{"url": "https://compute.uk-1.cloud.global.fujitsu.com/v2/e646d0a2cc0c49459635a8638309461a", "interface": "public", "region": "uk-1", "name": "compute", "id": "f70e51b9a6a74a87a4c7055b8df8bedf"}], "type": "compute", "id": "3e19093f50cc4590973c8953e2c327f9"}, {"endpoints": [{"url": "https://queue.uk-1.cloud.global.fujitsu.com", "interface": "public", "region": "uk-1", "name": "queue", "id": "c46b5ec51ab04402a9ffd8177743ba6f"}], "type": "queue", "id": "4a9ab69b74ec4948a0a6958177d30387"}, {"endpoints": [{"url": "https://autoscale.uk-1.cloud.global.fujitsu.com/autoscale_schedulers", "interface": "public", "region": "uk-1", "name": "autoscale", "id": "071ee50be4b341558e37f84abac47d02"}], "type": "autoscale", "id": "4f158b2836434c7ca6ee47e40a3ee56c"}, {"endpoints": [{"url": "https://telemetry.uk-1.cloud.global.fujitsu.com", "interface": "public", "region": "uk-1", "name": "telemetry", "id": "6ac15657fbc548d7ab2ed986b8d94192"}], "type": "metering", "id": "54ee7596f0e1433cb8db6201be2cf772"}, {"endpoints": [], "type": "cdn", "id": "5954129d136e4a76b7cd6f3d1f3808b5"}, {"endpoints": [], "type": "oss", "id": "5a252878ffd7402498b6b74b575a899a"}, {"endpoints": [{"url": "https://rolemanagement.uk-1.cloud.global.fujitsu.com/v1", "interface": "public", "region": "uk-1", "name": "rolemanagement", "id": "2d600a5de6ec42c6a5eab7b519832d87"}], "type": "rolemanagement", "id": "5bc90099f0ad490c811239a6a3a8f853"}, {"endpoints": [{"url": "https://compute-b.uk-1.cloud.global.fujitsu.com", "interface": "public", "region": "uk-1", "name": "compute-b", "id": "768450282d5546409395d2cb35502dad"}], "type": "compute-b", "id": "65f754202b6049578e9a292a801e28f7"}, {"endpoints": [{"url": "https://networking.uk-1.cloud.global.fujitsu.com", "interface": "public", "region": "uk-1", "name": "networking", "id": "675910513a7e466c84c39c5ca9445b81"}], "type": "network", "id": "6cf37e33dc7140b9b032faabfa53a53e"}, {"endpoints": [], "type": "dns", "id": "7426c97af5174c1abdb8b84ba02227ce"}, {"endpoints": [{"url": "https://database.uk-1.cloud.global.fujitsu.com/v1.0/e646d0a2cc0c49459635a8638309461a", "interface": "public", "region": "uk-1", "name": "database", "id": "6976cbeed14c464da15c13e949b41607"}], "type": "database", "id": "75c0280f15844d7a9eb22b1ad5a978e8"}, {"endpoints": [{"url": "https://identity.uk-1.cloud.global.fujitsu.com/v2.0", "interface": "admin", "region": "uk-1", "name": "identity", "id": "db15a7126d4a4f1f81903bb4d56be32b"}], "type": "identity", "id": "79066fe949064550930a61b33a49eb53"}, {"endpoints": [], "type": "intdns", "id": "804190a423804019aab8fd934db0086e"}, {"endpoints": [], "type": "invoicing", "id": "8d364df08cbc4d7188f0cf83744b0336"}, {"endpoints": [], "type": "catalog", "id": "9674ae5917af401397071c028ff33b68"}, {"endpoints": [{"url": "https://software.uk-1.cloud.global.fujitsu.com/v1.0", "interface": "public", "region": "uk-1", "name": "software", "id": "fd6g35fgknrzumut7bx6p6bwzehkfhrz"}], "type": "software", "id": "9760973e49b04b00b41e60c180a80562"}, {"endpoints": [{"url": "https://blockstorage.uk-1.cloud.global.fujitsu.com/v2/e646d0a2cc0c49459635a8638309461a", "interface": "public", "region": "uk-1", "name": "blockstoragev2", "id": "8c4ace3bbbd44883b5762a9ad8432a46"}], "type": "volumev2", "id": "9bf82d0466714eee86e304ab3301aec9"}, {"endpoints": [], "type": "dnsadmin", "id": "a2b90094346c48deabb9ca645bacf588"}, {"endpoints": [{"url": "https://vmimport.uk-1.cloud.global.fujitsu.com", "interface": "public", "region": "uk-1", "name": "vmimport", "id": "225257ec50ef47668185587cc6edb95d"}], "type": "vmimport", "id": "c73fa07c3b604b4f89d5a2b9c4621cf2"}, {"endpoints": [{"url": "https://identity.uk-1.cloud.global.fujitsu.com/v3", "interface": "public", "region": "uk-1", "name": "identityv3", "id": "27dc2bba1c5d4a14b68657fc8fdd4e3e"}], "type": "identityv3", "id": "cc6f50d496884ef0a751acb2e1eceedd"}, {"endpoints": [{"url": "https://applicationmanagement.uk-1.cloud.global.fujitsu.com", "interface": "public", "region": "uk-1", "name": "appmanagement", "id": "06fbcf8235434f23a08faed03b4af9ac"}], "type": "appmanagement", "id": "ce2f6bbe7a9f446b82d63725bd7bb484"}, {"endpoints": [], "type": "nosql", "id": "d07aa581c0734b6bb85cd496115b5110"}, {"endpoints": [], "type": "baremetal", "id": "d2f57dcae4c84466ac357220ff3d8900"}, {"endpoints": [], "type": "mail", "id": "d4601f51af8f43f3b0e3409e4cbac690"}, {"endpoints": [{"url": "https://networking-ex.uk-1.cloud.global.fujitsu.com", "interface": "public", "region": "uk-1", "name": "networking-ex", "id": "bf356065e45349a5bde5e043c95a1923"}], "type": "networking-ex", "id": "d4937aa1275c41378bf2ae1dbe829c68"}, {"endpoints": [{"url": "https://identity.gls.cloud.global.fujitsu.com/v3", "interface": "public", "region": "jp-east-1", "name": "global-identity", "id": "dc2ebf9d6fc04f1facc263a733cf754d"}], "type": "global-identity", "id": "e74b9c29d6504f10a8fb8e1495f3f5c6"}, {"endpoints": [{"url": "https://image.uk-1.cloud.global.fujitsu.com", "interface": "public", "region": "uk-1", "name": "image", "id": "a832d640886b4ef89027339a2edf8fcd"}], "type": "image", "id": "ea850dab0e964e12a9f66787ee8623ae"}, {"endpoints": [], "type": "billing", "id": "f1302a2477bf492bb3e867952175974a"}, {"endpoints": [{"url": "https://import-export.uk-1.cloud.global.fujitsu.com", "interface": "public","region": "uk-1", "name": "import-export", "id": "e8bde8fe61a14a88b414e5568fc17201"}], "type": "import-export", "id": "fc302725919645199373077fa299fc6e"}], "extras": {}, "user": {"domain": {"id": "b2e80501df4346d8bfe9318b69861975", "name": "rUbTpj9m"}, "id": "3de382b5568e4873ac2007a1481ac9b9", "name": "gavin.williams@weareact.com"}, "issued_at": "2017-02-24T14:03:36.597924Z"}}
Instantiating image api: <class 'openstackclient.api.image_v2.APIv2'>
search options: {'status': None, 'deleted': False, 'ip': None, 'image': None, 'host': None, 'ip6': None, 'all_tenants': False, 'flavor': None, 'reservation_id': None, 'user_id': None, 'name': None, 'tenant_id': None, 'instance_name': None, 'changes_since': None}
REQ: curl -g -i -X GET https://compute.uk-1.cloud.global.fujitsu.com/v2/e646d0a2cc0c49459635a8638309461a/servers/detail -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}0c121926d459c672d0f01386694ee930252b19d7"
Starting new HTTPS connection (1): compute.uk-1.cloud.global.fujitsu.com
https://compute.uk-1.cloud.global.fujitsu.com:443 "GET /v2/e646d0a2cc0c49459635a8638309461a/servers/detail HTTP/1.1" 200 4929
RESP: [200] X-Fcx-Endpoint-Request: EXECUTED_REQ006034596_200 Date: Fri, 24 Feb 2017 14:03:37 GMT Server: Apache x-compute-request-id: req-74daa5ad-aa2f-4ee5-a2b4-54be69585fe9 ETag: "89d769d3d951cefc509498ed77e7d832" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: 69c32fe7-4f95-4063-83f1-c2626af6d1f3 X-Runtime: 0.992000 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: application/json Content-Length: 4929
RESP BODY: {"servers":[{"status":"ACTIVE","updated":"2017-02-24T12:10:41Z","hostId":"f7da9645b6ee3e90b5e089e6412a73bded5f979492129144fd138512","OS-EXT-SRV-ATTR:host":"gb1b01-pgy113-00","addresses":{"tf_network":[{"OS-EXT-IPS-MAC:mac_addr":"fa:16:3e:a4:60:fe","version":4,"addr":"192.168.10.6","OS-EXT-IPS:type":"fixed"},{"OS-EXT-IPS-MAC:mac_addr":"fa:16:3e:a4:60:fe","version":4,"addr":"62.60.47.81","OS-EXT-IPS:type":"floating"}]},"links":[{"href":"http://10.23.0.201/v2/e646d0a2cc0c49459635a8638309461a/servers/af7485db-0fc4-4fcc-9a32-2f110a4bdc5a","rel":"self"},{"href":"http://10.23.0.201/e646d0a2cc0c49459635a8638309461a/servers/af7485db-0fc4-4fcc-9a32-2f110a4bdc5a","rel":"bookmark"}],"key_name":"test-keypair-1","image":{"id":"383ed3f8-0773-4b14-96c8-feb387dd3935","links":[{"href":"http://10.23.0.201/e646d0a2cc0c49459635a8638309461a/images/383ed3f8-0773-4b14-96c8-feb387dd3935","rel":"bookmark"}]},"OS-EXT-STS:task_state":null,"OS-EXT-STS:vm_state":"active","OS-EXT-SRV-ATTR:instance_name":"instance-000187b3","OS-SRV-USG:launched_at":"2017-02-24T12:10:41.000000","OS-EXT-SRV-ATTR:hypervisor_hostname":"gb1b01-pgy113-00","flavor":{"id":"1902","links":[{"href":"http://10.23.0.201/e646d0a2cc0c49459635a8638309461a/flavors/1902","rel":"bookmark"}]},"id":"af7485db-0fc4-4fcc-9a32-2f110a4bdc5a","security_groups":[{"name":"tf_sec_1"}],"OS-SRV-USG:terminated_at":null,"OS-EXT-AZ:availability_zone":"uk-1b","user_id":"3de382b5568e4873ac2007a1481ac9b9","name":"ui_tf-test","created":"2017-02-24T12:09:54Z","tenant_id":"e646d0a2cc0c49459635a8638309461a","OS-DCF:diskConfig":"MANUAL","os-extended-volumes:volumes_attached":[{"id":"8395bb78-3a69-4f78-9c6b-bb6eb9ae6b26"}],"accessIPv4":"","accessIPv6":"","progress":0,"OS-EXT-STS:power_state":1,"config_drive":"","metadata":{"admin_pass":""}},{"status":"ACTIVE","updated":"2017-02-24T11:54:41Z","hostId":"49a5396817c830731470ce3748fbed0e9518e6288d487c816c78a456","OS-EXT-SRV-ATTR:host":"gb1b01-pgy049-00","addresses":{"ui-network":[{"OS-EXT-IPS-MAC:mac_addr":"fa:16:3e:0f:ee:e7","version":4,"addr":"192.168.168.2","OS-EXT-IPS:type":"fixed"}]},"links":[{"href":"http://10.23.0.201/v2/e646d0a2cc0c49459635a8638309461a/servers/37682cd1-82e0-4fd3-b3fa-0276ac495725","rel":"self"},{"href":"http://10.23.0.201/e646d0a2cc0c49459635a8638309461a/servers/37682cd1-82e0-4fd3-b3fa-0276ac495725","rel":"bookmark"}],"key_name":"test-keypair-1","image":{"id":"383ed3f8-0773-4b14-96c8-feb387dd3935","links":[{"href":"http://10.23.0.201/e646d0a2cc0c49459635a8638309461a/images/383ed3f8-0773-4b14-96c8-feb387dd3935","rel":"bookmark"}]},"OS-EXT-STS:task_state":null,"OS-EXT-STS:vm_state":"active","OS-EXT-SRV-ATTR:instance_name":"instance-000187ad","OS-SRV-USG:launched_at":"2017-02-24T11:54:41.000000","OS-EXT-SRV-ATTR:hypervisor_hostname":"gb1b01-pgy049-00","flavor":{"id":"1902","links":[{"href":"http://10.23.0.201/e646d0a2cc0c49459635a8638309461a/flavors/1902","rel":"bookmark"}]},"id":"37682cd1-82e0-4fd3-b3fa-0276ac495725","security_groups":[{"name":"tf_sec_1"}],"OS-SRV-USG:terminated_at":null,"OS-EXT-AZ:availability_zone":"uk-1b","user_id":"3de382b5568e4873ac2007a1481ac9b9","name":"ui-test-server","created":"2017-02-24T11:54:23Z","tenant_id":"e646d0a2cc0c49459635a8638309461a","OS-DCF:diskConfig":"MANUAL","os-extended-volumes:volumes_attached":[{"id":"3f4b6b78-158a-461d-bad6-9f70ab845067"}],"accessIPv4":"","accessIPv6":"","progress":0,"OS-EXT-STS:power_state":1,"config_drive":"","metadata":{"admin_pass":""}},{"status":"ACTIVE","updated":"2017-02-24T11:49:38Z","hostId":"ffd2b0668dd81b10fca1fc88ec83d1e3b423e5b206c9434c61f3edb7","OS-EXT-SRV-ATTR:host":"gb1b01-pgy048-00","addresses":{"tf_network":[{"OS-EXT-IPS-MAC:mac_addr":"fa:16:3e:d8:94:c7","version":4,"addr":"192.168.10.2","OS-EXT-IPS:type":"fixed"}]},"links":[{"href":"http://10.23.0.201/v2/e646d0a2cc0c49459635a8638309461a/servers/32d5a93b-26b0-463b-ab3c-8d1ddbfe12de","rel":"self"},{"href":"http://10.23.0.201/e646d0a2cc0c49459635a8638309461a/servers/32d5a93b-26b0-463b-ab3c-8d1ddbfe12de","rel":"bookmark"}],"key_name":"test-keypair-1","image":"","OS-EXT-STS:task_state":null,"OS-EXT-STS:vm_state":"active","OS-EXT-SRV-ATTR:instance_name":"instance-000187a1","OS-SRV-USG:launched_at":"2017-02-24T11:49:38.000000","OS-EXT-SRV-ATTR:hypervisor_hostname":"gb1b01-pgy048-00","flavor":{"id":"1902","links":[{"href":"http://10.23.0.201/e646d0a2cc0c49459635a8638309461a/flavors/1902","rel":"bookmark"}]},"id":"32d5a93b-26b0-463b-ab3c-8d1ddbfe12de","security_groups":[{"name":"tf_sec_1"}],"OS-SRV-USG:terminated_at":null,"OS-EXT-AZ:availability_zone":"uk-1b","user_id":"3de382b5568e4873ac2007a1481ac9b9","name":"tf_test_1b_2","created":"2017-02-24T11:48:40Z","tenant_id":"e646d0a2cc0c49459635a8638309461a","OS-DCF:diskConfig":"MANUAL","os-extended-volumes:volumes_attached":[{"id":"a073d77e-f1f9-4be8-9b40-9d5e614cd375"}],"accessIPv4":"","accessIPv6":"","progress":0,"OS-EXT-STS:power_state":1,"config_drive":"","metadata":{"demo":"metadata"}}]}
GET call to compute for https://compute.uk-1.cloud.global.fujitsu.com/v2/e646d0a2cc0c49459635a8638309461a/servers/detail used request id req-74daa5ad-aa2f-4ee5-a2b4-54be69585fe9
curl -g -i -X GET -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'User-Agent: python-glanceclient' -H 'Connection: keep-alive' -H 'X-Auth-Token: {SHA1}0c121926d459c672d0f01386694ee930252b19d7' -H 'Content-Type: application/octet-stream' -k --cert None --key None https://image.uk-1.cloud.global.fujitsu.com/v2/images?limit=20
Starting new HTTPS connection (1): image.uk-1.cloud.global.fujitsu.com
/Users/gavinw/Work/TV/K5/venv/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:852: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
https://image.uk-1.cloud.global.fujitsu.com:443 "GET /v2/images?limit=20 HTTP/1.1" 200 9864
GET call to glance-api for https://image.uk-1.cloud.global.fujitsu.com/v2/images?limit=20 used request id req-08df11ec-cb4c-4cd6-928b-039bec3e3162
HTTP/1.1 200 OK
X-Fcx-Endpoint-Request: EXECUTED_REQ006062673_200
Date: Fri, 24 Feb 2017 14:03:39 GMT
Server: Apache
x-openstack-request-id: req-08df11ec-cb4c-4cd6-928b-039bec3e3162
ETag: "0f2289cdbf026dee9d9810e542b19ab8"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 8328dec9-230b-4140-9bb9-baba222cc648
X-Runtime: 0.707000
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: application/json;charset=UTF-8
Content-Length: 9864
{"images":[{"status":"active","name":"CentOS 7.2 64bit (English) 02","tags":[],"container_format":"bare","created_at":"2017-01-26T05:03:05Z","disk_format":"qcow2","updated_at":"2017-01-26T05:23:21Z","visibility":"public","fcx.base_image_id":"383ed3f8-0773-4b14-96c8-feb387dd3935","self":"/v2/images/383ed3f8-0773-4b14-96c8-feb387dd3935","fcx.centos":"true","protected":true,"id":"383ed3f8-0773-4b14-96c8-feb387dd3935","file":"/v2/images/383ed3f8-0773-4b14-96c8-feb387dd3935/file","checksum":"f8b28ed055cd0997ec56914d2be33628","owner":"31ceb599e8ff48aeb66f2fd748988960","min_disk":30,"size":1024983040,"min_ram":0,"schema":"/v2/schemas/image"},{"status":"active","name":"Ubuntu Server 14.04 LTS (English) 02","tags":[],"container_format":"bare","created_at":"2017-01-23T05:25:59Z","disk_format":"qcow2","updated_at":"2017-01-23T05:51:20Z","visibility":"public","fcx.base_image_id":"45895e58-e416-4b96-9576-1df6cba6e264","self":"/v2/images/45895e58-e416-4b96-9576-1df6cba6e264","min_disk":3,"protected":true,"fcx.ubuntu":"true","file":"/v2/images/45895e58-e416-4b96-9576-1df6cba6e264/file","checksum":"e0b160c8ec1286d7147d81dd1213f240","owner":"31ceb599e8ff48aeb66f2fd748988960","id":"45895e58-e416-4b96-9576-1df6cba6e264","size":260637184,"min_ram":0,"schema":"/v2/schemas/image"},{"status":"active","name":"SUSE Linux Enterprise Server 12 SP1 64bit (English) 01","tags":[],"container_format":"bare","created_at":"2017-01-20T00:40:11Z","disk_format":"qcow2","updated_at":"2017-01-23T01:04:54Z","visibility":"public","fcx.base_image_id":"4cc0c5d0-0145-4a30-83b7-3ac8d96327d4","self":"/v2/images/4cc0c5d0-0145-4a30-83b7-3ac8d96327d4","min_disk":40,"protected":true,"id":"4cc0c5d0-0145-4a30-83b7-3ac8d96327d4","fcx.sles":"true","file":"/v2/images/4cc0c5d0-0145-4a30-83b7-3ac8d96327d4/file","checksum":"d9b0c1106681154622c0468d9fe165f2","owner":"31ceb599e8ff48aeb66f2fd748988960","size":604635136,"min_ram":0,"schema":"/v2/schemas/image"},{"container_format":"bare","min_ram":0,"updated_at":"2016-11-17T16:17:53Z","fcx.base_image_id":"58fd966f-b055-4cd0-9012-cf6af7a4c32b","file":"/v2/images/4aafaa71-59a5-4dba-87e8-0611e76eb3d3/file","owner":"e646d0a2cc0c49459635a8638309461a","id":"4aafaa71-59a5-4dba-87e8-0611e76eb3d3","size":0,"image_type":"image","self":"/v2/images/4aafaa71-59a5-4dba-87e8-0611e76eb3d3","tags":[],"disk_format":"qcow2","bdm_v2":"True","schema":"/v2/schemas/image","status":"active","block_device_mapping":"[{\"guest_format\": null, \"boot_index\": 0, \"no_device\": null, \"snapshot_id\": \"a0f25d7d-55cb-4fc2-9bf7-57b7dcfa0e6b\", \"delete_on_termination\": null, \"disk_bus\": \"virtio\", \"image_id\": null, \"source_type\": \"snapshot\", \"device_type\": \"disk\", \"volume_id\": null, \"destination_type\": \"volume\", \"volume_size\": null}]","visibility":"private","min_disk":30,"name":"ACT_CentOS_7.2_01","checksum":"72e90ec33fb5b91cf709e1f2010c4054","created_at":"2016-11-17T16:17:53Z","fcx.centos":"true","protected":false,"root_device_name":"/dev/vda"},{"container_format":"bare","min_ram":0,"updated_at":"2016-11-17T15:35:46Z","fcx.base_image_id":"58fd966f-b055-4cd0-9012-cf6af7a4c32b","file":"/v2/images/38dfb4c4-bf71-4346-aa9b-49e80f3da0ca/file","owner":"e646d0a2cc0c49459635a8638309461a","id":"38dfb4c4-bf71-4346-aa9b-49e80f3da0ca","size":0,"image_type":"image","self":"/v2/images/38dfb4c4-bf71-4346-aa9b-49e80f3da0ca","tags":[],"disk_format":"qcow2","bdm_v2":"True","schema":"/v2/schemas/image","status":"active","block_device_mapping":"[{\"guest_format\": null, \"boot_index\": 0, \"no_device\": null, \"snapshot_id\": \"9c07d86f-e6f3-4f32-9edc-e2b9815295f7\", \"delete_on_termination\": null, \"disk_bus\": \"virtio\", \"image_id\": null, \"source_type\": \"snapshot\", \"device_type\": \"disk\", \"volume_id\": null, \"destination_type\": \"volume\", \"volume_size\": null}]","visibility":"private","min_disk":30,"name":"ACT_CentOS_7.2_01","checksum":"72e90ec33fb5b91cf709e1f2010c4054","created_at":"2016-11-17T15:35:46Z","fcx.centos":"true","protected":false,"root_device_name":"/dev/vda"},{"status":"active","name":"Windows Server 2012 R2 SE 64bit + SQL Server 2014 SE SP2 (English) 01","tags":[],"container_format":"bare","created_at":"2016-10-03T11:09:14Z","disk_format":"qcow2","updated_at":"2016-10-03T11:09:15Z","visibility":"public","fcx.base_image_id":"37a9d80a-f014-4424-826e-a6e5ae397a3d","self":"/v2/images/37a9d80a-f014-4424-826e-a6e5ae397a3d","min_disk":80,"protected":true,"id":"37a9d80a-f014-4424-826e-a6e5ae397a3d","file":"/v2/images/37a9d80a-f014-4424-826e-a6e5ae397a3d/file","checksum":"2ef57bc0c5c45c70c63f0aea9dbe7c70","owner":"31ceb599e8ff48aeb66f2fd748988960","size":20557660160,"fcx.win":"true","min_ram":0,"schema":"/v2/schemas/image"},{"status":"active","name":"Windows Server 2012 R2 SE 64bit (English) 01","tags":[],"container_format":"bare","created_at":"2016-10-03T11:09:02Z","disk_format":"qcow2","updated_at":"2016-10-03T11:09:03Z","visibility":"public","fcx.base_image_id":"6e1610db-1115-4260-8dc2-bcdd526a54be","self":"/v2/images/6e1610db-1115-4260-8dc2-bcdd526a54be","min_disk":80,"protected":true,"id":"6e1610db-1115-4260-8dc2-bcdd526a54be","file":"/v2/images/6e1610db-1115-4260-8dc2-bcdd526a54be/file","checksum":"56a7fca10e650e7510cdd75012167095","owner":"31ceb599e8ff48aeb66f2fd748988960","size":15858139136,"fcx.win":"true","min_ram":0,"schema":"/v2/schemas/image"},{"status":"active","name":"Windows Server 2008 R2 SE SP1 64bit (English) 01","tags":[],"container_format":"bare","created_at":"2016-10-03T11:08:57Z","disk_format":"qcow2","updated_at":"2016-10-03T11:08:57Z","visibility":"public","fcx.base_image_id":"20403cb8-4ada-4c5a-b524-d1ff393f0bb7","self":"/v2/images/20403cb8-4ada-4c5a-b524-d1ff393f0bb7","min_disk":80,"protected":true,"id":"20403cb8-4ada-4c5a-b524-d1ff393f0bb7","file":"/v2/images/20403cb8-4ada-4c5a-b524-d1ff393f0bb7/file","checksum":"4096a8f17c82e5ce9118c7d9a3e0a20b","owner":"31ceb599e8ff48aeb66f2fd748988960","size":24226693120,"fcx.win":"true","min_ram":0,"schema":"/v2/schemas/image"},{"status":"active","name":"Ubuntu Server 14.04 LTS (English) 01","tags":[],"container_format":"bare","created_at":"2016-10-03T11:07:35Z","disk_format":"qcow2","updated_at":"2016-10-03T11:07:36Z","visibility":"public","fcx.base_image_id":"ffa17298-537d-40b2-a848-0a4d22b49df5","self":"/v2/images/ffa17298-537d-40b2-a848-0a4d22b49df5","min_disk":3,"protected":true,"fcx.ubuntu":"true","file":"/v2/images/ffa17298-537d-40b2-a848-0a4d22b49df5/file","checksum":"89d768444e2f254e76555f8d3bfaed20","owner":"31ceb599e8ff48aeb66f2fd748988960","id":"ffa17298-537d-40b2-a848-0a4d22b49df5","size":258474496,"min_ram":0,"schema":"/v2/schemas/image"},{"status":"active","name":"Red Hat Enterprise Linux 7.2 64bit (English) 01","tags":[],"container_format":"bare","created_at":"2016-10-03T10:58:11Z","size":1802412544,"disk_format":"qcow2","updated_at":"2016-10-03T10:58:12Z","visibility":"public","fcx.base_image_id":"41857965-6ee8-4393-94b3-299a0c6988cc","self":"/v2/images/41857965-6ee8-4393-94b3-299a0c6988cc","min_disk":40,"protected":true,"id":"41857965-6ee8-4393-94b3-299a0c6988cc","file":"/v2/images/41857965-6ee8-4393-94b3-299a0c6988cc/file","checksum":"f24fb89d52dc2c9ad50b4e759cf408de","owner":"31ceb599e8ff48aeb66f2fd748988960","min_ram":0,"fcx.rhel":"true","schema":"/v2/schemas/image"},{"status":"active","name":"Red Hat Enterprise Linux 6.5 64bit (English) 02","tags":[],"container_format":"bare","created_at":"2016-10-03T10:58:06Z","size":13928759296,"disk_format":"qcow2","updated_at":"2016-10-03T10:58:06Z","visibility":"public","fcx.base_image_id":"db9766f0-c95c-4f1c-bb29-304a90405e3e","self":"/v2/images/db9766f0-c95c-4f1c-bb29-304a90405e3e","min_disk":40,"protected":true,"id":"db9766f0-c95c-4f1c-bb29-304a90405e3e","file":"/v2/images/db9766f0-c95c-4f1c-bb29-304a90405e3e/file","checksum":"82bc5085232ec45eae6951e5e2ac99cd","owner":"31ceb599e8ff48aeb66f2fd748988960","min_ram":0,"fcx.rhel":"true","schema":"/v2/schemas/image"},{"status":"active","name":"FJK5-NAS-V02","tags":[],"container_format":"bare","created_at":"2016-10-03T10:27:37Z","disk_format":"qcow2","updated_at":"2016-10-03T10:27:38Z","visibility":"public","fcx.base_image_id":"0e330855-aeff-423c-99b2-7ee16adb5f68","self":"/v2/images/0e330855-aeff-423c-99b2-7ee16adb5f68","fcx.centos":"true","protected":true,"id":"0e330855-aeff-423c-99b2-7ee16adb5f68","file":"/v2/images/0e330855-aeff-423c-99b2-7ee16adb5f68/file","checksum":"b1201abe04b85135ab35929ba38df84e","owner":"31ceb599e8ff48aeb66f2fd748988960","min_disk":30,"size":1879900160,"min_ram":0,"schema":"/v2/schemas/image"},{"status":"active","name":"CentOS 7.2 64bit (English) 01","tags":[],"container_format":"bare","created_at":"2016-10-03T10:23:44Z","disk_format":"qcow2","updated_at":"2016-10-03T10:23:45Z","visibility":"public","fcx.base_image_id":"58fd966f-b055-4cd0-9012-cf6af7a4c32b","self":"/v2/images/58fd966f-b055-4cd0-9012-cf6af7a4c32b","fcx.centos":"true","protected":true,"id":"58fd966f-b055-4cd0-9012-cf6af7a4c32b","file":"/v2/images/58fd966f-b055-4cd0-9012-cf6af7a4c32b/file","checksum":"72e90ec33fb5b91cf709e1f2010c4054","owner":"31ceb599e8ff48aeb66f2fd748988960","min_disk":30,"size":1024983040,"min_ram":0,"schema":"/v2/schemas/image"},{"status":"active","name":"CentOS 6.5 64bit (English) 04","tags":[],"container_format":"bare","created_at":"2016-10-03T10:23:38Z","disk_format":"qcow2","updated_at":"2016-10-03T10:23:39Z","visibility":"public","fcx.base_image_id":"2d1b7b6b-93cf-4a9b-aacc-43ce61b8073c","self":"/v2/images/2d1b7b6b-93cf-4a9b-aacc-43ce61b8073c","fcx.centos":"true","protected":true,"id":"2d1b7b6b-93cf-4a9b-aacc-43ce61b8073c","file":"/v2/images/2d1b7b6b-93cf-4a9b-aacc-43ce61b8073c/file","checksum":"d18e84467ee301a5e18a2c8bc50753d2","owner":"31ceb599e8ff48aeb66f2fd748988960","min_disk":30,"size":1815281664,"min_ram":0,"schema":"/v2/schemas/image"}],"schema":"/v2/schemas/images","first":"/v2/images?limit=20"}
curl -g -i -X GET -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'User-Agent: python-glanceclient' -H 'Connection: keep-alive' -H 'X-Auth-Token: {SHA1}0c121926d459c672d0f01386694ee930252b19d7' -H 'Content-Type: application/octet-stream' -k --cert None --key None https://image.uk-1.cloud.global.fujitsu.com/v2/schemas/image
/Users/gavinw/Work/TV/K5/venv/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:852: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
https://image.uk-1.cloud.global.fujitsu.com:443 "GET /v2/schemas/image HTTP/1.1" 200 3465
GET call to glance-api for https://image.uk-1.cloud.global.fujitsu.com/v2/schemas/image used request id req-581c1b0e-5f1b-42b5-b001-d2c116e9963f
HTTP/1.1 200 OK
X-Fcx-Endpoint-Request: EXECUTED_REQ006062677_200
Date: Fri, 24 Feb 2017 14:03:39 GMT
Server: Apache
x-openstack-request-id: req-581c1b0e-5f1b-42b5-b001-d2c116e9963f
ETag: "a6bfe338367342ab50c98afc89dbf9a9"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 6c691a60-7efd-4842-b690-fa197bf69c49
X-Runtime: 0.462000
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: application/json;charset=UTF-8
Content-Length: 3465
{"additionalProperties":{"type":"string"},"name":"image","links":[{"href":"{self}","rel":"self"},{"href":"{file}","rel":"enclosure"},{"href":"{schema}","rel":"describedby"}],"properties":{"status":{"enum":["queued","saving","active","killed","deleted","pending_delete"],"type":"string","description":"Status of the image (READ-ONLY)"},"tags":{"items":{"type":"string","maxLength":255},"type":"array","description":"List of strings related to the image"},"kernel_id":{"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}$","type":"string","description":"ID of image stored in Glance that should be used as the kernel when booting an AMI-style image."},"container_format":{"enum":["ami","ari","aki","bare","ovf","ova"],"type":"string","description":"Format of the container"},"min_ram":{"type":"integer","description":"Amount of ram (in MB) required to boot image."},"ramdisk_id":{"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}$","type":"string","description":"ID of image stored in Glance that should be used as the ramdisk when booting an AMI-style image."},"locations":{"items":{"required":["url","metadata"],"type":"object","properties":{"url":{"type":"string","maxLength":255},"metadata":{"type":"object"}}},"type":"array","description":"A set of URLs to access the image file kept in external store"},"visibility":{"enum":["public","private"],"type":"string","description":"Scope of image accessibility"},"updated_at":{"type":"string","description":"Date and time of the last image modification (READ-ONLY)"},"owner":{"type":"string","description":"Owner of the image","maxLength":255},"file":{"type":"string","description":"(READ-ONLY)"},"min_disk":{"type":"integer","description":"Amount of disk space (in GB) required to boot image."},"virtual_size":{"type":"integer","description":"Virtual size of image in bytes (READ-ONLY)"},"id":{"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}$","type":"string","description":"An identifier for the image"},"size":{"type":"integer","description":"Size of image file in bytes (READ-ONLY)"},"instance_uuid":{"type":"string","description":"ID of instance used to create this image."},"os_distro":{"type":"string","description":"Common name of operating system distribution as specified in http://docs.openstack.org/trunk/openstack-compute/admin/content/adding-images.html"},"name":{"type":"string","description":"Descriptive name for the image","maxLength":255},"checksum":{"type":"string","description":"md5 hash of image contents. (READ-ONLY)","maxLength":32},"created_at":{"type":"string","description":"Date and time of image registration (READ-ONLY)"},"disk_format":{"enum":["ami","ari","aki","vhd","vmdk","raw","qcow2","vdi","iso"],"type":"string","description":"Format of the disk"},"os_version":{"type":"string","description":"Operating system version as specified by the distributor"},"protected":{"type":"boolean","description":"If true, image will not be deletable."},"architecture":{"type":"string","description":"Operating system architecture as specified in http://docs.openstack.org/trunk/openstack-compute/admin/content/adding-images.html"},"direct_url":{"type":"string","description":"URL to accessthe image file kept in external store (READ-ONLY)"},"self":{"type":"string","description":"(READ-ONLY)"},"schema":{"type":"string","description":"(READ-ONLY)"}}}
+--------------------------------------+----------------+--------+--------------------------------------+-------------------------------+
| ID | Name | Status | Networks | Image Name |
+--------------------------------------+----------------+--------+--------------------------------------+-------------------------------+
| af7485db-0fc4-4fcc-9a32-2f110a4bdc5a | ui_tf-test | ACTIVE | tf_network=192.168.10.6, 62.60.47.81 | CentOS 7.2 64bit (English) 02 |
| 37682cd1-82e0-4fd3-b3fa-0276ac495725 | ui-test-server | ACTIVE | ui-network=192.168.168.2 | CentOS 7.2 64bit (English) 02 |
| 32d5a93b-26b0-463b-ab3c-8d1ddbfe12de | tf_test_1b_2 | ACTIVE | tf_network=192.168.10.2 | |
+--------------------------------------+----------------+--------+--------------------------------------+-------------------------------+
clean_up ListServer:
END return value: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment