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

    oVirt Testing

    IT Discussion
    10
    43
    4.8k
    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.
    • ObsolesceO
      Obsolesce @DustinB3403
      last edited by

      @dustinb3403 said in oVirt Testing:

      @jaredbusch said in oVirt Testing:

      As soon as my current desktop is migrated to my new machine, I will be spinning it back up as a KVM server. I will give oVirt a go for that.

      You'll be required to have dual nics.

      I'm only using one NIC. I know it works because that test VM in my screenshot was installed via PXE (WDS server)

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

        @tim_g said in oVirt Testing:

        @dustinb3403 said in oVirt Testing:

        @jaredbusch said in oVirt Testing:

        As soon as my current desktop is migrated to my new machine, I will be spinning it back up as a KVM server. I will give oVirt a go for that.

        You'll be required to have dual nics.

        I'm only using one NIC. I know it works because that test VM in my screenshot was installed via PXE (WDS server)

        Does it? It must be me getting something messed up then . .

        1 Reply Last reply Reply Quote 0
        • F
          Francesco Provino
          last edited by

          I'm testing oVirt 4.2 beta on a CentOS 7.4, running on an x3300m4 a lot of CPU and ram...what can I say, it's much more complex and much less useful than the standard cli-based toolstack. I've spent almost 8 hours trying make everything works. Now I cannot upload any ISO to the ISO domain, so I can only import templates from the default OpenStack Glance repo, and some of them are broken... or, maybe is the cloud-init implementation?
          I hope they will fix it in the stable 4.2. The interface is nice, but for now I stick with plain KVM.

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

            @francesco-provino said in oVirt Testing:

            I'm testing oVirt 4.2 beta on a CentOS 7.4, running on an x3300m4 a lot of CPU and ram...what can I say, it's much more complex and much less useful than the standard cli-based toolstack. I've spent almost 8 hours trying make everything works. Now I cannot upload any ISO to the ISO domain, so I can only import templates from the default OpenStack Glance repo, and some of them are broken... or, maybe is the cloud-init implementation?
            I hope they will fix it in the stable 4.2. The interface is nice, but for now I stick with plain KVM.

            That's odd.

            Maybe it's a 4.2 beta issue.

            I got mine up and running within 10 minutes of installing CentOS.

            1. Install CentOS from net install.
            2. Set up storage and DNS.
            3. Install oVirt packages from repository.
            4. Run oVirtEngine install script.

            It was really quick and simple.

            What did they change in 4.2 to make it so bad?

            F 1 Reply Last reply Reply Quote 0
            • F
              Francesco Provino @Obsolesce
              last edited by

              @tim_g the interface is much nicer. But, I cannot upload the ISO in the datastore in ANY way. I haven't control over my virsh anymore. To get the CentOS accepted I had to downgrade the cluster level and re-up it after, other that disable completely firewalld and change the cluster default firewalld/iptables config.

              1 Reply Last reply Reply Quote 0
              • F
                Francesco Provino
                last edited by

                Other than that, the virtual console of the VMs is accesible only with a VNC/spice client, when Cockpit get it right with integrated console.

                Maybe there is much of unknowed to me in oVirt, but I find it really a mess compared to KVM.

                ObsolesceO 1 Reply Last reply Reply Quote 0
                • F
                  Francesco Provino
                  last edited by

                  I get an auth error when trying to use virsh... even entering the root or oVirt admin credentials does not help.

                  F 1 Reply Last reply Reply Quote 0
                  • F
                    Francesco Provino @Francesco Provino
                    last edited by

                    @francesco-provino said in oVirt Testing:

                    I get an auth error when trying to use virsh... even entering the root or oVirt admin credentials does not help.

                    Of course this is a feature and not a bug, because vsdm holds the daemon... but I hate it. It makes all my libvirt knowledge useless.

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

                      The same is true for SCVMM. You don't install and use SCVMM for a small environment where you only have one hypervisor. It just over complicates things and actually makes simple tasks take longer.

                      This isn't how you use something like SCVMM or oVIrt.

                      If you have a single server, just have a couple VMs you want to run on it, and have KVM management skills... I think oVirt may not be the best thing.

                      If you have multiple servers, need high-availability, will be going through Virtual Machines, need integrated backups, one-touch migrations and checkpoints, templates, virtual networks, and everything else... then yes, oVirt is for you.

                      oVirt is a virtualization management platform. It requires at least 2 servers (or one if doing self-hosted) just to run it. You wouldn't do this just for a single hypervisor.

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

                        @francesco-provino said in oVirt Testing:

                        Other than that, the virtual console of the VMs is accesible only with a VNC/spice client, when Cockpit get it right with integrated console.

                        Maybe there is much of unknowed to me in oVirt, but I find it really a mess compared to KVM.

                        You can use remote-viewer, VNC, whatever software you want to access VMs.

                        And even more, in the oVirt web interface (HTML5), you can simply right-click on a VM and click console. You can use spice/vnc/RD from there. Doing the spice options opens up remote-viewer anyways.

                        You have the same access options as you do with just straight KVM... I'm not sure what you mean here.

                        F 1 Reply Last reply Reply Quote 0
                        • F
                          Francesco Provino @Obsolesce
                          last edited by

                          @tim_g said in oVirt Testing:

                          The same is true for SCVMM. You don't install and use SCVMM for a small environment where you only have one hypervisor. It just over complicates things and actually makes simple tasks take longer.

                          This isn't how you use something like SCVMM or oVIrt.

                          If you have a single server, just have a couple VMs you want to run on it, and have KVM management skills... I think oVirt may not be the best thing.

                          If you have multiple servers, need high-availability, will be going through Virtual Machines, need integrated backups, one-touch migrations and checkpoints, templates, virtual networks, and everything else... then yes, oVirt is for you.

                          oVirt is a virtualization management platform. It requires at least 2 servers (or one if doing self-hosted) just to run it. You wouldn't do this just for a single hypervisor.

                          I've two enterprise server with CentOS at the moment, for this home-lab project alone. I understand perfectly the role of oVirt, I'm also a vSphere ops.

                          And I still find much simple to script anythin in a few lines than to use all this oVirt mess... the template thing can be done easily and without hide VMs under a blob of UUIDs. The same goes for migration and storage HA (gluster, DRBD). Checkpoints AKA... snapshots :D? The OpenvSwitch integration of oVirt is instead a big selling point, I've never got OVS right in plain KVM.

                          1 Reply Last reply Reply Quote 0
                          • F
                            Francesco Provino @Obsolesce
                            last edited by

                            @tim_g said in oVirt Testing:

                            @francesco-provino said in oVirt Testing:

                            Other than that, the virtual console of the VMs is accesible only with a VNC/spice client, when Cockpit get it right with integrated console.

                            Maybe there is much of unknowed to me in oVirt, but I find it really a mess compared to KVM.

                            You can use remote-viewer, VNC, whatever software you want to access VMs.

                            And even more, in the oVirt web interface (HTML5), you can simply right-click on a VM and click console. You can use spice/vnc/RD from there. Doing the spice options opens up remote-viewer anyways.

                            You have the same access options as you do with just straight KVM... I'm not sure what you mean here.
                            Not working from the web interface in 4.2, yet.

                            No, I haven't access to virsh anymore, with any user included root. And saslpasswd2 won't help this time.

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

                              @francesco-provino said in oVirt Testing:

                              @tim_g said in oVirt Testing:

                              @francesco-provino said in oVirt Testing:

                              Other than that, the virtual console of the VMs is accesible only with a VNC/spice client, when Cockpit get it right with integrated console.

                              Maybe there is much of unknowed to me in oVirt, but I find it really a mess compared to KVM.

                              You can use remote-viewer, VNC, whatever software you want to access VMs.

                              And even more, in the oVirt web interface (HTML5), you can simply right-click on a VM and click console. You can use spice/vnc/RD from there. Doing the spice options opens up remote-viewer anyways.

                              You have the same access options as you do with just straight KVM... I'm not sure what you mean here.
                              Not working from the web interface in 4.2, yet.

                              No, I haven't access to virsh anymore, with any user included root. And saslpasswd2 won't help this time.

                              Not sure what you mean. Maybe I'm misunderstanding you.... I have no problems at all opening up a console for a virtual console for a VM in any way.

                              I can view the VM in virt-viewer/remote-viewer, VNC, noVNC, RDP... even launch the console via Cockpit. What else do you need? If you need to edit the configuration the VM, you can do it all through oVirt as easily as you can in straight VMM. Even via Cockpit you can create VMs via templates and other simple things.

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

                                @tim_g said in oVirt Testing:

                                @francesco-provino said in oVirt Testing:

                                @tim_g said in oVirt Testing:

                                @francesco-provino said in oVirt Testing:

                                Other than that, the virtual console of the VMs is accesible only with a VNC/spice client, when Cockpit get it right with integrated console.

                                Maybe there is much of unknowed to me in oVirt, but I find it really a mess compared to KVM.

                                You can use remote-viewer, VNC, whatever software you want to access VMs.

                                And even more, in the oVirt web interface (HTML5), you can simply right-click on a VM and click console. You can use spice/vnc/RD from there. Doing the spice options opens up remote-viewer anyways.

                                You have the same access options as you do with just straight KVM... I'm not sure what you mean here.
                                Not working from the web interface in 4.2, yet.

                                No, I haven't access to virsh anymore, with any user included root. And saslpasswd2 won't help this time.

                                Not sure what you mean. Maybe I'm misunderstanding you.... I have no problems at all opening up a console for a virtual console for a VM in any way.

                                I can view the VM in virt-viewer/remote-viewer, VNC, noVNC, RDP... even launch the console via Cockpit. What else do you need? If you need to edit the configuration the VM, you can do it all through oVirt as easily as you can in straight VMM. Even via Cockpit you can create VMs via templates and other simple things.

                                He's talking about virsh commands.

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

                                  @black3dynamite said in oVirt Testing:

                                  @tim_g said in oVirt Testing:

                                  @francesco-provino said in oVirt Testing:

                                  @tim_g said in oVirt Testing:

                                  @francesco-provino said in oVirt Testing:

                                  Other than that, the virtual console of the VMs is accesible only with a VNC/spice client, when Cockpit get it right with integrated console.

                                  Maybe there is much of unknowed to me in oVirt, but I find it really a mess compared to KVM.

                                  You can use remote-viewer, VNC, whatever software you want to access VMs.

                                  And even more, in the oVirt web interface (HTML5), you can simply right-click on a VM and click console. You can use spice/vnc/RD from there. Doing the spice options opens up remote-viewer anyways.

                                  You have the same access options as you do with just straight KVM... I'm not sure what you mean here.
                                  Not working from the web interface in 4.2, yet.

                                  No, I haven't access to virsh anymore, with any user included root. And saslpasswd2 won't help this time.

                                  Not sure what you mean. Maybe I'm misunderstanding you.... I have no problems at all opening up a console for a virtual console for a VM in any way.

                                  I can view the VM in virt-viewer/remote-viewer, VNC, noVNC, RDP... even launch the console via Cockpit. What else do you need? If you need to edit the configuration the VM, you can do it all through oVirt as easily as you can in straight VMM. Even via Cockpit you can create VMs via templates and other simple things.

                                  He's talking about virsh commands.

                                  Oh I see, I misunderstood. Makes sense now.

                                  But with oVirt, I don't have any need to run virsh commands... it's all doable through the oVirt GUI.

                                  F 1 Reply Last reply Reply Quote 0
                                  • F
                                    Francesco Provino @Obsolesce
                                    last edited by

                                    @tim_g said in oVirt Testing:

                                    @black3dynamite said in oVirt Testing:

                                    @tim_g said in oVirt Testing:

                                    @francesco-provino said in oVirt Testing:

                                    @tim_g said in oVirt Testing:

                                    @francesco-provino said in oVirt Testing:

                                    Other than that, the virtual console of the VMs is accesible only with a VNC/spice client, when Cockpit get it right with integrated console.

                                    Maybe there is much of unknowed to me in oVirt, but I find it really a mess compared to KVM.

                                    You can use remote-viewer, VNC, whatever software you want to access VMs.

                                    And even more, in the oVirt web interface (HTML5), you can simply right-click on a VM and click console. You can use spice/vnc/RD from there. Doing the spice options opens up remote-viewer anyways.

                                    You have the same access options as you do with just straight KVM... I'm not sure what you mean here.
                                    Not working from the web interface in 4.2, yet.

                                    No, I haven't access to virsh anymore, with any user included root. And saslpasswd2 won't help this time.

                                    Not sure what you mean. Maybe I'm misunderstanding you.... I have no problems at all opening up a console for a virtual console for a VM in any way.

                                    I can view the VM in virt-viewer/remote-viewer, VNC, noVNC, RDP... even launch the console via Cockpit. What else do you need? If you need to edit the configuration the VM, you can do it all through oVirt as easily as you can in straight VMM. Even via Cockpit you can create VMs via templates and other simple things.

                                    He's talking about virsh commands.

                                    Oh I see, I misunderstood. Makes sense now.

                                    But with oVirt, I don't have any need to run virsh commands... it's all doable through the oVirt GUI.

                                    Everything? Maybe you are talking about a very tiny and non-production environment now… you are missing the best part, scripting and automation!
                                    How can you possibly manage without automation
                                    an environment of 50+ VMs without babysitting everyday?

                                    For instance, in one of my KVM environment I’ve done a tiny script that 1) check the uuid and automatic mount an external esata HDD inside a VM 2) trigger the borg backup script 3) cleanly unmount the disk and email the operator when the task is finished. It tooks half an hour write and ha saved a lot of time in the last 4 years. (Ok, I know the esata hdd is not the best backup target, but it’s the third-offsite one and there are five of that)

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

                                      @francesco-provino said in oVirt Testing:

                                      @tim_g said in oVirt Testing:

                                      @black3dynamite said in oVirt Testing:

                                      @tim_g said in oVirt Testing:

                                      @francesco-provino said in oVirt Testing:

                                      @tim_g said in oVirt Testing:

                                      @francesco-provino said in oVirt Testing:

                                      Other than that, the virtual console of the VMs is accesible only with a VNC/spice client, when Cockpit get it right with integrated console.

                                      Maybe there is much of unknowed to me in oVirt, but I find it really a mess compared to KVM.

                                      You can use remote-viewer, VNC, whatever software you want to access VMs.

                                      And even more, in the oVirt web interface (HTML5), you can simply right-click on a VM and click console. You can use spice/vnc/RD from there. Doing the spice options opens up remote-viewer anyways.

                                      You have the same access options as you do with just straight KVM... I'm not sure what you mean here.
                                      Not working from the web interface in 4.2, yet.

                                      No, I haven't access to virsh anymore, with any user included root. And saslpasswd2 won't help this time.

                                      Not sure what you mean. Maybe I'm misunderstanding you.... I have no problems at all opening up a console for a virtual console for a VM in any way.

                                      I can view the VM in virt-viewer/remote-viewer, VNC, noVNC, RDP... even launch the console via Cockpit. What else do you need? If you need to edit the configuration the VM, you can do it all through oVirt as easily as you can in straight VMM. Even via Cockpit you can create VMs via templates and other simple things.

                                      He's talking about virsh commands.

                                      Oh I see, I misunderstood. Makes sense now.

                                      But with oVirt, I don't have any need to run virsh commands... it's all doable through the oVirt GUI.

                                      Everything? Maybe you are talking about a very tiny and non-production environment now… you are missing the best part, scripting and automation!
                                      How can you possibly manage without automation
                                      an environment of 50+ VMs without babysitting everyday?

                                      For instance, in one of my KVM environment I’ve done a tiny script that 1) check the uuid and automatic mount an external esata HDD inside a VM 2) trigger the borg backup script 3) cleanly unmount the disk and email the operator when the task is finished. It tooks half an hour write and ha saved a lot of time in the last 4 years. (Ok, I know the esata hdd is not the best backup target, but it’s the third-offsite one and there are five of that)

                                      I suppose it depends on the environment. I don't have 50+ VMs running in KVM. I have one production level KVM hypervisor only running a handful. Backups automated in ReaR to an NFS file share, which goes to tape. Updates via dnf-automatic. I guess I don't really have many virsh-CLI automation needs for KVM. I can't really see needing anything at the hypervisor level beyond updates and backups... but I don't need virsh CLI to do that.

                                      All the other hypervisors are Hyper-V Server totalling around 60-70 VMs. Everything there is automated via PowerShell scripts, Group Policy, and Scheduled Tasks. Linux VMs via SaltStack and GitLab.

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

                                        I seen that oVirt can be automated via Ansible Playbooks. So I assume it's possible with Salt as well (maybe not, just assuming).

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

                                          How exactly are your VMs set up in KVM that they all require babysitting at the hypervisor level? You gave one example, but obviously there are a ton of better ways to do backups.

                                          Usually, you create a VM for whatever purpose, and let it run. Within the VM, you do your automation via your favourite method. At the hypervisor level, it's really just backups and hypervisor updates. Neither one of those needs to use the virsh cli. If you need automated migrations or VM provisioning, that can be done in oVirt from what I've seen... but I didn't get that far yet as I don't have a 2nd and 3rd node set up for testing.

                                          I've never used oVirt in production, and probably won't until I have a lot more time to test it out in a way that mimics production. I've only just begun playing with oVirt for the first time a couple months ago, then had to sideline it for a while for something else, only getting back into it now.

                                          If there are too many caveats to it, I just simply won't use it.

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

                                            The only need for automation at the hypervisor level would be automated spin up and down of servers, and that does not exist in the SMB for all intents and purposes.

                                            1 Reply Last reply Reply Quote 2
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post