Trove doesn't work on devstack: ModelNotFoundError: InstanceServiceStatus Not Found

asked 2014-06-13 04:18:52 -0600

Walter gravatar image

updated 2014-06-13 16:15:11 -0600

smaffulli gravatar image

I'm trying trove on devstack (icehouse/stable). Devstack doesn't run on a phisical server but on a VmWare ESXi 4.1.0 instance (ubuntu 14.04).

I've build an image with ubuntu-14.04 (clouding), with mysql-5.5 and trove-guestagent.

I've followed these steps:
1) Create a new datastore:
trove-manage datastore_update mysql ""
2) Create a version of datastore:

trove-manage datastore_version_update mysql 5.5 mysql b8e336db-6a80-4c72-b041-634c94e0b9cb mysql-server-5.5 1
where b8e336db-6a80-4c72-b041-634c94e0b9cb the ID of image.<br>

3) Update the datastore with the version:
trove-manage datastore_update mysql 5.5
4) Launch a trove instance:

trove create testtrove 3 \<br>
  --size 1 \<br>
  --datastore mysql \<br>
  --datastore_version 5.5 \<br>
  --nic net-id=**__NET_ID__**<br>

The VM is correctly created, the trove-guestagent doesn't give any error:

 INFO trove.guestagent.datastore.mysql.service [-] Service Status is RUNNING.<br>

The file "/etc/guest_info" is injected and volume is attached to the VM.

Looking on the log of trove-conductor, there is this error:

2014-06-12 12:27:20.345 DEBUG trove.conductor.manager [req-843f9ee6-f6e6-4c11-a3da-cf57e77e66a1 admin None] <strong>Instance ID: None </strong>from (pid=31646) heartbeat /opt/stack/trove/trove/conductor/manager.py:76<br>
2014-06-12 12:27:20.345 DEBUG trove.conductor.manager [req-843f9ee6-f6e6-4c11-a3da-cf57e77e66a1 admin None] Payload: {u'service_status': u'running'} from (pid=31646) heartbeat /opt/stack/trove/trove/conductor/manager.py:77<br>
2014-06-12 12:27:20.348 ERROR trove.openstack.common.rpc.amqp [req-843f9ee6-f6e6-4c11-a3da-cf57e77e66a1 admin None] Exception during message handling<br>
2014-06-12 12:27:20.348 TRACE trove.openstack.common.rpc.amqp Traceback (most recent call last):<br>
2014-06-12 12:27:20.348 TRACE trove.openstack.common.rpc.amqp   File "/opt/stack/trove/trove/openstack/common/rpc/amqp.py", line 441, in _process_data<br>
2014-06-12 12:27:20.348 TRACE trove.openstack.common.rpc.amqp     **args)<br>
2014-06-12 12:27:20.348 TRACE trove.openstack.common.rpc.amqp   File "/opt/stack/trove/trove/openstack/common/rpc/dispatcher.py", line 172, in dispatch<br>
2014-06-12 12:27:20.348 TRACE trove.openstack.common.rpc.amqp     result = getattr(proxyobj, method)(ctxt, **kwargs)<br>
2014-06-12 12:27:20.348 TRACE trove.openstack.common.rpc.amqp   File "/opt/stack/trove/trove/conductor/manager.py", line 79, in heartbeat<br>
2014-06-12 12:27:20.348 TRACE trove.openstack.common.rpc.amqp     instance_id=instance_id)<br>
2014-06-12 12:27:20.348 TRACE trove.openstack.common.rpc.amqp   File "/opt/stack/trove/trove/db/models.py", line 99, in find_by<br>
2014-06-12 12:27:20.348 TRACE trove.openstack.common.rpc.amqp     cls.__name__)<br>
2014-06-12 12:27:20.348 TRACE trove.openstack.common.rpc.amqp<strong> ModelNotFoundError: InstanceServiceStatus Not Found</strong>

On the log of trove-tmgr there is this error:

2014-06-12 12:02:28.465 ERROR trove.common.utils [req-ad88ec91-6434-4ccc-80fa-071a6a35404f 3065e8546bff4509a9cc5da375d445c9 56a02ca6f6514ca6abdca29b5438dc34] in looping call<br>
2014-06-12 12:02:28.465 TRACE trove.common.utils Traceback (most recent call last):<br>
2014-06-12 12:02:28.465 TRACE trove.common.utils   File "/opt/stack/trove/trove/common/utils.py", line 213, in _inner<br>
2014-06-12 12:02:28.465 TRACE ...
(more)
edit retag flag offensive close merge delete

Comments

Did you manage to solve your problem?

mr_aliagha ( 2014-10-26 15:06:00 -0600 )edit