tripleo-packages upgrade_task conditional ordering leads to error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Lee Yarwood |
Bug Description
Description
===========
The following error is seen when attempting to run the major upgrade playbook after downloading it via `openstack overcloud config download`:
$ ansible-playbook -i /usr/bin/
[..]
TASK [Upgrade os-net-config] *******
fatal: [192.168.24.15]: FAILED! => {"failed": true, "msg": "The conditional check 'not os_net_
This is due to the following block task attempting to check the value of os_net_
- block:
- name: Upgrade os-net-config
yum: name=os-net-config state=latest
- changed_when: os_net_
command: os-net-config --no-activate -c /etc/os-
failed_when: os_net_
name: take new os-net-config parameters into account now
register: os_net_
tags: step3
when:
- not os_net_
- step|int == 3
This tasks comes from puppet/
The step conditional should always come first for these upgrade_tasks.
[1] https:/
[2] https:/
Steps to reproduce
==================
$ openstack overcloud config download
$ ansible-playbook -i /usr/bin/
Expected result
===============
Upgrade tasks are completed.
Actual result
=============
Upgrade tasks bail out with the above error.
Changed in tripleo: | |
milestone: | none → queens-2 |
importance: | Undecided → High |
Fix proposed to branch: master /review. openstack. org/521060
Review: https:/