settingsLogin | Registersettings

Re: [Openstack] Trove installation issue

0 votes

On 23/03/15 23:20, Sharada R wrote:

Hi,

The trove installation is done by referring the following link :

http://docs.openstack.org/developer/trove/dev/manual_install.html

and the changes with respect to conf files was done by referring the
following Link :

http://docs.openstack.org/juno/install-guide/install/apt/content/trove-install.html

The issues that we are facing currently is in trove-api :

When I type trove-api in the command line,I get the following error.

2015-03-20 18:24:49.055 3285 CRITICAL root [-] ValueError: Cannot
resolve relative uri 'config:None'; no relative_to keyword argument given

That error would seem to point to missing config file(s).

The changes that was done in CONF files are :
[Note : controller1.external is the controller node IP]

trove.conf.sample,trove.conductor.sample :

trove-taskmanager.conf.sample :

api-paste.ini

trove-guestagent.conf.sample

Hmmm - all your .conf files seem to be named .conf.sample, I think that
is the problem (or at least the first think to change)!

Cheers

Mark


Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
asked Mar 29, 2015 in openstack by Mark_Kirkwood (5,760 points)   1 8 13

1 Response

0 votes

Sharada, would you share your config files including specifically trove-guestagent.conf.

Thanks,

-amrith

From: Sharada R [mailto:sharu8989@yahoo.com]
Sent: Wednesday, April 01, 2015 9:24 AM
To: Mark Kirkwood; openstack@lists.openstack.org
Subject: Re: [Openstack] Trove installation issue

HI,

Trove list command works fine!

trove create comand :

trove create data_trove 2 --size 2 --databases

trove --users trove:trove --datastore mysql --datastore_version

mysql-5.5 --nic net-id=51523bb2-29c4-4641-a963-15ee7d4de68c
returns an error.

Following is the error which I see in trove-taskmanager.log,

2015-03-31 18:24:35.110 16097 ERROR trove.taskmanager.models [req-4b8a0c34-3e4b-433c-9506-afbc171be936 f1c572991fd6498ab9c7c4aa0193acba 5d009aeffcaf4b62960c046716d49f03 - - -] Failed to create server for instance 1c3525c8-e144-4bc4-9f50-ad32149d0453
2015-03-31 18:24:35.112 16097 ERROR trove.taskmanager.models [req-4b8a0c34-3e4b-433c-9506-afbc171be936 f1c572991fd6498ab9c7c4aa0193acba 5d009aeffcaf4b62960c046716d49f03 - - -] init() got an unexpected keyword argument 'retryafter'
2015-03-31 18:24:35.114 16097 ERROR trove.taskmanager.models [req-4b8a0c34-3e4b-433c-9506-afbc171be936 f1c572991fd6498ab9c7c4aa0193acba 5d009aeffcaf4b62960c046716d49f03 - - -] Traceback (most recent call last):
File "/root/sample/trove/trove/taskmanager/models.py", line 605, in _create
servervolumeindividually
availabilityzone, nics)
File "/root/sample/trove/trove/taskmanager/models.py", line 722, in _create
server
configdrive=configdrive)
File "/usr/lib/python2.7/dist-packages/novaclient/v11/servers.py", line 883, in create
bootkwargs)
File "/usr/lib/python2.7/dist-packages/novaclient/v1
1/servers.py", line 546, in boot
return
raw=return_raw, **kwargs)
File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 100, in _create
_resp, body = self.api.client.post(url, body=body)
File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 490, in post
return self._cs_request(url, 'POST', **kwargs)
File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 465, in _cs_request
resp, body = self._time_request(url, method, **kwargs)
File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 439, in _time_request
resp, body = self.request(url, method, **kwargs)
File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 433, in request
raise exceptions.from_response(resp, body, url, method)
File "/usr/lib/python2.7/dist-packages/novaclient/exceptions.py", line 249, in from_response
return cls(
kwargs)
TypeError: init() got an unexpected keyword argument 'retry
after'

