Bug 1268992
Summary: | [RDO-Manager][Liberty] : openstack baremetal introspection bulk start causes "Internal server error" ( introspection fails) . | ||
---|---|---|---|
Product: | [Community] RDO | Reporter: | Omri Hochman <ohochman> |
Component: | rdo-manager | Assignee: | John Trowbridge <jtrowbri> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | yeylon <yeylon> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | trunk | CC: | goneri, jtrowbri, mburns, sasha, srevivo |
Target Milestone: | --- | ||
Target Release: | Liberty | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | instack-undercloud-2.1.3-dev224 | 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
Omri Hochman
2015-10-05 20:46:51 UTC
The workaround in comment #0 allows the overcloud deployment to use the nodes without introspection. The allow introspection: 1. edit the /etc/ironic-inspector/inspector.conf file and make sure to add another '/' character after sqlite under [database], like below: [database] connection = sqlite:////var/lib/ironic-inspector/inspector.sqlite 2. sudo systemctl restart openstack-ironic-inspector.service 3. sudo ironic-inspector-dbsync --config-file /etc/ironic-inspector/inspector.conf upgrade Fixed in latest liberty repo: http://trunk.rdoproject.org/liberty/centos7/current/ This was close but not quite right. Since we switched to using a service user and rootwrap for ironic-inspector, we need to create the database as that user. https://review.openstack.org/#/c/231656/ is the fix The workaround is to run: sudo chown ironic-inspector /var/lib/ironic-inspector/inspector.sqlite Verified with the RDO GA bits : sudo yum install -y http://rdoproject.org/repos/openstack-liberty/rdo-release-liberty.rpm |