Bug 1620185 - [UPGRADES][14] UC upgrade fails: Unable to delete the specified workbook(s).
Summary: [UPGRADES][14] UC upgrade fails: Unable to delete the specified workbook(s).
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-mistral
Version: 14.0 (Rocky)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: beta
: 14.0 (Rocky)
Assignee: RHOS Maint
QA Contact: Yurii Prokulevych
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-22 15:51 UTC by Yurii Prokulevych
Modified: 2023-09-14 04:33 UTC (History)
11 users (show)

Fixed In Version: openstack-mistral-7.0.0-0.20180821211810.1395a7b.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-11 11:51:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1785833 0 None None None 2018-08-22 15:51:09 UTC
OpenStack gerrit 589510 0 None None None 2018-08-28 18:42:34 UTC
Red Hat Product Errata RHEA-2019:0045 0 None None None 2019-01-11 11:52:52 UTC

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


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