Ask Your Question
0

Compute Instance not found when trying to launch trove db instance on Icehouse release

asked 2014-10-01 04:37:39 -0600

ankush grover gravatar image

Hi Friends,

I have installed & configured Openstack Icehouse release via RDO as all-in-one on Centos 6.5 64-bit with Nova Network & Rabbitmq . Now I am trying to integrated Trove add-on. Whenever I try to launch an instance the trove-taskmanager.log show that it is not able to find the compute instance. Please see the below errors.

I am using ubuntu 14.04(trusty) Cloud image downloaded from the Ubuntu site, installed the troveagent & mysql-server-5.5 on this image. If I ran this image as a normal instance on Openstack I can see troveguest is running. Also, this instance is able to talk to rabbitmq server.

14-09-26 13:56:06.603 31271 ERROR trove.extensions.mgmt.instances.models [req-f6bcd974-85e0-4d93-9e88-7926d8dbab8f admin trove - - -] Resource 285db24b-91b3-47e7-9f0f-e44e1f2b8816 can not be retrieved. 2014-09-26 13:56:06.603 31271 ERROR trove.common.exception [req-f6bcd974-85e0-4d93-9e88-7926d8dbab8f admin trove - - -] Cannot find compute instance None for instance 79531a56-273a-4e2f-b119-5f41ee06d3f5. 2014-09-26 13:56:06.603 31271 ERROR trove.extensions.mgmt.instances.models [req-f6bcd974-85e0-4d93-9e88-7926d8dbab8f admin trove - - -] Resource 79531a56-273a-4e2f-b119-5f41ee06d3f5 can not be retrieved.

trove list shows that trove db instance is in the build state and there is nothing in the logs of nova-scheduler or nova-compute for this instance that means this instance gets never went to the nova.

I tried creating a trove db instance from the command line with --nic option the result is the same.

Can somebody guide me what can be the issue and the solution for this problem

Below are the trove configuration files

trove-conductor.conf

[DEFAULT]
verbose = True
debug = True
control_exchange = trove
rabbit_password = guest
log_dir = /var/log/trove
trove_auth_url = http://172.31.31.205:5000/v2.0
nova_compute_url = http://172.31.31.205:8774/v2
cinder_url = http://172.31.31.205:8776/v1
swift_url = http://172.31.31.205:8080/v1/AUTH_
sql_connection = mysql://trove:trove@172.31.31.205/trove
rabbit_host = 172.31.31.205
rpc_backend = trove.openstack.common.rpc.impl_kombu

trove.conf

[DEFAULT]
verbose=True
debug=True
rabbit_password = guest
log_dir=/var/log/trove
trove_auth_url = http://172.31.31.205:5000/v2.0
nova_compute_url = http://172.31.31.205:8774/v2
cinder_url = http://172.31.31.205:8776/v1
swift_url = http://172.31.31.205:8080/v1/AUTH_
sql_connection = mysql://trove:trove@172.31.31.205/trove
notifier_queue_hostname=172.31.31.205
default_datastore = mysql
add_addresses = True
network_label_regex = ^novanetwork$
api_extensions_path=/usr/lib/python2.6/site-packages/trove/extensions/routes
max_accepted_volume_size=50
api_paste_config=/usr/share/trove/trove-dist-paste.ini

trove-taskmanager.conf

[DEFAULT]
verbose = True
debug = True
update_status_on_fail = False
log_dir = /var/log/trove
trove_auth_url = http://172.31.31.205:5000/v2.0
nova_compute_url = http://172.31.31.205:8774/v2
cinder_url = http://172.31.31.205:8776/v1
swift_url = http://172.31.31.205:8080/v1/AUTH_
sql_connection = mysql://trove:trove@172.31.31.205/trove
notifier_queue_hostname = 172.31.31.205
rabbit_host = 172.31.31.205
rabbit_password = guest
nova_proxy_admin_user = admin
nova_proxy_admin_pass = admin
nova_proxy_admin_tenant_name = trove
sql_idle_timeout = 3600
db_api_implementation = trove.db.sqlalchemy.api
trove_volume_support = True
block_device_mapping = vdb
device_path = /dev/vdb
mount_point = /var/lib/mysql
volume_time_out=30
server_delete_time_out=480
taskmanager_manager=trove.taskmanager.manager.Manager
exists_notification_transformer = trove ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-10-20 07:11:49 -0600

ankush grover gravatar image

Issue was related not having proper network_label_regex in trove.conf & taskmanager.conf files and disabling settings related to neutron network.

nova network-list

+--------------------------------------+-------------+-------------+
| ID                                   | Label       | Cidr        |
+--------------------------------------+-------------+-------------+
| 2a89b739-e170-48ca-b5a8-326f43358d15 | novanetwork | 10.1.0.0/24 |
+--------------------------------------+-------------+-------------+

In trove.conf & taskmanager.conf files

network_label_regex = ^novanetwork$
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: 2014-10-01 04:37:39 -0600

Seen: 2,126 times

Last updated: Oct 20 '14