Ask Your Question
0

trove instance creation fail

asked 2016-08-29 02:29:48 -0500

openstackstarter gravatar image

updated 2016-08-29 05:01:13 -0500

sunnyarora gravatar image

I'm deploying three node architecture with Openstack Mitaka, and having trouble with Trove. I tried to make Trove instance, and instance's status remains in BUILD, and doesn't proceed from that point. After a long period of time, status turns to ERROR, showing this error on trove-taskmanager. I can't delete the instance until it turns to error. However on dashboard I see an ACTIVE instance on project>>compute>>instance tab, on project>database tab, it shows same status as trove-list command on controller:BUILD or ERROR. Is there any help on this issue? where should I be looking into associated with this problem?

#trove list
+--------------------------------------+------------------+-----------+-------------------+--------+-----------+------+
| ID                                   | Name             | Datastore | Datastore Version | Status | Flavor ID | Size |
+--------------------------------------+------------------+-----------+-------------------+--------+-----------+------+
| 0280f460-d3ba-44ca-9a6a-134449f7d4f8 | mysql_instance_4 | mysql     | mysql-5.6         | BUILD  | 6         |    5 |
| 40cb9527-59f7-4cfe-997c-e23300bc6ba1 | test1            | mysql     | mysql-5.6         | BUILD  | 6         |    5 |
| a92e31a8-54ed-445f-a153-17aeeb401b57 | test4            | mysql     | mysql-5.6         | BUILD  | 6         |    5 |
+--------------------------------------+------------------+-----------+-------------------+--------+-----------+------+

#tail /var/log/trove/trove-taskmanage.log

2016-08-17 16:19:02.921 22971 DEBUG trove.guestagent.api [-] Sending the call to prepare the Guest. prepare /usr/lib/python2.7/dist-packages/trove/guestagent/api.
py:235
2016-08-17 16:19:02.954 22971 DEBUG trove.guestagent.api [-] Casting prepare _cast /usr/lib/python2.7/dist-packages/trove/guestagent/api.py:77
2016-08-17 16:19:02.955 22971 DEBUG oslo_messaging._drivers.amqpdriver [-] CAST unique_id: 1abf9a25ae044f90aa5df5267608f5e5 exchange 'trove' topic 'guestagent.db0
5cab4-555c-4566-a7f0-16b363a91652' _send /usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:454
2016-08-17 16:19:02.957 22971 INFO trove.instance.models [-] Resetting task status to NONE on instance db05cab4-555c-4566-a7f0-16b363a91652.
2016-08-17 16:19:02.962 22971 DEBUG trove.db.models [-] Saving DBInstance: {u'cluster_id': None, u'shard_id': None, u'deleted_at': None, u'id': u'db05cab4-555c-45
66-a7f0-16b363a91652', u'datastore_version_id': u'38e939c7-98cd-47f7-a4f1-ee3efdadff67', 'errors': {}, u'hostname': None, u'server_status': None, u'task_descripti
on': 'No tasks for the instance.', u'volume_size': 5, u'type': None, u'updated': datetime.datetime(2016, 8, 17, 7, 19, 2, 962620), '_sa_instance_state': <sqlalche
my.orm.state.InstanceState object at 0x7fafc1276090>, u'deleted': 0, u'configuration_id': None, u'volume_id': u'321c1b65-cbd3-4009-afc2-7571da91d879', u'slave_of_
id': None, u'task_start_time': None, u'name': u'test2', u'task_id': 1, u'created': datetime.datetime(2016, 8, 17, 7, 18, 57), u'tenant_id': u'fda14487a68f436da7b5
5fe218798ea2', u'compute_instance_id': u'884975a2-4e48-4392-bc40-9e1f166e54bc', u'flavor_id': u'6'} save /usr/lib/python2.7/dist-packages/trove/db/models.py:62
2016-08-17 16:19:02.995 22971 DEBUG trove.taskmanager.models [-] trove dns support = False _create_dns_entry /usr/lib/python2.7/dist-packages/trove/taskmanager/mo
dels.py:942
2016-08-17 16:19:02.995 22971 DEBUG trove.taskmanager.models [-] <greenlet.greenlet object at 0x7fafc14367d0>: DNS not enabled for instance: db05cab4-555c-4566-a7
f0-16b363a91652 _create_dns_entry /usr/lib/python2.7/dist-packages/trove/taskmanager/models.py:983
2016-08-17 16:34:03.213 22971 ERROR oslo.service.loopingcall [-] Fixed interval looping call 'trove.common.utils.poll_and_check' failed
2016-08-17 16:34:03.213 22971 ERROR oslo.service.loopingcall Traceback (most recent call last):
2016-08-17 16:34:03.213 22971 ERROR oslo.service.loopingcall   File "/usr/lib/python2.7/dist-packages/oslo_service/loopingcall.py", line 136, in _run_loop
2016-08-17 16:34:03.213 22971 ERROR oslo.service ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-10-11 10:28:39 -0500

It timed out waiting for the guest to go active. Either there is a problem with the guest, in which case you need to SSH into it and look at the logs (/var/log/trove/trove-guestagent.log) and post them here, or the instance was too slow (use a larger flavor or change the usage_timeout value in the conf file /etc/trove/trove-taskmanager.conf).

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

2 followers

Stats

Asked: 2016-08-29 02:29:48 -0500

Seen: 369 times

Last updated: Aug 29 '16