Bug 1252509 - rhel-osp-director: Fail to "openstack overcloud update stack": "ERROR: openstack unexpected end of regular expression"
Summary: rhel-osp-director: Fail to "openstack overcloud update stack": "ERROR: opens...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo
Version: unspecified
Hardware: x86_64
OS: Linux
high
high
Target Milestone: y1
: 7.0 (Kilo)
Assignee: Jan Provaznik
QA Contact: Alexander Chuzhoy
URL:
Whiteboard:
: 1253449 (view as bug list)
Depends On: 1264203
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-11 15:09 UTC by Alexander Chuzhoy
Modified: 2023-02-22 23:02 UTC (History)
10 users (show)

Fixed In Version: openstack-tripleo-common-0.0.1.dev6-3.git49b57eb.el7ost
Doc Type: Bug Fix
Doc Text:
The "openstack overcloud update stack -i" command did not handle invalid regular expressions. This caused command termination with an error: openstack unexpected end of regular expression This fix detects invalid regular expressions and provides a warning to the user about the invalid value. The command now handles invalid expressions and prompts the user to enter a new value.
Clone Of:
Environment:
Last Closed: 2015-10-08 12:16:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 213101 0 None None None Never
Red Hat Product Errata RHSA-2015:1862 0 normal SHIPPED_LIVE Moderate: Red Hat Enterprise Linux OpenStack Platform 7 director update 2015-10-08 16:05:50 UTC

Description Alexander Chuzhoy 2015-08-11 15:09:25 UTC
rhel-osp-director: Fail to "openstack overcloud update stack":  "ERROR: openstack unexpected end of regular expression"


Environment:
instack-undercloud-2.1.2-23.el7ost.noarch

Steps to reproduce:
1. Successfully deploy overcloud using templates.
2. Attempt to update with:
openstack overcloud update stack --templates  -e [yaml file] -i overcloud                                                                                                                                                       
Note: I also tried without providing the yaml files. Same result.

Result:
                                                           
starting package update on stack overcloud                                                                      
IN_PROGRESS                                                                     IN_PROGRESS                                                                     IN_PROGRESS                                                                     IN_PROGRESS                                                                     WAITING                                                                         not_started: [u'overcloud-compute-0', u'overcloud-controller-0']                                                                  on_breakpoint: [u'overcloud-cephstorage-0']                                                                 Breakpoint reached, continue? Regexp or Enter=proceed, no=cancel update, C-c=quit interactive mode:                                                                           removing breakpoint on overcloud-cephstorage-0                                                                   IN_PROGRESS                                                                     IN_PROGRESS                                                                     IN_PROGRESS                                                                     IN_PROGRESS                                                                     IN_PROGRESS                                                                     IN_PROGRESS                                                                     IN_PROGRESS                                                                     IN_PROGRESS                                                                     IN_PROGRESS                                                                     IN_PROGRESS                                                                     IN_PROGRESS                                                                     IN_PROGRESS                                                                     IN_PROGRESS                                                                     IN_PROGRESS                                                                     IN_PROGRESS                                                                     IN_PROGRESS                                                                     IN_PROGRESS                                                                     IN_PROGRESS                                                                     IN_PROGRESS                                                                     IN_PROGRESS                                                                     IN_PROGRESS                                                                     IN_PROGRESS                                                                     IN_PROGRESS                                                                     WAITING                                                                         completed: [u'overcloud-cephstorage-0']                                                                 on_breakpoint: [u'overcloud-compute-0', u'overcloud-controller-0']                                                                  
Breakpoint reached, continue? Regexp or Enter=proceed, no=cancel update, C-c=quit interactive mode:                                                                          
removing breakpoint on overcloud-controller-0                                                                    IN_PROGRESS                                                                     IN_PROGRESS                                                                     IN_PROGRESS
IN_PROGRESS
IN_PROGRESS
IN_PROGRESS
IN_PROGRESS
IN_PROGRESS
IN_PROGRESS
IN_PROGRESS
IN_PROGRESS
IN_PROGRESS
IN_PROGRESS
IN_PROGRESS
IN_PROGRESS
IN_PROGRESS
IN_PROGRESS
IN_PROGRESS
IN_PROGRESS
IN_PROGRESS
IN_PROGRESS
IN_PROGRESS
IN_PROGRESS
WAITING
completed: [u'overcloud-controller-0', u'overcloud-cephstorage-0']
on_breakpoint: [u'overcloud-compute-0']
Breakpoint reached, continue? Regexp or Enter=proceed, no=cancel update, C-c=quit interactive mode:
ERROR: openstack unexpected end of regular expression


Expected Result:
The update should complete successfully.

Comment 3 Zane Bitter 2015-08-14 14:08:07 UTC
*** Bug 1253449 has been marked as a duplicate of this bug. ***

Comment 4 Marek Aufart 2015-08-21 10:46:47 UTC
Update action is just called from rdomanager-oscplugin, related code is propably in tripleo-common. I suggest check it by upgrade people.

Comment 5 Jan Provaznik 2015-09-02 09:03:52 UTC
Patch backport: https://code.engineering.redhat.com/gerrit/#/c/56874/1

Comment 7 James Slagle 2015-09-28 20:12:34 UTC
jan, can you write the doc text for this one given you did the patch?

Comment 8 Alexander Chuzhoy 2015-09-30 23:41:30 UTC
Verified:
Environment:
openstack-tripleo-common-0.0.1.dev6-3.git49b57eb.el7ost.noarch



The update completed with:
IN_PROGRESS
COMPLETE
update finished with status COMPLETE

Comment 10 errata-xmlrpc 2015-10-08 12:16:38 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


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