Bug 1563435 - FFU: post undercloud upgrade /usr/share/rhosp-director-images/{overcloud-full.tar,ironic-python-agent.tar} symlinks point to inexistent files
Summary: FFU: post undercloud upgrade /usr/share/rhosp-director-images/{overcloud-full...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: rhosp-release
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z2
: 13.0 (Queens)
Assignee: Jason Joyce
QA Contact: Omri Hochman
URL:
Whiteboard:
Depends On:
Blocks: 1619770
TreeView+ depends on / blocked
 
Reported: 2018-04-04 00:19 UTC by Marius Cornea
Modified: 2018-08-29 16:33 UTC (History)
10 users (show)

Fixed In Version: rhosp-release-13.0-9.el7ost
Doc Type: Bug Fix
Doc Text:
When removing older image packages, the post scriptlets sometimes incorrectly updated the symlinks for image packages. The scriptlets have been updated to call a script that can be used to fix the symlinks.
Clone Of:
: 1619770 (view as bug list)
Environment:
Last Closed: 2018-08-29 16:32:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:2573 0 None None None 2018-08-29 16:33:24 UTC

Description Marius Cornea 2018-04-04 00:19:03 UTC
Description of problem:

FFU: post undercloud upgrade /usr/share/rhosp-director-images/{overcloud-full.tar,ironic-python-agent.tar} symlinks point to inexistent files

(undercloud) [stack@undercloud-0 ~]$ ls -l /usr/share/rhosp-director-images/{overcloud-full.tar,ironic-python-agent.tar}
lrwxrwxrwx. 1 root root 79 Apr  3 13:35 /usr/share/rhosp-director-images/ironic-python-agent.tar -> /usr/share/rhosp-director-images/ironic-python-agent-13.0-20180328.1.el7ost.tar
lrwxrwxrwx. 1 root root 74 Apr  3 13:35 /usr/share/rhosp-director-images/overcloud-full.tar -> /usr/share/rhosp-director-images/overcloud-full-13.0-20180328.1.el7ost.tar

(undercloud) [stack@undercloud-0 ~]$ ls /usr/share/rhosp-director-images/ironic-python-agent-13.0-20180328.1.el7ost.tar
ls: cannot access /usr/share/rhosp-director-images/ironic-python-agent-13.0-20180328.1.el7ost.tar: No such file or directory

(undercloud) [stack@undercloud-0 ~]$ ls /usr/share/rhosp-director-images/overcloud-full-13.0-20180328.1.el7ost.tar
ls: cannot access /usr/share/rhosp-director-images/overcloud-full-13.0-20180328.1.el7ost.tar: No such file or directory

The correct files location is:

(undercloud) [stack@undercloud-0 ~]$ ls /usr/share/rhosp-director-images/ironic-python-agent-13.0-20180328.1.el7ost.x86_64.tar
/usr/share/rhosp-director-images/ironic-python-agent-13.0-20180328.1.el7ost.x86_64.tar
(undercloud) [stack@undercloud-0 ~]$ ls /usr/share/rhosp-director-images/overcloud-full-13.0-20180328.1.el7ost.x86_64.tar
/usr/share/rhosp-director-images/overcloud-full-13.0-20180328.1.el7ost.x86_64.tar


Version-Release number of selected component (if applicable):
(undercloud) [stack@undercloud-0 ~]$ rpm -q rhosp-director-images
rhosp-director-images-11.0-20180402.1.el7ost.noarch
rhosp-director-images-12.0-20180402.1.el7ost.noarch
rhosp-director-images-13.0-20180328.1.el7ost.noarch

Comment 1 Lukas Bezdicka 2018-04-04 14:42:09 UTC
This seems to be packaging issue.

Comment 2 Marius Cornea 2018-04-04 20:18:20 UTC
Note: on a fresh deployment the symlinks point to existent files:

[root@undercloud-0 ~]# ls -l /usr/share/rhosp-director-images/{overcloud-full.tar,ironic-python-agent.tar}

lrwxrwxrwx. 1 root root 86 Apr  3 19:43 /usr/share/rhosp-director-images/ironic-python-agent.tar -> /usr/share/rhosp-director-images/ironic-python-agent-13.0-20180328.1.el7ost.x86_64.tar

lrwxrwxrwx. 1 root root 81 Apr  3 19:43 /usr/share/rhosp-director-images/overcloud-full.tar -> /usr/share/rhosp-director-images/overcloud-full-13.0-20180328.1.el7ost.x86_64.tar

Comment 11 errata-xmlrpc 2018-08-29 16:32:35 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/RHBA-2018:2573


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