Bug 1490347 - OSP11 -> OSP12 upgrade: major-upgrade-composable-steps-docker fails "The conditional check 'mongod_service.stat.exists' failed. The error was: error while evaluating conditional (mongod_service.stat.exists): 'mongod_service' is undefined"
Summary: OSP11 -> OSP12 upgrade: major-upgrade-composable-steps-docker fails "The cond...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 12.0 (Pike)
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: beta
: 12.0 (Pike)
Assignee: Angus Thomas
QA Contact: Marius Cornea
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-11 11:49 UTC by Marius Cornea
Modified: 2023-02-22 23:02 UTC (History)
7 users (show)

Fixed In Version: openstack-tripleo-heat-templates-7.0.1-0.20170927205938.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-13 22:08:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 501189 0 None None None 2017-09-11 12:13:06 UTC
OpenStack gerrit 501715 0 None None None 2017-09-11 12:45:08 UTC
Red Hat Product Errata RHEA-2017:3462 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-16 01:43:25 UTC

Description Marius Cornea 2017-09-11 11:49:18 UTC
Description of problem:
OSP11 -> OSP12 upgrade: major-upgrade-composable-steps-docker fails "The conditional check 'mongod_service.stat.exists' failed. The error was: error while evaluating conditional (mongod_service.stat.exists): 'mongod_service' is undefined"

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 with 3 controllers, 1 compute, 3 ceph storage nodes
2. Upgrade undercloud to OSP12
3. Run major upgrade composable docker steps to upgrade to containerized architecture:

timeout 100m openstack overcloud deploy \
--templates /usr/share/openstack-tripleo-heat-templates \
--libvirt-type kvm \
--ntp-server clock.redhat.com \
-e /usr/share/openstack-tripleo-heat-templates/environments/ceph-ansible/ceph-ansible.yaml \
-e /home/stack/virt/internal.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml \
-e /home/stack/virt/network/network-environment.yaml \
-e /home/stack/virt/hostnames.yml \
-e /home/stack/virt/debug.yaml \
-e /home/stack/virt/nodes_data.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/docker.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/docker-ha.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/major-upgrade-composable-steps-docker.yaml \
-e /home/stack/ceph-ansible-env.yaml \
-e /home/stack/docker-osp12.yaml \


Actual results:
Upgrade fails on:

    TASK [Stop and disable mongodb service on upgrade] *****************************
    fatal: [localhost]: FAILED! => {"failed": true, "msg": "The conditional check 'mongod_service.stat.exists' failed. The error was: error while evaluating conditional (mongod_service.stat.exists): 'mongod_service' is undefined"}
    	to retry, use: --limit @/var/lib/heat-config/heat-config-ansible/12bd6b75-e971-4816-9e6b-94c761cd78e0_playbook.retry


Expected results:
Upgrade completes ok.

Additional info:
Note: https://review.openstack.org/#/c/501120/ was applied as a workaround for bug 1490288

Comment 6 errata-xmlrpc 2017-12-13 22:08:14 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


Note You need to log in before you can comment on or make changes to this bug.