Increase ironic undercloud timouts 09/21909/1
authorrandyl <r.levensalor@cablelabs.com>
Thu, 15 Sep 2016 15:11:29 +0000 (09:11 -0600)
committerTim Rozet <trozet@redhat.com>
Tue, 20 Sep 2016 18:13:55 +0000 (18:13 +0000)
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)

lib/undercloud-functions.sh

index f5b53ee..5f45588 100755 (executable)
@@ -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