Bug 1187100
Summary: | [RFE] Execute bulk remote commands and download / updates for multiple systems with Satellite 6 (like SSM in Satellite 5) | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Kamudini Gazdikova <kshirsal> | ||||
Component: | Provisioning | Assignee: | Katello Bug Bin <katello-bugs> | ||||
Status: | CLOSED ERRATA | QA Contact: | jcallaha | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 6.0.4 | CC: | ahumbe, bbuckingham, bkearney, jcallaha, jsherril, lorenzo.dalrio, pierre-yves.goubet, pparsons, sthirugn, taw, theophanis_kontogiannis, xdmoon | ||||
Target Milestone: | Unspecified | Keywords: | FutureFeature, Triaged | ||||
Target Release: | Unused | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Enhancement | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-07-27 08:47:03 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Comment 1
RHEL Program Management
2015-01-29 10:55:13 UTC
Created attachment 988316 [details]
Satellite 5.7 System Set Manager page
This can be achieve with the following foreman plugin http://theforeman.org/plugins/foreman_remote_execution/0.0/ after that you going to have job templates in hosts tab just create a new job template for example Template that allow install remove and update packages Name: Package Actions die() { echo "${1}, exiting..." exit $2 } <% unless input("pre_script").blank? -%> # Pre Script <%= input("pre_script") %> RETVAL=$? [ $RETVAL -eq 0 ] || die "Pre script failed" $RETVAL <% end -%> <% if @host.operatingsystem.family == 'Redhat' -%> yum -y <%= input("action") %> <%= input("package") %> <% elsif @host.operatingsystem.family == 'Debian' -%> apt-get -y <%= input("action") %> <%= input("package") %> <% end -%> RETVAL=$? [ $RETVAL -eq 0 ] || die "Package action failed" $RETVAL <% unless input("post_script").blank? -%> # Post Script <%= input("post_script") %> RETVAL=$? [ $RETVAL -eq 0 ] || die "Post script failed" $RETVAL <% end -%> Go to job tab Job name:Package Actions Provider type:sshexecutorprovider Name: pre-script input type:user input Description: pre-script before package install update or remove Name: package input type:user input Description: name of the package Name: action input type:user input Description: The package action: install, update, or remove Name:post-script input type:user input Description: Post script needed after package installed,removed or update After this save the template and go to hosts-->all hosts tick the host that you want to apply the job and in the top right side next to new host button is going to appear a new button select action just click there and click run job Choose the job name and provide any input necessary for the job complete. With this you can deploy any command to the host via ssh as remote commands. Any news about this plug in for satellite Source code here https://github.com/theforeman/foreman_remote_execution Any updates it's have almost 12 months and still nobody take care of the customer request Couple of points here: * Is customer wanting a SSM (shopping cart style) interaction for performing remote commands on hosts? If so this is NOT a feature we are providing for 6.2 and this bz should be moved off of 6.2 and out of POST (and should not have been moved to POST in the first place). There may be a workaround by using host collections to perform this but this is fairly clunky. * Does the customer just want to apply updates to systems in bulk? If so they can do that today with satellite 6.1. Moving off of post as it is unclear. Hi Justin Thank you for you response i'm not sure if you know the product very well but 6.1.4 still have a lot of bug network issues for example and the remote execution is state of the art useful feature that enable send commands from satellite to the hosts via ssh is on the upstream project and works excellent at this stage for the lack of experience on the product i recap if you look http://theforeman.org/plugins/foreman_remote_execution/0.0/ you can see how is works this function at this moment i used with satellite 6.1.4 i just got the code and do it something that redhat i believe can do faster that me but like always is the lack of experience in the product and in the code that is making the customer suffer Also if you desire close this bug as per you last comment Is customer wanting a SSM (shopping cart style) interaction for performing remote commands on hosts? well is no because we want a shopping cart style we want a functional product no the thing that suppose you are producing right now that is no working as expected and must be have as minimum the same features we have before with satellite 5 and just add the automation part of puppet + the life cycles because the products still be the channels and content view our public repos for the machines that is ok but still missing this feature and also have some bugs very easy to solve but you guy take more that a year just to add 2 lines in code that resolve issues and i talking from my experience with red hat support and the lack the experience the guys have because they never receive the training. Please close this bug like always as no a bug Hi Mario, I made that comment while having a conversation with the original creator of this bug and I believe there was a lot of confusion around the actual intent for that customer case. Now there are five customer cases and I imagine most of these are all wanting different things. The foreman_remote_execution plugin will be included with 6.2 regardless of the state of this bug, and I don't want to close this bug but instead establish what exactly this bug will solve. I don't want to give all 5 customers attached to this bz the impression that we will have all sat 5 features and SSM style interaction in 6.2 as that is not the case. There are also many many other feature requests scattered through many bugzillas related to remote execution. Thanks, -Justin Mario, To emphasize, if you are happy with the features that https://github.com/theforeman/foreman_remote_execution provides then you should be very happy with Satellite 6.2 since it will be included. -justin Remote Execution will be delivered with 6.2. I am moving this to POST. nice ++ Verified in Satellite 6.2 Beta Snap 8 Compose 1. The requested functionality is all delivered with Remote Execution. 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-2016:1500 |