Revision history [back]

click to hide/show revision 1
initial version

Trove doesn't work on devstack

I'm trying trove on devstack (icehouse/stable).

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

I've follewed 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.
3) Update the datastore with the version:
trove-manage datastore_update mysql 5.5
4) Launch a trove instance:
trove create testtrove 3 \
--size 1 \
--datastore mysql \
--datastore_version 5.5 \
--nic net-id=__NET_ID__

The VM is correctly created, the trove-guestagent doesn't give any error:
INFO trove.guestagent.datastore.mysql.service [-] Service Status is RUNNING.
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] Instance ID: None from (pid=31646) heartbeat /opt/stack/trove/trove/conductor/manager.py:76
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
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
2014-06-12 12:27:20.348 TRACE trove.openstack.common.rpc.amqp Traceback (most recent call last):
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
2014-06-12 12:27:20.348 TRACE trove.openstack.common.rpc.amqp *args)
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
2014-06-12 12:27:20.348 TRACE trove.openstack.common.rpc.amqp result = getattr(proxyobj, method)(ctxt, *
kwargs)
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
2014-06-12 12:27:20.348 TRACE trove.openstack.common.rpc.amqp instance_id=instance_id)
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
2014-06-12 12:27:20.348 TRACE trove.openstack.common.rpc.amqp cls.__name__)
2014-06-12 12:27:20.348 TRACE trove.openstack.common.rpc.amqp ModelNotFoundError: InstanceServiceStatus Not Found

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
2014-06-12 12:02:28.465 TRACE trove.common.utils Traceback (most recent call last):
2014-06-12 12:02:28.465 TRACE trove.common.utils File "/opt/stack/trove/trove/common/utils.py", line 213, in _inner
2014-06-12 12:02:28.465 TRACE trove.common.utils self.f(self.args, self.kw)
2014-06-12 12:02:28.465 TRACE trove.common.utils File "/opt/stack/trove/trove/common/utils.py", line 254, in poll_and_check
2014-06-12 12:02:28.465 TRACE trove.common.utils raise exception.PollTimeOut
2014-06-12 12:02:28.465 TRACE trove.common.utils *
PollTimeOut: Polling request timed out.
2014-06-12 12:02:28.465 TRACE trove.common.utils
2014-06-12 12:02:28.466 ERROR trove.taskmanager.models [req-ad88ec91-6434-4ccc-80fa-071a6a35404f 3065e8546bff4509a9cc5da375d445c9 56a02ca6f6514ca6abdca29b5438dc34] Timeout for service changing to active. No usage create-event sent.

Any ideas?

P.S. This is the trove-guestagent configuration file:
[DEFAULT]
verbose = False
debug = True
bind_host =163.162.63.25
bind_port = 8779
rabbit_host=163.162.63.25
rabbit_port=5672
rabbit_password=devstack
api_extensions_path = trove/extensions/routes
nova_proxy_admin_user = admin
nova_proxy_admin_pass = devstack
nova_proxy_admin_tenant_name = admin
trove_auth_url = http://163.162.63.25:5000/v2.0
datastore_registry_ext = mysql:trove.guestagent.datastore.mysql.manager.Manager
datastore_manager = mysql
root_grant = ALL
root_grant_option = True
control_exchange = trove
log_dir = /var/log/trove/
log_file = guestagent.log
ignore_users = os_admin
ignore_dbs = lost+found, mysql, information_schema

Devstack doesn't run on a phisical server but on a VmWare ESXi 4.1.0 instance (ubuntu 14.04)

Thanks Walter

Trove doesn't work on devstack

I'm trying trove on devstack (icehouse/stable).

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

I've follewed 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.
3) Update the datastore with the version:
trove-manage datastore_update mysql 5.5
4) Launch a trove instance:
trove create testtrove 3 \
--size 1 \
--datastore mysql \
--datastore_version 5.5 \
--nic net-id=__NET_ID__

The VM is correctly created, the trove-guestagent doesn't give any error:
INFO trove.guestagent.datastore.mysql.service [-] Service Status is RUNNING.
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] Instance <strong>Instance ID: None from </strong>from (pid=31646) heartbeat /opt/stack/trove/trove/conductor/manager.py:76
/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
/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
handling<br> 2014-06-12 12:27:20.348 TRACE trove.openstack.common.rpc.amqp Traceback (most recent call last):
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
2014-06-12 12:27:20.348 TRACE trove.openstack.common.rpc.amqp *args)
_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
dispatch<br> 2014-06-12 12:27:20.348 TRACE trove.openstack.common.rpc.amqp result = getattr(proxyobj, method)(ctxt, *
kwargs)
**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
2014-06-12 12:27:20.348 TRACE trove.openstack.common.rpc.amqp instance_id=instance_id)
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
2014-06-12 12:27:20.348 TRACE trove.openstack.common.rpc.amqp cls.__name__)
2014-06-12 12:27:20.348 TRACE trove.openstack.common.rpc.amqp
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

