[ovirt-users] Re: 4.3.10 cannot start VMs because of an error with USB

2022-07-13 Thread lizhij...@fujitsu.com
I recalled that i got similar error if i changed the default usb controllers to 
the error ones by before vm start hook.
I think you can try to check the ovirt-engine log where it will throw more 
details



On 13/07/2022 08:43, Pascal D wrote:
> I am still running 4.3.10 and suddenly I get this error everytime I restart a 
> VM, any Vm on any host (I have 13 hosts in 2 different clusters)
>
> VM FLEETGEN-PCC-001 is down with error. Exit message: XML error: there is no 
> hub at port 1 in USB address bus: 0 port: 1.1.
>
> Any idea what could be different. Template hasn't changed
> ___
> 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/47SD4SCDEMISXWAYSNPTZGSH22J7LZKB/
___
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/Y7LLCOT6RVF2M4CSDPN2ADFCN2HE36D7/


[ovirt-users] Re: gluster service on the cluster is unchecked on hci cluster

2022-07-13 Thread Strahil Nikolov via Users
Well... not yet.Check if the engine detects the volumes and verify again that 
all glustereventsd work.
I would even consider restarting the engine, just to be on the safe side.
What is your oVirt version ? Maybe an update could solve your problem.
Best Regards,Strahil Nikolov 
 
 
  On Wed, Jul 13, 2022 at 17:05, Jiří Sléžka wrote:   On 
7/13/22 14:53, Jiří Sléžka wrote:
> On 7/12/22 22:28, Strahil Nikolov wrote:
>> glustereventad will notify the engine when something changes - like a 
>> new volume is created from the cli (or bad things happened ;) ), so it 
>> should be running. >
>> You can use the workaround from the github issue and reatart the 
>> glustereventsd service.
> 
> ok, workaround applied, glustereventsd service enabled and started on 
> all hosts.
> 
> I can see this log entry in volume Events
> 
> Detected change in status of brick 
> 10.0.4.11:/gluster_bricks/engine/engine of volume engine of cluster 
> McHosting from UNKNOWN to UP via gluster event.
> 
> but Bricks tab shows still two (.12 and .13) of three bricks in Unknown 
> state. From command line point of view all bricks are up and healthy.
> 
> it looks like engine thinks that gluster service is disabled in cluster 
> but I cannot enable it because checkbox is disabled. In my other (FC 
> based) oVirt instance Gluster Service checkbox is not selected but not 
> disabled. So I am interested what could make that checkbox inactive...

well, on db side it looks like cluster has gluster_service disabled...

engine=# select virt_service, gluster_service from cluster;
  virt_service | gluster_service
--+-
  t            | f
(1 row)

still don't know why the checkbox is disabled. Would it be safe to 
enabled gluster_service directly in db? I suppose no... :-)

Cheers,

Jiri

> 
>> For the vdsm, you can always run 
>> '/usr/libexec/vdsm/vdsmd_init_common.sh --pre-start' which is executed 
>> by the vdsmd.service before every start (ExecStartPre stanza) and see 
>> if it complains about something.
> 
> [root@ovirt-hci03 ~]# /usr/libexec/vdsm/vdsmd_init_common.sh --pre-start
> vdsm: Running mkdirs
> vdsm: Running configure_vdsm_logs
> vdsm: Running run_init_hooks
> vdsm: Running check_is_configured
> sanlock is configured for vdsm
> lvm is configured for vdsm
> abrt is already configured for vdsm
> Managed volume database is already configured
> Current revision of multipath.conf detected, preserving
> libvirt is already configured for vdsm
> vdsm: Running validate_configuration
> SUCCESS: ssl configured to true. No conflicts
> vdsm: Running prepare_transient_repository
> vdsm: Running syslog_available
> vdsm: Running nwfilter
> vdsm: Running dummybr
> vdsm: Running tune_system
> vdsm: Running test_space
> vdsm: Running test_lo
> 
> retcode 0, all looks ok...
> 
> Cheers,
> 
> Jiri
> 
>>
>>
>> Best Regards,
>> Strahil Nikolov
>>
>>     On Tue, Jul 12, 2022 at 11:12, Jiří Sléžka
>>      wrote:
>>     On 7/11/22 16:22, Jiří Sléžka wrote:
>>  > On 7/11/22 15:57, Strahil Nikolov wrote:
>>  >> Can you check for AVC denials and the error message like the
>>     described
>>  >> in
>>  >>
>>    
>> https://github.com/gluster/glusterfs-selinux/issues/27#issue-1097225183
>>    
>> >  >?
>>  >
>>  > thanks for reply, there are two unrelated (qemu-kvm) avc denials
>>     logged
>>  > (related probably to sanlock recovery)
>>  >
>>  > also I cannot find glustereventsd in any related log... is it 
>> really
>>  > used by vdsm-gluster?
>>  >
>>  > this service runs on no hosts
>>  >
>>  > systemctl status glustereventsd
>>  > ● glustereventsd.service - Gluster Events Notifier
>>  >     Loaded: loaded 
>> (/usr/lib/systemd/system/glustereventsd.service;
>>  > disabled; vendor preset: disabled)
>>  >     Active: inactive (dead)
>>
>>     it looks like root of the problem is that Gluster service is
>>     disabled in
>>     cluster settings and cannot be enabled. But it was enabled before...
>>     also I have to manually install vdsm-gluster when I (re)install new
>>     host, but bricks from this host are in unknown state in admin. Maybe
>>     vdsm-gluster is not correctly configured? Maybe glustereventsd is not
>>     running? I am just guessing...
>>
>>     I have no access to other HCI installation so I cannot compare
>>     differences.
>>
>>     I would be really happy if someone could tell me what circumstances
>>     could disable Gluster service checkbox in admin and how to enable it
>>     again...
>>
>>     Cheers,
>>
>>     Jiri
>>
>>
>>  >
>>  > Cheers,
>>  >
>>  > Jiri
>>  >
>>  >
>>  >>
>>  >>
>>  >> Best Regards,
>>  >> Strahil Nikolov
>>  >>
>>  >>     On Mon, Jul 11, 2022 at 16:44, Jiří Sléžka
>>  >>     mailto:jiri.sle...@slu.cz>> wrote:
>>  >>     Hello,
>>  >>
>>  >>     On 7/11/22 14:34, 

