rpc_rabbitmq_short_bootstrap_node_name' is undefined during upgrades

Bug #1813617 reported by Jose Luis Franco on 2019-01-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
High
Jose Luis Franco

Bug Description

While trying to get the upgrades job tripleo-ci-centos-7-scenario000-multinode-oooq-container-upgrades (master to master) in shape the following error appeared during overcloud upgrade run Controller step:

2019-01-28 14:05:23 | TASK [set is_rpc_rabbitmq_bootstrap_node fact] *********************************
2019-01-28 14:05:23 | task path: /var/lib/mistral/3d6c812c-1a13-4134-b0cd-1228d2c6f252/Controller/upgrade_tasks.yaml:11
2019-01-28 14:05:23 | Monday 28 January 2019 14:05:20 +0000 (0:00:00.208) 0:00:08.878 ********
2019-01-28 14:05:23 | fatal: [centos-7-ovh-bhs1-0002184882]: FAILED! => {
2019-01-28 14:05:23 | "msg": "The task includes an option with an undefined variable. The error was: 'rpc_rabbitmq_short_bootstrap_node_name' is undefined\n\nThe error appears to have been in '/var/lib/mistral/3d6c812c-1a13-4134-b0cd-1228d2c6f252/Controller/upgrade_tasks.yaml': line 11, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n rabbit_containerized: '{{rabbit_kolla_config.stat.isdir | default(false)}}'\n- name: set is_rpc_rabbitmq_bootstrap_node fact\n ^ here\n"

Fix proposed to branch: master
Review: https://review.openstack.org/633754

Changed in tripleo:
status: New → In Progress

Reviewed: https://review.openstack.org/633754
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=ce2ec4af9a236cd809f1c21d7f6f869e3051f505
Submitter: Zuul
Branch: master

commit ce2ec4af9a236cd809f1c21d7f6f869e3051f505
Author: Jose Luis Franco Arza <email address hidden>
Date: Tue Jan 29 15:54:31 2019 +0100

    Correct *_short_bootstrap_node_name variable.

    The pacemaker/notify-rabbitmq.yaml and pacemaker/rpc-rabbitmq.yaml
    services where making use of the *_short_bootstrap_node_name variables
    considering that their service_name matched their template file name.
    However, their service_name is oslo_messaging_rpc and oslo_messaging_notify
    respectively. So the variables weren't found when executing the tasks.

    Change-Id: I3b851a6e8463b1debf56ca8dca201dbac2d8d3c9
    Closes-Bug: #1813617

Changed in tripleo:
status: In Progress → Fix Released

This issue was fixed in the openstack/tripleo-heat-templates 10.4.0 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers