Description of problem: Satellite-5.3.0-RHEL5-re20090306.2-i386-embedded-oracle.iso 1. register a system 2. enable rhncfg mang, and rhn-actions-control enable-all 3. use the webui to install zsh and schedule a remote command before the package is installed.. my command was #!/bin/bash uname -a ls hostname 4. run rhn_check -vvv from the client results: package fails to install.. System Failed Message fjs-0-18.rhndev.redhat.com 3/9/09 3:56:10 PM EDT invalid action 1272 for server 1000010295 expected results: command executes package installs
Should be fixed in the next iso...
Mass Move to ON_QA
fails.. recreate. 1. verify remote command works first. 2. schedule a simple remote command, rhn_check (something like ls -la ) 3. schedule package install of zsh w/ remote command ( ls -la) 4. rhn_check script fails, package installation fails.. bug fails =) This action's status is: Failed. The client picked up this action on 04/ 2/09 12:53:47 PM EDT. The client completed this action on 04/ 2/09 12:53:48 PM EDT. Client execution returned "Script failed" (code 1) Run as: root:root Timeout: 600 seconds #!/bin/sh ls Start Date: 2009-04-02 12:53:47 End Date: 2009-04-02 12:53:47 Return Code: 256 Raw Output: view/download raw script output Filtered Output: [Thu Apr 2 13:01:34 2009] up2date D: Sending back response (1, 'Script failed', {'output': '', 'base64enc': 1, 'process_end': '2009-04-02 13:01:33', 'return_co de': 256, 'process_start': '2009-04-02 13:01:33'}) [Thu Apr 2 13:01:37 2009] up2date D: do_call packages.checkNeedUpdate ('rhnsd=1 ',) [Thu Apr 2 13:01:37 2009] up2date D: local action status: (0, 'rpm database no t modified since last update (or package list recently updated)', {}) (END) tested on 4/1 build
verified on 4/3
Can you please clarify how I should achieve the "use the webui to install zsh and schedule a remote command before the package is installed.." step of the test plan? I was able to schedule package installation, scheduled as soon as possible. I was able to schedule remote command execution. I set the remote command execution "in the past" but when I run rhn_check -vv, the package installation is run first, then the command execution. The time that I set is clearly taken to mean the limit before which the event is not considered, but it does not enforce the ordering. So, how do i schedule the remote command before the package installation?
when installing a package you have an option to run a remote command and install.
(In reply to comment #6) > when installing a package you have an option to run a remote command and > install. Can you point me to where exactly I find the option? I go from system's overview page to Software -> Packages -> Install, I check the checkbox next to the package and click Install Selected Packages. On the next page I click Confirm. The only additional option I can see is Schedule action as soon as possible or Schedule action for no sooner than: <date selection>.
looks like the function has been improperly removed from 530
Created attachment 360080 [details] run remote command during a package install https://test10-64.rhndev.redhat.com/rhn/systems/details/packages/InstallConfirm.do?sid=1000011407
the above screen shot was taken from a 520 sat.
Reopening and moving to sat531-triage to get traction on this.