Bug 210625
Summary: | 3rd party channels will not update when specified with the --channel option | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Matt Ford <matt> |
Component: | up2date | Assignee: | Pradeep Kilambi <pkilambi> |
Status: | CLOSED ERRATA | QA Contact: | Brandon Perkins <bperkins> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 3.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | RHBA-2007-0815 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-11-15 16:33:58 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: |
Description
Matt Ford
2006-10-13 13:01:06 UTC
What did you mean by 3rd party channels? (This is little confusing to me). What happens if i give a regular red hat channel? looks like it follows the same code path, then why is it specific to 3rd party channels? Can you tell me if this happens in any other cases Need more info... To replicate add a repo to up2date not part of the normal distribution and try to do the update. The getChannels function has the command in it selected_channels = rhnChannelList() so this is why the only 3rd parties are affected. Without the patch line ,including lavel_whitelist, above the function has no way of importing the options passed by --channel. ah I see what you mean. So you mean 3rd party channels as custom channels(non redhat owned). k added the fix to take care of this issue, Before Fix: [rlx-2-24 ~]# up2date-nox --channel=test-push ElectricFence An error has occurred: This system may not be updated until it is associated with a channel. See /var/log/up2date for more information [rlx-2-24 ~]# After Fix: [rlx-2-24 ~]# up2date-nox --channel=test-push ElectricFence Fetching Obsoletes list for channel: rhel-i386-as-4... Fetching Obsoletes list for channel: redhat-rhn-satellite-4.1-as-i386-4... Fetching rpm headers... ######################################## Name Version Rel ---------------------------------------------------------- ElectricFence 2.2.2 19 i386 Testing package set / solving RPM inter-dependencies... ######################################## ElectricFence-2.2.2-19.i386 ########################## Done. Preparing ########################################### [100%] Installing... 1:ElectricFence ########################################### [100%] To test this create a custom channel on the serevr with a bunch of packages and try to run up2date, this should not fail as in case 1. I added the fix under trunk. If this needs to go into any earlier releases, let me know so that I can move the fix to relevant branches. User bnackash's account has been closed the fix was checkin but never got qa'ed.. aligning to 4.6 for testing. actually after little more testing looks like this is not what was causing the problem. up2date-nox --channel=test-push ElectricFence An error has occurred: This system may not be updated until it is associated with a channel. See /var/log/up2date for more information is the right error and is exactly saying what it means..the 3rd party channel exists on the satellite agreed but its is not subscribed to your system. So it cannot get packages from an unsubscribed channel. What you need to do is goto the webui and subscribe your system to 'eugridpma' channel as per your test: up2date-nox --channel eugridpma ca_policy_eugridpma-classic up2date is doing exactly what its expected to do.. test plan: - please test this bug to make sure you can install package subscribed to a custom channel. 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 the 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/RHBA-2007-0815.html |