When you create a bare-metal node, your PM address, username, and password should match those that are configured in your hardware's BIOS/IPMI configuration.
$ nova baremetal-node-create --pm_address=PM_ADDRESS --pm_user=PM_USERNAME \ --pm_password=PM_PASSWORD $(hostname -f) 1 512 10 aa:bb:cc:dd:ee:ff
The following example shows the command and results from creating
a node with the PM address 1.2.3.4
, the PM username
ipmi
, and password ipmi
.
$ nova baremetal-node-create --pm_address=1.2.3.4 --pm_user=ipmi \ --pm_password=ipmi $(hostname -f) 1 512 10 aa:bb:cc:dd:ee:ff +------------------+-------------------+ | Property | Value | +------------------+-------------------+ | instance_uuid | None | | pm_address | 1.2.3.4 | | interfaces | [] | | prov_vlan_id | None | | cpus | 1 | | memory_mb | 512 | | prov_mac_address | aa:bb:cc:dd:ee:ff | | service_host | ubuntu | | local_gb | 10 | | id | 1 | | pm_user | ipmi | | terminal_port | None | +------------------+-------------------+