[ovirt-users] Re: Seeking best performance on oVirt cluster

2022-07-13 Thread Strahil Nikolov via Users
I would consider using smaller templates .Also, give it a try with iSCSI.
Best Regards,Strahil Nikolov 
 
 
  On Wed, Jul 13, 2022 at 3:10, Pascal D wrote:   I 
have experienced the same performance problem in creating new template or 
creating new stateful image from template. I have traced it to the use of 
qemu-img convert which is very very slow. 

Currently a template creation on my setup, takes around 29m for a 45G image 
when a simple copy over NFS  takes 1m26s over a 10G network which is expected 
since there is roughly as many read as write over the network (4Gbps)

Adding --cache writeback to qemu-img improves from 29m to around 8m but 
according to a prior comment on this mailing list might not work on all 
platform.

Hope that helps
___
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/XWUDXA47L72FUHT4DSHZTR634P5HMYIS/
  
___
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/J4MLU47DGPRIGLUMPBBVS4XEN5SDDCDM/


[ovirt-users] Re: Import KVM VMs on individual iSCSI luns

2022-07-13 Thread spcts1 spcts1
Thank you Nir - this was very helpful.
It would be so much easier configuring this in a greenfield environment.  Now 
I'm battling network/bridge issues.  Probably due to the fact that I 
pre-created the bonds and bridges on the Hosts.  It looks like I'll need to 
backtrack and do some of that work within oVirt.
___
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/OB5BUSAUVA2LBNOVILG5QWY44RFGFQ32/


[ovirt-users] Re: VM Migration Failed

2022-07-13 Thread KSNull Zero
Moreover - host now stuck in PreparingForMaintenance status because VM 
migration does not working.
Any solutions ?
___
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/W2FZN3AC6OQSXGIJSGYHTNS7ZSLFM3T2/


[ovirt-users] Re: Cannot deserialize - engine doesn't start

2022-07-13 Thread Benny Zlotnik
Thanks, I posted a fix[1], please share the bug link after you submit
it and I'll attach the PR to it

[1] https://github.com/oVirt/ovirt-engine/pull/526

On Wed, Jul 13, 2022 at 5:26 PM Giulio Casella  wrote:
>
> Done!
> After deleting some rows present in command_entities table (those that
> hadn't a job with a correlationId in job table) the engine restarted.
>
> I'll file a bugzilla for this issue.
>
> Thank you Benny.
>
> Ciao,
> gc
>
>
> On 13/07/2022 15:29, Benny Zlotnik wrote:
> > I will very carefully say yes, but please backup the engine before you do 
> > that
> >
> > On Wed, Jul 13, 2022 at 1:59 PM Giulio Casella  wrote:
> >>
> >>
> >>
> >> On 13/07/2022 12:54, Benny Zlotnik wrote:
> >>> On Wed, Jul 13, 2022 at 1:48 PM Giulio Casella  wrote:
> 
>  Thanks Benny,
> 
>  On 13/07/2022 12:20, Benny Zlotnik wrote:
> > Thanks, is the operation complete? If yes, you can remove the rows
> > referencing command_id 6ae544f6-b608-4d8d-9f99-eabd5d5db0ad from
> > command_entities
> 
>  How can I know if the operation is completed? I've no access to admin
>  portal anymore...
> >>> Right, I forgot about this...
> >>>
>  The only things I know are:
>  - there are 2 command in command_entities referencing command_id
>  6ae544f6-b608-4d8d-9f99-eabd5d5db0ad: the
>  6ae544f6-b608-4d8d-9f99-eabd5d5db0ad itself and another one referencing
>  it as a parent
>  - both of them are marked as ENDED_SUCCESSFULLY in the status field
>  - other commands in table exists, 3 of them marked as active (none of
>  them references 6ae544f6-b608-4d8d-9f99-eabd5d5db0ad)
> >>>
> >>> You can check in the job table,
> >>>
> >>> select *
> >>> from job
> >>> where correlation_id = 'd19c0b79-76dd-40df-af41-fc18e59bb536';
> >>
> >> No job returned from job query.
> >> Can I proceed to remove 2 rows from command_entities referencing
> >> 6ae544f6-b608-4d8d-9f99-eabd5d5db0ad?
> >>
> >>
> >> Thanks,
> >> gc
> >>
> >
>
___
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/JEYXUTWMTYCELW5Y72B2VDZRYZULLXYM/


[ovirt-users] Re: Cannot deserialize - engine doesn't start

2022-07-13 Thread Giulio Casella

Done!
After deleting some rows present in command_entities table (those that 
hadn't a job with a correlationId in job table) the engine restarted.


I'll file a bugzilla for this issue.

Thank you Benny.

Ciao,
gc


On 13/07/2022 15:29, Benny Zlotnik wrote:

I will very carefully say yes, but please backup the engine before you do that

On Wed, Jul 13, 2022 at 1:59 PM Giulio Casella  wrote:




On 13/07/2022 12:54, Benny Zlotnik wrote:

On Wed, Jul 13, 2022 at 1:48 PM Giulio Casella  wrote:


Thanks Benny,

On 13/07/2022 12:20, Benny Zlotnik wrote:

Thanks, is the operation complete? If yes, you can remove the rows
referencing command_id 6ae544f6-b608-4d8d-9f99-eabd5d5db0ad from
command_entities


How can I know if the operation is completed? I've no access to admin
portal anymore...

Right, I forgot about this...


The only things I know are:
- there are 2 command in command_entities referencing command_id
6ae544f6-b608-4d8d-9f99-eabd5d5db0ad: the
6ae544f6-b608-4d8d-9f99-eabd5d5db0ad itself and another one referencing
it as a parent
- both of them are marked as ENDED_SUCCESSFULLY in the status field
- other commands in table exists, 3 of them marked as active (none of
them references 6ae544f6-b608-4d8d-9f99-eabd5d5db0ad)


You can check in the job table,

select *
from job
where correlation_id = 'd19c0b79-76dd-40df-af41-fc18e59bb536';


No job returned from job query.
Can I proceed to remove 2 rows from command_entities referencing
6ae544f6-b608-4d8d-9f99-eabd5d5db0ad?


Thanks,
gc







smime.p7s
Description: S/MIME Cryptographic Signature
___
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/GB4LRJCYFA7WUNXN2SC7XZEZLBDBGKZY/


[ovirt-users] Q: Instaling Ovirt Engine 4.4.10 on Clean CentOS 8 Stream

2022-07-13 Thread Andrei Verovski
Hi,

Since I run into a lot of problems upgrading 4.4.7 to 4.4.10, is it OK to 
install clean
CentOS-Stream-8-x86_64-20220712-dvd1.iso 

and restore from backup?
4.4.10 release long before Stream 20220712, may I run again into similar 
problems, or I need to use earlier snapshot of Stream 8 ?

I use dedicated engine PC, not hosted engine.

Thanks in advance for any suggestion(s)

Andrei
___
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/7RUJVMNTGJLB3PWDREKICP7PNX4MLNLT/


[ovirt-users] Re: gluster service on the cluster is unchecked on hci cluster

2022-07-13 Thread Jiří Sléžka

On 7/13/22 14:53, Jiří Sléžka wrote:

On 7/12/22 22:28, Strahil Nikolov wrote:
glustereventad will notify the engine when something changes - like a 
new volume is created from the cli (or bad things happened ;) ), so it 
should be running. >
You can use the workaround from the github issue and reatart the 
glustereventsd service.


ok, workaround applied, glustereventsd service enabled and started on 
all hosts.


I can see this log entry in volume Events

Detected change in status of brick 
10.0.4.11:/gluster_bricks/engine/engine of volume engine of cluster 
McHosting from UNKNOWN to UP via gluster event.


but Bricks tab shows still two (.12 and .13) of three bricks in Unknown 
state. From command line point of view all bricks are up and healthy.


it looks like engine thinks that gluster service is disabled in cluster 
but I cannot enable it because checkbox is disabled. In my other (FC 
based) oVirt instance Gluster Service checkbox is not selected but not 
disabled. So I am interested what could make that checkbox inactive...


well, on db side it looks like cluster has gluster_service disabled...

engine=# select virt_service, gluster_service from cluster;
 virt_service | gluster_service
--+-
 t| f
(1 row)

still don't know why the checkbox is disabled. Would it be safe to 
enabled gluster_service directly in db? I suppose no... :-)


