Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1243472

Summary: don't save UpdateIdentifier in tuskar when running package update
Product: Red Hat OpenStack Reporter: Jan Provaznik <jprovazn>
Component: openstack-tripleoAssignee: Jan Provaznik <jprovazn>
Status: CLOSED ERRATA QA Contact: Udi Kalifon <ukalifon>
Severity: unspecified Docs Contact:
Priority: high    
Version: 7.0 (Kilo)CC: akrivoka, calfonso, dmacpher, jprovazn, jslagle, mburns, rhel-osp-director-maint, yeylon, zbitter
Target Milestone: y1Keywords: Triaged, ZStream
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-common-0.0.1.dev6-2.git49b57eb.el7ost Doc Type: Bug Fix
Doc Text:
Updating an Overcloud sets the UpdateIdentifier parameters for each node in the director's Overcloud plan. However, deleting the Overcloud stack and redeploying it results in failure if the UpdateIdentifier parameters are set due to no preset repositories upon deployment. This fix stops the Overcloud from setting the UpdateIdentifier parameter on each node. This results in a successful Overcloud deployment.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-08 12:14:50 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 Jan Provaznik 2015-07-15 14:07:23 UTC
Description of problem:
Currently "overcloud stack update" sets and stores UpdateIdentfier param in tuskar plan. If this parameter is not empty, "yum update" is executed on each OC node. The problem is if overcloud stack is deleted and created again with the same tuskar plan - then this parameter is not reset and "yum update" is triggered on OC stack creation which fails.

The simplest solution is to not to save UpdateIdentifier in Tuskar. Upstream patch:
https://review.openstack.org/#/c/202120/

Comment 5 Udi Kalifon 2015-09-07 18:54:10 UTC
I ran a deployment and failed on a step called UpdateDeployment. On this setup I had a different deployment which I previously deleted (but I never ran an update on the overcloud).

Did I recreate the failure described in this bug or is it something else? How do I know if UpdateIdentifier is set or not, when I'm deploying with the templates (or is this bug not relevant at all if not using tuskar) ?

Comment 6 Jan Provaznik 2015-09-08 06:38:53 UTC
It is possible that the failure was caused by this bug, but I can not confirm this because of lack of information (no logs, no heat resource info...). To provide more info in this particular case, please attach at least output of:

heat stack-show overcloud
heat resource-list -n 5 overcloud
heat deployment-show <id-of-the-failed-UpdateDeployment>

Comment 7 Udi Kalifon 2015-09-08 11:25:00 UTC
Verified: openstack-tripleo-common-0.0.1.dev6-2.git49b57eb.el7ost.noarch

Verified when using tuskar and also with the templates. Verified by deploying the cloud, updating it, undeploying and redeploying the same cloud again.

Comment 9 errata-xmlrpc 2015-10-08 12:14:50 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-2015:1862