[ovirt-users] [SOLVED] Re: how to override host in console.vv

2021-04-29 Thread Enrico Becchetti

Hi all,
If it can be useful I fix it using ovirt admin portal:

HOSTS -> server_01 -> EDIT -> "Console and GPU" -> flag "override 
display" -> public ip address


after that I use linux iptables to allow nat destination like this:

iptables -t nat -A PREROUTING -d 1.1.1.1  -p tcp --dport 5900:6500 -j 
DNAT --to-destination 10.0.0.1:5900-65000


Best Regards
Enrico

Il 09/04/21 08:47, Enrico Becchetti ha scritto:

  Hi all,
I use ovirt 4.3.10 with an engine running in a standalone virtual 
machine.

The operating system of this engine and the hypervisors is CentOS 7.
In the initial setup I chose a name for the engine, ovirt.local, then 
I added
a second public IP address named ovirt.mydomain in order to allow the 
user portal

also from the Internet.

Now here's my problem. Users are able to connect to the VM portal but 
they cannot

access the console of their virtual machines.

Checking the console.vv file I noticed that there are two parts, the 
first [virt-viewer]
which contains the hypervisor on which the virtual machine runs, and 
the second in
this configuration [ovirt] inside ovirt I've got "host = ovirt.local: 
443".


Now I would like to change the value of the "host" parameter with the 
FQDN.

Can you tell me how I can set an override of this variable ?

Thanks a lot.
Best Regards
Enrico




--
_______

Enrico BecchettiServizio di Calcolo e Reti

Istituto Nazionale di Fisica Nucleare - Sezione di Perugia
Via Pascoli,c/o Dipartimento di Fisica  06123 Perugia (ITALY)
Phone:+39 075 5852777   Skype:enrico_becchetti
 Mail: Enrico.Becchettipg.infn.it
__
___
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/2VEXZR7KDPYDRZWW3A5DABVOHJN5AR3R/


[ovirt-users] how to override host in console.vv

2021-04-09 Thread Enrico Becchetti

  Hi all,
I use ovirt 4.3.10 with an engine running in a standalone virtual machine.
The operating system of this engine and the hypervisors is CentOS 7.
In the initial setup I chose a name for the engine, ovirt.local, then I 
added
a second public IP address named ovirt.mydomain in order to allow the 
user portal

also from the Internet.

Now here's my problem. Users are able to connect to the VM portal but 
they cannot

access the console of their virtual machines.

Checking the console.vv file I noticed that there are two parts, the 
first [virt-viewer]
which contains the hypervisor on which the virtual machine runs, and the 
second in

this configuration [ovirt] inside ovirt I've got "host = ovirt.local: 443".

Now I would like to change the value of the "host" parameter with the FQDN.
Can you tell me how I can set an override of this variable ?

Thanks a lot.
Best Regards
Enrico

--
_______

Enrico BecchettiServizio di Calcolo e Reti

Istituto Nazionale di Fisica Nucleare - Sezione di Perugia
Via Pascoli,c/o Dipartimento di Fisica  06123 Perugia (ITALY)
Phone:+39 075 5852777   Skype:enrico_becchetti
 Mail: Enrico.Becchettipg.infn.it
__
___
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/ISWQNKMUMVBAKFPHIEJN2RHRPPR5QHXN/


[ovirt-users] Re: user portal

2021-03-23 Thread Enrico Becchetti
I've got a new X509 valid certificate signed from official CA , so my 
question is ,

Can I add this cert inside engine ?
Thanks again
Enrico

Il 23/03/21 09:45, Michal Skrivanek ha scritto:



On 23. 3. 2021, at 7:55, Enrico Becchetti 
mailto:enrico.becche...@pg.infn.it>> wrote:


Hi,

I've added a new ip public address and SSO_ALTERNATE_ENGINE_FQDNS,
after that I run engine-setup. and now ovirt can also be access with 
a new name

but the last item is about X509 certificate.
How can I add a second certificate for this new url ?


I think you’d have to use your own CA, the internal one doesn’t 
generate certificates with other names.

or as Didi suggested modify your DNS to use same FQDN for both ways



Best regards.
Enrico

Il 07/03/21 08:51, Yedidyah Bar David ha scritto:

On Fri, Mar 5, 2021 at 10:18 AM Enrico Becchetti
mailto:enrico.becche...@pg.infn.it>> 
wrote:

  Dear all,
I'm using ovirt 4.3.2 with its engine on a virtual machine. The nodes
are all Centos 7.7.

Is this a hosted-engine?

no

Both engine and hypervisor systems work on a 10.0.0.0 private network.
Now I would like to let users access the ovirt web page (user portal)
and for this
I must necessarily add a second network interface to the engine by
inserting a public ip. I can't use NAT.
Can you give me any advice for this operation ?
Can I add the network interface and then run engine-setup ?
Will oVirt be accessible from both ip addresses at the end of this
operation ?

Generally speaking:

1. You should be able to add an IP address to the existing NIC. If this
is a hosted-engine, this might be simpler than adding a NIC. Of course,
this might not be relevant in your case, depending on network topology,
conf, etc.

2. The engine itself does not care at all about which IP addresses are
used to connect to it. Neither is httpd that is running there as a 
frontend
to it - it listens on all addresses. So just add the address 
somehow, perhaps
restart httpd if needed (but I do not think so), and everything 
should work.


3. The engine _does_ care about the _name_. So make sure you use the
existing name. For this, you'll have to change your DNS, or /etc/hosts,
as applicable.

4. If it's complex for you to keep the existing name (e.g. because 
you want

to make it work from both old and new addresses, etc.), you can also add
another name that the engine will agree to be connected to, using
SSO_ALTERNATE_ENGINE_FQDNS, see e.g. [1].

Best regards,

[1] 
https://www.ovirt.org/develop/networking/changing-engine-hostname.html 
<https://www.ovirt.org/develop/networking/changing-engine-hostname.html>



Lots of thanks.
Enrico

--
_______

Enrico Becchetti    Servizio di Calcolo e Reti

Istituto Nazionale di Fisica Nucleare - Sezione di Perugia
Via Pascoli,c/o Dipartimento di Fisica  06123 Perugia (ITALY)
Phone:+39 075 5852777 Skype:enrico_becchetti 
  Mail: Enrico.Becchettipg.infn.it
__
___
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
To unsubscribe send an email to users-le...@ovirt.org 
<mailto:users-le...@ovirt.org>
Privacy Statement: https://www.ovirt.org/privacy-policy.html 
<https://www.ovirt.org/privacy-policy.html>
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/ 
<https://www.ovirt.org/community/about/community-guidelines/>
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZW2SGNYGA4MEGUCA2ONQ3RVBRWIYMUJZ/ 
<https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZW2SGNYGA4MEGUCA2ONQ3RVBRWIYMUJZ/>






--
_______

Enrico Becchetti    Servizio di Calcolo e Reti

Istituto Nazionale di Fisica Nucleare - Sezione di Perugia
Via Pascoli,c/o Dipartimento di Fisica  06123 Perugia (ITALY)
Phone:+39 075 5852777Skype:enrico_becchetti 
Mail: Enrico.Becchettipg.infn.it
__
___
Users mailing list --users@ovirt.org <mailto:users@ovirt.org>
To unsubscribe send an email tousers-le...@ovirt.org 
<mailto:users-le...@ovirt.org>
Privacy Statement:https://www.ovirt.org/privacy-policy.html 
<https://www.ovirt.org/privacy-policy.html>
oVirt Code of 
Conduct:https://www.ovirt.org/community/about/community-guidelines/ 
<https://www.ovirt.org/community/about/community-guidelines/>
List 
Archives:https://lists.ovirt.org/archives/list/users@ovirt.org/message/MTSY7BKGWKFGBQXREFO4IBZESB62ESWG/ 
<https://lists.ovirt.org/archives/list/users@ovirt.org/message/MTSY7BKGWKFGBQXREFO4IBZESB62ESWG/>





--
___

Enrico Becchetti

[ovirt-users] Re: user portal

2021-03-23 Thread Enrico Becchetti

Hi,

I've added a new ip public address and SSO_ALTERNATE_ENGINE_FQDNS,
after that I run engine-setup. and now ovirt can also be access with a 
new name

but the last item is about X509 certificate.
How can I add a second certificate for this new url ?
Best regards.
Enrico

Il 07/03/21 08:51, Yedidyah Bar David ha scritto:

On Fri, Mar 5, 2021 at 10:18 AM Enrico Becchetti
 wrote:

   Dear all,
I'm using ovirt 4.3.2 with its engine on a virtual machine. The nodes
are all Centos 7.7.

Is this a hosted-engine?

no

Both engine and hypervisor systems work on a 10.0.0.0 private network.
Now I would like to let users access the ovirt web page (user portal)
and for this
I must necessarily add a second network interface to the engine by
inserting a public ip. I can't use NAT.
Can you give me any advice for this operation ?
Can I add the network interface and then run engine-setup ?
Will oVirt be accessible from both ip addresses at the end of this
operation ?

Generally speaking:

1. You should be able to add an IP address to the existing NIC. If this
is a hosted-engine, this might be simpler than adding a NIC. Of course,
this might not be relevant in your case, depending on network topology,
conf, etc.

2. The engine itself does not care at all about which IP addresses are
used to connect to it. Neither is httpd that is running there as a frontend
to it - it listens on all addresses. So just add the address somehow, perhaps
restart httpd if needed (but I do not think so), and everything should work.

3. The engine _does_ care about the _name_. So make sure you use the
existing name. For this, you'll have to change your DNS, or /etc/hosts,
as applicable.

