Bug 1586132 - OSP13 minor update: docker/services/pacemaker/ovn-dbs.yaml is missing update_tasks
Summary: OSP13 minor update: docker/services/pacemaker/ovn-dbs.yaml is missing update_...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: z1
: 13.0 (Queens)
Assignee: Numan Siddique
QA Contact: Raviv Bar-Tal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-05 14:52 UTC by Marius Cornea
Modified: 2022-07-09 11:47 UTC (History)
11 users (show)

Fixed In Version: openstack-tripleo-heat-templates-8.0.2-39
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-19 14:27:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 573411 0 None master: MERGED tripleo-heat-templates: Add missing 'update_tasks' to the OVN dbs pacemaker service (Idbda3bedff57376b74269ab3470d2324b8... 2018-06-29 13:25:12 UTC
OpenStack gerrit 576085 0 None stable/queens: MERGED tripleo-heat-templates: Add missing 'update_tasks' to the OVN dbs pacemaker service (Idbda3bedff57376b74269ab3470d2324b8... 2018-06-29 13:39:49 UTC
Red Hat Issue Tracker OSP-17256 0 None None None 2022-07-09 11:47:12 UTC
Red Hat Product Errata RHSA-2018:2214 0 None None None 2018-07-19 14:28:01 UTC

Description Marius Cornea 2018-06-05 14:52:26 UTC
Description of problem:

http://git.openstack.org/cgit/openstack/tripleo-heat-templates/tree/docker/services/pacemaker/ovn-dbs.yaml is missing update_tasks so the minor update process doesn't load the new image for ovn-dbs-bundle-docker containers after minor update process has completed.

Comment 2 Numan Siddique 2018-06-07 07:29:12 UTC
Can you please share the commands to run a minor stack update ?

Comment 3 Numan Siddique 2018-06-07 18:51:24 UTC
On a OSP13 OVN deployment,

1. I first ran the below command to prepare the update 

$openstack overcloud update prepare \
--timeout 100 \
--templates /usr/share/openstack-tripleo-heat-templates \
--stack overcloud \
--libvirt-type kvm \
--ntp-server clock.redhat.com \
-e /home/stack/virt/config_lvm.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 /usr/share/openstack-tripleo-heat-templates/environments/services-docker/neutron-ovn-ha.yaml \
-e /home/stack/virt/nodes_data.yaml \
-e /home/stack/virt/extra_templates.yaml \
-e /home/stack/virt/docker-images.yaml \
--container-registry-file /home/stack/virt/docker-images.yaml \
--log-file overcloud_deployment_update_prep.log


2. Then I ran the below command to run the update

$openstack overcloud update run  --nodes Controller --playbook all

And I am getting the below error always. I tested without my fix in 
 docker/services/pacemaker/ovn_dbs.yaml and with my fix.

http://pastebin.test.redhat.com/600905


Am I doing anything wrong here ?

Can you please provide the steps you run to update the stack.

Thanks

Comment 4 Marius Cornea 2018-06-07 18:57:45 UTC
The error looks to me like missing ansible-pacemaker module which is done by the undercloud update(pre-requisite for the overcloud update).

The minor update steps are documented here:
https://docs.google.com/document/d/1ArKKxlJE_ggHo-mU_IIrtr-dqy05-2peKBPbFtNrwZQ/edit

Comment 5 Numan Siddique 2018-06-07 19:26:16 UTC
Thanks for sharing the document.

Comment 22 Raviv Bar-Tal 2018-07-08 11:28:20 UTC
Hi Marius,
I do not see this container "ovn-dbs-bundle-docker" on the overcloud or in the undercloud registry,
Do I need some special deployment command or adding yaml files to the deploy command in order to use this docker.

Comment 24 Eran Kuris 2018-07-10 05:19:41 UTC
Fix verified :
Minor update from puddle-2018-07-03.3
to puddle 2018-07-06.1/

openstack-tripleo-heat-templates-8.0.2-43.el7ost.noarch

The file exists:
/undercloud-0/usr/share/openstack-tripleo-heat-templates/docker/services/pacemaker/ovn_dbs.yaml


https://rhos-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/DFG/view/network/view/networking-ovn/job/DFG-network-networking-ovn-update-13_director-rhel-virthost-3cont_2comp_2net-ipv4-geneve-composable/22/testReport/

Comment 26 errata-xmlrpc 2018-07-19 14:27:12 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/RHSA-2018:2214


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