[ovirt-users] Re: Multiple gateway not working after "big update"

2021-07-09 Thread Lionel Caignec
That was that i uninstall all ovirt related software purge some /var/lib  
folder readd client and now all work like charm.

Thank you

- Mail original -
De: "Lionel Caignec" 
À: "Ales Musil" 
Cc: "users" 
Envoyé: Vendredi 9 Juillet 2021 10:27:41
Objet: Re: [ovirt-users] Multiple gateway not working after "big update"

Ok thank you very much 
i'll try that.

Regards,
Lionel.

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/LUA6CVTWSOM7PVGW6BVBKPXUAOGD6Z2D/


[ovirt-users] Re: Multiple gateway not working after "big update"

2021-07-09 Thread Lionel Caignec
Ok thank you very much 
i'll try that.

Regards,
Lionel.

- Mail original -
De: "Ales Musil" 
À: "Lionel Caignec" 
Cc: "users" 
Envoyé: Vendredi 9 Juillet 2021 10:22:49
Objet: Re: [ovirt-users] Multiple gateway not working after "big update"

For the host there is the
https://www.ovirt.org/documentation/upgrade_guide/index.html#Upgrading_hosts_to_4-4_4-3_local_db
section.
In short, migrate all VMs to a different host, put the host into
maintenance, remove the host from the engine, reinstall the host OS
completely (to clean up any potential leftovers).
Then you can proceed as usual.

Hopefully this helps.

Regards,
Ales

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/URZ6KBKBHZBPKNO3OWZCBC6Z35TFNJIC/


[ovirt-users] Re: Multiple gateway not working after "big update"

2021-07-09 Thread Lionel Caignec
Hi

thank you for answer, on the ovirt-engine, for what i know i upgraded from 
4.4.3 to 4.4.7. so i think i respect upgrade path and i used engine-setup 
command like in the manual.

But on the vdsm side i does not know there is upgrade path, i already tried to 
remove/readd one buggy host but without succes.

so what do you think i can do? 

Lionel Caignec.

- Mail original -
De: "Ales Musil" 
À: "Lionel Caignec" 
Cc: "users" 
Envoyé: Vendredi 9 Juillet 2021 09:45:15
Objet: Re: [ovirt-users] Multiple gateway not working after "big update"

Hi,

from the vdsm version it seems that the upgrade was from 4.2 to 4.4.7.
Direct upgrade like that
is not supported. There were a lot of changes 4.4 networking among other
changes which might result
in what you are experiencing.

Please take a look at upgrade path from 4.2 to 4.4 in
https://www.ovirt.org/documentation/upgrade_guide/index.html

Thanks,
Ales

-- 

Ales Musil

Software Engineer - RHV Network

Red Hat EMEA <https://www.redhat.com>

amu...@redhat.comIM: amusil
<https://red.ht/sig>

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/TBWF62K7UQW4ZPS2JMNY6TS4FIFPFBDC/


[ovirt-users] Multiple gateway not working after "big update"

2021-07-09 Thread Lionel Caignec
Hi,

i've just tried to update my sandboxing environmnent after long time without 
update (i know it's bad...) and i'm facing a problem with multiple gateway.
This environment work with 6 hypervisors (centos 8) and one manager on 
dedicated server, all this baremetal have 2 interface in 2 différent network 
protected by firewall.
All my hypervisords have 2 network for ovirt, one "ovirtmgmt" for management 
(only SSH and internal admin stuff), the other "ovir_prod" for console, 
migration, and default gateway.

I've 3 hypervisors non updated which i can ping /ssh / ... (according to 
iptables) on the two interface without problem.
But the 3 hypervisors just updated are accessible only on the "ovirt_prod" 
interface. I'm looking inside ip route/ ip rules it seems to miss something.
I always configured my HV by ovirt gui so i does not understand what going 
wrong.

This is ip route/ip rules of my hv, it's like missing ip rules on non working HV
The "route-ovirt_prod" file that does not exist on old HV.

Working HV (centos 8.3 / vdsm 4.20.26.3-1) : 
[root@drogo ~]# ip ru
0:  from all lookup local
32000:  from 10.100.126.0/24 lookup 174358038
32000:  from all to 10.100.126.0/24 iif ovirtmgmt lookup 174358038
32000:  from 10.5.7.0/24 lookup 168101654
32000:  from all to 10.5.7.0/24 iif comte_prod lookup 168101654
32766:  from all lookup main
32767:  from all lookup default

[root@drogo ~]# ip rou
default via 10.5.7.254 dev comte_prod proto static metric 425 
10.5.7.0/24 dev comte_prod proto kernel scope link src 10.5.7.22 metric 425 
10.100.126.0/24 dev ovirtmgmt proto kernel scope link src 10.100.126.22 
metric 426 

Bugged HV (centos 8.4/ vdsm 4.40.70.6-1)
[root@balbo ~]# ip ru
0:  from all lookup local
32766:  from all lookup main
32767:  from all lookup default

[root@balbo ~]# ip rou
default via 10.5.7.254 dev comte_prod proto static metric 425 
10.5.6.0/26 dev enp4s0f1 proto kernel scope link src 10.5.6.6 metric 100 
linkdown 
10.5.7.0/24 dev comte_prod proto kernel scope link src 10.5.7.25 metric 426 
10.100.126.0/24 dev ovirtmgmt proto kernel scope link src 10.100.126.25 
metric 425 

[root@bingo network-scripts]# cat route-ovirt_prod
ADDRESS0=0.0.0.0
NETMASK0=0.0.0.0
GATEWAY0=10.5.7.254
OPTIONS0="table 254"
    METRIC0=431



Than you for help :)

--
Lionel Caignec 


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/3NSSFIKMKSMCTPVFSTEPLJJUXGRCXD7K/


[ovirt-users] Re: Guest don't start : Cannot access backing file

2021-01-18 Thread Lionel Caignec
Hi
It's a hardware san dell compellent. Corruption seems to appear 12days agos. 
Vérité, shutting down system, it was running like a charm.

--
Lionel Caignec
___
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/MSIR4KQZ7FFVYADMP5G7PH6J6CXV367P/


[ovirt-users] Guest don't start : Cannot access backing file

2021-01-18 Thread Lionel Caignec
Hi,

i've a big problem, i juste shutdown (power off completely) a guest to make a 
cold restart. And at startup the guest say : "Cannot access backing file 
'/rhev/data-center/mnt/blockSD/69348aea-7f55-41be-ae4e-febd86c33855/images/8224b2b0-39ba-44ef-ae41-18fe726f26ca/ca141675-c6f5-4b03-98b0-0312254f91e8'"
When i look from shell on Hypervisor the device file is red blinking...

Trying to change SPM, look device into all hosts, copy disk etc... no way to 
get my disk back online. It seems ovirt completely lost (delete?) the block 
device.

There is a way to manually dump (dd) the device in command line in order to 
import it inside ovirt?

My environment 
Storage : SAN (managed by ovirt) 
Ovirt-engine 4.4.3.12-1.el8
Host centos 8.2
Vdsm 4.40.26

Thanks for help i'm stuck and it's really urgent

--
Lionel Caignec 


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/VKTXX3DP5T7AXIKJJC4ZUW65N5JVXFID/


[ovirt-users] Re: Bad CPU TYPE after Centos 8.3

2020-12-15 Thread Lionel Caignec
Ok it's done bugzilla 1907973, i found this message 
"Guest CPU doesn't match specification: missing features: tsx-ctrl 
(migration:294)" it's seems you're theory is good. 



De: "Arik Hadas"  
À: "Lionel Caignec"  
Cc: "users"  
Envoyé: Mardi 15 Décembre 2020 15:50:26 
Objet: Re: [ovirt-users] Re: Bad CPU TYPE after Centos 8.3 



On Tue, Dec 15, 2020 at 4:41 PM Lionel Caignec < [ mailto:caig...@cines.fr | 
caig...@cines.fr ] > wrote: 



Hi Arik, 

Yes, my problem about cpu type, seems linked to the fact i've upgraded a host 
in 8.3 before ugprade ovirt in 4.3... 

I've done another test, for my problem of vm migration. 
I start a guest directly on the 8.3 nodes then it can be migrate from/to 
8.2/83. 
I've also tried to force it to start on a 8.2 nodes then migrate to 8.3 nodes, 
and it also work. 



BQ_BEGIN


So it seems a full power cycle on guest resolve issue. 

BQ_END

Thanks for checking this - it makes sense that when the VM starts with CPU type 
and flags that are derived from the new cluster configuration, the issue 
doesn't happen anymore. 

BQ_BEGIN


Ok for opening a bug on vdsm, could you please let me know where? 

BQ_END

