Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Trove Error Status

Hi all , im getting the following message: root@jcontroller:/etc/ssh# trove list +--------------------------------------+-------+-----------+-------------------+--------+-----------+------+ | id | name | datastore | datastore_version | status | flavor_id | size | +--------------------------------------+-------+-----------+-------------------+--------+-----------+------+ | 16988165-2468-424b-a013-7507e30ec2de | imane | mysql | mysql-5.5 | ERROR | 6 | 6 | +--------------------------------------+-------+-----------+-------------------+--------+-----------+------+

Note : the volume and instance are created with success

My configs files:

+--------------------------------------+-------+-----------+----trove.conf+--------------------------------------+-------+-----------+---- [DEFAULT] nova_proxy_admin_tenant_id = 5e735eda0d2642c99fde526198784cb0 cinder_url = http://jcontroller:8776/v1 nova_compute_url = http://jcontroller:8774/v2 swift_url = http://jcontroller:8080/v1/AUTH_ nova_proxy_admin_tenant_name = service nova_proxy_admin_pass = openstack nova_proxy_admin_user = admin rabbit_password = openstack rabbit_userid = guest rabbit_port = 5672 rabbit_host = jcontroller

Show more verbose log output (sets INFO log level output)

verbose = True add_addresses = True

Show debugging output in logs (sets DEBUG log level output)

debug = True

Address to bind the API server

bind_host = 0.0.0.0

Port the bind the API server to

bind_port = 8779

Number of workers for the API service. The default will

be the number of CPUs available. (integer value)

trove_api_workers=5

The RabbitMQ broker address where a single node is used.

(string value)

rabbit_host=localhost

The RabbitMQ broker port where a single node is used.

(integer value)

rabbit_port=5672

RabbitMQ HA cluster host:port pairs. (list value)

rabbit_hosts=$rabbit_host:$rabbit_port

Connect over SSL for RabbitMQ. (boolean value)

rabbit_use_ssl=false

The RabbitMQ userid. (string value)

rabbit_userid=guest

The RabbitMQ password. (string value)

rabbit_password=guest

The RabbitMQ virtual host. (string value)

rabbit_virtual_host=/

RabbitMQ topic used for OpenStack notifications. (list value)

rabbit_notification_topic = ['notifications']

rpc_backend = trove.openstack.common.rpc.impl_kombu

+--------------------------------------+-------+-----------+----trove-conductor+--------------------------------------+-------+-----------+-- [DEFAULT] cinder_url = http://jcontroller:8776/v1 nova_compute_url = http://jcontroller:8774/v2 swift_url = http://jcontroller:8080/v1/AUTH_ nova_proxy_admin_tenant_name = service nova_proxy_admin_pass = openstack nova_proxy_admin_user = admin rabbit_userid = guest rabbit_port = 5672 rabbit_host = jcontroller verbose = True debug = True control_exchange = trove trove_auth_url = http://jcontroller:5000/v2.0 sql_connection = mysql://trove:openstack@jcontroller/trove

The RabbitMQ broker address where a single node is used.

(string value)

rabbit_host=localhost

The RabbitMQ broker port where a single node is used.

(integer value)

rabbit_port=5672

RabbitMQ HA cluster host:port pairs. (list value)

rabbit_hosts=$rabbit_host:$rabbit_port

Connect over SSL for RabbitMQ. (boolean value)

rabbit_use_ssl=false

The RabbitMQ userid. (string value)

rabbit_userid=guest

The RabbitMQ password. (string value)

rabbit_password = openstack

The RabbitMQ virtual host. (string value)

rabbit_virtual_host=/

RabbitMQ topic used for OpenStack notifications. (list value)

rabbit_notification_topic = ['notifications']

rpc_backend = trove.openstack.common.rpc.impl_kombu

The manager class to use for conductor. (string value)

conductor_manager = trove.conductor.manager.Manager

============ Logging information =============================

log_dir = /var/log/trove log_file = trove-conductor.log

+--------------------------------------+-------+-----------+----trove-taskmanager+--------------------------------------+-------+----------- DEFAULT] cinder_url = http://jcontroller:8776/v1 nova_compute_url = http://jcontroller:8774/v2 swift_url = http://jcontroller:8080/v1/AUTH_ rabbit_password = openstack rabbit_userid = guest rabbit_port = 5672 rabbit_host = jcontroller

Show more verbose log output (sets INFO log level output)

verbose = True

Show debugging output in logs (sets DEBUG log level output)

debug = True

Update the service and instance statuses if the instances fails to become

active within the configured usage_timeout.

update_status_on_fail = True

The RabbitMQ broker address where a single node is used.

