Manage KVM through Cockpit
-
So I setup a system I had with Fedora 26, and I have Headless Virtualization installed as the only role on the system.
I'm at the cockpit page, but I don't see any way to manage the hypervisor. I'm assuming I need to install a cockpit plugin.
oVirt seems to be the recommended approach, is this what others are using?
-
Here specifically shows a VM management page, how did they get to this?
-
It's probably not in Fedora yet. I don't think anyone here recommended oVirt. It's slow and over complicated for simple uses. You either manage the VMs through cli or use virt-manager.
-
I heard about this but it is still in dev, more info:
https://github.com/mareklibra/cockpit-ovirt
- you will get more features, by using Kimchi
- You can manage whole OS using cockpit via terminal. I was avoiding that at first but virsh cli is very easy to pickup
- cockpit can be expanded via plugins, but the way you install them will get you thinking about the term "plugins" again, it is not easy and you have to modify many files, like working with source HTML/JS files
-
@dustinb3403 said in Manage KVM through Cockpit:
Here specifically shows a VM management page, how did they get to this?
Thanks for this thread, I hadn't even noticed that option in Cockpit.
You'll need to install the cockpit-machines package "dnf install cockpit-machines"
I also upgraded Cockpit to v149 https://copr.fedorainfracloud.org/coprs/g/cockpit/cockpit-preview/
Don't forget to enable this repo "dnf copr enable @cockpit/cockpit-preview"**reference: see bottom of the page: https://github.com/cockpit-project/cockpit/pull/4434
"@igorSmirnovPlexi ,
Are 'machines' listed in the main cockpit menu (left-most column)?
Do you have 'cockpit-machines' package installed? (rpm -qa|grep cockpit-machines)"***edit:
After all the above was done, I ran "dnf upgrade" & 4 more packages were upgraded:
cockpit-dashboard
cockpit-docker
cockpit-networkmanager
cockpit-storaged -
@fateknollogee said in Manage KVM through Cockpit:
@dustinb3403 said in Manage KVM through Cockpit:
Here specifically shows a VM management page, how did they get to this?
Thanks for this thread, I hadn't even noticed that option in Cockpit.
You'll need to install the cockpit-machines package "dnf install cockpit-machines"
I also upgraded Cockpit to v149 https://copr.fedorainfracloud.org/coprs/g/cockpit/cockpit-preview/
Don't forget to enable this repo "dnf copr enable @cockpit/cockpit-preview"**reference: see bottom of the page: https://github.com/cockpit-project/cockpit/pull/4434
"@igorSmirnovPlexi ,
Are 'machines' listed in the main cockpit menu (left-most column)?
Do you have 'cockpit-machines' package installed? (rpm -qa|grep cockpit-machines)"Works on centos +1
same steps to install cockpit, nothing special except add:
yum install cockpit-machines. Its basic but good to know.If anyone on latest Fedora I am interested to see if there are any additional features.
-
I don't have a Fedora machine on me atm, can someone do a "dnf search cockpit" and show me the results? (if there's not too much output)
-
@tim_g said in Manage KVM through Cockpit:
I don't have a Fedora machine on me atm, can someone do a "dnf search cockpit" and show me the results? (if there's not too much output)
BRB
-
Why everybody seems to need a GUI for KVM? Virsh can do absolutely anything, in a much more concise, fast and elegant way. It's also very bandwidth friendly.
Maybe for virtualized Windows guest that needs console acces? Does cockpit provides that feature?
-
@francesco-provino said in Manage KVM through Cockpit:
Why everybody seems to need a GUI for KVM? Virsh can do absolutely anything, in a much more concise, fast and elegant way. It's also very bandwidth friendly.
Because some of us "just" want it. Why it this so hard for some of you to understand?
Maybe for virtualized Windows guest that needs console acces? Does cockpit provides that feature?
Yes it does.
-
@tim_g said in Manage KVM through Cockpit:
I don't have a Fedora machine on me atm, can someone do a "dnf search cockpit" and show me the results? (if there's not too much output)
-
@fateknollogee said in Manage KVM through Cockpit:
@tim_g said in Manage KVM through Cockpit:
I don't have a Fedora machine on me atm, can someone do a "dnf search cockpit" and show me the results? (if there's not too much output)
Cool... there's more there than I thought. I should have thought to do that a long time ago. Now I have some things to play with when I get some spare time at home.
-
@fateknollogee said in Manage KVM through Cockpit:
Maybe for virtualized Windows guest that needs console acces? Does cockpit provides that feature?
Yes it does.
Do you have this setup ? can you post screenshot with this feature ?
-
@emad-r said in Manage KVM through Cockpit:
@fateknollogee said in Manage KVM through Cockpit:
Maybe for virtualized Windows guest that needs console acces? Does cockpit provides that feature?
Yes it does.
Do you have this setup ? can you post screenshot with this feature ?
BRB!
-
@emad-r said in Manage KVM through Cockpit:
@fateknollogee said in Manage KVM through Cockpit:
Maybe for virtualized Windows guest that needs console acces? Does cockpit provides that feature?
Yes it does.
Do you have this setup ? can you post screenshot with this feature ?
-
@emad-r said in Manage KVM through Cockpit:
@fateknollogee said in Manage KVM through Cockpit:
Maybe for virtualized Windows guest that needs console acces? Does cockpit provides that feature?
Yes it does.
Do you have this setup ? can you post screenshot with this feature ?
Also on Fedora vm's
-
@fateknollogee said in Manage KVM through Cockpit:
@francesco-provino said in Manage KVM through Cockpit:
Why everybody seems to need a GUI for KVM? Virsh can do absolutely anything, in a much more concise, fast and elegant way. It's also very bandwidth friendly.
Because some of us "just" want it. Why it this so hard for some of you to understand?
Maybe for virtualized Windows guest that needs console acces? Does cockpit provides that feature?
Yes it does.
@fateknollogee said in Manage KVM through Cockpit:
@francesco-provino said in Manage KVM through Cockpit:
Why everybody seems to need a GUI for KVM? Virsh can do absolutely anything, in a much more concise, fast and elegant way. It's also very bandwidth friendly.
Because some of us "just" want it. Why it this so hard for some of you to understand?
Maybe for virtualized Windows guest that needs console acces? Does cockpit provides that feature?
Yes it does.
I was not aware of the console redirection. Perhaps, it seems more like a link generator for the usual spice/vnc client. I can understand it for windows troubleshooting… no use at all for linux guests.
-
@francesco-provino said in Manage KVM through Cockpit:
Why everybody seems to need a GUI for KVM? Virsh can do absolutely anything, in a much more concise, fast and elegant way. It's also very bandwidth friendly.
That made me laugh a lot
-
@olivier said in Manage KVM through Cockpit:
@francesco-provino said in Manage KVM through Cockpit:
Why everybody seems to need a GUI for KVM? Virsh can do absolutely anything, in a much more concise, fast and elegant way. It's also very bandwidth friendly.
That made me laugh a lot
Why, you agree or disagree with that statement?
-
@fateknollogee The need for UI in Open Source is ultra-important, and I don't get why people don't get it.
It's even possible to make some money with that So when I heard someone telling this, it's really funny and remind me some disdain I met in the past when I started Xen Orchestra.