[ovirt-users] Re: Mac addresses pool issues

2022-04-05 Thread Strahil Nikolov via Users
This one was from v3.6 but it might lead you in the correct 
direction:https://bugzilla.redhat.com/show_bug.cgi?id=1294091#c10
To be honest, I have no clue how to help. If you have backups of the engine, 
you can try to extract one of them before the issue and compare the database 
status for the macpools.

Best Regards,Strahil Nikolov
 
 
  On Wed, Mar 30, 2022 at 18:06, Nicolas MAIRE wrote:   
Hi,

We're encountering some issues on one of our production clusters running oVirt 
4.2. We've had an incident with the engine's database a few weeks back that we 
were able to recover from, however since then we've been having a bunch of 
weird issues, mostly around MACs. 

It started off with the engine being unable to find a free MAC when creating a 
VM, despite there being significantly less virtual interfaces (around 250) than 
the total number of MACs in the default pool (default configuration, so 65536 
addresses) and escalated into creating duplicate MACs (despite the pool not 
allowing it) and now we can't even modify the pool or remove VMs (since 
deleting the attached vnics fail), so we're kinda stuck with a cluster that has 
running VMs which are fine as long as we don't touch them, but on which we 
can't create new VMs (or modify the existing ones).

In the engine's log we can see that we've had an "Unable to initialize MAC pool 
due to existing duplicates (Failed with error MAC_POOL_INITIALIZATION_FAILED 
and code 5010)" error when we tried to reconfigure the pool this morning (see 
the full error stack here : https://pastebin.com/6bKMfbLn) and now whenever we 
try to delete a VM or reconfigure the pool we have a 'Pool for 
id="58ca604b-017d-0374-0220-014e" does not exist' error (see the full 
error stack here: https://pastebin.com/Huy91iig), but, if we check the engine's 
mac_pool table we can see that it's there :

engine=# select * from mac_pools;
                  id                  |  name  |  description    | 
allow_duplicate_mac_addresses | default_pool
--+-+--+---+--
 58ca604b-017d-0374-0220-014e | Default | Default MAC pool | f          
                  | t
(1 row)

engine=# select * from mac_pool_ranges;
            mac_pool_id              |    from_mac      |      to_mac
--+---+---
 58ca604b-017d-0374-0220-014e | 56:6f:1a:1a:00:00 | 56:6f:1a:1a:ff:ff
(1 row)

I found this bugzilla that seems to somehow apply 
https://bugzilla.redhat.com/show_bug.cgi?id=1554180 however I don't really know 
how to "reinitialize engine", especially considering that the mac pool was not 
configured to allow duplicate macs to begin with, and I've no idea what the 
impact of that reinitialization would be on the current VMs.

I'm quite new to oVirt (only been using it for one year) so any help would be 
greatly appreciated.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/LSUIB35MWQESOBQMA3Y4GIH4D2OGEJXC/
  
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/NLHIT3JFVVWKFY5ARYQZL2TKP2ZQL4KS/


[ovirt-users] Re: Enroll Host Certificate

2022-04-05 Thread Strahil Nikolov via Users
If it's for a single host -> set the host in maintenace and from the same drop 
down enroll the new certificate
Best Regards,Strahil Nikolov
 
 
  On Tue, Mar 29, 2022 at 21:53, Denis L. via Users wrote:   
Oh no! :) just posted here and an invalid certificate message came
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/VO2T3LWINEKN6TZJFR7IMHECFN44RWE2/
  
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/E2ZS637N3CBMI734UJ6ALG7JRF6GQNCJ/


[ovirt-users] Re: Storage Design Question - GlusterFS

2022-04-05 Thread Strahil Nikolov via Users
1 - use 100 GB for the HostedEngine VM, separate storage domain for the other 
VMs
2 - Replica 3 means that each VM disk will have 3 identical copies ( split into 
tiny pieces) and usually you don't need more copies.When you decide to add more 
storage -> you can add 3 more bricks (term for server+mountpoint) , expand the 
volume and then rebalance (necessary in order to twll gluster about the new 
storage location and to balance the usage among subvolumes)
Best Regards,Strahil Nikolov
 
 
  On Tue, Apr 5, 2022 at 12:18, 
mohamedrous...@peopleintouch.com wrote:   
Hello,
we are designing a new production cluster, and I have to questsions about 
GlusterFS please:
1- this quote from the documentation os not clear to me "    
Creating additional data domains in the same data center as the self-hosted 
engine storage domain is highly recommended. If you deploy the self-hosted 
engine in a data center with only one active data storage domain, and that 
storage domain is corrupted, you will not be able to add new storage domains or 
remove the corrupted storage domain; you will have to redeploy the self-hosted 
engine." Does this mean that we should have more than one "Data" domain? or 
here this paragraph is talking about sharing a single domain for both the 
hosted-engine and VMs?
2- the documentation mentioned that Replica 1 or Replica 3 are only supported, 
but is this only for the hosted-engine volume? or also for Data volumes? so the 
max is only 3? and waht if I wanted to expand capacity later?

Thank you,
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/7VKXYCFLK73ADHUXST6LM2XIQC6S4LDP/
  
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/7PTDBWAV3X6XCLCKJHJ6SJ2HBUBGF4J5/


[ovirt-users] Re: Couldn't connect to VDSM within 60 seconds

2022-04-05 Thread Strahil Nikolov via Users
what is the status of the vdsmd.service & supervdsmd.service ?
Best Regards,Strahil Nikolov
 
 
  On Tue, Apr 5, 2022 at 17:39, pasquale.borrelli--- via Users 
wrote:   Hi,

we have 3 hosts and a self-hosted engine VM (ovirt version 4.4.).
After rebooting all the hosts, we are unable to start the VM hosted-engine. In 
particular, the output of 'hosted-engine --vm-start' is as follows:
"The hosted engine configuration has not been retrieved from shared storage yet,
for more details please check sanlock status."

