Bug 1489307

Summary: OSP11 -> OSP12 upgrade: compute upgrade fails during Stop and disable ceilometer compute agent: dict object' has no attribute 'rc'
Product: Red Hat OpenStack Reporter: Marius Cornea <mcornea>
Component: openstack-tripleo-heat-templatesAssignee: Marius Cornea <mcornea>
Status: CLOSED ERRATA QA Contact: Marius Cornea <mcornea>
Severity: urgent Docs Contact:
Priority: high    
Version: 12.0 (Pike)CC: dbecker, jschluet, mbracho, mbultel, mburns, morazi, rhel-osp-director-maint
Target Milestone: betaKeywords: Triaged
Target Release: 12.0 (Pike)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-7.0.1-0.20170927205938.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-13 22:05:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marius Cornea 2017-09-07 07:42:12 UTC
Description of problem:
OSP11 -> OSP12 upgrade: compute upgrade fails during Stop and disable ceilometer compute agent: dict object' has no attribute 'rc':

TASK [Stop and disable ceilometer compute agent] *******************************
fatal: [192.168.24.13]: FAILED! => {"failed": true, "msg": "The conditional check '(openstack_ceilometer_compute_enabled.rc == 0) and (step|int == 2)' failed. The error was: error while evaluating conditional ((openstack_ceilometer_compute_enabled.rc == 0) and (step|int == 2)): 'dict object' has no attribute 'rc'\n\nThe error appears to have been in '/home/stack/compute-0/tripleo-_hahkO-config/Compute/upgrade_tasks.yaml': line 45, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n  when: step|int == 2\n- name: Stop and disable ceilometer compute agent\n  ^ here\n"}
        to retry, use: --limit @/home/stack/compute-0/tripleo-_hahkO-config/upgrade_steps_playbook.retry


Version-Release number of selected component (if applicable):
openstack-tripleo-heat-templates-7.0.0-0.20170901051303.0rc1.el7ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. Deploy OSP11
2. Upgrade to OSP12, major upgrade composable steps
3. Upgrade to OSP11 compute node

Actual results:
Compute node upgrade fails

Expected results:
Compute node upgrade succeeds

Additional info:

Comment 6 errata-xmlrpc 2017-12-13 22:05:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:3462