Comment 1 for bug 1636798

Revision history for this message
Ravi Gummadi (ravigumm) wrote :

After making code changes to deal with the above 2 variables' related errors, I got the following error:
fatal: [aio1_trove_api_container-6b789705]: FAILED! => {"failed": true, "msg": "'trove_service_project_domain_id' is undefined"}

So defined trove_service_project_domain_id and trove_service_user_domain_id in /etc/ansible/roles/os_trove/defaults/main.yml

Next deployment failed with the following error:

fatal: [aio1_trove_api_container-6b789705]: FAILED! => {"failed": true, "msg": "the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: 'trove_regular_user_password' is undefined\n\nThe error appears to have been in '/etc/ansible/roles/os_trove/tasks/trove_service_setup.yml': line 59, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Ensure the trove regular user exists\n ^ here\n"}

So adding passwords related variables of trove to user_secrets.yml in openstack-ansible project.