Sure - [ https://bugzilla.redhat.com/enter_bug.cgi?product=vdsm | 
https://bugzilla.redhat.com/enter_bug.cgi?product=vdsm ] 

BQ_BEGIN



Thank you. 


De: "Arik Hadas" < [ mailto:aha...@redhat.com | aha...@redhat.com ] > 
À: "Lionel Caignec" < [ mailto:caig...@cines.fr | caig...@cines.fr ] > 
Cc: "Lucia Jelinkova" < [ mailto:ljeli...@redhat.com | ljeli...@redhat.com ] >, 
"thomas" < [ mailto:tho...@hoberg.net | tho...@hoberg.net ] >, "users" < [ 
mailto:users@ovirt.org | users@ovirt.org ] > 
Envoyé: Mardi 15 Décembre 2020 15:21:22 
Objet: Re: [ovirt-users] Re: Bad CPU TYPE after Centos 8.3 


On Tue, Dec 15, 2020 at 3:29 PM Lionel Caignec < [ mailto:caig...@cines.fr | 
caig...@cines.fr ] > wrote: 

BQ_BEGIN

Hi 

thank you it's work now. All my host 8.2/8.3 are up and running. During 
reactivation of 8.2 host i saw the log line "updating cluster CPU..." 

BQ_END

Good to see that it works for you now (the credit to Lucia). 
So the cluster configuration didn't change because not all hosts were UP when 
starting the 4.4.3 engine? 

BQ_BEGIN


I tried to move guest from 8.2 host to 8.3 one but it failed. 


Engine.log : 
ERROR [org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] 
(ForkJoinPool-1-worker-27) [] Migration of VM 'pc115dev' to host ' [ 
http://bombur-adm.cines.fr/ | bombur-adm.cines.fr ] ' failed: VM destroyed 
during the startup. 
ERROR [org.ovirt.engine.core.vdsbroker.monitoring.VmsMonitoring] 
(ForkJoinPool-1-worker-19) [] Rerun VM '4fd61e41-ea48-4ba8-b78f-dba5acb87c9e'. 
Called from VDS ' [ http://dis-adm.cines.fr/ | dis-adm.cines.fr ] ' 
ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engine-Thread-4) [] EVENT_ID: 
VM_MIGRATION_TO_SERVER_FAILED(120), Migration failed (VM: pc115dev, Source: [ 
http://dis-adm.cines.fr/ | dis-adm.cines.fr ] , Destination: [ 
http://bombur-adm.cines.fr/ | bombur-adm.cines.fr ] ). 
ERROR [org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] 
(ForkJoinPool-1-worker-13) [] Migration of VM 'pc115dev' to host ' [ 
http://bombur-adm.cines.fr/ | bombur-adm.cines.fr ] ' failed: VM destroyed 
during the startup. 
ERROR [org.ovirt.engine.core.vdsbroker.monitoring.VmsMonitoring] 
(EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-39) [] 
Rerun VM '4fd61e41-ea48-4ba8-b78f-dba5acb87c9e'. Called from VDS ' [ 
http://dis-adm.cines.fr/ | dis-adm.cines.fr ] ' 
ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engine-Thread-38) [] EVENT_ID: 
VM_MIGRATION_TO_SERVER_FAILED(120), Migration failed (VM: pc115dev, Source: [ 
http://dis-adm.cines.fr/ | dis-adm.cines.fr ] , Destination: [ 
http://bombur-adm.cines.fr/ | bombur-adm.cines.fr ] ). 


vdsm.log (target host) : 
WARN (Reactor thread) [vds.dispatcher] unhandled write event 
(betterAsyncore:184) 
WARN (jsonrpc/7) [root] ping was deprecated in favor of ping2 and 
confirmConnectivity (API:1349) 
WARN (vm/4fd61e41) [virt.vm] (vmId='4fd61e41-ea48-4ba8-b78f-dba5acb87c9e') 
Couldn't destroy incoming VM: Domaine non trouvé : aucun domaine ne correspond 
à l'UUID '4fd61e41-ea48-4ba8-b78f-dba5acb87c9e' (vm:3738) 

BQ_END

The migration probably fails due to incompatible CPU flags - please file a bug 
and attach VDSM and libvirt logs from both source and destination hosts. 

BQ_BEGIN


Another think i've noticed on event log of 8.3 host : 
VDSM [ http://bombur-adm.cines.fr/ | bombur-adm.cines.fr ] command SpmStatusVDS 
failed: Cannot inquire Lease(name='SDM', 
path='/dev/7586152d-338c-415d-93f4-74efd09c02fa/leases', offset=1048576): (2, 
'Sanlock get hosts failure', 'No such file or directory') 


But file seems to exist on hos

[ovirt-users] Re: Bad CPU TYPE after Centos 8.3

2020-12-15 Thread Lionel Caignec
Hi Arik, 

Yes, my problem about cpu type, seems linked to the fact i've upgraded a host 
in 8.3 before ugprade ovirt in 4.3... 

I've done another test, for my problem of vm migration. 
I start a guest directly on the 8.3 nodes then it can be migrate from/to 
8.2/83. 
I've also tried to force it to start on a 8.2 nodes then migrate to 8.3 nodes, 
and it also work. 

So it seems a full power cycle on guest resolve issue. 

Ok for opening a bug on vdsm, could you please let me know where? 


Thank you. 


De: "Arik Hadas"  
À: "Lionel Caignec"  
Cc: "Lucia Jelinkova" , "thomas" , 
"users"  
Envoyé: Mardi 15 Décembre 2020 15:21:22 
Objet: Re: [ovirt-users] Re: Bad CPU TYPE after Centos 8.3 


On Tue, Dec 15, 2020 at 3:29 PM Lionel Caignec < [ mailto:caig...@cines.fr | 
caig...@cines.fr ] > wrote: 



Hi 

thank you it's work now. All my host 8.2/8.3 are up and running. During 
reactivation of 8.2 host i saw the log line "updating cluster CPU..." 



Good to see that it works for you now (the credit to Lucia). 
So the cluster configuration didn't change because not all hosts were UP when 
starting the 4.4.3 engine? 

BQ_BEGIN


I tried to move guest from 8.2 host to 8.3 one but it failed. 


Engine.log : 
ERROR [org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] 
(ForkJoinPool-1-worker-27) [] Migration of VM 'pc115dev' to host ' [ 
http://bombur-adm.cines.fr/ | bombur-adm.cines.fr ] ' failed: VM destroyed 
during the startup. 
ERROR [org.ovirt.engine.core.vdsbroker.monitoring.VmsMonitoring] 
(ForkJoinPool-1-worker-19) [] Rerun VM '4fd61e41-ea48-4ba8-b78f-dba5acb87c9e'. 
Called from VDS ' [ http://dis-adm.cines.fr/ | dis-adm.cines.fr ] ' 
ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engine-Thread-4) [] EVENT_ID: 
VM_MIGRATION_TO_SERVER_FAILED(120), Migration failed (VM: pc115dev, Source: [ 
http://dis-adm.cines.fr/ | dis-adm.cines.fr ] , Destination: [ 
http://bombur-adm.cines.fr/ | bombur-adm.cines.fr ] ). 
ERROR [org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] 
(ForkJoinPool-1-worker-13) [] Migration of VM 'pc115dev' to host ' [ 
http://bombur-adm.cines.fr/ | bombur-adm.cines.fr ] ' failed: VM destroyed 
during the startup. 
ERROR [org.ovirt.engine.core.vdsbroker.monitoring.VmsMonitoring] 
(EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-39) [] 
Rerun VM '4fd61e41-ea48-4ba8-b78f-dba5acb87c9e'. Called from VDS ' [ 
http://dis-adm.cines.fr/ | dis-adm.cines.fr ] ' 
ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engine-Thread-38) [] EVENT_ID: 
VM_MIGRATION_TO_SERVER_FAILED(120), Migration failed (VM: pc115dev, Source: [ 
http://dis-adm.cines.fr/ | dis-adm.cines.fr ] , Destination: [ 
http://bombur-adm.cines.fr/ | bombur-adm.cines.fr ] ). 


vdsm.log (target host) : 
WARN (Reactor thread) [vds.dispatcher] unhandled write event 
(betterAsyncore:184) 
WARN (jsonrpc/7) [root] ping was deprecated in favor of ping2 and 
confirmConnectivity (API:1349) 
WARN (vm/4fd61e41) [virt.vm] (vmId='4fd61e41-ea48-4ba8-b78f-dba5acb87c9e') 
Couldn't destroy incoming VM: Domaine non trouvé : aucun domaine ne correspond 
à l'UUID '4fd61e41-ea48-4ba8-b78f-dba5acb87c9e' (vm:3738) 

BQ_END

The migration probably fails due to incompatible CPU flags - please file a bug 
and attach VDSM and libvirt logs from both source and destination hosts. 

BQ_BEGIN


Another think i've noticed on event log of 8.3 host : 
VDSM [ http://bombur-adm.cines.fr/ | bombur-adm.cines.fr ] command SpmStatusVDS 
failed: Cannot inquire Lease(name='SDM', 
path='/dev/7586152d-338c-415d-93f4-74efd09c02fa/leases', offset=1048576): (2, 
'Sanlock get hosts failure', 'No such file or directory') 


But file seems to exist on host : 
ls -l /dev/7586152d-338c-415d-93f4-74efd09c02fa/leases 
lrwxrwxrwx. 1 root root 7 Dec 15 14:14 
/dev/7586152d-338c-415d-93f4-74efd09c02fa/leases -> ../dm-7 


I tried to reboot host & restart engine, set my 8.3 host as SPM ... same error. 


Lionel. 

BQ_END




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/JANTRBX7ECZ2XXTTBASISAW56ASRZAAO/


[ovirt-users] Re: Bad CPU TYPE after Centos 8.3

2020-12-15 Thread Lionel Caignec
Hi 

thank you it's work now. All my host 8.2/8.3 are up and running. During 
reactivation of 8.2 host i saw the log line "updating cluster CPU..." 

I tried to move guest from 8.2 host to 8.3 one but it failed. 


Engine.log : 
ERROR [org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] 
(ForkJoinPool-1-worker-27) [] Migration of VM 'pc115dev' to host 
'bombur-adm.cines.fr' failed: VM destroyed during the startup. 
ERROR [org.ovirt.engine.core.vdsbroker.monitoring.VmsMonitoring] 
(ForkJoinPool-1-worker-19) [] Rerun VM '4fd61e41-ea48-4ba8-b78f-dba5acb87c9e'. 
Called from VDS 'dis-adm.cines.fr' 
ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engine-Thread-4) [] EVENT_ID: 
VM_MIGRATION_TO_SERVER_FAILED(120), Migration failed (VM: pc115dev, Source: 
dis-adm.cines.fr, Destination: bombur-adm.cines.fr). 
ERROR [org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] 
(ForkJoinPool-1-worker-13) [] Migration of VM 'pc115dev' to host 
'bombur-adm.cines.fr' failed: VM destroyed during the startup. 
ERROR [org.ovirt.engine.core.vdsbroker.monitoring.VmsMonitoring] 
(EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-39) [] 
Rerun VM '4fd61e41-ea48-4ba8-b78f-dba5acb87c9e'. Called from VDS 
'dis-adm.cines.fr' 
ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engine-Thread-38) [] EVENT_ID: 
VM_MIGRATION_TO_SERVER_FAILED(120), Migration failed (VM: pc115dev, Source: 
dis-adm.cines.fr, Destination: bombur-adm.cines.fr). 


vdsm.log (target host) : 
WARN (Reactor thread) [vds.dispatcher] unhandled write event 
(betterAsyncore:184) 
WARN (jsonrpc/7) [root] ping was deprecated in favor of ping2 and 
confirmConnectivity (API:1349) 
WARN (vm/4fd61e41) [virt.vm] (vmId='4fd61e41-ea48-4ba8-b78f-dba5acb87c9e') 
Couldn't destroy incoming VM: Domaine non trouvé : aucun domaine ne correspond 
à l'UUID '4fd61e41-ea48-4ba8-b78f-dba5acb87c9e' (vm:3738) 

Another think i've noticed on event log of 8.3 host : 
VDSM bombur-adm.cines.fr command SpmStatusVDS failed: Cannot inquire 
Lease(name='SDM', path='/dev/7586152d-338c-415d-93f4-74efd09c02fa/leases', 
offset=1048576): (2, 'Sanlock get hosts failure', 'No such file or directory') 


But file seems to exist on host : 
ls -l /dev/7586152d-338c-415d-93f4-74efd09c02fa/leases 
lrwxrwxrwx. 1 root root 7 Dec 15 14:14 
/dev/7586152d-338c-415d-93f4-74efd09c02fa/leases -> ../dm-7 


I tried to reboot host & restart engine, set my 8.3 host as SPM ... same error. 


Lionel. 


De: "Lucia Jelinkova"  
À: "Lionel Caignec"  
Cc: "thomas" , "users"  
Envoyé: Mardi 15 Décembre 2020 13:46:11 
Objet: Re: [ovirt-users] Re: Bad CPU TYPE after Centos 8.3 

Hi Lionel, 

if you managed to remove the host (or move it to a different cluster) so that 
all hosts in your cluster are UP - you could try to put one of your running 
hosts to the maintenance and then back to active - the cluster settings should 
be updated on the host activation. You can look for the log "Updating cluster 
CPU flags and verb according to the configuration of the [cluster name]". 

If that does not help, you can try to restart the engine. 

Please let me know if that helps. 

Lucia 



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/YCL3UBDQWSHXKUDYXXUOBIUUFHQPM3LK/


[ovirt-users] Re: Bad CPU TYPE after Centos 8.3

2020-12-15 Thread Lionel Caignec
Thank you i understand now. 

I double checked all my 8.2 host about cababilities and they seems ok. 

I think i foudn the source of this "bug". 

For this time i've updated one host in 8.3 (the non operative one), and then i 
update engine and run engine-setup (with all host up and activated except the 
8.3 one). Maybe this is why the cluster table is not updated? 

What do you think, if y remove the 8.3 host, rerun "engine-setup" an re-add the 
8.3 host? 


Lionel. 


De: "Lucia Jelinkova"  
À: "Lionel Caignec"  
Cc: "thomas" , "users"  
Envoyé: Mardi 15 Décembre 2020 11:31:47 
Objet: Re: [ovirt-users] Re: Bad CPU TYPE after Centos 8.3 

Hi Lionel, 

in oVirt 4.4.2 the Secure Intel Cascadelake Server Family was configured to use 
the Cascadelake-Server libvirt/qemu CPU. In oVirt 4.4.3, this has been changed 
to Cascadelake-Server-noTSX libvirt/qemu CPU (since the TSX was dropped in 
8.3). 

The problem you're facing is caused by this transition. In the cluster table 
you can see that the running hosts still use the old configuration - 
Cascadelake-Server. That is why the new 8.3 host is non operative. 

Now the question is why the configuration in the cluster table was not updated. 
This should be the correct workflow: 
1. engine update from 4.4.2 to 4.4.3 
2. during engine-setup, the configuration values should be updated in the 
vdc_table in the database 
3. during engine startup, the cluster value should be updated IF all hosts are 
UP AND all hosts comply to the new configuration 

Could anything from the below cause the configuration in the cluster table not 
to be updated? 
a) engine-setup was not performed 
b) not all hosts in the cluster were UP 
c) some of the 8.2 hosts do not support the Cascadelake-Server-noTSX (I can see 
that the 8.2 you've checked does support it, maybe it would be worth checking 
the others as well). 

Based on your answer we can try a workaround in the Webadmin before changing 
the kernel values. 

Regards, 

Lucia 



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/KVUZP22DRFYG52LAMM3BQPTPCRUGKIJG/


[ovirt-users] Re: Bad CPU TYPE after Centos 8.3

2020-12-15 Thread Lionel Caignec
Hi All, 
and thanks for helping me 

So if i does not mistakte, we cannot use anymore cascadelake Server in centos 
8.3? 
Cluster configuration is Secure CascadeLake Server Family 



Here is output of the sql query : 

name | cpu_name | cpu_flags | cpu_verb 
++--+-
 
moria | Secure Intel Cascadelake Server Family | 
vmx,mds-no,md-clear,model_Cascadelake-Server | 
Cascadelake-Server,+md-clear,+mds-no,-hle,-rtm,+tsx-ctrl,+arch-capabilities 


So in your link they said TSX is disabled by default, may i enable it? or the 
best option is to change cluster cpu type to lower value? 

Sorry for all my question i'm quite lost 


Regards, 
Lionel. 

De: "Lucia Jelinkova"  
À: tho...@hoberg.net 
Cc: "users"  
Envoyé: Mardi 15 Décembre 2020 10:20:08 
Objet: [ovirt-users] Re: Bad CPU TYPE after Centos 8.3 

Hi Lionel, 

Thank you for the output from the virsh command. The interesting part is this: 
Cascadelake-Server-noTSX
Cascadelake-Server 
The Cascadelake-Server is not usable any more in 8.3 [1] yet that is what the 
cluster is probably configured with. 
Could you please run the following query for your cluster to be sure? 

select name, cpu_name, cpu_flags, cpu_verb from cluster; 

Could you please also run the virsh domcapabilities command on one of your 
active and running 8.2 hosts to see if they support Cascadelake-Server-noTSX? 

1: [ https://www.phoronix.com/scan.php?page=news_item=Red-Hat-RHEL-8.3 | 
https://www.phoronix.com/scan.php?page=news_item=Red-Hat-RHEL-8.3 ] 

Thank you, 

Lucia 






___ 
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/PWYZH3SK2WALLMWYS45EDAENP4IJQLSZ/
 

  /usr/libexec/qemu-kvm
  kvm
  pc-i440fx-rhel7.6.0
  x86_64
  
  
  


  /usr/share/OVMF/OVMF_CODE.secboot.fd
  
rom
pflash
  
  
yes
no
  
  
no
  

  
  


  Cascadelake-Server
  Intel
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  


  qemu64
  qemu32
  phenom
  pentium3
  pentium2
  pentium
  n270
  kvm64
  kvm32
  coreduo
  core2duo
  athlon
  Westmere-IBRS
  Westmere
  Skylake-Server-noTSX-IBRS
  Skylake-Server-IBRS
  Skylake-Server
  Skylake-Client-noTSX-IBRS
  Skylake-Client-IBRS
  Skylake-Client
  SandyBridge-IBRS
  SandyBridge
  Penryn
  Opteron_G5
  Opteron_G4
  Opteron_G3
  Opteron_G2
  Opteron_G1
  Nehalem-IBRS
  Nehalem
  IvyBridge-IBRS
  IvyBridge
  Icelake-Server-noTSX
  Icelake-Server
  Icelake-Client-noTSX
  Icelake-Client
  Haswell-noTSX-IBRS
  Haswell-noTSX
  Haswell-IBRS
  Haswell
  EPYC-IBPB
  EPYC
  Dhyana
  Cooperlake
  Conroe
  Cascadelake-Server-noTSX
  Cascadelake-Server
  Broadwell-noTSX-IBRS
  Broadwell-noTSX
  Broadwell-IBRS
  Broadwell
  486

  
  

  
disk
cdrom
floppy
lun
  
  
ide
fdc
scsi
virtio
usb
sata
  
  
virtio
virtio-transitional
virtio-non-transitional
  


  
sdl
vnc
spice
  


  
vga
cirrus
qxl
virtio
none
bochs
ramfb
  


  
subsystem
  
  
default
mandatory
requisite
optional
  
  
usb
pci
scsi
  
  
  


  
virtio
virtio-transitional
virtio-non-transitional
  
  
random
egd
  

  
  






  



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/4AXAZ6NCMC2UCOPJSGCBJPW47YPHABI6/


[ovirt-users] Re: Bad CPU TYPE after Centos 8.3

2020-12-14 Thread Lionel Caignec
Thank you for the trick put the result as attachment. 


De: "jb"  
À: "users"  
Envoyé: Lundi 14 Décembre 2020 15:41:48 
Objet: [ovirt-users] Re: Bad CPU TYPE after Centos 8.3 




Am 14.12.20 um 15:28 schrieb Lionel Caignec: 



Hi 
Thank for your answer. 

the virsh command ask me to authenticate, i tried my ldap account without 
success. There is an internal account? 




You can try it with: virsh -c qemu 
:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf domcapabilities 



BQ_BEGIN


For the error message no capabibilities is missing, it said bad cpu type but 
did not change it. 

"Host CPU type is not compatible with Cluster Properties." 


Lionel 


BQ_END

___ 
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/N7C42VPTYBQ2OXZK5JPKV5ADCFNJSZW3/
 

  /usr/libexec/qemu-kvm
  kvm
  pc-i440fx-rhel7.6.0
  x86_64
  
  
  


  /usr/share/OVMF/OVMF_CODE.secboot.fd
  
rom
pflash
  
  
yes
no
  
  
no
  

  
  


  Cascadelake-Server
  Intel
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  


  qemu64
  qemu32
  phenom
  pentium3
  pentium2
  pentium
  n270
  kvm64
  kvm32
  coreduo
  core2duo
  athlon
  Westmere-IBRS
  Westmere
  Skylake-Server-noTSX-IBRS
  Skylake-Server-IBRS
  Skylake-Server
  Skylake-Client-noTSX-IBRS
  Skylake-Client-IBRS
  Skylake-Client
  SandyBridge-IBRS
  SandyBridge
  Penryn
  Opteron_G5
  Opteron_G4
  Opteron_G3
  Opteron_G2
  Opteron_G1
  Nehalem-IBRS
  Nehalem
  IvyBridge-IBRS
  IvyBridge
  Icelake-Server-noTSX
  Icelake-Server
  Icelake-Client-noTSX
  Icelake-Client
  Haswell-noTSX-IBRS
  Haswell-noTSX
  Haswell-IBRS
  Haswell
  EPYC-IBPB
  EPYC
  Dhyana
  Cooperlake
  Conroe
  Cascadelake-Server-noTSX
  Cascadelake-Server
  Broadwell-noTSX-IBRS
  Broadwell-noTSX
  Broadwell-IBRS
  Broadwell
  486

  
  

  
disk
cdrom
floppy
lun
  
  
ide
fdc
scsi
virtio
usb
sata
  
  
virtio
virtio-transitional
virtio-non-transitional
  


  
sdl
vnc
spice
  


  
vga
cirrus
qxl
virtio
none
bochs
ramfb
  


  
subsystem
  
  
default
mandatory
requisite
optional
  
  
usb
pci
scsi
  
  
  


  
virtio
virtio-transitional
virtio-non-transitional
  
  
random
egd
  

  
  






  



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/JXK5FWY2M4S6GQWSRPJ4HN7LZHC3UCMC/


[ovirt-users] Re: Bad CPU TYPE after Centos 8.3

2020-12-14 Thread Lionel Caignec
Hi 
Thank for your answer. 

the virsh command ask me to authenticate, i tried my ldap account without 
success. There is an internal account? 

For the error message no capabibilities is missing, it said bad cpu type but 
did not change it. 

"Host CPU type is not compatible with Cluster Properties." 


Lionel 


De: "Lucia Jelinkova"  
À: "Lionel Caignec"  
Cc: "users"  
Envoyé: Lundi 14 Décembre 2020 11:30:19 
Objet: Re: [ovirt-users] Bad CPU TYPE after Centos 8.3 

Hi Lionel, 

could you please run the following command on the non responsive host? 

virsh domcapabilities 

Also, could you please go to the Webadmin UI and check the warning signs on the 
host list and host detail to see, what flags is the host missing? You can also 
check the CPU Type on the host's detail page + all available cpus in the info 
icon next to it. 

Regards, 

Lucia 



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/PD6FNCIEUIE54JAYMHT4KB3P64J7MLBA/


[ovirt-users] Bad CPU TYPE after Centos 8.3

2020-12-14 Thread Lionel Caignec
Hi,

i've just upgraded one host to latest centos release. And after reboot ovirt 
said "Host CPU type is not compatible with Cluster Properties." 
Looking on server i can see cpu is detected as skylake (cat 
/sys/devices/cpu/caps/pmu_name).

My CPU is Intel(R) Xeon(R) Gold 5220R CPU @ 2.20GHz so according to ark cascade 
lake server.
When i installed my new ovirt environment month agos, i configure cluster to be 
"secure Intel Cascade lake server family" and all sound goods.


So anyone can help me?


Environment : 
OS : Centos 8.3 (for manager and host in error) 
ovirt-engine 4.4.3.12-1.el8 
Host with error : vdsm.x86_64  4.40.35.1-1.el8   
Working Host : vdsm.x86_64  .40.26.3-1.el8   


Maybe someone can help me? I don't know what to do, and does not want to try 
update another host  if it fail... 

 Sorry if i post my message at wrong place.

Lionel Caignec.


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/N3PPT34GBRLPLTSWS6MLBBE2FSPXUCVI/


Re: [ovirt-users] Unable to activate host after 4.2 upgrade

2018-04-30 Thread Lionel Caignec
Ok thank you for this explanation it seems logical.

Where can i modify this settings? Posgres configuration or in the database?

- Mail original -
De: "Alexander Wels" <aw...@redhat.com>
À: "users" <users@ovirt.org>
Cc: "Lionel Caignec" <caig...@cines.fr>
Envoyé: Lundi 30 Avril 2018 15:58:42
Objet: Re: [ovirt-users] Unable to activate host after 4.2 upgrade

On Monday, April 30, 2018 9:49:16 AM EDT Lionel Caignec wrote:
> Hi,
> 
> finally after one more try of reinstallation server is now "operrational"
> really does not understande what happen :(.
> 
> Lionel.
> 

According to that exception there was an issue connecting to the engine 
database to retrieve some network related information, which in turn resulted 
in the host going non operational. I would check the engine.log in /var/log/
ovirt-engine on the engine machine to see if there is more information on why 
the connection failed. Depending on how many concurrent connections are being 
used it is possible none were available when you tried. Now whatever was using 
the connections has stopped using them, and they were available again.

Try increasing the number of connections available in the postgres 
configuration to solve the problem.

> - Mail original -
> De: "Lionel Caignec" <caig...@cines.fr>
> À: "users" <users@ovirt.org>
> Envoyé: Lundi 30 Avril 2018 15:14:36
> Objet: [ovirt-users] Unable to activate host after 4.2 upgrade
> 
> Hi,
> 
> i've upgraded my ovirt installation from 4.1.x to 4.2..
> But i have problem with one host. Ovirt said some mandatory network missing,
> but when i look into network configuration all Physical Card are in RED
> marked down. But my network is fully operrationnal (can ping).
> 
> I tried to remove all vdsm relative package and reinstall it manually --> KO
> I tried to remove host from ovirt, and reinstall it --> KO
> 
> On "setup host networks" screen all my card indicate "Link Layer
> Information" not available.
> 
> 
> Here is the log seems to be relevant (engine.log) :
> 2018-04-30 15:05:05,053+02 ERROR
> [org.ovirt.engine.core.bll.SetNonOperationalVdsCommand]
> (EE-ManagedThreadFactory-engineScheduled-Thread-39) [6372dfc8] Host
> 'dwalin.cines.fr' is set to Non-Operational, it is missing the following
> networks:
> 'dmz_interne,dmz_interne_adm,dns_interne,echange,echange_adm,ldap_interne,p
> allas_serv,pallas_serv_adm,securite,securite_adm,tiamat' 2018-04-30
> 15:05:05,079+02 WARN 
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (EE-ManagedThreadFactory-engineScheduled-Thread-39) [6372dfc8] EVENT_ID:
> VDS_SET_NONOPERATIONAL_NETWORK(519), Host dwalin.cines.fr does not comply
> with the cluster Private networks, the following networks are missing on
> host:
> 'dmz_interne,dmz_interne_adm,dns_interne,echange,echange_adm,ldap_interne,p
> allas_serv,pallas_serv_adm,securite,securite_adm,tiamat' 2018-04-30
> 15:05:05,085+02 ERROR [org.ovirt.engine.core.bll.job.ExecutionHandler]
> (EE-ManagedThreadFactory-engineScheduled-Thread-39) [6372dfc8] Exception:
> org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get
> JDBC Connection; nested exception is java.sql.SQLException:
> javax.resource.ResourceException: IJ000457: Unchecked throwable in
> managedConnectionReconnected()
> cl=org.jboss.jca.core.connectionmanager.listener.TxConnectionListener@43726
> 09f[state=NORMAL managed
> connection=org.jboss.jca.adapters.jdbc.local.LocalManagedConnection@688b132
> 3 connection handles=0 lastReturned=1525093505080
> lastValidated=1525093160840 lastCheckedOut=1525093505059 trackByTx=false
> pool=org.jboss.jca.core.connectionmanager.pool.strategy.OnePool@1d01224a
> mcp=SemaphoreConcurrentLinkedQueueManagedConnectionPool@bd7a6f0[pool=ENGINE
> DataSource]
> xaResource=LocalXAResourceImpl@3343607b[connectionListener=4372609f
> connectionManager=36e47d0e warned=false currentXid=null
> productName=PostgreSQ L productVersion=9.5.9
> jndiName=java:/ENGINEDataSource] txSync=null] (...)
> 
> 
> Now i really does know what to do.
> 
> Someone have an idea?
> 
> Thank you.
> 
> --
> Lionel
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Unable to activate host after 4.2 upgrade

2018-04-30 Thread Lionel Caignec
Hi,

finally after one more try of reinstallation server is now "operrational" 
really does not understande what happen :(.

Lionel.

- Mail original -
De: "Lionel Caignec" <caig...@cines.fr>
À: "users" <users@ovirt.org>
Envoyé: Lundi 30 Avril 2018 15:14:36
Objet: [ovirt-users] Unable to activate host after 4.2 upgrade

Hi,

i've upgraded my ovirt installation from 4.1.x to 4.2..
But i have problem with one host. Ovirt said some mandatory network missing, 
but when i look into network configuration all Physical Card are in RED marked 
down.
But my network is fully operrationnal (can ping).

I tried to remove all vdsm relative package and reinstall it manually --> KO
I tried to remove host from ovirt, and reinstall it --> KO

On "setup host networks" screen all my card indicate "Link Layer Information" 
not available.


Here is the log seems to be relevant (engine.log) :
2018-04-30 15:05:05,053+02 ERROR 
[org.ovirt.engine.core.bll.SetNonOperationalVdsCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-39) [6372dfc8] Host 
'dwalin.cines.fr' is set to Non-Operational, it is missing the following 
networks: 
'dmz_interne,dmz_interne_adm,dns_interne,echange,echange_adm,ldap_interne,pallas_serv,pallas_serv_adm,securite,securite_adm,tiamat'
2018-04-30 15:05:05,079+02 WARN  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engineScheduled-Thread-39) [6372dfc8] EVENT_ID: 
VDS_SET_NONOPERATIONAL_NETWORK(519), Host dwalin.cines.fr does not comply with 
the cluster Private networks, the following networks are missing on host: 
'dmz_interne,dmz_interne_adm,dns_interne,echange,echange_adm,ldap_interne,pallas_serv,pallas_serv_adm,securite,securite_adm,tiamat'
2018-04-30 15:05:05,085+02 ERROR 
[org.ovirt.engine.core.bll.job.ExecutionHandler] 
(EE-ManagedThreadFactory-engineScheduled-Thread-39) [6372dfc8] Exception: 
org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC 
Connection; nested exception is java.sql.SQLException: 
javax.resource.ResourceException: IJ000457: Unchecked throwable in 
managedConnectionReconnected() 
cl=org.jboss.jca.core.connectionmanager.listener.TxConnectionListener@4372609f[state=NORMAL
 managed 
connection=org.jboss.jca.adapters.jdbc.local.LocalManagedConnection@688b1323 
connection handles=0 lastReturned=1525093505080 lastValidated=1525093160840 
lastCheckedOut=1525093505059 trackByTx=false 
pool=org.jboss.jca.core.connectionmanager.pool.strategy.OnePool@1d01224a 
mcp=SemaphoreConcurrentLinkedQueueManagedConnectionPool@bd7a6f0[pool=ENGINEDataSource]
 xaResource=LocalXAResourceImpl@3343607b[connectionListener=4372609f 
connectionManager=36e47d0e warned=false currentXid=null productName=PostgreSQ
 L productVersion=9.5.9 jndiName=java:/ENGINEDataSource] txSync=null] (...)


Now i really does know what to do.

Someone have an idea?

Thank you.

--
Lionel
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Unable to activate host after 4.2 upgrade

2018-04-30 Thread Lionel Caignec
Hi,

i've upgraded my ovirt installation from 4.1.x to 4.2..
But i have problem with one host. Ovirt said some mandatory network missing, 
but when i look into network configuration all Physical Card are in RED marked 
down.
But my network is fully operrationnal (can ping).

I tried to remove all vdsm relative package and reinstall it manually --> KO
I tried to remove host from ovirt, and reinstall it --> KO

On "setup host networks" screen all my card indicate "Link Layer Information" 
not available.


Here is the log seems to be relevant (engine.log) :
2018-04-30 15:05:05,053+02 ERROR 
[org.ovirt.engine.core.bll.SetNonOperationalVdsCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-39) [6372dfc8] Host 
'dwalin.cines.fr' is set to Non-Operational, it is missing the following 
networks: 
'dmz_interne,dmz_interne_adm,dns_interne,echange,echange_adm,ldap_interne,pallas_serv,pallas_serv_adm,securite,securite_adm,tiamat'
2018-04-30 15:05:05,079+02 WARN  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engineScheduled-Thread-39) [6372dfc8] EVENT_ID: 
VDS_SET_NONOPERATIONAL_NETWORK(519), Host dwalin.cines.fr does not comply with 
the cluster Private networks, the following networks are missing on host: 
'dmz_interne,dmz_interne_adm,dns_interne,echange,echange_adm,ldap_interne,pallas_serv,pallas_serv_adm,securite,securite_adm,tiamat'
2018-04-30 15:05:05,085+02 ERROR 
[org.ovirt.engine.core.bll.job.ExecutionHandler] 
(EE-ManagedThreadFactory-engineScheduled-Thread-39) [6372dfc8] Exception: 
org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC 
Connection; nested exception is java.sql.SQLException: 
javax.resource.ResourceException: IJ000457: Unchecked throwable in 
managedConnectionReconnected() 
cl=org.jboss.jca.core.connectionmanager.listener.TxConnectionListener@4372609f[state=NORMAL
 managed 
connection=org.jboss.jca.adapters.jdbc.local.LocalManagedConnection@688b1323 
connection handles=0 lastReturned=1525093505080 lastValidated=1525093160840 
lastCheckedOut=1525093505059 trackByTx=false 
pool=org.jboss.jca.core.connectionmanager.pool.strategy.OnePool@1d01224a 
mcp=SemaphoreConcurrentLinkedQueueManagedConnectionPool@bd7a6f0[pool=ENGINEDataSource]
 xaResource=LocalXAResourceImpl@3343607b[connectionListener=4372609f 
connectionManager=36e47d0e warned=false currentXid=null productName=PostgreSQ
 L productVersion=9.5.9 jndiName=java:/ENGINEDataSource] txSync=null] (...)


Now i really does know what to do.

Someone have an idea?

Thank you.

--
Lionel
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ghost Snapshot Disk

2018-03-08 Thread Lionel Caignec
Hi Shani,

these is the log i get in engine.log (tail -f) when trying to remove disk from 
guest : 
2018-03-09 07:59:31,741+01 WARN  
[org.ovirt.engine.core.bll.storage.disk.DetachDiskFromVmCommand] (default 
task-88) [e111eddd-63da-4c01-9885-f06dbcfb18e8] Validation of action 
'DetachDiskFromVm' failed for user xx. Reasons: 
VAR__ACTION__DETACH_ACTION_TO,VAR__TYPE__DISK,ERROR_CANNOT_DETACH_DISK_WITH_SNAPSHOT

no more information so i'm stuck :)

Regards
- Mail original -
De: "Shani Leviim" <slev...@redhat.com>
À: "Lionel Caignec" <caig...@cines.fr>
Cc: "users" <users@ovirt.org>
Envoyé: Jeudi 8 Mars 2018 16:30:53
Objet: Re: [ovirt-users] Ghost Snapshot Disk

Hi Lionel,

Can you please share once again your engine log (or at least the relevant
part where that error message occurred)?


*Regards,*

*Shani Leviim*

On Thu, Mar 8, 2018 at 1:56 PM, Lionel Caignec <caig...@cines.fr> wrote:

> Hi,
>
> i finished to move my data, but now when i want to remove my old disk i
> get stuck to this error :
> "Cannot detach Virtual Machine Disk. The disk is already configured in a
> snapshot. In order to detach it, remove the disk's snapshots".
> But like i said before there is no snapshot anymore.
> So what can i do? Delete manually inside database? So where?
> Delete manually lvm volume, so how can i find the good one?
>
> Please help ;).
>
> Lionel
>
> - Mail original -
> De: "Lionel Caignec" <caig...@cines.fr>
> À: "Shani Leviim" <slev...@redhat.com>
> Cc: "users" <users@ovirt.org>
> Envoyé: Mardi 6 Mars 2018 08:22:30
> Objet: Re: [ovirt-users] Ghost Snapshot Disk
>
> Hi,
>
> ok thank you for information (sorry for late response).
>
> I will do that.
>
> - Mail original -
> De: "Shani Leviim" <slev...@redhat.com>
> À: "Lionel Caignec" <caig...@cines.fr>
> Cc: "users" <users@ovirt.org>
> Envoyé: Mardi 27 Février 2018 14:19:45
> Objet: Re: [ovirt-users] Ghost Snapshot Disk
>
> Hi Lionel,
>
> Sorry for the delay in replying you.
>
> If it's possible from your side, syncing the data and destroying old disk
> sounds about right.
>
> In addition, it seems like you're having this bug:
> https://bugzilla.redhat.com/show_bug.cgi?id=1509629
> And it was fixed for version 4.1.9. and above.
>
>
>
> *Regards,*
>
> *Shani Leviim*
>
> On Mon, Feb 26, 2018 at 4:18 PM, Lionel Caignec <caig...@cines.fr> wrote:
>
> > Ok so i reply myself,
> >
> > Version is 4.1.7.6-1
> >
> > I just delete manually a snapshot previously created. But this is an io
> > intensive vm, whit big disk (2,5To, and 5To).
> >
> > For the log, i cannot paste all my log on public list security reason, i
> > will send you full in private.
> > Here is an extract relevant to my error
> > engine.log-20180210:2018-02-09 23:00:03,200+01 INFO
> > [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> > (default task-312) [44402a8c-3196-43f0-ba33-307ea78e6f49] EVENT_ID:
> > USER_CREATE_SNAPSHOT(45), Correlation ID: 44402a8c-3196-43f0-ba33-
> 307ea78e6f49,
> > Job ID: 030cd310-fec9-4a89-8c3f-7888504fe973, Call Stack: null, Custom
> > ID: null, Custom Event ID: -1, Message: Snapshot
> 'AUTO_7D_zz_nil_20180209_220002'
> > creation for VM 'zz_nil' was initiated by snap_user@internal.
> > engine.log-20180210:2018-02-09 23:01:06,578+01 INFO
> > [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> > (DefaultQuartzScheduler5) [] EVENT_ID: USER_CREATE_SNAPSHOT_FINISHED_
> SUCCESS(68),
> > Correlation ID: 44402a8c-3196-43f0-ba33-307ea78e6f49, Job ID:
> > 030cd310-fec9-4a89-8c3f-7888504fe973, Call Stack: null, Custom ID: null,
> > Custom Event ID: -1, Message: Snapshot 'AUTO_7D_zz_nil_20180209_220002'
> > creation for VM 'zz_nil' has been completed.
> > engine.log-20180220:2018-02-19 17:01:23,800+01 INFO
> > [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> > (default task-113) [] EVENT_ID: USER_REMOVE_SNAPSHOT(342), Correlation
> ID:
> > 06a9efa4-1b80-4021-bf3e-41ecebe58a88, Job ID: c9a918a7-b00c-43cf-b6de-
> 3659ac0765da,
> > Call Stack: null, Custom ID: null, Custom Event ID: -1, Message: Snapshot
> > 'AUTO_7D_zz_nil_20180209_220002' deletion for VM 'zz_nil' was initiated
> > by acaignec@ldap-cines-authz.
> > engine.log-20180221:2018-02-20 22:24:45,174+01 ERROR
> > [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> > (DefaultQuartzScheduler6) [06a9efa4-1b80-4021-bf3e-41ecebe58a88]
> > EVENT_ID: USER_REMOVE_

Re: [ovirt-users] Ghost Snapshot Disk

2018-03-05 Thread Lionel Caignec
Hi,

ok thank you for information (sorry for late response).

I will do that.

- Mail original -
De: "Shani Leviim" <slev...@redhat.com>
À: "Lionel Caignec" <caig...@cines.fr>
Cc: "users" <users@ovirt.org>
Envoyé: Mardi 27 Février 2018 14:19:45
Objet: Re: [ovirt-users] Ghost Snapshot Disk

Hi Lionel,

Sorry for the delay in replying you.

If it's possible from your side, syncing the data and destroying old disk
sounds about right.

In addition, it seems like you're having this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1509629
And it was fixed for version 4.1.9. and above.



*Regards,*

*Shani Leviim*

On Mon, Feb 26, 2018 at 4:18 PM, Lionel Caignec <caig...@cines.fr> wrote:

> Ok so i reply myself,
>
> Version is 4.1.7.6-1
>
> I just delete manually a snapshot previously created. But this is an io
> intensive vm, whit big disk (2,5To, and 5To).
>
> For the log, i cannot paste all my log on public list security reason, i
> will send you full in private.
> Here is an extract relevant to my error
> engine.log-20180210:2018-02-09 23:00:03,200+01 INFO
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (default task-312) [44402a8c-3196-43f0-ba33-307ea78e6f49] EVENT_ID:
> USER_CREATE_SNAPSHOT(45), Correlation ID: 
> 44402a8c-3196-43f0-ba33-307ea78e6f49,
> Job ID: 030cd310-fec9-4a89-8c3f-7888504fe973, Call Stack: null, Custom
> ID: null, Custom Event ID: -1, Message: Snapshot 
> 'AUTO_7D_zz_nil_20180209_220002'
> creation for VM 'zz_nil' was initiated by snap_user@internal.
> engine.log-20180210:2018-02-09 23:01:06,578+01 INFO
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (DefaultQuartzScheduler5) [] EVENT_ID: 
> USER_CREATE_SNAPSHOT_FINISHED_SUCCESS(68),
> Correlation ID: 44402a8c-3196-43f0-ba33-307ea78e6f49, Job ID:
> 030cd310-fec9-4a89-8c3f-7888504fe973, Call Stack: null, Custom ID: null,
> Custom Event ID: -1, Message: Snapshot 'AUTO_7D_zz_nil_20180209_220002'
> creation for VM 'zz_nil' has been completed.
> engine.log-20180220:2018-02-19 17:01:23,800+01 INFO
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (default task-113) [] EVENT_ID: USER_REMOVE_SNAPSHOT(342), Correlation ID:
> 06a9efa4-1b80-4021-bf3e-41ecebe58a88, Job ID: 
> c9a918a7-b00c-43cf-b6de-3659ac0765da,
> Call Stack: null, Custom ID: null, Custom Event ID: -1, Message: Snapshot
> 'AUTO_7D_zz_nil_20180209_220002' deletion for VM 'zz_nil' was initiated
> by acaignec@ldap-cines-authz.
> engine.log-20180221:2018-02-20 22:24:45,174+01 ERROR
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (DefaultQuartzScheduler6) [06a9efa4-1b80-4021-bf3e-41ecebe58a88]
> EVENT_ID: USER_REMOVE_SNAPSHOT_FINISHED_FAILURE(357), Correlation ID:
> 06a9efa4-1b80-4021-bf3e-41ecebe58a88, Job ID: 
> c9a918a7-b00c-43cf-b6de-3659ac0765da,
> Call Stack: null, Custom ID: null, Custom Event ID: -1, Message: Failed to
> delete snapshot 'AUTO_7D_zz_nil_20180209_220002' for VM 'zz_nil'.
>  2018-02-20 22:24:46,266+01 INFO  
> [org.ovirt.engine.core.bll.tasks.SPMAsyncTask]
> (DefaultQuartzScheduler3) [516079c3] SPMAsyncTask::PollTask: Polling task
> '34137342-4f30-476d-b16c-1cb7e0ea0ac0' (Parent Command 'DestroyImage',
> Parameters Type 'org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters')
> returned status 'finished', result 'success'.
> 2018-02-20 22:24:46,267+01 INFO  
> [org.ovirt.engine.core.bll.tasks.SPMAsyncTask]
> (DefaultQuartzScheduler3) [516079c3] BaseAsyncTask::onTaskEndSuccess:
> Task '34137342-4f30-476d-b16c-1cb7e0ea0ac0' (Parent Command
> 'DestroyImage', Parameters Type 
> 'org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters')
> ended successfully.
> 2018-02-20 22:24:46,268+01 INFO  
> [org.ovirt.engine.core.bll.tasks.CommandAsyncTask]
> (DefaultQuartzScheduler3) [516079c3] CommandAsyncTask::endActionIfNecessary:
> All tasks of command 'fe8c91f2-386b-4b3f-bbf3-aeda8e9244c6' has ended ->
> executing 'endAction'
> 2018-02-20 22:24:46,268+01 INFO  
> [org.ovirt.engine.core.bll.tasks.CommandAsyncTask]
> (DefaultQuartzScheduler3) [516079c3] CommandAsyncTask::endAction: Ending
> action for '1' tasks (command ID: 'fe8c91f2-386b-4b3f-bbf3-aeda8e9244c6'):
> calling endAction '.
> 2018-02-20 22:24:46,268+01 INFO  
> [org.ovirt.engine.core.bll.tasks.CommandAsyncTask]
> (org.ovirt.thread.pool-6-thread-20) [516079c3] 
> CommandAsyncTask::endCommandAction
> [within thread] context: Attempting to endAction 'DestroyImage',
> 2018-02-20 22:24:46,269+01 ERROR 
> [org.ovirt.engine.core.bll.tasks.CommandAsyncTask]
> (org.ovirt.thread.pool-6-thread-20) [516079c3] [within thread]: endAction
> for action type DestroyImage threw an exce

Re: [ovirt-users] Ghost Snapshot Disk

2018-02-26 Thread Lionel Caignec
jar:1.8.0_161]

- Mail original -
De: "Shani Leviim" <slev...@redhat.com>
À: "Lionel Caignec" <caig...@cines.fr>
Envoyé: Lundi 26 Février 2018 14:42:38
Objet: Re: [ovirt-users] Ghost Snapshot Disk

Yes, please.
Can you detail a bit more regarding the actions you've done?

I'm assuming that since the snapshot had no description, trying to operate
it caused the nullPointerException you've got.
But I want to examine what was the cause for that.

Also, can you please answer back to the list?



*Regards,*

*Shani Leviim*

On Mon, Feb 26, 2018 at 3:37 PM, Lionel Caignec <caig...@cines.fr> wrote:

> Version is 4.1.7.6-1
>
> Do you want the log from the day i delete snapshot?
>
> - Mail original -
> De: "Shani Leviim" <slev...@redhat.com>
> À: "Lionel Caignec" <caig...@cines.fr>
> Cc: "users" <users@ovirt.org>
> Envoyé: Lundi 26 Février 2018 14:29:16
> Objet: Re: [ovirt-users] Ghost Snapshot Disk
>
> Hi,
>
> What is your engine version, please?
> I'm trying to reproduce your steps, for understanding better was is the
> cause for that error. Therefore, a full engine log is needed.
> Can you please attach it?
>
> Thanks,
>
>
> *Shani Leviim*
>
> On Mon, Feb 26, 2018 at 2:48 PM, Lionel Caignec <caig...@cines.fr> wrote:
>
> > Hi
> >
> > 1) this is error message from ui.log
> >
> >  2018-02-26 13:44:10,001+01 ERROR [org.ovirt.engine.ui.frontend.
> > server.gwt.OvirtRemoteLoggingService] (default task-3) [] Permutation
> > name: 8C01181C3B121D0AAE1312275CC96415
> > 2018-02-26 13:44:10,001+01 ERROR [org.ovirt.engine.ui.frontend.
> server.gwt.OvirtRemoteLoggingService]
> > (default task-3) [] Uncaught exception: com.google.gwt.core.client.
> JavaScriptException:
> > (TypeError)
> >  __gwt$exception: : Cannot read property 'F' of null
> > at org.ovirt.engine.ui.uicommonweb.models.storage.
> > DisksAllocationModel$3.$onSuccess(DisksAllocationModel.java:120)
> > at org.ovirt.engine.ui.uicommonweb.models.storage.
> > DisksAllocationModel$3.onSuccess(DisksAllocationModel.java:120)
> > at org.ovirt.engine.ui.frontend.Frontend$2.$onSuccess(
> Frontend.java:233)
> > [frontend.jar:]
> > at org.ovirt.engine.ui.frontend.Frontend$2.onSuccess(Frontend.
> java:233)
> > [frontend.jar:]
> > at org.ovirt.engine.ui.frontend.communication.
> > OperationProcessor$2.$onSuccess(OperationProcessor.java:139)
> > [frontend.jar:]
> > at org.ovirt.engine.ui.frontend.communication.
> > OperationProcessor$2.onSuccess(OperationProcessor.java:139)
> > [frontend.jar:]
> > at org.ovirt.engine.ui.frontend.communication.
> > GWTRPCCommunicationProvider$5$1.$onSuccess(GWTRPCCommunicationProvider.
> java:269)
> > [frontend.jar:]
> > at org.ovirt.engine.ui.frontend.communication.
> > GWTRPCCommunicationProvider$5$1.onSuccess(GWTRPCCommunicationProvider.
> java:269)
> > [frontend.jar:]
> > at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.
> > onResponseReceived(RequestCallbackAdapter.java:198) [gwt-servlet.jar:]
> > at com.google.gwt.http.client.Request.$fireOnResponseReceived(
> Request.java:237)
> > [gwt-servlet.jar:]
> > at com.google.gwt.http.client.RequestBuilder$1.
> onReadyStateChange(RequestBuilder.java:409)
> > [gwt-servlet.jar:]
> > at Unknown.eval(webadmin-0.js@65)
> > at com.google.gwt.core.client.impl.Impl.apply(Impl.java:296)
> > [gwt-servlet.jar:]
> > at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:335)
> > [gwt-servlet.jar:]
> > at Unknown.eval(webadmin-0.js@54)
> >
> >
> > 2) This line seems to be about the bad disk :
> >
> >  f242cc9a-56c1-4ae4-aef0-f75eb01f74b1 | 2018-01-17 22:02:00+01 |
> > 2748779069440 | ---- |
> > ---- |   4 | 2018-01-18
> > 22:01:20.5+01   | 0dd2090c-3491-4fa1-98c3-54ae88be793c
> >
> >
> > 3) Snapshot table is empty for the concerned vm_id.
> >
> > - Mail original -
> > De: "Shani Leviim" <slev...@redhat.com>
> > À: "Lionel Caignec" <caig...@cines.fr>
> > Cc: "users" <users@ovirt.org>
> > Envoyé: Lundi 26 Février 2018 13:31:23
> > Objet: Re: [ovirt-users] Ghost Snapshot Disk
> >
> > Hi Lionel,
> >
> > The error message you've mentioned sounds like a UI error.
> > Can you please attach your ui log?
> >
> > Also, on the data from 'images' table you've uploaded,

Re: [ovirt-users] Ghost Snapshot Disk

2018-02-26 Thread Lionel Caignec
Hi 

1) this is error message from ui.log

 2018-02-26 13:44:10,001+01 ERROR 
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default 
task-3) [] Permutation name: 8C01181C3B121D0AAE1312275CC96415
2018-02-26 13:44:10,001+01 ERROR 
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default 
task-3) [] Uncaught exception: com.google.gwt.core.client.JavaScriptException: 
(TypeError) 
 __gwt$exception: : Cannot read property 'F' of null
