non-Ascii Character in user cause director operation to fail
Issue
- When trying to update and deploy more compute nodes we keep getting a failure
- When a user with a non-ASCII character exist, a re-deploy/update/scale operation fail or if the user's email has non-ASCII character
- The following error is seen on the controller within journalctl -u os-collect-config
- Error will also appear in heat resource-show for the failed resource.
Nov 21 20:32:09 controller-0.localdomain os-collect-config[4375]: Error: Execution of '/usr/bin/openstack user create --format shell admin --enable --password hy7juVv7K4FfxFKdwq2E6Ck8p --project admin --email root@localhost' returned 1: ERROR: openstack Conflict occurred attempting to store user - Duplicate Entry (HTTP 409) (Request-ID: req-b6aa1b25-0d0d-47bd-b4da-1f4c2c13afb6)
Nov 21 20:32:09 controller-0.localdomain os-collect-config[4375]: Error: /Stage[main]/Keystone::Roles::Admin/Keystone_user[admin]/ensure: change from absent to present failed: Execution of '/usr/bin/openstack user create --format shell admin --enable --password hy7juVv7K4FfxFKdwq2E6Ck8p --project admin --email root@localhost' returned 1: ERROR: openstack Conflict occurred attempting to store user - Duplicate Entry (HTTP 409) (Request-ID: req-b6aa1b25-0d0d-47bd-b4da-1f4c2c13afb6)
Nov 21 20:32:09-controller-0.localdomain os-collect-config[4375]: Warning: /Stage[main]/Keystone::Roles::Admin/Keystone_user_role[admin@admin]: Skipping because of failed dependencies
Nov 21 20:32:09 controller-0.localdomain os-collect-config[4375]: Warning: /Stage[main]/Heat::Keystone::Domain/Exec[heat_domain_create]: Skipping because of failed dependencies
Nov 21 20:32:09 controller-0.localdomain os-collect-config[4375]: [2016-11-21 20:32:09,165] (heat-config) [ERROR] Error running /var/lib/heat-config/heat-config-puppet/1ec059ef-2081-45b7-b8b0-f2e23428da7f.pp. [6]
Environment
- Red Hat OpenStack Platform 7.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.