<div dir="ltr">Hi Friends,<br><br>I have installed & configured Openstack Icehouse release via RDO 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.<br><br>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.<br><br><br>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.<br>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.<br>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.<br><br>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. <br><br>Can somebody guide me what can be the issue and the solution for this problem<br><br><br>Below are the trove configuration files<br><br><br>trove-conductor.conf<br><br>[DEFAULT]<br>verbose = True<br>debug = True<br>control_exchange = trove<br>rabbit_password = guest<br>log_dir = /var/log/trove<br>trove_auth_url = <a href="http://172.31.31.205:5000/v2.0">http://172.31.31.205:5000/v2.0</a><br>nova_compute_url = <a href="http://172.31.31.205:8774/v2">http://172.31.31.205:8774/v2</a><br>cinder_url = <a href="http://172.31.31.205:8776/v1">http://172.31.31.205:8776/v1</a><br>swift_url = <a href="http://172.31.31.205:8080/v1/AUTH_">http://172.31.31.205:8080/v1/AUTH_</a><br>sql_connection = mysql://<a href="http://trove:trove@172.31.31.205/trove">trove:trove@172.31.31.205/trove</a><br>rabbit_host = 172.31.31.205<br>nova_proxy_admin_user = admin<br>nova_proxy_admin_tenant_name = services<br>nova_proxy_admin_pass = admin<br>rpc_backend = trove.openstack.common.rpc.impl_kombu<br><br><br>trove.conf<br><br>[DEFAULT]<br>verbose=True<br>debug=True<br>rabbit_password = guest<br>log_dir=/var/log/trove<br>trove_auth_url = <a href="http://172.31.31.205:5000/v2.0">http://172.31.31.205:5000/v2.0</a><br>nova_compute_url = <a href="http://172.31.31.205:8774/v2">http://172.31.31.205:8774/v2</a><br>cinder_url = <a href="http://172.31.31.205:8776/v1">http://172.31.31.205:8776/v1</a><br>swift_url = <a href="http://172.31.31.205:8080/v1/AUTH_">http://172.31.31.205:8080/v1/AUTH_</a><br>sql_connection = mysql://<a href="http://trove:trove@172.31.31.205/trove">trove:trove@172.31.31.205/trove</a><br>notifier_queue_hostname=172.31.31.205<br>default_datastore = mysql<br>add_addresses = True<br>network_label_regex = ^NETWORK_LABEL$<br>api_extensions_path=/usr/lib/python2.6/site-packages/trove/extensions/routes<br>max_accepted_volume_size=50<br>api_paste_config=/usr/share/trove/trove-dist-paste.ini<br><br><br>trove-taskmanager.conf<br><br>[DEFAULT]<br>verbose = True<br>debug = True<br>update_status_on_fail = False<br>log_dir = /var/log/trove<br>trove_auth_url = <a href="http://172.31.31.205:5000/v2.0">http://172.31.31.205:5000/v2.0</a><br>nova_compute_url = <a href="http://172.31.31.205:8774/v2">http://172.31.31.205:8774/v2</a><br>cinder_url = <a href="http://172.31.31.205:8776/v1">http://172.31.31.205:8776/v1</a><br>swift_url = <a href="http://172.31.31.205:8080/v1/AUTH_">http://172.31.31.205:8080/v1/AUTH_</a><br>sql_connection = mysql://<a href="http://trove:trove@172.31.31.205/trove">trove:trove@172.31.31.205/trove</a><br>notifier_queue_hostname = 172.31.31.205<br>rabbit_host = 172.31.31.205<br>rabbit_password = guest<br>nova_proxy_admin_user = admin<br>nova_proxy_admin_pass = admin<br>nova_proxy_admin_tenant_name = trove <br>sql_idle_timeout = 3600<br>db_api_implementation = trove.db.sqlalchemy.api<br>trove_volume_support = True<br>block_device_mapping = vdb<br>device_path = /dev/vdb<br>mount_point = /var/lib/mysql<br>volume_time_out=30<br>server_delete_time_out=480<br>taskmanager_manager=trove.taskmanager.manager.Manager<br>exists_notification_transformer = trove.extensions.mgmt.instances.models.NovaNotificationTransformer<br>exists_notification_ticks = 30<br>notification_service_id = mysql:2f3ff068-2bfb-4f70-9a9d-a6bb65bc084b<br>trove_dns_support = False<br>dns_account_id = 123456<br>dns_auth_url = <a href="http://172.31.31.205:5000/v2.0">http://172.31.31.205:5000/v2.0</a><br>dns_username = user<br>dns_passkey = password<br>dns_ttl = 3600<br>dns_domain_name = '<a href="http://trove.com">trove.com</a>.'<br>dns_domain_id = 11111111-1111-1111-1111-111111111111<br>dns_driver = trove.dns.designate.driver.DesignateDriver<br>dns_instance_entry_factory = trove.dns.designate.driver.DesignateInstanceEntryFactory<br>dns_endpoint_url = <a href="http://127.0.0.1/v1/">http://127.0.0.1/v1/</a><br>dns_service_type = dns<br>trove_security_groups_support = True<br>trove_security_group_rule_cidr = <a href="http://0.0.0.0/0">0.0.0.0/0</a><br>agent_heartbeat_time = 10<br>agent_call_low_timeout = 5<br>agent_call_high_timeout = 150<br>use_nova_server_volume = False<br>network_label_regex = ^NETWORK_LABEL$<br>template_path = /etc/trove/templates/<br>notifier_queue_hostname = 172.31.31.205<br>notifier_queue_userid = guest<br>notifier_queue_password = guest<br>notifier_queue_ssl = False<br>notifier_queue_port = 5672<br>notifier_queue_virtual_host = /<br>notifier_queue_transport = memory<br>notification_driver=trove.openstack.common.notifier.rpc_notifier<br>control_exchange=trove<br>log_file = trove-taskmanager.log<br>pydev_debug = disabled<br>rpc_backend = trove.openstack.common.rpc.impl_kombu<br>[mysql]<br>tcp_ports = 3306<br>[redis]<br>tcp_ports = 6379<br>[cassandra]<br>tcp_ports = 7000, 7001, 9042, 9160<br>[couchbase]<br>tcp_ports = 8091, 8092, 4369, 11209-11211, 21100-21199<br><br><br>trove-dist-paste.ini<br><br>[composite:trove]<br>use = call:trove.common.wsgi:versioned_urlmap<br>/: versions<br>/v1.0: troveapi<br>[app:versions]<br>paste.app_factory = trove.versions:app_factory<br>[pipeline:troveapi]<br>pipeline = faultwrapper authtoken authorization contextwrapper ratelimit extensions troveapp<br>[filter:extensions]<br>paste.filter_factory = trove.common.extensions:factory<br>[filter:authtoken]<br>paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory<br>auth_host=172.31.31.205<br>auth_port=35357<br>auth_protocol=http<br>admin_user=trove<br>admin_password=TROVE_PASS<br>admin_token=12d95a75dc774f8c94bba9f4939354ca<br>admin_tenant_name=services<br>signing_dir=/var/cache/trove<br>[filter:authorization]<br>paste.filter_factory = trove.common.auth:AuthorizationMiddleware.factory<br>[filter:contextwrapper]<br>paste.filter_factory = trove.common.wsgi:ContextMiddleware.factory<br>[filter:faultwrapper]<br>paste.filter_factory = trove.common.wsgi:FaultWrapper.factory<br>[filter:ratelimit]<br>paste.filter_factory = trove.common.limits:RateLimitingMiddleware.factory<br>[app:troveapp]<br>paste.app_factory = trove.common.api:app_factory<br>[filter:debug]<br>paste.filter_factory = trove.common.wsgi:Debug<br><br>trove-api.conf<br><br>[DEFAULT]<br>log_file = /var/log/trove/trove.log<br>sql_connection = mysql://trove:trove@localhost/trove<br>api_paste_config = /usr/share/trove/trove-dist-paste.ini<br>rabbit_host = 172.31.31.205<br>rpc_backend = trove.openstack.common.rpc.impl_kombu<br>trove_auth_url = <a href="http://172.31.31.205:5000/v2.0">http://172.31.31.205:5000/v2.0</a><br>nova_compute_url = <a href="http://172.31.31.205:8774/v2">http://172.31.31.205:8774/v2</a><br>cinder_url = <a href="http://172.31.31.205:8776/v1">http://172.31.31.205:8776/v1</a><br>swift_url = <a href="http://172.31.31.205:8080/v1/AUTH_">http://172.31.31.205:8080/v1/AUTH_</a><br>notifier_queue_hostname =  172.31.31.205<br><br><br>troveguestagent.conf (on the ubuntu trove image)<br><br>[DEFAULT]<br>datastore_manager = mysql<br>rabbit_host = 172.31.31.205<br>verbose = True<br>debug = True<br>bind_port = 8778<br>bind_host = 0.0.0.0<br>nova_proxy_admin_user = admin<br>nova_proxy_admin_pass = admin<br>nova_proxy_admin_tenant_name = trove<br>trove_auth_url = <a href="http://172.31.31.205:35357/v2.0">http://172.31.31.205:35357/v2.0</a><br>control_exchange = trove<br>root_grant = ALL<br>root_grant_option = True<br>log_dir = /tmp<br>log_file = guest.log<br>ignore_users = os_admin<br>ignore_dbs = lost+found, mysql, information_schema<br>rpc_backend = trove.openstack.common.rpc.impl_kombu<br><br># Backups<br>backup_namespace = trove.guestagent.strategies.backup.mysql_impl<br>restore_namespace = trove.guestagent.strategies.restore.mysql_impl<br>storage_strategy = SwiftStorage<br>storage_namespace = trove.guestagent.strategies.storage.swift<br>swift_url = <a href="http://172.31.31.205:8080/v1/AUTH_">http://172.31.31.205:8080/v1/AUTH_</a><br>backup_swift_container = database_backups<br>backup_use_gzip_compression = True<br>backup_use_openssl_encryption = True<br>backup_aes_cbc_key = "default_aes_cbc_key"<br>backup_use_snet = False<br>backup_chunk_size = 65536<br>backup_segment_max_size = 2147483648<br><br>[mysql]<br>backup_strategy = MySQLDump<br><br><br>/etc/init/troveguestagent.conf (on the ubuntu trove image)<br><br>more trove-guestagent.conf <br>description "Trove Guest Agent"<br>author "Thomas Goirand <<a href="mailto:zigo@debian.org">zigo@debian.org</a>>"<br><br>start on runlevel [2345]<br>stop on runlevel [!2345]<br><br>respawn<br><br>exec start-stop-daemon --start --chuid trove:trove \<br>            --chdir /var/lib/trove --name trove-guestagent \<br>            --exec /usr/bin/trove-guestagent -- --config-file=/etc/guest_info --config-file=/etc/trove/trove-guestagent.conf --log-dir=/var/log/trove <br>--logfile=guestagent.log<br><br><br></div>