Bug 1280263
Summary: | Deploying RHEL-OSP errors out at 90% with "Error, can't convert nil into String" | ||
---|---|---|---|
Product: | Red Hat Quickstart Cloud Installer | Reporter: | Thom Carlin <tcarlin> |
Component: | Installation - RHELOSP | Assignee: | John Matthews <jmatthew> |
Status: | VERIFIED --- | QA Contact: | Sudhir Mallamprabhakara <smallamp> |
Severity: | medium | Docs Contact: | Dan Macpherson <dmacpher> |
Priority: | unspecified | ||
Version: | 1.0 | CC: | bthurber, jmatthew |
Target Milestone: | TP2 | ||
Target Release: | 1.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | Bug | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Thom Carlin
2015-11-11 11:10:06 UTC
This error is masking the real problem, which is that the node introspection failed and now we're trying to create a Flavor with empty hardware information. I have submitted a patch to egon to make it not throw this error and instead pass up the error message that OSP is giving us, but that won't solve the underlying problem of why the node introspection is failing. https://github.com/fusor/egon/pull/51 In the reproducer specified, I suppose "why node introspection failed" is pretty simple, we gave it the wrong user / password. There are other reasons that node introspection can fail though. At least now the error message should give you some hint as to what went wrong. I think we can consider this BZ to be MODIFIED, and if there are other problems with node introspection we'll track them as separate issues. Stephen, thanks for pointing out that the hour timeout can be reduced by: 1) Edit /etc/ironic-discoverd/discoverd.conf [discoverd] add "timeout=300" 2) openstack-service restart restarting openstack-service resolved the underlying issue Please note that the 5 minute may be too short and 1 hour may be too long. Adjust for your particular hardware. When I submit incorrect user/pass to the ipmitool, the error message after a timeout now reads: "Introspection timeout" I think an RFE for quick uer/pass check before the introspection starts is in order. We should not waste time if it's obvious that introspection will fail. Marking this as verified, since I cannot reproduce the original error message. RHCI-6.0-RHEL-7-20160122.t.1-RHCI-x86_64-dvd1.iso |