Hi All,

We are facing one strange problem in openstack overcloud deploy
action. We are getting error in ironic-inspector.log as shown below.

"Look up error: Could not find a node for attributes {'bmc_address':
u'', 'mac': [u'52:54:00:44:3b:b8']}"

Upon further troubleshoot we found that during introspection we are
getting proper response of POST request to ironic-inspector, but
during overcloud deployment same action results in above error. Below
are both success and failure scenarios.

================SUCCESS during introspection================
POST /v1/continue HTTP/1.1
Host: 13.13.13.250:5050
Connection: keep-alive
Accept-Encoding: gzip, deflate
Accept: */*
User-Agent: python-requests/2.11.1
Content-Length: 1575

{"cpu_arch": "x86_64", "root_disk": {"rotational": true, "vendor":
"0x1af4", "name": "/dev/vda", "wwn_vendor_extension": null,
"wwn_with_extension": null, "model": "", "wwn": null, "serial": null,
"size": 42949672960}, "interfaces": {"eth0": {"ip": "13.13.13.213",
"mac": "52:54:00:44:3b:b8"}}, "cpus": 8, "boot_interface":
"52:54:00:44:3b:b8", "memory_mb": 4200, "ipmi_address": "",
"inventory": {"bmc_address": "", "interfaces": [{"lldp": null,
"product": "0x0001", "vendor": "0x1af4", "name": "eth0",
"has_carrier": true, "switch_port_descr": null,
"switch_chassis_descr": null, "ipv4_address": "13.13.13.213",
"mac_address": "52:54:00:44:3b:b8"}], "disks": [{"rotational": true,
"vendor": "0x1af4", "name": "/dev/vda", "wwn_vendor_extension": null,
"wwn_with_extension": null, "model": "", "wwn": null, "serial": null,
"size": 42949672960}], "boot": {"current_boot_mode": "bios",
"pxe_interface": "52:54:00:44:3b:b8"}, "system_vendor":
{"serial_number": "Not Specified", "product_name": "KVM",
"manufacturer": "Red Hat"}, "memory": {"physical_mb": 4200, "total":
4250152960}, "cpu": {"count": 8, "frequency": "2400.084", "flags":
["fpu", "de", "pse", "tsc", "msr", "pae", "mce", "cx8", "apic", "sep",
"mtrr", "pge", "mca", "cmov", "pat", "pse36", "clflush", "mmx",
"fxsr", "sse", "sse2", "syscall", "nx", "lm", "constant_tsc",
"rep_good", "nopl", "pni", "pclmulqdq", "ssse3", "cx16", "sse4_1",
"sse4_2", "x2apic", "popcnt", "aes", "hypervisor", "lahf_lm"],
"model_name": "Westmere E56xx/L56xx/X56xx (Nehalem-C)",
"architecture": "x86_64"}}, "error": null, "local_gb": 39}HTTP/1.0 200
OK
Content-Type: application/json
Content-Length: 52
X-OpenStack-Ironic-Inspector-API-Minimum-Version: 1.0
X-OpenStack-Ironic-Inspector-API-Maximum-Version: 1.6
Server: Werkzeug/0.9.1 Python/2.7.5
Date: Fri, 17 Nov 2017 10:58:35 GMT

{
  "uuid": "78af6266-6a4a-4a14-9d05-b808baf44adb"
}

==============================================================


=================Failure during overcloud deploy============================
POST /v1/continue HTTP/1.1
Host: 13.13.13.250:5050
Connection: keep-alive
Accept-Encoding: gzip, deflate
Accept: */*
User-Agent: python-requests/2.11.1
Content-Length: 1575

{"cpu_arch": "x86_64", "root_disk": {"rotational": true, "vendor":
"0x1af4", "name": "/dev/vda", "wwn_vendor_extension": null,
"wwn_with_extension": null, "model": "", "wwn": null, "serial": null,
"size": 42949672960}, "interfaces": {"eth0": {"ip": "13.13.13.119",
"mac": "52:54:00:44:3b:b8"}}, "cpus": 8, "boot_interface":
"52:54:00:44:3b:b8", "memory_mb": 4200, "ipmi_address": "",
"inventory": {"bmc_address": "", "interfaces": [{"lldp": null,
"product": "0x0001", "vendor": "0x1af4", "name": "eth0",
"has_carrier": true, "switch_port_descr": null,
"switch_chassis_descr": null, "ipv4_address": "13.13.13.119",
"mac_address": "52:54:00:44:3b:b8"}], "disks": [{"rotational": true,
"vendor": "0x1af4", "name": "/dev/vda", "wwn_vendor_extension": null,
"wwn_with_extension": null, "model": "", "wwn": null, "serial": null,
"size": 42949672960}], "boot": {"current_boot_mode": "bios",
"pxe_interface": "52:54:00:44:3b:b8"}, "system_vendor":
{"serial_number": "Not Specified", "product_name": "KVM",
"manufacturer": "Red Hat"}, "memory": {"physical_mb": 4200, "total":
4250152960}, "cpu": {"count": 8, "frequency": "2400.084", "flags":
["fpu", "de", "pse", "tsc", "msr", "pae", "mce", "cx8", "apic", "sep",
"mtrr", "pge", "mca", "cmov", "pat", "pse36", "clflush", "mmx",
"fxsr", "sse", "sse2", "syscall", "nx", "lm", "constant_tsc",
"rep_good", "nopl", "pni", "pclmulqdq", "ssse3", "cx16", "sse4_1",
"sse4_2", "x2apic", "popcnt", "aes", "hypervisor", "lahf_lm"],
"model_name": "Westmere E56xx/L56xx/X56xx (Nehalem-C)",
"architecture": "x86_64"}}, "error": null, "local_gb": 39}HTTP/1.0 400
BAD REQUEST
Content-Type: application/json
Content-Length: 211
X-OpenStack-Ironic-Inspector-API-Minimum-Version: 1.0
X-OpenStack-Ironic-Inspector-API-Maximum-Version: 1.6
Server: Werkzeug/0.9.1 Python/2.7.5
Date: Fri, 17 Nov 2017 11:26:03 GMT

{
  "error": {
    "message": "The following failures happened during running
pre-processing hooks:\nLook up error: Could not find a node for
attributes {'bmc_address': u'', 'mac': [u'52:54:00:44:3b:b8']}"
  }
}


========================================================

Please let us know what could be the problem for this. Let me know if
you require any other details for the same.

Regards,
Bhushan Karia

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to