System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at Altiris.PatchManagementLinux.Redhat.RhnSoftwareRepository.RegisterRhnSystems(Dictionary`2 supportedOs, Dictionary`2& enitlement)
Please check that valid RHN userName/password are specified.
Failed to register RHN systems, please check that valid RHN userName/password are specified.
The user credentials used in Settings > All Settings > Software > Patch Management > Red Hat Settings > Red Hat Patch Remediation Settings, Red Hat Network tab, does not have sufficient rights to access the channel manifest for downloading.
In some cases with older ITMS versions or customers upgrading from older versions, this may be due to previous RHN changes detailed on HOWTO111113.
This is corrected by adding the Organizational Administrator role to the user account in the Red Hat Customer Portal using an account that has rights to make the change. Additionally, 13 free licenses are needed to download all channels.
To add the Organizational Administrator role:
Log into the Red Hat Customer Portal with a user account that has sufficient rights to edit user accounts.
Once in the Red Hat Customer Portal, click the user name in the upper right corner and select User Management under Red Hat Account.
Place a check next to the user to be edited that is configured in the Symantec Console, Red Hat Network tab,
Click the Edit button on the bottom of the page.
In the edit page, select the Access Permissions tab.
In the Account Roles section, enable Organization Administrator
Run the Channel Import from the Import Patch Data for Red Hat task.
After the task runs, you can optionally revert the user access permissions for this account. However, note that Red Hat will occasionally run a self-healing task that will revoke the certificates used for channel and errata import. If you see the same errors, re-performing the above steps will be necessary to download the new certificates and to run the channel import again.
Issue may also be due to unsuccessful automatic subscription attachment. ITMS emulates servers, one per channel selected in the Red Hat Linux MetaData Import Task Channel Import section. In the Red Hat Subscription Manager console, locate the Notification Server entries and assign the applicable subscriptions. The Channel Import will then be able to successfully download the expected channel data.
Subscribing will provide email updates when this Article is updated. Login is required.