at 
org.ovirt.engine.ui.uicommonweb.models.storage.DisksAllocationModel$3.$onSuccess(DisksAllocationModel.java:120)
at 
org.ovirt.engine.ui.uicommonweb.models.storage.DisksAllocationModel$3.onSuccess(DisksAllocationModel.java:120)
at 
org.ovirt.engine.ui.frontend.Frontend$2.$onSuccess(Frontend.java:233) 
[frontend.jar:]
at org.ovirt.engine.ui.frontend.Frontend$2.onSuccess(Frontend.java:233) 
[frontend.jar:]
at 
org.ovirt.engine.ui.frontend.communication.OperationProcessor$2.$onSuccess(OperationProcessor.java:139)
 [frontend.jar:]
at 
org.ovirt.engine.ui.frontend.communication.OperationProcessor$2.onSuccess(OperationProcessor.java:139)
 [frontend.jar:]
at 
org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$5$1.$onSuccess(GWTRPCCommunicationProvider.java:269)
 [frontend.jar:]
at 
org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$5$1.onSuccess(GWTRPCCommunicationProvider.java:269)
 [frontend.jar:]
at 
com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:198)
 [gwt-servlet.jar:]
at 
com.google.gwt.http.client.Request.$fireOnResponseReceived(Request.java:237) 
[gwt-servlet.jar:]
at 
com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:409)
 [gwt-servlet.jar:]
