Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
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"
OSP11 -> OSP12 upgrade: major-upgrade-composable-steps-docker fails "The cond...
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates (Show other bugs)
12.0 (Pike)
Unspecified Unspecified
high Severity urgent
: beta
: 12.0 (Pike)
Assigned To: Angus Thomas
Marius Cornea
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-09-11 07:49 EDT by Marius Cornea
Modified: 2018-02-05 14:12 EST (History)
8 users (show)

See Also:
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 17:08:14 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
OpenStack gerrit 501189 None None None 2017-09-11 08:13 EDT
OpenStack gerrit 501715 None None None 2017-09-11 08:45 EDT
Red Hat Product Errata RHEA-2017:3462 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-15 20:43:25 EST

  None (edit)
Description Marius Cornea 2017-09-11 07:49:18 EDT
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 17:08:14 EST
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.