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

    Manage KVM through Cockpit

    IT Discussion
    fedora kvm ovirt virtualization hypervisor management cockpit
    12
    116
    31.1k
    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.
    • 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
            • ObsolesceO
              Obsolesce @scottalanmiller
              last edited by Obsolesce

              @scottalanmiller said in Manage KVM through Cockpit:

              @jaredbusch oh weird.

              It's been like that since I can remember.

              Also, minimal install doesn't install cockpit at all.

              scottalanmillerS black3dynamiteB 2 Replies Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller @Obsolesce
                last edited by

                @obsolesce said in Manage KVM through Cockpit:

                @scottalanmiller said in Manage KVM through Cockpit:

                @jaredbusch oh weird.

                It's been like that since I can remember.

                Also, minimal install doesn't install cockpit at all.

                That I knew.

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

                  @obsolesce said in Manage KVM through Cockpit:

                  @scottalanmiller said in Manage KVM through Cockpit:

                  @jaredbusch oh weird.

                  It's been like that since I can remember.

                  Also, minimal install doesn't install cockpit at all.

                  When I installed Fedora 28 minimal without LVM, installling cockpit didn’t include cockpit.storaged for some reason.

                  1 Reply Last reply Reply Quote 0
                  • CCWTechC
                    CCWTech
                    last edited by

                    Sorry if this is a dumb question, I'm very new at Linux in general.

                    When adding a VM, where do you tell it to store the VM at?

                    stacksofplatesS ObsolesceO 2 Replies Last reply Reply Quote 0
                    • stacksofplatesS
                      stacksofplates @CCWTech
                      last edited by stacksofplates

                      @ccwtech said in Manage KVM through Cockpit:

                      Sorry if this is a dumb question, I'm very new at Linux in general.

                      When adding a VM, where do you tell it to store the VM at?

                      I don't think you can through Cockpit at this point. You need to either use virsh or Virt-Manager.

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

                        @ccwtech said in Manage KVM through Cockpit:

                        Sorry if this is a dumb question, I'm very new at Linux in general.

                        When adding a VM, where do you tell it to store the VM at?

                        I make another partition and mount it to /data

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

                          Ok, I have the file system setup with plenty of space in /var

                          Trying to install using Cockpit:

                          ERROR internal error: process exited while connecting to monitor: 2018-06-17T23:26:23.767121Z qemu-system-x86_64: -drive file=/run/media/root/DATA/en_windows_server_2012_r2_x64_dvd_2707946.iso,format=raw,if=none,id=drive-ide0-0-1,readonly=on: Could not open '/run/media/root/DATA/en_windows_server_2012_r2_x64_dvd_2707946.iso': Permission denied Domain installation does not appear to have been successful. If it was, you can restart your domain by running: virsh --connect qemu:///system start Server-2012R2 otherwise, please restart your installation.

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

                            @ccwtech what account are you logged in as?

                            CCWTechC 1 Reply Last reply Reply Quote 1
                            • CCWTechC
                              CCWTech @Obsolesce
                              last edited by

                              @obsolesce said in Manage KVM through Cockpit:

                              @ccwtech what account are you logged in as?

                              root

                              CCWTechC 1 Reply Last reply Reply Quote 0
                              • CCWTechC
                                CCWTech @CCWTech
                                last edited by

                                @Obsolesce The file is on a USB Drive if that matters.

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

                                  @ccwtech said in Manage KVM through Cockpit:

                                  @Obsolesce The file is on a USB Drive if that matters.

                                  The ISO might need to have the correct SELinux context. Try copying it to your /var/lib/libvirt/images directory and see if it lets you install that way.

                                  CCWTechC 1 Reply Last reply Reply Quote 1
                                  • CCWTechC
                                    CCWTech @stacksofplates
                                    last edited by

                                    @stacksofplates said in Manage KVM through Cockpit:

                                    /var/lib/libvirt/images

                                    That's the trick, thanks!

                                    1 Reply Last reply Reply Quote 1
                                    • CCWTechC
                                      CCWTech
                                      last edited by

                                      Now the next issue... Appears as if Server 2012 R2 needs a driver to see the filesystem...

                                      0_1529279480486_Screenshot from 2018-06-17 17-50-35.png

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

                                        @ccwtech said in Manage KVM through Cockpit:

                                        Now the next issue... Appears as if Server 2012 R2 needs a driver to see the filesystem...

                                        0_1529279480486_Screenshot from 2018-06-17 17-50-35.png

                                        I'm guessing you need to set the qcow2 disk to IDE instead of virtio. Then in the VM install the virtio drivers and you can change it back.

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

                                          I've never installed 2012 R2 in KVM yet. But Windows 10 automatically sets up as IDE when done from virt-manager

                                          1 Reply Last reply Reply Quote 1
                                          • CCWTechC
                                            CCWTech
                                            last edited by

                                            I think I have it figured out but don't know how to actually implement it. I'm running Fedora Server 28 Headless - so I have the ISO file for the drivers in /usr/share/virtio-win

                                            I think I just need to mount the ISO for the VM but not sure how to do that.

                                            JaredBuschJ stacksofplatesS 2 Replies Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 3 / 6
                                            • First post
                                              Last post