4.5.2 Create Additional Gluster Logical Volumes fails
by simon@justconnect.ie
Hi,
In 4.4 adding additional gluster volumes was a simple ansible task (or via cockpit).
With 4.5.2 I tried to add new volumes but the logic has changed/broken. Here's the error I am getting:
TASK [gluster.infra/roles/backend_setup : Create volume groups] ********************************************************************************************************************************
failed: [bdtovirthcidmz02-strg.mydomain.com] (item={'key': 'gluster_vg_sda', 'value': [{'vgname': 'gluster_vg_sda', 'pvname': '/dev/sda'}]}) => {"ansible_loop_var": "item", "changed": true, "cmd": ["vgcreate", "--dataalignment", "2048K", "-s", "2048K", "gluster_vg_sda", "/dev/sda"], "delta": "0:00:00.010442", "end": "2022-11-10 13:11:16.717772", "item": {"key": "gluster_vg_sda", "value": [{"pvname": "/dev/sda", "vgname": "gluster_vg_sda"}]}, "msg": "non-zero return code", "rc": 3, "start": "2022-11-10 13:11:16.707330", "stderr": " Configuration setting \"filter\" invalid. It's not part of any section.\n /dev/gluster_vg_sda: already exists in filesystem\n Run `vgcreate --help' for more information.", "stderr_lines": [" Configuration setting \"filter\" invalid. It's not part of any section.", " /dev/gluster_vg_sda: already exists in filesystem", " Run `vgcreate --help' for more information."], "stdout": "", "stdout_lines": []}
failed: [bdtovirthcidmz03-strg.mydomain.com] (item={'key': 'gluster_vg_sda', 'value': [{'vgname': 'gluster_vg_sda', 'pvname': '/dev/sda'}]}) => {"ansible_loop_var": "item", "changed": true, "cmd": ["vgcreate", "--dataalignment", "2048K", "-s", "2048K", "gluster_vg_sda", "/dev/sda"], "delta": "0:00:00.010231", "end": "2022-11-10 13:12:35.607565", "item": {"key": "gluster_vg_sda", "value": [{"pvname": "/dev/sda", "vgname": "gluster_vg_sda"}]}, "msg": "non-zero return code", "rc": 3, "start": "2022-11-10 13:12:35.597334", "stderr": " Configuration setting \"filter\" invalid. It's not part of any section.\n /dev/gluster_vg_sda: already exists in filesystem\n Run `vgcreate --help' for more information.", "stderr_lines": [" Configuration setting \"filter\" invalid. It's not part of any section.", " /dev/gluster_vg_sda: already exists in filesystem", " Run `vgcreate --help' for more information."], "stdout": "", "stdout_lines": []}
failed: [bdtovirthcidmz01-strg.mydomain.com] (item={'key': 'gluster_vg_sda', 'value': [{'vgname': 'gluster_vg_sda', 'pvname': '/dev/sda'}]}) => {"ansible_loop_var": "item", "changed": true, "cmd": ["vgcreate", "--dataalignment", "2048K", "-s", "2048K", "gluster_vg_sda", "/dev/sda"], "delta": "0:00:00.011282", "end": "2022-11-10 13:13:24.336233", "item": {"key": "gluster_vg_sda", "value": [{"pvname": "/dev/sda", "vgname": "gluster_vg_sda"}]}, "msg": "non-zero return code", "rc": 3, "start": "2022-11-10 13:13:24.324951", "stderr": " Configuration setting \"filter\" invalid. It's not part of any section.\n /dev/gluster_vg_sda: already exists in filesystem\n Run `vgcreate --help' for more information.", "stderr_lines": [" Configuration setting \"filter\" invalid. It's not part of any section.", " /dev/gluster_vg_sda: already exists in filesystem", " Run `vgcreate --help' for more information."], "stdout": "", "stdout_lines": []}
The vg was created as part of the initial ansible build with logical volumes being added when required.
Any assistance would be greatly appreciated.
Kind regards
Simon
6 months, 2 weeks
oVirt On Rocky 8.x - Upgrade To Rocky 9.1
by Matthew J Black
Hi All,
Sorry if this was mentioned previously (I obviously missed it if it was) but can we upgrade an oVirt (latest version) Host/Cluster and/or the oVirt Engine VM from Rocky Linux (RHEL) v8.6/8.7 to v9.1 (yet), and if so, what is / where can I find the procedure to do this - ie is there anything "special" that needs to be done because of oVirt, or can we just do a "simple" v8.x +> v9.1 upgrade?
Thanks in advance
Cheers
Dulux-Oz
6 months, 2 weeks
Re: ovirt and network outages
by Gianluca Cecchi
Il Lun 20 Mar 2023, 17:32 Fedele Stabile <fedele.stabile(a)fis.unical.it> ha
scritto:
> Thank you Gianluca for your answer.
> Population of /etc/hosts as a backup with host and ovirt engine ip:
> this has already been done.
>
> Fedele
>
> ______________
>
Fedele, I think you should define better what "misaligned" means in your
case, give some details on versions in play, architecture (self hosted vs
standalone engine) and provide some logs from the engine and hosts
(preferably through a link to a file sharing service if big), so that you
can get better help.
Gianluca
>
6 months, 2 weeks
ovirt and network outages
by Fedele Stabile
Hi,
I would like to know if it is possible to configure oVirt so as not to be affected by internet connection loss.
I have three ovirt hosts and together with the switch that connects them they are powered by a UPS.
Currently, when I have an internet outage, the oVirt hosts get misaligned and the VMs shut down.
Fedele Stabile
6 months, 2 weeks
oVirt 4.5.4 - passing dot1q trunk into VM
by serh@list.ru
Hello collegues!
Is there a way to pass a dot1q trunk (all VLANs, or specified list of VLANs as an option) to a VM in oVirt 4.5.4 to define a subinterfaces (like eth0.5 , eth0.10, eth0.15 etc) over a single underlying L2 interface inside a VM instead of defining every single VM Network in oVirt and passing it into a VM as a set of untagged interfaces (eth0, eth1, eth2 etc)? Disclaimer: pls don't offer SR-IOV passthrough as a solusion =]
-----------------------
WBR, Serhio Go
6 months, 2 weeks
Error importing OVF - VM windows server 2019
by wcordero8@gmail.com
Infrastructure:
VMware ESXi, 7.0.3, 19193900
oVirt Version 4.5.4-1.el8
oVirt self-hosted engine
Steps to Reproduce:
1.Export Windows VM Microsoft Windows Server 2019 (64-bit) to OVA/OVF from VSphere with ovftool.
2. import the VM in oVirt
I don't see an error, apparently everything ends well, but the import fails.
Grep the log /var/log/vdsm/import/import- by message I see:
{ "message": "Setting up the source: -i ova /imports_ovf/Implementacion_01-Clon/", "timestamp": "2023-02-28T17:52:07.755714728-05:00", "type": "message" }
{ "message": "Opening the source", "timestamp": "2023-02-28T18:00:18.825466713-05:00", "type": "message" }
{ "message": "Inspecting the source", "timestamp": "2023-02-28T18:00:24.101543928-05:00", "type": "message" }
-q, --quiet suppress extra info messages
{ "message": "Checking for sufficient free disk space in the guest", "timestamp": "2023-02-28T18:00:37.367137882-05:00", "type": "message" }
{ "message": "Converting Windows Server 2019 Datacenter to run on KVM", "timestamp": "2023-02-28T18:00:37.367187336-05:00", "type": "message" }
{ "message": "this guest has Windows Group Policy Objects (GPO) and a new virtio block device driver was installed. In some circumstances, Group Policy may prevent new drivers from working (resulting in a 7B boot error). If this happens, try disabling Group Policy before doing the conversion.", "timestamp": "2023-02-28T18:01:01.789748487-05:00", "type": "warning" }
{ "message": "This guest has virtio drivers installed.", "timestamp": "2023-02-28T18:01:01.789934703-05:00", "type": "info" }
{ "message": "Mapping filesystem data to avoid copying unused and blank areas", "timestamp": "2023-02-28T18:01:02.152024602-05:00", "type": "message" }
{ "message": "Closing the overlay", "timestamp": "2023-02-28T18:01:07.569706626-05:00", "type": "message" }
{ "message": "Assigning disks to buses", "timestamp": "2023-02-28T18:01:07.868223883-05:00", "type": "message" }
{ "message": "Checking if the guest needs BIOS or UEFI to boot", "timestamp": "2023-02-28T18:01:07.868318538-05:00", "type": "message" }
{ "message": "This guest requires UEFI on the target to boot.", "timestamp": "2023-02-28T18:01:07.868357947-05:00", "type": "info" }
{ "message": "Setting up the destination: -o vdsm", "timestamp": "2023-02-28T18:01:07.868509025-05:00", "type": "message" }
{ "message": "Copying disk 1/3", "timestamp": "2023-02-28T18:01:11.002279668-05:00", "type": "message" }
{ "message": "Copying disk 2/3", "timestamp": "2023-02-28T18:07:59.995602736-05:00", "type": "message" }
{ "message": "Copying disk 3/3", "timestamp": "2023-02-28T18:18:09.997678507-05:00", "type": "message" }
{ "message": "Creating output metadata", "timestamp": "2023-02-28T18:18:55.349317923-05:00", "type": "message" }
{ "message": "Finishing off", "timestamp": "2023-02-28T18:18:55.380422772-05:00", "type": "message" }
Any idea what I can check?
6 months, 2 weeks
Re: [External] : Re: Error: Host is not up, please check logs, perhaps also on the engine machine
by Андрей Ваник
Hello,
OS Host Version: Rocky Linux 8.7
I try to deploy as a self-hosted engine. (
https://www.ovirt.org/documentation/installing_ovirt_as_a_self-hosted_eng...
)
Failed step on err5.jpg in attachment.
[image: err5.JPG]
And then in Engine VM I see Ansible error (attach failed_install_ovs.jpg)
Attach deployment log from host machine (zip).
Please help me understand why it doesn't work.
Thanks.
пт, 17 мар. 2023 г. в 18:45, Marcos Sungaila <marcos.sungaila(a)oracle.com>:
> Hi
>
>
>
> Let me try something.
>
>
>
> You sent some messages, but all of them needed more information.
>
> You can send as many e-mails as you need, but it will help if you provide
> enough information to help us help you.
>
>
>
> You didn’t say which OS version you use to deploy the hosted engine. Which
> oVirt version are you using?
>
> The log you sent is the ansible log, not the deployment log. It should be
> better to send both if you want.
>
> Also, a simple search for failed in your log shows your installation is
> missing some packages.
>
>
>
> Regards
>
> Marcos
>
>
>
> *From:* Андрей Ваник <staybox(a)gmail.com>
> *Sent:* Friday, March 17, 2023 9:39 AM
> *To:* users(a)ovirt.org
> *Subject:* [External] : [ovirt-users] Re: Error: Host is not up, please
> check logs, perhaps also on the engine machine
>
>
>
> I see errors in the Ovirt Engine VM.
>
> In attach.
>
>
>
> пт, 17 мар. 2023 г. в 12:37, Андрей Ваник <staybox(a)gmail.com>:
>
> Hello,
>
>
>
> We are trying to deploy ovirt hosted environment, but we are facing an
> error:
>
> Host is not up, please check logs, perhaps also on the engine machine
>
>
>
> Screenshots in attachment.
>
>
>
> Please help.
>
>
6 months, 2 weeks
Ovirt on GCP
by Hideo Goto
Dear sirs,
I installed an ovirt4.5 platform on Google Cloud (2x N1 VMs / Centos
stream8: 1 engine, 1 node / Nested virtualization enabled).
While it works well and I could import an existing VM from our onpremiss
oivrt site, I m just facing to a fundemental problem: How to assign an
IP address to Level2 VM ?
I tried to assign a static IP usually reserved for a GCP L1 VM in vain;
it cannot comunicate with outside.
If anyone could give me any advise, I would be happy.
Thanks in advance.
Hideo Goto
6 months, 3 weeks