(string value)

rabbit_host=localhost

The RabbitMQ broker port where a single node is used.

(integer value)

rabbit_port=5672

RabbitMQ HA cluster host:port pairs. (list value)

rabbit_hosts=$rabbit_host:$rabbit_port

Connect over SSL for RabbitMQ. (boolean value)

rabbit_use_ssl=false

The RabbitMQ userid. (string value)

rabbit_userid=guest

The RabbitMQ password. (string value)

rabbit_password=guest

The RabbitMQ virtual host. (string value)

rabbit_virtual_host=/

RabbitMQ topic used for OpenStack notifications. (list value)

rabbit_notification_topic = ['notifications']

rpc_backend = trove.openstack.common.rpc.impl_kombu

SQLAlchemy connection string for the reference implementation

registry server. Any valid SQLAlchemy connection string is fine.

See: http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/connections.html#sqlalchemy.create_engine

sql_connection = mysql://trove:openstack@jcontroller/trove

+--------------------------------------+-------+-----------+----api-paste.ini+--------------------------------------+-------+----------- [composite:trove] use = call:trove.common.wsgi:versioned_urlmap /: versions /v1.0: troveapi

[app:versions] paste.app_factory = trove.versions:app_factory

[pipeline:troveapi] pipeline = faultwrapper authtoken authorization contextwrapper ratelimit extensions troveapp

pipeline = debug extensions troveapp

[filter:extensions] paste.filter_factory = trove.common.extensions:factory

[filter:authtoken] auth_version = v2.0 paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory auth_host = jcontroller auth_port = 35357 auth_protocol = http admin_tenant_name = service admin_user = trove admin_password = openstack

signing_dir is configurable, but the default behavior of the authtoken

middleware should be sufficient. It will create a temporary directory

in the home directory for the user the trove process is running as.

signing_dir = /var/lib/trove/keystone-signing

[filter:authorization] paste.filter_factory = trove.common.auth:AuthorizationMiddleware.factory

[filter:contextwrapper] paste.filter_factory = trove.common.wsgi:ContextMiddleware.factory

[filter:faultwrapper] paste.filter_factory = trove.common.wsgi:FaultWrapper.factory

[filter:ratelimit] paste.filter_factory = trove.common.limits:RateLimitingMiddleware.factory

[app:troveapp] paste.app_factory = trove.common.api:app_factory

Add this filter to log request and response for debugging

[filter:debug] paste.filter_factory = trove.common.wsgi:Debug ~

