Huawei / OpenStackClient_Auto-Scaling

Apache License 2.0
4 stars 3 forks source link

查询配置列表,用Image筛选不成功 #10

Closed caoyameng closed 7 years ago

caoyameng commented 7 years ago

用image筛选,不成功 root@ubuntu:/# openstack as config list --image=centos7.0-64bit-zbb --limit=20 --insecure Error finding address for https://ims.eu-de.otc.t-systems.com/v2/images?limit=20: HTTPSConnectionPool(host='ims.eu-de.otc.t-systems.com', port=443): Max retries exceeded with url: /v2/images?limit=20 (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f23da25c250>: Failed to establish a new connection: [Errno 110] Connection timed out',))

root@ubuntu:/# openstack as config list --image=centos7.0-64bit-zbb --limit=20 --debug --insecure START with options: [u'as', u'config', u'list', u'--image=centos7.0-64bit-zbb', u'--limit=20', u'--debug', u'--insecure'] options: Namespace(access_token='', access_token_endpoint='', access_token_type='', auth_type='', auth_url='https://iam.eu-de.otc.t-systems.com/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=True, interface='', key='', log_file=None, openid_scope='', os_antiddos_api_version=None, os_antiddos_endpoint_override='https://antiddos.eu-de.otc.t-systems.com', os_as_api_version=None, os_as_endpoint_override='https://as.eu-de.otc.t-systems.com', os_beta_command=False, os_compute_api_version='', 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_volume_api_version='', os_workspace_api_version=None, os_workspace_endpoint_override='https://workspace.eu-de.otc.t-systems.com', passcode='', password='', project_domain_id='', project_domain_name='', project_id='', project_name='eu-de', protocol='', redirect_uri='', region_name='eu-de', timing=False, token='', trust_id='', url='', user_domain_id='e227b8992b904f698de40153c98ce55b', user_domain_name='', user_id='', username='luozhao', verbose_level=3, verify=None) Auth plugin password selected auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', 'key': None, u'database_api_version': u'1.0', 'timing': False, 'auth_url': 'https://iam.eu-de.otc.t-systems.com/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': u'2', 'verify': True, u'dns_api_version': u'2', 'antiddos_endpoint_override': 'https://antiddos.eu-de.otc.t-systems.com', u'object_store_api_version': u'1', 'username': 'luozhao', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': 'eu-de', 'insecure': True, 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'project_name': 'eu-de', 'user_domain_id': 'e227b8992b904f698de40153c98ce55b', 'project_domain_id': 'default'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1', 'cacert': None, 'password': '', u'application_catalog_api_version': u'1', u'key_manager_api_version': u'v1', u'metering_api_version': u'2', 'deferred_help': False, u'identity_api_version': '3', 'workspace_endpoint_override': 'https://workspace.eu-de.otc.t-systems.com', u'volume_api_version': u'2', 'as_endpoint_override': 'https://as.eu-de.otc.t-systems.com', 'cert': None, u'secgroup_source': u'neutron', u'status': u'active', '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', 'key': None, u'database_api_version': u'1.0', 'timing': False, 'auth_url': 'https://iam.eu-de.otc.t-systems.com/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': u'2', 'verify': True, u'dns_api_version': u'2', 'antiddos_endpoint_override': 'https://antiddos.eu-de.otc.t-systems.com', u'object_store_api_version': u'1', 'username': 'luozhao', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': 'eu-de', 'insecure': True, 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'project_name': 'eu-de', 'user_domain_id': 'e227b8992b904f698de40153c98ce55b', 'project_domain_id': 'default'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1', 'cacert': None, 'password': '', u'application_catalog_api_version': u'1', u'key_manager_api_version': u'v1', u'metering_api_version': u'2', 'deferred_help': False, u'identity_api_version': '3', 'workspace_endpoint_override': 'https://workspace.eu-de.otc.t-systems.com', u'volume_api_version': u'2', 'as_endpoint_override': 'https://as.eu-de.otc.t-systems.com', 'cert': None, u'secgroup_source': u'neutron', u'status': u'active', '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 antiddos API version 1, cmd group openstack.antiddos.v1 auto_scaling API version 1, cmd group openstack.auto_scaling.v1 workspace API version 1, cmd group openstack.workspace.v1 Auth plugin password selected auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', 'key': None, u'database_api_version': u'1.0', 'timing': False, 'auth_url': 'https://iam.eu-de.otc.t-systems.com/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': u'2', 'verify': True, u'dns_api_version': u'2', 'antiddos_endpoint_override': 'https://antiddos.eu-de.otc.t-systems.com', u'object_store_api_version': u'1', 'username': 'luozhao', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': 'eu-de', 'insecure': True, 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'project_name': 'eu-de', 'user_domain_id': 'e227b8992b904f698de40153c98ce55b', 'project_domain_id': 'default'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1', 'cacert': None, 'password': '', u'application_catalog_api_version': u'1', u'key_manager_api_version': u'v1', u'metering_api_version': u'2', 'deferred_help': False, u'identity_api_version': '3', 'workspace_endpoint_override': 'https://workspace.eu-de.otc.t-systems.com', u'volume_api_version': u'2', 'as_endpoint_override': 'https://as.eu-de.otc.t-systems.com', 'cert': None, u'secgroup_source': u'neutron', u'status': u'active', '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', 'key': None, u'database_api_version': u'1.0', 'timing': False, 'auth_url': 'https://iam.eu-de.otc.t-systems.com/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': u'2', 'verify': True, u'dns_api_version': u'2', 'antiddos_endpoint_override': 'https://antiddos.eu-de.otc.t-systems.com', u'object_store_api_version': u'1', 'username': 'luozhao', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': 'eu-de', 'insecure': True, 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'project_name': 'eu-de', 'user_domain_id': 'e227b8992b904f698de40153c98ce55b', 'project_domain_id': 'default'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1', 'cacert': None, 'password': '', u'application_catalog_api_version': u'1', u'key_manager_api_version': u'v1', u'metering_api_version': u'2', 'deferred_help': False, u'identity_api_version': '3', 'workspace_endpoint_override': 'https://workspace.eu-de.otc.t-systems.com', u'volume_api_version': u'2', 'as_endpoint_override': 'https://as.eu-de.otc.t-systems.com', 'cert': None, u'secgroup_source': u'neutron', u'status': u'active', 'debug': True, u'interface': None, u'disable_vendor_agent': {}} command: as config list -> asclient.osc.v1.config.ListAutoScalingConfig Auth plugin password selected auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', 'key': None, u'database_api_version': u'1.0', 'timing': False, 'auth_url': 'https://iam.eu-de.otc.t-systems.com/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': u'2', 'verify': True, u'dns_api_version': u'2', 'antiddos_endpoint_override': 'https://antiddos.eu-de.otc.t-systems.com', u'object_store_api_version': u'1', 'username': 'luozhao', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': 'eu-de', 'insecure': True, 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'project_name': 'eu-de', 'user_domain_id': 'e227b8992b904f698de40153c98ce55b', 'project_domain_id': 'default'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1', 'cacert': None, 'password': '', u'application_catalog_api_version': u'1', u'key_manager_api_version': u'v1', u'metering_api_version': u'2', 'deferred_help': False, u'identity_api_version': '3', 'workspace_endpoint_override': 'https://workspace.eu-de.otc.t-systems.com', u'volume_api_version': u'2', 'as_endpoint_override': 'https://as.eu-de.otc.t-systems.com', 'cert': None, u'secgroup_source': u'neutron', u'status': u'active', 'debug': True, u'interface': None, u'disable_vendor_agent': {}} Using auth plugin: password Using parameters {'username': 'luozhao', 'project_name': 'eu-de', 'user_domain_id': 'e227b8992b904f698de40153c98ce55b', 'auth_url': 'https://iam.eu-de.otc.t-systems.com/v3', 'password': '', 'project_domain_id': 'default'} Get authref REQ: curl -g -i --insecure -X GET https://iam.eu-de.otc.t-systems.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.6" Starting new HTTPS connection (1): iam.eu-de.otc.t-systems.com /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl.py:334: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings SNIMissingWarning /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:132: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings InsecurePlatformWarning /usr/local/lib/python2.7/dist-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://iam.eu-de.otc.t-systems.com:443 "GET /v3 HTTP/1.1" 200 None RESP: [200] Server: Web Server Date: Thu, 02 Mar 2017 03:57:14 GMT Content-Type: application/json Transfer-Encoding: chunked Connection: keep-alive Cache-Control: private, no-cache Expires: Thu, 01 Jan 1970 08:00:00 CST Content-Encoding: gzip X-Frame-Options: SAMEORIGIN, DENY X-Content-Type-Options: nosniff, nosniff X-Download-Options: noopen, noopen X-XSS-Protection: 1; mode=block, 1; mode=block; Strict-Transport-Security: max-age=31536000; includeSubdomains; RESP BODY: {"version": {"status": "stable", "updated": "2013-03-06T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}, {"base": "application/xml", "type": "application/vnd.openstack.identity-v3+xml"}], "id": "v3.0", "links": [{"href": "https://iam.eu-de.otc.t-systems.com/v3/", "rel": "self"}]}}

Making authentication request to https://iam.eu-de.otc.t-systems.com/v3/auth/tokens /usr/local/lib/python2.7/dist-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://iam.eu-de.otc.t-systems.com:443 "POST /v3/auth/tokens HTTP/1.1" 201 None {"token": {"methods": ["password"], "roles": [{"name": "te_admin", "id": "d376f78e23b840d1bbdbd5a2cb529c97"}, {"name": "te_agency", "id": "8f579808e84440618a29e12ec7dc85bb"}, {"name": "as_adm", "id": "afc4adce95114d3b9af7fc2cd6865908"}, {"id": "0", "name": "op_gated_rds_pg"}, {"id": "0", "name": "op_gated_002"}, {"id": "0", "name": "op_gated_mrs"}, {"id": "0", "name": "op_gated_mrsmode"}], "expires_at": "2017-03-03T03:57:14.928000Z", "project": {"domain": {"name": "yangjie", "id": "e227b8992b904f698de40153c98ce55b"}, "name": "eu-de", "id": "d7aa97f99c1442b0816d2fa994199670"}, "catalog": [{"endpoints": [{"url": "https://dns.eu-de.otc.t-systems.com", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "21019440405e4fd29c9fee733a554f9d"}], "type": "dns", "id": "e03dee5f6f254e34a400c08dc8c78349"}, {"endpoints": [{"url": "https://ims.eu-de.otc.t-systems.com", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "2d43aa19818a498390b74de62f8a9514"}], "type": "image", "id": "7bf85b08cec94566b079364314933359"}, {"endpoints": [{"url": "https://vpc.eu-de.otc.t-systems.com", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "402a68c63b20424b9a95fb3b98960b5f"}], "type": "network", "id": "0a4255c2b23e4c47989bde89c4fdfa97"}, {"endpoints": [{"url": "https://rts.eu-de.otc.t-systems.com/v1/d7aa97f99c1442b0816d2fa994199670", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "45f82c47c41747ffadaa00ae2eaea1ae"}], "type": "orchestration", "id": "24c27719d8c8475899a601edd7ec7b13"}, {"endpoints": [{"url": "https://evs.eu-de.otc.t-systems.com/v2/d7aa97f99c1442b0816d2fa994199670", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "792152d6c9944c65ac8c284999e72d77"}], "type": "volumev2", "id": "242fc4f619584a4784c70b77d4f13623"}, {"endpoints": [{"url": "https://ecs.eu-de.otc.t-systems.com/v2/d7aa97f99c1442b0816d2fa994199670", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "967e00662dec4d5da8f9ef77b19e6eed"}], "type": "compute", "id": "875ee02920614b36b8a6806a54dc453f"}, {"endpoints": [{"url": "https://evs.eu-de.otc.t-systems.com/v2/d7aa97f99c1442b0816d2fa994199670", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "c0c0f6a12c7e4b3991e59fa495fb4933"}], "type": "volume", "id": "80c5d2c4b3c045a8bd04473186a52ec4"}, {"endpoints": [{"url": "https://iam.eu-de.otc.t-systems.com/v3", "interface": "public", "region": "", "region_id": "", "id": "7453a614eb694003a51ecb21d35fcd08"}], "type": "identity", "id": "112944300d74423885b00cbee4a01925", "name": "keystone"}], "user": {"domain": {"name": "yangjie", "id": "e227b8992b904f698de40153c98ce55b"}, "id": "a4b1e6da8c2942c6a9b827ee478a44ec", "name": "luozhao"}, "issued_at": "2017-03-02T03:57:14.928000Z"}} run(Namespace(columns=[], formatter='table', image=u'centos7.0-64bit-zbb', limit=20, max_width=0, name=None, noindent=False, offset=None, print_empty=False, quote_mode='nonnumeric')) Instantiating as client: <class 'asclient.v1.client.Client'> Instantiating as client with kwargs: {'interface': None, 'region_name': 'eu-de'} Instantiating as client with endpoint: https://as.eu-de.otc.t-systems.com Instantiating image client: <class 'glanceclient.v2.client.Client'> Making authentication request to https://iam.eu-de.otc.t-systems.com/v3/auth/tokens /usr/local/lib/python2.7/dist-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://iam.eu-de.otc.t-systems.com:443 "POST /v3/auth/tokens HTTP/1.1" 201 None {"token": {"methods": ["password"], "roles": [{"name": "te_admin", "id": "d376f78e23b840d1bbdbd5a2cb529c97"}, {"name": "te_agency", "id": "8f579808e84440618a29e12ec7dc85bb"}, {"name": "as_adm", "id": "afc4adce95114d3b9af7fc2cd6865908"}, {"id": "0", "name": "op_gated_rds_pg"}, {"id": "0", "name": "op_gated_002"}, {"id": "0", "name": "op_gated_mrs"}, {"id": "0", "name": "op_gated_mrsmode"}], "expires_at": "2017-03-03T03:57:15.031000Z", "project": {"domain": {"name": "yangjie", "id": "e227b8992b904f698de40153c98ce55b"}, "name": "eu-de", "id": "d7aa97f99c1442b0816d2fa994199670"}, "catalog": [{"endpoints": [{"url": "https://dns.eu-de.otc.t-systems.com", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "21019440405e4fd29c9fee733a554f9d"}], "type": "dns", "id": "e03dee5f6f254e34a400c08dc8c78349"}, {"endpoints": [{"url": "https://ims.eu-de.otc.t-systems.com", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "2d43aa19818a498390b74de62f8a9514"}], "type": "image", "id": "7bf85b08cec94566b079364314933359"}, {"endpoints": [{"url": "https://vpc.eu-de.otc.t-systems.com", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "402a68c63b20424b9a95fb3b98960b5f"}], "type": "network", "id": "0a4255c2b23e4c47989bde89c4fdfa97"}, {"endpoints": [{"url": "https://rts.eu-de.otc.t-systems.com/v1/d7aa97f99c1442b0816d2fa994199670", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "45f82c47c41747ffadaa00ae2eaea1ae"}], "type": "orchestration", "id": "24c27719d8c8475899a601edd7ec7b13"}, {"endpoints": [{"url": "https://evs.eu-de.otc.t-systems.com/v2/d7aa97f99c1442b0816d2fa994199670", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "792152d6c9944c65ac8c284999e72d77"}], "type": "volumev2", "id": "242fc4f619584a4784c70b77d4f13623"}, {"endpoints": [{"url": "https://ecs.eu-de.otc.t-systems.com/v2/d7aa97f99c1442b0816d2fa994199670", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "967e00662dec4d5da8f9ef77b19e6eed"}], "type": "compute", "id": "875ee02920614b36b8a6806a54dc453f"}, {"endpoints": [{"url": "https://evs.eu-de.otc.t-systems.com/v2/d7aa97f99c1442b0816d2fa994199670", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "c0c0f6a12c7e4b3991e59fa495fb4933"}], "type": "volume", "id": "80c5d2c4b3c045a8bd04473186a52ec4"}, {"endpoints": [{"url": "https://iam.eu-de.otc.t-systems.com/v3", "interface": "public", "region": "", "region_id": "", "id": "7453a614eb694003a51ecb21d35fcd08"}], "type": "identity", "id": "112944300d74423885b00cbee4a01925", "name": "keystone"}], "user": {"domain": {"name": "yangjie", "id": "e227b8992b904f698de40153c98ce55b"}, "id": "a4b1e6da8c2942c6a9b827ee478a44ec", "name": "luozhao"}, "issued_at": "2017-03-02T03:57:15.031000Z"}} Instantiating image api: <class 'openstackclient.api.image_v2.APIv2'> 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}c310bffc310951e67a05ef54465408210f9e422f' -H 'Content-Type: application/octet-stream' -k --cert None --key None https://ims.eu-de.otc.t-systems.com/v2/images/centos7.0-64bit-zbb Starting new HTTPS connection (1): ims.eu-de.otc.t-systems.com 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}c310bffc310951e67a05ef54465408210f9e422f' -H 'Content-Type: application/octet-stream' -k --cert None --key None https://ims.eu-de.otc.t-systems.com/v2/images/centos7.0-64bit-zbb Starting new HTTPS connection (2): ims.eu-de.otc.t-systems.com

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}c310bffc310951e67a05ef54465408210f9e422f' -H 'Content-Type: application/octet-stream' -k --cert None --key None https://ims.eu-de.otc.t-systems.com/v2/images?limit=20 Starting new HTTPS connection (3): ims.eu-de.otc.t-systems.com

root@ubuntu:/# openstack as config list --image=5db19c5f-2ba6-4381-a460-ec569dacce18 --limit=20 --debug --insecure START with options: [u'as', u'config', u'list', u'--image=5db19c5f-2ba6-4381-a460-ec569dacce18', u'--limit=20', u'--debug', u'--insecure'] options: Namespace(access_token='', access_token_endpoint='', access_token_type='', auth_type='', auth_url='https://iam.eu-de.otc.t-systems.com/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=True, interface='', key='', log_file=None, openid_scope='', os_antiddos_api_version=None, os_antiddos_endpoint_override='https://antiddos.eu-de.otc.t-systems.com', os_as_api_version=None, os_as_endpoint_override='https://as.eu-de.otc.t-systems.com', os_beta_command=False, os_compute_api_version='', 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_volume_api_version='', os_workspace_api_version=None, os_workspace_endpoint_override='https://workspace.eu-de.otc.t-systems.com', passcode='', password='', project_domain_id='', project_domain_name='', project_id='', project_name='eu-de', protocol='', redirect_uri='', region_name='eu-de', timing=False, token='', trust_id='', url='', user_domain_id='e227b8992b904f698de40153c98ce55b', user_domain_name='', user_id='', username='luozhao', verbose_level=3, verify=None) Auth plugin password selected auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', 'key': None, u'database_api_version': u'1.0', 'timing': False, 'auth_url': 'https://iam.eu-de.otc.t-systems.com/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': u'2', 'verify': True, u'dns_api_version': u'2', 'antiddos_endpoint_override': 'https://antiddos.eu-de.otc.t-systems.com', u'object_store_api_version': u'1', 'username': 'luozhao', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': 'eu-de', 'insecure': True, 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'project_name': 'eu-de', 'user_domain_id': 'e227b8992b904f698de40153c98ce55b', 'project_domain_id': 'default'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1', 'cacert': None, 'password': '', u'application_catalog_api_version': u'1', u'key_manager_api_version': u'v1', u'metering_api_version': u'2', 'deferred_help': False, u'identity_api_version': '3', 'workspace_endpoint_override': 'https://workspace.eu-de.otc.t-systems.com', u'volume_api_version': u'2', 'as_endpoint_override': 'https://as.eu-de.otc.t-systems.com', 'cert': None, u'secgroup_source': u'neutron', u'status': u'active', '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', 'key': None, u'database_api_version': u'1.0', 'timing': False, 'auth_url': 'https://iam.eu-de.otc.t-systems.com/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': u'2', 'verify': True, u'dns_api_version': u'2', 'antiddos_endpoint_override': 'https://antiddos.eu-de.otc.t-systems.com', u'object_store_api_version': u'1', 'username': 'luozhao', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': 'eu-de', 'insecure': True, 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'project_name': 'eu-de', 'user_domain_id': 'e227b8992b904f698de40153c98ce55b', 'project_domain_id': 'default'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1', 'cacert': None, 'password': '', u'application_catalog_api_version': u'1', u'key_manager_api_version': u'v1', u'metering_api_version': u'2', 'deferred_help': False, u'identity_api_version': '3', 'workspace_endpoint_override': 'https://workspace.eu-de.otc.t-systems.com', u'volume_api_version': u'2', 'as_endpoint_override': 'https://as.eu-de.otc.t-systems.com', 'cert': None, u'secgroup_source': u'neutron', u'status': u'active', '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 antiddos API version 1, cmd group openstack.antiddos.v1 auto_scaling API version 1, cmd group openstack.auto_scaling.v1 workspace API version 1, cmd group openstack.workspace.v1 Auth plugin password selected auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', 'key': None, u'database_api_version': u'1.0', 'timing': False, 'auth_url': 'https://iam.eu-de.otc.t-systems.com/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': u'2', 'verify': True, u'dns_api_version': u'2', 'antiddos_endpoint_override': 'https://antiddos.eu-de.otc.t-systems.com', u'object_store_api_version': u'1', 'username': 'luozhao', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': 'eu-de', 'insecure': True, 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'project_name': 'eu-de', 'user_domain_id': 'e227b8992b904f698de40153c98ce55b', 'project_domain_id': 'default'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1', 'cacert': None, 'password': '', u'application_catalog_api_version': u'1', u'key_manager_api_version': u'v1', u'metering_api_version': u'2', 'deferred_help': False, u'identity_api_version': '3', 'workspace_endpoint_override': 'https://workspace.eu-de.otc.t-systems.com', u'volume_api_version': u'2', 'as_endpoint_override': 'https://as.eu-de.otc.t-systems.com', 'cert': None, u'secgroup_source': u'neutron', u'status': u'active', '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', 'key': None, u'database_api_version': u'1.0', 'timing': False, 'auth_url': 'https://iam.eu-de.otc.t-systems.com/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': u'2', 'verify': True, u'dns_api_version': u'2', 'antiddos_endpoint_override': 'https://antiddos.eu-de.otc.t-systems.com', u'object_store_api_version': u'1', 'username': 'luozhao', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': 'eu-de', 'insecure': True, 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'project_name': 'eu-de', 'user_domain_id': 'e227b8992b904f698de40153c98ce55b', 'project_domain_id': 'default'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1', 'cacert': None, 'password': '', u'application_catalog_api_version': u'1', u'key_manager_api_version': u'v1', u'metering_api_version': u'2', 'deferred_help': False, u'identity_api_version': '3', 'workspace_endpoint_override': 'https://workspace.eu-de.otc.t-systems.com', u'volume_api_version': u'2', 'as_endpoint_override': 'https://as.eu-de.otc.t-systems.com', 'cert': None, u'secgroup_source': u'neutron', u'status': u'active', 'debug': True, u'interface': None, u'disable_vendor_agent': {}} command: as config list -> asclient.osc.v1.config.ListAutoScalingConfig Auth plugin password selected auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', 'key': None, u'database_api_version': u'1.0', 'timing': False, 'auth_url': 'https://iam.eu-de.otc.t-systems.com/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': u'2', 'verify': True, u'dns_api_version': u'2', 'antiddos_endpoint_override': 'https://antiddos.eu-de.otc.t-systems.com', u'object_store_api_version': u'1', 'username': 'luozhao', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': 'eu-de', 'insecure': True, 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'project_name': 'eu-de', 'user_domain_id': 'e227b8992b904f698de40153c98ce55b', 'project_domain_id': 'default'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1', 'cacert': None, 'password': '', u'application_catalog_api_version': u'1', u'key_manager_api_version': u'v1', u'metering_api_version': u'2', 'deferred_help': False, u'identity_api_version': '3', 'workspace_endpoint_override': 'https://workspace.eu-de.otc.t-systems.com', u'volume_api_version': u'2', 'as_endpoint_override': 'https://as.eu-de.otc.t-systems.com', 'cert': None, u'secgroup_source': u'neutron', u'status': u'active', 'debug': True, u'interface': None, u'disable_vendor_agent': {}} Using auth plugin: password Using parameters {'username': 'luozhao', 'project_name': 'eu-de', 'user_domain_id': 'e227b8992b904f698de40153c98ce55b', 'auth_url': 'https://iam.eu-de.otc.t-systems.com/v3', 'password': '', 'project_domain_id': 'default'} Get authref REQ: curl -g -i --insecure -X GET https://iam.eu-de.otc.t-systems.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.6" Starting new HTTPS connection (1): iam.eu-de.otc.t-systems.com /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl.py:334: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings SNIMissingWarning /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:132: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings InsecurePlatformWarning /usr/local/lib/python2.7/dist-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://iam.eu-de.otc.t-systems.com:443 "GET /v3 HTTP/1.1" 200 None RESP: [200] Server: Web Server Date: Thu, 02 Mar 2017 05:08:32 GMT Content-Type: application/json Transfer-Encoding: chunked Connection: keep-alive Cache-Control: private, no-cache Expires: Thu, 01 Jan 1970 00:00:00 GMT Content-Encoding: gzip X-Frame-Options: SAMEORIGIN, DENY X-Content-Type-Options: nosniff, nosniff X-Download-Options: noopen, noopen X-XSS-Protection: 1; mode=block, 1; mode=block; Strict-Transport-Security: max-age=31536000; includeSubdomains; RESP BODY: {"version": {"status": "stable", "updated": "2013-03-06T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}, {"base": "application/xml", "type": "application/vnd.openstack.identity-v3+xml"}], "id": "v3.0", "links": [{"href": "https://iam.eu-de.otc.t-systems.com/v3/", "rel": "self"}]}}

Making authentication request to https://iam.eu-de.otc.t-systems.com/v3/auth/tokens /usr/local/lib/python2.7/dist-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://iam.eu-de.otc.t-systems.com:443 "POST /v3/auth/tokens HTTP/1.1" 201 None {"token": {"methods": ["password"], "roles": [{"name": "te_admin", "id": "d376f78e23b840d1bbdbd5a2cb529c97"}, {"name": "te_agency", "id": "8f579808e84440618a29e12ec7dc85bb"}, {"name": "as_adm", "id": "afc4adce95114d3b9af7fc2cd6865908"}, {"id": "0", "name": "op_gated_rds_pg"}, {"id": "0", "name": "op_gated_002"}, {"id": "0", "name": "op_gated_mrs"}, {"id": "0", "name": "op_gated_mrsmode"}], "expires_at": "2017-03-03T05:08:32.279000Z", "project": {"domain": {"name": "yangjie", "id": "e227b8992b904f698de40153c98ce55b"}, "name": "eu-de", "id": "d7aa97f99c1442b0816d2fa994199670"}, "catalog": [{"endpoints": [{"url": "https://dns.eu-de.otc.t-systems.com", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "21019440405e4fd29c9fee733a554f9d"}], "type": "dns", "id": "e03dee5f6f254e34a400c08dc8c78349"}, {"endpoints": [{"url": "https://ims.eu-de.otc.t-systems.com", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "2d43aa19818a498390b74de62f8a9514"}], "type": "image", "id": "7bf85b08cec94566b079364314933359"}, {"endpoints": [{"url": "https://vpc.eu-de.otc.t-systems.com", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "402a68c63b20424b9a95fb3b98960b5f"}], "type": "network", "id": "0a4255c2b23e4c47989bde89c4fdfa97"}, {"endpoints": [{"url": "https://rts.eu-de.otc.t-systems.com/v1/d7aa97f99c1442b0816d2fa994199670", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "45f82c47c41747ffadaa00ae2eaea1ae"}], "type": "orchestration", "id": "24c27719d8c8475899a601edd7ec7b13"}, {"endpoints": [{"url": "https://evs.eu-de.otc.t-systems.com/v2/d7aa97f99c1442b0816d2fa994199670", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "792152d6c9944c65ac8c284999e72d77"}], "type": "volumev2", "id": "242fc4f619584a4784c70b77d4f13623"}, {"endpoints": [{"url": "https://ecs.eu-de.otc.t-systems.com/v2/d7aa97f99c1442b0816d2fa994199670", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "967e00662dec4d5da8f9ef77b19e6eed"}], "type": "compute", "id": "875ee02920614b36b8a6806a54dc453f"}, {"endpoints": [{"url": "https://evs.eu-de.otc.t-systems.com/v2/d7aa97f99c1442b0816d2fa994199670", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "c0c0f6a12c7e4b3991e59fa495fb4933"}], "type": "volume", "id": "80c5d2c4b3c045a8bd04473186a52ec4"}, {"endpoints": [{"url": "https://iam.eu-de.otc.t-systems.com/v3", "interface": "public", "region": "", "region_id": "", "id": "7453a614eb694003a51ecb21d35fcd08"}], "type": "identity", "id": "112944300d74423885b00cbee4a01925", "name": "keystone"}], "user": {"domain": {"name": "yangjie", "id": "e227b8992b904f698de40153c98ce55b"}, "id": "a4b1e6da8c2942c6a9b827ee478a44ec", "name": "luozhao"}, "issued_at": "2017-03-02T05:08:32.279000Z"}} run(Namespace(columns=[], formatter='table', image=u'5db19c5f-2ba6-4381-a460-ec569dacce18', limit=20, max_width=0, name=None, noindent=False, offset=None, print_empty=False, quote_mode='nonnumeric')) Instantiating as client: <class 'asclient.v1.client.Client'> Instantiating as client with kwargs: {'interface': None, 'region_name': 'eu-de'} Instantiating as client with endpoint: https://as.eu-de.otc.t-systems.com Instantiating image client: <class 'glanceclient.v2.client.Client'> Making authentication request to https://iam.eu-de.otc.t-systems.com/v3/auth/tokens /usr/local/lib/python2.7/dist-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://iam.eu-de.otc.t-systems.com:443 "POST /v3/auth/tokens HTTP/1.1" 201 None {"token": {"methods": ["password"], "roles": [{"name": "te_admin", "id": "d376f78e23b840d1bbdbd5a2cb529c97"}, {"name": "te_agency", "id": "8f579808e84440618a29e12ec7dc85bb"}, {"name": "as_adm", "id": "afc4adce95114d3b9af7fc2cd6865908"}, {"id": "0", "name": "op_gated_rds_pg"}, {"id": "0", "name": "op_gated_002"}, {"id": "0", "name": "op_gated_mrs"}, {"id": "0", "name": "op_gated_mrsmode"}], "expires_at": "2017-03-03T05:08:32.378000Z", "project": {"domain": {"name": "yangjie", "id": "e227b8992b904f698de40153c98ce55b"}, "name": "eu-de", "id": "d7aa97f99c1442b0816d2fa994199670"}, "catalog": [{"endpoints": [{"url": "https://dns.eu-de.otc.t-systems.com", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "21019440405e4fd29c9fee733a554f9d"}], "type": "dns", "id": "e03dee5f6f254e34a400c08dc8c78349"}, {"endpoints": [{"url": "https://ims.eu-de.otc.t-systems.com", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "2d43aa19818a498390b74de62f8a9514"}], "type": "image", "id": "7bf85b08cec94566b079364314933359"}, {"endpoints": [{"url": "https://vpc.eu-de.otc.t-systems.com", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "402a68c63b20424b9a95fb3b98960b5f"}], "type": "network", "id": "0a4255c2b23e4c47989bde89c4fdfa97"}, {"endpoints": [{"url": "https://rts.eu-de.otc.t-systems.com/v1/d7aa97f99c1442b0816d2fa994199670", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "45f82c47c41747ffadaa00ae2eaea1ae"}], "type": "orchestration", "id": "24c27719d8c8475899a601edd7ec7b13"}, {"endpoints": [{"url": "https://evs.eu-de.otc.t-systems.com/v2/d7aa97f99c1442b0816d2fa994199670", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "792152d6c9944c65ac8c284999e72d77"}], "type": "volumev2", "id": "242fc4f619584a4784c70b77d4f13623"}, {"endpoints": [{"url": "https://ecs.eu-de.otc.t-systems.com/v2/d7aa97f99c1442b0816d2fa994199670", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "967e00662dec4d5da8f9ef77b19e6eed"}], "type": "compute", "id": "875ee02920614b36b8a6806a54dc453f"}, {"endpoints": [{"url": "https://evs.eu-de.otc.t-systems.com/v2/d7aa97f99c1442b0816d2fa994199670", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "c0c0f6a12c7e4b3991e59fa495fb4933"}], "type": "volume", "id": "80c5d2c4b3c045a8bd04473186a52ec4"}, {"endpoints": [{"url": "https://iam.eu-de.otc.t-systems.com/v3", "interface": "public", "region": "", "region_id": "", "id": "7453a614eb694003a51ecb21d35fcd08"}], "type": "identity", "id": "112944300d74423885b00cbee4a01925", "name": "keystone"}], "user": {"domain": {"name": "yangjie", "id": "e227b8992b904f698de40153c98ce55b"}, "id": "a4b1e6da8c2942c6a9b827ee478a44ec", "name": "luozhao"}, "issued_at": "2017-03-02T05:08:32.378000Z"}} Instantiating image api: <class 'openstackclient.api.image_v2.APIv2'> 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}63f65ec259aa8334a9bef034f810944ecc37eacc' -H 'Content-Type: application/octet-stream' -k --cert None --key None https://ims.eu-de.otc.t-systems.com/v2/images/5db19c5f-2ba6-4381-a460-ec569dacce18 Starting new HTTPS connection (1): ims.eu-de.otc.t-systems.com 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}63f65ec259aa8334a9bef034f810944ecc37eacc' -H 'Content-Type: application/octet-stream' -k --cert None --key None https://ims.eu-de.otc.t-systems.com/v2/images/5db19c5f-2ba6-4381-a460-ec569dacce18 Starting new HTTPS connection (2): ims.eu-de.otc.t-systems.com 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}63f65ec259aa8334a9bef034f810944ecc37eacc' -H 'Content-Type: application/octet-stream' -k --cert None --key None https://ims.eu-de.otc.t-systems.com/v2/images?limit=20 Starting new HTTPS connection (3): ims.eu-de.otc.t-systems.com Error finding address for https://ims.eu-de.otc.t-systems.com/v2/images?limit=20: HTTPSConnectionPool(host='ims.eu-de.otc.t-systems.com', port=443): Max retries exceeded with url: /v2/images?limit=20 (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fcbe710d250>: Failed to establish a new connection: [Errno 110] Connection timed out',)) Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/cliff/app.py", line 400, in run_subcommand result = cmd.run(parsed_args) File "/usr/local/lib/python2.7/dist-packages/osc_lib/command/command.py", line 41, in run return super(Command, self).run(parsed_args) File "/usr/local/lib/python2.7/dist-packages/cliff/display.py", line 112, in run column_names, data = self.take_action(parsed_args) File "/usr/local/lib/python2.7/dist-packages/asclient/osc/v1/config.py", line 115, in take_action image_id = utils.find_resource(image_client.images, args.image).id File "/usr/local/lib/python2.7/dist-packages/osc_lib/utils.py", line 171, in find_resource for resource in manager.list(): File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/utils.py", line 514, in next return self._next() File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/utils.py", line 507, in _next obj, resp = next(self._self_wrapped) File "/usr/local/lib/python2.7/dist-packages/glanceclient/v2/images.py", line 183, in list for image, resp in paginate(url, page_size, limit): File "/usr/local/lib/python2.7/dist-packages/glanceclient/v2/images.py", line 110, in paginate resp, body = self.http_client.get(next_url, headers=req_id_hdr) File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py", line 285, in get return self._request('GET', url, kwargs) File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py", line 266, in _request raise exc.CommunicationError(message=message) CommunicationError: Error finding address for https://ims.eu-de.otc.t-systems.com/v2/images?limit=20: HTTPSConnectionPool(host='ims.eu-de.otc.t-systems.com', port=443): Max retries exceeded with url: /v2/images?limit=20 (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fcbe710d250>: Failed to establish a new connection: [Errno 110] Connection timed out',)) clean_up ListAutoScalingConfig: Error finding address for https://ims.eu-de.otc.t-systems.com/v2/images?limit=20: HTTPSConnectionPool(host='ims.eu-de.otc.t-systems.com', port=443): Max retries exceeded with url: /v2/images?limit=20 (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fcbe710d250>: Failed to establish a new connection: [Errno 110] Connection timed out',)) Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/osc_lib/shell.py", line 135, in run ret_val = super(OpenStackShell, self).run(argv) File "/usr/local/lib/python2.7/dist-packages/cliff/app.py", line 279, in run result = self.run_subcommand(remainder) File "/usr/local/lib/python2.7/dist-packages/osc_lib/shell.py", line 180, in run_subcommand ret_value = super(OpenStackShell, self).run_subcommand(argv) File "/usr/local/lib/python2.7/dist-packages/cliff/app.py", line 400, in run_subcommand result = cmd.run(parsed_args) File "/usr/local/lib/python2.7/dist-packages/osc_lib/command/command.py", line 41, in run return super(Command, self).run(parsed_args) File "/usr/local/lib/python2.7/dist-packages/cliff/display.py", line 112, in run column_names, data = self.take_action(parsed_args) File "/usr/local/lib/python2.7/dist-packages/asclient/osc/v1/config.py", line 115, in take_action image_id = utils.find_resource(image_client.images, args.image).id File "/usr/local/lib/python2.7/dist-packages/osc_lib/utils.py", line 171, in find_resource for resource in manager.list(): File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/utils.py", line 514, in next return self._next() File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/utils.py", line 507, in _next obj, resp = next(self._self_wrapped) File "/usr/local/lib/python2.7/dist-packages/glanceclient/v2/images.py", line 183, in list for image, resp in paginate(url, page_size, limit): File "/usr/local/lib/python2.7/dist-packages/glanceclient/v2/images.py", line 110, in paginate resp, body = self.http_client.get(next_url, headers=req_id_hdr) File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py", line 285, in get return self._request('GET', url, kwargs) File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py", line 266, in _request raise exc.CommunicationError(message=message) CommunicationError: Error finding address for https://ims.eu-de.otc.t-systems.com/v2/images?limit=20: HTTPSConnectionPool(host='ims.eu-de.otc.t-systems.com', port=443): Max retries exceeded with url: /v2/images?limit=20 (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fcbe710d250>: Failed to establish a new connection: [Errno 110] Connection timed out',))