4. If it's complex for you to keep the existing name (e.g. because you want
to make it work from both old and new addresses, etc.), you can also add
another name that the engine will agree to be connected to, using
SSO_ALTERNATE_ENGINE_FQDNS, see e.g. [1].

Best regards,

[1] https://www.ovirt.org/develop/networking/changing-engine-hostname.html


Lots of thanks.
Enrico

--
___

Enrico BecchettiServizio di Calcolo e Reti

Istituto Nazionale di Fisica Nucleare - Sezione di Perugia
Via Pascoli,c/o Dipartimento di Fisica  06123 Perugia (ITALY)
Phone:+39 075 5852777   Skype:enrico_becchetti
   Mail: Enrico.Becchettipg.infn.it
__
___
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/ZW2SGNYGA4MEGUCA2ONQ3RVBRWIYMUJZ/






--
___

Enrico BecchettiServizio di Calcolo e Reti

Istituto Nazionale di Fisica Nucleare - Sezione di Perugia
Via Pascoli,c/o Dipartimento di Fisica  06123 Perugia (ITALY)
Phone:+39 075 5852777   Skype:enrico_becchetti
 Mail: Enrico.Becchettipg.infn.it
__
___
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/MTSY7BKGWKFGBQXREFO4IBZESB62ESWG/


[ovirt-users] user portal

2021-03-05 Thread Enrico Becchetti

 Dear all,
I'm using ovirt 4.3.2 with its engine on a virtual machine. The nodes 
are all Centos 7.7.

Both engine and hypervisor systems work on a 10.0.0.0 private network.
Now I would like to let users access the ovirt web page (user portal) 
and for this
I must necessarily add a second network interface to the engine by 
inserting a public ip. I can't use NAT.

Can you give me any advice for this operation ?
Can I add the network interface and then run engine-setup ?
Will oVirt be accessible from both ip addresses at the end of this 
operation ?

Lots of thanks.
Enrico

--
___

Enrico BecchettiServizio di Calcolo e Reti

Istituto Nazionale di Fisica Nucleare - Sezione di Perugia
Via Pascoli,c/o Dipartimento di Fisica  06123 Perugia (ITALY)
Phone:+39 075 5852777   Skype:enrico_becchetti
 Mail: Enrico.Becchettipg.infn.it
__
___
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/ZW2SGNYGA4MEGUCA2ONQ3RVBRWIYMUJZ/


[ovirt-users] update from 4.2 to 4.3

2019-12-11 Thread Enrico Becchetti

  Dear All.
my engine running in a virtual machine Centos 7.6.1810 and ovirt release 
is 4.2.8.2-1.el7
my hypervisors are Centos 7.6.1810 with vdsm 4.20.46-1.el7,  allof them 
are ovirt-4.2 repository.

Now I need to update to the last 4.3 any suggestions ?
Thanks a lot
Best Regards
Enrico

--
___

Enrico BecchettiServizio di Calcolo e Reti

Istituto Nazionale di Fisica Nucleare - Sezione di Perugia
Via Pascoli,c/o Dipartimento di Fisica  06123 Perugia (ITALY)
Phone:+39 075 5852777 Mail: Enrico.Becchettipg.infn.it
__
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/3AH2JSZFSNHM3B2AI3LBRCADLNMVDOT2/


[ovirt-users] Re: VM fail to start with hook...

2018-09-19 Thread Enrico Becchetti

Ciao Sandro !
these are some info from engine log:

2018-09-19 15:03:19,793+02 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(ForkJoinPool-1-worker-5) [] EVENT_ID: VM_DOWN_ERROR(119), VM BACULA is 
down with error. Exit message: Hook Error: ('',).
2018-09-19 15:03:19,803+02 WARN 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engine-Thread-1894583) [] EVENT_ID: 
USER_INITIATED_RUN_VM_FAILED(151), Failed to run VM BACULA on Host 
infn-vm05.management.
2018-09-19 15:03:19,848+02 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engine-Thread-1894583) [] EVENT_ID: 
USER_FAILED_RUN_VM(54), Failed to run VM BACULA  (User: 
admin@internal-authz).

  BACULA
2018-09-19 15:04:26,684+02 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(ForkJoinPool-1-worker-7) [] EVENT_ID: VM_DOWN_ERROR(119), VM BACULA is 
down with error. Exit message: Hook Error: ('',).
2018-09-19 15:04:26,701+02 WARN 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engine-Thread-1894610) [] EVENT_ID: 
USER_INITIATED_RUN_VM_FAILED(151), Failed to run VM BACULA on Host 
infn-vm05.management.
2018-09-19 15:04:26,743+02 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engine-Thread-1894610) [] EVENT_ID: 
USER_FAILED_RUN_VM(54), Failed to run VM BACULA  (User: 
admin@internal-authz).

  BACULA

I've filtered only ERROR lines.
Thanks a lot !!
Enrico

Il 19/09/2018 16:18, Sandro Bonazzola ha scritto:



Il giorno mer 19 set 2018 alle ore 16:12 Enrico Becchetti 
mailto:enrico.becche...@pg.infn.it>> ha 
scritto:


Dear All,
I have three servers with VDSM and a vm with ovirt 4.2.4.5-1.el7, all
using a Centos 7.

I still need you for a problem with a virtual machine.

I needed to connect the tape of a hypervisor to a vm and then I
changed
the Host Device by adding the ST driver.

After making this change the VM is no longer playing even after
removing
this hook.

Does anyone have any ideas?


Ciao Enrico,
can you please share a log collector report?


Thanks a lot

Best Regasrds

Enrico

-- 
___


Enrico Becchetti                    Servizio di Calcolo e Reti

Istituto Nazionale di Fisica Nucleare - Sezione di Perugia
Via Pascoli,c/o Dipartimento di Fisica  06123 Perugia (ITALY)
Phone:+39 075 5852777             Mail:
Enrico.Becchettipg.infn.it <http://pg.infn.it>
__
___
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
To unsubscribe send an email to users-le...@ovirt.org
<mailto:users-le...@ovirt.org>
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:

https://lists.ovirt.org/archives/list/users@ovirt.org/message/EJHA2MBT2AQPW6O64KUKVHRG2R7LKIDN/



--

SANDRO BONAZZOLA

MANAGER, SOFTWARE ENGINEERING, EMEA R RHV

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

sbona...@redhat.com <mailto:sbona...@redhat.com>

<https://red.ht/sig>

<https://www.redhat.com/en/events/red-hat-open-source-day-italia?sc_cid=701f200RgRyAAK> 





--
_______

Enrico BecchettiServizio di Calcolo e Reti

Istituto Nazionale di Fisica Nucleare - Sezione di Perugia
Via Pascoli,c/o Dipartimento di Fisica  06123 Perugia (ITALY)
Phone:+39 075 5852777 Mail: Enrico.Becchettipg.infn.it
__

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


[ovirt-users] VM fail to start with hook...

2018-09-19 Thread Enrico Becchetti

Dear All,
I have three servers with VDSM and a vm with ovirt 4.2.4.5-1.el7, all 
using a Centos 7.


I still need you for a problem with a virtual machine.

I needed to connect the tape of a hypervisor to a vm and then I changed 
the Host Device by adding the ST driver.


After making this change the VM is no longer playing even after removing 
this hook.


Does anyone have any ideas?

Thanks a lot

Best Regasrds

Enrico

--
___

Enrico BecchettiServizio di Calcolo e Reti

Istituto Nazionale di Fisica Nucleare - Sezione di Perugia
Via Pascoli,c/o Dipartimento di Fisica  06123 Perugia (ITALY)
Phone:+39 075 5852777 Mail: Enrico.Becchettipg.infn.it
__
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/EJHA2MBT2AQPW6O64KUKVHRG2R7LKIDN/


[ovirt-users] Re: Cannot acquire Lock .... snapshot error

2018-06-27 Thread Enrico Becchetti

Hi all,
after update vdsm I run this command:

/[root@infm-vm04 ~]# vdsm-tool -v check-volume-leases//
//WARNING: Make sure there are no running storage operations.//
//
//Do you want to check volume leases? [yes,NO] yes//
//
//Checking active storage domains. This can take several minutes, please 
wait.//

/
After that I saw some volumes with issue:

/The following volume leases need repair://
//
//- domain: 47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5//
//
//  - image: 4b2a6552-847c-43f4-a180-b037d0b93a30//
//    - volume: 6eb8caf0-b120-40e5-86b5-405f15d1245a//
//  - image: 871196b2-9d8b-422f-9a3e-be54e100dc5c//
//    - volume: 861ff7dd-a01c-47f7-8a01-95bc766c2607//
//  - image: 267b8b8c-da09-44ef-81b3-065dfa2e7085//
//    - volume: d5f3158a-87ac-4c02-84ba-fcb86b8688a0//
//  - image: c5611862-6504-445e-a6c8-f1e1a95b5df7//
//    - volume: e156ac2e-09ac-4e1e-a139-17fa374a96d4//
//  - image: e765c9c4-2ef9-4c8f-a573-8cd2b0a0a3a2//
//    - volume: 47d81cbe-598a-402a-9795-1d046c45b7b1//
//  - image: ab88a08c-910d-44dd-bdf8-8242001ba527//
//    - volume: 86c72239-525f-4b0b-9aa6-763fc71340bc//
//  - image: 5e8c4620-b6a5-4fc6-a5bb-f209173d186c//
//    - volume: 0f52831b-ec35-4140-9a8c-fa24c2647f17//
//  - image: a67809fc-b830-4ea3-af66-b5b9285b4924//
//    - volume: 26c6bdd7-1382-4e8e-addc-dcd3898b317f//
//
//Do you want to repair the leases? [yes,NO] /

