[Openstack] Trove installation issue

Sharada R sharu8989 at yahoo.com
Wed Apr 1 13:24:22 UTC 2015


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<private_network_id>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-ad32149d04532015-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 'retry_after'
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_server_volume_individually
    availability_zone, nics)
  File "/root/sample/trove/trove/taskmanager/models.py", line 722, in _create_server
    config_drive=config_drive)
  File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/servers.py", line 883, in create
    **boot_kwargs)
  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 _process_data
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 create_instance
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 create_instance
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_server_volume_individually
2015-03-31 18:24:35.154 16097 TRACE trove.openstack.common.rpc.amqp     self._log_and_raise(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 at 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 at lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150401/1f5491c9/attachment.html>


More information about the Openstack mailing list