Bug 1325812 - 'Run Puppet' button should be associated with REX
Summary: 'Run Puppet' button should be associated with REX
Keywords:
Status: CLOSED DUPLICATE of bug 1376408
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Remote Execution
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-11 09:34 UTC by Maxim Burgerhout
Modified: 2016-10-06 12:09 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-06 12:09:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Maxim Burgerhout 2016-04-11 09:34:12 UTC
Description of problem:
For each host, we show a 'Run Puppet' button, that currently requires manual set up and does not integrate nicely with the new REX framework.

Ideally, the 'Run Puppet' functionality should just forward to the 'Run Puppet Once' job template. Otherwise, this eternally grayed out button will raise eyebrows and questions.

Considering we have the required parts in place now (SSH authentication for REX is there anyway), we could enable it (by default) by:
- editing the default /etc/foreman/settings.yaml to enable puppetrun
- editing the default /etc/foreman-proxy/settings.d/puppet.yml to:
  - set :puppet_provider to puppetssh
  - set :puppetssh_keyfile to /usr/share/foreman-proxy/.ssh/id_rsa_foreman_proxy (the key we use for REX as well)

This still doesn't integrate with REX nicely, but at least it works out of the box this way (for new hosts that have the public key).

Alternatively, the 'Run Puppet' button could be hidden and people would just rely on 'Run job'.

Version-Release number of selected component (if applicable):
SNAP 7.1

How reproducible:


Steps to Reproduce:
1. Open host page
2. Focus eyes on right most corner of white part of screen, next to 'Delete'
3.

Actual results:
'Run Puppet' button is grayed out and visible.

Expected results:
Button is either hidden on usable (preferably by default, preferably through REX)

Additional info:

Comment 1 Bryan Kearney 2016-07-26 18:59:52 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 2 Maxim Burgerhout 2016-10-06 12:09:13 UTC

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


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