We checked the sanlock, ovirt-ha-agent and broker status but all are "active 
(running)".

Checking the log files, all share the common error "RuntimeError: Couldn't  
connect to VDSM within 60 second", returned in loop.
In the vdsm.log we found this error:
"
2022-04-05 16:20:11,786+0200 INFO  (periodic/0) [vdsm.api] START 
repoStats(domains=()) from=internal, 
task_id=8541000f-e7fd-4b59-8ae6-522c87538688 (api:48)
2022-04-05 16:20:11,786+0200 INFO  (periodic/0) [vdsm.api] FINISH repoStats 
return={} from=internal, task_id=8541000f-e7fd-4b59-8ae6-522c87538688 (api:54)
2022-04-05 16:20:11,789+0200 WARN  (periodic/0) [root] Failed to retrieve 
Hosted Engine HA info, is Hosted Engine setup finished? (api:168)
"

We tried googling to resolve this issue but, unfortunately, unsuccessfully.

Can someone help us to solve our critical issue?

Bests,
Pasquale
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/X7S47EIM4U46STEMAGEUSXKAWUV2MT2M/
  
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/TAYQAOL77ROYM4T6HLM2RR4OJEA5UXMH/


[ovirt-users] Re: How to list all snapshots?

2022-04-05 Thread Jorge Visentini
I mean all the snapshots I happen to have, of all the VMs. Not just one.

I mean, make a list containing them all.
Good, but now I'm going to follow one of these ways and adjust a script to
fetch them all.

Thanks.

Em seg., 4 de abr. de 2022 às 17:31, Nir Soffer 
escreveu:

> On Mon, Apr 4, 2022 at 9:05 PM  wrote:
> >
> > Hello everyone!
> >
> > First, I would like to thank everyone involved in this wonderful
> project. I leave here my sincere thanks!
> >
> > Does anyone know if it is possible to list all snapshots automatically?
> It can be by ansible, python, shell... any way that helps to list them all
> without having to enter Domain by Domain.
>
> I'm not sure what you mean by "all" snapshots? All snapshots of a vm?
>
> You can try the API in a browser, for example this list all the
> snapshots of one vm:
>
>
> https://engine.local/ovirt-engine/api/vms/4a964ea0-c9f8-48d4-8fc1-aa8eee04c7c7/snapshots
>
> If you want easier to use way the python sdk can help, see:
>
> https://github.com/oVirt/python-ovirt-engine-sdk4/blob/main/examples/list_vm_snapshots.py
>
> Nir
>
>

-- 
Att,
Jorge Visentini
+55 55 98432-9868
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/CMAIPGCGZUWOPZ2WYBV2K5ROBCUC77TT/


[ovirt-users] Couldn't connect to VDSM within 60 seconds

2022-04-05 Thread pasquale.borrelli--- via Users
Hi,

we have 3 hosts and a self-hosted engine VM (ovirt version 4.4.).
After rebooting all the hosts, we are unable to start the VM hosted-engine. In 
particular, the output of 'hosted-engine --vm-start' is as follows:
"The hosted engine configuration has not been retrieved from shared storage yet,
for more details please check sanlock status."

We checked the sanlock, ovirt-ha-agent and broker status but all are "active 
(running)".

Checking the log files, all share the common error "RuntimeError: Couldn't  
connect to VDSM within 60 second", returned in loop.
In the vdsm.log we found this error:
"
2022-04-05 16:20:11,786+0200 INFO  (periodic/0) [vdsm.api] START 
repoStats(domains=()) from=internal, 
task_id=8541000f-e7fd-4b59-8ae6-522c87538688 (api:48)
2022-04-05 16:20:11,786+0200 INFO  (periodic/0) [vdsm.api] FINISH repoStats 
return={} from=internal, task_id=8541000f-e7fd-4b59-8ae6-522c87538688 (api:54)
2022-04-05 16:20:11,789+0200 WARN  (periodic/0) [root] Failed to retrieve 
Hosted Engine HA info, is Hosted Engine setup finished? (api:168)
"

We tried googling to resolve this issue but, unfortunately, unsuccessfully.

Can someone help us to solve our critical issue?

Bests,
Pasquale
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/X7S47EIM4U46STEMAGEUSXKAWUV2MT2M/


[ovirt-users] Storage Design Question - GlusterFS

2022-04-05 Thread mohamedroushdy
Hello,
we are designing a new production cluster, and I have to questsions about 
GlusterFS please:
1- this quote from the documentation os not clear to me "   
Creating additional data domains in the same data center as the self-hosted 
engine storage domain is highly recommended. If you deploy the self-hosted 
engine in a data center with only one active data storage domain, and that 
storage domain is corrupted, you will not be able to add new storage domains or 
remove the corrupted storage domain; you will have to redeploy the self-hosted 
engine." Does this mean that we should have more than one "Data" domain? or 
here this paragraph is talking about sharing a single domain for both the 
hosted-engine and VMs?
2- the documentation mentioned that Replica 1 or Replica 3 are only supported, 
but is this only for the hosted-engine volume? or also for Data volumes? so the 
max is only 3? and waht if I wanted to expand capacity later?

Thank you,
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/7VKXYCFLK73ADHUXST6LM2XIQC6S4LDP/


[ovirt-users] Synology NAS

2022-04-05 Thread Keith Forman via Users

Hi all

I just wanted to find out if anyone has had any success configuring 2x 
Synology NAS devices in a High Availability setup as the storage for 
their Ovirt environment?


So that if the active NAS goes down, the passive NAS takes over?


Regards

--___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/T23WOS6CVIMWNONKBZ6YBW66W7HLRHAP/