openstack team mailing list archive
Mailing list archive
Re: How to start/stop/restart services in devstack
Joe Smithian <joe.smithian@xxxxxxxxx>, Kiall Mac Innes <kiall@xxxxxxxxxxxx>
Joshua Harlow <harlowja@xxxxxxxxxxxxx>
Thu, 26 Jan 2012 13:34:35 -0800
[Openstack] How to start/stop/restart services in devstack
It is being worked on (the split/cleanup) ;)
Along with making devstack resemble something more like the rest of openstack (python)....
Testing is always helpful @ https://github.com/yahoo/Openstack-Devstack2 ;)
https://github.com/yahoo/Openstack-Devstack2/wiki (for some common questions/answers).
On 1/26/12 12:17 PM, "Joe Smithian" <joe.smithian@xxxxxxxxx> wrote:
Thanks for your comments. I don't have any users, images, etc. to
worry about, I didn't go that fat to create users and images.
I re-run stack.sh and horizon and keystone were running; I lunched an
instance then tried to access
http://myServer/nova/access_and_security/ but machine crashed and I
have to reboot it!
I think stack.sh should be divided into two scripts one to install
devstack and another to start/stop/restart services.
On Thu, Jan 26, 2012 at 2:57 PM, Kiall Mac Innes <kiall@xxxxxxxxxxxx> wrote:
> Yea, re-running stack.sh should bring everything back up.
> Bear in mind this will wipe all users, images, instances etc (devstack is
> for development, rather than production openstack environments after all)
> Sent from my mobile - Sorry for being short.
> On Jan 26, 2012 7:45 p.m., "Joe Smithian" <joe.smithian@xxxxxxxxx> wrote:
>> localadmin@k:~$ sudo screen -x
>> There is no screen to be attached.
>> localadmin@k:~$ killall screen
>> screen: no process found
>> Should I re-run stack.sh?
>> On Thu, Jan 26, 2012 at 2:24 PM, Dean Troyer <dtroyer@xxxxxxxxx> wrote:
>> > On Thu, Jan 26, 2012 at 1:02 PM, Joe Smithian <joe.smithian@xxxxxxxxx>
>> > wrote:
>> >> The devstack document doesn't explain how to start/stop services,
>> >> maybe it's obvious for the devstack developers but not for a new user
>> >> like me! I can't use commands like "restart nova-api" because they
>> >> are not installed.
>> > Devstack starts the OpenStack services running in the foreground in a
>> > screen session. Type 'screen -x' to attach to the session, there will
>> > be a window for each service plus one shell window. Stop the each
>> > service with a Ctrl-C. Press up-arrow to see the command stack.sh
>> > used to start it and execute that to restart the service.
>> >> I installed OpenStack using devsatck stack.sh script
>> >> (http://devstack.org/) on Ubuntu 11.10. Installation was successful
>> >> and I was able to login to Dahsboard; but it doesn't work anymore, I
>> >> think after I changed the IP address of the machine and moved it to
>> >> another network.
>> >> Apache2 is running but the nova and keystone services are not running.
>> > If you had already stated an instance, Nova probably moved your IP
>> > from eth0 to br100. You would need to manually update the br100
>> > configuration. You might also need to update some other configuration
>> > bits (floating IPs, etc) if you changed networks and want to access
>> > the instances from off the host.
>> > Your best bet here may be to just bite the bullet and 'killall screen'
>> > re-run stack.sh. Of course this will re-initialize all of the
>> > databases and kill running instances.
>> > dt
>> > --
>> > Dean Troyer
>> > dtroyer@xxxxxxxxx
>> Mailing list: https://launchpad.net/~openstack
>> Post to : openstack@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openstack
>> More help : https://help.launchpad.net/ListHelp
Mailing list: https://launchpad.net/~openstack
Post to : openstack@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp