Abiquo 5.1
The Abiquo Business Process Manager / V2V Conversion Services Server is used to convert virtual machine templates from one disk format to another. This server performs conversions when you: create an instance, create a persistent VM, add an image, etc.
The server has two main modules: v2v-diskmanager and mechadora.
No. | Action | When is it used | Module |
---|---|---|---|
1 | Conversions from one template format to another | When loading a new template and when conversions are requested | v2v-diskmanager |
2a | Conversion of a template to RAW | Step 1 of creating a persistent VM | v2v-diskmanager |
2b | Dumping a RAW template to a volume | Step 2 of creating a persistent VM | mechadora |
3a | Dumping a volume to a RAW disk | Step 1 of creating an instance of a persistent VM | mechadora |
3b | Conversion of RAW to an Abiquo format | Step 2 of creating an instance of a persistent VM | v2v-diskmanager |
Note: the (a) and (b) actions are automatically executed by Abiquo in sequential order.
All of the above indicate problems with the V2V Conversion Services. You should perform the checks given below.
The working folder for V2V Conversions is /opt/abiquo/v2v-conversions.
The completed conversions are stored in the Appliance Library in the formats folder.
If a conversion is in progress, the v2v-diskmanager and mechadora processes will be running. You can check them with the following commands.
If a conversion is in progress and you are running "top", you will see the following:
The V2V properties are shown in the following sample file (by default this is: /opt/abiquo/config/examples/abiquo.properties.v2v)
[remote-services] abiquo.rabbitmq.host = <RabbitMQ-Server-IP> abiquo.rabbitmq.port = 5672 abiquo.rabbitmq.username = guest abiquo.rabbitmq.password = guest abiquo.datacenter.id = Abiquo
Yes, the NFS Repository is required on the V2V Conversion Services machine. Check that the NFS repository is mounted in the correct location. You can use the "df" command for example. The default location is /opt/vm_repository
The ports and communications required for the V2V Server are listed on the main Ports and Communications page. Check the V2V Server has access to the appropriate IP addresses and ports. Remember that the V2V Server requires access to RabbitMQ on the Abiquo Server.
Symptoms
Persistent VM conversion fails with an
"ERROR c.a.b.callback.StatefulDiskCallback - ErroCode:1 , Error:/bin/dd: writing `/dev/disk/by-path/ip-IP:Port iscsi-iqn.IQN-lun LUN': No space left on device" but command line tools say there is enough space for converting the image.
Solution
As the first step in converting a VM to persistent, Abiquo creates a volume using disk size information from the .ovf file. If the total raw template size is bigger than the ovf parameter, the task fails when trying to dump the template onto the mounted volume. The disk size parameter in the .ovf file must be corrected to successfully complete the conversion task. See Importing Templates into the Appliance Library#Determining the Size of a VM Disk File