Ask Your Question

What are the ways to get trove agent installed in a trove-glance image?

asked 2014-06-12 03:12:00 -0500

updated 2014-06-21 08:22:32 -0500

I got this "" but there seems like some issue(after provisioning the DB is not getting created in it). What's the best way to get the trove guest agent to the image so that it can provision DB instances from trove.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-08-13 14:21:14 -0500

beni gravatar image

Use cloudinit to set up the instances correctly. Unfortunately, the following is not yet tested because I still have problems at an earlier stage of Trove's installation process. But this is what I know so far.

See point 9 in for everything that has to be done within the instances. You might replace yum by apt within the URL to see guidelines for a different operating system.

Maybe it's better to use Ubuntu 14.04, because it has the package trove-guestagent in its repositories in contrast to Ubuntu 12.04.

An example for a cloudinit file (see )

- trove-guestagent
- mysql-server-5.5

# config file for trove guestagent
- path: /etc/trove/trove-guestagent.conf
  content: |
    rabbit_host = HOST_IP
    rabbit_password = guest
    nova_proxy_admin_user = admin
    nova_proxy_admin_pass = ADMIN_PASS
    nova_proxy_admin_tenant_name = trove
    trove_auth_url = http://HOST_IP:35357/v2.0
    control_exchange = trove


# restart trove-guestagent as the config has been changed
- stop trove-guestagent
- start trove-guestagent
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2014-06-12 03:12:00 -0500

Seen: 2,039 times

Last updated: Aug 13 '14