2015-03-31 18:24:35.154 16097 ERROR trove.openstack.common.rpc.amqp [req-4b8a0c34-3e4b-433c-9506-afbc171be936 f1c572991fd6498ab9c7c4aa0193acba 5d009aeffcaf4b62960c046716d49f03 - - -] Exception during message handling
2015-03-31 18:24:35.154 16097 TRACE trove.openstack.common.rpc.amqp Traceback (most recent call last):
2015-03-31 18:24:35.154 16097 TRACE trove.openstack.common.rpc.amqp File "/root/sample/trove/trove/openstack/common/rpc/amqp.py", line 440, in processdata
2015-03-31 18:24:35.154 16097 TRACE trove.openstack.common.rpc.amqp **args)
2015-03-31 18:24:35.154 16097 TRACE trove.openstack.common.rpc.amqp File "/root/sample/trove/trove/openstack/common/rpc/dispatcher.py", line 172, in dispatch
2015-03-31 18:24:35.154 16097 TRACE trove.openstack.common.rpc.amqp result = getattr(proxyobj, method)(ctxt, **kwargs)
2015-03-31 18:24:35.154 16097 TRACE trove.openstack.common.rpc.amqp File "/root/sample/trove/trove/taskmanager/manager.py", line 129, in createinstance
2015-03-31 18:24:35.154 16097 TRACE trove.openstack.common.rpc.amqp nics, overrides, cluster
config)
2015-03-31 18:24:35.154 16097 TRACE trove.openstack.common.rpc.amqp File "/root/sample/trove/trove/taskmanager/models.py", line 266, in createinstance
2015-03-31 18:24:35.154 16097 TRACE trove.openstack.common.rpc.amqp nics)
2015-03-31 18:24:35.154 16097 TRACE trove.openstack.common.rpc.amqp File "/root/sample/trove/trove/taskmanager/models.py", line 612, in _create
servervolumeindividually
2015-03-31 18:24:35.154 16097 TRACE trove.openstack.common.rpc.amqp self.logandraise(e, msg, err)
2015-03-31 18:24:35.154 16097 TRACE trove.openstack.common.rpc.amqp File "/root/sample/trove/trove/taskmanager/models.py", line 647, in _log
and_raise
2015-03-31 18:24:35.154 16097 TRACE trove.openstack.common.rpc.amqp raise TroveError(message=message)
2015-03-31 18:24:35.154 16097 TRACE trove.openstack.common.rpc.amqp TroveError: Failed to create server for instance 1c3525c8-e144-4bc4-9f50-ad32149d0453
2015-03-31 18:24:35.154 16097 TRACE trove.openstack.common.rpc.amqp

nova list does not show up the instance for the same.
There is no errors in the nova logs.
Also ,
trove flavor-list
ERROR: Internal Server Error. Please keep this ID to help us figure out what went wrong
Kindly let me know if any configuration is missing.

Regards,
Sharada

On Sunday, 29 March 2015 7:59 AM, Mark Kirkwood mark.kirkwood@catalyst.net.nz wrote:

On 23/03/15 23:20, Sharada R wrote:
Hi,

The trove installation is done by referring the following link :

http://docs.openstack.org/developer/trove/dev/manual_install.html

and the changes with respect to conf files was done by referring the
following Link :

http://docs.openstack.org/juno/install-guide/install/apt/content/trove-install.html

The issues that we are facing currently is in trove-api :

When I type trove-api in the command line,I get the following error.

2015-03-20 18:24:49.055 3285 CRITICAL root [-] ValueError: Cannot
resolve relative uri 'config:None'; no relative_to keyword argument given

That error would seem to point to missing config file(s).

The changes that was done in CONF files are :
[Note : controller1.external is the controller node IP]

trove.conf.sample,trove.conductor.sample :

trove-taskmanager.conf.sample :

api-paste.ini

trove-guestagent.conf.sample

Hmmm - all your .conf files seem to be named .conf.sample, I think that
is the problem (or at least the first think to change)!

Cheers

Mark


Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
responded Apr 1, 2015 by Amrith_Kumar (10,500 points)   2 4 4
...