[Satellite6] Specifying a subnet name within the interface options of a 'hammer host create' command results in an error

Solution In Progress - Updated -

Issue

  • Specifying a subnet name within the interface options of a 'hammer host create' command results in an error
# hammer subnet list
---|---------------|---------------|--------------
ID | NAME          | NETWORK       | MASK         
---|---------------|---------------|--------------
3  | Corporate_x   | 192.168.118.0 | 255.255.255.0
4  | Corporate_y   | 192.168.108.0 | 255.255.255.0
---|---------------|---------------|--------------

# hammer host create --name "bne-tst" --hostgroup "BNE Test - RHEL7" --ask-root-password yes --interface="primary=true, provision=true, mac=00:01:02:03:04:05, ip=192.168.118.85, subnet=Corporate_x"
Enter the root password for the host: 
Could not create the host:
  Subnet(#75847520) expected, got String(#7677800)

Environment

  • Red Hat Satellite 6.2

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.