Activity log for bug #1721554

Date Who What changed Old value New value Message
2017-10-05 14:20:03 Ondrej Vasko bug added bug
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
2017-10-10 16:32:20 Jean-Philippe Evrard openstack-ansible: importance Undecided Low
2017-10-10 16:32:39 Jean-Philippe Evrard openstack-ansible: importance Low Medium
2018-02-06 16:59:27 Jean-Philippe Evrard openstack-ansible: assignee Mohammed Naser (mnaser)
2018-02-06 17:01:38 OpenStack Infra openstack-ansible: status New In Progress
2018-02-07 16:30:37 OpenStack Infra openstack-ansible: status In Progress Fix Released