2017-10-05 14:56:21 |
Ondrej Vasko |
description |
Hello OSA,
I am doing upgrade from Ocata (stable/ocata) to Pike (stable/pike) manually by using official guide [1].
When running last step - `openstack-ansible setup-openstack.yml`, the playbook for `os_ceilometer` fails because it has not defined variable `swift_system_comment`.
Now this fails in my environment, where I do not have OS Swift installed but on the other hand I have defined `swift_ceilometer_enabled: false` in `user_variables.yml`.
The play that fails is located in file `os_ceilometer/tasks/ceilometer_pre_install.yml` which in my opinion should respect setting of `swift_ceilometer_enabled`, or if it is necessary to do this task, it should include variables needed for that.
[1] https://docs.openstack.org/openstack-ansible/pike/user/manual-upgrade.html |
Hello OSA,
I am doing upgrade from Ocata (stable/ocata) to Pike (stable/pike) manually by using official guide [1].
When running last step - `openstack-ansible setup-openstack.yml`, the playbook for `os_ceilometer` fails because it has not defined variable `swift_system_comment`.
Now this fails in my environment, where I do not have OS Swift installed but on the other hand I have defined `swift_ceilometer_enabled: false` in `user_variables.yml`.
The play that fails is located in file `os_ceilometer/tasks/ceilometer_pre_install.yml` which in my opinion should respect setting of `swift_ceilometer_enabled`, or if it is necessary to do this task, it should include variables needed for that.
Edit: pasted error log
TASK [os_ceilometer : Create the swift system user and add to ceilometer group] **************************************************************************************************************************************************************
Thursday 05 October 2017 14:12:26 +0200 (0:00:03.248) 1:49:14.169 ******
fatal: [controller2_ceilometer_api_container-535462bf]: FAILED! => {"failed": true, "msg": "the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: 'swift_system_comment' is undefined\n\nThe error appears to have been in '/etc/ansible/roles/os_ceilometer/tasks/ceilometer_pre_install.yml': line 32, 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: Create the swift system user and add to ceilometer group\n ^ here\n"}
[1] https://docs.openstack.org/openstack-ansible/pike/user/manual-upgrade.html |
|