Bug 1376408 - [RFE] Allow the 'run puppet' button to trigger a Remote Execution Job
Summary: [RFE] Allow the 'run puppet' button to trigger a Remote Execution Job
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Puppet
Version: 6.2.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
: 1325812 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-15 11:40 UTC by Rich Jerrido
Modified: 2021-06-10 11:33 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-04 19:13:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 17973 0 Normal New Allow the 'run puppet' button to trigger a Remote Execution Job 2020-08-04 13:27:47 UTC
Red Hat Bugzilla 1432111 0 medium CLOSED Describe "Run puppet" GUI button 2021-02-22 00:41:40 UTC

Internal Links: 1432111

Description Rich Jerrido 2016-09-15 11:40:31 UTC
Description of problem:

As a user of Satellite 6, the 'Run PUppet' button on the Hosts page is disabled, as it uses either

- puppet kick
- puppet ssh
- mcollective

None of which are supported with Satellite 6. This RFE requests adding the Satellite 6.2 remote execution feature as a provider so that an end-user can directly select 'run puppet' from the UI.

Comment 1 Maxim Burgerhout 2016-10-06 12:09:13 UTC
*** Bug 1325812 has been marked as a duplicate of this bug. ***

Comment 2 Maxim Burgerhout 2016-10-06 12:09:35 UTC
Just realized I had a bug for this already :/

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)

Comment 3 Rob Marti 2016-11-07 22:14:19 UTC
Are there updates we can pass along as far as ETA or plan moving forward?

Comment 4 Rob Marti 2016-12-06 15:06:35 UTC
Any updates?

Comment 6 Ivan Necas 2017-01-09 06:50:51 UTC
Created redmine issue http://projects.theforeman.org/issues/17973 from this bug

Comment 7 Ivan Necas 2017-01-09 06:52:37 UTC
Putting on our backlog: let's see how this stand to other priorities we have to see when this one will et fixed

Comment 11 Bryan Kearney 2018-09-04 19:01:01 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.

Comment 12 Bryan Kearney 2018-09-04 19:13:14 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.

Comment 13 Bryan Kearney 2018-11-12 16:21:28 UTC
There was a request to re-open this, but we are keeping it closed. We do not see this feature being developed in the near future. Users can use remote execution jobs manually if they desire.


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