After a fresh deploy of Kolla 3.0.1, I'm getting the errors below from ironic_inspector container:
5809eexc968d4d kolla/ubuntu-source-ironic-inspector:3.0.1 "kolla_start" 15 seconds ago Up 14 seconds ironic_inspector
root@openstack2:/usr/local/share/kolla/ansible# docker logs ironic_inspector
INFO:__main__:Kolla config strategy set to: COPY_ALWAYS
INFO:__main__:Loading config file at /var/lib/kolla/config_files/config.json
INFO:__main__:Validating config file
INFO:__main__:Copying service configuration files
INFO:__main__:Copying /var/lib/kolla/config_files/ironic.conf to /etc/ironic-inspector/ironic.conf
INFO:__main__:Setting permissions for /etc/ironic-inspector/ironic.conf
INFO:__main__:Writing out command to execute
Running command: 'ironic-inspector --config-file /etc/ironic-inspector/ironic.conf'
2016-12-15 12:58:09.600 7 WARNING oslo_config.cfg [-] Option "identity_uri" from group "ironic" is deprecated for removal. Its value may be silently ignored in the future.
2016-12-15 12:58:09.601 7 WARNING oslo_config.cfg [-] Option "os_auth_url" from group "ironic" is deprecated for removal. Its value may be silently ignored in the future.
2016-12-15 12:58:09.601 7 WARNING oslo_config.cfg [-] Option "os_password" from group "ironic" is deprecated for removal. Its value may be silently ignored in the future.
2016-12-15 12:58:09.602 7 WARNING oslo_config.cfg [-] Option "os_tenant_name" from group "ironic" is deprecated for removal. Its value may be silently ignored in the future.
2016-12-15 12:58:09.602 7 WARNING oslo_config.cfg [-] Option "os_username" from group "ironic" is deprecated for removal. Its value may be silently ignored in the future.
2016-12-15 12:58:10.019 7 WARNING ironic_inspector.main [-] Introspection data will not be stored. Change "[processing] store_data" option if this is not the desired behavior
2016-12-15 12:58:10.047 7 INFO ironic_inspector.main [-] Enabled processing hooks: ['ramdisk_error', 'root_disk_selection', 'scheduler', 'validate_interfaces', 'capabilities', 'pci_devices']
2016-12-15 12:58:11.567 7 INFO werkzeug [-] * Running on http://0.0.0.0:5050/ (Press CTRL+C to quit)
2016-12-15 12:58:26.564 7 WARNING ironic_inspector.common.keystone [-] Group [ironic]: Using legacy auth loader is deprecated. Consider specifying appropriate keystone auth plugin as 'auth_type' and corresponding plugin options.
2016-12-15 12:58:26.594 7 ERROR oslo_db.sqlalchemy.exc_filters [-] DBAPIError exception wrapped from (pymysql.err.InternalError) (1054, u"Unknown column 'nodes.finished_at' in 'where clause'") [SQL: u'SELECT nodes.uuid AS nodes_uuid \nFROM nodes \nWHERE nodes.finished_at IS NULL \n LIMIT %(param_1)s'] [parameters: {u'param_1': 1}]
2016-12-15 12:58:26.594 7 ERROR oslo_db.sqlalchemy.exc_filters Traceback (most recent call last):
2016-12-15 12:58:26.594 7 ERROR oslo_db.sqlalchemy.exc_filters File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context
2016-12-15 12:58:26.594 7 ERROR oslo_db.sqlalchemy.exc_filters context)
2016-12-15 12:58:26.594 7 ERROR oslo_db.sqlalchemy.exc_filters File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 450, in do_execute
2016-12-15 12:58:26.594 7 ERROR oslo_db.sqlalchemy.exc_filters cursor.execute(statement, parameters)
2016-12-15 12:58:26.594 7 ERROR oslo_db.sqlalchemy.exc_filters File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/pymysql/cursors.py", line 167, in execute
2016-12-15 12:58:26.594 7 ERROR oslo_db.sqlalchemy.exc_filters result = self._query(query)
2016-12-15 12:58:26.594 7 ERROR oslo_db.sqlalchemy.exc_filters File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/pymysql/cursors.py", line 323, in _query
2016-12-15 12:58:26.594 7 ERROR oslo_db.sqlalchemy.exc_filters conn.query(q)
2016-12-15 12:58:26.594 7 ERROR oslo_db.sqlalchemy.exc_filters File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/pymysql/connections.py", line 836, in query
2016-12-15 12:58:26.594 7 ERROR oslo_db.sqlalchemy.exc_filters self._affected_rows = self._read_query_result(unbuffered=unbuffered)
2016-12-15 12:58:26.594 7 ERROR oslo_db.sqlalchemy.exc_filters File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/pymysql/connections.py", line 1020, in _read_query_result
2016-12-15 12:58:26.594 7 ERROR oslo_db.sqlalchemy.exc_filters result.read()
2016-12-15 12:58:26.594 7 ERROR oslo_db.sqlalchemy.exc_filters File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/pymysql/connections.py", line 1303, in read
2016-12-15 12:58:26.594 7 ERROR oslo_db.sqlalchemy.exc_filters first_packet = self.connection._read_packet()
2016-12-15 12:58:26.594 7 ERROR oslo_db.sqlalchemy.exc_filters File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/pymysql/connections.py", line 982, in _read_packet
2016-12-15 12:58:26.594 7 ERROR oslo_db.sqlalchemy.exc_filters packet.check_error()
2016-12-15 12:58:26.594 7 ERROR oslo_db.sqlalchemy.exc_filters File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/pymysql/connections.py", line 394, in check_error
2016-12-15 12:58:26.594 7 ERROR oslo_db.sqlalchemy.exc_filters err.raise_mysql_exception(self._data)
2016-12-15 12:58:26.594 7 ERROR oslo_db.sqlalchemy.exc_filters File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/pymysql/err.py", line 120, in raise_mysql_exception
2016-12-15 12:58:26.594 7 ERROR oslo_db.sqlalchemy.exc_filters _check_mysql_exception(errinfo)
2016-12-15 12:58:26.594 7 ERROR oslo_db.sqlalchemy.exc_filters File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/pymysql/err.py", line 115, in _check_mysql_exception
2016-12-15 12:58:26.594 7 ERROR oslo_db.sqlalchemy.exc_filters raise InternalError(errno, errorvalue)
2016-12-15 12:58:26.594 7 ERROR oslo_db.sqlalchemy.exc_filters InternalError: (1054, u"Unknown column 'nodes.finished_at' in 'where clause'")
2016-12-15 12:58:26.594 7 ERROR oslo_db.sqlalchemy.exc_filters
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main [-] Periodic update of firewall rules failed
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main Traceback (most recent call last):
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/ironic_inspector/main.py", line 315, in periodic_update
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main firewall.update_filters()
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/ironic_inspector/firewall.py", line 182, in update_filters
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main if not _should_enable_dhcp():
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/ironic_inspector/firewall.py", line 113, in _should_enable_dhcp
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main return (node_cache.introspection_active() or
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/ironic_inspector/node_cache.py", line 441, in introspection_active
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main return (db.model_query(db.Node.uuid).filter_by(finished_at=None).first()
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2659, in first
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main ret = list(self[0:1])
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2457, in __getitem__
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main return list(res)
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2761, in __iter__
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main return self._execute_and_instances(context)
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2776, in _execute_and_instances
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main result = conn.execute(querycontext.statement, self._params)
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 914, in execute
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main return meth(self, multiparams, params)
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/sqlalchemy/sql/elements.py", line 323, in _execute_on_connection
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main return connection._execute_clauseelement(self, multiparams, params)
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1010, in _execute_clauseelement
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main compiled_sql, distilled_params
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1146, in _execute_context
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main context)
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1337, in _handle_dbapi_exception
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main util.raise_from_cause(newraise, exc_info)
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/sqlalchemy/util/compat.py", line 202, in raise_from_cause
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main reraise(type(exception), exception, tb=exc_tb, cause=cause)
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main context)
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 450, in do_execute
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main cursor.execute(statement, parameters)
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/pymysql/cursors.py", line 167, in execute
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main result = self._query(query)
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/pymysql/cursors.py", line 323, in _query
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main conn.query(q)
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/pymysql/connections.py", line 836, in query
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main self._affected_rows = self._read_query_result(unbuffered=unbuffered)
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/pymysql/connections.py", line 1020, in _read_query_result
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main result.read()
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/pymysql/connections.py", line 1303, in read
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main first_packet = self.connection._read_packet()
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/pymysql/connections.py", line 982, in _read_packet
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main packet.check_error()
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/pymysql/connections.py", line 394, in check_error
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main err.raise_mysql_exception(self._data)
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/pymysql/err.py", line 120, in raise_mysql_exception
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main _check_mysql_exception(errinfo)
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/pymysql/err.py", line 115, in _check_mysql_exception
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main raise InternalError(errno, errorvalue)
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main DBError: (pymysql.err.InternalError) (1054, u"Unknown column 'nodes.finished_at' in 'where clause'") [SQL: u'SELECT nodes.uuid AS nodes_uuid \nFROM nodes \nWHERE nodes.finished_at IS NULL \n LIMIT %(param_1)s'] [parameters: {u'param_1': 1}]
2016-12-15 12:58:26.599 7 ERROR ironic_inspector.main
ironic-inspector do not work at all, even on master branch. I have a patch to fix this.https:/ /review. openstack. org/380774