*** Bug 246471 has been marked as a duplicate of this bug. ***
[packages]$ svn diff
--- rhn_channel.pkb (revision 131533)
+++ rhn_channel.pkb (working copy)
@@ -139,6 +139,11 @@
WHERE id = server_id_in;
+ select current_members
+ from rhnPrivateChannelFamily
+ where org_id = org_id_in and channel_family_id = channel_family_id_val
+ for update of current_members;
IF available_subscriptions IS NULL OR
[packages]$ svn ci
Transmitting file data .
Committed revision 131673.
To test this, get a satellite set up so that it has exactly 1 subscription
available of the channel you want to test with.
Register 4 systems at exactly the same time. The best way to do this is to call
up2date.py 4 times in a row from a bash script and running each command in the
1 and exactly 1 system should get registered each time you perform the test.
The other 3 should fail with the Error Class Code: 70 All available
subscriptions for the requested channel have been exhausted exception.
QA Verified; ran this test attempting four simultaneous registrations; the first
one works and subsequent others don't.
User firstname.lastname@example.org's account has been closed
Using the up2date.py method verified against stage by:
* Reducing core server allocation for my org to one more than was currently used.
* Spawning 4 fake system registrations using the above method.
Only one system appeared in satellite, correct number of entitlements used in
satellite, and three error msgs on the console where the test was run.
5.1 Sat GA so Closed for Current Release.