Increase ironic undercloud timouts 03/21203/1
authorrandyl <r.levensalor@cablelabs.com>
Thu, 15 Sep 2016 15:11:29 +0000 (09:11 -0600)
committerrandyl <r.levensalor@cablelabs.com>
Thu, 15 Sep 2016 16:18:48 +0000 (10:18 -0600)
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

lib/undercloud-functions.sh

index 177fe44..d2ba6bc 100755 (executable)
@@ -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