introspection fails due to no IP being assigned to bare metal server
Issue
-
A new compute node is being added to an already existing overcloud but introspection fails as the compute node is not getting an IP address via the DHCP server
-
The following instackenv.json was imported:
{
"nodes":[
{
"mac":[
"2c:9d:1e:2c:45:8e"
],
"cpu":"4",
"memory":"6144",
"disk":"40",
"arch":"x86_64",
"pm_type":"pxe_ipmitool",
"pm_user":"root",
"pm_password":"<<cut>>",
"pm_addr":"10.10.10.11"
}
]
}
- DHCP Discover are being received and an offer is being transmitted:
[stack@host01 ~] (undercloud)$ sudo journalctl -l -u openstack-ironic-inspector -u openstack-ironic-inspector-dnsmasq -u openstack-ironic-conductor -f
Error was encountered while opening journal files: Invalid argument
-- Logs begin at Thu 2016-10-13 14:17:01 EDT. --
Nov 30 15:29:46 host01 dnsmasq-dhcp[1554]: DHCPDISCOVER(br-ctlplane) 2c:9d:1e:2c:45:8e
Nov 30 15:29:46 host01 dnsmasq-dhcp[1554]: DHCPOFFER(br-ctlplane) 10.10.10.10 2c:9d:1e:2c:45:8e
Nov 30 15:32:08 host01 dnsmasq-dhcp[1554]: DHCPDISCOVER(br-ctlplane) 2c:9d:1e:2c:45:8e
Nov 30 15:32:08 host01 dnsmasq-dhcp[1554]: DHCPOFFER(br-ctlplane) 10.10.10.10 2c:9d:1e:2c:45:8e
Nov 30 15:32:08 host01 dnsmasq-dhcp[1554]: DHCPDISCOVER(br-ctlplane) 2c:9d:1e:2c:45:8e
Nov 30 15:32:08 host01 dnsmasq-dhcp[1554]: DHCPOFFER(br-ctlplane) 10.10.10.10 2c:9d:1e:2c:45:8e
Nov 30 15:32:11 host01 dnsmasq-dhcp[1554]: DHCPDISCOVER(br-ctlplane) 2c:9d:1e:2c:45:8e
Nov 30 15:32:11 host01 dnsmasq-dhcp[1554]: DHCPOFFER(br-ctlplane) 10.10.10.10 2c:9d:1e:2c:45:8e
Nov 30 15:32:20 host01 dnsmasq-dhcp[1554]: DHCPDISCOVER(br-ctlplane) 2c:9d:1e:2c:45:8e
Nov 30 15:32:20 host01 dnsmasq-dhcp[1554]: DHCPOFFER(br-ctlplane) 10.10.10.10 2c:9d:1e:2c:45:8e
- When using tcpdump, the packets are seen leaving the undercloud host:
[stack@host01 ~] (undercloud)$ sudo tcpdump -i br-ctlplane | grep -i DHCP
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on br-ctlplane, link-type EN10MB (Ethernet), capture size 65535 bytes
15:29:32.416645 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 2c:9d:1e:2c:45:8e (oui Unknown), length 548
15:29:34.399845 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 2c:9d:1e:2c:45:8e (oui Unknown), length 548
15:29:35.170755 IP host01..bootps > 255.255.255.255.bootpc: BOOTP/DHCP, Reply, length 326
Environment
- Red Hat OpenStack Platform 8.0 (RHOSP)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.