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

Bug 1593442

Summary: FFU: Minor updates with regexp don't target the right systems, but still reports completion
Product: Red Hat OpenStack Reporter: Chris Janiszewski <cjanisze>
Component: documentationAssignee: Dan Macpherson <dmacpher>
Status: CLOSED CURRENTRELEASE QA Contact: RHOS Documentation Team <rhos-docs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 10.0 (Newton)CC: augol, cjanisze, dmacpher, hbrock, jpichon, jslagle, jstransk, lbezdick, mburns, morazi, srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-02 03:20:38 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:
Attachments:
Description Flags
sosreport-undercloud
none
sosreport-compute none

Description Chris Janiszewski 2018-06-20 20:16:40 UTC
Created attachment 1453272 [details]
sosreport-undercloud

Description of problem:
Running minor updates with before the FFU. Tested a regex to target all the compute hosts. System says complete, but drilling down to system and finding out nothing got updated, even though there was a kernel update available

IN_PROGRESS
WAITING
completed: [u'chrisjffu-controller-0']
on_breakpoint: [u'chrisjffu-controller-2', u'chrisjffu-compute-0', u'chrisjffu-controller-1', u'chrisjffu-compute-1']
Breakpoint reached, continue? Regexp or Enter=proceed (will clear b13653db-1173-4200-b8d4-04177279a122), no=cancel update, C-c=quit interactive mode: chrisjffu-compute-.*
IN_PROGRESS
WAITING
completed: [u'chrisjffu-controller-0', u'chrisjffu-compute-0', u'chrisjffu-compute-1']
on_breakpoint: [u'chrisjffu-controller-2', u'chrisjffu-controller-1']
Breakpoint reached, continue? Regexp or Enter=proceed (will clear 716d2292-4e2a-4356-b39c-8f32f6d9c371), no=cancel update, C-c=quit interactive mode:


on compute-1 cat /var/log/yum.log doesn't show anything, but yum update lists few items.

Version-Release number of selected component (if applicable):
OSP10

How reproducible:
Every time

Steps to Reproduce:
1. openstack overcloud update stack -i <stack-name>
2. on a breakpoint use regexp chrisjffu-compute-.*
3. notice computes going under complete array but nothing is updated on targeted nodes

Actual results:
Targeted nodes not updated

Expected results:
Either an error if regexp is wrong or complete the minor update on nodes

Additional info:

Comment 1 Chris Janiszewski 2018-06-20 20:17:24 UTC
Created attachment 1453273 [details]
sosreport-compute

Comment 10 Dan Macpherson 2018-07-27 05:40:17 UTC
Hi folks,

I've revised the OSP10 update process based on feedback from this BZ. Here's what I developed:

https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/13/html/fast_forward_upgrades/assembly-preparing_for_openstack-platform_upgrade#updating_the_current_overcloud_packages_for_openstack_platform_10_z

ChrisJ, how does it look to you? Would using this revised procedure help people avoid the issues you faced?

Comment 11 Chris Janiszewski 2018-07-27 18:39:00 UTC
Hey Dan,

Thanks for updating the docs. It definitely added valuable information. I think what's missing is the sequence in which the operation occur. Jiri in comment 9 were able to capture the sequence with simply listing it in 1/2/3.

Maybe we could re-word the docs to also indicate that "The script runs on nodes one-by-one:" occurs before "Puppet runs on all nodes at once:"

In any case I appreciate the update.

Comment 12 Dan Macpherson 2018-07-27 20:35:51 UTC
Thanks, Chris. I think I included what Jiri wrote (see step 2). However, I meant to have it as a numerical list, but accidentally made it a bullet list. Will change this accordingly.

Comment 13 Dan Macpherson 2018-07-27 21:39:28 UTC
ChrisJ, have republished the doc with a numeric list instead of a bulleted list. Have a look at Step 2:

https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/13/html/fast_forward_upgrades/assembly-preparing_for_openstack-platform_upgrade#updating_the_current_overcloud_packages_for_openstack_platform_10_z

Is that what you were after?

Comment 14 Chris Janiszewski 2018-07-30 13:18:42 UTC
This looks great! AS always thanks so much for this Dan.

Comment 15 Dan Macpherson 2018-07-30 16:13:48 UTC
No worries.

Jiri, just wanted to check with you if there's anything else I should add before closing this BZ. Anything in the doc in comment #13 I should add?

Comment 16 Jiri Stransky 2018-07-31 07:56:46 UTC
All looks good, thanks Dan and Chris!