Re: Error during deployment of ovirt-engine
by Peter H
Hi Jonas,
I get the same error when I try to install. Last weekend I managed to do it
(but with a lot of other problems) so something has changed during the week.
After the VM is up I logged in through ssh and saw that the oVirt appliance
comes with Python-3.6 and Python-3.8 which both have netaddr installed.
Part of the log:
...
[ INFO ] TASK [ovirt.ovirt.engine_setup : Update setup packages]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.ovirt.engine_setup : Copy yum configuration file]
[ INFO ] changed: [localhost -> 192.168.222.35]
[ INFO ] TASK [ovirt.ovirt.engine_setup : Set 'best' to false]
[ INFO ] changed: [localhost -> 192.168.222.35]
[ INFO ] TASK [ovirt.ovirt.engine_setup : Update all packages]
[ INFO ] changed: [localhost -> 192.168.222.35]
[ INFO ] TASK [ovirt.ovirt.engine_setup : Remove temporary yum
configuration file]
[ INFO ] changed: [localhost -> 192.168.222.35]
[ INFO ] TASK [ovirt.ovirt.engine_setup : Set offline parameter if
variable is set]
...
I noticed that after the task "Update all packages" Python-3.9 gets
installed and that version does not have netaddr installed. My theory is
that the playbook somehow uses the newest version of Python which is
installed.
pip3.9 list
Package Version
------------ -------
ansible-core 2.13.3
cffi 1.14.3
cryptography 3.3.1
idna 2.10
pip 20.2.4
ply 3.11
pycparser 2.20
PyYAML 5.4.1
setuptools 50.3.2
six 1.15.0
I have tried another run where I installed the netaddr module as soon as
Python-3.9 got installed and that installation went further but then it had
another error.
When I log into my hosted engine VM from last week there is no Python-3.9.
My dnf(1) skills are not good enough to figure out which dependency is
causing Python-3.9 to be installed.
There are probably a lot of other modules missing that can explain the
other error(s) I see.
I will see if I can find out how to file a proper bug report.
BR
Peter
2 years, 4 months
Re: Should I migrate existing oVirt Engine, or deploy new?
by David White
Hi Paul,
Thanks for the response.
I think you're suggesting that I take a hybrid approach, and do a restore of the current Engine onto the new VM. I hadn't thought about this option.
Essentially what I was considering was either:
- Export to OVA or something
OR
- Build a completely new oVirt engine with a completely new domain, etc... and try to live migrate the VMs from the old engine to the new engine.
Do I understand you correctly that you're suggesting I install the OS onto a new VM, and try to do a restore of the oVirt settings onto the new VM (after I put the cluster into Global maintenance mode and shutdown the old oVirt)?
Sent with Proton Mail secure email.
------- Original Message -------
On Friday, August 19th, 2022 at 10:46 AM, Staniforth, Paul <P.Staniforth(a)leedsbeckett.ac.uk> wrote:
> Hello David,
> I don't think there's a documentated method to go from a Hosted Engine to standalone just the other way standalone to HE.
>
> I would suggest doing a full backup of the engine prepare the new VM and restore to that rather than trying to export it.
> This way you can shut down the original engine and run the new engine VM to test it works as you will be able to restart the original engine if it doesn't work.
>
> Regards,
> Paul S.
>
>
>
>
>
> From: David White via Users <users(a)ovirt.org>
> Sent: 19 August 2022 15:27
> To: David White <dmwhite823(a)protonmail.com>
> Cc: oVirt Users <users(a)ovirt.org>
> Subject: [ovirt-users] Re: Should I migrate existing oVirt Engine, or deploy new?
>
> Caution External Mail: Do not click any links or open any attachments unless you trust the sender and know that the content is safe.
>
> In other words, I want to migrate the Engine from a hyperconverged environment into a stand-alone setup.
>
>
> Sent with Proton Mail secure email.
>
> ------- Original Message -------
> On Friday, August 19th, 2022 at 10:17 AM, David White via Users <users(a)ovirt.org> wrote:
>
>
> > Hello,
> > I have just purchased a Synology SA3400 which I plan to use for my oVirt storage domain(s) going forward. I'm currently using Gluster storage in a hyperconverged environment.
> >
> > My goal now is to:
> >
> > - Use the Synology Virtual Machine manager to host the oVirt Engine on the Synology
> > - Setup NFS storage on the Synology as the storage domain for all VMs in our environment
> > - Migrate all VM storage onto the new NFS domain
> > - Get rid of Gluster
> >
> >
> > My first step is to migrate the oVirt Engine off of Gluster storage / off the Hyperconverged hosts into the Synology Virtual Machine manager.
> >
> > Is it possible to migrate the existing oVirt Engine (put the cluster into Global Maintenance Mode, shutdown oVirt, export to VDI or something, and then import into Synology's virtualization)? Or would it be better for me to install a completely new Engine, and then somehow migrate all of the VMs from the old engine into the new engine?
> >
> > Thanks,
> > David
> >
> >
> > Sent with Proton Mail secure email.
>
> To view the terms under which this email is distributed, please go to:-
> https://leedsbeckett.ac.uk/disclaimer/email
2 years, 4 months
Migrating VM from old ovirt to a new one
by Facundo Badaracco
Hi everyone
I would like to ask you a question
I have an ovirt 4.4 which got corrupted certs and I can't access the gui.
It gives me error 500 internal when I want to access.
I have a new ovirt 4.5 on glusterfs which I would like to migrate all my
vm's to.
Is this possible? Can it be done by cli? It would save me from having to
reinstall all the vm's.
2 years, 4 months
Gluster setup for oVirt
by Jonas
Hello all
I tried to setup Gluster volumes in cockpit using the wizard. Based on
Red Hat's recommendations I wanted to put the Volume for the oVirt
Engine on a thick provisioned logical volume [1] and therefore removed
the line thinpoolname and corresponding configuration from the yml file
(see below). Unfortunately, this approach was not successful. My
solution is now to only create a data volume and manually create a thick
provisioned gluster volume manually. What would you recommend doing?
Thanks your any input :)
Regards,
Jonas
[1]:
https://access.redhat.com/documentation/en-us/red_hat_hyperconverged_infr...
hc_nodes:
hosts:
server-005.storage.int.rabe.ch:
gluster_infra_volume_groups:
- vgname: vg_tier1_01
pvname: /dev/md/raid_tier1_gluster
gluster_infra_mount_devices:
- path: /gluster_bricks/tier1-ovirt-engine-01/gb-01
lvname: lv_tier1_ovirt_engine_01
vgname: vg_tier1_01
- path: /gluster_bricks/tier1-ovirt-data-01/gb-01
lvname: lv_tier1_ovirt_data_01
vgname: vg_tier1_01
blacklist_mpath_devices:
- raid_tier1_gluster
gluster_infra_thinpools:
- vgname: vg_tier1_01
thinpoolname: lv_tier1_ovirt_data_01_tp
poolmetadatasize: 16G
gluster_infra_lv_logicalvols:
- vgname: vg_tier1_01
lvname: lv_tier1_ovirt_engine_01
lvsize: 100G
- vgname: vg_tier1_01
thinpool: lv_tier1_ovirt_data_01_tp
lvname: lv_tier1_ovirt_data_01
lvsize: 16000G
server-006.storage.int.rabe.ch:
gluster_infra_volume_groups:
- vgname: vg_tier1_01
pvname: /dev/md/raid_tier1_gluster
gluster_infra_mount_devices:
- path: /gluster_bricks/tier1-ovirt-engine-01/gb-01
lvname: lv_tier1_ovirt_engine_01
vgname: vg_tier1_01
- path: /gluster_bricks/tier1-ovirt-data-01/gb-01
lvname: lv_tier1_ovirt_data_01
vgname: vg_tier1_01
blacklist_mpath_devices:
- raid_tier1_gluster
gluster_infra_thinpools:
- vgname: vg_tier1_01
thinpoolname: lv_tier1_ovirt_data_01_tp
poolmetadatasize: 16G
gluster_infra_lv_logicalvols:
- vgname: vg_tier1_01
lvname: lv_tier1_ovirt_engine_01
lvsize: 100G
- vgname: vg_tier1_01
thinpool: lv_tier1_ovirt_data_01_tp
lvname: lv_tier1_ovirt_data_01
lvsize: 16000G
server-007.storage.int.rabe.ch:
gluster_infra_volume_groups:
- vgname: vg_tier0_01
pvname: /dev/md/raid_tier0_gluster
gluster_infra_mount_devices:
- path: /gluster_bricks/tier1-ovirt-engine-01/gb-01
lvname: lv_tier1_ovirt_engine_01
vgname: vg_tier0_01
- path: /gluster_bricks/tier1-ovirt-data-01/gb-01
lvname: lv_tier1_ovirt_data_01
vgname: vg_tier0_01
blacklist_mpath_devices:
- raid_tier0_gluster
gluster_infra_thinpools:
- vgname: vg_tier0_01
thinpoolname: lv_tier1_ovirt_data_01_tp
poolmetadatasize: 1G
gluster_infra_lv_logicalvols:
- vgname: vg_tier0_01
lvname: lv_tier1_ovirt_engine_01
lvsize: 20G
- vgname: vg_tier0_01
thinpool: lv_tier1_ovirt_data_01_tp
lvname: lv_tier1_ovirt_data_01
lvsize: 32G
vars:
gluster_infra_disktype: JBOD
gluster_infra_daling: 1024K
gluster_set_selinux_labels: true
gluster_infra_fw_ports:
- 2049/tcp
- 54321/tcp
- 5900/tcp
- 5900-6923/tcp
- 5666/tcp
- 16514/tcp
gluster_infra_fw_permanent: true
gluster_infra_fw_state: enabled
gluster_infra_fw_zone: public
gluster_infra_fw_services:
- glusterfs
gluster_features_force_varlogsizecheck: false
cluster_nodes:
- server-005.storage.int.rabe.ch
- server-006.storage.int.rabe.ch
- server-007.storage.int.rabe.ch
gluster_features_hci_cluster: '{{ cluster_nodes }}'
gluster_features_hci_volumes:
- volname: tier1-ovirt-engine-01
brick: /gluster_bricks/tier1-ovirt-engine-01/gb-01
arbiter: 1
- volname: tier1-ovirt-data-01
brick: /gluster_bricks/tier1-ovirt-data-01/gb-01
arbiter: 1
2 years, 4 months
static IP with OVN subnet
by ravi k
Hello,
Hope you are all doing well. We have an interesting thing going on and so wanted to share with you all for some ideas and feedback.
We configured a cluster with OVS switch and added an external network with subnet. So OVN started managing the subnet using DHCP. But here's the problem. When we add a nic with this network, an ip is assigned by DHCP. But we want an IP of our choice to be assigned. Here's what we tried.
1. We tried using the ovn-nbctl lsp-set-address like ovn-nbctl lsp-set-addresses 7840c97b-73c2-4246-a2a8-0e9e5b7f420a "56:6f:6b:54:00:ec 10.19.3.8" to update the static IP. But this does not persist a NIC unplug or a VM reboot.
So you might ask why not just try assigning a static IP and not add the external subnet. We want to use security groups. For security groups to work, the ip assigned to the NIC and the IP in the value for fixed_ips in `openstack port show` should be the same. So the same thing repeats here as well. If we use the `openstack port set` to update the fixed_ips, a NIC unplug or a VM reboot will remove the IP.
We have an internal IPAM that provides us IPs during our automated provisioning. Did anyone try this or have any ideas how to work around this? The only option seems to be just use DHCP and then update that IP in our internal IPAM tool.
Please let me know if I'm unclear and any more info is required.
Regards,
rav
2 years, 4 months
Re: Network usage for VMs not displayed
by jplorier@gmail.com
Hi, I have the same scenario with 4.0 setup
El vie, 16 de sep. de 2022 5:58 a. m., <users-request(a)ovirt.org> escribió:
> Send Users mailing list submissions to
> users(a)ovirt.org
>
> To subscribe or unsubscribe via email, send a message with subject or
> body 'help' to
> users-request(a)ovirt.org
>
> You can reach the person managing the list at
> users-owner(a)ovirt.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Users digest..."Today's Topics:
>
> 1. Re: Error during deployment of ovirt-engine (Jonas)
> 2. Re: Error during deployment of ovirt-engine (Yedidyah Bar David)
> 3. Resize hosted-engine disk (Jorge Visentini)
> 4. Network usage for VMs not displayed (0%) (Ricardo Alonso)
>
>
>
> ---------- Forwarded message ----------
> From: Jonas <jonas(a)rabe.ch>
> To: Yedidyah Bar David <didi(a)redhat.com>, oVirt Users <users(a)ovirt.org>
> Cc:
> Bcc:
> Date: Thu, 15 Sep 2022 21:46:37 +0200
> Subject: [ovirt-users] Re: Error during deployment of ovirt-engine
> Ok, thanks for the info. Do you have any further information?
>
> On 9/15/22 09:11, Yedidyah Bar David wrote:
> > On Wed, Sep 14, 2022 at 11:31 PM Jonas <jonas(a)rabe.ch> wrote:
> >> Ok even after resetting the password through SSH it is not accepted on
> the web page.
> >>
> >> [root@ovirt-engine-test ~]# ovirt-aaa-jdbc-tool user password-reset
> admin --password-valid-to="2222-09-14 20:07:39Z" --password="interactive:"
> --force
> >> Picked up JAVA_TOOL_OPTIONS: -Dcom.redhat.fips=false
> >> Password:
> >> Reenter password:
> >> updating user admin...
> >> user updated successfully
> >>
> >> On 9/14/22 21:40, Jonas wrote:
> >>
> >> Hello all
> >>
> >> I'm trying to deploy an oVirt Engine through the cockpit interface.
> Unfortunately the deployment fails with the following error:
> > Sorry, but the cockpit hosted-engine deployment is broken. Please use
> > the CLI. Thanks.
> >
> > Best regards,
>
>
> ---------- Forwarded message ----------
> From: Yedidyah Bar David <didi(a)redhat.com>
> To: Jonas <jonas(a)rabe.ch>
> Cc: oVirt Users <users(a)ovirt.org>
> Bcc:
> Date: Thu, 15 Sep 2022 23:01:26 +0300
> Subject: [ovirt-users] Re: Error during deployment of ovirt-engine
> On Thu, Sep 15, 2022 at 10:46 PM Jonas <jonas(a)rabe.ch> wrote:
> >
> > Ok, thanks for the info. Do you have any further information?
>
> Not sure what you mean. How to deploy HE using the CLI? Here:
>
>
> https://www.ovirt.org/documentation/installing_ovirt_as_a_self-hosted_eng...
>
> Best regards,
>
> >
> > On 9/15/22 09:11, Yedidyah Bar David wrote:
> > > On Wed, Sep 14, 2022 at 11:31 PM Jonas <jonas(a)rabe.ch> wrote:
> > >> Ok even after resetting the password through SSH it is not accepted
> on the web page.
> > >>
> > >> [root@ovirt-engine-test ~]# ovirt-aaa-jdbc-tool user password-reset
> admin --password-valid-to="2222-09-14 20:07:39Z" --password="interactive:"
> --force
> > >> Picked up JAVA_TOOL_OPTIONS: -Dcom.redhat.fips=false
> > >> Password:
> > >> Reenter password:
> > >> updating user admin...
> > >> user updated successfully
> > >>
> > >> On 9/14/22 21:40, Jonas wrote:
> > >>
> > >> Hello all
> > >>
> > >> I'm trying to deploy an oVirt Engine through the cockpit interface.
> Unfortunately the deployment fails with the following error:
> > > Sorry, but the cockpit hosted-engine deployment is broken. Please use
> > > the CLI. Thanks.
> > >
> > > Best regards,
> >
>
>
> --
> Didi
>
>
>
> ---------- Forwarded message ----------
> From: Jorge Visentini <jorgevisentini(a)gmail.com>
> To: users <users(a)ovirt.org>
> Cc:
> Bcc:
> Date: Fri, 16 Sep 2022 00:53:15 -0300
> Subject: [ovirt-users] Resize hosted-engine disk
> Hi all.
> Is it possible to resize the disk of the HostedEngine VM?
> I resized the LUN on Storage, but I can't resize the disk/LVM.
>
> How is it possible to resize the disk?
>
> All the best!
> --
> Att,
> Jorge Visentini
> +55 55 98432-9868
>
>
>
> ---------- Forwarded message ----------
> From: Ricardo Alonso <ricardoalonsos(a)gmail.com>
> To: users <users(a)ovirt.org>
> Cc:
> Bcc:
> Date: Fri, 16 Sep 2022 09:57:48 +0100
> Subject: [ovirt-users] Network usage for VMs not displayed (0%)
> Hello guys,
>
> I notice for several weeks that the network usage is displaying 0% for all
> VMs. I notice an old message (
> https://lists.ovirt.org/archives/list/users@ovirt.org/thread/NNK6ERGAWDGI...)
> but still seems to have no solution.
>
> Also on Grafana, no data is displayed. Has anyone noticed this issue? I
> can open a bug to verify.
>
> Best regards,
> --
> Ricardo Alonso
> ricardoalonsos(a)gmail.com
> +44 7340-546916
> Skype: ricardoalonso
> GPG Fingerprint: FC7E 4A5F B7A4
> 87F4 6876 5325 D95F BFBF B7AC EE54
> _______________________________________________
> Users mailing list -- users(a)ovirt.org
> To unsubscribe send an email to users-leave(a)ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
>
2 years, 4 months
Resize hosted-engine disk
by Jorge Visentini
Hi all.
Is it possible to resize the disk of the HostedEngine VM?
I resized the LUN on Storage, but I can't resize the disk/LVM.
How is it possible to resize the disk?
All the best!
--
Att,
Jorge Visentini
+55 55 98432-9868
2 years, 4 months