[Openstack] Trove MySQL v5.[67] images?

Turbo Fredriksson turbo at bayour.com
Wed Oct 12 08:53:05 UTC 2016


On Oct 11, 2016, at 10:12 PM, Mark Kirkwood wrote:

> Hmm - so what error are you getting?

For a long time i got problem with trove-guestagent not being able
to connect to the RabbitMQ cluster I have.

After a lot of trial and error I finally realized it must be the same
cluster that Openstack uses! Doh!!

But now I'm getting:

----- s n i p -----
2016-10-11 12:31:10.059 1006 ERROR trove.openstack.common.rpc.amqp [req-bed22a20-7c9f-444f-8e04-d0bb609cf2d2 4b0e25c70d2b4ad6ba4c50250f2f0b0b 04ee0e71babe4fd7aa16c3f64a8fca89 - - -] Exception during message handling
2016-10-11 12:31:10.059 1006 TRACE trove.openstack.common.rpc.amqp Traceback (most recent call last):
2016-10-11 12:31:10.059 1006 TRACE trove.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/trove/openstack/common/rpc/amqp.py", line 440, in _process_data
2016-10-11 12:31:10.059 1006 TRACE trove.openstack.common.rpc.amqp     **args)
2016-10-11 12:31:10.059 1006 TRACE trove.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/trove/openstack/common/rpc/dispatcher.py", line 172, in dispatch
2016-10-11 12:31:10.059 1006 TRACE trove.openstack.common.rpc.amqp     result = getattr(proxyobj, method)(ctxt, **kwargs)
2016-10-11 12:31:10.059 1006 TRACE trove.openstack.common.rpc.amqp TypeError: prepare() got an unexpected keyword argument 'cluster_config'
----- s n i p -----

Which must be because I'm running an old guest agent.. I'm upgrading my
guest image at the moment.

Found a Mitaka back port for Trusty at http://mitaka-trusty.pkgs.mirantis.com,
hopefully that works better.

> FWIW, I found logging into the image and checking what state it had actually gotten to was useful to help find what was actually not working.


Yes, that's the first I did - enable ssh access to the image :)


It would have been nice if the API and Taskmanager could tell you what
problem they're having with the guest, if any..


Also, the bug I reported a few months ago (about hardcoded Security
Groups) was also a problem. But in the meantime, I have to try to remember
to go in and add a SG every time I add a DB.. Not ideal, but it will work
for now..
-- 
I love deadlines. I love the whooshing noise they
make as they go by.
- Douglas Adams





More information about the Openstack mailing list