Bug 533283
| Summary: | rhn-virtualization-host RPM should not restart the service in %post | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | Alan Pevec <apevec> | ||||
| Component: | Virtualization | Assignee: | Milan Zázrivec <mzazrivec> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Petr Sklenar <psklenar> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | unspecified | CC: | apevec, azarembo, cperry, psklenar | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2009-12-10 11:13:42 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: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 518256, 533951, 545222, 556823 | ||||||
| Attachments: |
|
||||||
|
Description
Alan Pevec
2009-11-05 21:34:16 UTC
Created attachment 367738 [details]
proposed patch
Took suggestion from comment #1 spacewalk.git master: 017825145e740cf95d12304ee155ac567781edb3 satellite.git SATELLITE-5.3: 4fdb63cf9b4ab1628a408e88f2245113f31003e8 With rhn-virtualization-host-5.3.0-14.el5sat.noarch livecd image is created without errors. testing procedure:
1. crond is stopped
2. add virtualization entitlement to kvm-host
3. rhn_check -vv
4. crond is stopped
[root@dhcp-lab-146 ~]# service crond status
crond is stopped
[root@dhcp-lab-146 ~]# rhn_check -vv
D: check_action {'action': "<?xml version='1.0'?>\n<methodCall>\n<methodName>packages.update</methodName>\n<params>\n<param>\n<value><array><data>\n<value><array><data>\n<value><string>rhn-virtualization-host</string></value>\n<value><string>5.3.0</string></value>\n<value><string>14.el5sat</string></value>\n<value><string></string></value>\n<value><string>noarch</string></value>\n</data></array></value>\n</data></array></value>\n</param>\n</params>\n</methodCall>\n", 'version': 2, 'id': 1485}
updateLoginInfo() login info
D: login(forceUpdate=True) invoked
logging into up2date server
D: writeCachedLogin() invoked
D: Wrote pickled loginInfo at 1260388287.14 with expiration of 1260391887.14 seconds.
successfully retrieved authentication token from up2date server
D: logininfo: {'X-RHN-Server-Id': 1000010426, 'X-RHN-Auth-Server-Time': '1260379350.44', 'X-RHN-Auth': 'VSOIA4XfAXvDZWu/ctMytw==', 'X-RHN-Auth-Channels': [['rhel-x86_64-server-5', '20091112171053', '1', '1'], ['rhel-x86_64-server-vt-5', '20091112171053', '0', '1'], ['rhn-tools-rhel-x86_64-server-5', '20091208174439', '0', '1']], 'X-RHN-Auth-User-Id': '', 'X-RHN-Auth-Expire-Offset': '3600.0'}
D: handle_action {'action': "<?xml version='1.0'?>\n<methodCall>\n<methodName>packages.update</methodName>\n<params>\n<param>\n<value><array><data>\n<value><array><data>\n<value><string>rhn-virtualization-host</string></value>\n<value><string>5.3.0</string></value>\n<value><string>14.el5sat</string></value>\n<value><string></string></value>\n<value><string>noarch</string></value>\n</data></array></value>\n</data></array></value>\n</param>\n</params>\n</methodCall>\n", 'version': 2, 'id': 1485}
D: handle_action actionid = 1485, version = 2
D: do_call packages.update ([['rhn-virtualization-host', '5.3.0', '14.el5sat', '', 'noarch']],)
Loaded plugins: rhnplugin
D: Called update [['rhn-virtualization-host', '5.3.0', '14.el5sat', '', 'noarch']]
D: Dependencies Resolved
D: Downloading Packages:
D: Running Transaction Test
D: Finished Transaction Test
D: Transaction Test Succeeded
D: Running Transaction
Updating package profile
D: Sending back response (0, 'Update Succeeded', {})
D: do_call packages.checkNeedUpdate ('rhnsd=1',)
D: Called refresh_rpmlist
Updating package profile
D: local action status: (0, 'rpmlist refreshed', {})
[root@dhcp-lab-146 ~]# service crond status
crond is stopped
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-1660.html |