Trove install fails with undefined variable errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Undecided
|
Jesse Pretorius |
Bug Description
I set this variable "trove_
fatal: [aio1_trove_
fatal: [aio1_trove_
Changed in openstack-ansible: | |
assignee: | nobody → Ravi Gummadi (ravigumm) |
status: | New → In Progress |
Changed in openstack-ansible: | |
assignee: | Ravi Gummadi (ravigumm) → Jesse Pretorius (jesse-pretorius) |
After making code changes to deal with the above 2 variables' related errors, I got the following error: api_container- 6b789705] : FAILED! => {"failed": true, "msg": "'trove_ service_ project_ domain_ id' is undefined"}
fatal: [aio1_trove_
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.