Loading Deployment/create-builder-image.sh +4 −4 Original line number Diff line number Diff line Loading @@ -48,7 +48,7 @@ function ssh_is_up() { ssh -o StrictHostKeyChecking=no -i ${KEY_FILE} cades@${VM_IP} exit &> /dev/null } while ! ssh_is_up; do sleep 1 sleep 3 done # Reboot to fix a strange issue with apt-get update: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) Loading @@ -56,7 +56,7 @@ echo "Reboot the server to work around /var/lib/apt/lists/lock issue when using openstack server reboot --wait ${VM_UUID} sleep 10 while ! ssh_is_up; do sleep 1 sleep 3 done echo "Fixing ORNL TCP timeout issue for current session" Loading @@ -81,7 +81,7 @@ openstack server reboot --wait ${VM_UUID} echo "Shutting down server" openstack server stop ${VM_UUID} until openstack server list --status SHUTOFF | grep ${VM_UUID} > /dev/null 2>&1; do sleep 1 sleep 3 done echo -ne "\n" Loading Deployment/create-queue.sh +3 −3 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ function ssh_is_up() { ssh -o StrictHostKeyChecking=no -i ${KEY_FILE} cades@${VM_IP} exit &> /dev/null } while ! ssh_is_up; do sleep 1 sleep 3 done # Reboot to fix a strange issue with apt-get update: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) Loading @@ -44,7 +44,7 @@ echo "Reboot the server to work around /var/lib/apt/lists/lock issue when using openstack server reboot --wait ${VM_UUID} sleep 10 while ! ssh_is_up; do sleep 1 sleep 3 done echo "Fixing ORNL TCP timeout issue for current session" Loading Deployment/provision-builder.sh +1 −0 Original line number Diff line number Diff line Loading @@ -73,6 +73,7 @@ cat << EOF > /root/.rpmmacros EOF # Install Singularity apt-get install -y libarchive-dev cd / git clone https://github.com/singularityware/singularity.git cd singularity Loading Loading
Deployment/create-builder-image.sh +4 −4 Original line number Diff line number Diff line Loading @@ -48,7 +48,7 @@ function ssh_is_up() { ssh -o StrictHostKeyChecking=no -i ${KEY_FILE} cades@${VM_IP} exit &> /dev/null } while ! ssh_is_up; do sleep 1 sleep 3 done # Reboot to fix a strange issue with apt-get update: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) Loading @@ -56,7 +56,7 @@ echo "Reboot the server to work around /var/lib/apt/lists/lock issue when using openstack server reboot --wait ${VM_UUID} sleep 10 while ! ssh_is_up; do sleep 1 sleep 3 done echo "Fixing ORNL TCP timeout issue for current session" Loading @@ -81,7 +81,7 @@ openstack server reboot --wait ${VM_UUID} echo "Shutting down server" openstack server stop ${VM_UUID} until openstack server list --status SHUTOFF | grep ${VM_UUID} > /dev/null 2>&1; do sleep 1 sleep 3 done echo -ne "\n" Loading
Deployment/create-queue.sh +3 −3 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ function ssh_is_up() { ssh -o StrictHostKeyChecking=no -i ${KEY_FILE} cades@${VM_IP} exit &> /dev/null } while ! ssh_is_up; do sleep 1 sleep 3 done # Reboot to fix a strange issue with apt-get update: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) Loading @@ -44,7 +44,7 @@ echo "Reboot the server to work around /var/lib/apt/lists/lock issue when using openstack server reboot --wait ${VM_UUID} sleep 10 while ! ssh_is_up; do sleep 1 sleep 3 done echo "Fixing ORNL TCP timeout issue for current session" Loading
Deployment/provision-builder.sh +1 −0 Original line number Diff line number Diff line Loading @@ -73,6 +73,7 @@ cat << EOF > /root/.rpmmacros EOF # Install Singularity apt-get install -y libarchive-dev cd / git clone https://github.com/singularityware/singularity.git cd singularity Loading