------------+-------+-----------+----logs of instance on the compute node--------------------- Starting Signal sysvinit that local filesystems are mounted^[[74G[ OK ]^M^M * Starting configure network device security^[[74G[ OK ]^M^M * Starting flush early job output to logs^[[74G[ OK ]^M^M * Starting save udev log and update rules^[[74G[ OK ]^M^M * Stopping Failsafe Boot Delay^[[74G[ OK ]^M^M * Stopping Mount filesystems on boot^[[74G[ OK ]^M^M * Starting System V initialisation compatibility^[[74G[ OK ]^M^M * Stopping flush early job output to logs^[[74G[ OK ]^M^M * Stopping save udev log and update rules^[[74G[ OK ]^M^M * Starting Bridge file events into upstart^[[74G[ OK ]^M^M * Starting system logging daemon^[[74G[ OK ]^M^M * Starting Handle applying cloud-config^[[74G[ OK ]^M^M * Starting configure virtual network devices^[[74G[ OK ]^M^M * Starting early crypto disks... ^[[80G ^M^[[74G[ OK ]^M^M * Starting Trove Guest Agent^[[74G[ OK ]^M^M Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd^M^M Cloud-init v. 0.7.5 running 'modules:config' at Sat, 04 Apr 2015 22:37:42 +0000. Up 163.85 seconds.^M^M * Starting AppArmor profiles ^[[80G ^M^[[74G[ OK ]^M^M * Starting iSCSI initiator service iscsid ^[[80G ^M^[[74G[ OK ]^M^M ^M^M iscsiadm: No records found^M^M Generating locales...^M^M * Setting up iSCSI targets ^[[80G ^M^[[74G[ OK ]^M^M en_US.UTF-8... * Mounting network filesystems ^[[80G ^M^[[74G[ OK ]^M^M up-to-date^M^M Generation complete.^M^M * Stopping System V initialisation compatibility^[[74G[ OK ]^M^M * Starting System V runlevel compatibility^[[74G[ OK ]^M^M * Starting save kernel messages^[[74G[ OK ]^M^M * Starting regular background program processing daemon^[[74G[ OK ]^M^M * Starting OpenSSH server^[[74G[ OK ]^M^M * Stopping save kernel messages^[[74G[ OK ]^M^M * Starting NTP server ntpd ^[[80G ^M^[[74G[ OK ]^M^M open-vm-tools: not starting as this is not a VMware VM^M^M * Starting MySQL Server^[[74G[ OK ]^M^M * Stopping System V runlevel compatibility^[[74G[ OK ]^M^M ^M Ubuntu 14.04.1 LTS imane ttyS0^M ^M imane login: Cloud-init v. 0.7.5 running 'modules:final' at Sat, 04 Apr 2015 22:38:48 +0000. Up 229.78 seconds. ci-info: no authorized ssh keys fingerprints found for user ubuntu. ci-info: no authorized ssh keys fingerprints found for user ubuntu. ec2: ec2: ############################################################# ec2: -----BEGIN SSH HOST KEY FINGERPRINTS----- ec2: 1024 92:a3:e4:52:5f:07:57:87:81:7e:0f:80:6f:ad:6d:26 root@imane (DSA) ec2: 256 5c:f8:36:c3:8d:9e:e6:c3:28:e2:8c:f5:40:8a:ce:df root@imane (ECDSA) ec2: 2048 e8:ba:4b:7e:41:a5:54:16:79:b1:4b:72:28:36:0a:7a root@imane (RSA) ec2: -----END SSH HOST KEY FINGERPRINTS----- ec2: ############################################################# -----BEGIN SSH HOST KEY KEYS----- ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBI4vR/Vd2ZrOq7oa5sLy77bHiCl3HvL/dSrgIZIXKl4005Z6EIkKzPBAdCKZG7VaPCH6R0/mUEPEkSxOa/KOntE= root@imane ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDgt5cJ8pTN7Ybncfrx2jDdpbmu/XkL79B9SDRPxBTkRnat9rDUwP94drV+dqW3af55g9weFPWXIOlDG3wjKZgRU6cIRAF3Km4RhOxwJniuVzMUbXKTlI91R5mUgKialjf8vJcAjDdjrvrOiPZWU/Ynh9OksyJx++zrNVZKqX7EcXWP31IkXvcbi9SXbmlht5cvatu+jm8xu+VddWLIohowIHV4XtnADoOd2WJyzUkv3lmKns3Ddyy3oiev7Fpnb7hqxZzhlo1CX4ljzHb9xqTFlWtb69YY5qUIMp+IIHOiIoFoXg22BrdswHsIMOCwxI4Hzlnrpot59/n+GO1pBh9/ root@imane -----END SSH HOST KEY KEYS----- Cloud-init v. 0.7.5 finished at Sat, 04 Apr 2015 22:38:53 +0000. Datasource DataSourceConfigDriveNet [net,ver=2][source=/dev/sr0]. Up 234.63 seconds

------------+-------+-----------+----taskmanager.log---------------------

2015-04-05 00:27:41.073 1515 DEBUG trove.openstack.common.periodic_task [req-2ec8f560-4cfd-446d-a911-cc154b916f2e 5699d072f54c4e629b85ff366224384d cacaf164be8143fd85fcafb8c3805904 - - -] Skipping Manager.publish_exists_event, 13 ticks left until next run run_periodic_tasks /usr/lib/python2.7/dist-packages/trove/openstack/common/periodic_task.py:100 2015-04-05 00:27:41.926 1515 ERROR trove.common.utils [req-2ec8f560-4cfd-446d-a911-cc154b916f2e 5699d072f54c4e629b85ff366224384d cacaf164be8143fd85fcafb8c3805904 - - -] In looping call. 2015-04-05 00:27:41.926 1515 TRACE trove.common.utils Traceback (most recent call last): 2015-04-05 00:27:41.926 1515 TRACE trove.common.utils File "/usr/lib/python2.7/dist-packages/trove/common/utils.py", line 213, in _inner 2015-04-05 00:27:41.926 1515 TRACE trove.common.utils self.f(self.args, *self.kw) 2015-04-05 00:27:41.926 1515 TRACE trove.common.utils File "/usr/lib/python2.7/dist-packages/trove/common/utils.py", line 254, in poll_and_check 2015-04-05 00:27:41.926 1515 TRACE trove.common.utils raise exception.PollTimeOut 2015-04-05 00:27:41.926 1515 TRACE trove.common.utils PollTimeOut: Polling request timed out. 2015-04-05 00:27:41.926 1515 TRACE trove.common.utils 2015-04-05 00:27:41.928 1515 ERROR trove.taskmanager.models [req-2ec8f560-4cfd-446d-a911-cc154b916f2e 5699d072f54c4e629b85ff366224384d cacaf164be8143fd85fcafb8c3805904 - - -] Failed to create instance 16988165-2468-424b-a013-7507e30ec2de. Timeout waiting for instance to become active. No usage create-event was sent. 2015-04-05 00:27:41.974 1515 ERROR trove.taskmanager.models [req-2ec8f560-4cfd-446d-a911-cc154b916f2e 5699d072f54c4e629b85ff366224384d cacaf164be8143fd85fcafb8c3805904 - - -] Service status: ERROR 2015-04-05 00:27:41.975 1515 ERROR trove.taskmanager.models [req-2ec8f560-4cfd-446d-a911-cc154b916f2e 5699d072f54c4e629b85ff366224384d cacaf164be8143fd85fcafb8c3805904 - - -] Service error description: guestagent error 2015-04-05 00:27:41.978 1515 DEBUG trove.db.models [req-2ec8f560-4cfd-446d-a911-cc154b916f2e 5699d072f54c4e629b85ff366224384d cacaf164be8143fd85fcafb8c3805904 - - -] Saving DBInstance: {u'cluster_id': None, u'shard_id': None, u'deleted_at': None, u'id': '16988165-2468-424b-a013-7507e30ec2de'

task Manager.publish_exists_event run_periodic_tasks /usr/lib/python2.7/dist-packages/trove/openstack/common/periodic_task.py:106 2015-04-05 00:29:51.587 1515 ERROR trove.openstack.common.periodic_task [req-2ec8f560-4cfd-446d-a911-cc154b916f2e 5699d072f54c4e629b85ff366224384d cacaf164be8143fd85fcafb8c3805904 - - -] Error during Manager.publish_exists_event: The request you have made requires authentication. (HTTP 401) 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task Traceback (most recent call last): 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task File "/usr/lib/python2.7/dist-packages/trove/openstack/common/periodic_task.py", line 109, in run_periodic_tasks 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task task(self, context) 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task File "/usr/lib/python2.7/dist-packages/trove/taskmanager/manager.py", line 157, in publish_exists_event 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task self.admin_context) 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task File "/usr/lib/python2.7/dist-packages/trove/extensions/mgmt/instances/models.py", line 163, in publish_exist_events 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task notifications = transformer() 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task File "/usr/lib/python2.7/dist-packages/trove/extensions/mgmt/instances/models.py", line 250, in __call__ 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task client=self.nova_client) 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task File "/usr/lib/python2.7/dist-packages/trove/extensions/mgmt/instances/models.py", line 37, in load_mgmt_instances 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task mgmt_servers = client.servers.list(search_opts={'all_tenants': 1}) 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/servers.py", line 595, in list 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task return self._list("/servers%s%s" % (detail, query_string), "servers") 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 67, in _list 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task _resp, body = self.api.client.get(url) 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 487, in get 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task return self._cs_request(url, 'GET', *kwargs) 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 446, in _cs_request 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task self.authenticate() 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 586, in authenticate 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task auth_url = self._v2_auth(auth_url) 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 677, in _v2_auth 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task return self._authenticate(url, body) 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 690, in _authenticate 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task *kwargs) 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 439, in _time_request 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task resp, body = self.request(url, method, **kwargs) 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 433, in request 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task raise exceptions.from_response(resp, body, url, method) 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task Unauthorized: The request you have made requires authentication. (HTTP 401)

Trove Error Status

Hi all , im getting the following message:
root@jcontroller:/etc/ssh# trove list
+--------------------------------------+-------+-----------+-------------------+--------+-----------+------+
|                  id                  |  name | datastore | datastore_version | status | flavor_id | size |
+--------------------------------------+-------+-----------+-------------------+--------+-----------+------+
| 16988165-2468-424b-a013-7507e30ec2de | imane |   mysql   |     mysql-5.5     | ERROR  |     6     |  6   |
+--------------------------------------+-------+-----------+-------------------+--------+-----------+------+

+--------------------------------------+-------+-----------+-------------------+--------+-----------+------+ Note : the volume and instance are created with success

My configs files:

files: +--------------------------------------+-------+-----------+----trove.conf+--------------------------------------+-------+-----------+---- [DEFAULT] nova_proxy_admin_tenant_id = 5e735eda0d2642c99fde526198784cb0 cinder_url = http://jcontroller:8776/v1 nova_compute_url = http://jcontroller:8774/v2 swift_url = http://jcontroller:8080/v1/AUTH_ nova_proxy_admin_tenant_name = service nova_proxy_admin_pass = openstack nova_proxy_admin_user = admin rabbit_password = openstack rabbit_userid = guest rabbit_port = 5672 rabbit_host = jcontroller

jcontroller # Show more verbose log output (sets INFO log level output)

output) verbose = True add_addresses = True

True # Show debugging output in logs (sets DEBUG log level output)

output) debug = True

True # Address to bind the API server

server bind_host = 0.0.0.0

0.0.0.0 # Port the bind the API server to

to bind_port = 8779

8779 # Number of workers for the API service. The default will

will # be the number of CPUs available. (integer value)

trove_api_workers=5

value) #trove_api_workers=5 # The RabbitMQ broker address where a single node is used.

used. # (string value)

rabbit_host=localhost

value) #rabbit_host=localhost # The RabbitMQ broker port where a single node is used.

used. # (integer value)

rabbit_port=5672

value) #rabbit_port=5672 # RabbitMQ HA cluster host:port pairs. (list value)

rabbit_hosts=$rabbit_host:$rabbit_port

value) #rabbit_hosts=$rabbit_host:$rabbit_port # Connect over SSL for RabbitMQ. (boolean value)

rabbit_use_ssl=false

value) #rabbit_use_ssl=false # The RabbitMQ userid. (string value)

rabbit_userid=guest

value) #rabbit_userid=guest # The RabbitMQ password. (string value)

rabbit_password=guest

value) #rabbit_password=guest # The RabbitMQ virtual host. (string value)

rabbit_virtual_host=/

value) #rabbit_virtual_host=/ # RabbitMQ topic used for OpenStack notifications. (list value)

rabbit_notification_topic = ['notifications']

value) #rabbit_notification_topic = ['notifications'] rpc_backend = trove.openstack.common.rpc.impl_kombu

trove.openstack.common.rpc.impl_kombu +--------------------------------------+-------+-----------+----trove-conductor+--------------------------------------+-------+-----------+-- [DEFAULT] cinder_url = http://jcontroller:8776/v1 nova_compute_url = http://jcontroller:8774/v2 swift_url = http://jcontroller:8080/v1/AUTH_ nova_proxy_admin_tenant_name = service nova_proxy_admin_pass = openstack nova_proxy_admin_user = admin rabbit_userid = guest rabbit_port = 5672 rabbit_host = jcontroller verbose = True debug = True control_exchange = trove trove_auth_url = http://jcontroller:5000/v2.0 sql_connection = mysql://trove:openstack@jcontroller/trove

mysql://trove:openstack@jcontroller/trove # The RabbitMQ broker address where a single node is used.

used. # (string value)

rabbit_host=localhost

value) #rabbit_host=localhost # The RabbitMQ broker port where a single node is used.

used. # (integer value)

rabbit_port=5672

value) #rabbit_port=5672 # RabbitMQ HA cluster host:port pairs. (list value)

rabbit_hosts=$rabbit_host:$rabbit_port

value) #rabbit_hosts=$rabbit_host:$rabbit_port # Connect over SSL for RabbitMQ. (boolean value)

rabbit_use_ssl=false

value) #rabbit_use_ssl=false # The RabbitMQ userid. (string value)

rabbit_userid=guest

value) #rabbit_userid=guest # The RabbitMQ password. (string value)

value) rabbit_password = openstack

openstack # The RabbitMQ virtual host. (string value)

rabbit_virtual_host=/

value) #rabbit_virtual_host=/ # RabbitMQ topic used for OpenStack notifications. (list value)

rabbit_notification_topic = ['notifications']

value) #rabbit_notification_topic = ['notifications'] rpc_backend = trove.openstack.common.rpc.impl_kombu

trove.openstack.common.rpc.impl_kombu # The manager class to use for conductor. (string value)

value) conductor_manager = trove.conductor.manager.Manager

trove.conductor.manager.Manager # ============ Logging information =============================

============================= log_dir = /var/log/trove log_file = trove-conductor.log

trove-conductor.log +--------------------------------------+-------+-----------+----trove-taskmanager+--------------------------------------+-------+----------- DEFAULT] cinder_url = http://jcontroller:8776/v1 nova_compute_url = http://jcontroller:8774/v2 swift_url = http://jcontroller:8080/v1/AUTH_ rabbit_password = openstack rabbit_userid = guest rabbit_port = 5672 rabbit_host = jcontroller

jcontroller # Show more verbose log output (sets INFO log level output)

output) verbose = True

True # Show debugging output in logs (sets DEBUG log level output)

output) debug = True

True # Update the service and instance statuses if the instances fails to become

become # active within the configured usage_timeout.

usage_timeout. update_status_on_fail = True

True # The RabbitMQ broker address where a single node is used.

used. # (string value)

rabbit_host=localhost

value) #rabbit_host=localhost # The RabbitMQ broker port where a single node is used.

used. # (integer value)

rabbit_port=5672

value) #rabbit_port=5672 # RabbitMQ HA cluster host:port pairs. (list value)

rabbit_hosts=$rabbit_host:$rabbit_port

value) #rabbit_hosts=$rabbit_host:$rabbit_port # Connect over SSL for RabbitMQ. (boolean value)

rabbit_use_ssl=false

value) #rabbit_use_ssl=false # The RabbitMQ userid. (string value)

rabbit_userid=guest

value) #rabbit_userid=guest # The RabbitMQ password. (string value)

rabbit_password=guest

value) #rabbit_password=guest # The RabbitMQ virtual host. (string value)

rabbit_virtual_host=/

value) #rabbit_virtual_host=/ # RabbitMQ topic used for OpenStack notifications. (list value)

rabbit_notification_topic = ['notifications']

value) #rabbit_notification_topic = ['notifications'] rpc_backend = trove.openstack.common.rpc.impl_kombu

trove.openstack.common.rpc.impl_kombu # SQLAlchemy connection string for the reference implementation

implementation # registry server. Any valid SQLAlchemy connection string is fine.

fine. # See: http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/connections.html#sqlalchemy.create_engine

http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/connections.html#sqlalchemy.create_engine sql_connection = mysql://trove:openstack@jcontroller/trove

mysql://trove:openstack@jcontroller/trove +--------------------------------------+-------+-----------+----api-paste.ini+--------------------------------------+-------+----------- [composite:trove] use = call:trove.common.wsgi:versioned_urlmap /: versions /v1.0: troveapi

troveapi [app:versions] paste.app_factory = trove.versions:app_factory

trove.versions:app_factory [pipeline:troveapi] pipeline = faultwrapper authtoken authorization contextwrapper ratelimit extensions troveapp

pipeline troveapp #pipeline = debug extensions troveapp

troveapp [filter:extensions] paste.filter_factory = trove.common.extensions:factory

trove.common.extensions:factory [filter:authtoken] auth_version = v2.0 paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory auth_host = jcontroller auth_port = 35357 auth_protocol = http admin_tenant_name = service admin_user = trove admin_password = openstack

openstack # signing_dir is configurable, but the default behavior of the authtoken

authtoken # middleware should be sufficient. It will create a temporary directory

directory # in the home directory for the user the trove process is running as.

as. signing_dir = /var/lib/trove/keystone-signing

/var/lib/trove/keystone-signing [filter:authorization] paste.filter_factory = trove.common.auth:AuthorizationMiddleware.factory

trove.common.auth:AuthorizationMiddleware.factory [filter:contextwrapper] paste.filter_factory = trove.common.wsgi:ContextMiddleware.factory

trove.common.wsgi:ContextMiddleware.factory [filter:faultwrapper] paste.filter_factory = trove.common.wsgi:FaultWrapper.factory

trove.common.wsgi:FaultWrapper.factory [filter:ratelimit] paste.filter_factory = trove.common.limits:RateLimitingMiddleware.factory

trove.common.limits:RateLimitingMiddleware.factory [app:troveapp] paste.app_factory = trove.common.api:app_factory

Add trove.common.api:app_factory #Add this filter to log request and response for debugging

debugging [filter:debug] paste.filter_factory = trove.common.wsgi:Debug ~

------------+-------+-----------+----logs of instance on the compute node--------------------- Starting Signal sysvinit that local filesystems are mounted^[[74G[ OK ]^M^M * Starting configure network device security^[[74G[ OK ]^M^M * Starting flush early job output to logs^[[74G[ OK ]^M^M * Starting save udev log and update rules^[[74G[ OK ]^M^M * Stopping Failsafe Boot Delay^[[74G[ OK ]^M^M * Stopping Mount filesystems on boot^[[74G[ OK ]^M^M * Starting System V initialisation compatibility^[[74G[ OK ]^M^M * Stopping flush early job output to logs^[[74G[ OK ]^M^M * Stopping save udev log and update rules^[[74G[ OK ]^M^M * Starting Bridge file events into upstart^[[74G[ OK ]^M^M * Starting system logging daemon^[[74G[ OK ]^M^M * Starting Handle applying cloud-config^[[74G[ OK ]^M^M * Starting configure virtual network devices^[[74G[ OK ]^M^M * Starting early crypto disks... ^[[80G ^M^[[74G[ OK ]^M^M * Starting Trove Guest Agent^[[74G[ OK ]^M^M Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd^M^M Cloud-init v. 0.7.5 running 'modules:config' at Sat, 04 Apr 2015 22:37:42 +0000. Up 163.85 seconds.^M^M * Starting AppArmor profiles ^[[80G ^M^[[74G[ OK ]^M^M * Starting iSCSI initiator service iscsid ^[[80G ^M^[[74G[ OK ]^M^M ^M^M iscsiadm: No records found^M^M Generating locales...^M^M * Setting up iSCSI targets ^[[80G ^M^[[74G[ OK ]^M^M en_US.UTF-8... * Mounting network filesystems ^[[80G ^M^[[74G[ OK ]^M^M up-to-date^M^M Generation complete.^M^M * Stopping System V initialisation compatibility^[[74G[ OK ]^M^M * Starting System V runlevel compatibility^[[74G[ OK ]^M^M * Starting save kernel messages^[[74G[ OK ]^M^M * Starting regular background program processing daemon^[[74G[ OK ]^M^M * Starting OpenSSH server^[[74G[ OK ]^M^M * Stopping save kernel messages^[[74G[ OK ]^M^M * Starting NTP server ntpd ^[[80G ^M^[[74G[ OK ]^M^M open-vm-tools: not starting as this is not a VMware VM^M^M * Starting MySQL Server^[[74G[ OK ]^M^M * Stopping System V runlevel compatibility^[[74G[ OK ]^M^M ^M Ubuntu 14.04.1 LTS imane ttyS0^M ^M imane login: Cloud-init v. 0.7.5 running 'modules:final' at Sat, 04 Apr 2015 22:38:48 +0000. Up 229.78 seconds. ci-info: no authorized ssh keys fingerprints found for user ubuntu. ci-info: no authorized ssh keys fingerprints found for user ubuntu. ec2: ec2: ############################################################# ec2: -----BEGIN SSH HOST KEY FINGERPRINTS----- ec2: 1024 92:a3:e4:52:5f:07:57:87:81:7e:0f:80:6f:ad:6d:26 root@imane (DSA) ec2: 256 5c:f8:36:c3:8d:9e:e6:c3:28:e2:8c:f5:40:8a:ce:df root@imane (ECDSA) ec2: 2048 e8:ba:4b:7e:41:a5:54:16:79:b1:4b:72:28:36:0a:7a root@imane (RSA) ec2: -----END SSH HOST KEY FINGERPRINTS----- ec2: ############################################################# -----BEGIN SSH HOST KEY KEYS----- ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBI4vR/Vd2ZrOq7oa5sLy77bHiCl3HvL/dSrgIZIXKl4005Z6EIkKzPBAdCKZG7VaPCH6R0/mUEPEkSxOa/KOntE= root@imane ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDgt5cJ8pTN7Ybncfrx2jDdpbmu/XkL79B9SDRPxBTkRnat9rDUwP94drV+dqW3af55g9weFPWXIOlDG3wjKZgRU6cIRAF3Km4RhOxwJniuVzMUbXKTlI91R5mUgKialjf8vJcAjDdjrvrOiPZWU/Ynh9OksyJx++zrNVZKqX7EcXWP31IkXvcbi9SXbmlht5cvatu+jm8xu+VddWLIohowIHV4XtnADoOd2WJyzUkv3lmKns3Ddyy3oiev7Fpnb7hqxZzhlo1CX4ljzHb9xqTFlWtb69YY5qUIMp+IIHOiIoFoXg22BrdswHsIMOCwxI4Hzlnrpot59/n+GO1pBh9/ root@imane -----END SSH HOST KEY KEYS----- Cloud-init v. 0.7.5 finished at Sat, 04 Apr 2015 22:38:53 +0000. Datasource DataSourceConfigDriveNet [net,ver=2][source=/dev/sr0]. Up 234.63 seconds

------------+-------+-----------+----taskmanager.log---------------------

seconds ------------+-------+-----------+----taskmanager.log--------------------- 2015-04-05 00:27:41.073 1515 DEBUG trove.openstack.common.periodic_task [req-2ec8f560-4cfd-446d-a911-cc154b916f2e 5699d072f54c4e629b85ff366224384d cacaf164be8143fd85fcafb8c3805904 - - -] Skipping Manager.publish_exists_event, 13 ticks left until next run run_periodic_tasks /usr/lib/python2.7/dist-packages/trove/openstack/common/periodic_task.py:100 2015-04-05 00:27:41.926 1515 ERROR trove.common.utils [req-2ec8f560-4cfd-446d-a911-cc154b916f2e 5699d072f54c4e629b85ff366224384d cacaf164be8143fd85fcafb8c3805904 - - -] In looping call. 2015-04-05 00:27:41.926 1515 TRACE trove.common.utils Traceback (most recent call last): 2015-04-05 00:27:41.926 1515 TRACE trove.common.utils File "/usr/lib/python2.7/dist-packages/trove/common/utils.py", line 213, in _inner 2015-04-05 00:27:41.926 1515 TRACE trove.common.utils self.f(self.args, *self.kw) self.f(*self.args, **self.kw) 2015-04-05 00:27:41.926 1515 TRACE trove.common.utils File "/usr/lib/python2.7/dist-packages/trove/common/utils.py", line 254, in poll_and_check 2015-04-05 00:27:41.926 1515 TRACE trove.common.utils raise exception.PollTimeOut 2015-04-05 00:27:41.926 1515 TRACE trove.common.utils PollTimeOut: Polling request timed out. 2015-04-05 00:27:41.926 1515 TRACE trove.common.utils 2015-04-05 00:27:41.928 1515 ERROR trove.taskmanager.models [req-2ec8f560-4cfd-446d-a911-cc154b916f2e 5699d072f54c4e629b85ff366224384d cacaf164be8143fd85fcafb8c3805904 - - -] Failed to create instance 16988165-2468-424b-a013-7507e30ec2de. Timeout waiting for instance to become active. No usage create-event was sent. 2015-04-05 00:27:41.974 1515 ERROR trove.taskmanager.models [req-2ec8f560-4cfd-446d-a911-cc154b916f2e 5699d072f54c4e629b85ff366224384d cacaf164be8143fd85fcafb8c3805904 - - -] Service status: ERROR 2015-04-05 00:27:41.975 1515 ERROR trove.taskmanager.models [req-2ec8f560-4cfd-446d-a911-cc154b916f2e 5699d072f54c4e629b85ff366224384d cacaf164be8143fd85fcafb8c3805904 - - -] Service error description: guestagent error 2015-04-05 00:27:41.978 1515 DEBUG trove.db.models [req-2ec8f560-4cfd-446d-a911-cc154b916f2e 5699d072f54c4e629b85ff366224384d cacaf164be8143fd85fcafb8c3805904 - - -] Saving DBInstance: {u'cluster_id': None, u'shard_id': None, u'deleted_at': None, u'id': '16988165-2468-424b-a013-7507e30ec2de'

'16988165-2468-424b-a013-7507e30ec2de' task Manager.publish_exists_event run_periodic_tasks /usr/lib/python2.7/dist-packages/trove/openstack/common/periodic_task.py:106 2015-04-05 00:29:51.587 1515 ERROR trove.openstack.common.periodic_task [req-2ec8f560-4cfd-446d-a911-cc154b916f2e 5699d072f54c4e629b85ff366224384d cacaf164be8143fd85fcafb8c3805904 - - -] Error during Manager.publish_exists_event: The request you have made requires authentication. (HTTP 401) 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task Traceback (most recent call last): 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task File "/usr/lib/python2.7/dist-packages/trove/openstack/common/periodic_task.py", line 109, in run_periodic_tasks 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task task(self, context) 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task File "/usr/lib/python2.7/dist-packages/trove/taskmanager/manager.py", line 157, in publish_exists_event 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task self.admin_context) 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task File "/usr/lib/python2.7/dist-packages/trove/extensions/mgmt/instances/models.py", line 163, in publish_exist_events 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task notifications = transformer() 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task File "/usr/lib/python2.7/dist-packages/trove/extensions/mgmt/instances/models.py", line 250, in __call__ 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task client=self.nova_client) 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task File "/usr/lib/python2.7/dist-packages/trove/extensions/mgmt/instances/models.py", line 37, in load_mgmt_instances 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task mgmt_servers = client.servers.list(search_opts={'all_tenants': 1}) 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/servers.py", line 595, in list 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task return self._list("/servers%s%s" % (detail, query_string), "servers") 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 67, in _list 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task _resp, body = self.api.client.get(url) 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 487, in get 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task return self._cs_request(url, 'GET', *kwargs) **kwargs) 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 446, in _cs_request 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task self.authenticate() 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 586, in authenticate 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task auth_url = self._v2_auth(auth_url) 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 677, in _v2_auth 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task return self._authenticate(url, body) 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 690, in _authenticate 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task *kwargs) **kwargs) 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 439, in _time_request 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task resp, body = self.request(url, method, **kwargs) 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 433, in request 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task raise exceptions.from_response(resp, body, url, method) 2015-04-05 00:29:51.587 1515 TRACE trove.openstack.common.periodic_task Unauthorized: The request you have made requires authentication. (HTTP 401)

401)