CHR on XCP-NG 8.2.1

Hi guys,
I hope you’re doing well. I have been trying to Import the OVA image of CHR v7.x and CHR v6.49.7 in my XCP-NG servers, but every time I receive a message saying “Failed to Import”. Any idea what could be causing this? I can import images from any image but Mikrotik’s CHR. I also tried with VMDK and VMDK image with the same problem

Thanks,

This was originally used on XCP-ng Center, If you are using Xen Orchestra it will be similar.

Create New VM on XCP-ng host

Select “other install media”

Select any ISO to continue (It will not be used)

Set desired CPU, Disk, Memory parameters

Make note of what you name the virtual disk as you will need it in a later step

Uncheck “Start the new VM automatically”

Click “Create Now”

Log into the XCP-ng host server

wget “https://download.mikrotik.com/routeros/7.8/chr-7.8.img.zip

unzip chr*

xe vdi-list name-label=whatever-you-named-vm-disk

Copy the UUID of vm’s VDI obtained from the step above and use in the step below

xe vdi-import uuid=UUID-From-Above filename=chr*.img

Boot VM and eject ISO

when im doing this https://forum.mikrotik.com/download/file.php?mode=view&id=70811

it is importing without Guest Agent so I cant see RAM usage
Screenshot 2025-01-05 at 15.02.43.png

Hi there im trying to use CHR in XCP-ng
I want to use MikroTik v6 so I import the latest OVA version
but after install XCP-NG cant see Guest tool

I have found that in V 7.5 Guests agent is installed

I have one V6 CHR in XCP-ng with Guests agent

[admin@MikroTik] > system resource print
uptime: 35w1d22h37m15s
version: 6.49.1 (stable)
build-time: Nov/17/2021 10:06:00
free-memory: 169.8MiB
total-memory: 224.0MiB
cpu: Intel(R)
cpu-count: 1
cpu-frequency: 3600MHz
cpu-load: 0%
free-hdd-space: 29.8MiB
total-hdd-space: 63.5MiB
write-sect-since-reboot: 33383048
write-sect-total: 33383049
architecture-name: x86_64
board-name: CHR
platform: MikroTik

but when I’m importing OVA 6.49.1 as a new VM
it has no Guests agent for some reason

Please advice. which OVA V6 I can use which has Guest agent
Screenshot 2025-01-05 at 17.27.38.png
Screenshot 2025-01-05 at 17.24.30.png
Screenshot 2025-01-05 at 17.16.43.png

Satskiy, merged your posts from two topics into one. Please, do not start unnecessary topics if they describe same problem.

hi @BartoszP
i noticed that post
but my one is not about I cant import image
my one is about that imported VM on Milkrotik v6 has no Guest agent

I’m curious how to get XCP-NG Guest Tools on RouterOS CHR.

Ah, I see it’s included when using the OVA import. I mistakenly set up
my CHR instances using RAW disk image.

I will try migrating to the OVA template method.