Red Hat Bugzilla – Bug 493110
Package installation using SSM should only generate one scheduled event.
Last modified: 2009-09-10 16:34:55 EDT
1. Select two or more systems for use with the SSM.
2. Go to the SSM -> packages -> install new package (or upgrade)
3. Select a package that is applicable to 2 or more systems
4. Confirm scheduling
One action is scheduled affecting both systems.
Two actions are scheduled, one for each system.
I believe LVM has complained about this, but I've never seen a BZ for it and I noticed this behaviour the other day.
bug 444199 & bug 443500 are others reported on this same topic.
Based on no more than 2 man days of effort to get working - moving over all 3 bugs that were reported on this topic into 530.
Renamed BZ to only refer to install. 444199 handles upgrades.
Changed package installation through SSM to only create one action
Refactored the scheduled action creation to support multiple servers. Changed the SSM package installation calls to use these new multiple-server APIs to result in only one action creation for a batch of servers in the SSM.
Vader Commit: 80dcaa7236c2bccfd87ff58e1116124b58eccab2
Seems to be working for package installation and removal, but not for verify and upgrade. Is this expected? or is there another bug associated with it?
Yes, there were three bugs in total. This one was just for installation. There is also 443500 which is package removal and 444199 for package upgrade. Both are updated to reflect their states. There wasn't a bug for verify filed as far as I saw when I grabbed these three.
Verified for package installation as per comment #8.
Stage validated with Satellite-5.3.0-RHEL5-re20090820.1. I have registered the system twice, having two system profiles. I have selected both systems, clicked Manage, packages Install, selected Red Hat Enterprise Linux (v. 5 for 32-bit x86), filtered for mutt, selected, clicked Install Selected Packages, seen two systems listed, hit Confirm.
Then I went to Schedule and seen one "Package Install" event, with two In Progress Systems. I've run rhn_check -vv on the system, and one of the profiles moved to Completed Systems.
Moving to RELEASE_PENDING.
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.