The spacewalk-clone-by-date command clones base channel when cloning child channel with configuration file option.

Solution Verified - Updated -

Issue

  • When cloning child channel only spacewalk-clone-by-date command also clones parent channel when using configuration file,

    • Command,
    # spacewalk-clone-by-date -c /root/sample-config.txt 
    
    • Sample Configuration file,
    {
     "username":"testadmin",
     "password":"testpassword",
     "assumeyes":false,
     "to_date": "2013-05-31",
     "skip_depsolve":false,
     "security_only":false,
     "blacklist": {
              },
     "removelist": {
              },
     "channels":[
             {
                "rhel-x86_64-server-6": "clone-rhel-x86_64-server-6",
                "rhn-tools-rhel-x86_64-server-6": "testing-clone-rhn-tools-rhel-x86_64-server-6"
             }
           ]
    }
    
    • Instead of cloning erratas to testing-clone-rhn-tools-rhel-x86_64-server-6 channel command clones parent channel clone-rhel-x86_64-server-6 too.

Environment

  • Red Hat Network Satellite 5.5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content