Bug 1320159 - Bulk introspection fails with baremetal
Summary: Bulk introspection fails with baremetal
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-ironic-inspector
Version: 9.0 (Mitaka)
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
: 10.0 (Newton)
Assignee: Dmitry Tantsur
QA Contact: Raviv Bar-Tal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-22 12:59 UTC by Joe Talerico
Modified: 2016-09-11 08:23 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-11 08:23:24 UTC
Target Upstream Version:


Attachments (Terms of Use)
inspector log (5.54 MB, text/plain)
2016-03-22 12:59 UTC, Joe Talerico
no flags Details

Description Joe Talerico 2016-03-22 12:59:16 UTC
Created attachment 1139057 [details]
inspector log

Description of problem:
Bulk introspection fails with baremetal

Version-Release number of selected component (if applicable):
openstack-ironic-inspector-3.0.1-0.20160303184238.e8ecb99.el7.centos.noarch
python-ironic-inspector-client-1.4.1-0.20160229171554.f9a9e27.el7.centos.noarch

How reproducible:
N/A

Steps to Reproduce:
1. Inspect 4 baremetal nodes with bulk introspection

Actual results:

Introspection for UUID 57c2d59e-6e39-4f6b-833e-02a77338c4c2 finished successfully.
Introspection for UUID c959d164-5e0b-43ad-9268-e3724c711174 finished successfully.
Introspection for UUID 227a6503-e38b-4d3a-b517-10c49413e990 finished successfully.
Introspection for UUID fe043cac-3036-4365-9038-f46b84f57013 finished with error: Preprocessing hook validate_interfaces: No suitable interfaces found in {u'ib0': {'ip': None, 'mac': u'80:00:02:40:fe:80:00:00:00:00:00:00:f4:52:14:03:00:31:ae:22'}, u'eth4': {'ip': None, 'mac': u'f4:52:14:31:ae:21'}, u'eth3': {'ip': None, 'mac': u'40:a8:f0:20:65:5f'}, u'eth2': {'ip': None, 'mac': u'40:a8:f0:20:65:5e'}, u'eth1': {'ip': None, 'mac': u'40:a8:f0:20:65:5d'}, u'eth0': {'ip': None, 'mac': u'40:a8:f0:20:65:5c'}}
Introspection for UUID e3c9a81c-81cd-41fa-803c-06dc92f9f170 finished successfully.
Setting manageable nodes to available...
Node 57c2d59e-6e39-4f6b-833e-02a77338c4c2 has been set to available.
Node 227a6503-e38b-4d3a-b517-10c49413e990 has been set to available.
Node e3c9a81c-81cd-41fa-803c-06dc92f9f170 has been set to available.
Node c959d164-5e0b-43ad-9268-e3724c711174 has been set to available.
Introspection completed with errors:
fe043cac-3036-4365-9038-f46b84f57013: Preprocessing hook validate_interfaces: No suitable interfaces found in {u'ib0': {'ip': None, 'mac': u'80:00:02:40:fe:80:00:00:00:00:00:00:f4:52:14:03:00:31:ae:22'}, u'eth4': {'ip': None, 'mac': u'f4:52:14:31:ae:21'}, u'eth3': {'ip': None, 'mac': u'40:a8:f0:20:65:5f'}, u'eth2': {'ip': None, 'mac': u'40:a8:f0:20:65:5e'}, u'eth1': {'ip': None, 'mac': u'40:a8:f0:20:65:5d'}, u'eth0': {'ip': None, 'mac': u'40:a8:f0:20:65:5c'}}

Expected results:
All nodes to introspect.

Additional info:
Manually running openstack baremetal introspection on the failed node, fixes the issue.

Comment 2 Dmitry Tantsur 2016-03-28 17:56:02 UTC
Looks like for some reason DHCP did not work for the nodes. Please grab the ramdisk logs, they can be found in /var/log/ironic-inspector/ramdisk as tarballs with weird names :)

Also please grab the output of 'sudo journalctl -u openstack-ironic-inspector-dnsmasq'

Comment 3 Jaromir Coufal 2016-06-08 18:16:22 UTC
Joe, could you provide the needed info? If not re-producable we should close the bug. Thanks, Jarda

Comment 4 Joe Talerico 2016-06-08 20:19:41 UTC
Jarda can someone from QE attempt to recreate? If not then go ahead and close the bug.

Comment 5 Raviv Bar-Tal 2016-09-11 08:23:24 UTC
I have introspection BM machines many times with Mitack release and did not find specific with introspection or the DHCP service.

Joe if you have more information or reproduce steps for you problem, Please open new bug with the information and relevant Ironic logs


Note You need to log in before you can comment on or make changes to this bug.