Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1752956 - Don't restore webpack assets dir
Summary: Don't restore webpack assets dir
Keywords:
Status: CLOSED DUPLICATE of bug 1752957
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Satellite Maintain
Version: 6.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: Jonathon Turel
QA Contact: Nikhil Kathole
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-17 16:23 UTC by Jonathon Turel
Modified: 2019-09-17 16:27 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-17 16:27:06 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-05-20 15:17:25 UTC

Description Jonathon Turel 2019-09-17 16:23:56 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:23:58 UTC
Created from redmine issue https://projects.theforeman.org/issues/27871

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

Comment 4 Jonathon Turel 2019-09-17 16:27:06 UTC

*** This bug has been marked as a duplicate of bug 1752957 ***


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