Bug 1620126
Summary: | In production webpacked_plugins_js_for $PLUGIN doesn't load the js if the plugin doesn't provide the sources | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Marek Hulan <mhulan> | ||||
Component: | Ansible - Configuration Management | Assignee: | satellite6-bugs <satellite6-bugs> | ||||
Status: | CLOSED ERRATA | QA Contact: | Lukas Pramuk <lpramuk> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | Unspecified | CC: | inecas, mhulan, sshtein | ||||
Target Milestone: | 6.4.0 | Keywords: | Triaged | ||||
Target Release: | Unused | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | foreman-1.18.0.14-1 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2018-10-16 19:03:22 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Marek Hulan
2018-08-22 13:38:14 UTC
Created from redmine issue https://projects.theforeman.org/issues/24371 Upstream bug assigned to ekohlvan the workaround: mkdir -p /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_ansible-2.2.5/webpack touch /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_ansible-2.2.5/webpack/index.js service httpd restart that will start mounting the component on config foreman_ansible reports page again Could you please try applying the workaround from comment 3 to verify it's triggered by the same cause? It seems the patch has been applied correctly. *** Bug 1620124 has been marked as a duplicate of this bug. *** Created attachment 1482310 [details]
Report OK
VERIFIED on Sat6.4#21 Reproducer: 1. We have got Sat6.4 and some client machine. On client machine we have to upload Satellite public SSH key. > curl -k https://<fqdn>:9090/ssh/pubkey >> ~/.ssh/authorized_keys 2. install some Ansible role to satellite > ansible-galaxy install -p /etc/ansible/roles/ linuxhq.setup 3. import this role to Satellite > hammer ansible roles import ---|--------------------------------|-------------------- ID | NAME | IMPORTED AT ---|--------------------------------|-------------------- 2 | linuxhq.setup | 2018/09/11 07:17:47 3 | RedHatInsights.insights-client | 2018/09/11 07:17:47 ---|--------------------------------|-------------------- 4. assign this role to client profile. We can not use attribute --ansible-roles, because it does not work (bz1590854). > hammer host update --ansible-role-ids 2 --id 1 Host updated. 5. Open profile of host (Hosts > All hosts > client; in my case https://<fqdn>/hosts/1) 6. Click on the "Run Ansible roles" button and wait for job passes. 7. Open reports (Monitor > Config Management). 8. choose our client and one of reports 9. we should see table with tree view structure (see attachement 1482310 ) 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/RHSA-2018:2927 |