[openstack-dev] [Openstack] [Trove] Trove instance got stuck in BUILD state

Amrith Kumar amrith at tesora.com
Mon Jul 7 12:40:50 UTC 2014


Denis Makogon ( <mailto:dmakogon at mirantis.com> dmakogon at mirantis.com) writes:

 

| 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.

 

I think it is totally ludicrous (and to all the technical writers who work on OpenStack, downright offensive) to say the “docs are useless”. Not only have I been able to install and successfully operate a OpenStack installation by (largely) following the documentation, but “trove-integration” and “redstack” are useful for developers but I would highly doubt that a production deployment of Trove would use ‘redstack’.

 

Syed, maybe you need to download a guest image for Trove, or maybe there is something else amiss with your setup. Happy to catch up with you on IRC and help you with that. Optionally, email me and I’ll give you a hand.

 

Good job on getting all the core services installed and running, and welcome to the OpenStack community.

 

-amrith

 

--

 

Amrith Kumar, CTO, Tesora

 

Phone: +1-978-563-9590

Twitter: @amrithkumar  

Skype: amrith.skype

Web: http://www.tesora.com 

IRC: amrith @freenode #openstack-trove #tesora

 

 

 

From: Denis Makogon [mailto:dmakogon at mirantis.com] 
Sent: Monday, July 07, 2014 8:00 AM
To: OpenStack Development Mailing List (not for usage questions)
Cc: Ram Nalluri
Subject: Re: [openstack-dev] [Openstack] [Trove] Trove instance got stuck in BUILD state

 

 

 

On Mon, Jul 7, 2014 at 2:33 PM, Syed Hussain <syed_hussain at persistent.co.in <mailto:syed_hussain at persistent.co.in> > 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.

 



 

*         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
OpenStack-dev at lists.openstack.org <mailto:OpenStack-dev at lists.openstack.org> 
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140707/3e0384fd/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 17868 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140707/3e0384fd/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6559 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140707/3e0384fd/attachment.bin>


More information about the OpenStack-dev mailing list