Error while deploying EC2 via OpenNebula - iptables v1.6.1: interface name `--physdev-is-bridged' must be shorter than IFNAMSIZ (15)

Mon Apr 27 16:00:14 2020 [Z0][VM][I]: New state is ACTIVE
Mon Apr 27 16:00:14 2020 [Z0][VM][I]: New LCM state is PROLOG
Mon Apr 27 16:00:14 2020 [Z0][VM][I]: New LCM state is BOOT
Mon Apr 27 16:00:14 2020 [Z0][VMM][I]: Generating deployment file: /var/lib/one/vms/16/deployment.0
Mon Apr 27 16:00:14 2020 [Z0][VMM][I]: Successfully execute network driver operation: pre.
Mon Apr 27 16:00:38 2020 [Z0][VMM][I]: Successfully execute virtualization driver operation: deploy.
Mon Apr 27 16:00:38 2020 [Z0][VMM][I]: Command execution failed (exit code: 1): /var/lib/one/remotes/vnm/802.1Q/post PFZNPjxJRD4xNjwvSUQ+PERFUExPWV9JRC8+PFVTRVJfVEVNUExBVEU+PElOUFVUU19PUkRFUj48IVtDREFUQVtdXT48L0lOUFVUU19PUkRFUj48TUVNT1JZX1VOSVRfQ09TVD48IVtDREFUQVtNQl1dPjwvTUVNT1JZX1VOSVRfQ09TVD48UFVCTElDX0NMT1VEPjxBTUk+PCFbQ0RBVEFbYW1pLTA2MjBkMTJhOWNmNzc3Yzg3XV0+PC9BTUk+PEFWQUlMQUJJTElUWVpPTkU+PCFbQ0RBVEFbYXAtc291dGgtMWJdXT48L0FWQUlMQUJJTElUWVpPTkU+PElOU1RBTkNFVFlQRT48IVtDREFUQVt0Mi5taWNyb11dPjwvSU5TVEFOQ0VUWVBFPjxLRVlQQUlSPjwhW0NEQVRBW2VjMl1dPjwvS0VZUEFJUj48VFlQRT48IVtDREFUQVtlYzJdXT48L1RZUEU+PC9QVUJMSUNfQ0xPVUQ+PC9VU0VSX1RFTVBMQVRFPjxURU1QTEFURT48U0VDVVJJVFlfR1JPVVBfUlVMRT48UFJPVE9DT0w+PCFbQ0RBVEFbQUxMXV0+PC9QUk9UT0NPTD48UlVMRV9UWVBFPjwhW0NEQVRBW09VVEJ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wvTkVUV09SSz48TkVUV09SS19JRD48IVtDREFUQVsxXV0+PC9ORVRXT1JLX0lEPjxOSUNfSUQ+PCFbQ0RBVEFbMF1dPjwvTklDX0lEPjxQSFlERVY+PCFbQ0RBVEFbZXRoMF1dPjwvUEhZREVWPjxTRUNVUklUWV9HUk9VUFM+PCFbQ0RBVEFbMF1dPjwvU0VDVVJJVFlfR1JPVVBTPjxUQVJHRVQ+PCFbQ0RBVEFbb25lLTE2LTBdXT48L1RBUkdFVD48VkxBTl9JRD48IVtDREFUQVszXV0+PC9WTEFOX0lEPjxWTl9NQUQ+PCFbQ0RBVEFbODAyLjFRXV0+PC9WTl9NQUQ+PC9OSUM+PC9URU1QTEFURT48L1ZNPg== ‘i-004eaac423eaf4fbb’
Mon Apr 27 16:00:38 2020 [Z0][VMM][I]: iptables v1.6.1: interface name --physdev-is-bridged' must be shorter than IFNAMSIZ (15) Mon Apr 27 16:00:38 2020 [Z0][VMM][I]: Try iptables -h’ or ‘iptables --help’ for more information.
Mon Apr 27 16:00:38 2020 [Z0][VMM][E]: post: Command Error: sudo iptables -I opennebula -m physdev --physdev-out --physdev-is-bridged -j one-16-0-i
Mon Apr 27 16:00:38 2020 [Z0][VMM][E]: post: ["/var/lib/one/remotes/vnm/command.rb:62:in block in run!'", "/var/lib/one/remotes/vnm/command.rb:59:in each’", “/var/lib/one/remotes/vnm/command.rb:59:in run!'", "/var/lib/one/remotes/vnm/security_groups_iptables.rb:485:in nic_pre’”, “/var/lib/one/remotes/vnm/sg_driver.rb:92:in block in activate'", "/var/lib/one/remotes/vnm/vnm_driver.rb:79:in block in process’”, “/var/lib/one/remotes/vnm/vm.rb:61:in block in each_nic'", "/var/lib/one/remotes/vnm/vm.rb:60:in each’”, “/var/lib/one/remotes/vnm/vm.rb:60:in each_nic'", "/var/lib/one/remotes/vnm/vnm_driver.rb:82:in process’”, “/var/lib/one/remotes/vnm/sg_driver.rb:84:in activate'", "/var/lib/one/remotes/vnm/802.1Q/post:32:in '”]
Mon Apr 27 16:03:03 2020 [Z0][VMM][I]: Successfully execute virtualization driver operation: cancel.
Mon Apr 27 16:03:03 2020 [Z0][VMM][I]: Failed to execute network driver operation: post.
Mon Apr 27 16:03:03 2020 [Z0][VMM][E]: Error deploying virtual machine: 802.1Q: -
Mon Apr 27 16:03:03 2020 [Z0][VM][I]: New LCM state is BOOT_FAILURE

I suffer the same issue. It seems there is a bug in this file:
/var/lib/one/remotes/vnm/security_groups_iptables.rb

there is a line in which it is included the variable #{nic[:tap]} but apparently that variable has no value, and therefore the execution of the command fails.

I do not have a solution for that, I just replaced that value by “minionebr” and at least the VM gets deployed, but this is a workaround that might have side effects.

Someone from Opennebula should look at it to fix it.

Hi,

It’s seems that the tap has not been created and we want to figure out why. @Sujata_Kale, we would need you to send the following information:

  • /var/lib/one/vms/16/deployment.0 file
  • Output of onevm show -x 16
  • Output of onevnet show -x 1

Cheers.

Hi Ricardo,

The last command returns an error:

rafa@ubuntu-surface:~/Documents$ onevnet show -x 1
[one.vn.info] Error getting virtual network [1].

I cannot attach files, so that I paste here the other data requested:

rafa@ubuntu-surface:~/Documents$ onevm show -x 16
<VM>
  <ID>16</ID>
  <UID>0</UID>
  <GID>0</GID>
  <UNAME>oneadmin</UNAME>
  <GNAME>oneadmin</GNAME>
  <NAME>consul server</NAME>
  <PERMISSIONS>
    <OWNER_U>1</OWNER_U>
    <OWNER_M>1</OWNER_M>
    <OWNER_A>0</OWNER_A>
    <GROUP_U>0</GROUP_U>
    <GROUP_M>0</GROUP_M>
    <GROUP_A>0</GROUP_A>
    <OTHER_U>0</OTHER_U>
    <OTHER_M>0</OTHER_M>
    <OTHER_A>0</OTHER_A>
  </PERMISSIONS>
  <LAST_POLL>1588160335</LAST_POLL>
  <STATE>6</STATE>
  <LCM_STATE>0</LCM_STATE>
  <PREV_STATE>6</PREV_STATE>
  <PREV_LCM_STATE>0</PREV_LCM_STATE>
  <RESCHED>0</RESCHED>
  <STIME>1588093503</STIME>
  <ETIME>1588160336</ETIME>
  <DEPLOY_ID>one-16</DEPLOY_ID>
  <MONITORING>
    <CPU><![CDATA[0.0]]></CPU>
    <DISKRDBYTES><![CDATA[1912984624]]></DISKRDBYTES>
    <DISKRDIOPS><![CDATA[85252]]></DISKRDIOPS>
    <DISKWRBYTES><![CDATA[2956776448]]></DISKWRBYTES>
    <DISKWRIOPS><![CDATA[47492]]></DISKWRIOPS>
    <DISK_SIZE>
      <ID><![CDATA[0]]></ID>
      <SIZE><![CDATA[1284]]></SIZE>
    </DISK_SIZE>
    <DISK_SIZE>
      <ID><![CDATA[1]]></ID>
      <SIZE><![CDATA[1]]></SIZE>
    </DISK_SIZE>
    <MEMORY><![CDATA[0]]></MEMORY>
    <NETRX><![CDATA[69542270]]></NETRX>
    <NETTX><![CDATA[2404383]]></NETTX>
    <SNAPSHOT_SIZE>
      <DISK_ID><![CDATA[0]]></DISK_ID>
      <ID><![CDATA[0]]></ID>
      <SIZE><![CDATA[1284]]></SIZE>
    </SNAPSHOT_SIZE>
    <STATE><![CDATA[a]]></STATE>
  </MONITORING>
  <TEMPLATE>
    <AUTOMATIC_DS_REQUIREMENTS><![CDATA[("CLUSTERS/ID" @> 0)]]></AUTOMATIC_DS_REQUIREMENTS>
    <AUTOMATIC_NIC_REQUIREMENTS><![CDATA[("CLUSTERS/ID" @> 0)]]></AUTOMATIC_NIC_REQUIREMENTS>
    <AUTOMATIC_REQUIREMENTS><![CDATA[(CLUSTER_ID = 0) & !(PUBLIC_CLOUD = YES) & !(PIN_POLICY = PINNED)]]></AUTOMATIC_REQUIREMENTS>
    <CONTEXT>
      <DISK_ID><![CDATA[1]]></DISK_ID>
      <ETH0_CONTEXT_FORCE_IPV4><![CDATA[]]></ETH0_CONTEXT_FORCE_IPV4>
      <ETH0_DNS><![CDATA[172.16.100.1]]></ETH0_DNS>
      <ETH0_EXTERNAL><![CDATA[]]></ETH0_EXTERNAL>
      <ETH0_GATEWAY><![CDATA[172.16.100.1]]></ETH0_GATEWAY>
      <ETH0_GATEWAY6><![CDATA[]]></ETH0_GATEWAY6>
      <ETH0_IP><![CDATA[172.16.100.2]]></ETH0_IP>
      <ETH0_IP6><![CDATA[]]></ETH0_IP6>
      <ETH0_IP6_PREFIX_LENGTH><![CDATA[]]></ETH0_IP6_PREFIX_LENGTH>
      <ETH0_IP6_ULA><![CDATA[]]></ETH0_IP6_ULA>
      <ETH0_MAC><![CDATA[02:00:ac:10:64:02]]></ETH0_MAC>
      <ETH0_MASK><![CDATA[]]></ETH0_MASK>
      <ETH0_MTU><![CDATA[]]></ETH0_MTU>
      <ETH0_NETWORK><![CDATA[]]></ETH0_NETWORK>
      <ETH0_SEARCH_DOMAIN><![CDATA[]]></ETH0_SEARCH_DOMAIN>
      <ETH0_VLAN_ID><![CDATA[]]></ETH0_VLAN_ID>
      <ETH0_VROUTER_IP><![CDATA[]]></ETH0_VROUTER_IP>
      <ETH0_VROUTER_IP6><![CDATA[]]></ETH0_VROUTER_IP6>
      <ETH0_VROUTER_MANAGEMENT><![CDATA[]]></ETH0_VROUTER_MANAGEMENT>
      <NETWORK><![CDATA[YES]]></NETWORK>
      <ONEGATE_ENDPOINT><![CDATA[http://172.16.100.1:5030]]></ONEGATE_ENDPOINT>
      <PASSWORD><![CDATA[opennebula]]></PASSWORD>
      <SSH_PUBLIC_KEY><![CDATA[ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDzxuU0uHr+A7gbz/W8oLirpUZk7u0/Io6PuJzO5Y9qpKx+RL9TF2jPA3Hn5XG7M7nIATrgcd+N8kN7oP908anfM07BHjwcr2d15KivjjqFTvVJch8bj+dTWNzWSo1iXoo93TghU8fvb7Hq34/5RiaAUz4KSRPmD+PE6nQ0avCBCi8FeqiTaYAoZggq0vVqitpXl8HAfFNpDR8qfnb6pillquTxI5I2L9FfNx1N+jIv2mMyPsdD72YluoGfUNrGfwahNG2H8gIcmV8Wo6tIQ4YQ9DE0KffZ1ir15TcDOkW6nIj2qlcAT2bxaffxjiIHB1/kaHuu0o1p1rTqw/zQc/mR oneadmin@ubuntu-surface
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC5PBE3MGr69mQl3lJi6QrlJ9LFLBQkdNW+MPmJgG68gQeq5Cki23bsV9WDZ82/f56Jl6MdX00SONTJktBNoKZREkRVaCQ/E104yBxtTNJY1bgeW6By3JhHHjjvhxTwpYVMqQ4+a454G5LLS5QXsMZlgh6C4ojVP5bEMFL0DSpN7WCbfXEwABrOxrgkYAzPK/oPmg/V+T98MDDgmoLnXh6jcO3R14iMDY7+vmJdK0wr+ZqeivoRpDvmVWMcv599nMaxeRP0TvAEeSPiigG+aGB1BHMOGkGqN4DrMEtIXe73c7W2OUGWa9coFf9VuNikPDueZhiVdzNU7XWu3x5zBZYT root@ubuntu-surface]]></SSH_PUBLIC_KEY>
      <TARGET><![CDATA[hda]]></TARGET>
      <TOKEN><![CDATA[YES]]></TOKEN>
      <VMID><![CDATA[16]]></VMID>
    </CONTEXT>
    <CPU><![CDATA[1]]></CPU>
    <CREATED_BY><![CDATA[0]]></CREATED_BY>
    <DISK>
      <ALLOW_ORPHANS><![CDATA[NO]]></ALLOW_ORPHANS>
      <CLONE><![CDATA[YES]]></CLONE>
      <CLONE_TARGET><![CDATA[SYSTEM]]></CLONE_TARGET>
      <CLUSTER_ID><![CDATA[0]]></CLUSTER_ID>
      <DATASTORE><![CDATA[default]]></DATASTORE>
      <DATASTORE_ID><![CDATA[1]]></DATASTORE_ID>
      <DEV_PREFIX><![CDATA[vd]]></DEV_PREFIX>
      <DISK_ID><![CDATA[0]]></DISK_ID>
      <DISK_SNAPSHOT_TOTAL_SIZE><![CDATA[0]]></DISK_SNAPSHOT_TOTAL_SIZE>
      <DRIVER><![CDATA[qcow2]]></DRIVER>
      <IMAGE><![CDATA[Ubuntu 18.04]]></IMAGE>
      <IMAGE_ID><![CDATA[1]]></IMAGE_ID>
      <IMAGE_STATE><![CDATA[2]]></IMAGE_STATE>
      <LN_TARGET><![CDATA[NONE]]></LN_TARGET>
      <ORIGINAL_SIZE><![CDATA[2252]]></ORIGINAL_SIZE>
      <READONLY><![CDATA[NO]]></READONLY>
      <SAVE><![CDATA[NO]]></SAVE>
      <SIZE><![CDATA[2252]]></SIZE>
      <SOURCE><![CDATA[/var/lib/one//datastores/1/1efaaa429ad06d72d642f5404deaf96a]]></SOURCE>
      <TARGET><![CDATA[vda]]></TARGET>
      <TM_MAD><![CDATA[qcow2]]></TM_MAD>
      <TYPE><![CDATA[FILE]]></TYPE>
    </DISK>
    <GRAPHICS>
      <LISTEN><![CDATA[0.0.0.0]]></LISTEN>
      <TYPE><![CDATA[VNC]]></TYPE>
    </GRAPHICS>
    <MEMORY><![CDATA[768]]></MEMORY>
    <NIC>
      <AR_ID><![CDATA[0]]></AR_ID>
      <BRIDGE><![CDATA[minionebr]]></BRIDGE>
      <BRIDGE_TYPE><![CDATA[linux]]></BRIDGE_TYPE>
      <CLUSTER_ID><![CDATA[0]]></CLUSTER_ID>
      <IP><![CDATA[172.16.100.2]]></IP>
      <MAC><![CDATA[02:00:ac:10:64:02]]></MAC>
      <NAME><![CDATA[NIC0]]></NAME>
      <NETWORK><![CDATA[vnet]]></NETWORK>
      <NETWORK_ID><![CDATA[0]]></NETWORK_ID>
      <NIC_ID><![CDATA[0]]></NIC_ID>
      <SECURITY_GROUPS><![CDATA[0]]></SECURITY_GROUPS>
      <TARGET><![CDATA[one-16-0]]></TARGET>
      <VN_MAD><![CDATA[fw]]></VN_MAD>
    </NIC>
    <OS>
      <ARCH><![CDATA[x86_64]]></ARCH>
      <BOOT><![CDATA[]]></BOOT>
    </OS>
    <SECURITY_GROUP_RULE>
      <PROTOCOL><![CDATA[ALL]]></PROTOCOL>
      <RULE_TYPE><![CDATA[OUTBOUND]]></RULE_TYPE>
      <SECURITY_GROUP_ID><![CDATA[0]]></SECURITY_GROUP_ID>
      <SECURITY_GROUP_NAME><![CDATA[default]]></SECURITY_GROUP_NAME>
    </SECURITY_GROUP_RULE>
    <SECURITY_GROUP_RULE>
      <PROTOCOL><![CDATA[ALL]]></PROTOCOL>
      <RULE_TYPE><![CDATA[INBOUND]]></RULE_TYPE>
      <SECURITY_GROUP_ID><![CDATA[0]]></SECURITY_GROUP_ID>
      <SECURITY_GROUP_NAME><![CDATA[default]]></SECURITY_GROUP_NAME>
    </SECURITY_GROUP_RULE>
    <TEMPLATE_ID><![CDATA[1]]></TEMPLATE_ID>
    <TM_MAD_SYSTEM><![CDATA[qcow2]]></TM_MAD_SYSTEM>
    <VMID><![CDATA[16]]></VMID>
  </TEMPLATE>
  <USER_TEMPLATE>
    <INFO><![CDATA[Please do not use this VM Template for vCenter VMs. Refer to the documentation https://bit.ly/37NcJ0Y]]></INFO>
    <INPUTS_ORDER><![CDATA[]]></INPUTS_ORDER>
    <LOGO><![CDATA[images/logos/ubuntu.png]]></LOGO>
    <LXD_SECURITY_PRIVILEGED><![CDATA[true]]></LXD_SECURITY_PRIVILEGED>
    <MEMORY_UNIT_COST><![CDATA[MB]]></MEMORY_UNIT_COST>
    <SCHED_REQUIREMENTS><![CDATA[HYPERVISOR!="vcenter"]]></SCHED_REQUIREMENTS>
  </USER_TEMPLATE>
  <HISTORY_RECORDS>
    <HISTORY>
      <OID>16</OID>
      <SEQ>0</SEQ>
      <HOSTNAME>localhost</HOSTNAME>
      <HID>0</HID>
      <CID>0</CID>
      <STIME>1588093508</STIME>
      <ETIME>1588154704</ETIME>
      <VM_MAD><![CDATA[kvm]]></VM_MAD>
      <TM_MAD><![CDATA[qcow2]]></TM_MAD>
      <DS_ID>0</DS_ID>
      <PSTIME>1588093508</PSTIME>
      <PETIME>1588093509</PETIME>
      <RSTIME>1588093509</RSTIME>
      <RETIME>1588154704</RETIME>
      <ESTIME>0</ESTIME>
      <EETIME>0</EETIME>
      <ACTION>44</ACTION>
      <UID>-1</UID>
      <GID>-1</GID>
      <REQUEST_ID>-1</REQUEST_ID>
    </HISTORY>
    <HISTORY>
      <OID>16</OID>
      <SEQ>1</SEQ>
      <HOSTNAME>localhost</HOSTNAME>
      <HID>0</HID>
      <CID>0</CID>
      <STIME>1588155294</STIME>
      <ETIME>1588160336</ETIME>
      <VM_MAD><![CDATA[kvm]]></VM_MAD>
      <TM_MAD><![CDATA[qcow2]]></TM_MAD>
      <DS_ID>0</DS_ID>
      <PSTIME>0</PSTIME>
      <PETIME>0</PETIME>
      <RSTIME>1588155294</RSTIME>
      <RETIME>1588160335</RETIME>
      <ESTIME>1588160335</ESTIME>
      <EETIME>1588160336</EETIME>
      <ACTION>27</ACTION>
      <UID>0</UID>
      <GID>0</GID>
      <REQUEST_ID>6000</REQUEST_ID>
    </HISTORY>
  </HISTORY_RECORDS>
</VM>

And…

rafa@ubuntu-surface:~/Documents$ sudo cat /var/lib/one/vms/16/deployment.0
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
	<name>one-16</name>
	<title>consul server</title>
	<cputune>
		<shares>1024</shares>
	</cputune>
	<memory>786432</memory>
	<os>
		<type arch='x86_64'>hvm</type>
	</os>
	<devices>
		<emulator><![CDATA[/usr/bin/qemu-system-x86_64]]></emulator>
		<disk type='file' device='disk'>
			<source file='/var/lib/one//datastores/0/16/disk.0'/>
			<target dev='vda' bus='virtio'/>
			<driver name='qemu' type='qcow2' cache='none'/>
		</disk>
		<disk type='file' device='cdrom'>
			<source file='/var/lib/one//datastores/0/16/disk.1'/>
			<target dev='hda' bus='ide'/>
			<readonly/>
			<driver name='qemu' type='raw'/>
		</disk>
		<interface type='bridge'>
			<source bridge='minionebr'/>
			<mac address='02:00:ac:10:64:02'/>
			<target dev='one-16-0'/>
		</interface>
		<graphics type='vnc' listen='0.0.0.0' port='5916'/>
	</devices>
	<features>
		<acpi/>
	</features>
	<metadata>
		<one:vm xmlns:one="http://opennebula.org/xmlns/libvirt/1.0">
			<one:system_datastore><![CDATA[/var/lib/one//datastores/0/16]]></one:system_datastore>
			<one:name><![CDATA[consul server]]></one:name>
			<one:uname><![CDATA[oneadmin]]></one:uname>
			<one:uid>0</one:uid>
			<one:gname><![CDATA[oneadmin]]></one:gname>
			<one:gid>0</one:gid>
			<one:opennebula_version>5.10.1</one:opennebula_version>
			<one:stime>1588093503</one:stime>
			<one:deployment_time>1588093509</one:deployment_time>
		</one:vm>
	</metadata>
</domain>

Thank you!

Hi @rcampuz,

I asked for the information related to the specific deployment of @Sujata_Kale. In your case, I would need the same information:

  • /var/lib/one/vms/<VM_ID>/deployment.0 file
  • Output of onevm show -x <VM_ID>
  • Output of onevnet show -x <VNET_ID>

Being VM_ID, the id of your problematic VM; and VNET_ID, the network id of the network in which the VM is attached to. The log snippet (oned.log) when you get the issue is also useful.

OK, sorry, there you go:

rafa@ubuntu-surface : ~ $ sudo cat /var/lib/one/vms/244/deployment.0

<VM><ID>244</ID><UID>0</UID><GID>0</GID><UNAME>oneadmin</UNAME><GNAME>oneadmin</GNAME><NAME>Consul Server-244</NAME><PERMISSIONS><OWNER_U>1</OWNER_U><OWNER_M>1</OWNER_M><OWNER_A>0</OWNER_A><GROUP_U>0</GROUP_U><GROUP_M>0</GROUP_M><GROUP_A>0</GROUP_A><OTHER_U>0</OTHER_U><OTHER_M>0</OTHER_M><OTHER_A>0</OTHER_A></PERMISSIONS><LAST_POLL>0</LAST_POLL><STATE>3</STATE><LCM_STATE>2</LCM_STATE><PREV_STATE>3</PREV_STATE><PREV_LCM_STATE>2</PREV_LCM_STATE><RESCHED>0</RESCHED><STIME>1590222209</STIME><ETIME>0</ETIME><DEPLOY_ID></DEPLOY_ID><MONITORING></MONITORING><TEMPLATE><AUTOMATIC_DS_REQUIREMENTS><![CDATA[("CLUSTERS/ID" @> 0)]]></AUTOMATIC_DS_REQUIREMENTS><AUTOMATIC_NIC_REQUIREMENTS><![CDATA[("CLUSTERS/ID" @> 0)]]></AUTOMATIC_NIC_REQUIREMENTS><AUTOMATIC_REQUIREMENTS><![CDATA[(CLUSTER_ID = 0) & !(PUBLIC_CLOUD = YES) & !(PIN_POLICY = PINNED) | (PUBLIC_CLOUD = YES & (HYPERVISOR = ec2))]]></AUTOMATIC_REQUIREMENTS><CONTEXT><DISK_ID><![CDATA[1]]></DISK_ID><ETH0_CONTEXT_FORCE_IPV4><![CDATA[]]></ETH0_CONTEXT_FORCE_IPV4><ETH0_DNS><![CDATA[172.16.100.1]]></ETH0_DNS><ETH0_EXTERNAL><![CDATA[]]></ETH0_EXTERNAL><ETH0_GATEWAY><![CDATA[172.16.100.1]]></ETH0_GATEWAY><ETH0_GATEWAY6><![CDATA[]]></ETH0_GATEWAY6><ETH0_IP><![CDATA[172.16.100.2]]></ETH0_IP><ETH0_IP6><![CDATA[]]></ETH0_IP6><ETH0_IP6_PREFIX_LENGTH><![CDATA[]]></ETH0_IP6_PREFIX_LENGTH><ETH0_IP6_ULA><![CDATA[]]></ETH0_IP6_ULA><ETH0_MAC><![CDATA[02:00:ac:10:64:02]]></ETH0_MAC><ETH0_MASK><![CDATA[]]></ETH0_MASK><ETH0_MTU><![CDATA[]]></ETH0_MTU><ETH0_NETWORK><![CDATA[]]></ETH0_NETWORK><ETH0_SEARCH_DOMAIN><![CDATA[]]></ETH0_SEARCH_DOMAIN><ETH0_VLAN_ID><![CDATA[]]></ETH0_VLAN_ID><ETH0_VROUTER_IP><![CDATA[]]></ETH0_VROUTER_IP><ETH0_VROUTER_IP6><![CDATA[]]></ETH0_VROUTER_IP6><ETH0_VROUTER_MANAGEMENT><![CDATA[]]></ETH0_VROUTER_MANAGEMENT><NETWORK><![CDATA[YES]]></NETWORK><ONEGATE_ENDPOINT><![CDATA[http://172.16.100.1:5030]]></ONEGATE_ENDPOINT><PASSWORD><![CDATA[opennebula]]></PASSWORD><SSH_PUBLIC_KEY><![CDATA[ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDzxuU0uHr+A7gbz/W8oLirpUZk7u0/Io6PuJzO5Y9qpKx+RL9TF2jPA3Hn5XG7M7nIATrgcd+N8kN7oP908anfM07BHjwcr2d15KivjjqFTvVJch8bj+dTWNzWSo1iXoo93TghU8fvb7Hq34/5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GFydC5zaCIgfCBjcm9udGFiIC11IHJvb3QgLQplY2hvICJob3N0bmFtZWN0bCBzZXQtaG9zdG5hbWUgY29uc3VsLXNlcnZlciIgPiAvcm9vdC9zdGFydC5zaAplY2hvICIvdXNyL2xvY2FsL2Jpbi9jb25zdWwgYWdlbnQgLWFkdmVydGlzZT0xMDkuOTguMTM2LjE2OCAtc2VydmVyIC1ib290c3RyYXAtZXhwZWN0IDEgLXVpIC1kYXRhLWRpciAvdmFyL2xpYi9jb25zdWwvIC1jb25maWctZGlyIC9ldGMvY29uc3VsLmQvICYiID4+IC9yb290L3N0YXJ0LnNoCmNobW9kICt4IC9yb290L3N0YXJ0LnNoCi9yb290L3N0YXJ0LnNoCmVjaG8gIjEiID4gL3Jvb3QvZG9uZQ==]]></START_SCRIPT_BASE64><TARGET><![CDATA[hda]]></TARGET><TOKEN><![CDATA[YES]]></TOKEN><VMID><![CDATA[244]]></VMID></CONTEXT><CPU><![CDATA[1]]></CPU><CREATED_BY><![CDATA[0]]></CREATED_BY><DISK><ALLOW_ORPHANS><![CDATA[NO]]></ALLOW_ORPHANS><CLONE><![CDATA[YES]]></CLONE><CLONE_TARGET><![CDATA[]]></CLONE_TARGET><CLUSTER_ID><![CDATA[0]]></CLUSTER_ID><DATASTORE><![CDATA[default]]></DATASTORE><DATASTORE_ID><![CDATA[1]]></DATASTORE_ID><DEV_PREFIX><![CDATA[vd]]></DEV_PREFIX><DISK_ID><![CDATA[0]]></DISK_ID><DISK_SNAPSHOT_TOTAL_SIZE><![CDATA[0]]></DISK_SNAPSHOT_TOTAL_SIZE><DISK_TYPE><![CDATA[]]></DISK_TYPE><DRIVER><![CDATA[qcow2]]></DRIVER><IMAGE><![CDATA[Ubuntu 18.04]]></IMAGE><IMAGE_ID><![CDATA[11]]></IMAGE_ID><IMAGE_STATE><![CDATA[2]]></IMAGE_STATE><LN_TARGET><![CDATA[]]></LN_TARGET><ORIGINAL_SIZE><![CDATA[2252]]></ORIGINAL_SIZE><READONLY><![CDATA[NO]]></READONLY><SAVE><![CDATA[NO]]></SAVE><SIZE><![CDATA[2252]]></SIZE><SOURCE><![CDATA[/var/lib/one//datastores/1/d351830ef88b0918507358ede716071a]]></SOURCE><TARGET><![CDATA[vda]]></TARGET><TM_MAD><![CDATA[qcow2]]></TM_MAD><TM_MAD_SYSTEM><![CDATA[]]></TM_MAD_SYSTEM><TYPE><![CDATA[FILE]]></TYPE></DISK><GRAPHICS><LISTEN><![CDATA[0.0.0.0]]></LISTEN><PORT><![CDATA[6144]]></PORT><TYPE><![CDATA[VNC]]></TYPE></GRAPHICS><MEMORY><![CDATA[768]]></MEMORY><NIC><AR_ID><![CDATA[0]]></AR_ID><BRIDGE><![CDATA[minionebr]]></BRIDGE><BRIDGE_TYPE><![CDATA[linux]]></BRIDGE_TYPE><CLUSTER_ID><![CDATA[0]]></CLUSTER_ID><IP><![CDATA[172.16.100.2]]></IP><MAC><![CDATA[02:00:ac:10:64:02]]></MAC><NAME><![CDATA[NIC0]]></NAME><NETWORK><![CDATA[vnet]]></NETWORK><NETWORK_ID><![CDATA[0]]></NETWORK_ID><NIC_ID><![CDATA[0]]></NIC_ID><SECURITY_GROUPS><![CDATA[0]]></SECURITY_GROUPS><TARGET><![CDATA[one-244-0]]></TARGET><VN_MAD><![CDATA[fw]]></VN_MAD></NIC><OS><ARCH><![CDATA[x86_64]]></ARCH><BOOT><![CDATA[]]></BOOT></OS><SECURITY_GROUP_RULE><PROTOCOL><![CDATA[ALL]]></PROTOCOL><RULE_TYPE><![CDATA[OUTBOUND]]></RULE_TYPE><SECURITY_GROUP_ID><![CDATA[0]]></SECURITY_GROUP_ID><SECURITY_GROUP_NAME><![CDATA[default]]></SECURITY_GROUP_NAME></SECURITY_GROUP_RULE><SECURITY_GROUP_RULE><PROTOCOL><![CDATA[ALL]]></PROTOCOL><RULE_TYPE><![CDATA[INBOUND]]></RULE_TYPE><SECURITY_GROUP_ID><![CDATA[0]]></SECURITY_GROUP_ID><SECURITY_GROUP_NAME><![CDATA[default]]></SECURITY_GROUP_NAME></SECURITY_GROUP_RULE><TEMPLATE_ID><![CDATA[12]]></TEMPLATE_ID><TM_MAD_SYSTEM><![CDATA[]]></TM_MAD_SYSTEM><VCPU><![CDATA[1]]></VCPU><VMID><![CDATA[244]]></VMID></TEMPLATE><USER_TEMPLATE><INFO><![CDATA[Please do not use this VM Template for vCenter VMs. Refer to the documentation https://bit.ly/37NcJ0Y]]></INFO><INPUTS_ORDER><![CDATA[]]></INPUTS_ORDER><LOGO><![CDATA[images/logos/ubuntu.png]]></LOGO><LXD_SECURITY_PRIVILEGED><![CDATA[true]]></LXD_SECURITY_PRIVILEGED><MEMORY_UNIT_COST><![CDATA[MB]]></MEMORY_UNIT_COST><PUBLIC_CLOUD><AMI><![CDATA[ami-0e01323b8801dd986]]></AMI><ELASTICIP><![CDATA[18.157.59.231]]></ELASTICIP><INSTANCETYPE><![CDATA[t2.micro]]></INSTANCETYPE><KEYPAIR><![CDATA[ec2EM]]></KEYPAIR><SECURITYGROUPIDS><![CDATA[sg-e67f0d9f]]></SECURITYGROUPIDS><TYPE><![CDATA[ec2]]></TYPE></PUBLIC_CLOUD><SCHED_REQUIREMENTS><![CDATA[ID="4"]]></SCHED_REQUIREMENTS></USER_TEMPLATE><HISTORY_RECORDS><HISTORY><OID>244</OID><SEQ>0</SEQ><HOSTNAME>ec2</HOSTNAME><HID>4</HID><CID>0</CID><STIME>1590222212</STIME><ETIME>0</ETIME><VM_MAD><![CDATA[ec2]]></VM_MAD><TM_MAD><![CDATA[]]></TM_MAD><DS_ID>-1</DS_ID><PSTIME>1590222212</PSTIME><PETIME>1590222212</PETIME><RSTIME>1590222212</RSTIME><RETIME>0</RETIME><ESTIME>0</ESTIME><EETIME>0</EETIME><ACTION>0</ACTION><UID>-1</UID><GID>-1</GID><REQUEST_ID>-1</REQUEST_ID></HISTORY></HISTORY_RECORDS></VM>

and…

rafa@ubuntu-surface:~$ onevm show -x 244

<VM>
  <ID>244</ID>
  <UID>0</UID>
  <GID>0</GID>
  <UNAME>oneadmin</UNAME>
  <GNAME>oneadmin</GNAME>
  <NAME>Consul Server-244</NAME>
  <PERMISSIONS>
    <OWNER_U>1</OWNER_U>
    <OWNER_M>1</OWNER_M>
    <OWNER_A>0</OWNER_A>
    <GROUP_U>0</GROUP_U>
    <GROUP_M>0</GROUP_M>
    <GROUP_A>0</GROUP_A>
    <OTHER_U>0</OTHER_U>
    <OTHER_M>0</OTHER_M>
    <OTHER_A>0</OTHER_A>
  </PERMISSIONS>
  <LAST_POLL>0</LAST_POLL>
  <STATE>3</STATE>
  <LCM_STATE>36</LCM_STATE>
  <PREV_STATE>3</PREV_STATE>
  <PREV_LCM_STATE>36</PREV_LCM_STATE>
  <RESCHED>0</RESCHED>
  <STIME>1590222209</STIME>
  <ETIME>0</ETIME>
  <DEPLOY_ID/>
  <MONITORING/>
  <TEMPLATE>
    <AUTOMATIC_DS_REQUIREMENTS><![CDATA[("CLUSTERS/ID" @> 0)]]></AUTOMATIC_DS_REQUIREMENTS>
    <AUTOMATIC_NIC_REQUIREMENTS><![CDATA[("CLUSTERS/ID" @> 0)]]></AUTOMATIC_NIC_REQUIREMENTS>
    <AUTOMATIC_REQUIREMENTS><![CDATA[(CLUSTER_ID = 0) & !(PUBLIC_CLOUD = YES) & !(PIN_POLICY = PINNED) | (PUBLIC_CLOUD = YES & (HYPERVISOR = ec2))]]></AUTOMATIC_REQUIREMENTS>
    <CONTEXT>
      <DISK_ID><![CDATA[1]]></DISK_ID>
      <ETH0_CONTEXT_FORCE_IPV4><![CDATA[]]></ETH0_CONTEXT_FORCE_IPV4>
      <ETH0_DNS><![CDATA[172.16.100.1]]></ETH0_DNS>
      <ETH0_EXTERNAL><![CDATA[]]></ETH0_EXTERNAL>
      <ETH0_GATEWAY><![CDATA[172.16.100.1]]></ETH0_GATEWAY>
      <ETH0_GATEWAY6><![CDATA[]]></ETH0_GATEWAY6>
      <ETH0_IP><![CDATA[172.16.100.2]]></ETH0_IP>
      <ETH0_IP6><![CDATA[]]></ETH0_IP6>
      <ETH0_IP6_PREFIX_LENGTH><![CDATA[]]></ETH0_IP6_PREFIX_LENGTH>
      <ETH0_IP6_ULA><![CDATA[]]></ETH0_IP6_ULA>
      <ETH0_MAC><![CDATA[02:00:ac:10:64:02]]></ETH0_MAC>
      <ETH0_MASK><![CDATA[]]></ETH0_MASK>
      <ETH0_MTU><![CDATA[]]></ETH0_MTU>
      <ETH0_NETWORK><![CDATA[]]></ETH0_NETWORK>
      <ETH0_SEARCH_DOMAIN><![CDATA[]]></ETH0_SEARCH_DOMAIN>
      <ETH0_VLAN_ID><![CDATA[]]></ETH0_VLAN_ID>
      <ETH0_VROUTER_IP><![CDATA[]]></ETH0_VROUTER_IP>
      <ETH0_VROUTER_IP6><![CDATA[]]></ETH0_VROUTER_IP6>
      <ETH0_VROUTER_MANAGEMENT><![CDATA[]]></ETH0_VROUTER_MANAGEMENT>
      <NETWORK><![CDATA[YES]]></NETWORK>
      <ONEGATE_ENDPOINT><![CDATA[http://172.16.100.1:5030]]></ONEGATE_ENDPOINT>
      <PASSWORD><![CDATA[opennebula]]></PASSWORD>
      <SSH_PUBLIC_KEY><![CDATA[ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDzxuU0uHr+A7gbz/W8oLirpUZk7u0/Io6PuJzO5Y9qpKx+RL9TF2jPA3Hn5XG7M7nIATrgcd+N8kN7oP908anfM07BHjwcr2d15KivjjqFTvVJch8bj+dTWNzWSo1iXoo93TghU8fvb7Hq34/5RiaAUz4KSRPmD+PE6nQ0avCBCi8FeqiTaYAoZggq0vVqitpXl8HAfFNpDR8qfnb6pillquTxI5I2L9FfNx1N+jIv2mMyPsdD72YluoGfUNrGfwahNG2H8gIcmV8Wo6tIQ4YQ9DE0KffZ1ir15TcDOkW6nIj2qlcAT2bxaffxjiIHB1/kaHuu0o1p1rTqw/zQc/mR oneadmin@ubuntu-surface
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC5PBE3MG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mFyL2xpYi9jb25zdWwvIC1jb25maWctZGlyIC9ldGMvY29uc3VsLmQvICYiID4+IC9yb290L3N0YXJ0LnNoCmNobW9kICt4IC9yb290L3N0YXJ0LnNoCi9yb290L3N0YXJ0LnNoCmVjaG8gIjEiID4gL3Jvb3QvZG9uZQ==]]></START_SCRIPT_BASE64>
      <TARGET><![CDATA[hda]]></TARGET>
      <TOKEN><![CDATA[YES]]></TOKEN>
      <VMID><![CDATA[244]]></VMID>
    </CONTEXT>
    <CPU><![CDATA[1]]></CPU>
    <CREATED_BY><![CDATA[0]]></CREATED_BY>
    <DISK>
      <ALLOW_ORPHANS><![CDATA[NO]]></ALLOW_ORPHANS>
      <CLONE><![CDATA[YES]]></CLONE>
      <CLONE_TARGET><![CDATA[]]></CLONE_TARGET>
      <CLUSTER_ID><![CDATA[0]]></CLUSTER_ID>
      <DATASTORE><![CDATA[default]]></DATASTORE>
      <DATASTORE_ID><![CDATA[1]]></DATASTORE_ID>
      <DEV_PREFIX><![CDATA[vd]]></DEV_PREFIX>
      <DISK_ID><![CDATA[0]]></DISK_ID>
      <DISK_SNAPSHOT_TOTAL_SIZE><![CDATA[0]]></DISK_SNAPSHOT_TOTAL_SIZE>
      <DISK_TYPE><![CDATA[]]></DISK_TYPE>
      <DRIVER><![CDATA[qcow2]]></DRIVER>
      <IMAGE><![CDATA[Ubuntu 18.04]]></IMAGE>
      <IMAGE_ID><![CDATA[11]]></IMAGE_ID>
      <IMAGE_STATE><![CDATA[2]]></IMAGE_STATE>
      <LN_TARGET><![CDATA[]]></LN_TARGET>
      <ORIGINAL_SIZE><![CDATA[2252]]></ORIGINAL_SIZE>
      <READONLY><![CDATA[NO]]></READONLY>
      <SAVE><![CDATA[NO]]></SAVE>
      <SIZE><![CDATA[2252]]></SIZE>
      <SOURCE><![CDATA[/var/lib/one//datastores/1/d351830ef88b0918507358ede716071a]]></SOURCE>
      <TARGET><![CDATA[vda]]></TARGET>
      <TM_MAD><![CDATA[qcow2]]></TM_MAD>
      <TM_MAD_SYSTEM><![CDATA[]]></TM_MAD_SYSTEM>
      <TYPE><![CDATA[FILE]]></TYPE>
    </DISK>
    <GRAPHICS>
      <LISTEN><![CDATA[0.0.0.0]]></LISTEN>
      <PORT><![CDATA[6144]]></PORT>
      <TYPE><![CDATA[VNC]]></TYPE>
    </GRAPHICS>
    <MEMORY><![CDATA[768]]></MEMORY>
    <NIC>
      <AR_ID><![CDATA[0]]></AR_ID>
      <BRIDGE><![CDATA[minionebr]]></BRIDGE>
      <BRIDGE_TYPE><![CDATA[linux]]></BRIDGE_TYPE>
      <CLUSTER_ID><![CDATA[0]]></CLUSTER_ID>
      <IP><![CDATA[172.16.100.2]]></IP>
      <MAC><![CDATA[02:00:ac:10:64:02]]></MAC>
      <NAME><![CDATA[NIC0]]></NAME>
      <NETWORK><![CDATA[vnet]]></NETWORK>
      <NETWORK_ID><![CDATA[0]]></NETWORK_ID>
      <NIC_ID><![CDATA[0]]></NIC_ID>
      <SECURITY_GROUPS><![CDATA[0]]></SECURITY_GROUPS>
      <TARGET><![CDATA[one-244-0]]></TARGET>
      <VN_MAD><![CDATA[fw]]></VN_MAD>
    </NIC>
    <OS>
      <ARCH><![CDATA[x86_64]]></ARCH>
      <BOOT><![CDATA[]]></BOOT>
    </OS>
    <SECURITY_GROUP_RULE>
      <PROTOCOL><![CDATA[ALL]]></PROTOCOL>
      <RULE_TYPE><![CDATA[OUTBOUND]]></RULE_TYPE>
      <SECURITY_GROUP_ID><![CDATA[0]]></SECURITY_GROUP_ID>
      <SECURITY_GROUP_NAME><![CDATA[default]]></SECURITY_GROUP_NAME>
    </SECURITY_GROUP_RULE>
    <SECURITY_GROUP_RULE>
      <PROTOCOL><![CDATA[ALL]]></PROTOCOL>
      <RULE_TYPE><![CDATA[INBOUND]]></RULE_TYPE>
      <SECURITY_GROUP_ID><![CDATA[0]]></SECURITY_GROUP_ID>
      <SECURITY_GROUP_NAME><![CDATA[default]]></SECURITY_GROUP_NAME>
    </SECURITY_GROUP_RULE>
    <TEMPLATE_ID><![CDATA[12]]></TEMPLATE_ID>
    <TM_MAD_SYSTEM><![CDATA[]]></TM_MAD_SYSTEM>
    <VCPU><![CDATA[1]]></VCPU>
    <VMID><![CDATA[244]]></VMID>
  </TEMPLATE>
  <USER_TEMPLATE>
    <ERROR><![CDATA[Sat May 23 11:26:32 2020 : Error deploying virtual machine: fw: -]]></ERROR>
    <INFO><![CDATA[Please do not use this VM Template for vCenter VMs. Refer to the documentation https://bit.ly/37NcJ0Y]]></INFO>
    <INPUTS_ORDER><![CDATA[]]></INPUTS_ORDER>
    <LOGO><![CDATA[images/logos/ubuntu.png]]></LOGO>
    <LXD_SECURITY_PRIVILEGED><![CDATA[true]]></LXD_SECURITY_PRIVILEGED>
    <MEMORY_UNIT_COST><![CDATA[MB]]></MEMORY_UNIT_COST>
    <PUBLIC_CLOUD>
      <AMI><![CDATA[ami-0e01323b8801dd986]]></AMI>
      <ELASTICIP><![CDATA[18.157.59.231]]></ELASTICIP>
      <INSTANCETYPE><![CDATA[t2.micro]]></INSTANCETYPE>
      <KEYPAIR><![CDATA[ec2EM]]></KEYPAIR>
      <SECURITYGROUPIDS><![CDATA[sg-e67f0d9f]]></SECURITYGROUPIDS>
      <TYPE><![CDATA[ec2]]></TYPE>
    </PUBLIC_CLOUD>
    <SCHED_REQUIREMENTS><![CDATA[ID="4"]]></SCHED_REQUIREMENTS>
  </USER_TEMPLATE>
  <HISTORY_RECORDS>
    <HISTORY>
      <OID>244</OID>
      <SEQ>0</SEQ>
      <HOSTNAME>ec2</HOSTNAME>
      <HID>4</HID>
      <CID>0</CID>
      <STIME>1590222212</STIME>
      <ETIME>0</ETIME>
      <VM_MAD><![CDATA[ec2]]></VM_MAD>
      <TM_MAD><![CDATA[]]></TM_MAD>
      <DS_ID>-1</DS_ID>
      <PSTIME>1590222212</PSTIME>
      <PETIME>1590222212</PETIME>
      <RSTIME>1590222212</RSTIME>
      <RETIME>0</RETIME>
      <ESTIME>0</ESTIME>
      <EETIME>0</EETIME>
      <ACTION>0</ACTION>
      <UID>-1</UID>
      <GID>-1</GID>
      <REQUEST_ID>-1</REQUEST_ID>
    </HISTORY>
  </HISTORY_RECORDS>
</VM>

and …

rafa@ubuntu-surface:~$ onevnet show -x 0

<VNET>
  <ID>0</ID>
  <UID>0</UID>
  <GID>0</GID>
  <UNAME>oneadmin</UNAME>
  <GNAME>oneadmin</GNAME>
  <NAME>vnet</NAME>
  <PERMISSIONS>
    <OWNER_U>1</OWNER_U>
    <OWNER_M>1</OWNER_M>
    <OWNER_A>0</OWNER_A>
    <GROUP_U>0</GROUP_U>
    <GROUP_M>0</GROUP_M>
    <GROUP_A>0</GROUP_A>
    <OTHER_U>0</OTHER_U>
    <OTHER_M>0</OTHER_M>
    <OTHER_A>0</OTHER_A>
  </PERMISSIONS>
  <CLUSTERS>
    <ID>0</ID>
  </CLUSTERS>
  <BRIDGE><![CDATA[minionebr]]></BRIDGE>
  <BRIDGE_TYPE><![CDATA[linux]]></BRIDGE_TYPE>
  <PARENT_NETWORK_ID/>
  <VN_MAD><![CDATA[fw]]></VN_MAD>
  <PHYDEV/>
  <VLAN_ID/>
  <OUTER_VLAN_ID/>
  <VLAN_ID_AUTOMATIC>0</VLAN_ID_AUTOMATIC>
  <OUTER_VLAN_ID_AUTOMATIC>0</OUTER_VLAN_ID_AUTOMATIC>
  <USED_LEASES>1</USED_LEASES>
  <VROUTERS/>
  <TEMPLATE>
    <BRIDGE><![CDATA[minionebr]]></BRIDGE>
    <BRIDGE_TYPE><![CDATA[linux]]></BRIDGE_TYPE>
    <DNS><![CDATA[172.16.100.1]]></DNS>
    <GATEWAY><![CDATA[172.16.100.1]]></GATEWAY>
    <OUTER_VLAN_ID><![CDATA[]]></OUTER_VLAN_ID>
    <PHYDEV><![CDATA[]]></PHYDEV>
    <SECURITY_GROUPS><![CDATA[0]]></SECURITY_GROUPS>
    <VLAN_ID><![CDATA[]]></VLAN_ID>
    <VN_MAD><![CDATA[fw]]></VN_MAD>
  </TEMPLATE>
  <AR_POOL>
    <AR>
      <AR_ID><![CDATA[0]]></AR_ID>
      <IP><![CDATA[172.16.100.2]]></IP>
      <MAC><![CDATA[02:00:ac:10:64:02]]></MAC>
      <SIZE><![CDATA[99]]></SIZE>
      <TYPE><![CDATA[IP4]]></TYPE>
      <MAC_END><![CDATA[02:00:ac:10:64:64]]></MAC_END>
      <IP_END><![CDATA[172.16.100.100]]></IP_END>
      <USED_LEASES>1</USED_LEASES>
      <LEASES>
        <LEASE>
          <IP><![CDATA[172.16.100.2]]></IP>
          <MAC><![CDATA[02:00:ac:10:64:02]]></MAC>
          <VM><![CDATA[244]]></VM>
        </LEASE>
      </LEASES>
    </AR>
  </AR_POOL>
</VNET>

Sorry for the late response, I needed to undo my “workaround” to make it work and I was busy these past days.

Thank you for your help!