at Unknown.eval(webadmin-0.js@65)
at com.google.gwt.core.client.impl.Impl.apply(Impl.java:296) 
[gwt-servlet.jar:]
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:335) 
[gwt-servlet.jar:]
at Unknown.eval(webadmin-0.js@54)


2) This line seems to be about the bad disk : 

 f242cc9a-56c1-4ae4-aef0-f75eb01f74b1 | 2018-01-17 22:02:00+01 | 2748779069440 
| ---- | ---- | 
  4 | 2018-01-18 22:01:20.5+01   | 0dd2090c-3491-4fa1-98c3-54ae88be793c


3) Snapshot table is empty for the concerned vm_id.

- Mail original -
De: "Shani Leviim" <slev...@redhat.com>
À: "Lionel Caignec" <caig...@cines.fr>
Cc: "users" <users@ovirt.org>
Envoyé: Lundi 26 Février 2018 13:31:23
Objet: Re: [ovirt-users] Ghost Snapshot Disk

Hi Lionel,

The error message you've mentioned sounds like a UI error.
Can you please attach your ui log?

Also, on the data from 'images' table you've uploaded, can you describe
which line is the relevant disk?

Finally (for now), in case the snapshot was deleted, can you please
validate it by viewing the output of:
$ select * from snapshots;



