Guest agent incompatabilities with Mitaka
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack DBaaS (Trove) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Building Trove images seems to be hard, and largely undocumented.
So maybe I am doing something wrong, and would like a pointer to the official Trove image creation docs.
While trying to create image I did:
Launch instance, tried various, below are from Vivid
Installed trove-guest
Installed Mysql 5.6, made sure it was working listening on *:3306 and root pw set
Installed missing python rabbit module? Why not in trove dependencies?
Shut down instance
Created snapshot
Add snapshot image to Trove
Try to launch trove instance, trove create
- and start debugging
Image source:
glance --os-image-
Commands used:
apt-get update && apt-get dist-upgrade
Install trove-guestagent
# apt-get install python-trove python-troveclient trove-common trove-guestagent
Install Mysql
apt-get install mysql-server-5.6
- fixup config, to uncomment bind_address=
Missing module rabbit
# apt-get install python-pip
# pip install rabbit
# Uncomment rpc_backend=rabbit - which then ends up using default which is rabbit, go figure, but does not work when in place
The end point using the software versions:
root@mysql-
ii python-trove 2015.1.0-0ubuntu1.2 all Database as a Service for OpenStack - Python lib
ii python-troveclient 1:1.0.9-0ubuntu1 all Client library for Openstack Trove API.
ii trove-common 2015.1.0-0ubuntu1.2 all Database as a Service for OpenStack - common files
ii trove-guestagent 2015.1.0-0ubuntu1.2 all Database as a Service for OpenStack - guest agent
and the server:
[root@cheese ~]# rpm -qa | grep trove
openstack-
python-
python-
openstack-
openstack-
openstack-
openstack-
Note: servers installed with RDO Mitaka on CentOS 7 and everythin else is working.
The best result I can get is guest_agent starting and getting
prepare() got an unexpected keyword argument 'cluster_config'
Note: guest_info and trove guest agent config, IS injected into instance!
log from starting
root@trove-
2016-05-19 12:57:37.288 1512 INFO trove.openstack
/usr/lib/
'auto_delete exchanges has been deprecated'))
2016-05-19 12:57:37.306 1512 ERROR trove.openstack
2016-05-19 12:57:37.306 1512 TRACE trove.openstack
2016-05-19 12:57:37.306 1512 TRACE trove.openstack
2016-05-19 12:57:37.306 1512 TRACE trove.openstack
2016-05-19 12:57:37.306 1512 TRACE trove.openstack
2016-05-19 12:57:37.306 1512 TRACE trove.openstack
2016-05-19 12:57:37.306 1512 TRACE trove.openstack
2016-05-19 12:57:37.306 1512 TRACE trove.openstack
2016-05-19 12:58:17.337 1512 INFO trove.guestagen
2016-05-19 12:58:17.356 1512 INFO trove.guestagen
See: http:// docs.openstack. org/developer/ trove/dev/ building_ guest_images. html
Also see elements in http:// git.openstack. org/cgit/ openstack/ trove-integrati on/tree/ scripts/ files/elements