diff options
Diffstat (limited to 'deploy')
-rwxr-xr-x | deploy/check_openstack_progress.sh | 2 | ||||
-rw-r--r-- | deploy/environment.py | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/deploy/check_openstack_progress.sh b/deploy/check_openstack_progress.sh index 1f150896..15dbcdda 100755 --- a/deploy/check_openstack_progress.sh +++ b/deploy/check_openstack_progress.sh @@ -34,7 +34,7 @@ source /root/daisyrc_admin echo "check openstack installing progress..." cluster_id=`daisy cluster-list | awk -F "|" '{print $2}' | sed -n '4p' | tr -d " "` -maxcount=180 +maxcount=360 count=0 while true; do diff --git a/deploy/environment.py b/deploy/environment.py index 2adec494..a6ef4ab5 100644 --- a/deploy/environment.py +++ b/deploy/environment.py @@ -232,7 +232,8 @@ class VirtualEnvironment(DaisyEnvironmentBase): disks = [disk_file] ceph_disk_name = self.deploy_struct.get('ceph_disk_name', '') - if ceph_disk_name and ceph_disk_name != '/dev/sda' and 'CONTROLLER_LB' in roles: + # if ceph_disk_name and ceph_disk_name != '/dev/sda' and 'CONTROLLER_LB' in roles: + if ceph_disk_name and ceph_disk_name != '/dev/sda': ceph_size = self.deploy_struct.get('disks', {}).get('ceph', MIN_CEPH_DISK_SIZE) ceph_disk_file = path_join(self.storage_dir, name + '_data.qcow2') create_virtual_disk(ceph_disk_file, ceph_size) |