Cheers,

Jiri



For the vdsm, you can always run 
'/usr/libexec/vdsm/vdsmd_init_common.sh --pre-start' which is executed 
by the vdsmd.service before every start (ExecStartPre stanza) and see 
if it complains about something.


[root@ovirt-hci03 ~]# /usr/libexec/vdsm/vdsmd_init_common.sh --pre-start
vdsm: Running mkdirs
vdsm: Running configure_vdsm_logs
vdsm: Running run_init_hooks
vdsm: Running check_is_configured
sanlock is configured for vdsm
lvm is configured for vdsm
abrt is already configured for vdsm
Managed volume database is already configured
Current revision of multipath.conf detected, preserving
libvirt is already configured for vdsm
vdsm: Running validate_configuration
SUCCESS: ssl configured to true. No conflicts
vdsm: Running prepare_transient_repository
vdsm: Running syslog_available
vdsm: Running nwfilter
vdsm: Running dummybr
vdsm: Running tune_system
vdsm: Running test_space
vdsm: Running test_lo

retcode 0, all looks ok...

Cheers,

Jiri




Best Regards,
Strahil Nikolov

    On Tue, Jul 12, 2022 at 11:12, Jiří Sléžka
     wrote:
    On 7/11/22 16:22, Jiří Sléžka wrote:
 > On 7/11/22 15:57, Strahil Nikolov wrote:
 >> Can you check for AVC denials and the error message like the
    described
 >> in
 >>

https://github.com/gluster/glusterfs-selinux/issues/27#issue-1097225183

?
 >
 > thanks for reply, there are two unrelated (qemu-kvm) avc denials
    logged
 > (related probably to sanlock recovery)
 >
 > also I cannot find glustereventsd in any related log... is it 
really

 > used by vdsm-gluster?
 >
 > this service runs on no hosts
 >
 > systemctl status glustereventsd
 > ● glustereventsd.service - Gluster Events Notifier
 >     Loaded: loaded 
(/usr/lib/systemd/system/glustereventsd.service;

 > disabled; vendor preset: disabled)
 >     Active: inactive (dead)

    it looks like root of the problem is that Gluster service is
    disabled in
    cluster settings and cannot be enabled. But it was enabled before...
    also I have to manually install vdsm-gluster when I (re)install new
    host, but bricks from this host are in unknown state in admin. Maybe
    vdsm-gluster is not correctly configured? Maybe glustereventsd is not
    running? I am just guessing...

    I have no access to other HCI installation so I cannot compare
    differences.

    I would be really happy if someone could tell me what circumstances
    could disable Gluster service checkbox in admin and how to enable it
    again...

    Cheers,

    Jiri


 >
 > Cheers,
 >
 > Jiri
 >
 >
 >>
 >>
 >> Best Regards,
 >> Strahil Nikolov
 >>
 >>     On Mon, Jul 11, 2022 at 16:44, Jiří Sléžka
 >>     mailto:jiri.sle...@slu.cz>> wrote:
 >>     Hello,
 >>
 >>     On 7/11/22 14:34, Strahil Nikolov wrote:
 >>  > Can you check something on the host:
 >>  > cat /etc/glusterfs/eventsconfig.json
 >>
 >>     cat /etc/glusterfs/eventsconfig.json
 >>     {
 >>      "log-level": "INFO",
 >>      "port": 24009,
 >>      "disable-events-log": false
 >>     }
 >>
 >>
 >>  > semanage port -l | grep $(awk -F ':' '/port/
    {gsub(",","",$2);
 >> print
 >>  > $2}' /etc/glusterfs/eventsconfig.json)
 >>
 >>     semanage port -l | grep 24009
 >>
 >>     returns empty set, it looks like this port is not labeled
 >>
 >>     Cheers,
 >>
 

[ovirt-users] Re: DO I HAVE TO PAY MONEY OR DO PEOPLE PAY MONEY TO GET LITTLE INFORMATION?

2022-07-13 Thread abiolaemma01
Hello Vinícius Ferrão,
I really appreciate you effort and the instruction given.
I tried all the options provided with no success. I keep on developing Error 
upon Errors. I tried to fix some another error pops up

1) I tried open the link https://www.oracle.com/virtualization/I got error 
page.
2) I run oVirt Node 4.5.1 with EL8 Stream and a self hosted engine. Still i got 
Errors
3) I run centOs with oVirt 4.4.10 with EL8, I got Error
4) I took it to Oracle Linux with oVirt 4.5.1, still nothing is working. 

