Description of problem: Deployment fails at keystone_init_tasks with ascii codec error "Error: Failed to apply catalog: Execution of '/usr/bin/openstack project list --quiet --format csv --long' returned 1: 'ascii' codec can't encode character u'\\u1ea3' in position 2: ordinal not in range" openstack project list --quiet --format csv --long is working fine after upgrading to latest python-cliff package but still deployment fails, suspecting puppet-keystone. Version-Release number of selected component (if applicable): Red Hat OpenStack Platform 12 How reproducible: Always Steps to Reproduce: 1. Have UTF-8 language characters in the description of openstack project 2. deployment fails with the above error Actual results: Deployment fails Expected results: Deployment should succeed and proceed Additional info:
When running a container manually with the image 172.16.4.6:8787/rhosp12/openstack-keystone:12.0-20181206.1 I can replicate this issue if LC_ALL or LANG are set to something which doesn't include UTF-8, so these commands fail: LANG=C openstack project list --format csv --long LC_ALL=C openstack project list --format csv --long LANG=en_US openstack project list --format csv --long but this command works: LANG=en_US.UTF-8 openstack project list --format csv --long I think docker-puppet.py is being invoked without a UTF-8 LANG value set, I'll see if this has been fixed in later releases