*Regards,*

*Shani Leviim*

On Mon, Feb 26, 2018 at 9:20 AM, Lionel Caignec <caig...@cines.fr> wrote:

> Hi Shani,
> thank you for helping me with your reply,
> i juste make a little mistake on explanation. In fact it's the snapshot
> does not exist anymore. This is the disk(s) relative to her wich still
> exist, and perhaps LVM volume.
> So can i delete manually this disk in database? what about the lvm volume?
> Is it better to recreate disk sync data and destroy old one?
>
>
>
> - Mail original -
> De: "Shani Leviim" <slev...@redhat.com>
> À: "Lionel Caignec" <caig...@cines.fr>
> Cc: "users" <users@ovirt.org>
> Envoyé: Dimanche 25 Février 2018 14:26:41
> Objet: Re: [ovirt-users] Ghost Snapshot Disk
>
> Hi Lionel,
>
> You can try to delete that snapshot directly from the database.
>
> In case of using psql  [1], once you've logged in to your database, you can
> run this query:
> $ select * from snapshots where vm_id = '';
> This one would list the snapshots associated with a VM by its id.
>
> In case you don't have you vm_id, you can locate it by querying:
> $ select * from vms where vm_name = 'nil';
> This one would show you some details about a VM by its name (including the
> vm's id).
>
> Once you've found the relevant snapshot, you can delete it by running:
> $ delete from snapshots where snapshot_id = '';
> This one would delete the desired snapshot from the database.
>
> Since it's a delete operation, I would suggest confirming the ids before
> executing it.
>
> Hope you've found it useful!
>
> [1]
> https://www.ovirt.org/documentation/install-guide/appe-Preparing_a_Remote_
> PostgreSQL_Database_for_Use_with_the_oVirt_Engine/
>
>
> *Regards,*
>
> *Shani Leviim*
>
&

Re: [ovirt-users] Ghost Snapshot Disk

2018-02-25 Thread Lionel Caignec
Hi Shani,
thank you for helping me with your reply,
i juste make a little mistake on explanation. In fact it's the snapshot does 
not exist anymore. This is the disk(s) relative to her wich still exist, and 
perhaps LVM volume.
So can i delete manually this disk in database? what about the lvm volume? Is 
it better to recreate disk sync data and destroy old one?



- Mail original -
De: "Shani Leviim" <slev...@redhat.com>
À: "Lionel Caignec" <caig...@cines.fr>
Cc: "users" <users@ovirt.org>
Envoyé: Dimanche 25 Février 2018 14:26:41
Objet: Re: [ovirt-users] Ghost Snapshot Disk

Hi Lionel,

You can try to delete that snapshot directly from the database.

In case of using psql  [1], once you've logged in to your database, you can
run this query:
$ select * from snapshots where vm_id = '';
This one would list the snapshots associated with a VM by its id.

In case you don't have you vm_id, you can locate it by querying:
$ select * from vms where vm_name = 'nil';
This one would show you some details about a VM by its name (including the
vm's id).

Once you've found the relevant snapshot, you can delete it by running:
$ delete from snapshots where snapshot_id = '';
This one would delete the desired snapshot from the database.

Since it's a delete operation, I would suggest confirming the ids before
executing it.

Hope you've found it useful!

[1]
https://www.ovirt.org/documentation/install-guide/appe-Preparing_a_Remote_PostgreSQL_Database_for_Use_with_the_oVirt_Engine/


*Regards,*

*Shani Leviim*

On Fri, Feb 23, 2018 at 9:25 AM, Lionel Caignec <caig...@cines.fr> wrote:

> Hi,
>
> i've a problem with snapshot. On one VM i've a "snapshot" ghost without
> name or uuid, only information is size (see attachment). In the snapshot
> tab there is no trace about this disk.
>
> In database (table images) i found this :
>   f242cc9a-56c1-4ae4-aef0-f75eb01f74b1 | 2018-01-17 22:02:00+01 |
> 2748779069440 | ---- |
> ---- |   4 | 2018-01-18
> 22:01:20.5+01   | 0dd2090c-3491-4fa1-98c3-54ae88be793c
>  |   2 | 4 | 17e26476-cecb-441d-a5f7-46ab3ef387ee |
> 2018-01-17 22:01:29.663334+01 | 2018-01-19 08:40:14.345229+01 | f  |
>  1 |   2
>  1c7650fa-542b-4ec2-83a1-d2c1c31be5fd | 2018-01-17 22:02:03+01 |
> 536870912 | ---- |
> ---- |   4 | 2018-01-18
> 22:01:20.84+01  | 0dd2090c-3491-4fa1-98c3-54ae88be793c
>  |   2 | 4 | bf834a91-c69f-4d2c-b639-116ed58296d8 |
> 2018-01-17 22:01:29.836133+01 | 2018-01-19 08:40:19.083508+01 | f  |
>  1 |   2
>  8614b21f-c0de-40f2-b4fb-e5cf193b0743 | 2018-02-09 23:00:44+01 |
> 536870912 | ---- |
> ---- |   4 | 2018-02-16
> 23:00:02.855+01 | 390175dc-baf4-4831-936a-5ea68fa4c969
>
>
>  But i does not know which line is my disk. Is it possible to delete
> directly into database?
>  Or is it better to dump my disk to another new and delete the "corrupted
> one"?
>
>  Another thing, when i try to move the disk to another storage domain i
> always get "uncaght exeption occured ..." and no error in engine.log.
>
>
>  Thank you for helping.
>
> --
> Lionel Caignec
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Ghost Snapshot Disk

2018-02-22 Thread Lionel Caignec
Hi,

i've a problem with snapshot. On one VM i've a "snapshot" ghost without name or 
uuid, only information is size (see attachment). In the snapshot tab there is 
no trace about this disk.

In database (table images) i found this : 
  f242cc9a-56c1-4ae4-aef0-f75eb01f74b1 | 2018-01-17 22:02:00+01 | 2748779069440 
| ---- | ---- | 
  4 | 2018-01-18 22:01:20.5+01   | 0dd2090c-3491-4fa1-98c3-54ae88be793c
 |   2 | 4 | 17e26476-cecb-441d-a5f7-46ab3ef387ee | 
2018-01-17 22:01:29.663334+01 | 2018-01-19 08:40:14.345229+01 | f  |
 1 |   2
 1c7650fa-542b-4ec2-83a1-d2c1c31be5fd | 2018-01-17 22:02:03+01 | 536870912 
| ---- | ---- | 
  4 | 2018-01-18 22:01:20.84+01  | 0dd2090c-3491-4fa1-98c3-54ae88be793c
 |   2 | 4 | bf834a91-c69f-4d2c-b639-116ed58296d8 | 
2018-01-17 22:01:29.836133+01 | 2018-01-19 08:40:19.083508+01 | f  |
 1 |   2
 8614b21f-c0de-40f2-b4fb-e5cf193b0743 | 2018-02-09 23:00:44+01 | 536870912 
| ---- | ---- | 
  4 | 2018-02-16 23:00:02.855+01 | 390175dc-baf4-4831-936a-5ea68fa4c969


 But i does not know which line is my disk. Is it possible to delete directly 
into database? 
 Or is it better to dump my disk to another new and delete the "corrupted one"?

 Another thing, when i try to move the disk to another storage domain i always 
get "uncaght exeption occured ..." and no error in engine.log.


 Thank you for helping.

--
Lionel Caignec 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Snapshot removal vs selinux enforced

2017-09-25 Thread Lionel Caignec
I reply myself if it can help somemone.
I found a solution with audit2allow/audit2why creating a policy containing this 
: 
type systemd_machined_t;
type svirt_t;
type fixed_disk_device_t;
class blk_file write;
class dir search;
}

It seems to work, and i can keep my host in selinux enforced.

- Mail original -
De: "Lionel Caignec" <caig...@cines.fr>
À: "users" <users@ovirt.org>
Envoyé: Lundi 25 Septembre 2017 15:37:16
Objet: [ovirt-users] Snapshot removal vs selinux enforced

Hi,

i have a problem with selinux enforced.
When i tried to live remove a snapshot the operation failed . After some 
headache i found the problem source : selinux.
When i "setenfore 0" the removal task work, when i "setenforce 1" removal task 
failed.

log from audit.log:
  vc: denied {write} for pid = 28360 tmptext = system_u: object_r : 
fixed_disk_device_t: s0 tclass = blk_file

I'm with RHEL 7.4 and ovirt 4.1, is it some specific configuration to do?.

Thanks for help.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Snapshot removal vs selinux enforced

2017-09-25 Thread Lionel Caignec
Hi,

i have a problem with selinux enforced.
When i tried to live remove a snapshot the operation failed . After some 
headache i found the problem source : selinux.
When i "setenfore 0" the removal task work, when i "setenforce 1" removal task 
failed.

log from audit.log:
  vc: denied {write} for pid = 28360 tmptext = system_u: object_r : 
fixed_disk_device_t: s0 tclass = blk_file

I'm with RHEL 7.4 and ovirt 4.1, is it some specific configuration to do?.

Thanks for help.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] API Snapshot removal ending event

