Community discussions

MikroTik App
 
cosmos
just joined
Topic Author
Posts: 7
Joined: Wed Sep 05, 2018 9:04 am

[SOLVED] CHR VM 6.41.2 & QEMU agent issues on proxmox 5.3

Tue Jan 15, 2019 9:23 am

I've been running a CHR VM version 6.41.2 for some time now. Since I've been having problems with shutting the VM down from the hypervisor, I've been searching for a way to notify the VM.

This could be accomplished if the VM supported the QEMU Agent. According to https://wiki.mikrotik.com/wiki/Manual:CHR#KVM, CHR VMs do support this feature. However even though my hypervisor (Proxmox 5.3) does support it as well and I've enabled the "Qemu agent" in the respective VM settings, proxmox still can not connect to the Qemu agent on CHR: from the proxmox gui, it is noted that "Guest Agent is not running".

Should I enable the Qemu agent in the CHR VM in some way?

Do note, that trying to use the command to enable chr.provision-agent (which I don't know what it is for, presumably opening a TCP/IP channel for comms? ) works, but then gives an error when I try to bring the VM up...
Last edited by cosmos on Wed Mar 13, 2019 11:37 am, edited 1 time in total.
 
cosmos
just joined
Topic Author
Posts: 7
Joined: Wed Sep 05, 2018 9:04 am

Re: CHR VM 6.41.2 & QEMU agent issues on proxmox 5.3

Mon Jan 21, 2019 11:27 pm

(bump) Someone?
 
cosmos
just joined
Topic Author
Posts: 7
Joined: Wed Sep 05, 2018 9:04 am

Re: CHR VM 6.41.2 & QEMU agent issues on proxmox 5.3

Wed Mar 13, 2019 11:08 am

It's a bit disconcerning that a question as simple as this one does not get a(ny) answer.

Again, does the CHR include qemu or not? In all tests I've made, it seems as though there is no qemu agent running in the CHR VM... Can someone shed some light here?
 
cosmos
just joined
Topic Author
Posts: 7
Joined: Wed Sep 05, 2018 9:04 am

Re: CHR VM 6.41.2 & QEMU agent issues on proxmox 5.3  [SOLVED]

Wed Mar 13, 2019 11:37 am

Answering my own question, 6.41.2 did not support qemu from the looks of it. 6.44 seems to be ok.
 
User avatar
sch
Frequent Visitor
Frequent Visitor
Posts: 75
Joined: Tue Feb 26, 2013 1:05 pm

Re: [SOLVED] CHR VM 6.41.2 & QEMU agent issues on proxmox 5.3

Wed Mar 13, 2019 11:47 am

What's new in 6.42 (2018-Apr-13 11:03):
*) chr - added "qemu-guest-agent" and "virtio-scsi" driver on KVM installations;


Please upgrade your CHR RouterOS.
 
User avatar
plastilin
just joined
Posts: 16
Joined: Sat Feb 11, 2023 10:33 am

Re: [SOLVED] CHR VM 6.41.2 & QEMU agent issues on proxmox 5.3

Sun May 21, 2023 1:16 pm

Installed the latest Proxmox 7.4 and CHR 7.9. The guest agent is not running. How to fix it? In the Proxmox interface, information about the guest agent: Guest Agent not running.
I do: qm agent 3000 ping
I get the result: QEMU guest agent is not running

In Proxmox 6.4, the guest agent works.
 
User avatar
sch
Frequent Visitor
Frequent Visitor
Posts: 75
Joined: Tue Feb 26, 2013 1:05 pm

Re: [SOLVED] CHR VM 6.41.2 & QEMU agent issues on proxmox 5.3

Mon May 22, 2023 8:24 am

By default Quemu Guest agent is disabled, you can enable it in VM options under Quemu Agent.
Note: Default CPU type should be selected Default (in our case it is Default (kvm64)).
 
User avatar
plastilin
just joined
Posts: 16
Joined: Sat Feb 11, 2023 10:33 am

Re: [SOLVED] CHR VM 6.41.2 & QEMU agent issues on proxmox 5.3

Tue May 23, 2023 11:08 am

The guest agent in the Options section of the virtual machine is enabled. But there is no connection with him.
screen.png
agent: 1
balloon: 0
boot: order=scsi0
cores: 1
cpu: host
machine: q35
memory: 320
meta: creation-qemu=7.2.0,ctime=1684484965
name: wg
net0: virtio=76:6E:53:F5:63:43,bridge=vmbr0
numa: 1
onboot: 1
ostype: l26
parent: auto-daily-23052257
scsi0: data:vm-3000-disk-0,iothread=1,size=128M
scsihw: virtio-scsi-single
smbios1: uuid=5fa9559f-f381-4803-9ab6-3badd22664b0
sockets: 2
vmgenid: c7310125-9d1b-4797-badc-519fdad4db61
You do not have the required permissions to view the files attached to this post.
 
User avatar
sch
Frequent Visitor
Frequent Visitor
Posts: 75
Joined: Tue Feb 26, 2013 1:05 pm

Re: [SOLVED] CHR VM 6.41.2 & QEMU agent issues on proxmox 5.3

Tue May 23, 2023 11:32 am

Did you change your CPU type to Default (kvm64)?
 
User avatar
plastilin
just joined
Posts: 16
Joined: Sat Feb 11, 2023 10:33 am

Re: [SOLVED] CHR VM 6.41.2 & QEMU agent issues on proxmox 5.3

Tue May 23, 2023 11:58 am

screen2.png
After changing the CPU to kvm64, the information appeared
agent: 1
balloon: 0
boot: order=scsi0
cores: 1
cpu: kvm64
machine: q35
memory: 320
meta: creation-qemu=7.2.0,ctime=1684484965
name: wg
net0: virtio=76:6E:53:F5:63:43,bridge=vmbr0
numa: 1
onboot: 1
ostype: l26
parent: auto-daily-23052257
scsi0: data:vm-3000-disk-0,iothread=1,size=128M
scsihw: virtio-scsi-single
smbios1: uuid=5fa9559f-f381-4803-9ab6-3badd22664b0
sockets: 2
vmgenid: c7310125-9d1b-4797-badc-519fdad4db61
screen3.png
But not all information is displayed. Also a question. Will the agent only work when using a kvm64 processor? Server installed: Intel(R) Xeon(R) CPU E5-2690
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: No registered users and 13 guests