Community discussions

MikroTik App
 
Veria
just joined
Topic Author
Posts: 11
Joined: Fri Feb 21, 2014 10:30 am

Hetzner CHR issue

Tue Nov 03, 2020 10:24 am

Hello guys,

I tried to install CHR on the Hetzner cloud, based on https://wiki.mikrotik.com/wiki/Manual:CHR_Hetzner
but I get no hard drive found after reboot.

Pasted File at November 3, 2020 10_43 AM.png

I tried many different versions with no success.

How can I fix this issue?
You do not have the required permissions to view the files attached to this post.
 
kasparskr
MikroTik Support
MikroTik Support
Posts: 139
Joined: Mon Jul 27, 2015 11:46 am

Re: Hetzner CHR issue

Tue Nov 03, 2020 3:46 pm

Hello,

thank you for reaching out to us. We just tried with the newest stable version 6.47.7 (https://download.mikrotik.com/routeros/ ... .7.img.zip) and the above mentioned Hetzner manual and CX11 cloud VM and it worked as expected. Please try again.
CHR_Hetzner_CX11.png
You do not have the required permissions to view the files attached to this post.
 
Veria
just joined
Topic Author
Posts: 11
Joined: Fri Feb 21, 2014 10:30 am

Re: Hetzner CHR issue

Tue Nov 03, 2020 7:52 pm

Thanks for your reply,
I attached my steps and results.
Is there any mistake by me?
Screenshot 2020-11-03 214015.png
Screenshot 2020-11-03 214056.png
Screenshot 2020-11-03 213923.png
You do not have the required permissions to view the files attached to this post.
 
User avatar
xvo
Forum Guru
Forum Guru
Posts: 1237
Joined: Sat Mar 03, 2018 1:12 am
Location: Moscow, Russia

Re: Hetzner CHR issue

Tue Nov 03, 2020 7:58 pm

Try of=/dev/vda
If I remember correctly that helped me with Aruba Cloud.
 
Veria
just joined
Topic Author
Posts: 11
Joined: Fri Feb 21, 2014 10:30 am

Re: Hetzner CHR issue

Tue Nov 03, 2020 8:16 pm

Try of=/dev/vda
If I remember correctly that helped me with Aruba Cloud.

Thanks
My disk located at /dev/sda

Screenshot 2020-11-03 221443.png

However, I tried vda but didn't work.
You do not have the required permissions to view the files attached to this post.
 
User avatar
xvo
Forum Guru
Forum Guru
Posts: 1237
Joined: Sat Mar 03, 2018 1:12 am
Location: Moscow, Russia

Re: Hetzner CHR issue

Tue Nov 03, 2020 10:42 pm

Ok. Short googling tells that you need forced reboot at the end of procedure, not the "regular" one:
echo 1 > /proc/sys/kernel/sysrq
echo b > /proc/sysrq-trigger
From here (in Russian).
 
Veria
just joined
Topic Author
Posts: 11
Joined: Fri Feb 21, 2014 10:30 am

Re: Hetzner CHR issue

Tue Nov 03, 2020 11:30 pm

Ok. Short googling tells that you need forced reboot at the end of procedure, not the "regular" one:
echo 1 > /proc/sys/kernel/sysrq
echo b > /proc/sysrq-trigger
From here (in Russian).
the same result, it can't detect the disk.
Also, I tried the power cycle from the panel.
 
kasparskr
MikroTik Support
MikroTik Support
Posts: 139
Joined: Mon Jul 27, 2015 11:46 am

Re: Hetzner CHR issue

Wed Nov 04, 2020 10:25 am

RouterOS v6 kernel does not support AMD EPYC CPU's, please use CX instances (Intel Xeon based ones), instead of CPX instances which are using AMD EPYC

You can use v7 beta with the CPX instances:
v7_CPX_AMD.png
You do not have the required permissions to view the files attached to this post.
 
Veria
just joined
Topic Author
Posts: 11
Joined: Fri Feb 21, 2014 10:30 am

Re: Hetzner CHR issue

Sat Nov 07, 2020 10:18 am

It didn't work with CX instances too...
 
Veria
just joined
Topic Author
Posts: 11
Joined: Fri Feb 21, 2014 10:30 am

Re: Hetzner CHR issue

Sun Nov 08, 2020 11:26 pm

RouterOS v6 kernel does not support AMD EPYC CPU's, please use CX instances (Intel Xeon based ones), instead of CPX instances which are using AMD EPYC

You can use v7 beta with the CPX instances:

v7_CPX_AMD.png
This is V7 beta.
Did you try V6?
 
Samosval
just joined
Posts: 2
Joined: Wed Dec 01, 2021 9:48 pm

Re: Hetzner CHR issue

Wed Dec 01, 2021 10:08 pm

The same mistakes.

None of the old instructions on the Internet work. I tried 6 leading cloud operators yesterday, and none of them worked. By some miracle, with technical support, we launched one instance. It's the same everywhere: the image doesn't load.

Top cloud operators:

https://www.hetzner.com/
https://www.vultr.com/
https://ramnode.com/
https://www.digitalocean.com/
https://www.kamatera.com/
https://www.linode.com/
https://www.arubacloud.com/
https://virmach.com/

We wanted to buy about 100 licenses. Now we are wondering if it is necessary... judging by the answers in the forum, the manufacturer does not care about the problems. If they were interested in selling and developing the product, they would be able to keep it in normal working condition.

Example instructions:

https://wiki.mikrotik.com/wiki/Manual:CHR_Hetzner
https://community.hetzner.com/tutorials ... asic-setup
https://www.wirelessnetware.ca/blog/mik ... vultr-vps/
https://www.youtube.com/watch?v=UkPzoEI7Xqs

The response of support operator team:
Hello,

Unfortunately this is an issue that Mikrotik will need to release an update to fix. Their kernel drivers do not support some of the virtualization technologies necessary for hosting in our infrastructure.

I am glad to hear that you have made this work.
Please let us know if you have any further questions regarding our infrastructure or platform.

***********
System Administrator


Hello,

There was an update to the underlying hypervisor that Mikrotik doesn't have the latest drivers to support just yet. What you can do to install Mikrotik is to first install FreeBSD 13 from our Marketplace Apps, and when finished, mount your Mikrotik ISO image onto the Free BSD13 instance. The instance will reboot to the Mikrotik ISO image, which will now be able to see the disk drive and allow you to install the Mikrotik OS by overwriting FreeBSD 13.

FreeBSD 13 has the updated drivers installed in the VM definition file that the hypervisor uses to manage your VPS.

Regards,
***********
System Administrator
Tested chr-6.49.1.img and chr-6.48.5.img versions

Thanks a lot for any help !
 
KarlisK
just joined
Posts: 1
Joined: Tue Apr 24, 2018 2:23 pm

Re: Hetzner CHR issue

Mon Dec 27, 2021 4:32 pm

I was able to deploy MikroTik CHR on Hetzner just this last month actually without issues with booting during the CHR install itself.

In my case, the CHR runs in CentOS 8 Stream as KVM Guest on a Hetzner dedicated machine (with two WAN IP's - one for the dedicated server, other for the CHR and network behind it) with AMD Ryzen 5 3600 CPU. Currently enjoying the benefits of the recently added ZeroTier One functionality actually.

Maybe the official guide works for VirtualBox, but it never worked for me on Qemu/KVM, what I did was the following:
[*] Download the CHR Raw disk image from: https://mikrotik.com/download
[*] Extract the archive
[*] Convert the IMG to QCOW2 format
[*] Resize the disk image to expand it's size (best to do it initially, so that CHR automatically extends the system partition to all available disk space and you don't have to resize it later)
wget https://download.mikrotik.com/routeros/7.1/chr-7.1.img.zip
unzip chr-7.1.img.zip
qemu-img convert -f raw -O qcow2 ./chr-7.1.img ./chr-7.1.qcow2
qemu-img resize ./chr-7.1.qcow2 +10G
And even tho, the latest CHR versions are suppose to be EFI compatible, I still used Legacy BIOS boot for VM config - EFI was never supported in any CHR 6.x version apart from Development/Testing channels. When running directly in the cloud, writing it directly to the disk might require setting up the boot flag too.
Last edited by KarlisK on Mon Dec 27, 2021 4:46 pm, edited 2 times in total.

Who is online

Users browsing this forum: andrejtom and 7 guests