After the change https://bugs.launchpad.net/heat/+bug/1488754 https://review.openstack.org/#/c/217050/
we can do stack-list for a tenant with chinese characters, but still can't do other operates such as stack-create, the reason details:
http://paste.openstack.org/show/428109/
Found that when we init the novaclient:
args = {
'project_id': self.context.tenant,
'auth_url': self.context.auth_url,
'auth_token': self.auth_token,
'service_type': self.COMPUTE,
'username': None,
'api_key': None,
'extensions': extensions,
'endpoint_type': endpoint_type,
'http_log_debug': self._get_client_option('nova',
'http_log_debug'),
'cacert': self._get_client_option('nova', 'ca_file'),
'insecure': self._get_client_option('nova', 'insecure')
}
the project_id we set to self.context.tenant, it's incorrect, because the self.context.tenant is the name not id of project.
Some other python-clients have the same problem.
Fix proposed to branch: master /review. openstack. org/217475
Review: https:/