Found</strong> On the log of trove-tmgr there is this error:
error:<br> 2014-06-12 12:02:28.465 ERROR trove.common.utils [req-ad88ec91-6434-4ccc-80fa-071a6a35404f 3065e8546bff4509a9cc5da375d445c9 56a02ca6f6514ca6abdca29b5438dc34] in looping call
call<br> 2014-06-12 12:02:28.465 TRACE trove.common.utils Traceback (most recent call last):
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
2014-06-12 12:02:28.465 TRACE trove.common.utils self.f(self.args, self.kw)
_inner<br> 2014-06-12 12:02:28.465 TRACE trove.common.utils self.f(*self.args, **self.kw)<br> 2014-06-12 12:02:28.465 TRACE trove.common.utils File "/opt/stack/trove/trove/common/utils.py", line 254, in poll_and_check
poll_and_check<br> 2014-06-12 12:02:28.465 TRACE trove.common.utils raise exception.PollTimeOut
2014-06-12 12:02:28.465 TRACE trove.common.utils *
PollTimeOut: exception.PollTimeOut<br> 2014-06-12 12:02:28.465 TRACE trove.common.utils **<strong>PollTimeOut: Polling request timed out.
2014-06-12 12:02:28.465 TRACE trove.common.utils
out**</strong>.<br> 2014-06-12 12:02:28.465 TRACE trove.common.utils <br> 2014-06-12 12:02:28.466 ERROR trove.taskmanager.models [req-ad88ec91-6434-4ccc-80fa-071a6a35404f 3065e8546bff4509a9cc5da375d445c9 56a02ca6f6514ca6abdca29b5438dc34] Timeout <strong>Timeout for service changing to active. No usage create-event sent.

sent.</strong><br>

Any ideas?

P.S. This is the trove-guestagent configuration file:
[DEFAULT]

[DEFAULT]<br>
verbose = False
False<br> debug = True
True<br> bind_host =163.162.63.25
=163.162.63.25<br> bind_port = 8779
rabbit_host=163.162.63.25
rabbit_port=5672
rabbit_password=devstack
8779<br> rabbit_host=163.162.63.25<br> rabbit_port=5672<br> rabbit_password=devstack<br> api_extensions_path = trove/extensions/routes
trove/extensions/routes<br> nova_proxy_admin_user = admin
admin<br> nova_proxy_admin_pass = devstack
devstack<br> nova_proxy_admin_tenant_name = admin
admin<br> trove_auth_url = http://163.162.63.25:5000/v2.0
http://163.162.63.25:5000/v2.0<br> datastore_registry_ext = mysql:trove.guestagent.datastore.mysql.manager.Manager
mysql:trove.guestagent.datastore.mysql.manager.Manager<br> datastore_manager = mysql
mysql<br> root_grant = ALL
ALL<br> root_grant_option = True
True<br> control_exchange = trove
trove<br> log_dir = /var/log/trove/
/var/log/trove/<br> log_file = guestagent.log
guestagent.log<br> ignore_users = os_admin
os_admin<br> ignore_dbs = lost+found, mysql, information_schema

information_schema<br>

Devstack doesn't run on a phisical server but on a VmWare ESXi 4.1.0 instance (ubuntu 14.04)

Thanks Walter

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

I'm trying trove on devstack (icehouse/stable).(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 follewed 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
1 where b8e336db-6a80-4c72-b041-634c94e0b9cb the ID of image.
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__

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.
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:<br> 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 trove.common.utils     self.f(*self.args, **self.kw)<br>
2014-06-12 12:02:28.465 TRACE trove.common.utils   File "/opt/stack/trove/trove/common/utils.py", line 254, in poll_and_check<br>
2014-06-12 12:02:28.465 TRACE trove.common.utils     raise exception.PollTimeOut<br>
2014-06-12 12:02:28.465 TRACE trove.common.utils **<strong>PollTimeOut: Polling request timed out**</strong>.<br>
2014-06-12 12:02:28.465 TRACE trove.common.utils <br>
2014-06-12 12:02:28.466 ERROR trove.taskmanager.models [req-ad88ec91-6434-4ccc-80fa-071a6a35404f 3065e8546bff4509a9cc5da375d445c9 56a02ca6f6514ca6abdca29b5438dc34] <strong>Timeout for service changing to active. No usage create-event sent.</strong><br>

Any ideas?

P.S. This is the trove-guestagent configuration file:

[DEFAULT]<br>
verbose = False<br>
debug = True<br>
bind_host =163.162.63.25<br>
bind_port = 8779<br>
rabbit_host=163.162.63.25<br>
rabbit_port=5672<br>
rabbit_password=devstack<br>
api_extensions_path = trove/extensions/routes<br>
nova_proxy_admin_user = admin<br>
nova_proxy_admin_pass = devstack<br>
nova_proxy_admin_tenant_name = admin<br>
trove_auth_url = http://163.162.63.25:5000/v2.0<br>
datastore_registry_ext = mysql:trove.guestagent.datastore.mysql.manager.Manager<br>
datastore_manager = mysql<br>
root_grant = ALL<br>
root_grant_option = True<br>
control_exchange = trove<br>
log_dir = /var/log/trove/<br>
log_file = guestagent.log<br>
ignore_users = os_admin<br>
ignore_dbs = lost+found, mysql, information_schema<br>

Devstack doesn't run on a phisical server but on a VmWare ESXi 4.1.0 instance (ubuntu 14.04)