2017-09-25 Thread Lionel Caignec
Hi,

For snap creation i use a loop like this to know when task is finished:
> snap = snapshots_service.add(types.Snapshot(description=description,
   persist_memorystate=False))
> snap_service = snapshots_service.snapshot_service(snap.id)
>while snap.snapshot_status != types.SnapshotStatus.OK:


is it possible to do the same think for snap deletion? i did not find anything 
in api doc.


Thank you
--
Lionel 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Snapshot removal

2017-09-22 Thread Lionel Caignec
Hi,

i'm wondering if it possible to delete at same time snapshots of differents VM 
? Or is it necessary to do it only one at a time?

--
Lionel 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Failing to attaching master domain (nfs shares)

2017-09-20 Thread Lionel Caignec
Hi,
I don't know if information is relevant but no server get SPM role.

Someone can help me, all my production is blocked, and backup restore does not 
correct the problem.


Lionel.

- Mail original -
De: "Lionel Caignec" <caig...@cines.fr>
À: "users" <users@ovirt.org>
Envoyé: Mardi 19 Septembre 2017 17:10:07
Objet: [ovirt-users] Failing to attaching master domain (nfs shares)

Hi,

i've just upgraded to 4.1 after some problem with PKI but now i'm facing 
problem with master data storage on one datacenter.

I've tried to reinitialize data center on new storage domain but same error 
(http://lists.ovirt.org/pipermail/users/2016-August/075569.html). 
I really does not understand because all my host see on 
/rhev/data-center/mnt/... all file of the storage domain.

What do i miss?

Please help ;)

Lionel
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Upgrade 4 --> 4.1 OVirt PKI problem

2017-09-19 Thread Lionel Caignec
finally i restore backup to resolve my problem.

- Mail original -
De: "Lionel Caignec" <caig...@cines.fr>
À: "users" <users@ovirt.org>
Envoyé: Mardi 19 Septembre 2017 10:19:23
Objet: [ovirt-users] Upgrade 4 --> 4.1 OVirt PKI problem

Hi,

i've just upgraded to ovirt 4.1 but with some problem, in short ovirt 
regenerate all the pki infrastructure and now i've 2 problem :

1) If i start ovirt just after install, i can log in the GUI but all my host 
are unvailable with ssl communication problem.

2) If i restore my old "/etc/pki/ovirt-engine" my hosts seems to communicate 
(engine.log) but i can't connect to the GUI. 
I've this warning "sun.security.validator.ValidatorException: PKIX path 
building failed: sun.security.provider.certpath.SunCertPathBuilderException: 
unable to find valid certification path to requested target".


Moreover i've running production vm on my host that i cannot poweroff. Someone 
have an idea?

Thank you.

Lionel
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Failing to attaching master domain (nfs shares)

2017-09-19 Thread Lionel Caignec
Hi,

i've just upgraded to 4.1 after some problem with PKI but now i'm facing 
problem with master data storage on one datacenter.

I've tried to reinitialize data center on new storage domain but same error 
(http://lists.ovirt.org/pipermail/users/2016-August/075569.html). 
I really does not understand because all my host see on 
/rhev/data-center/mnt/... all file of the storage domain.

What do i miss?

Please help ;)

Lionel
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Upgrade 4 --> 4.1 OVirt PKI problem

2017-09-19 Thread Lionel Caignec
Hi,

i've just upgraded to ovirt 4.1 but with some problem, in short ovirt 
regenerate all the pki infrastructure and now i've 2 problem :

1) If i start ovirt just after install, i can log in the GUI but all my host 
are unvailable with ssl communication problem.

2) If i restore my old "/etc/pki/ovirt-engine" my hosts seems to communicate 
(engine.log) but i can't connect to the GUI. 
I've this warning "sun.security.validator.ValidatorException: PKIX path 
building failed: sun.security.provider.certpath.SunCertPathBuilderException: 
unable to find valid certification path to requested target".


Moreover i've running production vm on my host that i cannot poweroff. Someone 
have an idea?

Thank you.

Lionel
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] API auto delete vms snapshot

2017-09-15 Thread Lionel Caignec
Hi,

i'm playing with ovirt sdk, to automatically manage snapshots. 
My script is for now very basic
step 1) list all vm of cluster
step 2) for each vm create a snapshot if needed
step 3) for each vm delete oldest snapshot
No problem for step 1 and 2. 

But step 3 is harder.
If i launch snap remove with command 
"snapshots_service.snapshot_service(snap.id).remove()", python tell me snapshot 
operation already in progress (creation of snapshot in step2).

If i launch snap remove with parameter "async=true" the snapshot to delete is 
locked by ovirt, but never deleted.

So how can i do? Also there is some way to monitor running task about snapshot 
(ovirt-shell ...)?

--
Lionel
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Automatic snapshot

2017-09-11 Thread Lionel Caignec
Hi,

I study the snapshot possibillities in ovirt.
I would like to make a cron running every day which:
- retrieve vm list from a specific cluster
- create a new snapshot (without memory) for every vm
- removes oldest snapshot to keep only 5.

I'm wondering what is the best approach to do that?
use a list of command in batch for "ovirt-shell", scripting a bit with python, 
using the api ovirt? Unless there is already something to find something.

Thank you for helping

--
Lionel
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Ovirt node ready for production env?

2017-07-20 Thread Lionel Caignec
Hi,

i'm did not test myself so i prefer asking before use it 
(https://www.ovirt.org/node/). 
Is ovirt node can be used for production environment ? 
Is it possible to add some software on host (ex: backup tools, ossec,... )? 
How does work security update, is it managed by ovirt? or can i plug ovirt node 
on spacewalk/katello?


Sorry for my "noobs question"

Regards
--
Lionel 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt on sdcard?

2017-07-20 Thread Lionel Caignec
Ok thank you,

for now i'm not so advanced on architecture design i'm just thinking of what 
can i do.

Lionel

- Mail original -
De: "Yedidyah Bar David" <d...@redhat.com>
À: "Lionel Caignec" <caig...@cines.fr>
Cc: "users" <users@ovirt.org>
Envoyé: Jeudi 20 Juillet 2017 08:03:50
Objet: Re: [ovirt-users] ovirt on sdcard?

On Wed, Jul 19, 2017 at 10:16 PM, Lionel Caignec <caig...@cines.fr> wrote:
> Hi,
>
> i'm planning to install some new hypervisors (ovirt) and i'm wondering if 
> it's possible to get it installed on sdcard.
> I know there is write limitation on this kind of storage device.
> Is it a viable solution? there is somewhere some tuto about tuning ovirt on 
> this kind of storage?

Perhaps provide some more details about your plans?

The local disk is normally used only for standard OS-level stuff -
mostly logging. If you put /var/log on NFS/iSCSI/whatever, I think
you should not expect much other local writing.
Didn't test this myself.

People are doing many other things, including putting all of the
root filesystem on remote storage. There are many options, depending
on your hardware, your existing infrastructure, etc.

Best,

>
> Thanks
>
> --
> Lionel
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] ovirt on sdcard?

2017-07-19 Thread Lionel Caignec
Hi,

i'm planning to install some new hypervisors (ovirt) and i'm wondering if it's 
possible to get it installed on sdcard.
I know there is write limitation on this kind of storage device. 
Is it a viable solution? there is somewhere some tuto about tuning ovirt on 
this kind of storage?

Thanks

--
Lionel 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Change cluster compatibilty version 3.6-->4.0

2017-04-20 Thread Lionel Caignec
ok thank you very much.

- Mail original -
De: "Michal Skrivanek" <michal.skriva...@redhat.com>
À: "Lionel Caignec" <caig...@cines.fr>
Cc: "blanchet" <blanc...@abes.fr>, "users" <users@ovirt.org>
Envoyé: Jeudi 20 Avril 2017 09:58:23
Objet: Re: [ovirt-users] Change cluster compatibilty version 3.6-->4.0

