Arbutus Migration Guide: Difference between revisions

corrected cinder to image command
(openstack command example corrected)
(corrected cinder to image command)
Line 92: Line 92:
# Open two SSH sessions to the migration host ''cloudmigration.computecanada.ca'' with your Compute Canada credentials.
# Open two SSH sessions to the migration host ''cloudmigration.computecanada.ca'' with your Compute Canada credentials.
# In one session, source the OpenStack RC file for West Cloud. In the other session, source the OpenStack RC file for Arbutus Cloud. As mentioned earlier, use of the <code>screen</code> command is recommended in case of SSH disconnections.
# In one session, source the OpenStack RC file for West Cloud. In the other session, source the OpenStack RC file for Arbutus Cloud. As mentioned earlier, use of the <code>screen</code> command is recommended in case of SSH disconnections.
# In the West Cloud web UI, create an image of the desired volume (Compute -> Volumes and Upload to Image from the drop down menu). We recommend choosing a volume that is not in use (inactive) but the ''force'' option can be used if the volume is active. The command line can also be used to do this:
# In the West Cloud web UI, create an image of the desired volume (Compute -> Volumes and Upload to Image from the drop down menu). We recommend choosing a volume that is not in use (inactive) but the ''force'' option can be used if the volume is active. Make sure to select QCOW2 as the disk format. The command line can also be used to do this:
#:<code>cinder --os-volume-api-version 2 upload-to-image <volumename> <imagename> --force</code>
#:<code>cinder --os-volume-api-version 2 upload-to-image --disk-format qcow2 <volumename> <imagename> --force</code>
# Once the image is created, it will show up under Compute -> Images with the name you specified in the previous step. You can obtain the id of the image by clicking on the name.
# Once the image is created, it will show up under Compute -> Images with the name you specified in the previous step. You can obtain the id of the image by clicking on the name.
# In the West Cloud session on the migration host, download the image (replace the <filename> and <image-id> with real values):
# In the West Cloud session on the migration host, download the image (replace the <filename> and <image-id> with real values):
cc_staff
12

edits