ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Manage KVM through Cockpit

    IT Discussion
    fedora kvm ovirt virtualization hypervisor management cockpit
    12
    116
    30.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • stacksofplatesS
      stacksofplates
      last edited by

      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.

      0_1505595593212_console.png

      ObsolesceO 2 Replies Last reply Reply Quote 1
      • ObsolesceO
        Obsolesce @stacksofplates
        last edited by

        @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.

        0_1505595593212_console.png

        Can it work like that in the browser with spice?

        matteo nunziatiM stacksofplatesS 2 Replies Last reply Reply Quote 0
        • matteo nunziatiM
          matteo nunziati @Obsolesce
          last edited by

          @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.

          0_1505595593212_console.png

          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.

          1 Reply Last reply Reply Quote 0
          • stacksofplatesS
            stacksofplates @Obsolesce
            last edited by

            @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.

            0_1505595593212_console.png

            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.

            ObsolesceO 1 Reply Last reply Reply Quote 0
            • ObsolesceO
              Obsolesce @stacksofplates
              last edited by

              @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.

              0_1505595593212_console.png

              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.

              stacksofplatesS 1 Reply Last reply Reply Quote 0
              • stacksofplatesS
                stacksofplates @Obsolesce
                last edited by

                @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.

                0_1505595593212_console.png

                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.

                1 Reply Last reply Reply Quote 0
                • ObsolesceO
                  Obsolesce @stacksofplates
                  last edited by Obsolesce

                  @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.

                  ObsolesceO 1 Reply Last reply Reply Quote 0
                  • ObsolesceO
                    Obsolesce @Obsolesce
                    last edited by

                    @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.

                    stacksofplatesS 1 Reply Last reply Reply Quote 0
                    • ObsolesceO
                      Obsolesce
                      last edited by

                      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?

                      stacksofplatesS 1 Reply Last reply Reply Quote 0
                      • stacksofplatesS
                        stacksofplates @Obsolesce
                        last edited by

                        @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.

                        1 Reply Last reply Reply Quote 0
                        • stacksofplatesS
                          stacksofplates @Obsolesce
                          last edited by

                          @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.

                          1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller
                            last edited by

                            Anyone know if Fedora 28 has KVM management built in to the default Cockpit yet, or does it still require additional updates?

                            1 Reply Last reply Reply Quote 1
                            • FATeknollogeeF
                              FATeknollogee
                              last edited by

                              The KVM management is not 100% & yes you still need to update with "dnf install -y cockpit-machines"

                              scottalanmillerS 1 Reply Last reply Reply Quote 2
                              • scottalanmillerS
                                scottalanmiller @FATeknollogee
                                last edited by

                                @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.

                                FATeknollogeeF JaredBuschJ 2 Replies Last reply Reply Quote 1
                                • FATeknollogeeF
                                  FATeknollogee @scottalanmiller
                                  last edited by

                                  @scottalanmiller No beta at all. Either way, you still need virt-manager or virsh for complete control during setup of your vm's.

                                  1 Reply Last reply Reply Quote 1
                                  • JaredBuschJ
                                    JaredBusch @scottalanmiller
                                    last edited by JaredBusch

                                    @scottalanmiller said in Manage KVM through Cockpit:

                                    @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.

                                    Not exactly. As of Fedora 27, the default cockpit install, if you select it during the GUI install, is not a complete cockpit install in the first place.

                                    After getting to the root login, you still need to do dnf install cockpit to get the full package. By default, it only had cockpit-ws and dependencies.

                                    I have not done a clean F28 install and tested tihs.

                                    Let me go spin one up.

                                    1 Reply Last reply Reply Quote 2
                                    • JaredBuschJ
                                      JaredBusch
                                      last edited by

                                      Will update shortly.

                                      0_1527534422255_5a7ba037-1c46-4605-80f3-dd28b746e92a-image.png

                                      1 Reply Last reply Reply Quote 1
                                      • JaredBuschJ
                                        JaredBusch
                                        last edited by

                                        Still the same. Cockpit it NOT fully installed.

                                        [jbusch@localhost ~]$ sudo dnf list cockpit*
                                        Last metadata expiration check: 0:02:38 ago on Mon 28 May 2018 02:13:56 PM CDT.
                                        Installed Packages
                                        cockpit-bridge.x86_64                                                 168-1.fc28                                          @updates
                                        cockpit-networkmanager.noarch                                         168-1.fc28                                          @updates
                                        cockpit-storaged.noarch                                               168-1.fc28                                          @updates
                                        cockpit-system.noarch                                                 168-1.fc28                                          @updates
                                        cockpit-ws.x86_64                                                     168-1.fc28                                          @updates
                                        Available Packages
                                        cockpit.x86_64                                                        168-1.fc28                                          updates 
                                        cockpit-dashboard.x86_64                                              168-1.fc28                                          updates 
                                        cockpit-doc.noarch                                                    168-1.fc28                                          updates 
                                        cockpit-docker.x86_64                                                 168-1.fc28                                          updates 
                                        cockpit-kdump.noarch                                                  168-1.fc28                                          updates 
                                        cockpit-kubernetes.x86_64                                             168-1.fc28                                          updates 
                                        cockpit-machines.noarch                                               168-1.fc28                                          updates 
                                        cockpit-machines-ovirt.noarch                                         168-1.fc28                                          updates 
                                        cockpit-ostree.noarch                                                 168-1.fc28                                          updates 
                                        cockpit-packagekit.noarch                                             168-1.fc28                                          updates 
                                        cockpit-pcp.x86_64                                                    168-1.fc28                                          updates 
                                        cockpit-selinux.noarch                                                168-1.fc28                                          updates 
                                        cockpit-sosreport.noarch                                              168-1.fc28                                          updates 
                                        cockpit-tests.x86_64                                                  168-1.fc28                                          updates 
                                        

                                        Installing cockpit results in this.

                                        [jbusch@localhost ~]$ sudo dnf install cockpit
                                        Last metadata expiration check: 0:04:34 ago on Mon 28 May 2018 02:13:56 PM CDT.
                                        Dependencies resolved.
                                        ==================================================================================================================================
                                         Package                               Arch                      Version                         Repository                  Size
                                        ==================================================================================================================================
                                        Installing:
                                         cockpit                               x86_64                    168-1.fc28                      updates                     62 k
                                        Installing weak dependencies:
                                         cockpit-dashboard                     x86_64                    168-1.fc28                      updates                    213 k
                                         cockpit-packagekit                    noarch                    168-1.fc28                      updates                    276 k
                                        
                                        Transaction Summary
                                        ==================================================================================================================================
                                        Install  3 Packages
                                        
                                        
                                        1 Reply Last reply Reply Quote 1
                                        • JaredBuschJ
                                          JaredBusch
                                          last edited by JaredBusch

                                          Installing cockpit-machines is not dependent on cockpit. So you may not need the full cockpit to make it all work.

                                          [jbusch@localhost ~]$ sudo dnf install cockpit-machines
                                          Last metadata expiration check: 0:11:34 ago on Mon 28 May 2018 02:13:56 PM CDT.
                                          Dependencies resolved.
                                          ==================================================================================================================================
                                           Package                                        Arch                   Version                      Repository               Size
                                          ==================================================================================================================================
                                          Installing:
                                           cockpit-machines                               noarch                 168-1.fc28                   updates                 505 k
                                          Installing dependencies:
                                           libvirt                                        x86_64                 4.1.0-2.fc28                 fedora                  9.3 k
                                           libvirt-daemon-config-nwfilter                 x86_64                 4.1.0-2.fc28                 fedora                   14 k
                                           libvirt-daemon-driver-libxl                    x86_64                 4.1.0-2.fc28                 fedora                  161 k
                                           libvirt-daemon-driver-lxc                      x86_64                 4.1.0-2.fc28                 fedora                  162 k
                                           libvirt-daemon-driver-uml                      x86_64                 4.1.0-2.fc28                 fedora                   69 k
                                           libvirt-daemon-driver-vbox                     x86_64                 4.1.0-2.fc28                 fedora                  148 k
                                           libvirt-daemon-driver-xen                      x86_64                 4.1.0-2.fc28                 fedora                  131 k
                                          
                                          Transaction Summary
                                          ==================================================================================================================================
                                          Install  8 Packages
                                          
                                          scottalanmillerS 1 Reply Last reply Reply Quote 1
                                          • scottalanmillerS
                                            scottalanmiller @JaredBusch
                                            last edited by

                                            @jaredbusch oh weird.

                                            ObsolesceO 1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 2 / 6
                                            • First post
                                              Last post