> On 20 Apr 2017, at 09:56, Lionel Caignec <caig...@cines.fr> wrote:
> 
> Cool thank you Michal and Nathanael.
> 
> I was affraid that ovirt restart all on is own.
> 
> Juste one question more, reboot is sufficient or do i need power off and 
> power on vm?

Sorry for using the confusing term - A guest-side reboot is not sufficient, it 
needs to be a power cycle from guest POV, so shut down and power on in oVirt

Thanks,
michal

> 
> - Mail original -----
> De: "Michal Skrivanek" <michal.skriva...@redhat.com>
> À: "blanchet" <blanc...@abes.fr>, "Lionel Caignec" <caig...@cines.fr>
> Cc: "users" <users@ovirt.org>
> Envoyé: Jeudi 20 Avril 2017 09:46:35
> Objet: Re: [ovirt-users] Change cluster compatibilty version 3.6-->4.0
> 
>> On 20 Apr 2017, at 09:38, Nathanaël Blanchet <blanc...@abes.fr> wrote:
>> 
>> Hi Lionel :)
>> 
>> 
>> Le 20/04/2017 à 08:48, Lionel Caignec a écrit :
>>> Hi,
>>> 
>>> i've upgraded all my host and manager to ovirt 4, and now i want to upgrade 
>>> compatibility version of my cluster.
>>> 
>>> But when i change the value ovirt warn me whit message : needing reboot all 
>>> VM.
>>> 
>>> Does the manager reboot the vm on is own ? or can I can do it myself 
>>> manualy?
>> You can do it manually, but some vms properties will be changed ( vmconsole 
>> to disabled and virtio scsi to enabled)
> 
> You _have_ to do that manually, oVirt won’t restart them for you, it will 
> just keep nagging with the “pending change” triangle icon. This is so you can 
> do that whenever it is convenient for that particular VM
> A bit more is going to change for that VM - the emulated hardware is being 
> changed, as well as behavior of oVirt features leveraging them (mostly the 
> new features requiring some QEMU functionality, like hot plugging, higher 
> number of vCPUs and such)
> 
> Thanks,
> michal
> 
>>> 
>>> Thank you.
>>> 
>>> --
>>> Lionel Caignec
>>> 
>>> Centre Informatique National de l' Enseignement Supérieur
>>> 950 rue de Saint Priest
>>> 34097 MONTPELLIER Cedex 5
>>> Tel : (33) 04 67 14 14 14
>>> Fax : (33)04 67 52 37 63
>>> http://www.cines.fr
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>> 
>> -- 
>> Nathanaël Blanchet
>> 
>> Supervision réseau
>> Pôle Infrastrutures Informatiques
>> 227 avenue Professeur-Jean-Louis-Viala
>> 34193 MONTPELLIER CEDEX 5
>> Tél. 33 (0)4 67 54 84 55
>> Fax  33 (0)4 67 54 84 14
>> blanc...@abes.fr
>> 
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Change cluster compatibilty version 3.6-->4.0

2017-04-20 Thread Lionel Caignec
Cool thank you Michal and Nathanael.

I was affraid that ovirt restart all on is own.

Juste one question more, reboot is sufficient or do i need power off and power 
on vm?

- Mail original -
De: "Michal Skrivanek" <michal.skriva...@redhat.com>
À: "blanchet" <blanc...@abes.fr>, "Lionel Caignec" <caig...@cines.fr>
Cc: "users" <users@ovirt.org>
Envoyé: Jeudi 20 Avril 2017 09:46:35
Objet: Re: [ovirt-users] Change cluster compatibilty version 3.6-->4.0

> On 20 Apr 2017, at 09:38, Nathanaël Blanchet <blanc...@abes.fr> wrote:
> 
> Hi Lionel :)
> 
> 
> Le 20/04/2017 à 08:48, Lionel Caignec a écrit :
>> Hi,
>> 
>> i've upgraded all my host and manager to ovirt 4, and now i want to upgrade 
>> compatibility version of my cluster.
>> 
>> But when i change the value ovirt warn me whit message : needing reboot all 
>> VM.
>> 
>> Does the manager reboot the vm on is own ? or can I can do it myself manualy?
> You can do it manually, but some vms properties will be changed ( vmconsole 
> to disabled and virtio scsi to enabled)

You _have_ to do that manually, oVirt won’t restart them for you, it will just 
keep nagging with the “pending change” triangle icon. This is so you can do 
that whenever it is convenient for that particular VM
A bit more is going to change for that VM - the emulated hardware is being 
changed, as well as behavior of oVirt features leveraging them (mostly the new 
features requiring some QEMU functionality, like hot plugging, higher number of 
vCPUs and such)

Thanks,
michal

>> 
>> Thank you.
>> 
>> --
>> Lionel Caignec
>> 
>> Centre Informatique National de l' Enseignement Supérieur
>> 950 rue de Saint Priest
>> 34097 MONTPELLIER Cedex 5
>> Tel : (33) 04 67 14 14 14
>> Fax : (33)04 67 52 37 63
>> http://www.cines.fr
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
> 
> -- 
> Nathanaël Blanchet
> 
> Supervision réseau
> Pôle Infrastrutures Informatiques
> 227 avenue Professeur-Jean-Louis-Viala
> 34193 MONTPELLIER CEDEX 5 
> Tél. 33 (0)4 67 54 84 55
> Fax  33 (0)4 67 54 84 14
> blanc...@abes.fr
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Change cluster compatibilty version 3.6-->4.0

2017-04-20 Thread Lionel Caignec
Hi,

i've upgraded all my host and manager to ovirt 4, and now i want to upgrade 
compatibility version of my cluster.

But when i change the value ovirt warn me whit message : needing reboot all VM.

Does the manager reboot the vm on is own ? or can I can do it myself manualy?

Thank you.

--
Lionel Caignec 

Centre Informatique National de l' Enseignement Supérieur 
950 rue de Saint Priest 
34097 MONTPELLIER Cedex 5 
Tel : (33) 04 67 14 14 14
Fax : (33)04 67 52 37 63 
http://www.cines.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Upgrade path from running 3.6 (centos 7) to 4.1

2017-03-01 Thread Lionel Caignec
Ok thank you,

Ok another question, i need to ugprade engine to 4.0 first and then to 4.1, do 
i need to do the same for the hypervisor or can i directly go to 4.1?

- Mail original -
De: "Yedidyah Bar David" <d...@redhat.com>
À: "Lionel Caignec" <caig...@cines.fr>
Cc: "users" <users@ovirt.org>
Envoyé: Jeudi 2 Mars 2017 07:59:56
Objet: Re: [ovirt-users] Upgrade path from running 3.6 (centos 7) to 4.1

On Thu, Mar 2, 2017 at 7:07 AM, Lionel Caignec <caig...@cines.fr> wrote:
>  Hi,
>  i'm running an ovirt cluster in 3.6 (centos 7) no hosted engine.
>  Is it possible to upgrade directly from 3.6 to 4.1? Or this is not 
> recommended.

It's not possible. You need to go through 4.0.

Best,

>
>
>  Thanks,
>  Lionel
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Upgrade path from running 3.6 (centos 7) to 4.1

2017-03-01 Thread Lionel Caignec
 Hi,
 i'm running an ovirt cluster in 3.6 (centos 7) no hosted engine.
 Is it possible to upgrade directly from 3.6 to 4.1? Or this is not recommended.


 Thanks,
 Lionel
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] PCI Passthrough problem

2016-06-08 Thread Lionel Caignec
Hi thanks for reply

There is something i does not understand, on my hosts i've vdsm 4.17.28-0.el7 
no indication about a version 3.6.5 or 3.6.7.
How can i get this version?




- Mail original -
De: "Martin Polednik" <mpoled...@redhat.com>
À: "Lionel Caignec" <caig...@cines.fr>
Cc: "Martin Polednik" <mpoled...@redhat.com>, "chapelle" <chape...@cines.fr>, 
"users" <users@ovirt.org>, "honvault" <honva...@cines.fr>
Envoyé: Mercredi 8 Juin 2016 08:20:02
Objet: Re: PCI Passthrough problem

On 07/06/16 19:04 +0200, Lionel Caignec wrote:
>Hi i'm coworker of Mr Chapelle,
>
>Thank you for your reply.
>
>so if i understand we need to "downgrade" our ovirt engine which is in version 
>3.6.6.x to version 3.6.5?
>But how can we do that?

You would only need to downgrade the 2 hosts to 3.6.5 VDSM. But
thinking of it, you could instead upgrade to 3.6.7 (rc2) - the bug is
fixed there.

>Lionel Caignec.
>
>
>
>- Mail original -
>De: "Martin Polednik" <mpoled...@redhat.com>
>À: "chapelle" <chape...@cines.fr>
>Cc: "users" <users@ovirt.org>, "honvault" <honva...@cines.fr>
>Envoyé: Mardi 7 Juin 2016 17:11:10
>Objet: Re: [ovirt-users] PCI Passthrough problem
>
>On 07/06/16 16:50 +0200, Jérôme Chapelle wrote:
>>We are no more able to give a pci device to one VM.
>>Here is the process we used to assign one device to one VM:
>>- Click on the VM, and then on the tab "Host devices"
>>- In the tab, click on "pin to host" and select the host that will give the 
>>pci device
>>- Click on "add device", in the window appear all the pci devices: choose the 
>>pci card you wish (ex. pci__83_00_0 pci__83_00_1) and then click on 
>>the gray arrow to assign this device to the VM
>>- Click on ok
>>- boot the VM.
>>The problem is that in the window that appears, there is not a single pci 
>>device listed (there should be many listed).
>>I checked first: the IOMMU setting is set in the kernel.
>>
>>Our environment:
>>We have two HV running CentOs7.
>>Each of them have three fiber channel cards. First card is connected to a 
>>disk array, second one to the first tape library and third one to another 
>>tape library.
>>We used to give the second card to a VM1, and the third card to another VM2. 
>>Both VMs ran on one HV or on the other in the past: everything was fine.
>>What happened:
>>Today we add to upgrade one of the HV (HV1). Both VMs ran on this HV1. We 
>>upgraded then restarted the HV1.
>>Then I edited the second VM2 in order to remove card from HV1. Then I tried 
>>to add the card from HV2 to this VM2: the list of "host devices" is empty.
>>I started the VM1: it works fine (I didn't change anything on it).
>
>Hello!
>
>I'm afraid you have hit the bug [1]. For hosts where you need host
>devices, the best solution is most likely not upgrading them to 3.6.6
>for now.
>
>[1] https://bugzilla.redhat.com/show_bug.cgi?id=1341299
>
>>
>>--
>>
>>
>>  
>>  
>>  
>>  Jérôme Chapelle
>>  C entre I nformatique N ational de l' E nseignement S upérieur
>>950 rue de Saint Priest
>>34 097 M ONTPELLIER Cedex 5
>>
>>  Tél.04 67 14 14 14
>>  eMail   chape...@cines.fr
>>
>
>>___
>>Users mailing list
>>Users@ovirt.org
>>http://lists.ovirt.org/mailman/listinfo/users
>
>___
>Users mailing list
>Users@ovirt.org
>http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] PCI Passthrough problem

2016-06-07 Thread Lionel Caignec
Hi i'm coworker of Mr Chapelle,

Thank you for your reply.

so if i understand we need to "downgrade" our ovirt engine which is in version 
3.6.6.x to version 3.6.5?
But how can we do that?

Lionel Caignec.



- Mail original -
De: "Martin Polednik" <mpoled...@redhat.com>
À: "chapelle" <chape...@cines.fr>
Cc: "users" <users@ovirt.org>, "honvault" <honva...@cines.fr>
Envoyé: Mardi 7 Juin 2016 17:11:10
Objet: Re: [ovirt-users] PCI Passthrough problem

