Cloning a child channel of one base channel in to another base channel...
I've got the following situation:
I've got a clone for the RHEL Server 6 base channel, and several child channels, and some hosts subcribed to this. On these hosts the output of rhn-channel -l looks like this:
dev-rhel-x86_64-server-6
dev-rhel-x86_64-server-6-ost-3
dev-rhel-x86_64-server-optional-6
dev-rhel-x86_64-server-supplementary-6
dev-rhn-tools-rhel-x86_64-server-6
Some hosts however require RHEL Server 6.4, so I've got a clone of server 6.4.z as well. Output of rhn-channel -l is there:
dev-rhel-x86_64-server-6.4.z
dev-rhel-x86_64-server-6-rhs-2.1
dev-rhel-x86_64-server-sfs-6.4.z
dev-rhn-tools-rhel-x86_64-server-6.4.z
My problem is that I need a few packages (in this case "puppet") from dev-rhel-x86_64-server-6-ost-3 on those hosts that have dev-rhel-x86_64-server-6.4.z as base channel. So I tried to create a clone of dev-rhel-x86_64-server-6-ost-3 under dev-rhel-x86_64-server-6.4.z, but this doesn't work. Trying to create such a channel using the web console fails silently.
I am wondering if I am atacking this problem the right way. Is something wrong with my satellite that keeps me from creating this clone? Or is there another way to have a host subscribe to a channel that is not a child of its base channel?
Responses
Are you trying to keep your Servers at 6.x and not update to 6.4? All 6.x RH server releases fall under a single channel - rhel-x86_64-server-6. Unless you have a ISO of the repo starting at 6.4? You can subscribe to the channel and just ignore the RH server update. Please follow up with more information.
Hello Krist - unfortunately I do not quite understand what you are attempting, or why it would fail. I can offer this though - I would try to do what you are doing by CLI using spacewalk-clone-channel
https://access.redhat.com/site/documentation/en-US/Red_Hat_Network_Satellite/5.5/html/User_Guide/chap-Red_Hat_Network_Satellite-User_Guide-Cloning_a_Machine.html
I have tried to clone child channel with a change in parent channel as you have defined above and I couldn't see any error as well as it worked fine. During the cloning process, what exactly happens when you select the different parent and click on "Create Channel" ? Does it stay on that page or redirects to some other page ?
You don't see any errors in the logs as well ? Execute tail -f /var/log/httpd/*log in terminal and try to clone the channel. Check if there is any error in the logs here. If not then I think it would be best to open a support case with the latest spacewalk-debug.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
