summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorrandyl <r.levensalor@cablelabs.com>2016-09-15 09:11:29 -0600
committerTim Rozet <trozet@redhat.com>2016-09-20 18:13:55 +0000
commit14ae9ca23f3b00b49db1480be12c41d6236a5f4a (patch)
tree9ebcd962e7997baef26dce44b5d5b4ab8ffe0376 /lib
parent8c175f5344f5a248896f6e8c3eb42800b2dfb942 (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 (cherry picked from commit b23aabab1bb5d6fb88e035897f08cdf864d69eac)
Diffstat (limited to 'lib')
-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 f5b53ee7..5f455889 100755
--- a/lib/undercloud-functions.sh
+++ b/lib/undercloud-functions.sh
@@ -211,6 +211,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