On Mon, Jul 7, 2014 at 3:40 PM, Amrith Kumar <[email protected]> wrote:
> Denis Makogon ([email protected]) 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’. > Amrith, those doc doesn't reflect any post-deployment steps, even more, doc still suggesting to use trove-cli that was deprecated long time ago. I do agree that trove-integration project can't be used as production deployment system, but first try-outs - more than enough. > 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. > > > Syed, i'd suggest to use heat-jeos <http://docs.openstack.org/developer/heat/getting_started/jeos_building.html> tools to build custom images for Trove. Since it doesn't forces you to relay on any pre-baked images built for other production deployments. Or there's another way to accomplish Trove instances provisioning - you are able to use cloud-init mechanism (for more information see link <https://github.com/openstack/trove/blob/master/trove/common/cfg.py#L237-L239> - option for Trove-taskamanger service, each cloud-init script should be placed under {{cloud-init-script-location}}/{{datastore}} (/etc/trove/cloud-init/mysql, etc.) > 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:[email protected]] > *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 < > [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 > >
_______________________________________________ OpenStack-dev mailing list [email protected] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
