Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

openstack baremetal introspection internal server error

Using tripleO going through the documented process step by step with VMs on a CentOS7 system failed on introspection on the undercloud VM. I traced it down to a bad database connection string in /etc/ironic-inspector/inspector.conf , the database connection string was:

connection = sqlite:///var/lib/ironic-inspector/inspector.sqlite

Which is a relative path. Changed it to connection = sqlite:////var/lib/ironic-inspector/inspector.sqlite (absolute path), migrated the database and it now works.

I'm not sure if I did something wrong, or if there is a bug somewhere, or whether the bug is in tripleO or upstream OpenStack (I just started with OpenStack last week and am still climbing the learning curve), so thought I would post it here in case anyone was interested and can file an appropriate bug report or suggest where I may have gone wrong.

openstack baremetal introspection internal server error

Using tripleO going through the documented process step by step with VMs on a CentOS7 system failed on introspection on the undercloud VM. I traced it down to a bad database connection string in /etc/ironic-inspector/inspector.conf , the database connection string was:

connection = sqlite:///var/lib/ironic-inspector/inspector.sqlite

sqlite:///var/lib/ironic-inspector/inspector.sqlite

Which is a relative path. Changed it to connection = sqlite:////var/lib/ironic-inspector/inspector.sqlite sqlite:////var/lib/ironic-inspector/inspector.sqlite (absolute path), migrated the database and it now works.

I'm not sure if I did something wrong, or if there is a bug somewhere, or whether the bug is in tripleO or upstream OpenStack (I just started with OpenStack last week and am still climbing the learning curve), so thought I would post it here in case anyone was interested and can file an appropriate bug report or suggest where I may have gone wrong.