summaryrefslogtreecommitdiffstats
path: root/lib/undercloud-functions.sh
diff options
context:
space:
mode:
authorrandyl <r.levensalor@cablelabs.com>2016-09-15 09:11:29 -0600
committerrandyl <r.levensalor@cablelabs.com>2016-09-15 10:18:48 -0600
commitb23aabab1bb5d6fb88e035897f08cdf864d69eac (patch)
tree06de363c158c1d39d142480d7dfdc161a31b412a /lib/undercloud-functions.sh
parentbb7442fbfec5918126840e2ac2694621eb839530 (diff)
Increase ironic undercloud timouts
Increase the tollerence for installing on slower networks. "/etc/ironic/ironic.conf" [disk_utils] iscsi_verify_attempts=30 [disk_partitioner] check_device_max_retries=40 Using openstack-config, since that is being used to configure other attributes. Jira : APEX-267 Signed-off-by: RandyL <r.levensalor@cablelabs.com> Change-Id: I9da3a1ee6a5e6767462c0135c45aadee64790ab4
Diffstat (limited to 'lib/undercloud-functions.sh')
-rwxr-xr-xlib/undercloud-functions.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/undercloud-functions.sh b/lib/undercloud-functions.sh
index 177fe443..d2ba6bca 100755
--- a/lib/undercloud-functions.sh
+++ b/lib/undercloud-functions.sh
@@ -206,6 +206,8 @@ if [[ "$net_isolation_enabled" == "TRUE" ]]; then
openstack-config --set undercloud.conf DEFAULT inspection_iprange ${admin_network_introspection_range}
openstack-config --set undercloud.conf DEFAULT undercloud_debug false
openstack-config --set undercloud.conf DEFAULT undercloud_hostname "undercloud.${domain_name}"
+ sudo openstack-config --set /etc/ironic/ironic.conf disk_utils iscsi_verify_attempts 30
+ sudo openstack-config --set /etc/ironic/ironic.conf disk_partitioner check_device_max_retries 40
fi