list projects error if any project has non-ascii tags

Bug #1980177 reported by Wu Wenxiang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-keystoneclient
New
Undecided
Wu Wenxiang

Bug Description

With Python2, we meet this issue: list projects error if any project has non-ascii tags

Debug it & find:
1. error since python2 not compatible with current python2 defense code
2. we could simply remove python2 defense code then it works for python2 & python3
3. we do not support python2, so remove python2 defense codes also reasonable.

Call Stack:

START with options: project list --debug
options: Namespace(access_token='***', access_token_endpoint='', access_token_type='', application_credential_id='', application_credential_name='', application_credential_secret='***', auth_methods='', auth_type='', auth_url='http://172.28.131.100:35357/v3', cacert='/etc/kolla/certificates/ca/haproxy.crt', cert='', client_id='', client_secret='***', cloud='', code='', debug=True, default_domain='default', default_domain_id='', default_domain_name='', deferred_help=False, discovery_endpoint='', domain_id='', domain_name='', endpoint='', identity_provider='', insecure=None, interface='internal', key='', log_file=None, openid_scope='', os_baremetal_api_version='1.58', os_beta_command=False, os_compute_api_version='', os_identity_api_version='3', os_image_api_version='', os_key_manager_api_version='1', os_loadbalancer_api_version='2.0', os_network_api_version='', os_object_api_version='', os_orchestration_api_version='1', os_placement_api_version='1', os_project_id=None, os_project_name=None, os_volume_api_version='', passcode='', password='***', project_domain_id='', project_domain_name='Default', project_id='', project_name='admin', protocol='', redirect_uri='', region_name='RegionOne', remote_project_domain_id='', remote_project_domain_name='', remote_project_id='', remote_project_name='', service_provider='', system_scope='', timing=False, token='***', trust_id='', user_domain_id='', user_domain_name='Default', user_id='', username='admin', verbose_level=3, verify=None)
Auth plugin password selected
auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'image_status_code_retries': '5', 'orchestration_api_version': '1', u'interface': 'internal', 'auth_url': 'http://172.28.131.100:35357/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], 'verify': True, 'placement_api_version': '1', u'object_store_api_version': u'1', u'status': u'active', 'loadbalancer_api_version': '2.0', 'verbose_level': 3, 'region_name': 'RegionOne', u'baremetal_introspection_status_code_retries': '5', 'api_timeout': None, 'baremetal_api_version': '1.58', 'auth': {'user_domain_name': 'Default', 'project_name': 'admin', 'project_domain_name': 'Default'}, 'default_domain': 'default', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', 'key': None, 'cacert': '/etc/kolla/certificates/ca/haproxy.crt', 'timing': False, 'password': '***', 'key_manager_api_version': '1', u'baremetal_status_code_retries': '5', 'identity_api_version': '3', 'username': 'admin', 'deferred_help': False, 'cert': None, u'secgroup_source': u'neutron', 'debug': True, u'disable_vendor_agent': {}}
defaults: {u'auth_type': 'password', u'status': u'active', u'image_status_code_retries': 5, u'baremetal_introspection_status_code_retries': 5, 'api_timeout': None, 'cacert': None, u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', 'key': None, u'interface': None, u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', u'baremetal_status_code_retries': 5, 'verify': True, 'cert': None, u'secgroup_source': u'neutron', u'object_store_api_version': u'1', u'disable_vendor_agent': {}}
cloud cfg: {'auth_type': 'password', 'beta_command': False, u'image_status_code_retries': '5', 'key': None, 'cacert': '/etc/kolla/certificates/ca/haproxy.crt', 'auth_url': 'http://172.28.131.100:35357/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], 'verify': True, 'placement_api_version': '1', u'object_store_api_version': u'1', u'status': u'active', 'loadbalancer_api_version': '2.0', 'verbose_level': 3, 'region_name': 'RegionOne', u'baremetal_introspection_status_code_retries': '5', 'api_timeout': None, 'baremetal_api_version': '1.58', 'auth': {'user_domain_name': 'Default', 'project_name': 'admin', 'project_domain_name': 'Default'}, 'default_domain': 'default', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', 'orchestration_api_version': '1', u'interface': 'internal', 'timing': False, 'password': '***', 'key_manager_api_version': '1', u'baremetal_status_code_retries': '5', 'identity_api_version': '3', 'username': 'admin', 'deferred_help': False, 'cert': None, u'secgroup_source': u'neutron', 'debug': True, u'disable_vendor_agent': {}}
compute API version 2.1, 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 3, cmd group openstack.volume.v3
identity API version 3, cmd group openstack.identity.v3
object_store API version 1, cmd group openstack.object_store.v1
load_balancer API version 2.0, cmd group openstack.load_balancer.v2
neutronclient API version 2, cmd group openstack.neutronclient.v2
baremetal API version 1.58, cmd group openstack.baremetal.v1
orchestration API version 1, cmd group openstack.orchestration.v1
key_manager API version 1, cmd group openstack.key_manager.v1
placement API version 1, cmd group openstack.placement.v1
Auth plugin password selected
auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'image_status_code_retries': '5', 'orchestration_api_version': '1', u'interface': 'internal', 'auth_url': 'http://172.28.131.100:35357/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], 'verify': True, 'placement_api_version': '1', u'object_store_api_version': u'1', u'status': u'active', 'loadbalancer_api_version': '2.0', 'verbose_level': 3, 'region_name': 'RegionOne', u'baremetal_introspection_status_code_retries': '5', 'api_timeout': None, 'baremetal_api_version': '1.58', 'auth': {'user_domain_name': 'Default', 'project_name': 'admin', 'project_domain_name': 'Default'}, 'default_domain': 'default', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', 'key': None, 'cacert': '/etc/kolla/certificates/ca/haproxy.crt', 'timing': False, 'password': '***', 'key_manager_api_version': '1', u'baremetal_status_code_retries': '5', 'identity_api_version': '3', 'username': 'admin', 'deferred_help': False, 'cert': None, u'secgroup_source': u'neutron', 'debug': True, u'disable_vendor_agent': {}}
command: project list -> openstackclient.identity.v3.project.ListProject (auth=True)
Auth plugin password selected
auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'image_status_code_retries': '5', 'orchestration_api_version': '1', u'interface': 'internal', 'auth_url': 'http://172.28.131.100:35357/v3', 'additional_user_agent': [('osc-lib', '1.14.1')], u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], 'verify': True, 'placement_api_version': '1', u'object_store_api_version': u'1', u'status': u'active', 'loadbalancer_api_version': '2.0', 'verbose_level': 3, 'region_name': 'RegionOne', u'baremetal_introspection_status_code_retries': '5', 'api_timeout': None, 'baremetal_api_version': '1.58', 'auth': {'user_domain_name': 'Default', 'project_name': 'admin', 'project_domain_name': 'Default'}, 'default_domain': 'default', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', 'key': None, 'cacert': '/etc/kolla/certificates/ca/haproxy.crt', 'timing': False, 'password': '***', 'key_manager_api_version': '1', u'baremetal_status_code_retries': '5', 'identity_api_version': '3', 'username': 'admin', 'deferred_help': False, 'cert': None, u'secgroup_source': u'neutron', 'debug': True, u'disable_vendor_agent': {}}
Using auth plugin: password
Using parameters {'username': 'admin', 'project_name': 'admin', 'user_domain_name': 'Default', 'auth_url': 'http://172.28.131.100:35357/v3', 'password': '***', 'project_domain_name': 'Default'}
Get auth_ref
REQ: curl -g -i --cacert "/etc/kolla/certificates/ca/haproxy.crt" -X GET http://172.28.131.100:35357/v3 -H "Accept: application/json" -H "User-Agent: openstacksdk/0.36.5 keystoneauth1/3.17.4 python-requests/2.21.0 CPython/2.7.5"
Starting new HTTP connection (1): 172.28.131.100:35357
http://172.28.131.100:35357 "GET /v3 HTTP/1.1" 200 255
RESP: [200] Content-Length: 255 Content-Type: application/json Date: Tue, 28 Jun 2022 11:54:12 GMT Server: Apache Vary: X-Auth-Token x-openstack-request-id: req-e9d559f8-b26c-4f3e-9261-7a75b9be240b
RESP BODY: {"version": {"status": "stable", "updated": "2019-07-19T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.13", "links": [{"href": "http://172.28.131.100:35357/v3/", "rel": "self"}]}}
GET call to http://172.28.131.100:35357/v3 used request id req-e9d559f8-b26c-4f3e-9261-7a75b9be240b
Making authentication request to http://172.28.131.100:35357/v3/auth/tokens
http://172.28.131.100:35357 "POST /v3/auth/tokens HTTP/1.1" 201 13336
{"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "db24081b19b9402285a9bbb77fca92c6", "name": "admin"}], "expires_at": "2022-06-28T17:54:12.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "82192141b18b4e83bfb404b961e3069c", "name": "admin"}, "catalog": [{"endpoints": [{"url": "http://172.28.131.100:9093", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "3acd0122ccd946ccae3f12e5d93b7a2f"}, {"url": "http://172.28.131.100:9093", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "913bf133d72b419ca3a7f1fd7aa52dc6"}, {"url": "https://172.28.131.101:9093", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "f633ef9781254bfcaf7b61e20a98a011"}], "type": "alarming", "id": "013b3863ee9e4fd88feff309343c81c1", "name": "alertmanager"}, {"endpoints": [{"url": "https://172.28.131.101:9101", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "8eae9bfaedc24a579a645c5a25a53079"}, {"url": "http://172.28.131.100:9101", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "c87e3bd90a5f4cec94b0afd43da347dd"}, {"url": "http://172.28.131.100:9101", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "f4022767673b43209bd06240870fcd86"}], "type": "metric", "id": "02f57ba0b77f4c199268f94a2ff6833b", "name": "prometheus"}, {"endpoints": [{"url": "https://172.28.131.101:8774/v2.1", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "3370fc8831ec4b71b41e6fa04dd5352c"}, {"url": "http://172.28.131.100:8774/v2.1", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "5f270aa1b7b944258ca58ddfbe641b33"}, {"url": "http://172.28.131.100:8774/v2.1", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "8f7be29974dd4337b3df431f1149a2a8"}], "type": "compute", "id": "0bc6d1c978644b719dfdbe4213e22000", "name": "nova"}, {"endpoints": [{"url": "http://172.28.131.100:18084", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "135c2796279143d687ff48116bcd2bbc"}, {"url": "https://172.28.131.101:18084", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "21f88fa912624ef0a37a29005a6afa78"}, {"url": "http://172.28.131.100:18084", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "ebd7951229084d8d830bf290e5b41472"}], "type": "process", "id": "1f82e067435842058b0b4d72ce7ecc0f", "name": "workflow"}, {"endpoints": [{"url": "https://172.28.131.101:9696", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "5ffa751161ec4cb984e65a8e85720760"}, {"url": "http://172.28.131.100:9696", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "df237c99660e4fbeb9da5a1c08fc965f"}, {"url": "http://172.28.131.100:9696", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "e7125bad9759463dae3775149614e022"}], "type": "network", "id": "2604c7a2254d4f66a61f46bd42672c6a", "name": "neutron"}, {"endpoints": [{"url": "https://172.28.131.101:8786/v2/82192141b18b4e83bfb404b961e3069c", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "0c585e2b8c8542e2b42f168cfc4eb309"}, {"url": "http://172.28.131.100:8786/v2/82192141b18b4e83bfb404b961e3069c", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "1a592c5150b543a4a01c2e53cba200f6"}, {"url": "http://172.28.131.100:8786/v2/82192141b18b4e83bfb404b961e3069c", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "937e1f51e443450d9fc426d403a30c2a"}], "type": "sharev2", "id": "260bdadb0b0e455a8d7334939ee86316", "name": "manilav2"}, {"endpoints": [{"url": "http://172.28.131.100:6780", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "01009bada2f743c1aab141ad33cb0f23"}, {"url": "https://172.28.131.101:6780", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "5fb0663b566d49f085443f1272bf9656"}, {"url": "http://172.28.131.100:6780", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "e779527d2b90416c84fcf0f750de5c7e"}], "type": "s3_object_store", "id": "2895f1666d204770851efa8b3cdb627a", "name": "s3"}, {"endpoints": [{"url": "http://172.28.131.100:9311", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "499e4c90994049c5878af0a8d223b8c7"}, {"url": "http://172.28.131.100:9311", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "6ede35e8747146bca1ae9911f02366de"}, {"url": "https://172.28.131.101:9311", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "e7dee9fa99f64cd4940db9251c565352"}], "type": "key-manager", "id": "2ebac57dccff4e63a1f446c0609ce214", "name": "barbican"}, {"endpoints": [{"url": "https://172.28.131.101:8011", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "0fdb18324e6d457f93b46c3e51bc648d"}, {"url": "http://172.28.131.100:8011", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "6a39b2ec6bea481a906d26eaa8a29742"}, {"url": "http://172.28.131.100:8011", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "b90cbe1c062642e5b5ba160ad804e85b"}], "type": "metric_sidecar", "id": "2f5d9aa8c50e42d6be18ad05d80904c8", "name": "prometheus_sidecar"}, {"endpoints": [{"url": "http://172.28.131.100:28000", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "42b16778154d44278cce8ea234195647"}, {"url": "http://172.28.131.100:28000", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "ecb28396207946019ec9890beeb94e6e"}, {"url": "https://172.28.131.101:28000", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "f4b9666ad6aa4e3ead270813ca98df50"}], "type": "panel", "id": "30abf1ea1083436db487cf52462e8698", "name": "skyline"}, {"endpoints": [{"url": "http://172.28.131.100:9876", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "8175ce6e28db49afac4973672a1cb55e"}, {"url": "https://172.28.131.101:9876", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "861c6b93cd984325abdd94c1abf0ed92"}, {"url": "http://172.28.131.100:9876", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "fa9ae3506bdc472ebac2d2d0acdc61b8"}], "type": "load-balancer", "id": "36ae1a931ee54fee84ffd9fc6771f382", "name": "octavia"}, {"endpoints": [{"url": "https://172.28.131.101:8004/v1/82192141b18b4e83bfb404b961e3069c", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "761e26e1496c423f844d61778b370b1d"}, {"url": "http://172.28.131.100:8004/v1/82192141b18b4e83bfb404b961e3069c", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "d2f1f96d2e764ca995cf16337c99d43d"}, {"url": "http://172.28.131.100:8004/v1/82192141b18b4e83bfb404b961e3069c", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "f9dfe20beb534e3797fa9531a1a2dbb0"}], "type": "orchestration", "id": "376558017a1a4d55a2f76db1384910da", "name": "heat"}, {"endpoints": [{"url": "http://172.28.131.100:9292", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "18fb8c01e62547ca92601fe5656b9ae5"}, {"url": "http://172.28.131.100:9292", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "2601ea5c545d4a3a8106537ccccc3cc2"}, {"url": "https://172.28.131.101:9292", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "e685ad31d222440eabbd3f189a62e05f"}], "type": "image", "id": "3e219a50ecf1444db2bea1b0deedeebc", "name": "glance"}, {"endpoints": [{"url": "https://172.28.131.101:8786/v1/82192141b18b4e83bfb404b961e3069c", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "0e86e814068441db8922289343a7d58a"}, {"url": "http://172.28.131.100:8786/v1/82192141b18b4e83bfb404b961e3069c", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "4c8dbc20752540f391e7fec3bd8f7140"}, {"url": "http://172.28.131.100:8786/v1/82192141b18b4e83bfb404b961e3069c", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "8b71144a9eb4493490d7f0bda93e2fa8"}], "type": "share", "id": "3f8d36c5290344cf95b53d4eec5de9fd", "name": "manila"}, {"endpoints": [{"url": "https://172.28.131.101:18879/v1.0", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "03788ee0ee07459fb434c18b0341df98"}, {"url": "http://172.28.131.100:18879/v1.0", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "40938b8929e64269967ca2cfe26f0a00"}, {"url": "http://172.28.131.100:18879/v1.0", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "4944755dc34c4eef8ff243be6dc329bc"}], "type": "rds", "id": "7893d96d696f4e30a134e442a28b9768", "name": "sandstorm"}, {"endpoints": [{"url": "https://172.28.131.101:5000", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "17821cc53a894201a0551c45e75fa3a0"}, {"url": "http://172.28.131.100:5000", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "55219f242a6e49ebb6b9fac3b9633fae"}, {"url": "http://172.28.131.100:35357", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "786413b66b3e4cfc8fa41636e2027945"}], "type": "identity", "id": "945d154638804c61b48869774ed961c2", "name": "keystone"}, {"endpoints": [{"url": "http://172.28.131.100:8776/v3/82192141b18b4e83bfb404b961e3069c", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "0644422a0ba047abbf64e5a5be1ab180"}, {"url": "http://172.28.131.100:8776/v3/82192141b18b4e83bfb404b961e3069c", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "c4db9863b845492d93632b1ea7c433c2"}, {"url": "https://172.28.131.101:8776/v3/82192141b18b4e83bfb404b961e3069c", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "e285012e284244998617d1368ecdf73f"}], "type": "volumev3", "id": "a32f2889152f463b91487c6dae020024", "name": "cinderv3"}, {"endpoints": [{"url": "https://172.28.131.101:8977", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "05cb3b66231549379d5ae8dfbea77d12"}, {"url": "http://172.28.131.100:8977", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "2e1b151539b04f309b780c3a2dccf3b9"}, {"url": "http://172.28.131.100:8977", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "90e7d3d0d76944b89dfd48c9a00a68ae"}], "type": "event", "id": "a5372d763e58400d8acd3efddaf84e44", "name": "panko"}, {"endpoints": [{"url": "http://172.28.131.100:8780", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "2a397f8b5f924967a5e7819d4ceb895d"}, {"url": "https://172.28.131.101:8780", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "d5d50ba38c7a4654b9d202939936763e"}, {"url": "http://172.28.131.100:8780", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "e876442fbee4481e965b7a79ced1b120"}], "type": "placement", "id": "acec3b1769e04829a60f2673b23b7259", "name": "placement"}, {"endpoints": [{"url": "http://172.28.131.100:18080", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "5e7943087d184b00b6a4c41555b1775d"}, {"url": "https://172.28.131.101:18080", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "7c4a2361fb1740b4ae041abb9040796d"}, {"url": "http://172.28.131.100:18080", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "b1399562304b4eb08837d3cec1d41bc9"}], "type": "letter", "id": "bdc3c86cc19f4cfd9047da53243c8b71", "name": "courier"}, {"endpoints": [{"url": "http://172.28.131.100:18081", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "36b49c8e5a064f2e9445de08fcd284b4"}, {"url": "http://172.28.131.100:18081", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "5110b4588dde41558e7823157084f166"}, {"url": "https://172.28.131.101:18081", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "5bdcca994f1d4423b69f40c047a837b6"}], "type": "cronjob", "id": "ce42bf97a24343a68ed6c86508767eb5", "name": "gocron"}, {"endpoints": [{"url": "http://172.28.131.100:18083", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "2af4d68eb73a4a44b4dcc77f7c8aebb9"}, {"url": "https://172.28.131.101:18083", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "8cfd8738e4a04ce7b23a83a0040e3044"}, {"url": "http://172.28.131.100:18083", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "ccc5fc955c9540a3bc96b00aa9addcb6"}], "type": "charging", "id": "d90f254bad1144b9b5da715b52fdb5fb", "name": "billing_system"}], "user": {"domain": {"id": "default", "name": "Default"}, "password_expires_at": null, "name": "admin", "id": "a22de28158964d659252ed7901f184e8"}, "audit_ids": ["A80TKYdZTjuotY2CS6MIRA"], "issued_at": "2022-06-28T11:54:12.000000Z"}}
run(Namespace(columns=[], domain=None, fit_width=False, formatter='table', long=False, max_width=0, my_projects=False, noindent=False, not_tags=None, not_tags_any=None, print_empty=False, quote_mode='nonnumeric', sort=None, sort_columns=[], tags=None, tags_any=None, user=None))
Instantiating identity client: <class 'keystoneclient.v3.client.Client'>
Making authentication request to http://172.28.131.100:35357/v3/auth/tokens
http://172.28.131.100:35357 "POST /v3/auth/tokens HTTP/1.1" 201 13336
{"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "db24081b19b9402285a9bbb77fca92c6", "name": "admin"}], "expires_at": "2022-06-28T17:54:12.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "82192141b18b4e83bfb404b961e3069c", "name": "admin"}, "catalog": [{"endpoints": [{"url": "http://172.28.131.100:9093", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "3acd0122ccd946ccae3f12e5d93b7a2f"}, {"url": "http://172.28.131.100:9093", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "913bf133d72b419ca3a7f1fd7aa52dc6"}, {"url": "https://172.28.131.101:9093", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "f633ef9781254bfcaf7b61e20a98a011"}], "type": "alarming", "id": "013b3863ee9e4fd88feff309343c81c1", "name": "alertmanager"}, {"endpoints": [{"url": "https://172.28.131.101:9101", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "8eae9bfaedc24a579a645c5a25a53079"}, {"url": "http://172.28.131.100:9101", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "c87e3bd90a5f4cec94b0afd43da347dd"}, {"url": "http://172.28.131.100:9101", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "f4022767673b43209bd06240870fcd86"}], "type": "metric", "id": "02f57ba0b77f4c199268f94a2ff6833b", "name": "prometheus"}, {"endpoints": [{"url": "https://172.28.131.101:8774/v2.1", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "3370fc8831ec4b71b41e6fa04dd5352c"}, {"url": "http://172.28.131.100:8774/v2.1", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "5f270aa1b7b944258ca58ddfbe641b33"}, {"url": "http://172.28.131.100:8774/v2.1", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "8f7be29974dd4337b3df431f1149a2a8"}], "type": "compute", "id": "0bc6d1c978644b719dfdbe4213e22000", "name": "nova"}, {"endpoints": [{"url": "http://172.28.131.100:18084", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "135c2796279143d687ff48116bcd2bbc"}, {"url": "https://172.28.131.101:18084", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "21f88fa912624ef0a37a29005a6afa78"}, {"url": "http://172.28.131.100:18084", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "ebd7951229084d8d830bf290e5b41472"}], "type": "process", "id": "1f82e067435842058b0b4d72ce7ecc0f", "name": "workflow"}, {"endpoints": [{"url": "https://172.28.131.101:9696", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "5ffa751161ec4cb984e65a8e85720760"}, {"url": "http://172.28.131.100:9696", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "df237c99660e4fbeb9da5a1c08fc965f"}, {"url": "http://172.28.131.100:9696", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "e7125bad9759463dae3775149614e022"}], "type": "network", "id": "2604c7a2254d4f66a61f46bd42672c6a", "name": "neutron"}, {"endpoints": [{"url": "https://172.28.131.101:8786/v2/82192141b18b4e83bfb404b961e3069c", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "0c585e2b8c8542e2b42f168cfc4eb309"}, {"url": "http://172.28.131.100:8786/v2/82192141b18b4e83bfb404b961e3069c", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "1a592c5150b543a4a01c2e53cba200f6"}, {"url": "http://172.28.131.100:8786/v2/82192141b18b4e83bfb404b961e3069c", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "937e1f51e443450d9fc426d403a30c2a"}], "type": "sharev2", "id": "260bdadb0b0e455a8d7334939ee86316", "name": "manilav2"}, {"endpoints": [{"url": "http://172.28.131.100:6780", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "01009bada2f743c1aab141ad33cb0f23"}, {"url": "https://172.28.131.101:6780", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "5fb0663b566d49f085443f1272bf9656"}, {"url": "http://172.28.131.100:6780", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "e779527d2b90416c84fcf0f750de5c7e"}], "type": "s3_object_store", "id": "2895f1666d204770851efa8b3cdb627a", "name": "s3"}, {"endpoints": [{"url": "http://172.28.131.100:9311", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "499e4c90994049c5878af0a8d223b8c7"}, {"url": "http://172.28.131.100:9311", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "6ede35e8747146bca1ae9911f02366de"}, {"url": "https://172.28.131.101:9311", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "e7dee9fa99f64cd4940db9251c565352"}], "type": "key-manager", "id": "2ebac57dccff4e63a1f446c0609ce214", "name": "barbican"}, {"endpoints": [{"url": "https://172.28.131.101:8011", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "0fdb18324e6d457f93b46c3e51bc648d"}, {"url": "http://172.28.131.100:8011", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "6a39b2ec6bea481a906d26eaa8a29742"}, {"url": "http://172.28.131.100:8011", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "b90cbe1c062642e5b5ba160ad804e85b"}], "type": "metric_sidecar", "id": "2f5d9aa8c50e42d6be18ad05d80904c8", "name": "prometheus_sidecar"}, {"endpoints": [{"url": "http://172.28.131.100:28000", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "42b16778154d44278cce8ea234195647"}, {"url": "http://172.28.131.100:28000", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "ecb28396207946019ec9890beeb94e6e"}, {"url": "https://172.28.131.101:28000", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "f4b9666ad6aa4e3ead270813ca98df50"}], "type": "panel", "id": "30abf1ea1083436db487cf52462e8698", "name": "skyline"}, {"endpoints": [{"url": "http://172.28.131.100:9876", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "8175ce6e28db49afac4973672a1cb55e"}, {"url": "https://172.28.131.101:9876", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "861c6b93cd984325abdd94c1abf0ed92"}, {"url": "http://172.28.131.100:9876", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "fa9ae3506bdc472ebac2d2d0acdc61b8"}], "type": "load-balancer", "id": "36ae1a931ee54fee84ffd9fc6771f382", "name": "octavia"}, {"endpoints": [{"url": "https://172.28.131.101:8004/v1/82192141b18b4e83bfb404b961e3069c", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "761e26e1496c423f844d61778b370b1d"}, {"url": "http://172.28.131.100:8004/v1/82192141b18b4e83bfb404b961e3069c", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "d2f1f96d2e764ca995cf16337c99d43d"}, {"url": "http://172.28.131.100:8004/v1/82192141b18b4e83bfb404b961e3069c", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "f9dfe20beb534e3797fa9531a1a2dbb0"}], "type": "orchestration", "id": "376558017a1a4d55a2f76db1384910da", "name": "heat"}, {"endpoints": [{"url": "http://172.28.131.100:9292", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "18fb8c01e62547ca92601fe5656b9ae5"}, {"url": "http://172.28.131.100:9292", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "2601ea5c545d4a3a8106537ccccc3cc2"}, {"url": "https://172.28.131.101:9292", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "e685ad31d222440eabbd3f189a62e05f"}], "type": "image", "id": "3e219a50ecf1444db2bea1b0deedeebc", "name": "glance"}, {"endpoints": [{"url": "https://172.28.131.101:8786/v1/82192141b18b4e83bfb404b961e3069c", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "0e86e814068441db8922289343a7d58a"}, {"url": "http://172.28.131.100:8786/v1/82192141b18b4e83bfb404b961e3069c", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "4c8dbc20752540f391e7fec3bd8f7140"}, {"url": "http://172.28.131.100:8786/v1/82192141b18b4e83bfb404b961e3069c", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "8b71144a9eb4493490d7f0bda93e2fa8"}], "type": "share", "id": "3f8d36c5290344cf95b53d4eec5de9fd", "name": "manila"}, {"endpoints": [{"url": "https://172.28.131.101:18879/v1.0", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "03788ee0ee07459fb434c18b0341df98"}, {"url": "http://172.28.131.100:18879/v1.0", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "40938b8929e64269967ca2cfe26f0a00"}, {"url": "http://172.28.131.100:18879/v1.0", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "4944755dc34c4eef8ff243be6dc329bc"}], "type": "rds", "id": "7893d96d696f4e30a134e442a28b9768", "name": "sandstorm"}, {"endpoints": [{"url": "https://172.28.131.101:5000", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "17821cc53a894201a0551c45e75fa3a0"}, {"url": "http://172.28.131.100:5000", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "55219f242a6e49ebb6b9fac3b9633fae"}, {"url": "http://172.28.131.100:35357", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "786413b66b3e4cfc8fa41636e2027945"}], "type": "identity", "id": "945d154638804c61b48869774ed961c2", "name": "keystone"}, {"endpoints": [{"url": "http://172.28.131.100:8776/v3/82192141b18b4e83bfb404b961e3069c", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "0644422a0ba047abbf64e5a5be1ab180"}, {"url": "http://172.28.131.100:8776/v3/82192141b18b4e83bfb404b961e3069c", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "c4db9863b845492d93632b1ea7c433c2"}, {"url": "https://172.28.131.101:8776/v3/82192141b18b4e83bfb404b961e3069c", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "e285012e284244998617d1368ecdf73f"}], "type": "volumev3", "id": "a32f2889152f463b91487c6dae020024", "name": "cinderv3"}, {"endpoints": [{"url": "https://172.28.131.101:8977", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "05cb3b66231549379d5ae8dfbea77d12"}, {"url": "http://172.28.131.100:8977", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "2e1b151539b04f309b780c3a2dccf3b9"}, {"url": "http://172.28.131.100:8977", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "90e7d3d0d76944b89dfd48c9a00a68ae"}], "type": "event", "id": "a5372d763e58400d8acd3efddaf84e44", "name": "panko"}, {"endpoints": [{"url": "http://172.28.131.100:8780", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "2a397f8b5f924967a5e7819d4ceb895d"}, {"url": "https://172.28.131.101:8780", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "d5d50ba38c7a4654b9d202939936763e"}, {"url": "http://172.28.131.100:8780", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "e876442fbee4481e965b7a79ced1b120"}], "type": "placement", "id": "acec3b1769e04829a60f2673b23b7259", "name": "placement"}, {"endpoints": [{"url": "http://172.28.131.100:18080", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "5e7943087d184b00b6a4c41555b1775d"}, {"url": "https://172.28.131.101:18080", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "7c4a2361fb1740b4ae041abb9040796d"}, {"url": "http://172.28.131.100:18080", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "b1399562304b4eb08837d3cec1d41bc9"}], "type": "letter", "id": "bdc3c86cc19f4cfd9047da53243c8b71", "name": "courier"}, {"endpoints": [{"url": "http://172.28.131.100:18081", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "36b49c8e5a064f2e9445de08fcd284b4"}, {"url": "http://172.28.131.100:18081", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "5110b4588dde41558e7823157084f166"}, {"url": "https://172.28.131.101:18081", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "5bdcca994f1d4423b69f40c047a837b6"}], "type": "cronjob", "id": "ce42bf97a24343a68ed6c86508767eb5", "name": "gocron"}, {"endpoints": [{"url": "http://172.28.131.100:18083", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "2af4d68eb73a4a44b4dcc77f7c8aebb9"}, {"url": "https://172.28.131.101:18083", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "8cfd8738e4a04ce7b23a83a0040e3044"}, {"url": "http://172.28.131.100:18083", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "ccc5fc955c9540a3bc96b00aa9addcb6"}], "type": "charging", "id": "d90f254bad1144b9b5da715b52fdb5fb", "name": "billing_system"}], "user": {"domain": {"id": "default", "name": "Default"}, "password_expires_at": null, "name": "admin", "id": "a22de28158964d659252ed7901f184e8"}, "audit_ids": ["pOEpB8FOSMOlefodvsYNMg"], "issued_at": "2022-06-28T11:54:12.000000Z"}}
REQ: curl -g -i --cacert "/etc/kolla/certificates/ca/haproxy.crt" -X GET http://172.28.131.100:5000 -H "Accept: application/json" -H "User-Agent: openstacksdk/0.36.5 keystoneauth1/3.17.4 python-requests/2.21.0 CPython/2.7.5"
Starting new HTTP connection (1): 172.28.131.100:5000
http://172.28.131.100:5000 "GET / HTTP/1.1" 300 269
RESP: [300] Content-Length: 269 Content-Type: application/json Date: Tue, 28 Jun 2022 11:54:12 GMT Location: http://172.28.131.100:5000/v3/ Server: Apache Vary: X-Auth-Token x-openstack-request-id: req-30bff28e-352a-4410-bb11-4b6907d9eaac
RESP BODY: {"versions": {"values": [{"status": "stable", "updated": "2019-07-19T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.13", "links": [{"href": "http://172.28.131.100:5000/v3/", "rel": "self"}]}]}}
GET call to http://172.28.131.100:5000/ used request id req-30bff28e-352a-4410-bb11-4b6907d9eaac
REQ: curl -g -i --cacert "/etc/kolla/certificates/ca/haproxy.crt" -X GET http://172.28.131.100:5000/v3/projects? -H "Accept: application/json" -H "User-Agent: python-keystoneclient" -H "X-Auth-Token: {SHA256}813dedbabdb6ff22612a9a0bc920b3ad03afde4301d98f75189c67df6aa3ea19"
http://172.28.131.100:5000 "GET /v3/projects HTTP/1.1" 200 6961
RESP: [200] Content-Length: 6961 Content-Type: application/json Date: Tue, 28 Jun 2022 11:54:12 GMT Server: Apache Vary: X-Auth-Token x-openstack-request-id: req-7cb664ef-01f8-4801-be00-855fbdc3ff11
RESP BODY: {"links": {"self": "http://172.28.131.100:5000/v3/projects", "previous": null, "next": null}, "projects": [{"is_domain": false, "description": "\u7eaf\u5e95\u5c42\u9879\u76ee\uff0c\u65e0\u9700\u771f\u5b9e\u7528\u6237\u7ba1\u7406", "project_self_managed": false, "tags": ["\u5e73\u53f0\u5e95\u5c42\u7cfb\u7edf\u9879\u76ee"], "enabled": true, "links": {"self": "http://172.28.131.100:5000/v3/projects/265949ab384043dd8e50d05d813e795d"}, "id": "265949ab384043dd8e50d05d813e795d", "parent_id": "default", "options": {}, "domain_id": "default", "name": "service"}, {"is_domain": false, "description": "", "project_self_managed": false, "tags": [], "enabled": true, "links": {"self": "http://172.28.131.100:5000/v3/projects/3c687182a03e4dcaaa344404cf2579e7"}, "id": "3c687182a03e4dcaaa344404cf2579e7", "parent_id": "default", "options": {}, "domain_id": "default", "name": "\u9ec4\u6cb3\u521b\u65b0"}, {"is_domain": false, "description": "", "project_self_managed": false, "tags": [], "enabled": true, "links": {"self": "http://172.28.131.100:5000/v3/projects/3f5a868587734d17b73d2a6c731d4a0e"}, "id": "3f5a868587734d17b73d2a6c731d4a0e", "parent_id": "default", "options": {}, "domain_id": "default", "name": "\u9ad8\u901a\u7269\u8054\u7f51"}, {"is_domain": false, "description": "", "project_self_managed": true, "tags": [], "enabled": true, "links": {"self": "http://172.28.131.100:5000/v3/projects/3fad979c07d14056abba344b532f55ad"}, "id": "3fad979c07d14056abba344b532f55ad", "parent_id": "default", "options": {}, "domain_id": "default", "name": "99test"}, {"is_domain": false, "description": "", "project_self_managed": false, "tags": [], "enabled": true, "links": {"self": "http://172.28.131.100:5000/v3/projects/4d01a7ec6283407db37e9c3e77109d99"}, "id": "4d01a7ec6283407db37e9c3e77109d99", "parent_id": "default", "options": {}, "domain_id": "default", "name": "\u6d4b\u8bd5\u4f01\u4e1a02"}, {"is_domain": false, "description": "", "project_self_managed": false, "tags": [], "enabled": true, "links": {"self": "http://172.28.131.100:5000/v3/projects/756b7b9422234dfbbadbd11d11189d2f"}, "id": "756b7b9422234dfbbadbd11d11189d2f", "parent_id": "default", "options": {}, "domain_id": "default", "name": "\u535a\u601d\u8f6f\u4ef6"}, {"is_domain": false, "description": "Bootstrap project for initializing the cloud.", "links": {"self": "http://172.28.131.100:5000/v3/projects/82192141b18b4e83bfb404b961e3069c"}, "tags": ["\u5e73\u53f0\u7ba1\u7406\u9879\u76ee"], "enabled": true, "id": "82192141b18b4e83bfb404b961e3069c", "parent_id": "default", "options": {}, "domain_id": "default", "name": "admin"}, {"is_domain": false, "description": "", "project_self_managed": true, "tags": [], "enabled": true, "links": {"self": "http://172.28.131.100:5000/v3/projects/894400c25cd84242bcca53722b212e14"}, "id": "894400c25cd84242bcca53722b212e14", "parent_id": "default", "options": {}, "domain_id": "default", "name": "\u6c47\u878d\u79d1\u670d"}, {"is_domain": false, "description": "\u4e00\u8fdb\u5236", "project_self_managed": false, "tags": [], "enabled": true, "links": {"self": "http://172.28.131.100:5000/v3/projects/92ec628a553c4470955e1af9da4bf4b1"}, "id": "92ec628a553c4470955e1af9da4bf4b1", "parent_id": "default", "options": {}, "domain_id": "default", "name": "\u5907\u4efd\u6d4b\u8bd5"}, {"is_domain": false, "description": "", "project_self_managed": false, "tags": [], "enabled": true, "links": {"self": "http://172.28.131.100:5000/v3/projects/b109eca7b85647d498380095eebd7dd0"}, "id": "b109eca7b85647d498380095eebd7dd0", "parent_id": "default", "options": {}, "domain_id": "default", "name": "\u8c6b\u4fe1\u7535\u79d1"}, {"is_domain": false, "description": "", "project_self_managed": false, "tags": [], "enabled": true, "links": {"self": "http://172.28.131.100:5000/v3/projects/b363f0627a29478db9dabd36212a8e7d"}, "id": "b363f0627a29478db9dabd36212a8e7d", "parent_id": "default", "options": {}, "domain_id": "default", "name": "\u8c6b\u4fe1\u79d1\u670d"}, {"is_domain": false, "description": "", "links": {"self": "http://172.28.131.100:5000/v3/projects/bbe1dd4bf517465e8deb0de1c16b25a2"}, "tags": [], "enabled": true, "id": "bbe1dd4bf517465e8deb0de1c16b25a2", "parent_id": "default", "options": {}, "domain_id": "default", "name": "\u6d4b\u8bd5\u4f01\u4e1a"}, {"is_domain": false, "description": "TENANT_shenpengyuan_1655972859951", "links": {"self": "http://172.28.131.100:5000/v3/projects/c0078524da594b75bd20309a4bc1f1f2"}, "tags": [], "enabled": true, "id": "c0078524da594b75bd20309a4bc1f1f2", "parent_id": "default", "options": {}, "domain_id": "default", "name": "TENANT_shenpengyuan_1655972859951"}, {"is_domain": false, "description": "", "project_self_managed": false, "tags": [], "enabled": true, "links": {"self": "http://172.28.131.100:5000/v3/projects/c185c04408a344bf9463f3ec962c49b1"}, "id": "c185c04408a344bf9463f3ec962c49b1", "parent_id": "default", "options": {}, "domain_id": "default", "name": "\u6cb3\u5357\u9f0e\u4fe1"}, {"is_domain": false, "description": "", "project_self_managed": false, "tags": [], "enabled": true, "links": {"self": "http://172.28.131.100:5000/v3/projects/c7e0e2f329384951a1d636ca7e1b8e31"}, "id": "c7e0e2f329384951a1d636ca7e1b8e31", "parent_id": "default", "options": {}, "domain_id": "default", "name": "\u4e2d\u5e73\u4e91\u80fd"}, {"is_domain": false, "description": "TENANT_wyf1_1655815585050", "links": {"self": "http://172.28.131.100:5000/v3/projects/cb35f8f2504c42b0bdd9fc590efd39cf"}, "tags": [], "enabled": true, "id": "cb35f8f2504c42b0bdd9fc590efd39cf", "parent_id": "default", "options": {}, "domain_id": "default", "name": "TENANT_wyf1_1655815585050"}, {"is_domain": false, "description": "TENANT_chenxiqiang_1652235138629", "project_self_managed": false, "tags": [], "enabled": true, "links": {"self": "http://172.28.131.100:5000/v3/projects/d074f81add4c453a9097a68abafed81b"}, "id": "d074f81add4c453a9097a68abafed81b", "parent_id": "default", "options": {}, "domain_id": "default", "name": "\u9648\u559c\u5f3a"}, {"is_domain": false, "description": "TENANT_chenxiqiang_1655858284959", "links": {"self": "http://172.28.131.100:5000/v3/projects/d48773fda50942b49c405937ca8f6668"}, "tags": [], "enabled": true, "id": "d48773fda50942b49c405937ca8f6668", "parent_id": "default", "options": {}, "domain_id": "default", "name": "TENANT_chenxiqiang_1655858284959"}, {"is_domain": false, "description": "", "project_self_managed": false, "tags": [], "enabled": true, "links": {"self": "http://172.28.131.100:5000/v3/projects/e7935226c3774e90aba79ef53d6278f4"}, "id": "e7935226c3774e90aba79ef53d6278f4", "parent_id": "default", "options": {}, "domain_id": "default", "name": "\u7b80\u4fe1\u8f6f\u4ef6"}, {"is_domain": false, "description": "wyf", "links": {"self": "http://172.28.131.100:5000/v3/projects/e98ddc60439a4196b1185233574ab4bd"}, "tags": [], "enabled": true, "id": "e98ddc60439a4196b1185233574ab4bd", "parent_id": "default", "options": {}, "domain_id": "default", "name": "\u738b\u4e91\u98de1"}]}

GET call to identity for http://172.28.131.100:5000/v3/projects used request id req-7cb664ef-01f8-4801-be00-855fbdc3ff11
'ascii' codec can't encode characters in position 0-7: ordinal not in range(128)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 401, in run_subcommand
    result = cmd.run(parsed_args)
  File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
    return super(Command, self).run(parsed_args)
  File "/usr/lib/python2.7/site-packages/cliff/display.py", line 116, in run
    column_names, data = self.take_action(parsed_args)
  File "/usr/lib/python2.7/site-packages/openstackclient/identity/v3/project.py", line 255, in take_action
    data = identity_client.projects.list(**kwargs)
  File "/usr/lib/python2.7/site-packages/keystoneclient/v3/projects.py", line 152, in list
    p.tags = self._encode_tags(getattr(p, 'tags', []))
  File "/usr/lib/python2.7/site-packages/keystoneclient/v3/projects.py", line 274, in _encode_tags
    return [str(t) for t in tags]
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-7: ordinal not in range(128)
clean_up ListProject: 'ascii' codec can't encode characters in position 0-7: ordinal not in range(128)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 136, in run
    ret_val = super(OpenStackShell, self).run(argv)
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 281, in run
    result = self.run_subcommand(remainder)
  File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 176, in run_subcommand
    ret_value = super(OpenStackShell, self).run_subcommand(argv)
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 401, in run_subcommand
    result = cmd.run(parsed_args)
  File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
    return super(Command, self).run(parsed_args)
  File "/usr/lib/python2.7/site-packages/cliff/display.py", line 116, in run
    column_names, data = self.take_action(parsed_args)
  File "/usr/lib/python2.7/site-packages/openstackclient/identity/v3/project.py", line 255, in take_action
    data = identity_client.projects.list(**kwargs)
  File "/usr/lib/python2.7/site-packages/keystoneclient/v3/projects.py", line 152, in list
    p.tags = self._encode_tags(getattr(p, 'tags', []))
  File "/usr/lib/python2.7/site-packages/keystoneclient/v3/projects.py", line 274, in _encode_tags
    return [str(t) for t in tags]
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-7: ordinal not in range(128)

END return value: 1

description: updated
Revision history for this message
Wu Wenxiang (wu-wenxiang) wrote :
Changed in python-keystoneclient:
assignee: nobody → Wu Wenxiang (wu-wenxiang)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.