[Satellite 6.x] Provisioning using the 'hammer host create' command fails with the "Could not create the host: Medium can't be blank" error after upgrading to Satellite 6.9.1
Issue
After successfully upgrading Red Hat Satellite server to 6.9.1, provisioning a new host using the following command:
# hammer host create \
--build true \
--architecture x86_64 \
--comment "Automated host created by user admin" \
--content-view "Content_View_1" \
--domain "example.com" \
--hostgroup-id "3" \
--lifecycle-environment "LFCE_1" \
--mac="00:50:56:81:00:00" \
--name "host_1" \
--organization-id "3" \
--owner "admin" \
--owner-type User \
--provision-method "build" \
--parameters "app=default,cif=0,mandant=kw,stage=test,update=1,package_upgrade=true,install-disk=sda,patchcycle=q14,DMZ=false" \
--location-id="4" \
--partition-table-id 103 \
--puppet-proxy-id 1 \
--domain-id 1 \
--puppet-environment-id 2 \
--interface "mac=00:50:56:81:00:00,ip=172.22.108.1,identifier=eth0,name=host_1.example.com,subnet_id=27,provision=1,managed=1,primary=1,remote=1" \
--root-password "000000" \
--content-source-id 1 \
--puppet-ca-proxy-id 1 \
--puppet-proxy-id 1
fails with the following error:
Could not create the host: Medium can't be blank
Environment
- Red Hat Satellite 6.9.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.