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

Bug 1620185

Summary: [UPGRADES][14] UC upgrade fails: Unable to delete the specified workbook(s).
Product: Red Hat OpenStack Reporter: Yurii Prokulevych <yprokule>
Component: openstack-mistralAssignee: RHOS Maint <rhos-maint>
Status: CLOSED ERRATA QA Contact: Yurii Prokulevych <yprokule>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 14.0 (Rocky)CC: augol, brad, ccamacho, jjoyce, jschluet, mbracho, rhos-maint, slinaber, therve, tvignaud, yprokule
Target Milestone: betaKeywords: Regression, Triaged
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-mistral-7.0.0-0.20180821211810.1395a7b.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-11 11:51:27 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 Yurii Prokulevych 2018-08-22 15:51:09 UTC
Description of problem:
-----------------------
Attempt to upgrade RHOS-13 undercloud fails:
openstack undercloud upgrade -y --use-heat 2>&1
...
                "++ cut -f 2 -d ' '",
                "+ for workbook in '$(openstack workbook list | grep tripleo | cut -f 2 -d '\\'' '\\'')'",
                "+ openstack workbook delete tripleo.access.v1",
                "Unable to delete the specified workbook(s).",
                "",
                "[2018-08-22 11:20:59,864] (heat-config) [ERROR] Error running /var/lib/heat-config/heat-config-script/b2db83a9-fcb6-4188-9135-b56bb295aaf8. [1]",


Version-Release number of selected component (if applicable):
-------------------------------------------------------------
openstack-mistral-common-7.0.0-0.20180803110956.952967a.el7ost.noarch
python-mistral-7.0.0-0.20180803110956.952967a.el7ost.noarch
openstack-mistral-engine-7.0.0-0.20180803110956.952967a.el7ost.noarch
puppet-mistral-13.2.0-0.20180731214249.7dd767e.el7ost.noarch
openstack-mistral-api-7.0.0-0.20180803110956.952967a.el7ost.noarch
python2-mistral-lib-1.0.0-0.20180730234322.d1ccfd0.el7ost.noarch
python2-mistralclient-3.7.0-0.20180731011525.f0ee48f.el7ost.noarch
openstack-mistral-executor-7.0.0-0.20180803110956.952967a.el7ost.noarch


Steps to Reproduce:
-------------------
1. Setup RHOS-14 repos on uc
2. Create container_images_file file for uc's images
3. Add container_images_file = /home/stack/containers-prepare-parameter.yaml under [DEFAULT] section of undercloud.conf
4. If needed add docker_insecure_registries to undercloud.conf
5. Start undercloud upgrade:
    openstack undercloud upgrade -y --use-heat 2>&1

Comment 2 Carlos Camacho 2018-08-28 14:24:11 UTC
Im checking a fix.

Comment 3 Carlos Camacho 2018-08-28 19:33:52 UTC
We don't have a RHOS branch to create the package in OSP14, workaround:

git clone https://github.com/openstack/mistral.git -b stable/rocky
cd mistral
sudo pip install -r requirements.txt
sudo python setup.py install

And the undercloud update does not fail on this step

Comment 4 Carlos Camacho 2018-09-03 11:44:43 UTC
This fix is available upstream.

Comment 15 errata-xmlrpc 2019-01-11 11:51:27 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/RHEA-2019:0045

Comment 16 Red Hat Bugzilla 2023-09-14 04:33:31 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days