Description: Some customers require Canaries within OpenStack. Whilst we don't officially support OpenStack, the following guide will have a Canary up and running in no-time.
Grabbing the VMX disks from your Canary Console
Step 1:
Log in to your Console.
Step 2:
Click the + icon and click Add Canary.
Step 3:
Click Add VMware Canary.
Step 4:
Click Download and then Click VMX to begin the download.
Converting VMDK Disks to QCOW2
We'll now need to convert your Canary's disks to QCOW2 for upload to OpenStack.
For this process we'll be converting the disks on an Ubuntu host.
Note: Reach out to support@canary.tools who can send over pre-converted disks to save a step.
Step 4: Install Qemu utils and Convert
sudo apt-get install qemu-utils
Unzip the archive containing your Canary disks.
$ unzip VirtualCanary_711e9fe1_Template_VMX.zip
Archive: VirtualCanary_711e9fe1_Template_VMX.zip
creating: VirtualCanary-711e9fe1-vmx/
inflating: VirtualCanary-711e9fe1-vmx/VirtualCanary-711e9fe1-disk2.vmdk
inflating: VirtualCanary-711e9fe1-vmx/VirtualCanary-711e9fe1-disk1.vmdk
inflating: VirtualCanary-711e9fe1-vmx/VirtualCanary-711e9fe1.vmx
inflating: VirtualCanary-711e9fe1-vmx/README.txt
Convert Disk2 from VMDK to QCOW2
qemu-img convert -p -f vmdk -O qcow2 VirtualCanary-abc123-disk1.vmdk VirtualCanary-abc123-disk1.qcow2 qemu-img convert -p -f vmdk -O qcow2 VirtualCanary-abc123-disk2.vmdk VirtualCanary-abc123-disk2.qcow2
Deploying a Canary VM to OpenStack
Step 5: Open Horizon UI
Step 6: Upload disks as images
Step 7: Create Volumes from both images
Step 8: Create an instance
Step 9: Select Disk1 as the source
Step 10: Select S1-2 as the instance flavour
Step 11: Attach the 2nd volume
Step 12: Reboot the instance
Step 13: Commission your Canary
On your Console, you should see a pop up to confirm your new Canary.
Click Add Canary.
Your Virtual Canary will boot and connect back to your Console.
You can set up your Virtual Canary from within your Console using the remote management - Guide found here.