Error files screenShot has been sent to your email

Still Appreciating 
Emma
___
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/GHKRYOD6PJALOUF67IVOCRNB5LZFYYAF/


[ovirt-users] Re: Cannot deserialize - engine doesn't start

2022-07-13 Thread Benny Zlotnik
I will very carefully say yes, but please backup the engine before you do that

On Wed, Jul 13, 2022 at 1:59 PM Giulio Casella  wrote:
>
>
>
> On 13/07/2022 12:54, Benny Zlotnik wrote:
> > On Wed, Jul 13, 2022 at 1:48 PM Giulio Casella  wrote:
> >>
> >> Thanks Benny,
> >>
> >> On 13/07/2022 12:20, Benny Zlotnik wrote:
> >>> Thanks, is the operation complete? If yes, you can remove the rows
> >>> referencing command_id 6ae544f6-b608-4d8d-9f99-eabd5d5db0ad from
> >>> command_entities
> >>
> >> How can I know if the operation is completed? I've no access to admin
> >> portal anymore...
> > Right, I forgot about this...
> >
> >> The only things I know are:
> >> - there are 2 command in command_entities referencing command_id
> >> 6ae544f6-b608-4d8d-9f99-eabd5d5db0ad: the
> >> 6ae544f6-b608-4d8d-9f99-eabd5d5db0ad itself and another one referencing
> >> it as a parent
> >> - both of them are marked as ENDED_SUCCESSFULLY in the status field
> >> - other commands in table exists, 3 of them marked as active (none of
> >> them references 6ae544f6-b608-4d8d-9f99-eabd5d5db0ad)
> >
> > You can check in the job table,
> >
> > select *
> > from job
> > where correlation_id = 'd19c0b79-76dd-40df-af41-fc18e59bb536';
>
> No job returned from job query.
> Can I proceed to remove 2 rows from command_entities referencing
> 6ae544f6-b608-4d8d-9f99-eabd5d5db0ad?
>
>
> Thanks,
> gc
>
___
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/C4E5G3AXWNDLC6PRPWIX7GDF3ZHGCWSQ/


[ovirt-users] Re: Stuck in Manager upgrade. Can't set Cluster to maintenance mode.

2022-07-13 Thread Jiří Sléžka

On 7/13/22 12:44, Johannes Lutz wrote:

Can anybody help me?
Or is the solution to build a new hosted engine and try recreating it from a 
backup?

What do i have to do to get the Hosted Engine in Global Maintenance Mode when 
"hosted-engine --set-maintenance --mode=global" does not work ...

Its very frustrating ...


Yes, it is. Certificate refreshing should be automagic job on background...

If I understand it right, your hosted engine is running?

hosted-engine --vm-status

on any hosts state that cluster is in global maintenance mode? You 
should see this line at the end of output


!! Cluster is in GLOBAL MAINTENANCE mode !!

Cheers, Jiri




Best Regards
J.Lutz
___
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/AUCHVGS5EZ3YZ5WDMERFCB3TS3KWBD3L/




smime.p7s
Description: S/MIME Cryptographic Signature
___
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/5INMXCEMYE3JR5ECAHNWITBYSHK5H4GF/


[ovirt-users] Re: gluster service on the cluster is unchecked on hci cluster

2022-07-13 Thread Jiří Sléžka

On 7/12/22 22:28, Strahil Nikolov wrote:
glustereventad will notify the engine when something changes - like a 
new volume is created from the cli (or bad things happened ;) ), so it 
should be running. >
You can use the workaround from the github issue and reatart the 
glustereventsd service.


ok, workaround applied, glustereventsd service enabled and started on 
all hosts.


I can see this log entry in volume Events

Detected change in status of brick 
10.0.4.11:/gluster_bricks/engine/engine of volume engine of cluster 
McHosting from UNKNOWN to UP via gluster event.


but Bricks tab shows still two (.12 and .13) of three bricks in Unknown 
state. From command line point of view all bricks are up and healthy.


it looks like engine thinks that gluster service is disabled in cluster 
but I cannot enable it because checkbox is disabled. In my other (FC 
based) oVirt instance Gluster Service checkbox is not selected but not 
disabled. So I am interested what could make that checkbox inactive...


For the vdsm, you can always run '/usr/libexec/vdsm/vdsmd_init_common.sh 
--pre-start' which is executed by the vdsmd.service before every start 
(ExecStartPre stanza) and see if it complains about something.


[root@ovirt-hci03 ~]# /usr/libexec/vdsm/vdsmd_init_common.sh --pre-start
vdsm: Running mkdirs
vdsm: Running configure_vdsm_logs
vdsm: Running run_init_hooks
vdsm: Running check_is_configured
sanlock is configured for vdsm
lvm is configured for vdsm
abrt is already configured for vdsm
Managed volume database is already configured
Current revision of multipath.conf detected, preserving
libvirt is already configured for vdsm
vdsm: Running validate_configuration
SUCCESS: ssl configured to true. No conflicts
vdsm: Running prepare_transient_repository
vdsm: Running syslog_available
vdsm: Running nwfilter
vdsm: Running dummybr
vdsm: Running tune_system
vdsm: Running test_space
vdsm: Running test_lo

