Re: [Openstack] [Openstack-operators] FLAG --start_guests_on_host_boot=true

2011-07-20 Thread Leandro Reox
Diego,

Thats the rescue option from Diablo, you can use this instead if youre
planing to do it with cactus :
https://github.com/Mirantis/openstack-utils/blob/master/nova-compute

Regards

2011/7/20 Diego Parrilla SantamarĂ­a diego.parrilla.santama...@gmail.com

 We are testing this flag for the 0.3 version of the Stackops Distro. Our
 goal is to restart the VMs in a different compute-node if a server fails
 automatically.


 On Wed, Jul 20, 2011 at 1:08 AM, Vishvananda Ishaya vishvana...@gmail.com
  wrote:

 Hmm, this flag needs to be set when the instance is created, so it will
 only work for new instances.

 I'm not sure if this flag was in cactus or not.

 As a workaround, you can manually turn on autostart for the domains using
 virsh on the compute host
 virsh autostart instance-0001 (for example)

 Vish

 On Jul 15, 2011, at 7:13 AM, Leandro Reox wrote:

 HI all,

 Cant find any reference about this flag on the openstack docs 
 --start_guests_on_host_boot=true,
 is really available ? If so, even if i setted up on hthe compute nova.conf,
 doesnt restart instances at node reboot Using Cactus by now Any clues ?
 Regards ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp



 ___
 Openstack-operators mailing list
 openstack-operat...@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [Openstack-operators] FLAG --start_guests_on_host_boot=true

2011-07-20 Thread Diego Parrilla SantamarĂ­a
We are testing this flag for the 0.3 version of the Stackops Distro. Our
goal is to restart the VMs in a different compute-node if a server fails
automatically.


On Wed, Jul 20, 2011 at 1:08 AM, Vishvananda Ishaya
vishvana...@gmail.comwrote:

 Hmm, this flag needs to be set when the instance is created, so it will
 only work for new instances.

 I'm not sure if this flag was in cactus or not.

 As a workaround, you can manually turn on autostart for the domains using
 virsh on the compute host
 virsh autostart instance-0001 (for example)

 Vish

 On Jul 15, 2011, at 7:13 AM, Leandro Reox wrote:

 HI all,

 Cant find any reference about this flag on the openstack docs 
 --start_guests_on_host_boot=true,
 is really available ? If so, even if i setted up on hthe compute nova.conf,
 doesnt restart instances at node reboot Using Cactus by now Any clues ?
 Regards ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp



 ___
 Openstack-operators mailing list
 openstack-operat...@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [Openstack-operators] FLAG --start_guests_on_host_boot=true

2011-07-15 Thread Anne Gentle
Ah, doc bug reporting abounds today. :)

The flag is in /nova/virt/libvirt/connection.py, and it indicates Whether
to restart guests when the host reboots. It was added prior to revno 989
(it's revno 912) so it should be available in Cactus.

I learned this by grepping the code for part of the flag text, then using
bzr annotate to find the revno for the addition of the flag. You can also
then use bzr log -r912.3.1 to get more info including the date when it was
committed, the person who did the commit, and read their comment.

Hope this helps,
Anne
*Anne Gentle*
a...@openstack.org
 my blog http://justwriteclick.com/ | my
bookhttp://xmlpress.net/publications/conversation-community/|
LinkedIn http://www.linkedin.com/in/annegentle |
Delicioushttp://del.icio.us/annegentle|
Twitter http://twitter.com/annegentle
On Fri, Jul 15, 2011 at 9:13 AM, Leandro Reox leandro.r...@gmail.comwrote:

 HI all,

 Cant find any reference about this flag on the openstack docs 
 --start_guests_on_host_boot=true,
 is really available ? If so, even if i setted up on hthe compute nova.conf,
 doesnt restart instances at node reboot Using Cactus by now Any clues ?
 Regards
 ___
 Openstack-operators mailing list
 openstack-operat...@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp