Bug 649435
| Summary: | Include support for Satellite 5.4.0 Maintenance Window / Staged Deployment feature | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | RHEL Program Management <pm-rhel> |
| Component: | rhn-client-tools | Assignee: | Miroslav Suchý <msuchy> |
| Status: | CLOSED ERRATA | QA Contact: | Pavel Novotny <pnovotny> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 6.0 | CC: | cperry, jhutar, jpazdziora, jwest, mmraka, msuchy, plyons, pm-eus, pnovotny, psklenar, taw |
| Target Milestone: | rc | Keywords: | FutureFeature, Reopened, ZStream |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: |
These packages have been updated to support the Red Hat Network Satellite Server Maintenance Window, allowing a user to download scheduled packages and errata before the start of the maintenance window.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-12-07 16:27:30 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: | 626739 | ||
| Bug Blocks: | |||
|
Description
RHEL Program Management
2010-11-03 18:13:24 UTC
Verified. (Followed procedure from https://bugzilla.redhat.com/show_bug.cgi?id=626737#c8). Server: Satellite 5.4 Client: Red Hat Enterprise Linux Server release 6.0 (Santiago) x86_64 On client: 1. Register into Satellite with base channel rhel-x86_64-server-6. 2. Add into your /etc/sysconfig/rhn/up2date lines with 'stagingContent=1' and 'stagingContentWindow=24'. 3. Make sure RHN Daemon is not running: service rhnsd stop - It prevents rhnsd to download package from server behind our backs. 4. Disable all your yum repos in /etc/yum.repos.d/ (or move them somewhere else). Necessary to ensure that installation of a package will use Satellite software channel, not yum repository. On server: 1. Enable staging content support for your org.: Admin -> Organization -> choose one -> Configuration -> Enable staging content. 2. Schedule package installation for client machine in time now()+10mins (package 'aide' in our case). (Systems -> pick one -> Software -> Packages -> Install). 3. Immediately after it in client's terminal run 'rhn_check -vv'. The output should look like this: -------------------- # rpm -q aide package aide is not installed # ll /var/cache/yum/x86_64/6Server/rhel-x86_64-server-6/packages/ total 0 # rhn_check -vv D: do_call packages.checkNeedUpdate ('rhnsd=1',) {} Loaded plugins: rhnplugin D: login(forceUpdate=False) invoked D: readCachedLogin invoked D: Checking pickled loginInfo, currentTime= 1291648229.12 , createTime= 1291648115.86 , expire-offset= 3600.0 D: readCachedLogin(): using pickled loginInfo set to expire at 1291651715.86 D: rpcServer: Calling XMLRPC up2date.listChannels D: Called refresh_rpmlist Updating package profile D: rpcServer: Calling XMLRPC registration.welcome_message D: rpcServer: Calling XMLRPC registration.update_packages D: local action status: (0, 'rpmlist refreshed', {}) D: rpcServer: Calling XMLRPC registration.welcome_message 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>aide</string></value>\n<value><string>0.14</string></value>\n<value><string>3.el6</string></value>\n<value><string></string></value>\n<value><string>x86_64</string></value>\n</data></array></value>\n</data></array></value>\n</param>\n</params>\n</methodCall>\n", 'version': 2, 'id': 1427} D: handle_action actionid = 1427, version = 2 D: do_call packages.update ([['aide', '0.14', '3.el6', '', 'x86_64']],) {'cache_only': 1} D: Called update [['aide', '0.14', '3.el6', '', 'x86_64']] D: Dependencies Resolved D: Downloading Packages: D: Just pre-caching packages, skipping package install # ll /var/cache/yum/x86_64/6Server/rhel-x86_64-server-6/packages/ total 124 -rw-r--r--. 1 root root 126144 Sep 13 20:49 aide-0.14-3.el6.x86_64.rpm # rpm -q aide package aide is not installed -------------------- Notice lines "D: do_call packages.update ([['aide', '0.14', '3.el6', '', 'x86_64']],) {'cache_only': 1}" and "D: Just pre-caching packages, skipping package install". You see that package 'aide' is only downloaded into yum cache directory, but not installed.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
These packages have been updated to support the Red Hat Network Satellite Server Maintenance Window, allowing a user to download scheduled packages and errata before the start of the maintenance window.
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/RHEA-2010-0949.html |