Trove Status become BUILD after a short-alived ACTIVE

asked 2015-12-13 22:12:21 -0500

yuqiang gravatar image

I try to install openstack liberty with trove by using devstack,but the trove instance cannot keep ACTIVE.

I use percona.qcow2 whick downloaded from http://tarballs.openstack.org as trove guest image. Trove status will become BUILD after a short -alived ACTIVE when I start a trove instance.

here is the tr-tmgr.log 2015-12-14 11:40:11.405 DEBUG trove.taskmanager.models [-] Entering guest_prepare from (pid=13615) _guest_prepare /opt/stack/trove/trove/taskmanager/models.py:875 2015-12-14 11:40:11.405 DEBUG trove.guestagent.api [-] Sending the call to prepare the Guest. from (pid=13615) prepare /opt/stack/trove/trove/guestagent/api.py:232 2015-12-14 11:40:11.406 DEBUG oslo_messaging._drivers.amqp [-] Pool creating new connection from (pid=13615) create /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqp.py:103 2015-12-14 11:40:11.408 INFO oslo.messaging._drivers.impl_rabbit [-] Connecting to AMQP server on localhost:5672 2015-12-14 11:40:11.418 INFO oslo.messaging._drivers.impl_rabbit [-] Connected to AMQP server on 127.0.0.1:5672 2015-12-14 11:40:11.430 DEBUG trove.guestagent.api [-] Casting prepare from (pid=13615) _cast /opt/stack/trove/trove/guestagent/api.py:76 2015-12-14 11:40:11.432 INFO trove.instance.models [-] Resetting task status to NONE on instance 390cc439-3dca-434b-97cc-73449c13bc1d. 2015-12-14 11:40:11.437 DEBUG trove.db.models [-] Saving DBInstance: {u'cluster_id': None, u'shard_id': None, u'deleted_at': None, u'id': u'390cc439-3dca-434b-97cc-73449c13bc1d', u'datastore_version_id': u'9050e168-8cb1-4915-b6c2-b5b0052e3ecf', 'errors': {}, u'hostname': None, u'server_status': None, u'task_description': 'No tasks for the instance.', u'volume_size': 1, u'type': None, u'updated': datetime.datetime(2015, 12, 14, 3, 40, 11, 437703), '_sa_instance_state': <sqlalchemy.orm.state.instancestate object="" at="" 0x7f3e23801ed0="">, u'deleted': 0, u'configuration_id': None, u'volume_id': u'1dadb1bd-7ebd-41e2-a83f-4d7aa3966bd0', u'slave_of_id': None, u'task_start_time': None, u'name': u'db_instance', u'task_id': 1, u'created': datetime.datetime(2015, 12, 14, 3, 40, 7), u'tenant_id': u'7c1bb175219740ff9e04852b53b9aed2', u'compute_instance_id': u'0981142e-9794-49db-80e9-6bd43f3e1da8', u'flavor_id': u'4'} from (pid=13615) save /opt/stack/trove/trove/db/models.py:62 2015-12-14 11:40:11.444 DEBUG trove.taskmanager.models [-] trove dns support = False from (pid=13615) _create_dns_entry /opt/stack/trove/trove/taskmanager/models.py:889 2015-12-14 11:40:11.444 DEBUG trove.taskmanager.models [-] <greenlet.greenlet object="" at="" 0x7f3e23bbad70="">: DNS not enabled for instance: 390cc439-3dca-434b-97cc-73449c13bc1d from (pid=13615) _create_dns_entry /opt/stack/trove/trove/taskmanager/models.py:930 2015-12-14 11:41:52.451 INFO trove.taskmanager.models [-] Created instance 390cc439-3dca-434b-97cc-73449c13bc1d successfully. 2015-12-14 11:41:52.546 DEBUG trove.taskmanager.models [-] Sending event: trove.instance.create, {'state_description': 'BUILD', 'availability_zone': u'nova', 'instance_type_id': u'4', 'instance_size': 8192, 'nova_volume_id': u'1dadb1bd-7ebd-41e2-a83f-4d7aa3966bd0', 'instance_name': u'db_instance', 'user_id': u'a4fb54cf2de3444daca0be8497c945a1', 'name': u'db_instance', 'volume_size': 1, 'tenant_id': u'7c1bb175219740ff9e04852b53b9aed2', 'region': 'LOCAL_DEV', 'launched_at': '2015-12-14T03:40:07Z', 'instance_id': u'390cc439-3dca-434b-97cc-73449c13bc1d', 'instance_type': u'm1.large', 'state': 'BUILD', 'nova_instance_id': u'0981142e-9794-49db-80e9-6bd43f3e1da8', 'service_id': 'fd1723f5-68d2-409c-994f-a4a197892a17', 'created_at': '2015-12-14T03:40:07Z'} from (pid=13615) send_usage_event /opt/stack/trove/trove/taskmanager/models.py:142

here is trove-guest.log 2015-12-14 03:40:49.830 DEBUG oslo_service.service [-] cassandra.restore_namespace = None from (pid=1320) log_opt_values ... (more)

edit retag flag offensive close merge delete