trove poll time out on creating mysql instance

asked 2014-10-26 15:00:45 -0500

mr_aliagha gravatar image

updated 2014-10-26 15:08:21 -0500

I tried to install and configure openstack trove. For this purpose I used devstack for both icehouse and juno releases. After completing installation process I managed to test openstack. I initialized a nova instance and connect to that successfully. Finally I decided to test trove (the dbaas module I decided to go for openstack because of that). After creating instance by trove create command I stuck with database build status. After while, probably 10-15 min the database status changed to error. I checked the logs and here is the trove task manager log:

> 2014-10-26 12:05:38.530 TRACE
> trove.common.utils    
> self.f(*self.args, **self.kw)
> 2014-10-26 12:05:38.530 TRACE
> trove.common.utils   File
> "/opt/stack/trove/trove/common/utils.py",
> line 254, in poll_and_check 2014-10-26
> 12:05:38.530 TRACE trove.common.utils 
> raise exception.PollTimeOut 2014-10-26
> 12:05:38.530 TRACE trove.common.utils
> PollTimeOut: Polling request timed
> out. 2014-10-26 12:05:38.530 TRACE
> trove.common.utils 2014-10-26
> 12:05:38.532 ERROR
> trove.taskmanager.models
> [req-d98d6dfe-ea10-4936-8a59-47257a4bea48
> 703a08505f534dee8910d0074b161406
> fa64d3adef724ff2b8ff71eb2427fdc6]
> Failed to create instance
> da71dbd0-df1f-4fb8-b81b-f111f846ede9.
> Timeout waiting for instance to become
> active. No usage create-event was
> sent. 2014-10-26 12:05:38.539 ERROR
> trove.taskmanager.models
> [req-d98d6dfe-ea10-4936-8a59-47257a4bea48
> 703a08505f534dee8910d0074b161406
> fa64d3adef724ff2b8ff71eb2427fdc6]
> Service status: ERROR 2014-10-26
> 12:05:38.540 ERROR
> trove.taskmanager.models
> [req-d98d6dfe-ea10-4936-8a59-47257a4bea48
> 703a08505f534dee8910d0074b161406
> fa64d3adef724ff2b8ff71eb2427fdc6]
> Service error description: guestagent
> error 2014-10-26 12:05:38.543 DEBUG
> trove.db.models
> [req-d98d6dfe-ea10-4936-8a59-47257a4bea48
> 703a08505f534dee8910d0074b161406
> fa64d3adef724ff2b8ff71eb2427fdc6]
> Saving DBInstance: {u'cluster_id':
> None, u'shard_id': None,
> u'deleted_at': None, u'id':
> u'da71dbd0-df1f-4fb8-b81b-f111f846ede9',
> u'datastore_version_id':
> u'ab0a44b0-f572-4cbb-86d0-9a0bddfbae55',
> 'errors': {}, u'hostname': None,
> u'server_status': None,
> u'task_description': 'Build error:
> guestagent timeout.', u'volume_size':
> 2L, u'type': None, u'updated':
> datetime.datetime(2014, 10, 26, 19, 5,
> 38, 543237), '_sa_instance_state':
> <sqlalchemy.orm.state.InstanceState
> object at 0x7f368cf69350>, u'deleted':
> 0, u'configuration_id': None,
> u'volume_id':
> u'48ebcb39-b36d-48ac-9767-92d49b018fc1',
> u'slave_of_id': None,
> u'task_start_time': None, u'name':
> u'test', u'task_id': 84, u'created':
> datetime.datetime(2014, 10, 26, 18,
> 55, 29), u'tenant_id':
> u'fa64d3adef724ff2b8ff71eb2427fdc6',
> u'compute_instance_id':
> u'cfa4e357-ae0d-4e7f-82da-bb60eb061c69',
> u'flavor_id': 2L} from (pid=32744)
> save
> /opt/stack/trove/trove/db/models.py:61
> 2014-10-26 12:05:38.549 ERROR
> trove.taskmanager.models
> [req-d98d6dfe-ea10-4936-8a59-47257a4bea48
> 703a08505f534dee8910d0074b161406
> fa64d3adef724ff2b8ff71eb2427fdc6]
> Trove instance status: ERROR
> 2014-10-26 12:05:38.550 ERROR
> trove.taskmanager.models
> [req-d98d6dfe-ea10-4936-8a59-47257a4bea48
> 703a08505f534dee8910d0074b161406
> fa64d3adef724ff2b8ff71eb2427fdc6]
> Trove instance status description:
> Build error: guestagent timeout.

Would you please help me to find out what is the source of this problem and how can I solve that? FYI I did all tests inside a vm that was created inside VMware workstation 10 if it matters.

edit retag flag offensive close merge delete

Comments

I had the same issue on DevStack too. Instance is created and Dabase show Error in Horizon dashboard. Anyone has answer for this. Thanks

LZ gravatar imageLZ ( 2015-02-19 02:36:29 -0500 )edit