Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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-toolsAssignee: Miroslav Suchý <msuchy>
Status: CLOSED ERRATA QA Contact: Pavel Novotny <pnovotny>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.0CC: cperry, jhutar, jpazdziora, jwest, mmraka, msuchy, plyons, pm-eus, pnovotny, psklenar, taw
Target Milestone: rcKeywords: 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
This bug has been copied from bug #626739 and has been proposed
to be backported to 6.0 z-stream (EUS).

Comment 11 Pavel Novotny 2010-12-06 16:13:27 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.

Comment 13 Jaromir Hradilek 2010-12-07 12:48:14 UTC
    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.

Comment 15 errata-xmlrpc 2010-12-07 16:27:30 UTC
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