Ask Your Question
1

Triple-O Introspection failure, ironic-python-agent ConnectionError

asked 2017-12-18 03:30:45 -0500

ums gravatar image

Hello,

I am currently setting up a test baremetal lab environment using tripleO (pike release). However I am stuck at the introspection part of the overcloud setup.

During introspection, the overcloud node boots up, but then the ironic-python-agent service fails to start with the following error;

ERROR ironic-python-agent ConnectionError: HTTPConnectionPool(host='192.168.24.1', port=5050'): Max retries exceeded with url: /v1/continue (Caused by NewConnectionError('<request.packages.urllib3.connection.httpconnection object="" at="" 0x2d9f6d0="">: Failed to establish a new connection: (Errno 101) Network is unreachable',))

Now when I login into ramdisk image and run the " ip addr " command; I see no IPs assigned to any of the node interfaces which explains the error above; however when I run the " sudo journalctl -u openstack-ironic-inspector -u openstack-ironic-inspector-dnsmasq " command, I am to see the complete DHCP handshake; logs are as follows,

*

Dec 15 12:16:50 undercloud.inara dnsmasq-dhcp[1434]: DHCPDISCOVER(br-ctlplane) 0c:c4:7a:9f:f1:78

Dec 15 12:16:50 undercloud.inara dnsmasq-dhcp[1434]: DHCPOFFER(br-ctlplane) 192.168.24.111 0c:c4:7a:9f:f1:78

Dec 15 12:16:50 undercloud.inara dnsmasq-dhcp[1434]: DHCPDISCOVER(br-ctlplane) 0c:c4:7a:9f:f1:78

Dec 15 12:16:50 undercloud.inara dnsmasq-dhcp[1434]: DHCPOFFER(br-ctlplane) 192.168.24.111 0c:c4:7a:9f:f1:78

Dec 15 12:16:53 undercloud.inara dnsmasq-dhcp[1434]: DHCPREQUEST(br-ctlplane) 192.168.24.111 0c:c4:7a:9f:f1:78

Dec 15 12:16:53 undercloud.inara dnsmasq-dhcp[1434]: DHCPACK(br-ctlplane) 192.168.24.111 0c:c4:7a:9f:f1:78

Dec 15 12:16:59 undercloud.inara ironic-inspector[1381]: 2017-12-15 12:16:59.465 1381 INFO werkzeug [-] 192.168.24.1 - - [15/Dec/2017 12:16:59] "GET /v1/introspection/0

Dec 15 12:17:09 undercloud.inara ironic-inspector[1381]: 2017-12-15 12:17:09.483 1381 INFO werkzeug [-] 192.168.24.1 - - [15/Dec/2017 12:17:09] "GET /v1/introspection/0

Dec 15 12:17:19 undercloud.inara ironic-inspector[1381]: 2017-12-15 12:17:19.503 1381 INFO werkzeug [-] 192.168.24.1 - - [15/Dec/2017 12:17:19] "GET /v1/introspection/0

Dec 15 12:17:29 undercloud.inara ironic-inspector[1381]: 2017-12-15 12:17:29.522 1381 INFO werkzeug [-] 192.168.24.1 - - [15/Dec/2017 12:17:29] "GET /v1/introspection/0

Dec 15 12:17:30 undercloud.inara dnsmasq-dhcp[1434]: DHCPDISCOVER(br-ctlplane) 0c:c4:7a:9f:f1:78

Dec 15 12:17:30 undercloud.inara dnsmasq-dhcp[1434]: DHCPOFFER(br-ctlplane) 192.168.24.112 0c:c4:7a:9f:f1:78

Dec 15 12:17:30 undercloud.inara dnsmasq-dhcp[1434]: DHCPREQUEST(br-ctlplane) 192.168.24.112 0c:c4:7a:9f:f1:78

Dec 15 12:17:30 undercloud.inara dnsmasq-dhcp[1434]: DHCPACK(br-ctlplane) 192.168.24.112 0c:c4:7a:9f:f1:78

Dec 15 12:17:39 undercloud.inara ironic-inspector[1381]: 2017-12-15 12:17:39.539 1381 INFO werkzeug [-] 192.168.24.1 - - [15/Dec/2017 12:17:39] "GET /v1/introspection/0

Dec 15 12:17:45 undercloud.inara dnsmasq-dhcp ... (more)

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2017-12-20 05:52:32 -0500

ums gravatar image

I resolved this issue by configuring the ports on my switch to be in 'portFast' mode. This means that the link would automatically move into forwarding mode as soon as it comes up.

It seems that the time taken by cisco switch to detect correct mode configuration of the links exceeded the time out of 60 seconds ironic agent waits for interfaces to get valid IP addresses.

edit flag offensive delete link more
0

answered 2018-10-26 08:23:17 -0500

Had a similar problem with Queens. I had to add a root password to the images, boot into each node, and run 'ifup' to get an IP address. Introspection then finished.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2017-12-18 03:30:45 -0500

Seen: 578 times

Last updated: Dec 18 '17