retcode 0, all looks ok...

Cheers,

Jiri




Best Regards,
Strahil Nikolov

On Tue, Jul 12, 2022 at 11:12, Jiří Sléžka
 wrote:
On 7/11/22 16:22, Jiří Sléžka wrote:
 > On 7/11/22 15:57, Strahil Nikolov wrote:
 >> Can you check for AVC denials and the error message like the
described
 >> in
 >>
https://github.com/gluster/glusterfs-selinux/issues/27#issue-1097225183
?
 >
 > thanks for reply, there are two unrelated (qemu-kvm) avc denials
logged
 > (related probably to sanlock recovery)
 >
 > also I cannot find glustereventsd in any related log... is it really
 > used by vdsm-gluster?
 >
 > this service runs on no hosts
 >
 > systemctl status glustereventsd
 > ● glustereventsd.service - Gluster Events Notifier
 >     Loaded: loaded (/usr/lib/systemd/system/glustereventsd.service;
 > disabled; vendor preset: disabled)
 >     Active: inactive (dead)

it looks like root of the problem is that Gluster service is
disabled in
cluster settings and cannot be enabled. But it was enabled before...
also I have to manually install vdsm-gluster when I (re)install new
host, but bricks from this host are in unknown state in admin. Maybe
vdsm-gluster is not correctly configured? Maybe glustereventsd is not
running? I am just guessing...

I have no access to other HCI installation so I cannot compare
differences.

I would be really happy if someone could tell me what circumstances
could disable Gluster service checkbox in admin and how to enable it
again...

Cheers,