END return value: 1

用image+name的筛选,不成功

root@ubuntu:/# openstack as config list --image=3bf06504-f8eb-4a6b-b75f-5a2e1646cda4 --name=as-config-ttq1_copy --limit=20 --debug --insecure START with options: [u'as', u'config', u'list', u'--image=3bf06504-f8eb-4a6b-b75f-5a2e1646cda4', u'--name=as-config-ttq1_copy', u'--limit=20', u'--debug', u'--insecure'] options: Namespace(access_token='', access_token_endpoint='', access_token_type='', auth_type='', auth_url='https://iam.eu-de.otc.t-systems.com/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=True, interface='', key='', log_file=None, openid_scope='', os_antiddos_api_version=None, os_antiddos_endpoint_override='https://antiddos.eu-de.otc.t-systems.com', os_as_api_version=None, os_as_endpoint_override='https://as.eu-de.otc.t-systems.com', os_beta_command=False, os_compute_api_version='', 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_volume_api_version='', os_workspace_api_version=None, os_workspace_endpoint_override='https://workspace.eu-de.otc.t-systems.com', passcode='', password='', project_domain_id='', project_domain_name='', project_id='', project_name='eu-de', protocol='', redirect_uri='', region_name='eu-de', timing=False, token='', trust_id='', url='', user_domain_id='e227b8992b904f698de40153c98ce55b', user_domain_name='', user_id='', username='luozhao', verbose_level=3, verify=None) Auth plugin password selected auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', 'key': None, u'database_api_version': u'1.0', 'timing': False, 'auth_url': 'https://iam.eu-de.otc.t-systems.com/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': u'2', 'verify': True, u'dns_api_version': u'2', 'antiddos_endpoint_override': 'https://antiddos.eu-de.otc.t-systems.com', u'object_store_api_version': u'1', 'username': 'luozhao', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': 'eu-de', 'insecure': True, 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'project_name': 'eu-de', 'user_domain_id': 'e227b8992b904f698de40153c98ce55b', 'project_domain_id': 'default'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1', 'cacert': None, 'password': '', u'application_catalog_api_version': u'1', u'key_manager_api_version': u'v1', u'metering_api_version': u'2', 'deferred_help': False, u'identity_api_version': '3', 'workspace_endpoint_override': 'https://workspace.eu-de.otc.t-systems.com', u'volume_api_version': u'2', 'as_endpoint_override': 'https://as.eu-de.otc.t-systems.com', 'cert': None, u'secgroup_source': u'neutron', u'status': u'active', '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', 'key': None, u'database_api_version': u'1.0', 'timing': False, 'auth_url': 'https://iam.eu-de.otc.t-systems.com/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': u'2', 'verify': True, u'dns_api_version': u'2', 'antiddos_endpoint_override': 'https://antiddos.eu-de.otc.t-systems.com', u'object_store_api_version': u'1', 'username': 'luozhao', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': 'eu-de', 'insecure': True, 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'project_name': 'eu-de', 'user_domain_id': 'e227b8992b904f698de40153c98ce55b', 'project_domain_id': 'default'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1', 'cacert': None, 'password': '', u'application_catalog_api_version': u'1', u'key_manager_api_version': u'v1', u'metering_api_version': u'2', 'deferred_help': False, u'identity_api_version': '3', 'workspace_endpoint_override': 'https://workspace.eu-de.otc.t-systems.com', u'volume_api_version': u'2', 'as_endpoint_override': 'https://as.eu-de.otc.t-systems.com', 'cert': None, u'secgroup_source': u'neutron', u'status': u'active', '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 antiddos API version 1, cmd group openstack.antiddos.v1 auto_scaling API version 1, cmd group openstack.auto_scaling.v1 workspace API version 1, cmd group openstack.workspace.v1 Auth plugin password selected auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', 'key': None, u'database_api_version': u'1.0', 'timing': False, 'auth_url': 'https://iam.eu-de.otc.t-systems.com/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': u'2', 'verify': True, u'dns_api_version': u'2', 'antiddos_endpoint_override': 'https://antiddos.eu-de.otc.t-systems.com', u'object_store_api_version': u'1', 'username': 'luozhao', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': 'eu-de', 'insecure': True, 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'project_name': 'eu-de', 'user_domain_id': 'e227b8992b904f698de40153c98ce55b', 'project_domain_id': 'default'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1', 'cacert': None, 'password': '', u'application_catalog_api_version': u'1', u'key_manager_api_version': u'v1', u'metering_api_version': u'2', 'deferred_help': False, u'identity_api_version': '3', 'workspace_endpoint_override': 'https://workspace.eu-de.otc.t-systems.com', u'volume_api_version': u'2', 'as_endpoint_override': 'https://as.eu-de.otc.t-systems.com', 'cert': None, u'secgroup_source': u'neutron', u'status': u'active', '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', 'key': None, u'database_api_version': u'1.0', 'timing': False, 'auth_url': 'https://iam.eu-de.otc.t-systems.com/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': u'2', 'verify': True, u'dns_api_version': u'2', 'antiddos_endpoint_override': 'https://antiddos.eu-de.otc.t-systems.com', u'object_store_api_version': u'1', 'username': 'luozhao', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': 'eu-de', 'insecure': True, 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'project_name': 'eu-de', 'user_domain_id': 'e227b8992b904f698de40153c98ce55b', 'project_domain_id': 'default'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1', 'cacert': None, 'password': '', u'application_catalog_api_version': u'1', u'key_manager_api_version': u'v1', u'metering_api_version': u'2', 'deferred_help': False, u'identity_api_version': '3', 'workspace_endpoint_override': 'https://workspace.eu-de.otc.t-systems.com', u'volume_api_version': u'2', 'as_endpoint_override': 'https://as.eu-de.otc.t-systems.com', 'cert': None, u'secgroup_source': u'neutron', u'status': u'active', 'debug': True, u'interface': None, u'disable_vendor_agent': {}} command: as config list -> asclient.osc.v1.config.ListAutoScalingConfig Auth plugin password selected auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', 'key': None, u'database_api_version': u'1.0', 'timing': False, 'auth_url': 'https://iam.eu-de.otc.t-systems.com/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': u'2', 'verify': True, u'dns_api_version': u'2', 'antiddos_endpoint_override': 'https://antiddos.eu-de.otc.t-systems.com', u'object_store_api_version': u'1', 'username': 'luozhao', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': 'eu-de', 'insecure': True, 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'project_name': 'eu-de', 'user_domain_id': 'e227b8992b904f698de40153c98ce55b', 'project_domain_id': 'default'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1', 'cacert': None, 'password': '', u'application_catalog_api_version': u'1', u'key_manager_api_version': u'v1', u'metering_api_version': u'2', 'deferred_help': False, u'identity_api_version': '3', 'workspace_endpoint_override': 'https://workspace.eu-de.otc.t-systems.com', u'volume_api_version': u'2', 'as_endpoint_override': 'https://as.eu-de.otc.t-systems.com', 'cert': None, u'secgroup_source': u'neutron', u'status': u'active', 'debug': True, u'interface': None, u'disable_vendor_agent': {}} Using auth plugin: password Using parameters {'username': 'luozhao', 'project_name': 'eu-de', 'user_domain_id': 'e227b8992b904f698de40153c98ce55b', 'auth_url': 'https://iam.eu-de.otc.t-systems.com/v3', 'password': '', 'project_domain_id': 'default'} Get authref REQ: curl -g -i --insecure -X GET https://iam.eu-de.otc.t-systems.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.6" Starting new HTTPS connection (1): iam.eu-de.otc.t-systems.com /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl.py:334: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings SNIMissingWarning /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:132: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings InsecurePlatformWarning /usr/local/lib/python2.7/dist-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://iam.eu-de.otc.t-systems.com:443 "GET /v3 HTTP/1.1" 200 None RESP: [200] Server: Web Server Date: Thu, 02 Mar 2017 05:41:24 GMT Content-Type: application/json Transfer-Encoding: chunked Connection: keep-alive Cache-Control: private, no-cache Expires: Thu, 01 Jan 1970 08:00:00 CST Content-Encoding: gzip X-Frame-Options: SAMEORIGIN, DENY X-Content-Type-Options: nosniff, nosniff X-Download-Options: noopen, noopen X-XSS-Protection: 1; mode=block, 1; mode=block; Strict-Transport-Security: max-age=31536000; includeSubdomains; RESP BODY: {"version": {"status": "stable", "updated": "2013-03-06T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}, {"base": "application/xml", "type": "application/vnd.openstack.identity-v3+xml"}], "id": "v3.0", "links": [{"href": "https://iam.eu-de.otc.t-systems.com/v3/", "rel": "self"}]}}

