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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.