Jiri


 >
 > Cheers,
 >
 > Jiri
 >
 >
 >>
 >>
 >> Best Regards,
 >> Strahil Nikolov
 >>
 >>     On Mon, Jul 11, 2022 at 16:44, Jiří Sléžka
 >>     mailto:jiri.sle...@slu.cz>> wrote:
 >>     Hello,
 >>
 >>     On 7/11/22 14:34, Strahil Nikolov wrote:
 >>  > Can you check something on the host:
 >>  > cat /etc/glusterfs/eventsconfig.json
 >>
 >>     cat /etc/glusterfs/eventsconfig.json
 >>     {
 >>      "log-level": "INFO",
 >>      "port": 24009,
 >>      "disable-events-log": false
 >>     }
 >>
 >>
 >>  > semanage port -l | grep $(awk -F ':' '/port/
{gsub(",","",$2);
 >> print
 >>  > $2}' /etc/glusterfs/eventsconfig.json)
 >>
 >>     semanage port -l | grep 24009
 >>
 >>     returns empty set, it looks like this port is not labeled
 >>
 >>     Cheers,
 >>
 >>     Jiri
 >>
 >>  >
 >>  > Best Regards,
 >>  > Strahil Nikolov
 >>  > В понеделник, 11 юли 2022 г., 02:18:57 ч. Гринуич+3, Jiří
Sléžka
 >>  > mailto:jiri.sle...@slu.cz>
>> написа:
 >>  >
 >>  >
 >>  > Hi,
 >>  >
 >>  > I would like to change CPU Type in my oVirt 

[ovirt-users] Keycloak - the default OpenID/SSO provider for oVirt Engine

2022-07-13 Thread Artur Socha
Hi,
With Ovirt 4.5.1 release [1], the Keycloak based authentication is enabled
by default for fresh/new installations.
Here [2] you can find some usage scenarios describing when/how it is
enabled.

In short - if you just want to login to oVirt Admin / VM / Monitoring
portal, please use 'admin@ovirt' user and the password provided during
engine-setup.
There is ongoing work to make it more explicit [3] and it will be addressed
soon.

For  Rest API access, the full user with profile name is required as
username:  admin@ovirt@internalsso
Here is a sample 'curl' illustrating the flow:
$ curl -k -H "Accept: application/json" '
https://ENGINE_FQDN/ovirt-engine/sso/oauth/token?grant_type=password=admin@ovirt@internalsso=SECRET=ovirt-app-api
'
And the token response:
{"access_token":"eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJEdS10MlVQd0JaZ0gtRU1JUkRTRHFxNFZIOUhZbnc4Nkk5QUlGOERxZ1l3In0.eyJleHAiOjE2NTcyMTY5MzAsImlhdCI6MTY1NzE5OTY1MCwianRpIjoiNTAwOWVkMmItMjc3ZS00YjVmLWEwOTItMjI4MDhkMWFhMWJjIiwiaXNzIjoiaHR0cHM6Ly9kZXYzLmRvbS9vdmlydC1lbmdpbmUtYXV0aC9yZWFsbXMvb3ZpcnQtaW50ZXJuYWwiLCJhdWQiOiJhY2NvdW50Iiwic3ViIjoiMjczMTlkODMtYjdkYy00MzU2LTllMmQtYjJmNzg5NWI3YjczIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoib3ZpcnQtZW5naW5lLWludGVybmFsIiwic2Vzc2lvbl9zdGF0ZSI6IjNmODM5NjY2LTQyNzUtNDRhNC1hNDRhLTM3Njc5MzgxNDRiOCIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cHM6Ly9kZXYzLmRvbSJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZGVmYXVsdC1yb2xlcy1vdmlydC1pbnRlcm5hbCIsIm9mZmxpbmVfYWNjZXNzIiwidW1hX2F1dGhvcml6YXRpb24iXX0sInJlc291cmNlX2FjY2VzcyI6eyJhY2NvdW50Ijp7InJvbGVzIjpbIm1hbmFnZS1hY2NvdW50IiwibWFuYWdlLWFjY291bnQtbGlua3MiLCJ2aWV3LXByb2ZpbGUiXX19LCJzY29wZSI6Im92aXJ0LWV4dD10b2tlbi1pbmZvOnB1YmxpYy1hdXRoei1zZWFyY2ggb3ZpcnQtYXBwLWFwaSBvdmlydC1leHQ9dG9rZW46cGFzc3dvcmQtYWNjZXNzIG92aXJ0LWV4dD10b2tlbi1pbmZvOmF1dGh6LXNlYXJjaCBvdmlydC1leHQ9dG9rZW4taW5mbzp2YWxpZGF0ZSBlbWFpbCBwcm9maWxlIiwic2lkIjoiM2Y4Mzk2NjYtNDI3NS00NGE0LWE0NGEtMzc2NzkzODE0NGI4IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJncm91cHMiOlsiL292aXJ0LWFkbWluaXN0cmF0b3IiXSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW5Ab3ZpcnQiLCJlbWFpbCI6ImFkbWluQGxvY2FsaG9zdCJ9.Ov2IJ-ghtXSB6eb7osWZgT_yeb4prBgVzUU9vAY_VMoDr-ie5bMYBUyinYvNHWpBbYaFGNjg6bC7PHz3-s5H1rxXN1wH13wtIlO4obUbPt8wEb58Slrr42kXBoLLLDrXE3Af9LlabtNjJ0z-a5reSUZmOdVYiJl9sEF4YwG9177mwUSJz7VLQAI1hKN1pg6Ox1sJj2fBwdBqjIiRXsw-KBwoMQx9JmuMk9wCr5-gI5f8I-9Vqizb8Lf5ZJ4SMf35Wy3R8dwQeXXau_7t5zDe9wO9wnc9RfOMCuDCc359-oLDFmtrahgrMjmDx5YrQHol6jC43S_7gQ_2IPLE_TlqiQ","scope":"ovirt-app-api
ovirt-ext=token-info:authz-search ovirt-ext=token-info:public-authz-search
ovirt-ext=token-info:validate
ovirt-ext=token:password-access","exp":"9223372036854775807","token_type":"bearer"}%

Now lets use access token to authenticate and fetch hosts:
$ curl -k -H  "Accept: application/json"  -H "Authorization: Bearer
eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJEdS10MlVQd0JaZ0gtRU1JUkRTRHFxNFZIOUhZbnc4Nkk5QUlGOERxZ1l3In0.eyJleHAiOjE2NTcyMTY5MzAsImlhdCI6MTY1NzE5OTY1MCwianRpIjoiNTAwOWVkMmItMjc3ZS00YjVmLWEwOTItMjI4MDhkMWFhMWJjIiwiaXNzIjoiaHR0cHM6Ly9kZXYzLmRvbS9vdmlydC1lbmdpbmUtYXV0aC9yZWFsbXMvb3ZpcnQtaW50ZXJuYWwiLCJhdWQiOiJhY2NvdW50Iiwic3ViIjoiMjczMTlkODMtYjdkYy00MzU2LTllMmQtYjJmNzg5NWI3YjczIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoib3ZpcnQtZW5naW5lLWludGVybmFsIiwic2Vzc2lvbl9zdGF0ZSI6IjNmODM5NjY2LTQyNzUtNDRhNC1hNDRhLTM3Njc5MzgxNDRiOCIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cHM6Ly9kZXYzLmRvbSJdLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiZGVmYXVsdC1yb2xlcy1vdmlydC1pbnRlcm5hbCIsIm9mZmxpbmVfYWNjZXNzIiwidW1hX2F1dGhvcml6YXRpb24iXX0sInJlc291cmNlX2FjY2VzcyI6eyJhY2NvdW50Ijp7InJvbGVzIjpbIm1hbmFnZS1hY2NvdW50IiwibWFuYWdlLWFjY291bnQtbGlua3MiLCJ2aWV3LXByb2ZpbGUiXX19LCJzY29wZSI6Im92aXJ0LWV4dD10b2tlbi1pbmZvOnB1YmxpYy1hdXRoei1zZWFyY2ggb3ZpcnQtYXBwLWFwaSBvdmlydC1leHQ9dG9rZW46cGFzc3dvcmQtYWNjZXNzIG92aXJ0LWV4dD10b2tlbi1pbmZvOmF1dGh6LXNlYXJjaCBvdmlydC1leHQ9dG9rZW4taW5mbzp2YWxpZGF0ZSBlbWFpbCBwcm9maWxlIiwic2lkIjoiM2Y4Mzk2NjYtNDI3NS00NGE0LWE0NGEtMzc2NzkzODE0NGI4IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJncm91cHMiOlsiL292aXJ0LWFkbWluaXN0cmF0b3IiXSwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW5Ab3ZpcnQiLCJlbWFpbCI6ImFkbWluQGxvY2FsaG9zdCJ9.Ov2IJ-ghtXSB6eb7osWZgT_yeb4prBgVzUU9vAY_VMoDr-ie5bMYBUyinYvNHWpBbYaFGNjg6bC7PHz3-s5H1rxXN1wH13wtIlO4obUbPt8wEb58Slrr42kXBoLLLDrXE3Af9LlabtNjJ0z-a5reSUZmOdVYiJl9sEF4YwG9177mwUSJz7VLQAI1hKN1pg6Ox1sJj2fBwdBqjIiRXsw-KBwoMQx9JmuMk9wCr5-gI5f8I-9Vqizb8Lf5ZJ4SMf35Wy3R8dwQeXXau_7t5zDe9wO9wnc9RfOMCuDCc359-oLDFmtrahgrMjmDx5YrQHol6jC43S_7gQ_2IPLE_TlqiQ"
'https://ENGINE_FQDN/ovirt-engine/api/hosts'

In order to change default Keycloak configuration or set up any additional
identity providers you need to access the Keycloak Administration Panel (
https://YOUR_ENGINE_FQDN/ovirt-engine-auth/admin).

By default, on a fresh installation, you can login using 'admin' and the
password provided during engine-setup.

Keycloak allows to easily use all the features that were previously
supported by oVirt in-house authentication implementation plus many more
almost for free - multi factor authentication,  3rd party identity
providers (ie. github, 

[ovirt-users] VM Migration Failed

2022-07-13 Thread KSNull Zero
Running oVirt 4.4.5
VM cannot migrate between hosts.

vdsm.log contains the following error:
libvirt.libvirtError: operation failed: Failed to connect to remote libvirt URI 
qemu+tls://ovhost01.local/system: authentication failed: Failed to verify 
peer's certificate

Certificates on hosts was renewed some time ago. How this issue can be fixed ?
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/NP3LFDDV32UCE35SUKTJEM3GBWY37IMN/


[ovirt-users] Re: Cannot deserialize - engine doesn't start

2022-07-13 Thread Giulio Casella



On 13/07/2022 12:54, Benny Zlotnik wrote:

On Wed, Jul 13, 2022 at 1:48 PM Giulio Casella  wrote:


Thanks Benny,

On 13/07/2022 12:20, Benny Zlotnik wrote:

Thanks, is the operation complete? If yes, you can remove the rows
referencing command_id 6ae544f6-b608-4d8d-9f99-eabd5d5db0ad from
command_entities


How can I know if the operation is completed? I've no access to admin
portal anymore...

Right, I forgot about this...


The only things I know are:
- there are 2 command in command_entities referencing command_id
6ae544f6-b608-4d8d-9f99-eabd5d5db0ad: the
6ae544f6-b608-4d8d-9f99-eabd5d5db0ad itself and another one referencing
it as a parent
- both of them are marked as ENDED_SUCCESSFULLY in the status field
- other commands in table exists, 3 of them marked as active (none of
them references 6ae544f6-b608-4d8d-9f99-eabd5d5db0ad)


You can check in the job table,

select *
from job
where correlation_id = 'd19c0b79-76dd-40df-af41-fc18e59bb536';


No job returned from job query.
Can I proceed to remove 2 rows from command_entities referencing 
6ae544f6-b608-4d8d-9f99-eabd5d5db0ad?



Thanks,
gc



smime.p7s
Description: S/MIME Cryptographic Signature
___
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/HHDF64LE5UDDREMEBU6P5M2V6EP5HOV2/


[ovirt-users] Re: Cannot deserialize - engine doesn't start

2022-07-13 Thread Benny Zlotnik
On Wed, Jul 13, 2022 at 1:48 PM Giulio Casella  wrote:
>
> Thanks Benny,
>
> On 13/07/2022 12:20, Benny Zlotnik wrote:
> > Thanks, is the operation complete? If yes, you can remove the rows
> > referencing command_id 6ae544f6-b608-4d8d-9f99-eabd5d5db0ad from
> > command_entities
>
> How can I know if the operation is completed? I've no access to admin
> portal anymore...
Right, I forgot about this...

> The only things I know are:
> - there are 2 command in command_entities referencing command_id
> 6ae544f6-b608-4d8d-9f99-eabd5d5db0ad: the
> 6ae544f6-b608-4d8d-9f99-eabd5d5db0ad itself and another one referencing
> it as a parent
> - both of them are marked as ENDED_SUCCESSFULLY in the status field
> - other commands in table exists, 3 of them marked as active (none of
> them references 6ae544f6-b608-4d8d-9f99-eabd5d5db0ad)

You can check in the job table,

select *
from job
where correlation_id = 'd19c0b79-76dd-40df-af41-fc18e59bb536';
>
>
>
___
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/3NQMNQQUEPV44PRYBCMREESQIWIW5WFM/


[ovirt-users] Re: Cannot deserialize - engine doesn't start

2022-07-13 Thread Giulio Casella

Thanks Benny,

On 13/07/2022 12:20, Benny Zlotnik wrote:

Thanks, is the operation complete? If yes, you can remove the rows
referencing command_id 6ae544f6-b608-4d8d-9f99-eabd5d5db0ad from
command_entities


How can I know if the operation is completed? I've no access to admin 
portal anymore...

The only things I know are:
- there are 2 command in command_entities referencing command_id 
6ae544f6-b608-4d8d-9f99-eabd5d5db0ad: the 
6ae544f6-b608-4d8d-9f99-eabd5d5db0ad itself and another one referencing 
it as a parent

- both of them are marked as ENDED_SUCCESSFULLY in the status field
- other commands in table exists, 3 of them marked as active (none of 
them references 6ae544f6-b608-4d8d-9f99-eabd5d5db0ad)




Also, please submit a bug for this


Ok, I will.





smime.p7s
Description: S/MIME Cryptographic Signature
___
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/PZTPXWHYDLAEKOEUZ3AC5TYW3WXLCJNI/


[ovirt-users] Re: Stuck in Manager upgrade. Can't set Cluster to maintenance mode.

2022-07-13 Thread Johannes Lutz
Can anybody help me?
Or is the solution to build a new hosted engine and try recreating it from a 
backup?

What do i have to do to get the Hosted Engine in Global Maintenance Mode when 
"hosted-engine --set-maintenance --mode=global" does not work ...

Its very frustrating ...


Best Regards
J.Lutz
___
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/AUCHVGS5EZ3YZ5WDMERFCB3TS3KWBD3L/


[ovirt-users] Re: Cannot deserialize - engine doesn't start

2022-07-13 Thread Benny Zlotnik
Thanks, is the operation complete? If yes, you can remove the rows
referencing command_id 6ae544f6-b608-4d8d-9f99-eabd5d5db0ad from
command_entities

Also, please submit a bug for this

On Wed, Jul 13, 2022 at 12:04 PM Giulio Casella  wrote:
>
> Hi,
> engine version is ovirt-engine-4.5.1.3-1.el8.noarch, find attached
> relevant part of engine.log (from "systemctl start ovirt-engine" onward)
> and output from sql command.
>
> Thank you.
>
> Regards,
> gc
>
>
> On 13/07/2022 10:44, Benny Zlotnik wrote:
> > Which ovirt version is this? Can you attach the full log?
> > As well as the output of
> > $ psql -U engine -d engine -c "\x on" -c "select * from command_entities"
> >
> > This can likely be resolved by removing the relevant row from
> > command_entities, but first let's get a better understanding of what's
> > going on
> >
> > On Wed, Jul 13, 2022 at 11:40 AM Giulio Casella  wrote:
> >>
> >> Hi guys,
> >> I'm in big troubles.
> >>
> >> Since last night my ovirt engine is unavailable (won't correctly start).
> >> Process ovirt-engine is running, and systemd doesn't complain (systemctl
> >> status is ok).
> >> Digging in engine.log I can find an error:
> >>
> >> 2022-07-13 09:57:48,314+02 ERROR
> >> [org.ovirt.engine.core.utils.serialization.json.JsonObjectDeserializer]
> >> (ServerService Thread Pool -- 45) [] Cannot deserialize {
> >> "@class" :
> >> "org.ovirt.engine.core.common.action.CreateSnapshotDiskParameters",
> >> "commandId" : [ "org.ovirt.engine.core.compat.Guid", {
> >>   "uuid" : "6ae544f6-b608-4d8d-9f99-eabd5d5db0ad"
> >> } ],
> >> [...cut...]
> >> "domain" : "my.dom.ain"[truncated 5971 chars]; line: 72, column: 89]
> >> (through reference chain:
> >> org.ovirt.engine.core.common.action.CreateSnapshotDiskParameters["diskImagesMap"])
> >> 2022-07-13 09:57:48,315+02 ERROR
> >> [org.ovirt.engine.core.bll.InitBackendServicesOnStartupBean]
> >> (ServerService Thread Pool -- 45) [] Failed to initialize backend:
> >> org.jboss.weld.exceptions.WeldException: WELD-49: Unable to invoke
> >> public void
> >> org.ovirt.engine.core.bll.tasks.CommandContextsCacheImpl.initContextsMap()
> >> on org.ovirt.engine.core.bll.tasks.CommandContextsCacheImpl@3f52ccce
> >> [...cut...]
> >>
> >> During the night there was a job that was moving a disk (2.5TB) from a
> >> storage domain to another. I think it's related.
> >>
> >> Any ideas?
> >>
> >>
> >> TIA,
> >> gc
> >> ___
> >> 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/QK54KG2PMLJQVGFVRMJTMTGSXLPC4JXE/
> >
___
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/DXMTTHLM57NO5RRGTJ3TJJJAIEYM6DQF/


[ovirt-users] Re: Cannot deserialize - engine doesn't start

2022-07-13 Thread Benny Zlotnik
Which ovirt version is this? Can you attach the full log?
As well as the output of
$ psql -U engine -d engine -c "\x on" -c "select * from command_entities"

This can likely be resolved by removing the relevant row from
command_entities, but first let's get a better understanding of what's
going on

On Wed, Jul 13, 2022 at 11:40 AM Giulio Casella  wrote:
>
> Hi guys,
> I'm in big troubles.
>
> Since last night my ovirt engine is unavailable (won't correctly start).
> Process ovirt-engine is running, and systemd doesn't complain (systemctl
> status is ok).
> Digging in engine.log I can find an error:
>
> 2022-07-13 09:57:48,314+02 ERROR
> [org.ovirt.engine.core.utils.serialization.json.JsonObjectDeserializer]
> (ServerService Thread Pool -- 45) [] Cannot deserialize {
> "@class" :
> "org.ovirt.engine.core.common.action.CreateSnapshotDiskParameters",
>"commandId" : [ "org.ovirt.engine.core.compat.Guid", {
>  "uuid" : "6ae544f6-b608-4d8d-9f99-eabd5d5db0ad"
>} ],
> [...cut...]
> "domain" : "my.dom.ain"[truncated 5971 chars]; line: 72, column: 89]
> (through reference chain:
> org.ovirt.engine.core.common.action.CreateSnapshotDiskParameters["diskImagesMap"])
> 2022-07-13 09:57:48,315+02 ERROR
> [org.ovirt.engine.core.bll.InitBackendServicesOnStartupBean]
> (ServerService Thread Pool -- 45) [] Failed to initialize backend:
> org.jboss.weld.exceptions.WeldException: WELD-49: Unable to invoke
> public void
> org.ovirt.engine.core.bll.tasks.CommandContextsCacheImpl.initContextsMap()
> on org.ovirt.engine.core.bll.tasks.CommandContextsCacheImpl@3f52ccce
> [...cut...]
>
> During the night there was a job that was moving a disk (2.5TB) from a
> storage domain to another. I think it's related.
>
> Any ideas?
>
>
> TIA,
> gc
> ___
> 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/QK54KG2PMLJQVGFVRMJTMTGSXLPC4JXE/
___
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/UQI7UZUAKCR4PEJV5NIR53UUT5VBQYHF/


[ovirt-users] Cannot deserialize - engine doesn't start

2022-07-13 Thread Giulio Casella

Hi guys,
I'm in big troubles.

Since last night my ovirt engine is unavailable (won't correctly start).
Process ovirt-engine is running, and systemd doesn't complain (systemctl 
status is ok).

Digging in engine.log I can find an error:

2022-07-13 09:57:48,314+02 ERROR 
[org.ovirt.engine.core.utils.serialization.json.JsonObjectDeserializer] 
(ServerService Thread Pool -- 45) [] Cannot deserialize {
"@class" : 
"org.ovirt.engine.core.common.action.CreateSnapshotDiskParameters",

  "commandId" : [ "org.ovirt.engine.core.compat.Guid", {
"uuid" : "6ae544f6-b608-4d8d-9f99-eabd5d5db0ad"
  } ],
[...cut...]
"domain" : "my.dom.ain"[truncated 5971 chars]; line: 72, column: 89] 
(through reference chain: 
org.ovirt.engine.core.common.action.CreateSnapshotDiskParameters["diskImagesMap"])
2022-07-13 09:57:48,315+02 ERROR 
[org.ovirt.engine.core.bll.InitBackendServicesOnStartupBean] 
(ServerService Thread Pool -- 45) [] Failed to initialize backend: 
org.jboss.weld.exceptions.WeldException: WELD-49: Unable to invoke 
public void 
org.ovirt.engine.core.bll.tasks.CommandContextsCacheImpl.initContextsMap() 
on org.ovirt.engine.core.bll.tasks.CommandContextsCacheImpl@3f52ccce

[...cut...]

During the night there was a job that was moving a disk (2.5TB) from a 
storage domain to another. I think it's related.


Any ideas?


TIA,
gc


smime.p7s
Description: S/MIME Cryptographic Signature
___
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/QK54KG2PMLJQVGFVRMJTMTGSXLPC4JXE/