whether following variables fit for your purpose? guess you want to
override the value through boot command?
cfg.IntOpt("reboot_timeout",
default=0,
help="Automatically hard reboot an instance if it has been "
"stuck in a rebooting state longer than N seconds. "
"Set to 0 to disable."),
cfg.IntOpt("instance_build_timeout",
default=0,
help="Amount of time in seconds an instance can be in BUILD
"
"before going into ERROR status."
"Set to 0 to disable."),
Best Regards!
Kevin (Chen) Ji 纪 晨
Engineer, zVM Development, CSTL
Notes: Chen CH Ji/China/IBM@IBMCN Internet: [email protected]
Phone: +86-10-82454158
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District,
Beijing 100193, PRC
From: Angelo Matarazzo <[email protected]>
To: [email protected]
Date: 09/22/2014 05:30 PM
Subject: [openstack-dev] [nova] libvirt boot parameters
Hi all,
I need to add the option rebootTimeout when the instance boots.
If you use the qemu-kvm, boot parameter reboot-timeout allows a virtual
machine to retry booting if no bootable device is found:
# qemu-kvm --boot reboot-timeout=1000
Ref:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6-Beta/html-single/Virtualization_Host_Configuration_and_Guest_Installation_Guide/index.html
In Openstack a new boot parameter should be entered into Libvirt XML
attributes where required:
<bios rebootTimeout=5000 /> under the <os> in the libvirt.xml file.
My idea is to add an option to nova boot command changing (nova API, nova
base,python-novaclient) but I would like to know what you think about that?
Thank you beforehand
Angelo
_______________________________________________
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