Bug 489387
| Summary: | Installing a package w/ a remote command fails | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | wes hayutin <whayutin> | ||||
| Component: | Provisioning | Assignee: | Partha Aji <paji> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | wes hayutin <whayutin> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 530 | CC: | bperkins, cperry, dherrman, jpazdziora | ||||
| Target Milestone: | --- | Keywords: | Regression | ||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| URL: | http://grandprix.rhndev.redhat.com/rhn/systems/details/packages/ScheduleRemoteCommand.do?mode=install&sid=1000010295&session_set_label=com.redhat.rhn.frontend.action.rhnpackage.InstallPackageSetupAction1000010295 | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2010-03-30 18:51:00 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
wes hayutin
2009-03-09 20:02:03 UTC
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. |