Description of problem: After cloning an errata, the resulting advisory is supposed to show the number of relevant packages in each channel from its "Channels" sub-tab. This works fine when the channel is either a Red Hat Inc. channel or a direct clone of a Red Hat Inc. channel. However, for every channel that is cloned from another clone channel, the web interface still shows a count of zero even though relevant packages exist in the channel. Clones of clones are very common when implementing Red Hat best practices for Life Cycle and Patching Management. Version-Release number of selected component (if applicable): spacewalk-java-2.3.8-147.el6sat.noarch How reproducible: Create a clone of a Red Hat channel cloneA then a clone cloneB from cloneA. Next, clone an errata from the Red Hat channel and publish it to cloneA. Now, the error can be seen on the "Channels" sub-tab of the cloned errata. Steps to Reproduce: 1. Create the necessary elements using spacecmd ---------------------- snip -------------------------- spacecmd {SSM:0}> softwarechannel_clonetree -s rhel-x86_64-server-6 -o -p dev- spacecmd {SSM:0}> softwarechannel_clonetree -s dev-rhel-x86_64-server-6 -o -x 's/^dev/prod' spacecmd {SSM:0}> softwarechannel_adderrata rhel-x86_64-server-6 dev-rhel-x86_64-server-6 RHBA-2012:0004 Bug Fix Errata -------------- RHBA-2012:0004 ksh bug fix update 2012-01-06 Packages -------- ksh-20100621-12.el6_2.1.x86_64 Total Errata: 1 Total Packages: 1 Add these errata [y/N]: y ---------------------- snip -------------------------- 2. WebUI --> Errata --> Manage Errata --> CL-BA-2012:0004 --> Channels Actual results: The channel "prod-Red Hat Enterprise Linux Server (v. 6 for 64-bit x86_64)" shows "Relevant Packages" == 0 Expected results: The channel "prod-Red Hat Enterprise Linux Server (v. 6 for 64-bit x86_64)" should show "Relevant Packages" == 1 (same count as for the dev- channel) Additional info: Additionnally, the Packages --> List/Remove sub-sub-tab of the cloned errata shows "(None)" for the Channels column of the package where it should show the dev- channel
The bulk of the issue raised here is not a bug. You have a dev-channel cloned from rhel, and a prod- cloned from dev-, but you've only cloned the specific errata to dev-. There is no automatic-update to the 'next clone in line', the channel-admin is responsible for updating the content. The very last line of #c0 *does* look like a bug, however. When managing cloned errata, the Errata\Manage Errata\<choose one erratum>\Packages\List/Remove 'Channels' column should show the channel(s) that the particular erratum has been cloned into, and it appears not to do so.
spacewalk.github: 4f86ff7a02c67dacfca5fe8c42f754b2a308ec88