what happen If I try to repair them ? Is there any impact to
my running vm ?

Thanks a lot !!!
Best Regards
Enrico




Il 26/06/2018 15:32, Ala Hino ha scritto:

You are running vdsm-4.20.17, and the tool introduced in vdsm-4.20.24.
You will have to upgrade vdsm to be able to use the tool.

On Tue, Jun 26, 2018 at 4:29 PM, Enrico Becchetti 
mailto:enrico.becche...@pg.infn.it>> wrote:


Hi,
I run this command from my SPM , Centos 7.4.1708:

[root@infn-vm05 vdsm]# rpm -qa | grep -i vdsm
vdsm-hook-vmfex-dev-4.20.17-1.el7.centos.noarch
vdsm-python-4.20.17-1.el7.centos.noarch
vdsm-hook-fcoe-4.20.17-1.el7.centos.noarch
vdsm-common-4.20.17-1.el7.centos.noarch
vdsm-jsonrpc-4.20.17-1.el7.centos.noarch
vdsm-hook-ethtool-options-4.20.17-1.el7.centos.noarch
vdsm-hook-openstacknet-4.20.17-1.el7.centos.noarch
vdsm-http-4.20.17-1.el7.centos.noarch
vdsm-client-4.20.17-1.el7.centos.noarch
vdsm-gluster-4.20.17-1.el7.centos.noarch
vdsm-hook-vfio-mdev-4.20.17-1.el7.centos.noarch
vdsm-api-4.20.17-1.el7.centos.noarch
vdsm-network-4.20.17-1.el7.centos.x86_64
vdsm-yajsonrpc-4.20.17-1.el7.centos.noarch
vdsm-4.20.17-1.el7.centos.x86_64
vdsm-hook-vhostmd-4.20.17-1.el7.centos.noarch

Thanks !!!
Enrico


Il 26/06/2018 15:21, Ala Hino ha scritto:

Hi Enrico,

What's the vdsm version that you are using?

The tool introduced in vdsm 4.20.24.

On Tue, Jun 26, 2018 at 3:51 PM, Enrico Becchetti
mailto:enrico.becche...@pg.infn.it>> wrote:

Dear Ala,
if you have a few minutes for me I'd like to ask you to read
my issue.
It's a strange problem because my vm works fine but I can't
delete its snapshoot.
Thanks a lot
Best Regards
Enrico


 Messaggio Inoltrato 
Oggetto:[ovirt-users] Re: Cannot acquire Lock  snapshot
error
Data:   Mon, 25 Jun 2018 14:20:21 +0200
Mittente:   Enrico Becchetti 
<mailto:enrico.becche...@pg.infn.it>
A:  Nir Soffer  <mailto:nsof...@redhat.com>
CC: users  <mailto:users@ovirt.org>



 Dear Friends ,
to fix my problem I've try vdsm-tool command but it's seem an
error:

[root@infn-vm05 vdsm]# vdsm-tool check-volume-lease
Usage: /usr/bin/vdsm-tool [options]  [arguments]
Valid options:
..

as you can see there isn't check-volumes-option  and my ovirt
engine is already at 4.2.
Any other ideas ?
Thanks a lot !
Best Regards
Enrico



Il 22/06/2018 17:46, Nir Soffer ha scritto:

On Fri, Jun 22, 2018 at 3:13 PM Enrico Becchetti
mailto:enrico.becche...@pg.infn.it>> wrote:

 Dear All,
my ovirt 4.2.1.7-1.el7.centos has three hypervisors, lvm
storage and virtiual machine with
ovirt-engine. All works fine but with one vm when I try
to remove its snapshot I have
this error:

2018-06-22 07:35:48,155+0200 INFO  (jsonrpc/5)
[vdsm.api] START
prepareMerge(spUUID=u'18d57688-6ed4-43b8-bd7c-0665b55950b7',
subchainInfo={u'img_id':
u'c5611862-6504-445e-a6c8-f1e1a95b5df7', u'sd_id':
u'47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5', u'top_id':
u'0e6f7512-871d-4645-b9c6-320ba7e3bee7', u'base_id':
u'e156ac2e-09ac-4e1e-a139-17fa374a96d4'})
from=:::10.0.0.46,53304,
flow_id=07011450-2296-4a13-a9

[ovirt-users] Re: Cannot acquire Lock .... snapshot error

2018-06-26 Thread Enrico Becchetti

Hi,
I run this command from my SPM , Centos 7.4.1708:

[root@infn-vm05 vdsm]# rpm -qa | grep -i vdsm
vdsm-hook-vmfex-dev-4.20.17-1.el7.centos.noarch
vdsm-python-4.20.17-1.el7.centos.noarch
vdsm-hook-fcoe-4.20.17-1.el7.centos.noarch
vdsm-common-4.20.17-1.el7.centos.noarch
vdsm-jsonrpc-4.20.17-1.el7.centos.noarch
vdsm-hook-ethtool-options-4.20.17-1.el7.centos.noarch
vdsm-hook-openstacknet-4.20.17-1.el7.centos.noarch
vdsm-http-4.20.17-1.el7.centos.noarch
vdsm-client-4.20.17-1.el7.centos.noarch
vdsm-gluster-4.20.17-1.el7.centos.noarch
vdsm-hook-vfio-mdev-4.20.17-1.el7.centos.noarch
vdsm-api-4.20.17-1.el7.centos.noarch
vdsm-network-4.20.17-1.el7.centos.x86_64
vdsm-yajsonrpc-4.20.17-1.el7.centos.noarch
vdsm-4.20.17-1.el7.centos.x86_64
vdsm-hook-vhostmd-4.20.17-1.el7.centos.noarch

Thanks !!!
Enrico

Il 26/06/2018 15:21, Ala Hino ha scritto:

Hi Enrico,

What's the vdsm version that you are using?

The tool introduced in vdsm 4.20.24.

On Tue, Jun 26, 2018 at 3:51 PM, Enrico Becchetti 
mailto:enrico.becche...@pg.infn.it>> wrote:


Dear Ala,
if you have a few minutes for me I'd like to ask you to read my issue.
It's a strange problem because my vm works fine but I can't delete
its snapshoot.
Thanks a lot
Best Regards
Enrico


 Messaggio Inoltrato 
Oggetto:[ovirt-users] Re: Cannot acquire Lock  snapshot error
Data:   Mon, 25 Jun 2018 14:20:21 +0200
Mittente:   Enrico Becchetti 
<mailto:enrico.becche...@pg.infn.it>
A:  Nir Soffer  <mailto:nsof...@redhat.com>
CC: users  <mailto:users@ovirt.org>



 Dear Friends ,
to fix my problem I've try vdsm-tool command but it's seem an error:

[root@infn-vm05 vdsm]# vdsm-tool check-volume-lease
Usage: /usr/bin/vdsm-tool [options]  [arguments]
Valid options:
..

as you can see there isn't check-volumes-option and my ovirt
engine is already at 4.2.
Any other ideas ?
Thanks a lot !
Best Regards
Enrico



Il 22/06/2018 17:46, Nir Soffer ha scritto:

On Fri, Jun 22, 2018 at 3:13 PM Enrico Becchetti
mailto:enrico.becche...@pg.infn.it>> wrote:

 Dear All,
my ovirt 4.2.1.7-1.el7.centos has three hypervisors, lvm
storage and virtiual machine with
ovirt-engine. All works fine but with one vm when I try to
remove its snapshot I have
this error:

