Manage KVM through Cockpit
-
-
Can't be everywhere And this seems less fancy that communicating with KVM directly. Sadly, last time I inspected the "state of KVM APIs", it was far from XAPI features (in an agentless point of view)
-
Then let XOA communicate directly with KVM !
Who says you can't be everywhere? -
@fateknollogee 1. Because KVM APIs are really light (like "pure" Xen APIs).
2. This will require hiring 10 people approx for 1y. -
@olivier said in Manage KVM through Cockpit:
@fateknollogee 1. Because KVM APIs are really light (like "pure" Xen APIs).
2. This will require hiring 10 people approx for 1y.10 people for a year for beer and food seems like a good investment.
-
CentOS 7 now has the VM console as long as the VM has VNC graphics. You don't need to remove SPICE, you can just add VNC also.
-
@stacksofplates said in Manage KVM through Cockpit:
CentOS 7 now has the VM console as long as the VM has VNC graphics. You don't need to remove SPICE, you can just add VNC also.
Can it work like that in the browser with spice?
-
@tim_g said in Manage KVM through Cockpit:
@stacksofplates said in Manage KVM through Cockpit:
CentOS 7 now has the VM console as long as the VM has VNC graphics. You don't need to remove SPICE, you can just add VNC also.
Can it work like that in the browser with spice?
well it depends on cockpit for the most. there are vnc web implementations out there, like in kimchi.
-
@tim_g said in Manage KVM through Cockpit:
@stacksofplates said in Manage KVM through Cockpit:
CentOS 7 now has the VM console as long as the VM has VNC graphics. You don't need to remove SPICE, you can just add VNC also.
Can it work like that in the browser with spice?
If you only have SPICE it makes you run through virt-viewer. Currently I don't know of a way to do it.
-
@stacksofplates said in Manage KVM through Cockpit:
@tim_g said in Manage KVM through Cockpit:
@stacksofplates said in Manage KVM through Cockpit:
CentOS 7 now has the VM console as long as the VM has VNC graphics. You don't need to remove SPICE, you can just add VNC also.
Can it work like that in the browser with spice?
If you only have SPICE it makes you run through virt-viewer. Currently I don't know of a way to do it.
Okay yeah, that's what I was getting at.
It would be nice via Cockpit web console... perfect actually, rather than having to do the whole Kimchi thing.
I've just had best luck all around with Spice. But for non-gui VMs, VNC would work.
-
@tim_g said in Manage KVM through Cockpit:
@stacksofplates said in Manage KVM through Cockpit:
@tim_g said in Manage KVM through Cockpit:
@stacksofplates said in Manage KVM through Cockpit:
CentOS 7 now has the VM console as long as the VM has VNC graphics. You don't need to remove SPICE, you can just add VNC also.
Can it work like that in the browser with spice?
If you only have SPICE it makes you run through virt-viewer. Currently I don't know of a way to do it.
Okay yeah, that's what I was getting at.
It would be nice via Cockpit web console... perfect actually, rather than having to do the whole Kimchi thing.
I've just had best luck all around with Spice. But for non-gui VMs, VNC would work.
Ya SPICE is definitely better in every regard. I'm sure they will get there. I can't log into the console on most of mine anyway so it's not a big deal for me.
-
@stacksofplates said in Manage KVM through Cockpit:
CentOS 7 now has the VM console as long as the VM has VNC graphics. You don't need to remove SPICE, you can just add VNC also.
What did you do to be able to see the terminal in Cockpit? When I try I just see "Manual Connection" connection info, and a button to launch Remote Viewer. I do have both SPICE and VNC display added.
When I'm using In-Browser Viewer, I don't get anything.
-
@tim_g said in Manage KVM through Cockpit:
@stacksofplates said in Manage KVM through Cockpit:
CentOS 7 now has the VM console as long as the VM has VNC graphics. You don't need to remove SPICE, you can just add VNC also.
What did you do to be able to see the terminal in Cockpit? When I try I just see "Manual Connection" connection info, and a button to launch Remote Viewer. I do have both SPICE and VNC display added.
When I'm using In-Browser Viewer, I don't get anything.
Oh, it was hidden. When I resized my web browser, it showed the "Password Required" box.
In order for me to see that, I have to resize my web browser every time. If it's maximized, I have to un-maximize it, and then maximize it again, or resize it any way period to get it to show. Weird.
-
If I have the VNC connection passworded, in Cockpit after entering the password, it gives an error: "Failed to connect to server (code: 1006)".
If I do not use a password, it works fine. Anyone else run into this?
-
@tim_g said in Manage KVM through Cockpit:
If I have the VNC connection passworded, in Cockpit after entering the password, it gives an error: "Failed to connect to server (code: 1006)".
If I do not use a password, it works fine. Anyone else run into this?
No I haven't used that function.
-
@tim_g said in Manage KVM through Cockpit:
@tim_g said in Manage KVM through Cockpit:
@stacksofplates said in Manage KVM through Cockpit:
CentOS 7 now has the VM console as long as the VM has VNC graphics. You don't need to remove SPICE, you can just add VNC also.
What did you do to be able to see the terminal in Cockpit? When I try I just see "Manual Connection" connection info, and a button to launch Remote Viewer. I do have both SPICE and VNC display added.
When I'm using In-Browser Viewer, I don't get anything.
Oh, it was hidden. When I resized my web browser, it showed the "Password Required" box.
In order for me to see that, I have to resize my web browser every time. If it's maximized, I have to un-maximize it, and then maximize it again, or resize it any way period to get it to show. Weird.
Hmm. I don't have that issue. That's interesting.
-
Anyone know if Fedora 28 has KVM management built in to the default Cockpit yet, or does it still require additional updates?
-
The KVM management is not 100% & yes you still need to update with "dnf install -y cockpit-machines"
-
@fateknollogee said in Manage KVM through Cockpit:
The KVM management is not 100% & yes you still need to update with "dnf install -y cockpit-machines"
Only an extra package is pretty good. Don't need to go to a beta version or something.
-
@scottalanmiller No beta at all. Either way, you still need virt-manager or virsh for complete control during setup of your vm's.