On Mon, Jul 7, 2014 at 2:33 PM, Syed Hussain <[email protected]> wrote:
> Hi, > > > > I’m installing and configuring trove(DBaaS) for exisitng openstack setup. > > > > > I have openstack setup and able to boot nova instances with following > components: > > 1. keystone > > 2. glance > > 3. neutron > > 4. nova > > 5. cinder > > > > Followed below documentation for *manual installation of trove*: > > http://docs.openstack.org/developer/trove/dev/manual_install.html and > few correction given in this mail thread > https://www.mail-archive.com/openstack%40lists.openstack.org/msg05262.html > . > > Those docs are useless, since they are not reflecting significant step - creating custom Trove images. You need to create image with Trove installed in it, create upstart scriptto lauch Trove-guestagent with appropriate configuration files that comes to the compute instance through file injection. Vanilla images are good, but they don't have Trove in it at all. Here are some useful steps: 1. Create custom image with trove code in it (upstart scripts, etc). 2. Register datastore and associate given image with appropriate datastore/version. FYI, Trove is not fully integrated with devstack, so, personally i'd suggest to use https://github.com/openstack/trove-integration simple (3 clicks) Trove + DevStack deployment. > > > Booted up a trove instance > > trove create myTrove 7 --size=2 --databases=db3 --datastore_version > mysql-5.5 --datastore mysql --nic > net-id=752554ef-800c-46d8-b991-361db6c58226 > > > > Trove instance got created but is STUCK IN BUILD state. > > > > [image: cid:[email protected]] > > > > · nova instance associated with db instance got created > successfully. > Correct. > · Cinder volumes, security groups etc are also getting created > successfully. > Correct. > · I checked nova, cinder logs everything looks fine but in > trove-taskmanager.log below error got logged: > > PollTimeOut: Polling request timed out > > Correct since Trove-guest agent service wasn't able to report about its state. > I am also unable to access mysql in the booted up trove instance . via : mysql > –h <instance-IP> > > · Also I’m unable to delete this instance. > > o ERROR: Instance 23c8f4d5-4905-47d2-9992-13118dfa003f is not ready. > (HTTP 422) (may be this is expected) > Correct. You cannot modify/use instances that are remaining in BUILD state. > I’m a novice in Openstack but new to trove. > > Thanks in advance and any help is greatly appreciaited. > > > > Thanks & Regards, > > *Syed Afzal Hussain | **Software Engineer | OpenStack* > > DISCLAIMER ========== This e-mail may contain privileged and confidential > information which is the property of Persistent Systems Ltd. It is intended > only for the use of the individual or entity to which it is addressed. If > you are not the intended recipient, you are not authorized to read, retain, > copy, print, distribute or use this message. If you have received this > communication in error, please notify the sender and delete all copies of > this message. Persistent Systems Ltd. does not accept any liability for > virus infected mails. > > _______________________________________________ > OpenStack-dev mailing list > [email protected] > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > I'd glad to help you with other question related to Trove deployment. Best regards, Denis Makogon
_______________________________________________ OpenStack-dev mailing list [email protected] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
