Bug 1752957 - Don't restore webpack assets dir
Summary: Don't restore webpack assets dir
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Satellite Maintain
Version: 6.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.7.0
Assignee: Jonathon Turel
QA Contact: Lucie Vrtelova
URL:
Whiteboard:
: 1752956 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-17 16:25 UTC by Jonathon Turel
Modified: 2020-04-14 12:58 UTC (History)
7 users (show)

Fixed In Version: rubygem-foreman_maintain-0.5.0
Doc Type: No Doc Update
Doc Text:
Internal, no doc update needed
Clone Of:
Environment:
Last Closed: 2020-04-14 12:58:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 27871 0 Normal Closed Don't restore webpack assets dir 2020-10-19 12:51:14 UTC
Red Hat Product Errata RHBA-2020:1442 0 None None None 2020-04-14 12:58:48 UTC

Description Jonathon Turel 2019-09-17 16:25:43 UTC
Plugin webpack assets are symlinked into /var/lib/foreman/public/webpack and restoring a backup which has older versions will break the symlinks pointing to newer packages. ie:

<pre>
[root@rhel7 vagrant]# ll /var/lib/foreman/public/webpack/

<snip>

lrwxrwxrwx. 1 root    root          99 Sep 16 00:12 foreman_ansible -> /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_ansible-3.0.7.1/public/webpack/foreman_ansible
lrwxrwxrwx. 1 root    root         117 Sep 16 00:12 foreman_remote_execution -> /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_remote_execution-1.8.0.3/public/webpack/foreman_remote_execution
lrwxrwxrwx. 1 root    root          97 Sep 16 00:12 foreman-tasks -> /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.15.10.1/public/webpack/foreman-tasks

</pre>

Comment 1 Jonathon Turel 2019-09-17 16:25:46 UTC
Created from redmine issue https://projects.theforeman.org/issues/27871

Comment 2 Jonathon Turel 2019-09-17 16:25:48 UTC
Upstream bug assigned to jturel

Comment 4 Jonathon Turel 2019-09-17 16:27:06 UTC
*** Bug 1752956 has been marked as a duplicate of this bug. ***

Comment 6 Bryan Kearney 2019-09-30 12:04:58 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/27871 has been resolved.

Comment 12 errata-xmlrpc 2020-04-14 12:58:36 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-2020:1442


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