On 07/06/16 16:50 +0200, Jérôme Chapelle wrote:
>We are no more able to give a pci device to one VM.
>Here is the process we used to assign one device to one VM:
>- Click on the VM, and then on the tab "Host devices"
>- In the tab, click on "pin to host" and select the host that will give the 
>pci device
>- Click on "add device", in the window appear all the pci devices: choose the 
>pci card you wish (ex. pci__83_00_0 pci__83_00_1) and then click on 
>the gray arrow to assign this device to the VM
>- Click on ok
>- boot the VM.
>The problem is that in the window that appears, there is not a single pci 
>device listed (there should be many listed).
>I checked first: the IOMMU setting is set in the kernel.
>
>Our environment:
>We have two HV running CentOs7.
>Each of them have three fiber channel cards. First card is connected to a disk 
>array, second one to the first tape library and third one to another tape 
>library.
>We used to give the second card to a VM1, and the third card to another VM2. 
>Both VMs ran on one HV or on the other in the past: everything was fine.
>What happened:
>Today we add to upgrade one of the HV (HV1). Both VMs ran on this HV1. We 
>upgraded then restarted the HV1.
>Then I edited the second VM2 in order to remove card from HV1. Then I tried to 
>add the card from HV2 to this VM2: the list of "host devices" is empty.
>I started the VM1: it works fine (I didn't change anything on it).

Hello!

I'm afraid you have hit the bug [1]. For hosts where you need host
devices, the best solution is most likely not upgrading them to 3.6.6
for now.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1341299

>
>-- 
>
>
>   
>   
>   
>   Jérôme Chapelle
>   C entre I nformatique N ational de l' E nseignement S upérieur
>950 rue de Saint Priest
>34 097 M ONTPELLIER Cedex 5
>
>   Tél.04 67 14 14 14
>   eMail   chape...@cines.fr
>

>___
>Users mailing list
>Users@ovirt.org
>http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Unable to "yum update" latest ovirt-engine-3.6.3.4-1.el7.centos.noarch.rpm

2016-03-15 Thread Lionel Caignec
Ok thank you, i'm really noob, i forgot the engine-setup...

Sorry.



- Mail original -
De: "Yedidyah Bar David" <d...@redhat.com>
À: "Lionel Caignec" <caig...@cines.fr>
Cc: "users" <users@ovirt.org>
Envoyé: Mardi 15 Mars 2016 14:45:00
Objet: Re: [ovirt-users] Unable to "yum update" latest 
ovirt-engine-3.6.3.4-1.el7.centos.noarch.rpm

On Tue, Mar 15, 2016 at 3:36 PM, Lionel Caignec <caig...@cines.fr> wrote:
> Hi,
>
> i've a working ovirt engine installed on centos 7.2, i tried to yum update in 
> order to get latest version but yum tell there is nothing to do.

What is the exact command you try?

>
> My repos ovirt* are all enabled.
>
> Here my version currently installed :
> ovirt-engine.noarch   3.6.1.3-1.el7.centos @ovirt-3.6
>
>
>
> So i really don't understand what happen. Someone to help me?

Are you following the upgrade instructions [1] in the release notes?

[1] http://www.ovirt.org/release/3.6.3/#install--upgrade-from-previous-versions

Please note that the package 'ovirt-engine' itself, and several
others, are version-locked, and should only be updated by
engine-setup, so will not appear when you run 'yum update'.

Best,

>
> --
> Lionel Caignec
>
> Centre Informatique National de l' Enseignement Supérieur
> 950 rue de Saint Priest
> 34097 MONTPELLIER Cedex 5
> Tel : (33) 04 67 14 14 14
> Fax : (33)04 67 52 37 63
> http://www.cines.fr
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Unable to "yum update" latest ovirt-engine-3.6.3.4-1.el7.centos.noarch.rpm

2016-03-15 Thread Lionel Caignec
Hi,

i've a working ovirt engine installed on centos 7.2, i tried to yum update in 
order to get latest version but yum tell there is nothing to do.

My repos ovirt* are all enabled.

Here my version currently installed : 
ovirt-engine.noarch   3.6.1.3-1.el7.centos @ovirt-3.6   



So i really don't understand what happen. Someone to help me?

--
Lionel Caignec 

Centre Informatique National de l' Enseignement Supérieur 
950 rue de Saint Priest 
34097 MONTPELLIER Cedex 5 
Tel : (33) 04 67 14 14 14
Fax : (33)04 67 52 37 63 
http://www.cines.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] [Node] Maintenance mode and update

2016-02-16 Thread Lionel Caignec
Hello,

I am concerned about maintenance mode and system updates.
In which case it is essential to put host in maintenance mode?
No worries for Content Updates requiring a reboot.

But for example in the case of updates like VDSM* or kvm it seems essential, 
but is it?

--
Lionel 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Guest won't start after upgrade to 3.6

2016-01-05 Thread Lionel Caignec
I anwser myself, did not understand why but now my guest start.


- Mail original -
De: "Lionel Caignec" <caig...@cines.fr>
À: "users" <users@ovirt.org>
Envoyé: Mardi 5 Janvier 2016 13:36:59
Objet: [ovirt-users] Guest won't start after upgrade to 3.6

i just upgraded my cluster from ovirt 3.5 to 3.6. My ovirt nodes run centos 7.2.
I've got a problem about some guest (centos 6.x), when i try to run them i get 
this error:

"org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(DefaultQuartzScheduler_Worker-41) [] Correlation ID: null, Call Stack: null, 
Custom Event ID: -1, Message: VM X is down with error. Exit message: 
internal error: process exited while connecting to monitor: 
2016-01-05T12:02:56.879292Z qemu-kvm: warning: CPU(s) not present in any NUMA 
nodes: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15"

Looking forward in the log i find this : 
"2016-01-05T12:02:56.879615Z qemu-kvm: warning: All CPU(s) up to maxcpus should 
be described in NUMA config
2016-01-05T12:02:56.897747Z qemu-kvm: "-memory 'slots|maxmem'" is not supported 
by: rhel6.5.0"

In RHEL KB i found this bug which seems to be the same that mine :  
https://bugzilla.redhat.com/show_bug.cgi?id=1275268


So my question:
- is it really problem of "memory hotplug" if yes how can i disable it?
- My guests seems to inherit of parameter "Custom Emulated Machine" with value 
rhel6.5.0 from cluster config but i did not see how to modify it?



--
Lionel Caignec 

Centre Informatique National de l' Enseignement Supérieur 
950 rue de Saint Priest 
34097 MONTPELLIER Cedex 5 
Tel : (33) 04 67 14 14 14
Fax : (33)04 67 52 37 63 
http://www.cines.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Guest won't start after upgrade to 3.6

2016-01-05 Thread Lionel Caignec

i just upgraded my cluster from ovirt 3.5 to 3.6. My ovirt nodes run centos 7.2.
I've got a problem about some guest (centos 6.x), when i try to run them i get 
this error:

"org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(DefaultQuartzScheduler_Worker-41) [] Correlation ID: null, Call Stack: null, 
Custom Event ID: -1, Message: VM X is down with error. Exit message: 
internal error: process exited while connecting to monitor: 
2016-01-05T12:02:56.879292Z qemu-kvm: warning: CPU(s) not present in any NUMA 
nodes: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15"

Looking forward in the log i find this : 
"2016-01-05T12:02:56.879615Z qemu-kvm: warning: All CPU(s) up to maxcpus should 
be described in NUMA config
2016-01-05T12:02:56.897747Z qemu-kvm: "-memory 'slots|maxmem'" is not supported 
by: rhel6.5.0"

In RHEL KB i found this bug which seems to be the same that mine :  
https://bugzilla.redhat.com/show_bug.cgi?id=1275268


So my question:
- is it really problem of "memory hotplug" if yes how can i disable it?
- My guests seems to inherit of parameter "Custom Emulated Machine" with value 
rhel6.5.0 from cluster config but i did not see how to modify it?



--
Lionel Caignec 

Centre Informatique National de l' Enseignement Supérieur 
950 rue de Saint Priest 
34097 MONTPELLIER Cedex 5 
Tel : (33) 04 67 14 14 14
Fax : (33)04 67 52 37 63 
http://www.cines.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] [HA] Restart guest on other node on network SAN problem

2015-09-14 Thread Lionel Caignec
Hi,

i've ovirt nodes connected to a data network (provide disk for guest) with 10Gb 
networking.
Recently i face a problem : one of my node have lost connectivity to the SAN.
So ovirt put all guest in "Pause" state, but when connectivity came back ovirt 
did not restart the Guest.

So my question : is it possible on "disk connectivity lost" on one node, to 
restart guest on other node (HA features). Or at least auto resume guest when 
"disk connectivity" came back.


Thanks

--
Lionel Caignec 

Centre Informatique National de l' Enseignement Supérieur 
950 rue de Saint Priest 
34097 MONTPELLIER Cedex 5 
Tel : (33) 04 67 14 14 14
Fax : (33)04 67 52 37 63 
http://www.cines.fr 

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] [Reports] Virtual machine Network usage statistics

2015-07-29 Thread Lionel Caignec
Hi,

i've recently installed ovirt-engine-report, and i've a little problem with 
reports about VM.
All graphs from Network inteface usage for VM are empty.
Is it some configuration to do to get this data?
All data for cpu/memory are ok.


--
Lionel 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Installation ovirt reports same server of ovirt-engine (production environment)

2015-07-24 Thread Lionel Caignec
Hi,

i want to install ovirt-reports on the  machine which run the ovirt-engine, 
so i'm afraid to break my production environment (45 Vms).
The admin manual (http://www.ovirt.org/Ovirt_Reports) say to run engine-setup 
command, the same one used to initilized my ovirt-engine cluster.

So my questions :
Can i install this package without break the production on the same server 
which already run ovirt-engine?
The last question before validate tell During execution engine service will be 
stopped. Is my guests will continue to run?

Thanks.

--
Lionel Caignec 

Centre Informatique National de l' Enseignement Supérieur 
950 rue de Saint Priest 
34097 MONTPELLIER Cedex 5 
Tel : (33) 04 67 14 14 14
Fax : (33)04 67 52 37 63 
http://www.cines.fr 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Dump Guest Memory

2015-07-23 Thread Lionel Caignec
Hi,

i've recently migrate from a kvm farm to Ovirt, by the way : excellent product.

But i'm stuck on a little problem.
I want to be able to dump a VM memory (forensic purpose) but i does not manage 
to do it.

With kvm i've used the commande : virsh dump VM out.dump, but with ovirt 
virsh is in read only and unable to do the dump .
I look vdsClient, but it does not seem able to do this job.

Someone could help me please?

Thank you. 

--
Lionel Caignec 

Centre Informatique National de l' Enseignement Supérieur 
950 rue de Saint Priest 
34097 MONTPELLIER Cedex 5 
Tel : (33) 04 67 14 14 14
Fax : (33)04 67 52 37 63 
http://www.cines.fr 

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Dump Guest Memory

2015-07-23 Thread Lionel Caignec
Hi,
unfortunately this command is disabled in read only mode, i've already tried.

--
Lionel Caignec 


- Mail original -
De: Sven Kieske s.kie...@mittwald.de
À: users@ovirt.org
Envoyé: Jeudi 23 Juillet 2015 09:46:14
Objet: Re: [ovirt-users] Dump Guest Memory

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On 23/07/15 09:33, Joop wrote:
 On 23-7-2015 9:12, Lionel Caignec wrote:
 Hi,
 
 i've recently migrate from a kvm farm to Ovirt, by the way :
 excellent product.
 
 But i'm stuck on a little problem. I want to be able to dump a VM
 memory (forensic purpose) but i does not manage to do it.
 
 With kvm i've used the commande : virsh dump VM out.dump, but
 with ovirt virsh is in read only and unable to do the dump . I
 look vdsClient, but it does not seem able to do this job.
 
 Search the list.  People have asked before how to get r/w access
 to libvirt. There is a hacky way by adding a user and password and
 I think there is a tool to just do that. Had a quick google: 
 http://lists.ovirt.org/pipermail/users/2012-May/007735.html

Shouldn't read access suffice for this purpose?

this should be possible with virsh -r dump for read only mode.
No authentication needed :)

HTH

- -- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH  Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +495772 293100
F: +495772 29
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhaus
en
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad
Oeynhausen
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBAgAGBQJVsJvGAAoJEMby9TMDAbQRLhEQAMAx9D4TPzDDp2emIbcA32EP
hRAOVfkQx7fUDoRiPWZt91xN+5Rw3aKCRmpjx4Q0wfdEm/NZr1lLxWTLHdZxSyIA
EEUcM6cNREoLVEDCzkVh/5PC4sd5k1l5Uu36fTyKdh3oJ7Vb0fQapDxaqPB9UJEH
Sjf1fI1CeBy/GUPSFw8o5NHG4GK3qt2Z3/BBKD62i5Nv3FHBE3snZX6Mm1SwrHrl
gI/2WmeKnXPXVJgFOZmkynU4RrvrlUtmnJTv7o2YnBPW6GFiqL2XKNiN6agjFefR
sOM5bgLH4t1pH5IAf3OESZTn71bIY5y3GWLMydsufn+kMiB1W26noWlf9qmwEAzH
dCIHg7dQUx++p02iRtdOdeQ2AU4okCwsNxC5VhQ8gOqXtwPDBJdwVC3jqKPjHrhL
1j0N6BqhUdU8kPbNFVooWVlg5x4G6rvVN1m6gMJ3ArlUC1unS2T841s3joFZDRoz
dHxv5rSXK+JD9vb7kRVnpcqL76pel1GcwAvJ2zzBJwmVZpvrvx3BodpN8scEwCHh
uoyELuYjIKFfHMjrox0VdY4UHuWDSAY/hGqmrZZ18z2cvu8ImWeL+NFI+vDpfbcV
AlDNh7wqx1dsF6TBCopg5TuVEGrPdKRy8Eqd9ShDbahyYc5y0NDZ3bVkDH5i9WMw
Kjm7O+MuJjGmwHPcq2/8
=krQV
-END PGP SIGNATURE-
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Dump Guest Memory

2015-07-23 Thread Lionel Caignec
Thank it does the job, i've used this commande : saslpasswd2 -a libvirt username

--
Lionel 


- Mail original -
De: Joop jvdw...@xs4all.nl
À: users@ovirt.org
Envoyé: Jeudi 23 Juillet 2015 09:33:34
Objet: Re: [ovirt-users] Dump Guest Memory

On 23-7-2015 9:12, Lionel Caignec wrote:
 Hi,

 i've recently migrate from a kvm farm to Ovirt, by the way : excellent 
 product.

 But i'm stuck on a little problem.
 I want to be able to dump a VM memory (forensic purpose) but i does not 
 manage to do it.

 With kvm i've used the commande : virsh dump VM out.dump, but with ovirt 
 virsh is in read only and unable to do the dump .
 I look vdsClient, but it does not seem able to do this job.

Search the list.  People have asked before how to get r/w access to
libvirt. There is a hacky way by adding a user and password and I think
there is a tool to just do that.
Had a quick google:
http://lists.ovirt.org/pipermail/users/2012-May/007735.html

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users