Set nova instance_build_timeout to 1h by default
This patch configures 1h build instance timeout, when it is reached
instance will be moved to ERROR state. This will prevent having
instances stuck in BUILD state.
The timeout might be changed via _param:nova_instance_build_timeout
Change-Id: Ic695b79e0095fdb5b47d8ad5233896ba678833f1
diff --git a/nova/control/cluster.yml b/nova/control/cluster.yml
index 6591552..72bb558 100644
--- a/nova/control/cluster.yml
+++ b/nova/control/cluster.yml
@@ -33,6 +33,7 @@
disk_allocation_ratio: ${_param:nova_disk_allocation_ratio}
workers: 8
role: ${_param:openstack_node_role}
+ instance_build_timeout: ${_param:nova_instance_build_timeout}
bind:
private_address: ${_param:cluster_local_address}
public_address: ${_param:cluster_vip_address}
diff --git a/nova/control/single.yml b/nova/control/single.yml
index 9a0bc00..d2cb013 100644
--- a/nova/control/single.yml
+++ b/nova/control/single.yml
@@ -13,6 +13,7 @@
nova:
controller:
role: ${_param:openstack_node_role}
+ instance_build_timeout: ${_param:nova_instance_build_timeout}
database:
host: ${_param:single_address}
x509: