Ask Your Question
0

openstack baremetal introspection internal server error

asked 2015-10-06 12:14:52 -0500

jrichards99 gravatar image

updated 2016-02-04 03:09:31 -0500

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.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2017-03-15 15:58:12 -0500

dsneddon gravatar image

This suggestion is now obsolete, since Ironic Inspector doesn't use sqlite any more. Ironic Inspector now uses the "ironic-inspector" database in SQL.

edit flag offensive delete link more
0

answered 2017-03-15 15:57:01 -0500

rbowen gravatar image

We no longer use sqlite for Ironic Inspector, so this question is now obsolete. Thanks for the info, though, which may be useful to people using earlier versions.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-10-06 12:14:52 -0500

Seen: 180 times

Last updated: Mar 15