2018-06-22 07:35:48,155+0200 INFO (jsonrpc/5) [vdsm.api]
START
prepareMerge(spUUID=u'18d57688-6ed4-43b8-bd7c-0665b55950b7',
subchainInfo={u'img_id':
u'c5611862-6504-445e-a6c8-f1e1a95b5df7', u'sd_id':
u'47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5', u'top_id':
u'0e6f7512-871d-4645-b9c6-320ba7e3bee7', u'base_id':
u'e156ac2e-09ac-4e1e-a139-17fa374a96d4'})
from=:::10.0.0.46,53304,
flow_id=07011450-2296-4a13-a9ed-5d5d2b91be98,
task_id=87f95d85-cc3d-4f29-9883-a4dbb3808f88 (api:46)
2018-06-22 07:35:48,406+0200 INFO (tasks/3) [storage.merge]
Preparing subchain  for merge (merge:177)
2018-06-22 07:35:48,614+0200 INFO (tasks/3) [storage.SANLock]
Acquiring Lease(name='e156ac2e-09ac-4e1e-a139-17fa374a96d4',
path='/dev/47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5/leases',
offset=115343360) for host id 1 (clusterlock:377)
2018-06-22 07:35:48,634+0200 ERROR (tasks/3)
[storage.guarded] Error acquiring lock  (guarded:96)
AcquireLockFailure: Cannot obtain lock:
"id=47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5, rc=-227, out=Cannot
acquire Lease(name='e156ac2e-09ac-4e1e-a139-17fa374a96d4',
path='/dev/47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5/leases',
offset=115343360), err=(-227, 'Sanlock resource not
acquired', 'Lease resource name is incorrect')"
2018-06-22 07:35:56,881+0200 INFO (jsonrpc/7) [vdsm.api]
FINISH getAllTasksStatuses return={'allTasksStatus':
{'87f95d85-cc3d-4f29-9883-a4dbb3808f88': {'code': 651,
'message': 'Cannot obtain lock:
"id=47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5, rc=-227, out=Cannot
acquire Lease(name=\'e156ac2e-09ac-4e1e-a139-17fa374a96d4\',
path=\'/dev/47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5/leases\',
offset=115343360), err=(-227, \'Sanlock resource not
acquired\', \'Lease resource name is incorrect\')"',
'taskState': 'finished', 'taskResult': 'cleanSuccess',
'taskID': '87f95d85-cc3d-4f29-9883-a4dbb3808f88'}}}
from=:::10.0.0.46,53136,
task_id=d0e2f4e3-90cb-43c6-aa08-98d1f7efb1bd (api:52)


The issue is corrupted lease for this volume:

AcquireLockFailure: Cannot obtain lock:
"id=47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5, rc=-227, out=Cannot
acquire Lease(name='e156ac2e-09ac-4e1e-a139-17fa374a96d4',
path='/dev/47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5/leases',
offset=115343360), err=(-227, 'S

[ovirt-users] Fwd: Re: Cannot acquire Lock .... snapshot error

2018-06-26 Thread Enrico Becchetti

Dear Ala,
if you have a few minutes for me I'd like to ask you to read my issue.
It's a strange problem because my vm works fine but I can't delete its 
snapshoot.

Thanks a lot
Best Regards
Enrico


 Messaggio Inoltrato 
Oggetto:[ovirt-users] Re: Cannot acquire Lock  snapshot error
Data:   Mon, 25 Jun 2018 14:20:21 +0200
Mittente:   Enrico Becchetti 
A:  Nir Soffer 
CC: users 



 Dear Friends ,
to fix my problem I've try vdsm-tool command but it's seem an error:

[root@infn-vm05 vdsm]# vdsm-tool check-volume-lease
Usage: /usr/bin/vdsm-tool [options]  [arguments]
Valid options:
..

as you can see there isn't check-volumes-option  and my ovirt engine is 
already at 4.2.

Any other ideas ?
Thanks a lot !
Best Regards
Enrico



Il 22/06/2018 17:46, Nir Soffer ha scritto:
On Fri, Jun 22, 2018 at 3:13 PM Enrico Becchetti 
mailto:enrico.becche...@pg.infn.it>> wrote:


 Dear All,
my ovirt 4.2.1.7-1.el7.centos has three hypervisors, lvm storage
and virtiual machine with
ovirt-engine. All works fine but with one vm when I try to remove
its snapshot I have
this error:

2018-06-22 07:35:48,155+0200 INFO  (jsonrpc/5) [vdsm.api] START
prepareMerge(spUUID=u'18d57688-6ed4-43b8-bd7c-0665b55950b7',
subchainInfo={u'img_id': u'c5611862-6504-445e-a6c8-f1e1a95b5df7',
u'sd_id': u'47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5', u'top_id':
u'0e6f7512-871d-4645-b9c6-320ba7e3bee7', u'base_id':
u'e156ac2e-09ac-4e1e-a139-17fa374a96d4'})
from=:::10.0.0.46,53304,
flow_id=07011450-2296-4a13-a9ed-5d5d2b91be98,
task_id=87f95d85-cc3d-4f29-9883-a4dbb3808f88 (api:46)
2018-06-22 07:35:48,406+0200 INFO  (tasks/3) [storage.merge]
Preparing subchain  for merge (merge:177)
2018-06-22 07:35:48,614+0200 INFO  (tasks/3) [storage.SANLock]
Acquiring Lease(name='e156ac2e-09ac-4e1e-a139-17fa374a96d4',
path='/dev/47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5/leases',
offset=115343360) for host id 1 (clusterlock:377)
2018-06-22 07:35:48,634+0200 ERROR (tasks/3) [storage.guarded]
Error acquiring lock  (guarded:96)
AcquireLockFailure: Cannot obtain lock:
"id=47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5, rc=-227, out=Cannot
acquire Lease(name='e156ac2e-09ac-4e1e-a139-17fa374a96d4',
path='/dev/47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5/leases',
offset=115343360), err=(-227, 'Sanlock resource not acquired',
'Lease resource name is incorrect')"
2018-06-22 07:35:56,881+0200 INFO  (jsonrpc/7) [vdsm.api] FINISH
getAllTasksStatuses return={'allTasksStatus':
{'87f95d85-cc3d-4f29-9883-a4dbb3808f88': {'code': 651, 'message':
'Cannot obtain lock: "id=47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5,
rc=-227, out=Cannot acquire
Lease(name=\'e156ac2e-09ac-4e1e-a139-17fa374a96d4\',
path=\'/dev/47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5/leases\',
offset=115343360), err=(-227, \'Sanlock resource not acquired\',
\'Lease resource name is incorrect\')"', 'taskState': 'finished',
'taskResult': 'cleanSuccess', 'taskID':
'87f95d85-cc3d-4f29-9883-a4dbb3808f88'}}}
from=:::10.0.0.46,53136,
task_id=d0e2f4e3-90cb-43c6-aa08-98d1f7efb1bd (api:52)


The issue is corrupted lease for this volume:

AcquireLockFailure: Cannot obtain lock: 
"id=47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5, rc=-227, out=Cannot acquire 
Lease(name='e156ac2e-09ac-4e1e-a139-17fa374a96d4', 
path='/dev/47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5/leases', 
offset=115343360), err=(-227, 'Sanlock resource not acquired', 'Lease 
resource name is incorrect')"


This root cause is faulty merge code in ovirt < 4.1, creating volume 
leases with
incorrect name. These corrupted leases were not detected until you 
upgrade to
ovirt >= 4.1, because we started to use volume leases for storage 
operations.


The fix is to run

    vdsm-tool check-volume-leases

This will check and repair corrupted leases.

Adding Ala to add more info if needed.

Nir



--
_______

Enrico BecchettiServizio di Calcolo e Reti

Istituto Nazionale di Fisica Nucleare - Sezione di Perugia
Via Pascoli,c/o Dipartimento di Fisica  06123 Perugia (ITALY)
Phone:+39 075 5852777 Mail: Enrico.Becchettipg.infn.it
__

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

[ovirt-users] Re: Cannot acquire Lock .... snapshot error

2018-06-25 Thread Enrico Becchetti

 Dear Friends ,
to fix my problem I've try vdsm-tool command but it's seem an error:

[root@infn-vm05 vdsm]# vdsm-tool check-volume-lease
Usage: /usr/bin/vdsm-tool [options]  [arguments]
Valid options:
..

as you can see there isn't check-volumes-option  and my ovirt engine is 
already at 4.2.

Any other ideas ?
Thanks a lot !
Best Regards
Enrico



Il 22/06/2018 17:46, Nir Soffer ha scritto:
On Fri, Jun 22, 2018 at 3:13 PM Enrico Becchetti 
mailto:enrico.becche...@pg.infn.it>> wrote:


 Dear All,
my ovirt 4.2.1.7-1.el7.centos has three hypervisors, lvm storage
and virtiual machine with
ovirt-engine. All works fine but with one vm when I try to remove
its snapshot I have
this error:

2018-06-22 07:35:48,155+0200 INFO  (jsonrpc/5) [vdsm.api] START
prepareMerge(spUUID=u'18d57688-6ed4-43b8-bd7c-0665b55950b7',
subchainInfo={u'img_id': u'c5611862-6504-445e-a6c8-f1e1a95b5df7',
u'sd_id': u'47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5', u'top_id':
u'0e6f7512-871d-4645-b9c6-320ba7e3bee7', u'base_id':
u'e156ac2e-09ac-4e1e-a139-17fa374a96d4'})
from=:::10.0.0.46,53304,
flow_id=07011450-2296-4a13-a9ed-5d5d2b91be98,
task_id=87f95d85-cc3d-4f29-9883-a4dbb3808f88 (api:46)
2018-06-22 07:35:48,406+0200 INFO  (tasks/3) [storage.merge]
Preparing subchain  for merge (merge:177)
2018-06-22 07:35:48,614+0200 INFO  (tasks/3) [storage.SANLock]
Acquiring Lease(name='e156ac2e-09ac-4e1e-a139-17fa374a96d4',
path='/dev/47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5/leases',
offset=115343360) for host id 1 (clusterlock:377)
2018-06-22 07:35:48,634+0200 ERROR (tasks/3) [storage.guarded]
Error acquiring lock  (guarded:96)
AcquireLockFailure: Cannot obtain lock:
"id=47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5, rc=-227, out=Cannot
acquire Lease(name='e156ac2e-09ac-4e1e-a139-17fa374a96d4',
path='/dev/47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5/leases',
offset=115343360), err=(-227, 'Sanlock resource not acquired',
'Lease resource name is incorrect')"
2018-06-22 07:35:56,881+0200 INFO  (jsonrpc/7) [vdsm.api] FINISH
getAllTasksStatuses return={'allTasksStatus':
{'87f95d85-cc3d-4f29-9883-a4dbb3808f88': {'code': 651, 'message':
'Cannot obtain lock: "id=47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5,
rc=-227, out=Cannot acquire
Lease(name=\'e156ac2e-09ac-4e1e-a139-17fa374a96d4\',
path=\'/dev/47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5/leases\',
offset=115343360), err=(-227, \'Sanlock resource not acquired\',
\'Lease resource name is incorrect\')"', 'taskState': 'finished',
'taskResult': 'cleanSuccess', 'taskID':
'87f95d85-cc3d-4f29-9883-a4dbb3808f88'}}}
from=:::10.0.0.46,53136,
task_id=d0e2f4e3-90cb-43c6-aa08-98d1f7efb1bd (api:52)


The issue is corrupted lease for this volume:

AcquireLockFailure: Cannot obtain lock: 
"id=47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5, rc=-227, out=Cannot acquire 
Lease(name='e156ac2e-09ac-4e1e-a139-17fa374a96d4', 
path='/dev/47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5/leases', 
offset=115343360), err=(-227, 'Sanlock resource not acquired', 'Lease 
resource name is incorrect')"


This root cause is faulty merge code in ovirt < 4.1, creating volume 
leases with
incorrect name. These corrupted leases were not detected until you 
upgrade to
ovirt >= 4.1, because we started to use volume leases for storage 
operations.


The fix is to run

    vdsm-tool check-volume-leases

This will check and repair corrupted leases.

Adding Ala to add more info if needed.

Nir



--
_______

Enrico BecchettiServizio di Calcolo e Reti

Istituto Nazionale di Fisica Nucleare - Sezione di Perugia
Via Pascoli,c/o Dipartimento di Fisica  06123 Perugia (ITALY)
Phone:+39 075 5852777 Mail: Enrico.Becchettipg.infn.it
__

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


[ovirt-users] Cannot acquire Lock .... snapshot error

2018-06-22 Thread Enrico Becchetti

 Dear All,
my ovirt 4.2.1.7-1.el7.centos has three hypervisors, lvm storage and 
virtiual machine with
ovirt-engine. All works fine but with one vm when I try to remove its 
snapshot I have

this error:

2018-06-22 07:35:48,155+0200 INFO  (jsonrpc/5) [vdsm.api] START 
prepareMerge(spUUID=u'18d57688-6ed4-43b8-bd7c-0665b55950b7', 
subchainInfo={u'img_id': u'c5611862-6504-445e-a6c8-f1e1a95b5df7', 
u'sd_id': u'47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5', u'top_id': 
u'0e6f7512-871d-4645-b9c6-320ba7e3bee7', u'base_id': 
u'e156ac2e-09ac-4e1e-a139-17fa374a96d4'}) from=:::10.0.0.46,53304, 
flow_id=07011450-2296-4a13-a9ed-5d5d2b91be98, 
task_id=87f95d85-cc3d-4f29-9883-a4dbb3808f88 (api:46)
2018-06-22 07:35:48,406+0200 INFO  (tasks/3) [storage.merge] Preparing 
subchain img_id=c5611862-6504-445e-a6c8-f1e1a95b5df7, 
top_id=0e6f7512-871d-4645-b9c6-320ba7e3bee7, 
base_id=e156ac2e-09ac-4e1e-a139-17fa374a96d4 base_generation=None at 
0x7fcf84ae2510> for merge (merge:177)
2018-06-22 07:35:48,614+0200 INFO  (tasks/3) [storage.SANLock] Acquiring 
Lease(name='e156ac2e-09ac-4e1e-a139-17fa374a96d4', 
path='/dev/47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5/leases', 
offset=115343360) for host id 1 (clusterlock:377)
2018-06-22 07:35:48,634+0200 ERROR (tasks/3) [storage.guarded] Error 
acquiring lock ns=04_lease_47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5, 
name=e156ac2e-09ac-4e1e-a139-17fa374a96d4, mode=exclusive at 
0x7fcfe09ddf90> (guarded:96)
AcquireLockFailure: Cannot obtain lock: 
"id=47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5, rc=-227, out=Cannot acquire 
Lease(name='e156ac2e-09ac-4e1e-a139-17fa374a96d4', 
path='/dev/47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5/leases', 
offset=115343360), err=(-227, 'Sanlock resource not acquired', 'Lease 
resource name is incorrect')"
2018-06-22 07:35:56,881+0200 INFO  (jsonrpc/7) [vdsm.api] FINISH 
getAllTasksStatuses return={'allTasksStatus': 
{'87f95d85-cc3d-4f29-9883-a4dbb3808f88': {'code': 651, 'message': 
'Cannot obtain lock: "id=47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5, rc=-227, 
out=Cannot acquire Lease(name=\'e156ac2e-09ac-4e1e-a139-17fa374a96d4\', 
path=\'/dev/47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5/leases\', 
offset=115343360), err=(-227, \'Sanlock resource not acquired\', \'Lease 
resource name is incorrect\')"', 'taskState': 'finished', 'taskResult': 
'cleanSuccess', 'taskID': '87f95d85-cc3d-4f29-9883-a4dbb3808f88'}}} 
from=:::10.0.0.46,53136, 
task_id=d0e2f4e3-90cb-43c6-aa08-98d1f7efb1bd (api:52)


Any ideas ?

Many thanks to everybody.
Best Regards
Enrico


--
_______

Enrico BecchettiServizio di Calcolo e Reti

Istituto Nazionale di Fisica Nucleare - Sezione di Perugia
Via Pascoli,c/o Dipartimento di Fisica  06123 Perugia (ITALY)
Phone:+39 075 5852777 Mail: Enrico.Becchettipg.infn.it
__

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


Re: [ovirt-users] Fwd: FreeIPA authentication broken

2018-04-26 Thread Enrico Becchetti

  Dear All,
I'm following this thread because thinking to SAML ovirt integration. 
Can you help me ?
Does ovirt support this kind of authentication ? Could you send me more 
information or

a link to guide ?
Thanks a lot.
Best Regards
Enrico


Il 25/04/2018 18:20, Kristian Petersen ha scritto:
I restarted the service and it is working beautifully again.  Thank 
you for you time and effort in helping me.


As for what caused this mess...
My hosted engine crashed after it's storage was temporarily 
disconnected by an automatic application of an update which then 
rebooted the NAS.  After I was able to get the engine back up, but 
running my IPA logins didn't work anymore and I had no idea why that 
would be.  I hadn't changed anything in relation to any of that so it 
made little sense why it stopped working.


On Wed, Apr 25, 2018 at 1:39 AM, Ondra Machacek <omach...@redhat.com 
<mailto:omach...@redhat.com>> wrote:


Yep, you need to restart ovirt-engine service so the changes take
effect.

Anyway, we need to figure out what removed your IPA.properties and
IPA.jks file. What did you do before it stop work?

On 04/25/2018 12:37 AM, Kristian Petersen wrote:


-- Forwarded message --
From: *Kristian Petersen* <nesre...@chem.byu.edu
<mailto:nesre...@chem.byu.edu> <mailto:nesre...@chem.byu.edu
<mailto:nesre...@chem.byu.edu>>>
Date: Tue, Apr 24, 2018 at 12:38 PM
Subject: Re: [ovirt-users] FreeIPA authentication broken
To: Ondra Machacek <omach...@redhat.com
<mailto:omach...@redhat.com> <mailto:omach...@redhat.com
<mailto:omach...@redhat.com>>>


That directory only contains internal.properties.  So I copied
the IPA.properties, IPA-authn.properties, and IPA.jks files
all into the 'aaa' subdirectory and set ownership and
permissions as you directed.  I reran the command you gave me
initially and it prompted me for a password for the user when
entered the process exited with status 0.  However, the web
interface still isn't letting me log in.  Do I need to restart
a service for the changes to be effective in the web UI?

On Mon, Apr 23, 2018 at 11:59 PM, Ondra Machacek
<omach...@redhat.com <mailto:omach...@redhat.com>
<mailto:omach...@redhat.com <mailto:omach...@redhat.com>>> wrote:

    Right, you are missing file
/etc/ovirt-engine/aaa/IPA.properties

    It's not subdirectory of /etc/ovirt-engine/extensions.d,
but it's in
    /etc/ovirt-engine/ in 'aaa' subdirectory, can you check
what's there?
    Please check also the correct permissions of that file, it
should be
    '600' and owned by ovirt user.


    On 04/23/2018 10:25 PM, Kristian Petersen wrote:

        Looks like it can't find the IPA.properties file.  I tried
        following the path it is complaining about but there
are only
        files in /etc/ovirt-engine/extensions.d on the engine
VM.  No
        subdirectories.  However, that directory appears to
contain the
        files it is looking for.  Both IPA-authn.properties and
        IPA.properties are there as are the internal
properties files.         Is there a config file we can edit
to tell it to look in the
        right place?




-- 
Kristian Petersen

System Administrator
BYU Dept. of Chemistry and Biochemistry



-- 
Kristian Petersen

System Administrator
BYU Dept. of Chemistry and Biochemistry


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




--
Kristian Petersen
System Administrator
BYU Dept. of Chemistry and Biochemistry


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



--
___

Enrico BecchettiServizio di Calcolo e Reti

Istituto Nazionale di Fisica Nucleare - Sezione di Perugia
Via Pascoli,c/o Dipartimento di Fisica  06123 Perugia (ITALY)
Phone:+39 075 5852777 Mail: Enrico.Becchettipg.infn.it
__

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


Re: [ovirt-users] VM has been paused due to NO STORAGE SPACE ERROR ?!?!?!?!

2018-03-19 Thread Enrico Becchetti

Il 16/03/2018 15:48, Alex Crow ha scritto:

On 16/03/18 13:46, Nicolas Ecarnot wrote:

Le 16/03/2018 à 13:28, Karli Sjöberg a écrit :



Den 16 mars 2018 12:26 skrev Enrico Becchetti 
<enrico.becche...@pg.infn.it>:


   Dear All,
    Does someone had seen that error ?


Yes, I experienced it dozens of times on 3.6 (my 4.2 setup has 
insufficient workload to trigger such event).

And in every case, there was no actual lack of space.


    Enrico Becchetti Servizio di Calcolo e Reti
I think I remember something to do with thin provisioning and not 
being able to grow fast enough, so out of space. Are the VM's disk 
thick or thin?


All our storage domains are thin-prov. and served by iSCSI 
(Equallogic PS6xxx and 4xxx).


Enrico, do you know if a bug has been filed about this?

Did the VM remain paused? In my experience the VM just gets 
temporarily paused while the storage is expanded. RH confirmed to me 
in a ticket that this is expected behaviour.


If you need high write performance your VM disks should always be 
preallocated. We only use Thin Provision for VMs where we know that 
disk writes are low (eg network services, CPU-bound apps, etc).



Thanks a lot !!!
Best Regards
Enrico


Alex
--
This message is intended only for the addressee and may contain
confidential information. Unless you are that person, you may not
disclose its contents or use it in any way and are requested to delete
the message along with any attachments and notify us immediately.
This email is not intended to, nor should it be taken to, constitute 
advice.
The information provided is correct to our knowledge & belief and must 
not
be used as a substitute for obtaining tax, regulatory, investment, 
legal or

any other appropriate advice.

"Transact" is operated by Integrated Financial Arrangements Ltd.
29 Clement's Lane, London EC4N 7AE. Tel: (020) 7608 4900 Fax: (020) 
7608 5300.

(Registered office: as above; Registered in England and Wales under
number: 3727592). Authorised and regulated by the Financial Conduct
Authority (entered on the Financial Services Register; no. 190856).
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users



--
_______

Enrico BecchettiServizio di Calcolo e Reti

Istituto Nazionale di Fisica Nucleare - Sezione di Perugia
Via Pascoli,c/o Dipartimento di Fisica  06123 Perugia (ITALY)
Phone:+39 075 5852777 Mail: Enrico.Becchettipg.infn.it
__

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


Re: [ovirt-users] VM has been paused due to NO STORAGE SPACE ERROR ?!?!?!?!

2018-03-16 Thread Enrico Becchetti
yes ... it's a thin provisioning , in fact with preallocated disk type I 
haven't any problem.

Thanks you so much
Best Regards
Enrico

Il 16/03/2018 13:28, Karli Sjöberg ha scritto:



Den 16 mars 2018 12:26 skrev Enrico Becchetti 
<enrico.becche...@pg.infn.it>:


  Dear All,
Does someone had seen that error ? When I run this command from my
virtual machine:

# time dd if=/dev/zero of=enrico.dd bs=4k count=1000

VM was paused due to kind a storage error/problem. Strange message
because tell about "no storage space error" but ovirt puts virtual
machine in
a paused state.

Inside events  from  ovirt web interface  I see this:

"VM has been paused due to lack of storage space"

but no ERROR found in /var/log/vdsm.log.

My oVirt enviroment 4.2.1 has three hypervivosr with FC storage and
before now
I haven't see any other problem during the normal functioning of
the vm
, it's seem
that this error occurs only when there is massive I/O.

Any ideas ?
Thanks a lot.
Best Regards
Enrico


-- 
_______


Enrico Becchetti Servizio di Calcolo e Reti

Istituto Nazionale di Fisica Nucleare - Sezione di Perugia
Via Pascoli,c/o Dipartimento di Fisica 06123 Perugia (ITALY)
Phone:+39 075 5852777 Mail: Enrico.Becchettipg.infn.it
__

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


I think I remember something to do with thin provisioning and not 
being able to grow fast enough, so out of space. Are the VM's disk 
thick or thin?


/K
  Dear All,
Does someone had seen that error ? When I run this command from my
virtual machine:

# time dd if=/dev/zero of=enrico.dd bs=4k count=1000

VM was paused due to kind a storage error/problem. Strange message
because tell about "no storage space error" but ovirt puts virtual
machine in
a paused state.

Inside events  from  ovirt web interface  I see this:

"VM has been paused due to lack of storage space"

but no ERROR found in /var/log/vdsm.log.

My oVirt enviroment 4.2.1 has three hypervivosr with FC storage and
before now
I haven't see any other problem during the normal functioning of the vm
, it's seem
that this error occurs only when there is massive I/O.

Any ideas ?
Thanks a lot.
Best Regards
Enrico

--
_______

Enrico Becchetti Servizio di Calcolo e Reti

Istituto Nazionale di Fisica Nucleare - Sezione di Perugia
Via Pascoli,c/o Dipartimento di Fisica 06123 Perugia (ITALY)
Phone:+39 075 5852777 Mail: Enrico.Becchettipg.infn.it
__

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



--
_______

Enrico BecchettiServizio di Calcolo e Reti

Istituto Nazionale di Fisica Nucleare - Sezione di Perugia
Via Pascoli,c/o Dipartimento di Fisica  06123 Perugia (ITALY)
Phone:+39 075 5852777 Mail: Enrico.Becchettipg.infn.it
__

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


[ovirt-users] VM has been paused due to NO STORAGE SPACE ERROR ?!?!?!?!

2018-03-16 Thread Enrico Becchetti

  Dear All,
Does someone had seen that error ? When I run this command from my 
virtual machine:


# time dd if=/dev/zero of=enrico.dd bs=4k count=1000

VM was paused due to kind a storage error/problem. Strange message
because tell about "no storage space error" but ovirt puts virtual 
machine in

a paused state.

Inside events  from  ovirt web interface  I see this:

"VM has been paused due to lack of storage space"

but no ERROR found in /var/log/vdsm.log.

My oVirt enviroment 4.2.1 has three hypervivosr with FC storage and 
before now
I haven't see any other problem during the normal functioning of the vm 
, it's seem

that this error occurs only when there is massive I/O.

Any ideas ?
Thanks a lot.
Best Regards
Enrico


--
_______

Enrico BecchettiServizio di Calcolo e Reti

Istituto Nazionale di Fisica Nucleare - Sezione di Perugia
Via Pascoli,c/o Dipartimento di Fisica  06123 Perugia (ITALY)
Phone:+39 075 5852777 Mail: Enrico.Becchettipg.infn.it
__

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


Re: [ovirt-users] Import Domain and snapshot issue ... please help !!!

2018-02-16 Thread Enrico Becchetti

Hi all,
to remove lock I found this script:

"
/[root@ovirt-new dbutils]#  ./unlock_entity.sh  -t disk 
01f9b5f2-9e48-4c24-80e5-dca7f1d4d128//
//Caution, this operation may lead to data corruption and should be used 
with care. Please contact support prior to running this command//

//Are you sure you want to proceed? [y/n]//
//y//
//select fn_db_unlock_disk('01f9b5f2-9e48-4c24-80e5-dca7f1d4d128');//

//INSERT 0 1//
//unlock disk 01f9b5f2-9e48-4c24-80e5-dca7f1d4d128 completed successfully.//
"

/
but virtual disk is still lock.

Enrico


Il 16/02/2018 09:50, Enrico Becchetti ha scritto:
After reboot engine virtual machine task disappear but virtual disk is 
still locked ,

any ideas to remove that lock ?
Thanks again.
Enrico

l 16/02/2018 09:45, Enrico Becchetti ha scritto:

   Dear All,
Are there tools to remove this task (in attach) ?

taskcleaner.sh it's seems doens't work:

[root@ovirt-new dbutils]# ./taskcleaner.sh -v -r
select exists (select * from information_schema.tables where 
table_schema = 'public' and table_name = 'command_entities');

 t
SELECT DeleteAllCommands();
 6
[root@ovirt-new dbutils]# ./taskcleaner.sh -v -R
select exists (select * from information_schema.tables where 
table_schema = 'public' and table_name = 'command_entities');

 t
 This will remove all async_tasks table content!!!
Caution, this operation should be used with care. Please contact 
support prior to running this command

Are you sure you want to proceed? [y/n]
y
TRUNCATE TABLE async_tasks cascade;
TRUNCATE TABLE

after that I see the same running tasks . Does It make sense ?

Thanks
Best Regards
Enrico


Il 14/02/2018 15:53, Enrico Becchetti ha scritto:

Dear All,
old snapsahots seem to be the problem. In fact domain DATA_FC 
running in 3.5 had some
lvm snapshot volume. Before deactivate DATA_FC  I didin't remove 
this snapshots so when
I attach this volume to new ovirt 4.2 and import all vm at the same 
time I also import
all snapshots but now How I can remove them ? Throught ovirt web 
interface the remove

tasks running are still hang. Are there any other methods ?
Thank to following this case.
Best Regads
Enrico

Il 14/02/2018 14:34, Maor Lipchuk ha scritto:

Seems like all the engine logs are full with the same error.
From vdsm.log.16.xz I can see an error which might explain this 
failure:


2018-02-12 07:51:16,161+0100 INFO  (ioprocess communication 
(40573)) [IOProcess] Starting ioprocess (__init__:447)
2018-02-12 07:51:16,201+0100 INFO  (jsonrpc/3) [vdsm.api] FINISH 
mergeSnapshots return=None from=:::10.0.0.46,57032, 
flow_id=fd4041b3-2301-44b0-aa65-02bd089f6568, 
task_id=1be430dc-eeb0-4dc9-92df-3f5b7943c6e0 (api:52)
2018-02-12 07:51:16,275+0100 INFO  (jsonrpc/3) 
[jsonrpc.JsonRpcServer] RPC call Image.mergeSnapshots succeeded in 
0.13 seconds (__init__:573)
2018-02-12 07:51:16,276+0100 INFO  (tasks/1) 
[storage.ThreadPool.WorkerThread] START task 
1be430dc-eeb0-4dc9-92df-3f5b7943c6e0 (cmd=of >, args=None) 
(threadPool:208)
2018-02-12 07:51:16,543+0100 INFO  (tasks/1) [storage.Image] 
sdUUID=47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5 vmUUID= 
imgUUID=ee9ab34c-47a8-4306-95d7-dd4318c69ef5 
ancestor=9cdc96de-65b7-4187-8ec3-8190b78c1825 
successor=8f595e80-1013-4c14-a2f5-252bce9526fdpostZero=False 
discard=False (image:1240)
2018-02-12 07:51:16,669+0100 ERROR (tasks/1) 
[storage.TaskManager.Task] 
(Task='1be430dc-eeb0-4dc9-92df-3f5b7943c6e0') Unexpected error 
(task:875)

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/vdsm/storage/task.py", 
line 882, in _run

    return fn(*args, **kargs)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/task.py", 
line 336, in run

    return self.cmd(*self.argslist, **self.argsdict)
  File 
"/usr/lib/python2.7/site-packages/vdsm/storage/securable.py", line 
79, in wrapper

    return method(self, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/sp.py", line 
1853, in mergeSnapshots

    discard)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/image.py", 
line 1251, in merge

    srcVol = vols[successor]
KeyError: u'8f595e80-1013-4c14-a2f5-252bce9526fd'

Ala, maybe you know if there is any known issue with mergeSnapshots?
The usecase here are VMs from oVirt 3.5 which got registered to 
oVirt 4.2.


Regards,
Maor


On Wed, Feb 14, 2018 at 10:11 AM, Enrico Becchetti 
<enrico.becche...@pg.infn.it <mailto:enrico.becche...@pg.infn.it>> 
wrote:


  Hi,
also you can download them throught these
links:

https://owncloud.pg.infn.it/index.php/s/QpsTyGxtRTPYRTD
<https://owncloud.pg.infn.it/index.php/s/QpsTyGxtRTPYRTD>
https://owncloud.pg.infn.it/index.php/s/ph8pLcABe0nadeb
<https://owncloud.pg.infn.it/index.php/s/ph8pLcABe0nadeb>

Thanks again 

Best Regards
Enrico


Il 13/02/2018 14:52, Maor Lipchuk ha scritto:



On Tue, Feb 13, 2018 at 3:51 PM, Maor Lipchuk
<ml

Re: [ovirt-users] Import Domain and snapshot issue ... please help !!!

2018-02-16 Thread Enrico Becchetti
After reboot engine virtual machine task disappear but virtual disk is 
still locked ,

any ideas to remove that lock ?
Thanks again.
Enrico

l 16/02/2018 09:45, Enrico Becchetti ha scritto:

   Dear All,
Are there tools to remove this task (in attach) ?

taskcleaner.sh it's seems doens't work:

[root@ovirt-new dbutils]# ./taskcleaner.sh -v -r
select exists (select * from information_schema.tables where 
table_schema = 'public' and table_name = 'command_entities');

 t
SELECT DeleteAllCommands();
 6
[root@ovirt-new dbutils]# ./taskcleaner.sh -v -R
select exists (select * from information_schema.tables where 
table_schema = 'public' and table_name = 'command_entities');

 t
 This will remove all async_tasks table content!!!
Caution, this operation should be used with care. Please contact 
support prior to running this command

Are you sure you want to proceed? [y/n]
y
TRUNCATE TABLE async_tasks cascade;
TRUNCATE TABLE

after that I see the same running tasks . Does It make sense ?

Thanks
Best Regards
Enrico


Il 14/02/2018 15:53, Enrico Becchetti ha scritto:

Dear All,
old snapsahots seem to be the problem. In fact domain DATA_FC running 
in 3.5 had some
lvm snapshot volume. Before deactivate DATA_FC  I didin't remove this 
snapshots so when
I attach this volume to new ovirt 4.2 and import all vm at the same 
time I also import
all snapshots but now How I can remove them ? Throught ovirt web 
interface the remove

tasks running are still hang. Are there any other methods ?
Thank to following this case.
Best Regads
Enrico

Il 14/02/2018 14:34, Maor Lipchuk ha scritto:

Seems like all the engine logs are full with the same error.
From vdsm.log.16.xz I can see an error which might explain this failure:

2018-02-12 07:51:16,161+0100 INFO  (ioprocess communication (40573)) 
[IOProcess] Starting ioprocess (__init__:447)
2018-02-12 07:51:16,201+0100 INFO  (jsonrpc/3) [vdsm.api] FINISH 
mergeSnapshots return=None from=:::10.0.0.46,57032, 
flow_id=fd4041b3-2301-44b0-aa65-02bd089f6568, 
task_id=1be430dc-eeb0-4dc9-92df-3f5b7943c6e0 (api:52)
2018-02-12 07:51:16,275+0100 INFO  (jsonrpc/3) 
[jsonrpc.JsonRpcServer] RPC call Image.mergeSnapshots succeeded in 
0.13 seconds (__init__:573)
2018-02-12 07:51:16,276+0100 INFO  (tasks/1) 
[storage.ThreadPool.WorkerThread] START task 
1be430dc-eeb0-4dc9-92df-3f5b7943c6e0 (cmd=of >, args=None) 
(threadPool:208)
2018-02-12 07:51:16,543+0100 INFO  (tasks/1) [storage.Image] 
sdUUID=47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5 vmUUID= 
imgUUID=ee9ab34c-47a8-4306-95d7-dd4318c69ef5 
ancestor=9cdc96de-65b7-4187-8ec3-8190b78c1825 
successor=8f595e80-1013-4c14-a2f5-252bce9526fdpostZero=False 
discard=False (image:1240)
2018-02-12 07:51:16,669+0100 ERROR (tasks/1) 
[storage.TaskManager.Task] 
(Task='1be430dc-eeb0-4dc9-92df-3f5b7943c6e0') Unexpected error 
(task:875)

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/vdsm/storage/task.py", line 
882, in _run

    return fn(*args, **kargs)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/task.py", line 
336, in run

    return self.cmd(*self.argslist, **self.argsdict)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/securable.py", 
line 79, in wrapper

    return method(self, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/sp.py", line 
1853, in mergeSnapshots

    discard)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/image.py", 
line 1251, in merge

    srcVol = vols[successor]
KeyError: u'8f595e80-1013-4c14-a2f5-252bce9526fd'

Ala, maybe you know if there is any known issue with mergeSnapshots?
The usecase here are VMs from oVirt 3.5 which got registered to 
oVirt 4.2.


Regards,
Maor


On Wed, Feb 14, 2018 at 10:11 AM, Enrico Becchetti 
<enrico.becche...@pg.infn.it <mailto:enrico.becche...@pg.infn.it>> 
wrote:


  Hi,
also you can download them throught these
links:

https://owncloud.pg.infn.it/index.php/s/QpsTyGxtRTPYRTD
<https://owncloud.pg.infn.it/index.php/s/QpsTyGxtRTPYRTD>
https://owncloud.pg.infn.it/index.php/s/ph8pLcABe0nadeb
<https://owncloud.pg.infn.it/index.php/s/ph8pLcABe0nadeb>

Thanks again 

Best Regards
Enrico


Il 13/02/2018 14:52, Maor Lipchuk ha scritto:



On Tue, Feb 13, 2018 at 3:51 PM, Maor Lipchuk
<mlipc...@redhat.com <mailto:mlipc...@redhat.com>> wrote:


On Tue, Feb 13, 2018 at 3:42 PM, Enrico Becchetti
<enrico.becche...@pg.infn.it
<mailto:enrico.becche...@pg.infn.it>> wrote:

see the attach files please ... thanks for your
attention !!!



Seems like the engine logs does not contain the entire
process, can you please share older logs since the import
operation?


And VDSM logs as well from your host

Best Regards
Enrico


    Il 13/02/2018 14:09, Maor Lipchuk ha

Re: [ovirt-users] Import Domain and snapshot issue ... please help !!!

2018-02-14 Thread Enrico Becchetti

Dear All,
old snapsahots seem to be the problem. In fact domain DATA_FC running in 
3.5 had some
lvm snapshot volume. Before deactivate DATA_FC  I didin't remove this 
snapshots so when
I attach this volume to new ovirt 4.2 and import all vm at the same time 
I also import
all snapshots but now How I can remove them ? Throught ovirt web 
interface the remove

tasks running are still hang. Are there any other methods ?
Thank to following this case.
Best Regads
Enrico

Il 14/02/2018 14:34, Maor Lipchuk ha scritto:

Seems like all the engine logs are full with the same error.
From vdsm.log.16.xz I can see an error which might explain this failure:

2018-02-12 07:51:16,161+0100 INFO  (ioprocess communication (40573)) 
[IOProcess] Starting ioprocess (__init__:447)
2018-02-12 07:51:16,201+0100 INFO  (jsonrpc/3) [vdsm.api] FINISH 
mergeSnapshots return=None from=:::10.0.0.46,57032, 
flow_id=fd4041b3-2301-44b0-aa65-02bd089f6568, 
task_id=1be430dc-eeb0-4dc9-92df-3f5b7943c6e0 (api:52)
2018-02-12 07:51:16,275+0100 INFO  (jsonrpc/3) [jsonrpc.JsonRpcServer] 
RPC call Image.mergeSnapshots succeeded in 0.13 seconds (__init__:573)
2018-02-12 07:51:16,276+0100 INFO  (tasks/1) 
[storage.ThreadPool.WorkerThread] START task 
1be430dc-eeb0-4dc9-92df-3f5b7943c6e0 (cmd=>, args=None) 
(threadPool:208)
2018-02-12 07:51:16,543+0100 INFO  (tasks/1) [storage.Image] 
sdUUID=47b7c9aa-ef53-48bc-bb55-4a1a0ba5c8d5 vmUUID= 
imgUUID=ee9ab34c-47a8-4306-95d7-dd4318c69ef5 
ancestor=9cdc96de-65b7-4187-8ec3-8190b78c1825 
successor=8f595e80-1013-4c14-a2f5-252bce9526fdpostZero=False 
discard=False (image:1240)
2018-02-12 07:51:16,669+0100 ERROR (tasks/1) 
[storage.TaskManager.Task] 
(Task='1be430dc-eeb0-4dc9-92df-3f5b7943c6e0') Unexpected error (task:875)

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/vdsm/storage/task.py", line 
882, in _run

    return fn(*args, **kargs)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/task.py", line 
336, in run

    return self.cmd(*self.argslist, **self.argsdict)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/securable.py", 
line 79, in wrapper

    return method(self, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/sp.py", line 
1853, in mergeSnapshots

    discard)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/image.py", line 
1251, in merge

    srcVol = vols[successor]
KeyError: u'8f595e80-1013-4c14-a2f5-252bce9526fd'

Ala, maybe you know if there is any known issue with mergeSnapshots?
The usecase here are VMs from oVirt 3.5 which got registered to oVirt 4.2.

Regards,
Maor


On Wed, Feb 14, 2018 at 10:11 AM, Enrico Becchetti 
<enrico.becche...@pg.infn.it <mailto:enrico.becche...@pg.infn.it>> wrote:


  Hi,
also you can download them throught these
links:

https://owncloud.pg.infn.it/index.php/s/QpsTyGxtRTPYRTD
<https://owncloud.pg.infn.it/index.php/s/QpsTyGxtRTPYRTD>
https://owncloud.pg.infn.it/index.php/s/ph8pLcABe0nadeb
<https://owncloud.pg.infn.it/index.php/s/ph8pLcABe0nadeb>

Thanks again 

Best Regards
Enrico


Il 13/02/2018 14:52, Maor Lipchuk ha scritto:



On Tue, Feb 13, 2018 at 3:51 PM, Maor Lipchuk
<mlipc...@redhat.com <mailto:mlipc...@redhat.com>> wrote:


On Tue, Feb 13, 2018 at 3:42 PM, Enrico Becchetti
<enrico.becche...@pg.infn.it
<mailto:enrico.becche...@pg.infn.it>> wrote:

see the attach files please ... thanks for your
attention !!!



Seems like the engine logs does not contain the entire
process, can you please share older logs since the import
operation?


And VDSM logs as well from your host

Best Regards
Enrico


    Il 13/02/2018 14:09, Maor Lipchuk ha scritto:



On Tue, Feb 13, 2018 at 1:48 PM, Enrico Becchetti
<enrico.becche...@pg.infn.it
<mailto:enrico.becche...@pg.infn.it>> wrote:

 Dear All,
I have been using ovirt for a long time with three
hypervisors and an external engine running in a
centos vm .

This three hypervisors have HBAs and access to
fiber channel storage. Until recently I used
version 3.5, then I reinstalled everything from
scratch and now I have 4.2.

Before formatting everything, I detach the storage
data domani (FC) with the virtual machines and
reimported it to the new 4.2 and all went well. In
this domain there were virtual machines with and
without snapshots.

Now I have two problems. The first is that if I try
to delete a snapshot the process is not end
successful and remains hanging and the second
  

Re: [ovirt-users] Import Domain and snapshot issue ... please help !!!

2018-02-14 Thread Enrico Becchetti

  Hi,
also you can download them throught these
links:

https://owncloud.pg.infn.it/index.php/s/QpsTyGxtRTPYRTD
https://owncloud.pg.infn.it/index.php/s/ph8pLcABe0nadeb

Thanks again 
Best Regards
Enrico


Il 13/02/2018 14:52, Maor Lipchuk ha scritto:



On Tue, Feb 13, 2018 at 3:51 PM, Maor Lipchuk <mlipc...@redhat.com 
<mailto:mlipc...@redhat.com>> wrote:



On Tue, Feb 13, 2018 at 3:42 PM, Enrico Becchetti
<enrico.becche...@pg.infn.it
<mailto:enrico.becche...@pg.infn.it>> wrote:

see the attach files please ... thanks for your attention !!!



Seems like the engine logs does not contain the entire process,
can you please share older logs since the import operation?


And VDSM logs as well from your host

Best Regards
Enrico


Il 13/02/2018 14:09, Maor Lipchuk ha scritto:



On Tue, Feb 13, 2018 at 1:48 PM, Enrico Becchetti
<enrico.becche...@pg.infn.it
<mailto:enrico.becche...@pg.infn.it>> wrote:

 Dear All,
I have been using ovirt for a long time with three
hypervisors and an external engine running in a centos vm .

This three hypervisors have HBAs and access to fiber
channel storage. Until recently I used version 3.5, then
I reinstalled everything from scratch and now I have 4.2.

Before formatting everything, I detach the storage data
domani (FC) with the virtual machines and reimported it
to the new 4.2 and all went well. In
this domain there were virtual machines with and without
snapshots.

Now I have two problems. The first is that if I try to
delete a snapshot the process is not end successful and
remains hanging and the second problem is that
in one case I lost the virtual machine !!!



Not sure that I fully understand the scneario.'
How was the virtual machine got lost if you only tried to
delete a snapshot?


So I need your help to kill the three running zombie
tasks because with taskcleaner.sh I can't do anything
and then I need to know how I can delete the old snapshots
made with the 3.5 without losing other data or without
having new processes that terminate correctly.

If you want some log files please let me know.



Hi Enrico,

Can you please attach the engine and VDSM logs


Thank you so much.
Best Regards
Enrico



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




-- 
_______


Enrico BecchettiServizio di Calcolo e Reti

Istituto Nazionale di Fisica Nucleare - Sezione di Perugia
Via Pascoli,c/o Dipartimento di Fisica  06123 Perugia (ITALY)
Phone:+39 075 5852777 <tel:+39%20075%20585%202777>  Mail: 
Enrico.Becchettipg.infn.it <http://pg.infn.it>
__





--
_______

Enrico BecchettiServizio di Calcolo e Reti

Istituto Nazionale di Fisica Nucleare - Sezione di Perugia
Via Pascoli,c/o Dipartimento di Fisica  06123 Perugia (ITALY)
Phone:+39 075 5852777 Mail: Enrico.Becchettipg.infn.it
__



--
_______

Enrico BecchettiServizio di Calcolo e Reti

Istituto Nazionale di Fisica Nucleare - Sezione di Perugia
Via Pascoli,c/o Dipartimento di Fisica  06123 Perugia (ITALY)
Phone:+39 075 5852777 Mail: Enrico.Becchettipg.infn.it
__



smime.p7s
Description: Firma crittografica S/MIME
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Import Domain and snapshot issue ... please help !!!

2018-02-13 Thread Enrico Becchetti

 Dear All,
I have been using ovirt for a long time with three hypervisors and an 
external engine running in a centos vm .


This three hypervisors have HBAs and access to fiber channel storage. 
Until recently I used version 3.5, then I reinstalled everything from 
scratch and now I have 4.2.


Before formatting everything, I detach the storage data domani (FC) with 
the virtual machines and reimported it to the new 4.2 and all went well. In

this domain there were virtual machines with and without snapshots.

Now I have two problems. The first is that if I try to delete a snapshot 
the process is not end successful and remains hanging and the second 
problem is that

in one case I lost the virtual machine !!!

So I need your help to kill the three running zombie tasks because with 
taskcleaner.sh I can't do anything and then I need to know how I can 
delete the old snapshots
made with the 3.5 without losing other data or without having new 
processes that terminate correctly.


If you want some log files please let me know.

Thank you so much.
Best Regards
Enrico




smime.p7s
Description: Firma crittografica S/MIME
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Storage, extend or new lun ?

2017-06-28 Thread Enrico Becchetti Gmail

 Hi All,
There are other ways to avoid using two lun ? If necessary I can also 
shutdown the entire cluster.

thanks a lot !
Bye
Enrico


Il 26/06/2017 12:32, Fred Rolland ha scritto:

Hi,

The support for refreshing the LUN size in an existing storage domain 
has been introduced in 3.6, so it is not relevant for you.


You can add an additional LUN to an existing storage domain.

Regards,

Fred

[1] 
https://www.ovirt.org/develop/release-management/features/storage/lun-resize/


On Mon, Jun 26, 2017 at 9:35 AM, Enrico Becchetti Gmail 
<enrico.becche...@gmail.com <mailto:enrico.becche...@gmail.com>> wrote:


Dear All,
I've oVirt 3.5.3-1-1.el6 with two kind of storage , NFS and Fibre
Channel.  Each Hypervisor
has HBA controller and Data CLutser has four Storage named:
DATA_FC, DATA_NFS, EXPORT
and ISO-DOMAIN.

Anybody know how can I extend a DATA_FC ? Which is the best practies ?
Extend LUN from HP MSA controller or adding a new lun ?
if I extend lun inside HP MSA oVirt see the new size ?
Enrico
Thanks a lot.
Best Regards

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




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


[ovirt-users] Storage, extend or new lun ?

2017-06-26 Thread Enrico Becchetti Gmail

Dear All,
I've oVirt 3.5.3-1-1.el6 with two kind of storage , NFS and Fibre 
Channel.  Each Hypervisor
has HBA controller and Data CLutser has four Storage named: DATA_FC, 
DATA_NFS, EXPORT

and ISO-DOMAIN.

Anybody know how can I extend a DATA_FC ? Which is the best practies ?
Extend LUN from HP MSA controller or adding a new lun ?
if I extend lun inside HP MSA oVirt see the new size ?
Enrico
Thanks a lot.
Best Regards

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