[openstack-dev] [nova] The image status is always 'BUILD'
Johnson Cheng
Johnson.Cheng at QsanTechnology.com
Tue Jul 22 09:12:19 UTC 2014
Dear All,
I can't use it to attach volume because the status is 'BUILD', not 'ACTIVE'.
#> nova list
+--------------------------------------+----------------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+----------------+--------+------------+-------------+----------+
| 38178a4d-8a88-4d21-9ba9-cbc152cf7b39 | myCirrosServer | BUILD | spawning | NOSTATE | |
+--------------------------------------+----------------+--------+------------+-------------+----------+
I found some wired message in my nova-cert.log as below,
2014-07-22 14:18:06.845 16963 AUDIT nova.service [-] Starting cert node (version 2014.1)
2014-07-22 14:18:12.348 16963 INFO oslo.messaging._drivers.impl_rabbit [-] Connected to AMQP server on controller:5672
2014-07-22 14:59:19.133 16963 ERROR nova.servicegroup.drivers.db [-] model server went away
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db Traceback (most recent call last):
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db File "/usr/lib/python2.7/dist-packages/nova/servicegroup/drivers/db.py", line 95, in _report_state
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db service.service_ref, state_catalog)
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db File "/usr/lib/python2.7/dist-packages/nova/conductor/api.py", line 218, in service_update
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db return self._manager.service_update(context, service, values)
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 966, in wrapper
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db return func(*args, **kwargs)
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/server.py", line 139, in inner
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db return func(*args, **kwargs)
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line 491, in service_update
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db svc = self.db.service_update(context, service['id'], values)
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db File "/usr/lib/python2.7/dist-packages/nova/db/api.py", line 148, in service_update
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db return IMPL.service_update(context, service_id, values)
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.py", line 146, in wrapper
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db return f(*args, **kwargs)
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.py", line 532, in service_update
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db with_compute_node=False, session=session)
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.py", line 437, in _service_get
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db result = query.first()
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 2282, in first
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db ret = list(self[0:1])
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 2149, in __getitem__
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db return list(res)
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 2353, in __iter__
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db return self._execute_and_instances(context)
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 2368, in _execute_and_instances
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db result = conn.execute(querycontext.statement, self._params)
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 662, in execute
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db params)
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 761, in _execute_clauseelement
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db compiled_sql, distilled_params
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 874, in _execute_context
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db context)
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1024, in _handle_dbapi_exception
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db exc_info
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db File "/usr/lib/python2.7/dist-packages/sqlalchemy/util/compat.py", line 196, in raise_from_cause
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db reraise(type(exception), exception, tb=exc_tb)
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 867, in _execute_context
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db context)
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 324, in do_execute
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db cursor.execute(statement, parameters)
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 174, in execute
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db self.errorhandler(self, exc, value)
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db raise errorclass, errorvalue
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db ProgrammingError: (ProgrammingError) (1146, "Table 'nova.services' doesn't exist") 'SELECT services.created_at AS services_created_at, services.updated_at AS services_updated_at, services.deleted_at AS services_deleted_at, services.deleted AS services_deleted, services.id AS services_id, services.host AS services_host, services.`binary` AS services_binary, services.topic AS services_topic, services.report_count AS services_report_count, services.disabled AS services_disabled, services.disabled_reason AS services_disabled_reason \nFROM services \nWHERE services.deleted = %s AND services.id = %s \n LIMIT %s' (0, 4L, 1)
2014-07-22 14:59:19.133 16963 TRACE nova.servicegroup.drivers.db
2014-07-22 15:04:26.446 16963 INFO nova.openstack.common.service [-] Caught SIGTERM, exiting
2014-07-22 15:06:06.555 1262 INFO nova.openstack.common.periodic_task [-] Skipping periodic task _periodic_update_dns because its interval is negative
2014-07-22 15:06:07.331 1262 AUDIT nova.service [-] Starting cert node (version 2014.1)
2014-07-22 15:06:14.847 1262 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on controller:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 1 seconds.
2014-07-22 15:06:15.850 1262 INFO oslo.messaging._drivers.impl_rabbit [-] Reconnecting to AMQP server on controller:5672
2014-07-22 15:06:15.851 1262 INFO oslo.messaging._drivers.impl_rabbit [-] Delaying reconnect for 1.0 seconds...
2014-07-22 15:06:16.922 1262 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on controller:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 3 seconds.
2014-07-22 15:06:19.927 1262 INFO oslo.messaging._drivers.impl_rabbit [-] Reconnecting to AMQP server on controller:5672
2014-07-22 15:06:19.928 1262 INFO oslo.messaging._drivers.impl_rabbit [-] Delaying reconnect for 1.0 seconds...
2014-07-22 15:06:21.074 1262 INFO oslo.messaging._drivers.impl_rabbit [-] Connected to AMQP server on controller:5672
Can someone give me a help?
Regards,
Johnson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140722/75eb20c2/attachment.html>
More information about the OpenStack-dev
mailing list