Making authentication request to https://iam.eu-de.otc.t-systems.com/v3/auth/tokens /usr/local/lib/python2.7/dist-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://iam.eu-de.otc.t-systems.com:443 "POST /v3/auth/tokens HTTP/1.1" 201 None {"token": {"methods": ["password"], "roles": [{"name": "te_admin", "id": "d376f78e23b840d1bbdbd5a2cb529c97"}, {"name": "te_agency", "id": "8f579808e84440618a29e12ec7dc85bb"}, {"name": "as_adm", "id": "afc4adce95114d3b9af7fc2cd6865908"}, {"id": "0", "name": "op_gated_rds_pg"}, {"id": "0", "name": "op_gated_002"}, {"id": "0", "name": "op_gated_mrs"}, {"id": "0", "name": "op_gated_mrsmode"}], "expires_at": "2017-03-03T05:41:25.061000Z", "project": {"domain": {"name": "yangjie", "id": "e227b8992b904f698de40153c98ce55b"}, "name": "eu-de", "id": "d7aa97f99c1442b0816d2fa994199670"}, "catalog": [{"endpoints": [{"url": "https://dns.eu-de.otc.t-systems.com", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "21019440405e4fd29c9fee733a554f9d"}], "type": "dns", "id": "e03dee5f6f254e34a400c08dc8c78349"}, {"endpoints": [{"url": "https://ims.eu-de.otc.t-systems.com", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "2d43aa19818a498390b74de62f8a9514"}], "type": "image", "id": "7bf85b08cec94566b079364314933359"}, {"endpoints": [{"url": "https://vpc.eu-de.otc.t-systems.com", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "402a68c63b20424b9a95fb3b98960b5f"}], "type": "network", "id": "0a4255c2b23e4c47989bde89c4fdfa97"}, {"endpoints": [{"url": "https://rts.eu-de.otc.t-systems.com/v1/d7aa97f99c1442b0816d2fa994199670", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "45f82c47c41747ffadaa00ae2eaea1ae"}], "type": "orchestration", "id": "24c27719d8c8475899a601edd7ec7b13"}, {"endpoints": [{"url": "https://evs.eu-de.otc.t-systems.com/v2/d7aa97f99c1442b0816d2fa994199670", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "792152d6c9944c65ac8c284999e72d77"}], "type": "volumev2", "id": "242fc4f619584a4784c70b77d4f13623"}, {"endpoints": [{"url": "https://ecs.eu-de.otc.t-systems.com/v2/d7aa97f99c1442b0816d2fa994199670", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "967e00662dec4d5da8f9ef77b19e6eed"}], "type": "compute", "id": "875ee02920614b36b8a6806a54dc453f"}, {"endpoints": [{"url": "https://evs.eu-de.otc.t-systems.com/v2/d7aa97f99c1442b0816d2fa994199670", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "c0c0f6a12c7e4b3991e59fa495fb4933"}], "type": "volume", "id": "80c5d2c4b3c045a8bd04473186a52ec4"}, {"endpoints": [{"url": "https://iam.eu-de.otc.t-systems.com/v3", "interface": "public", "region": "", "region_id": "", "id": "7453a614eb694003a51ecb21d35fcd08"}], "type": "identity", "id": "112944300d74423885b00cbee4a01925", "name": "keystone"}], "user": {"domain": {"name": "yangjie", "id": "e227b8992b904f698de40153c98ce55b"}, "id": "a4b1e6da8c2942c6a9b827ee478a44ec", "name": "luozhao"}, "issued_at": "2017-03-02T05:41:25.061000Z"}} run(Namespace(columns=[], formatter='table', image=u'3bf06504-f8eb-4a6b-b75f-5a2e1646cda4', limit=20, max_width=0, name=u'as-config-ttq1_copy', noindent=False, offset=None, print_empty=False, quote_mode='nonnumeric')) Instantiating as client: <class 'asclient.v1.client.Client'> Instantiating as client with kwargs: {'interface': None, 'region_name': 'eu-de'} Instantiating as client with endpoint: https://as.eu-de.otc.t-systems.com Instantiating image client: <class 'glanceclient.v2.client.Client'> Making authentication request to https://iam.eu-de.otc.t-systems.com/v3/auth/tokens /usr/local/lib/python2.7/dist-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://iam.eu-de.otc.t-systems.com:443 "POST /v3/auth/tokens HTTP/1.1" 201 None {"token": {"methods": ["password"], "roles": [{"name": "te_admin", "id": "d376f78e23b840d1bbdbd5a2cb529c97"}, {"name": "te_agency", "id": "8f579808e84440618a29e12ec7dc85bb"}, {"name": "as_adm", "id": "afc4adce95114d3b9af7fc2cd6865908"}, {"id": "0", "name": "op_gated_rds_pg"}, {"id": "0", "name": "op_gated_002"}, {"id": "0", "name": "op_gated_mrs"}, {"id": "0", "name": "op_gated_mrsmode"}], "expires_at": "2017-03-03T05:41:25.162000Z", "project": {"domain": {"name": "yangjie", "id": "e227b8992b904f698de40153c98ce55b"}, "name": "eu-de", "id": "d7aa97f99c1442b0816d2fa994199670"}, "catalog": [{"endpoints": [{"url": "https://dns.eu-de.otc.t-systems.com", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "21019440405e4fd29c9fee733a554f9d"}], "type": "dns", "id": "e03dee5f6f254e34a400c08dc8c78349"}, {"endpoints": [{"url": "https://ims.eu-de.otc.t-systems.com", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "2d43aa19818a498390b74de62f8a9514"}], "type": "image", "id": "7bf85b08cec94566b079364314933359"}, {"endpoints": [{"url": "https://vpc.eu-de.otc.t-systems.com", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "402a68c63b20424b9a95fb3b98960b5f"}], "type": "network", "id": "0a4255c2b23e4c47989bde89c4fdfa97"}, {"endpoints": [{"url": "https://rts.eu-de.otc.t-systems.com/v1/d7aa97f99c1442b0816d2fa994199670", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "45f82c47c41747ffadaa00ae2eaea1ae"}], "type": "orchestration", "id": "24c27719d8c8475899a601edd7ec7b13"}, {"endpoints": [{"url": "https://evs.eu-de.otc.t-systems.com/v2/d7aa97f99c1442b0816d2fa994199670", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "792152d6c9944c65ac8c284999e72d77"}], "type": "volumev2", "id": "242fc4f619584a4784c70b77d4f13623"}, {"endpoints": [{"url": "https://ecs.eu-de.otc.t-systems.com/v2/d7aa97f99c1442b0816d2fa994199670", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "967e00662dec4d5da8f9ef77b19e6eed"}], "type": "compute", "id": "875ee02920614b36b8a6806a54dc453f"}, {"endpoints": [{"url": "https://evs.eu-de.otc.t-systems.com/v2/d7aa97f99c1442b0816d2fa994199670", "interface": "public", "region": "eu-de", "region_id": "eu-de", "id": "c0c0f6a12c7e4b3991e59fa495fb4933"}], "type": "volume", "id": "80c5d2c4b3c045a8bd04473186a52ec4"}, {"endpoints": [{"url": "https://iam.eu-de.otc.t-systems.com/v3", "interface": "public", "region": "", "region_id": "", "id": "7453a614eb694003a51ecb21d35fcd08"}], "type": "identity", "id": "112944300d74423885b00cbee4a01925", "name": "keystone"}], "user": {"domain": {"name": "yangjie", "id": "e227b8992b904f698de40153c98ce55b"}, "id": "a4b1e6da8c2942c6a9b827ee478a44ec", "name": "luozhao"}, "issued_at": "2017-03-02T05:41:25.162000Z"}} Instantiating image api: <class 'openstackclient.api.image_v2.APIv2'> 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}292bfff5397786eae392f1d3b2548aff6fa3efbd' -H 'Content-Type: application/octet-stream' -k --cert None --key None https://ims.eu-de.otc.t-systems.com/v2/images/3bf06504-f8eb-4a6b-b75f-5a2e1646cda4 Starting new HTTPS connection (1): ims.eu-de.otc.t-systems.com 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}292bfff5397786eae392f1d3b2548aff6fa3efbd' -H 'Content-Type: application/octet-stream' -k --cert None --key None https://ims.eu-de.otc.t-systems.com/v2/images/3bf06504-f8eb-4a6b-b75f-5a2e1646cda4 Starting new HTTPS connection (2): ims.eu-de.otc.t-systems.com 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}292bfff5397786eae392f1d3b2548aff6fa3efbd' -H 'Content-Type: application/octet-stream' -k --cert None --key None https://ims.eu-de.otc.t-systems.com/v2/images?limit=20 Starting new HTTPS connection (3): ims.eu-de.otc.t-systems.com

IamFive commented 7 years ago

用image查找的前提是本地能够执行image的相关命令。 你试下 openstack image listopenstack image show ,从日志来看,你在查询 image的时候就出错了。

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}63f65ec259aa8334a9bef034f810944ecc37eacc' -H 'Content-Type: application/octet-stream' -k --cert None --key None https://ims.eu-de.otc.t-systems.com/v2/images/5db19c5f-2ba6-4381-a460-ec569dacce18
Starting new HTTPS connection (2): ims.eu-de.otc.t-systems.com
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}63f65ec259aa8334a9bef034f810944ecc37eacc' -H 'Content-Type: application/octet-stream' -k --cert None --key None https://ims.eu-de.otc.t-systems.com/v2/images?limit=20
Starting new HTTPS connection (3): ims.eu-de.otc.t-systems.com
Error finding address for https://ims.eu-de.otc.t-systems.com/v2/images?limit=20: HTTPSConnectionPool(host='ims.eu-de.otc.t-systems.com', port=443): Max retries exceeded with url: /v2/images?limit=20 (Caused by 
caoyameng commented 7 years ago

openstack image list 执行不成功,环境本身的问题,与筛选命令无关

IamFive commented 7 years ago

ok 有问题再重新开启给我