Re: [ovirt-users] Ovirt 4.0 and EL 7.4

2017-11-10 Thread VONDRA Alain
 10 19:36:20 host1 systemd: Unit vdsm-network.service entered failed state.
Oct 10 19:36:20 host1 systemd: vdsm-network.service failed.



cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)

cat /etc/libvirt/passwd.db
cat: /etc/libvirt/passwd.db: No such file or directory

vdsm-4.18.21-1.el7.centos.x86_64
vdsm-api-4.18.21-1.el7.centos.noarch
vdsm-xmlrpc-4.18.21-1.el7.centos.noarch
vdsm-hook-vmfex-dev-4.18.21-1.el7.centos.noarch
vdsm-cli-4.18.21-1.el7.centos.noarch
vdsm-python-4.18.21-1.el7.centos.noarch
vdsm-yajsonrpc-4.18.21-1.el7.centos.noarch
vdsm-infra-4.18.21-1.el7.centos.noarch
vdsm-jsonrpc-4.18.21-1.el7.centos.noarch

libvirt-daemon-driver-storage-scsi-3.2.0-1.el7.x86_64
libvirt-daemon-driver-storage-rbd-3.2.0-1.el7.x86_64
libvirt-daemon-driver-nodedev-3.2.0-1.el7.x86_64
libvirt-client-3.2.0-1.el7.x86_64
libvirt-python-2.0.0-2.el7.x86_64
libvirt-daemon-driver-network-3.2.0-1.el7.x86_64
libvirt-daemon-driver-storage-mpath-3.2.0-1.el7.x86_64
libvirt-daemon-driver-storage-iscsi-3.2.0-1.el7.x86_64
libvirt-daemon-driver-storage-logical-3.2.0-1.el7.x86_64
libvirt-daemon-driver-storage-3.2.0-1.el7.x86_64
libvirt-daemon-driver-secret-3.2.0-1.el7.x86_64
libvirt-daemon-driver-interface-3.2.0-1.el7.x86_64
libvirt-daemon-kvm-3.2.0-1.el7.x86_64
libvirt-libs-3.2.0-1.el7.x86_64
libvirt-daemon-driver-storage-core-3.2.0-1.el7.x86_64
libvirt-daemon-driver-qemu-3.2.0-1.el7.x86_64
libvirt-daemon-config-nwfilter-3.2.0-1.el7.x86_64
libvirt-daemon-driver-storage-disk-3.2.0-1.el7.x86_64
libvirt-daemon-driver-storage-gluster-3.2.0-1.el7.x86_64
libvirt-lock-sanlock-3.2.0-1.el7.x86_64
libvirt-daemon-3.2.0-1.el7.x86_64
libvirt-daemon-driver-nwfilter-3.2.0-1.el7.x86_64

ovirt-imageio-common-0.4.0-1.el7.noarch
ovirt-release40-4.0.6-2.el7.centos.noarch
ovirt-vmconsole-1.0.4-1.el7.centos.noarch
ovirt-imageio-daemon-0.4.0-1.el7.noarch
ovirt-vmconsole-host-1.0.4-1.el7.centos.noarch

Also tried with "mech_list: digest-md5"

cat /etc/sasl2/libvirt.conf |grep mech_list
#mech_list: gssapi
mech_list: digest-md5
#mech_list: scram-sha-1
#mech_list: scram-sha-1 gssapi


On 10/05/2017 01:26 PM, Pavel Gashev wrote:

Full /etc/sasl2/libvirt.conf:

mech_list: digest-md5

sasldb_path: /etc/libvirt/passwd.db



Also note that VDSM has to be patched to work on 7.4 with no issues. oVirt 3.6 
and 4.1 have required fixes, but oVirt 4.0 doesn’t.



On 04/10/2017, 18:44, "users-boun...@ovirt.org on behalf of Alan 
Griffiths"<mailto:users-bounces@ovirt.orgonbehalfofAlanGriffiths> 
<users-boun...@ovirt.org on behalf of 
apgriffith...@gmail.com><mailto:users-bounces@ovirt.orgonbehalfofapgriffith...@gmail.com>
 wrote:



That didn't seem to make any difference.



I can make it work by disabling authentication



auth_unix_rw="none"  in /etc/libvirt/libvirtd.conf



On 4 October 2017 at 15:05, VONDRA Alain 
<avon...@unicef.fr><mailto:avon...@unicef.fr> wrote:

> Hi,

> Did you modify your /etc/sasl2/libvirt.conf, because the update has 
modify the way to authenticate from md5 to gssapi.

>

> If not just change this line :

> mech_list: gssapi

> to

> mech_list: digest-md5

>

> And restart services

>

> As mentioned in the libvirt.conf file :

>

> # NB, previously DIGEST-MD5 was set as the default mechanism for

> # libvirt. Per RFC 6331 this is vulnerable to many serious security

> # flaws and should no longer be used. Thus GSSAPI is now the default.

> #

> # To use GSSAPI requires that a libvirtd service principal is

> # added to the Kerberos server for each host running libvirtd.

> # This principal needs to be exported to the keytab file listed below

>

> Alain

>

>

>

> Alain VONDRA

>

> Chargé d'Exploitation et de Sécurité des Systèmes d'Information

> Direction Administrative et Financière

> +33 1 44 39 77 76

>

> UNICEF France

> 3 rue Duguay Trouin  75006

> PARIS

> www.unicef.fr<http://www.unicef.fr>

> -Message d'origine-

> De : users-boun...@ovirt.org<mailto:users-boun...@ovirt.org> 
[mailto:users-boun...@ovirt.org] De la part de Alan Griffiths

> Envoyé : mercredi 4 octobre 2017 15:50

> À : Ovirt Users <users@ovirt.org><mailto:users@ovirt.org>

> Objet : [ovirt-users] Ovirt 4.0 and EL 7.4

>

> Hi,

>

> Is 4.0 supported/known to work on CentOS 7.4?

>

> I've just tried to upgrade one of the hosts in my lab from 7.3 to 7.4 and 
now vdsm-network fails to start with

>

> vdsm-tool: libvirt: XML-RPC error : authentication failed: authentication 
failed

>

> To even get this far I had to exclude gluster packages as 7.4 introduces 
3.8 but ovirt 4.0 repo is still on 3.7.


Re: [ovirt-users] Ovirt 4.0 and EL 7.4

2017-10-04 Thread VONDRA Alain
Hi,
Did you modify your /etc/sasl2/libvirt.conf, because the update has modify the 
way to authenticate from md5 to gssapi.

If not just change this line :
mech_list: gssapi
to
mech_list: digest-md5

And restart services

As mentioned in the libvirt.conf file :

# NB, previously DIGEST-MD5 was set as the default mechanism for
# libvirt. Per RFC 6331 this is vulnerable to many serious security
# flaws and should no longer be used. Thus GSSAPI is now the default.
#
# To use GSSAPI requires that a libvirtd service principal is
# added to the Kerberos server for each host running libvirtd.
# This principal needs to be exported to the keytab file listed below

Alain



Alain VONDRA

Chargé d'Exploitation et de Sécurité des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76

UNICEF France
3 rue Duguay Trouin  75006
PARIS
www.unicef.fr
-Message d'origine-
De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la part de 
Alan Griffiths
Envoyé : mercredi 4 octobre 2017 15:50
À : Ovirt Users 
Objet : [ovirt-users] Ovirt 4.0 and EL 7.4

Hi,

Is 4.0 supported/known to work on CentOS 7.4?

I've just tried to upgrade one of the hosts in my lab from 7.3 to 7.4 and now 
vdsm-network fails to start with

vdsm-tool: libvirt: XML-RPC error : authentication failed: authentication failed

To even get this far I had to exclude gluster packages as 7.4 introduces 3.8 
but ovirt 4.0 repo is still on 3.7.

So, more generally. If I'm on ovirt 4.0, gluster 3.7 and EL 7.3. What is the 
best ordering for getting to ovirt 4.1 and EL 7.4?

Thanks,

Alan
___
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] libvirt: XML-RPC error : authentication failed: Failed to start SASL

2017-10-02 Thread VONDRA Alain
Hello,
Thank you very much Yaniv, I willl try it as soon as possible, I’ve made a 
restoration first, to have back the hypervisor quickly.
Regards






Alain VONDRA
Chargé d'Exploitation et de Sécurité des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr<http://www.unicef.fr/>

<http://www.unicef.fr>

<http://www.unicef.fr/>

<http://www.unicef.fr/><http://www.unicef.fr/>[cid:signature_Unicef-France_ade377bf-317d-4502-9e2f-a0b487c09563.gif]<https://don.unicef.fr/b?cid=73>







<http://www.unicef.fr>


De : Yaniv Kaul [mailto:yk...@redhat.com]
Envoyé : jeudi 28 septembre 2017 09:39
À : VONDRA Alain <avon...@unicef.fr>
Cc : Ozan Uzun <ozanu...@gmail.com>; Ovirt Users <users@ovirt.org>
Objet : Re: [ovirt-users] libvirt: XML-RPC error : authentication failed: 
Failed to start SASL



On Wed, Sep 27, 2017 at 7:01 PM, VONDRA Alain 
<avon...@unicef.fr<mailto:avon...@unicef.fr>> wrote:
Hello,
I have exactly the same problem after an upgrade from CentOS 7.3 to 7.4, but I 
don’t want to plan now the migration to oVirt 4.x.
Can you help me to correct the bug and keep oVirt 3.6 for a few months ?
It really seems to be a modification in libvirt authentication because when I 
comment out
#auth_unix_rw="sasl"
in libvirtd.conf, libvirtd starts but my Host is still unresponsive in oVirt.
My production environment  is running on a single Hypervisor and I need the 
second one.
Thanks

The fix is[1]. I suppose you need to change:
mech_list: scram-sha-1

Y.

[1] https://gerrit.ovirt.org/#/c/76934/


De : users-boun...@ovirt.org<mailto:users-boun...@ovirt.org> 
[mailto:users-boun...@ovirt.org<mailto:users-boun...@ovirt.org>] De la part de 
Yaniv Kaul
Envoyé : mardi 19 septembre 2017 13:36
À : Ozan Uzun <ozanu...@gmail.com<mailto:ozanu...@gmail.com>>
Cc : Ovirt Users <users@ovirt.org<mailto:users@ovirt.org>>
Objet : Re: [ovirt-users] libvirt: XML-RPC error : authentication failed: 
Failed to start SASL



On Tue, Sep 19, 2017 at 12:24 PM, Ozan Uzun 
<ozanu...@gmail.com<mailto:ozanu...@gmail.com>> wrote:



Alain VONDRA
Chargé d'Exploitation et de Sécurité des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76<tel:+33%201%2044%2039%2077%2076>
UNICEF France
3 rue Duguay 
Trouin<https://maps.google.com/?q=3+rue+Duguay+Trouin%C2%A0%C2%A075006+PARIS=gmail=g>
  75006 
PARIS<https://maps.google.com/?q=3+rue+Duguay+Trouin%C2%A0%C2%A075006+PARIS=gmail=g>
www.unicef.fr<http://www.unicef.fr/>


[cid:image001.gif@01D33BA4.C26AA280]<https://don.unicef.fr/b?cid=73>








After hours of struggle, I removed all the hosts.
Installed a fresh centos 6.x on a host. Now it works like a charm.

I will install a fresh ovirt 4.x, and start migration my vm's on new centos 7.4 
hosts.

The only supported way seems exporting/importing vm's for different ovirt 
engines. I wish  I had plain  qcow2 images to copy...


You could detach and attach a whole storage domain.
Y.


On Tue, 19 Sep 2017 at 10:18, Yaniv Kaul 
<yk...@redhat.com<mailto:yk...@redhat.com>> wrote:
On Mon, Sep 18, 2017 at 11:47 PM, Ozan Uzun 
<ozanu...@gmail.com<mailto:ozanu...@gmail.com>> wrote:
Hello,
Today I updated my ovirt engine v3.5 and all my hosts on one datacenter (centos 
7.4 ones).

You are mixing an ancient release (oVirt 3.5) with the latest CentOS. This is 
not supported at best, and who knows if it works.

and suddenly  my vdsm and vdsm-network  services stopped working.
btw: My other DC is centos 6 based (managed from the same ovirt engine), 
everything works just fine there.

vdsm fails dependent on vdsm-network service, with lots of RPC error.
I tried to configure vdsm-tool configure --force, deleted everything 
(vdsm-libvirt), reinstalled.
Could not make it work.
My logs are filled with the follogin

Sep 18 23:06:01 node6 python[5340]: GSSAPI Error: Unspecified GSS failure.  
Minor code may provide more information (No Kerberos credentials available 
(default cache: KEYRING:persistent:0))

This may sound like a change that happened in libvirt authentication, which 
we've adjusted to in oVirt 4.1.5 (specifically VDSM) I believe.
Y.

Sep 18 23:06:01 node6 vdsm-tool[5340]: libvirt: XML-RPC error : authentication 
failed: Failed to start SASL negotiation: -1 (SASL(-1): generic failure: GSSAPI 
Error: Unspecified GSS failure.  Minor code may provide more information (No 
Kerberos credent
Sep 18 23:06:01 node6 libvirtd[4312]: 2017-09-18 20:06:01.954+: 4312: error 
: virNetSocketReadWire:1808 : End of file while reading data: Input/output error

---
journalctl -xe output for vdsm-network

Sep 18 23:06:02 node6 vdsm-tool[5340]: libvirt: X

Re: [ovirt-users] libvirt: XML-RPC error : authentication failed: Failed to start SASL

2017-09-27 Thread VONDRA Alain
Hello,
I have exactly the same problem after an upgrade from CentOS 7.3 to 7.4, but I 
don’t want to plan now the migration to oVirt 4.x.
Can you help me to correct the bug and keep oVirt 3.6 for a few months ?
It really seems to be a modification in libvirt authentication because when I 
comment out
#auth_unix_rw="sasl"
in libvirtd.conf, libvirtd starts but my Host is still unresponsive in oVirt.
My production environment  is running on a single Hypervisor and I need the 
second one.
Thanks


De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la part de 
Yaniv Kaul
Envoyé : mardi 19 septembre 2017 13:36
À : Ozan Uzun 
Cc : Ovirt Users 
Objet : Re: [ovirt-users] libvirt: XML-RPC error : authentication failed: 
Failed to start SASL



On Tue, Sep 19, 2017 at 12:24 PM, Ozan Uzun 
> wrote:




Alain VONDRA
Chargé d'Exploitation et de Sécurité des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





[cid:signature_Unicef-France_ade377bf-317d-4502-9e2f-a0b487c09563.gif]









After hours of struggle, I removed all the hosts.
Installed a fresh centos 6.x on a host. Now it works like a charm.

I will install a fresh ovirt 4.x, and start migration my vm's on new centos 7.4 
hosts.

The only supported way seems exporting/importing vm's for different ovirt 
engines. I wish  I had plain  qcow2 images to copy...


You could detach and attach a whole storage domain.
Y.


On Tue, 19 Sep 2017 at 10:18, Yaniv Kaul 
> wrote:
On Mon, Sep 18, 2017 at 11:47 PM, Ozan Uzun 
> wrote:
Hello,
Today I updated my ovirt engine v3.5 and all my hosts on one datacenter (centos 
7.4 ones).

You are mixing an ancient release (oVirt 3.5) with the latest CentOS. This is 
not supported at best, and who knows if it works.

and suddenly  my vdsm and vdsm-network  services stopped working.
btw: My other DC is centos 6 based (managed from the same ovirt engine), 
everything works just fine there.

vdsm fails dependent on vdsm-network service, with lots of RPC error.
I tried to configure vdsm-tool configure --force, deleted everything 
(vdsm-libvirt), reinstalled.
Could not make it work.
My logs are filled with the follogin

Sep 18 23:06:01 node6 python[5340]: GSSAPI Error: Unspecified GSS failure.  
Minor code may provide more information (No Kerberos credentials available 
(default cache: KEYRING:persistent:0))

This may sound like a change that happened in libvirt authentication, which 
we've adjusted to in oVirt 4.1.5 (specifically VDSM) I believe.
Y.

Sep 18 23:06:01 node6 vdsm-tool[5340]: libvirt: XML-RPC error : authentication 
failed: Failed to start SASL negotiation: -1 (SASL(-1): generic failure: GSSAPI 
Error: Unspecified GSS failure.  Minor code may provide more information (No 
Kerberos credent
Sep 18 23:06:01 node6 libvirtd[4312]: 2017-09-18 20:06:01.954+: 4312: error 
: virNetSocketReadWire:1808 : End of file while reading data: Input/output error

---
journalctl -xe output for vdsm-network

Sep 18 23:06:02 node6 vdsm-tool[5340]: libvirt: XML-RPC error : authentication 
failed: Failed to start SASL negotiation: -1 (SASL(-1): generic failure: GSSAPI 
Error: Unspecified GSS failure.  Minor code may provide more information (No 
Kerberos credent
Sep 18 23:06:02 node6 vdsm-tool[5340]: Traceback (most recent call last):
Sep 18 23:06:02 node6 vdsm-tool[5340]: File "/usr/bin/vdsm-tool", line 219, in 
main
Sep 18 23:06:02 node6 libvirtd[4312]: 2017-09-18 20:06:02.558+: 4312: error 
: virNetSocketReadWire:1808 : End of file while reading data: Input/output error
Sep 18 23:06:02 node6 vdsm-tool[5340]: return 
tool_command[cmd]["command"](*args)
Sep 18 23:06:02 node6 vdsm-tool[5340]: File 
"/usr/lib/python2.7/site-packages/vdsm/tool/upgrade_300_networks.py", line 83, 
in upgrade_networks
Sep 18 23:06:02 node6 vdsm-tool[5340]: networks = netinfo.networks()
Sep 18 23:06:02 node6 vdsm-tool[5340]: File 
"/usr/lib/python2.7/site-packages/vdsm/netinfo.py", line 112, in networks
Sep 18 23:06:02 node6 vdsm-tool[5340]: conn = libvirtconnection.get()
Sep 18 23:06:02 node6 vdsm-tool[5340]: File 
"/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 159, in get
Sep 18 23:06:02 node6 vdsm-tool[5340]: conn = _open_qemu_connection()
Sep 18 23:06:02 node6 vdsm-tool[5340]: File 
"/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 95, in 
_open_qemu_connection
Sep 18 23:06:02 node6 vdsm-tool[5340]: return utils.retry(libvirtOpen, 
timeout=10, sleep=0.2)
Sep 18 23:06:02 node6 vdsm-tool[5340]: File 

Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to CentOS 7

2016-09-05 Thread VONDRA Alain
To resume the situation and be the most clear I can.
I have :

-  2 hypervisors (physical) with CentOS 6.8 : HYP1 and HYP2

-  1 oVirt manager 3.5  (physical and not hosted-engine) with CentOS 7.2
And to be able to upgrade to oVirt 3.6 or more I need to upgrade the 2 
hypervisors to CentOS 7.2.
So I began with HYP2, I’ve removed it from the Cluster, and installed it with 
CentOS 7.2, but when I wanted to join it to a new cluster as shown in the doc, 
HYP2 stayed always unresponsive.
So I’ve restored the HYP2 to Centos 6.8, reinstalled it on the previous cluster 
and everything works well, but I really want to upgrade to CentOS 7.2 to be 
up-to-date, because I will have soonly more than two versions late.






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr<http://www.unicef.fr/>

<http://www.unicef.fr>

<http://www.unicef.fr/>

<http://www.unicef.fr/><http://www.unicef.fr/>[cid:signature_Unicef-France_a0c5ef98-a0b5-4b96-9e15-f37a03a75cb1.gif]<https://www.unicef.fr/>







<http://www.unicef.fr>


De : Yedidyah Bar David [mailto:d...@redhat.com]
Envoyé : lundi 5 septembre 2016 15:53
À : VONDRA Alain <avon...@unicef.fr>
Cc : Simone Tiraboschi <stira...@redhat.com>; users <users@ovirt.org>
Objet : Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to CentOS 7

On Mon, Sep 5, 2016 at 4:34 PM, VONDRA Alain 
<avon...@unicef.fr<mailto:avon...@unicef.fr>> wrote:
As you say, “This should”, but is there anybody there who tried this operation ?

When I wrote [1], it worked for me.
If something does not work for you, I think it's best to open a bug
and attach all relevant logs, including hosted-engine-setup and vdsm
logs from the host and all engine logs from the engine vm.
I can't tell from your log snippet why your new host failed to attach
to the storage domain. If it's reproducible, please check/post vdsm logs.

[1] https://www.ovirt.org/documentation/how-to/hosted-engine-host-OS-upgrade/

Is there any other option to upgrade the hypervisors ?

Even if there is another option, the fact that you can't add a host
is probably problematic in itself, no? What if you actually need to
add a host?
Did you try adding a el6 host and it did work?
Best,






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76<tel:%2B33%201%2044%2039%2077%2076>
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr<http://www.unicef.fr/>


[cid:image001.gif@01D20797.0E78A750]<https://www.unicef.fr/>








De : Yedidyah Bar David [mailto:d...@redhat.com<mailto:d...@redhat.com>]
Envoyé : lundi 5 septembre 2016 12:22

À : VONDRA Alain <avon...@unicef.fr<mailto:avon...@unicef.fr>>
Cc : Simone Tiraboschi <stira...@redhat.com<mailto:stira...@redhat.com>>; users 
<users@ovirt.org<mailto:users@ovirt.org>>
Objet : Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to CentOS 7

On Mon, Sep 5, 2016 at 1:11 PM, VONDRA Alain 
<avon...@unicef.fr<mailto:avon...@unicef.fr>> wrote:
Unlikely, I didn’t save them, I had to rollback the host quickly before the 
Week-end.
All that I can tell, that is all seemed to work well during the installation of 
the host, all the networks were connected to the SAN, but the host didn’t want 
to go UP, still staying unresponsive with the message below from the oVirt 
engine.
Can you assure me that the installation of a physical hypervisor with CentOS 7, 
is possible if I put it on a different cluster than the other host using CentOS 
6.8 ?

Yes, this should work.

Thanks




Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76<tel:%2B33%201%2044%2039%2077%2076>
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr<http://www.unicef.fr/>


[cid:image001.gif@01D20797.0E78A750]<https://www.unicef.fr/>






____

De : Yedidyah Bar David [mailto:d...@redhat.com<mailto:d...@redhat.com>]
Envoyé : dimanche 4 septembre 2016 08:50
À : VONDRA Alain <avon...@unicef.fr<mailto:avon...@unicef.fr>>
Cc : Simone Tiraboschi <stira...@redhat.com<mailto:stira...@redhat.com>>; users 
<users@ovirt.org<mailto:users@ovirt.org>>

Objet : Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to CentOS 7

On Fri, Sep 2, 2016 at 7:31 PM, VONDRA Alain 
<avon...@unicef.fr<mailto:avon...@unicef.fr>> wrote:
Hi,
I’ve followed this doc, and hoped to find a solution with it, so I did’nt use 
the hosted-engine –deploy command, I’ve added a new ho

Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to CentOS 7

2016-09-05 Thread VONDRA Alain
As you say, “This should”, but is there anybody there who tried this operation ?
Is there any other option to upgrade the hypervisors ?






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr<http://www.unicef.fr/>

<http://www.unicef.fr>

<http://www.unicef.fr/>

<http://www.unicef.fr/><http://www.unicef.fr/>[cid:signature_Unicef-France_a0c5ef98-a0b5-4b96-9e15-f37a03a75cb1.gif]<https://www.unicef.fr/>







<http://www.unicef.fr>


De : Yedidyah Bar David [mailto:d...@redhat.com]
Envoyé : lundi 5 septembre 2016 12:22
À : VONDRA Alain <avon...@unicef.fr>
Cc : Simone Tiraboschi <stira...@redhat.com>; users <users@ovirt.org>
Objet : Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to CentOS 7

On Mon, Sep 5, 2016 at 1:11 PM, VONDRA Alain 
<avon...@unicef.fr<mailto:avon...@unicef.fr>> wrote:
Unlikely, I didn’t save them, I had to rollback the host quickly before the 
Week-end.
All that I can tell, that is all seemed to work well during the installation of 
the host, all the networks were connected to the SAN, but the host didn’t want 
to go UP, still staying unresponsive with the message below from the oVirt 
engine.
Can you assure me that the installation of a physical hypervisor with CentOS 7, 
is possible if I put it on a different cluster than the other host using CentOS 
6.8 ?

Yes, this should work.

Thanks




Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76<tel:%2B33%201%2044%2039%2077%2076>
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr<http://www.unicef.fr/>


[cid:image001.gif@01D2078B.0AA94640]<https://www.unicef.fr/>








De : Yedidyah Bar David [mailto:d...@redhat.com<mailto:d...@redhat.com>]
Envoyé : dimanche 4 septembre 2016 08:50
À : VONDRA Alain <avon...@unicef.fr<mailto:avon...@unicef.fr>>
Cc : Simone Tiraboschi <stira...@redhat.com<mailto:stira...@redhat.com>>; users 
<users@ovirt.org<mailto:users@ovirt.org>>

Objet : Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to CentOS 7

On Fri, Sep 2, 2016 at 7:31 PM, VONDRA Alain 
<avon...@unicef.fr<mailto:avon...@unicef.fr>> wrote:
Hi,
I’ve followed this doc, and hoped to find a solution with it, so I did’nt use 
the hosted-engine –deploy command, I’ve added a new host and at the end of the 
installation, the host stays unresponsive because unable to be attached to the 
same Storage volume .
Engine log :
2016-09-02 16:57:01,780 ERROR [org.ovirt.engine.core.bll.InitVdsOnUpCommand] 
(org.ovirt.thread.pool-8-thread-28) Could not connect host unc-srv-hyp2 to pool 
UNICEF with the message: null
2016-09-02 17:00:01,634 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand] 
(org.ovirt.thread.pool-8-thread-3) Command 
ConnectStoragePoolVDSCommand(HostName = unc-srv-hyp2, HostId = 
ee1c57ce-1c77-47b1-b466-7bf99382dd77, vdsId = 
ee1c57ce-1c77-47b1-b466-7bf99382dd77, storagePoolId = 
0002-0002-0002-0002-0193, masterVersion = 7) execution failed. 
Exception: IRSNoMasterDomainException: IRSGenericException: IRSErrorException: 
IRSNoMasterDomainException: Cannot find master domain: 
u'spUUID=0002-0002-0002-0002-0193, 
msdUUID=cc9ab4b2-9880-427b-8f3b-61f03e520cbc'

Please check/post vdsm logs from the host. Thanks.







Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76<tel:%2B33%201%2044%2039%2077%2076>
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr<http://www.unicef.fr/>


[cid:image001.gif@01D2078B.0AA94640]<https://www.unicef.fr/>






________

De : Simone Tiraboschi [mailto:stira...@redhat.com<mailto:stira...@redhat.com>]
Envoyé : vendredi 2 septembre 2016 18:20
À : VONDRA Alain <avon...@unicef.fr<mailto:avon...@unicef.fr>>
Cc : Nir Soffer <nsof...@redhat.com<mailto:nsof...@redhat.com>>; users 
<users@ovirt.org<mailto:users@ovirt.org>>
Objet : Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to CentOS 7



On Fri, Sep 2, 2016 at 5:21 PM, VONDRA Alain 
<avon...@unicef.fr<mailto:avon...@unicef.fr>> wrote:
Hi,
I'd like to upgrade my oVirt environment from 3.5 to 3.6 and maybe 4, actually 
the manager oVirt is un 3.5 version, installed on a CentOS 7.2 and the two 
hypervisors are installed on CentOS 6.8.
I need anyway to upgrade the hosts to be able to move to 3.6.
I've tried to upgrade the first host, but I had of course issues telling that 
it can't be possible to mix diffe

Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to CentOS 7

2016-09-05 Thread VONDRA Alain
Unlikely, I didn’t save them, I had to rollback the host quickly before the 
Week-end.
All that I can tell, that is all seemed to work well during the installation of 
the host, all the networks were connected to the SAN, but the host didn’t want 
to go UP, still staying unresponsive with the message below from the oVirt 
engine.
Can you assure me that the installation of a physical hypervisor with CentOS 7, 
is possible if I put it on a different cluster than the other host using CentOS 
6.8 ?
Thanks





Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr<http://www.unicef.fr/>

<http://www.unicef.fr>

<http://www.unicef.fr/>

<http://www.unicef.fr/><http://www.unicef.fr/>[cid:signature_Unicef-France_a0c5ef98-a0b5-4b96-9e15-f37a03a75cb1.gif]<https://www.unicef.fr/>







<http://www.unicef.fr>


De : Yedidyah Bar David [mailto:d...@redhat.com]
Envoyé : dimanche 4 septembre 2016 08:50
À : VONDRA Alain <avon...@unicef.fr>
Cc : Simone Tiraboschi <stira...@redhat.com>; users <users@ovirt.org>
Objet : Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to CentOS 7

On Fri, Sep 2, 2016 at 7:31 PM, VONDRA Alain 
<avon...@unicef.fr<mailto:avon...@unicef.fr>> wrote:
Hi,
I’ve followed this doc, and hoped to find a solution with it, so I did’nt use 
the hosted-engine –deploy command, I’ve added a new host and at the end of the 
installation, the host stays unresponsive because unable to be attached to the 
same Storage volume .
Engine log :
2016-09-02 16:57:01,780 ERROR [org.ovirt.engine.core.bll.InitVdsOnUpCommand] 
(org.ovirt.thread.pool-8-thread-28) Could not connect host unc-srv-hyp2 to pool 
UNICEF with the message: null
2016-09-02 17:00:01,634 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand] 
(org.ovirt.thread.pool-8-thread-3) Command 
ConnectStoragePoolVDSCommand(HostName = unc-srv-hyp2, HostId = 
ee1c57ce-1c77-47b1-b466-7bf99382dd77, vdsId = 
ee1c57ce-1c77-47b1-b466-7bf99382dd77, storagePoolId = 
0002-0002-0002-0002-0193, masterVersion = 7) execution failed. 
Exception: IRSNoMasterDomainException: IRSGenericException: IRSErrorException: 
IRSNoMasterDomainException: Cannot find master domain: 
u'spUUID=0002-0002-0002-0002-0193, 
msdUUID=cc9ab4b2-9880-427b-8f3b-61f03e520cbc'

Please check/post vdsm logs from the host. Thanks.







Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76<tel:%2B33%201%2044%2039%2077%2076>
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr<http://www.unicef.fr/>


[cid:image001.gif@01D2076E.98ACBCA0]<https://www.unicef.fr/>








De : Simone Tiraboschi [mailto:stira...@redhat.com<mailto:stira...@redhat.com>]
Envoyé : vendredi 2 septembre 2016 18:20
À : VONDRA Alain <avon...@unicef.fr<mailto:avon...@unicef.fr>>
Cc : Nir Soffer <nsof...@redhat.com<mailto:nsof...@redhat.com>>; users 
<users@ovirt.org<mailto:users@ovirt.org>>
Objet : Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to CentOS 7



On Fri, Sep 2, 2016 at 5:21 PM, VONDRA Alain 
<avon...@unicef.fr<mailto:avon...@unicef.fr>> wrote:
Hi,
I'd like to upgrade my oVirt environment from 3.5 to 3.6 and maybe 4, actually 
the manager oVirt is un 3.5 version, installed on a CentOS 7.2 and the two 
hypervisors are installed on CentOS 6.8.
I need anyway to upgrade the hosts to be able to move to 3.6.
I've tried to upgrade the first host, but I had of course issues telling that 
it can't be possible to mix different OS in the same cluster, I've also tried 
to create another cluster to put this host without success.
What is the best way to upgrade cleanly and safely ?
Thank you in advance for your advices

Follow this:
https://www.ovirt.org/documentation/how-to/hosted-engine-host-OS-upgrade/

Simply ignore the steps that refers to the engine VM if you are with the engine 
on a physical system.


Alain VONDRA

Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76<tel:%2B33%201%2044%2039%2077%2076>

UNICEF France
3 rue Duguay Trouin  75006
PARIS
www.unicef.fr<http://www.unicef.fr>


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



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


Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to CentOS 7

2016-09-02 Thread VONDRA Alain
Hi,
I’ve followed this doc, and hoped to find a solution with it, so I did’nt use 
the hosted-engine –deploy command, I’ve added a new host and at the end of the 
installation, the host stays unresponsive because unable to be attached to the 
same Storage volume .
Engine log :
2016-09-02 16:57:01,780 ERROR [org.ovirt.engine.core.bll.InitVdsOnUpCommand] 
(org.ovirt.thread.pool-8-thread-28) Could not connect host unc-srv-hyp2 to pool 
UNICEF with the message: null
2016-09-02 17:00:01,634 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand] 
(org.ovirt.thread.pool-8-thread-3) Command 
ConnectStoragePoolVDSCommand(HostName = unc-srv-hyp2, HostId = 
ee1c57ce-1c77-47b1-b466-7bf99382dd77, vdsId = 
ee1c57ce-1c77-47b1-b466-7bf99382dd77, storagePoolId = 
0002-0002-0002-0002-0193, masterVersion = 7) execution failed. 
Exception: IRSNoMasterDomainException: IRSGenericException: IRSErrorException: 
IRSNoMasterDomainException: Cannot find master domain: 
u'spUUID=0002-0002-0002-0002-0193, 
msdUUID=cc9ab4b2-9880-427b-8f3b-61f03e520cbc'







Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr<http://www.unicef.fr/>

<http://www.unicef.fr>

<http://www.unicef.fr/>

<http://www.unicef.fr/><http://www.unicef.fr/>[cid:signature_Unicef-France_a0c5ef98-a0b5-4b96-9e15-f37a03a75cb1.gif]<https://www.unicef.fr/>







<http://www.unicef.fr>


De : Simone Tiraboschi [mailto:stira...@redhat.com]
Envoyé : vendredi 2 septembre 2016 18:20
À : VONDRA Alain <avon...@unicef.fr>
Cc : Nir Soffer <nsof...@redhat.com>; users <users@ovirt.org>
Objet : Re: [ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to CentOS 7



On Fri, Sep 2, 2016 at 5:21 PM, VONDRA Alain 
<avon...@unicef.fr<mailto:avon...@unicef.fr>> wrote:
Hi,
I'd like to upgrade my oVirt environment from 3.5 to 3.6 and maybe 4, actually 
the manager oVirt is un 3.5 version, installed on a CentOS 7.2 and the two 
hypervisors are installed on CentOS 6.8.
I need anyway to upgrade the hosts to be able to move to 3.6.
I've tried to upgrade the first host, but I had of course issues telling that 
it can't be possible to mix different OS in the same cluster, I've also tried 
to create another cluster to put this host without success.
What is the best way to upgrade cleanly and safely ?
Thank you in advance for your advices

Follow this:
https://www.ovirt.org/documentation/how-to/hosted-engine-host-OS-upgrade/

Simply ignore the steps that refers to the engine VM if you are with the engine 
on a physical system.


Alain VONDRA

Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76

UNICEF France
3 rue Duguay Trouin  75006
PARIS
www.unicef.fr<http://www.unicef.fr>

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


[ovirt-users] HELP Upgrade hypervisors from CentOS 6.8 to CentOS 7

2016-09-02 Thread VONDRA Alain
Hi,
I'd like to upgrade my oVirt environment from 3.5 to 3.6 and maybe 4, actually 
the manager oVirt is un 3.5 version, installed on a CentOS 7.2 and the two 
hypervisors are installed on CentOS 6.8.
I need anyway to upgrade the hosts to be able to move to 3.6.
I've tried to upgrade the first host, but I had of course issues telling that 
it can't be possible to mix different OS in the same cluster, I've also tried 
to create another cluster to put this host without success.
What is the best way to upgrade cleanly and safely ?
Thank you in advance for your advices


Alain VONDRA

Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76

UNICEF France
3 rue Duguay Trouin  75006
PARIS
www.unicef.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Updare issues from oVirt 3.5.0.1-1 to 3.5.3

2015-09-01 Thread VONDRA Alain
Hi Maor,
Ok, so how can I manage that, is there any solution to modify these VMs to be 
compliant with 3.5 DC ?
You understand that I can't destroy the VMs and re-create them, is there any 
solution consisting to export Vm and re-import it, to become 3.5 compliant ?
Thanks for your help.
Regards
Alain




Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : Maor Lipchuk [mailto:mlipc...@redhat.com]
Envoyé : lundi 31 août 2015 19:29
À : VONDRA Alain
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Updare issues from oVirt 3.5.0.1-1 to 3.5.3

Hi Alain,

The OVF_STORE disk is only supported for 3.5 DC versions and later.
Since, in your last environment, you had 3.4 DC version, your VMs and Templates 
had no recover OVF_STORE disk in the Storage Domain.

Regards,
Maor




- Original Message -
> From: "VONDRA Alain" <avon...@unicef.fr>
> To: "Maor Lipchuk" <mlipc...@redhat.com>
> Cc: users@ovirt.org
> Sent: Monday, August 31, 2015 6:57:53 PM
> Subject: [ovirt-users] Updare issues from oVirt 3.5.0.1-1 to 3.5.3
>
> Hi,
> After a crash disaster on march, saved thanks to Maor, I still have
> many problems to update my engine.
> The target from the beginning is to migrate my oVirt manager hosted on
> a simple Desktop used to make a POC.
> I have now a real server HP Proliant DL360 to install my definitive
> PROD environment :
>  - 2 hosts with 64 Go of RAM CentOS 6.7 updated
>  - 1 SAN bay with 12 To
>  - 1 PC on CentOS 7 running a VM engine with oVirt 3.5.0.1-1 under
> CentOS 6.7 This version of oVirt came from updating oVirt 3.4 (maybe
> the node of problems).
> From the actual version, I couldn't finalize any update to 3.5.1  or
> now
> 3.5.3 without error messages.
> I have made a success try, if I make a clean install, without the
> postgresql data, and also tried to inject these data, but the engine
> failed after this action.
> So I was thinking that building a new manager on the physical server
> with CentOS 7.1 and oVirt 3.5.3 could resolve all my troubles...
> Once again, last Friday I could success.
> All seems to be OK :
> - Creation of a new DC
> - Creation of the Cluster
> - Creation of the 2 hosts
> - Networks, etc...
> But when I import all the iSCSI Storage domains (containing all my
> VMs), everything is OK but each Storage Domains didn't show any VMs...
> The only Storage that show an Import VM was my Test Storage of 10 Go
> with a test Vm created some days ago (so the track of the DC version
> 3.5 is not so
> bad)
> All the VMs created when the DC version was 3.4 disappeared during the
> import.

The import Storage Domain feature is only supported for 3.5 DC and later 
versions

> Likely I made backups, so I had to restore the two hosts and the
> manager to find back my DC running on oVirt 3.5.0.1-1
> I am pretty lost, and I really need help to migrate and also to be
> able to upgrade normally oVirt and finally validate after a long time
> the platform in PRODUCTION.
>
> One question :
> - Is it correct to have the oVirt manager with CentOS 7.1 and the
> hosts with CentOS 6.7 ?
>
> Thanks for your help or experiences with this kind of migration.
> Alain
>
>
>
>
>
> Alain VONDRA
> Chargé d'exploitation des Systèmes d'Information Direction
> Administrative et Financière
> +33 1 44 39 77 76
> UNICEF France
> 3 rue Duguay Trouin  75006 PARIS
> www.unicef.fr
>
>
>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Updare issues from oVirt 3.5.0.1-1 to 3.5.3

2015-09-01 Thread VONDRA Alain
Hi,
If I export virt-v2v to export a VM and after the same way to import in the DC, 
this will solve my problem ?
Have you any idea about my issues during updating oVirt from 3.5.0-1 to 3.5.3 ?
Thanks
Regards
Alain





Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la part de 
VONDRA Alain
Envoyé : mardi 1 septembre 2015 10:01
À : Maor Lipchuk
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Updare issues from oVirt 3.5.0.1-1 to 3.5.3

Hi Maor,
Ok, so how can I manage that, is there any solution to modify these VMs to be 
compliant with 3.5 DC ?
You understand that I can't destroy the VMs and re-create them, is there any 
solution consisting to export Vm and re-import it, to become 3.5 compliant ?
Thanks for your help.
Regards
Alain




Alain VONDRA
Chargé d'exploitation des Systèmes d'Information Direction Administrative et 
Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : Maor Lipchuk [mailto:mlipc...@redhat.com] Envoyé : lundi 31 août 2015 
19:29 À : VONDRA Alain Cc : users@ovirt.org Objet : Re: [ovirt-users] Updare 
issues from oVirt 3.5.0.1-1 to 3.5.3

Hi Alain,

The OVF_STORE disk is only supported for 3.5 DC versions and later.
Since, in your last environment, you had 3.4 DC version, your VMs and Templates 
had no recover OVF_STORE disk in the Storage Domain.

Regards,
Maor




- Original Message -
> From: "VONDRA Alain" <avon...@unicef.fr>
> To: "Maor Lipchuk" <mlipc...@redhat.com>
> Cc: users@ovirt.org
> Sent: Monday, August 31, 2015 6:57:53 PM
> Subject: [ovirt-users] Updare issues from oVirt 3.5.0.1-1 to 3.5.3
>
> Hi,
> After a crash disaster on march, saved thanks to Maor, I still have
> many problems to update my engine.
> The target from the beginning is to migrate my oVirt manager hosted on
> a simple Desktop used to make a POC.
> I have now a real server HP Proliant DL360 to install my definitive
> PROD environment :
>  - 2 hosts with 64 Go of RAM CentOS 6.7 updated
>  - 1 SAN bay with 12 To
>  - 1 PC on CentOS 7 running a VM engine with oVirt 3.5.0.1-1 under
> CentOS 6.7 This version of oVirt came from updating oVirt 3.4 (maybe
> the node of problems).
> From the actual version, I couldn't finalize any update to 3.5.1  or
> now
> 3.5.3 without error messages.
> I have made a success try, if I make a clean install, without the
> postgresql data, and also tried to inject these data, but the engine
> failed after this action.
> So I was thinking that building a new manager on the physical server
> with CentOS 7.1 and oVirt 3.5.3 could resolve all my troubles...
> Once again, last Friday I could success.
> All seems to be OK :
> - Creation of a new DC
> - Creation of the Cluster
> - Creation of the 2 hosts
> - Networks, etc...
> But when I import all the iSCSI Storage domains (containing all my
> VMs), everything is OK but each Storage Domains didn't show any VMs...
> The only Storage that show an Import VM was my Test Storage of 10 Go
> with a test Vm created some days ago (so the track of the DC version
> 3.5 is not so
> bad)
> All the VMs created when the DC version was 3.4 disappeared during the
> import.

The import Storage Domain feature is only supported for 3.5 DC and later 
versions

> Likely I made backups, so I had to restore the two hosts and the
> manager to find back my DC running on oVirt 3.5.0.1-1
> I am pretty lost, and I really need help to migrate and also to be
> able to upgrade normally oVirt and finally validate after a long time
> the platform in PRODUCTION.
>
> One question :
> - Is it correct to have the oVirt manager with CentOS 7.1 and the
> hosts with CentOS 6.7 ?
>
> Thanks for your help or experiences with this kind of migration.
> Alain
>
>
>
>
>
> Alain VONDRA
> Chargé d'exploitation des Systèmes d'Information Direction
> Administrative et Financière
> +33 1 44 39 77 76
> UNICEF France
> 3 rue Duguay Trouin  75006 PARIS
> www.unicef.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] Updare issues from oVirt 3.5.0.1-1 to 3.5.3

2015-08-31 Thread VONDRA Alain
Hi,
After a crash disaster on march, saved thanks to Maor, I still have many 
problems to update my engine.
The target from the beginning is to migrate my oVirt manager hosted on a simple 
Desktop used to make a POC.
I have now a real server HP Proliant DL360 to install my definitive PROD 
environment :
 - 2 hosts with 64 Go of RAM CentOS 6.7 updated
 - 1 SAN bay with 12 To
 - 1 PC on CentOS 7 running a VM engine with oVirt 3.5.0.1-1 under CentOS 6.7
This version of oVirt came from updating oVirt 3.4 (maybe the node of problems).
From the actual version, I couldn't finalize any update to 3.5.1  or now 3.5.3 
without error messages.
I have made a success try, if I make a clean install, without the postgresql 
data, and also tried to inject these data, but the engine failed after this 
action.
So I was thinking that building a new manager on the physical server with 
CentOS 7.1 and oVirt 3.5.3 could resolve all my troubles...
Once again, last Friday I could success.
All seems to be OK :
- Creation of a new DC
- Creation of the Cluster
- Creation of the 2 hosts
- Networks, etc...
But when I import all the iSCSI Storage domains (containing all my VMs), 
everything is OK but each Storage Domains didn't show any VMs...
The only Storage that show an Import VM was my Test Storage of 10 Go with a 
test Vm created some days ago (so the track of the DC version 3.5 is not so bad)
All the VMs created when the DC version was 3.4 disappeared during the import.
Likely I made backups, so I had to restore the two hosts and the manager to 
find back my DC running on oVirt 3.5.0.1-1
I am pretty lost, and I really need help to migrate and also to be able to 
upgrade normally oVirt and finally validate after a long time the platform in 
PRODUCTION.

One question :
- Is it correct to have the oVirt manager with CentOS 7.1 and the hosts with 
CentOS 6.7 ?

Thanks for your help or experiences with this kind of migration.
Alain





Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




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


Re: [ovirt-users] CentOS 7.1 compatibility with oVirt 3.5.3

2015-08-28 Thread VONDRA Alain
Hi Punit,
Thank’s a lot for your answer, I go more confident this afternoon to migrate 
the engine on a new host.
Regards
Alain







Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.frhttp://www.unicef.fr/

http://www.unicef.fr

http://www.unicef.fr/

http://www.unicef.fr/[cid:signature9bc3cd]http://www.unicef.fr







http://www.unicef.fr

De : Punit Dambiwal [mailto:hypu...@gmail.com]
Envoyé : vendredi 28 août 2015 03:36
À : VONDRA Alain
Cc : Martin Perina; users@ovirt.org
Objet : Re: [ovirt-users] CentOS 7.1 compatibility with oVirt 3.5.3

Hi Vondra,

Yes...I am using 10 server cluster farm with Ovirt 3.5.3 with all Centos 7.1 
(Engine,Host) from last 6 months...and didn't face any critical issues in the 
setup...

Thanks,
Punit

On Thu, Aug 27, 2015 at 11:35 PM, VONDRA Alain 
avon...@unicef.frmailto:avon...@unicef.fr wrote:
Hi,
Thanks for your answer, but do you mean that oVirt 3.5.3 is fully supported  by 
CentOS 7.1, because my environment is in this oVirt version ?
Thanks
Alain



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76tel:%2B33%201%2044%2039%2077%2076
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.frhttp://www.unicef.fr




-Message d'origine-
De : Martin Perina [mailto:mper...@redhat.commailto:mper...@redhat.com]
Envoyé : jeudi 27 août 2015 12:12
À : VONDRA Alain
Cc : users@ovirt.orgmailto:users@ovirt.org
Objet : Re: [ovirt-users] CentOS 7.1 compatibility with oVirt 3.5.3

Hi,

yes Centos 7.1 is fully supported OS in oVirt 3.6. I don't have any production 
setup, but many developers uses Centos 7.1 and AFAIK there are no big issues 
that prevents you from using Centos 7.1 on engine and hosts.

Martin Perina

- Original Message -
 From: VONDRA Alain avon...@unicef.frmailto:avon...@unicef.fr
 To: users@ovirt.orgmailto:users@ovirt.org
 Sent: Thursday, August 27, 2015 11:57:19 AM
 Subject: Re: [ovirt-users] CentOS 7.1 compatibility with oVirt 3.5.3

 Hi,
 Is there anybody having experiences about this operation ?
 Thanks





 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.frhttp://www.unicef.fr




 -Message d'origine-
 De : users-boun...@ovirt.orgmailto:users-boun...@ovirt.org 
 [mailto:users-boun...@ovirt.orgmailto:users-boun...@ovirt.org] De la
 part de VONDRA Alain Envoyé : mercredi 26 août 2015 15:17 À :
 users@ovirt.orgmailto:users@ovirt.org Objet : [ovirt-users] CentOS 7.1 
 compatibility with
 oVirt 3.5.3

 Hello,
 Before operating a migration of my oVirt engine, I'd like to know if I
 can install my manager directly as host with CentOS 7.1 and oVirt
 3.5.3 without using hosted engine.
 I know that with older version we needed to use only hosted engine
 installation.
 Thanks for your advices.
 Alain



 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.frhttp://www.unicef.fr




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

___
Users mailing list
Users@ovirt.orgmailto: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] CentOS 7.1 compatibility with oVirt 3.5.3

2015-08-27 Thread VONDRA Alain
Hi,
Thanks for your answer, but do you mean that oVirt 3.5.3 is fully supported  by 
CentOS 7.1, because my environment is in this oVirt version ?
Thanks
Alain



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : Martin Perina [mailto:mper...@redhat.com]
Envoyé : jeudi 27 août 2015 12:12
À : VONDRA Alain
Cc : users@ovirt.org
Objet : Re: [ovirt-users] CentOS 7.1 compatibility with oVirt 3.5.3

Hi,

yes Centos 7.1 is fully supported OS in oVirt 3.6. I don't have any production 
setup, but many developers uses Centos 7.1 and AFAIK there are no big issues 
that prevents you from using Centos 7.1 on engine and hosts.

Martin Perina

- Original Message -
 From: VONDRA Alain avon...@unicef.fr
 To: users@ovirt.org
 Sent: Thursday, August 27, 2015 11:57:19 AM
 Subject: Re: [ovirt-users] CentOS 7.1 compatibility with oVirt 3.5.3

 Hi,
 Is there anybody having experiences about this operation ?
 Thanks





 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.fr




 -Message d'origine-
 De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la
 part de VONDRA Alain Envoyé : mercredi 26 août 2015 15:17 À :
 users@ovirt.org Objet : [ovirt-users] CentOS 7.1 compatibility with
 oVirt 3.5.3

 Hello,
 Before operating a migration of my oVirt engine, I'd like to know if I
 can install my manager directly as host with CentOS 7.1 and oVirt
 3.5.3 without using hosted engine.
 I know that with older version we needed to use only hosted engine
 installation.
 Thanks for your advices.
 Alain



 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.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] CentOS 7.1 compatibility with oVirt 3.5.3

2015-08-27 Thread VONDRA Alain
Hi,
Is there anybody having experiences about this operation ?
Thanks





Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la part de 
VONDRA Alain
Envoyé : mercredi 26 août 2015 15:17
À : users@ovirt.org
Objet : [ovirt-users] CentOS 7.1 compatibility with oVirt 3.5.3

Hello,
Before operating a migration of my oVirt engine, I'd like to know if I can 
install my manager directly as host with CentOS 7.1 and oVirt 3.5.3 without 
using hosted engine.
I know that with older version we needed to use only hosted engine installation.
Thanks for your advices.
Alain



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information Direction Administrative et 
Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.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] CentOS 7.1 compatibility with oVirt 3.5.3

2015-08-26 Thread VONDRA Alain
Hello,
Before operating a migration of my oVirt engine, I'd like to know if I can 
install my manager directly as host with CentOS 7.1 and oVirt 3.5.3 without 
using hosted engine.
I know that with older version we needed to use only hosted engine installation.
Thanks for your advices.
Alain



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




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


Re: [ovirt-users] Virsh migrate issue

2015-05-29 Thread VONDRA Alain
Hi,
Thanks for your answer, in fact I just want to have a rescue command, if I have 
an ovirt crash.
I was thinking that it could be a good solution using virsh on the hypervisors.
I don't have a log experience with API/shell, and seems to be heavier to use 
than command line.
Could you give me examples using VdsClient or API/shell for Live migration.
Thanks





Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : Michal Skrivanek [mailto:michal.skriva...@redhat.com]
Envoyé : vendredi 29 mai 2015 14:42
À : VONDRA Alain
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Virsh migrate issue


On 28 May 2015, at 13:08, VONDRA Alain wrote:

 Hi,
 When I use the Live migration through the oVirt Administration Portal,
 everything works fine without any errors, but When I want to migrate VMs 
 using the command virsh migrate, it doesn't work at all.

you better not do that

 The connexion works fine :
[root@unc-srv-hyp2  ~]$ virsh -c qemu+ssh://root@unc-srv-hyp1/system
Please enter your authentication name: root
Please enter your password:
Welcome to virsh, the virtualization interactive terminal.

Type:  'help' for help with commands
   'quit' to quit

virsh # hostname
unc-srv-hyp1.cfu.local

 But when I try to live migrate I have the same issue from any of the two 
 hypervisors :

[root@unc-srv-hyp1  ~]$ virsh migrate --live unc-cli-xrt 
 qemu+ssh://root@unc-srv-hyp2/system
Please enter your authentication name: root
Please enter your password:
Please enter your authentication name: root
Please enter your password:
error: Failed to open file
 '/rhev/data-center/f422de63-8869-41ef-a782-8b0c9ee03c41/d7b9d7cc-f7d6-
 43c7-ae13-e720951657c9/images/dd4801b5-310c-4bc2-b330-
 a47ec9bb9870/0d05a0e4-726b-4e6e-b25a-0f85e6c983f3': No such file or
 directory

 Have you any ideas to find the answer ?

you're missing the administrative tasks ovirt does on top of base libvirt. If 
you absolutely need/want to use a cmdline tool there is vdsClient. It's also 
still unsupported but it's a bit better… What problem are you trying to solve? 
Normally you should use API/shell for scripting, etc.

Thanks,
michal

 Thanks
 Alain



 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.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] Storage domain not in pool issue

2015-04-09 Thread VONDRA Alain
Hi,
What do you about my last email, do you have a non destructive option to solve 
my problem ?
Thanks
Alain



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la part de 
VONDRA Alain
Envoyé : mercredi 8 avril 2015 16:26
À : Adam Litke
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Storage domain not in pool issue

Hi Adam,
Thank you to take your precious time to my problem.
First of all, I want to precise that I don't want to recreate new VMs, but to 
recover them in the 2 Storage domains, I don't have any backups of them.
So I don't just want to re-active the domains, I'd prefer a non destructive 
solution.
Regards
Alain





Alain VONDRA
Chargé d'exploitation des Systèmes d'Information Direction Administrative et 
Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : Adam Litke [mailto:ali...@redhat.com] Envoyé : mercredi 8 avril 2015 16:05 
À : VONDRA Alain Cc : users@ovirt.org Objet : Re: [ovirt-users] Storage domain 
not in pool issue

On 08/04/15 09:48 +, VONDRA Alain wrote:
Hi,
Is there any news ??
I there anybody who can help me ?
This long silence get me more and more worried.
I saw that Federico Simoncelli is working on a new feature StoragePool 
Metadata Removal, but I don't have any advice from him or anybody else.
I'd be really happy to know if somebody works on this kind of problem, I guess 
that I'm not the only one with this issue, and potentially this can be a 
disaster bug that could be a bad thing for the reputation of the oVirt 
platform.
Don't forget that my Data Center is out of order since March 13th, and this is 
not trustable for a production environment.
Let me know what you think about it ?

Hi,

Yesterday I tried to reproduce your situation with a local oVirt setup I have.  
I then tried to manually alter the metadata to force detach the storage domain 
from the old pool.  My steps involved the use of the vgchange command to remove 
and add VG tags to the volume group that holds the storage domain.  
Unfortunately I was not successful in reviving the domain.  I'm trying to find 
some help for you since I think I have reached my limit for this situation.

How familiar are you with LVM?  If you can activate the VG for your storage 
domain and then activate all of its LVs, you may be able to scrape the disks 
off of the storage using the qemu-img command.  If you place those disks on an 
export domain then you could import them into your working storage domain and 
use them to recreate new VMs.
This is a clunky and labor intensive solution but could work if we are unable 
to revive the domain in its entirety.

Let me know if you'd like to pursue this approach.

--
Adam Litke
___
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] Storage domain not in pool issue

2015-04-08 Thread VONDRA Alain
Hi Adam,
Thank you to take your precious time to my problem.
First of all, I want to precise that I don't want to recreate new VMs, but to 
recover them in the 2 Storage domains, I don't have any backups of them.
So I don't just want to re-active the domains, I'd prefer a non destructive 
solution.
Regards
Alain





Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : Adam Litke [mailto:ali...@redhat.com]
Envoyé : mercredi 8 avril 2015 16:05
À : VONDRA Alain
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Storage domain not in pool issue

On 08/04/15 09:48 +, VONDRA Alain wrote:
Hi,
Is there any news ??
I there anybody who can help me ?
This long silence get me more and more worried.
I saw that Federico Simoncelli is working on a new feature StoragePool 
Metadata Removal, but I don't have any advice from him or anybody else.
I'd be really happy to know if somebody works on this kind of problem, I guess 
that I'm not the only one with this issue, and potentially this can be a 
disaster bug that could be a bad thing for the reputation of the oVirt 
platform.
Don't forget that my Data Center is out of order since March 13th, and this is 
not trustable for a production environment.
Let me know what you think about it ?

Hi,

Yesterday I tried to reproduce your situation with a local oVirt setup I have.  
I then tried to manually alter the metadata to force detach the storage domain 
from the old pool.  My steps involved the use of the vgchange command to remove 
and add VG tags to the volume group that holds the storage domain.  
Unfortunately I was not successful in reviving the domain.  I'm trying to find 
some help for you since I think I have reached my limit for this situation.

How familiar are you with LVM?  If you can activate the VG for your storage 
domain and then activate all of its LVs, you may be able to scrape the disks 
off of the storage using the qemu-img command.  If you place those disks on an 
export domain then you could import them into your working storage domain and 
use them to recreate new VMs.
This is a clunky and labor intensive solution but could work if we are unable 
to revive the domain in its entirety.

Let me know if you'd like to pursue this approach.

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


Re: [ovirt-users] Storage domain not in pool issue

2015-04-07 Thread VONDRA Alain
Hi Adam,
Unlikely, I have no return from Federico, and Maor is in PTO until April 12th.
I'd like to try something like you advice, but I'd prefer to not compromise a 
safe recover...
When you say clear the storage metadata, you mean delete the old traces in 
/rhev/datacenter/mnt/blockSD/, stop and restart vdsm before restart engine ?
Can I backup these storage data and eventually recover them ?
Thanks
Regards
Alain




Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : Adam Litke [mailto:ali...@redhat.com]
Envoyé : lundi 6 avril 2015 19:26
À : VONDRA Alain
Cc : Elad Ben Aharon; users@ovirt.org; Federico Simoncelli; Maor Lipchuk
Objet : Re: [ovirt-users] Storage domain not in pool issue

On 03/04/15 08:12 +, VONDRA Alain wrote:
Hi,
Do you have any news concerning my problem ?

I'm sorry that I don't have any new recommendations beyond my previous 
comments.  I'm hoping Federico or Maor will have some expertise to lend to the 
problem.  At this stage, your best bet might be to:

1. Stop engine
2. clear the old storage pool from the storage domain metadata 3. Restart engine

Unfortunately, I am not sure what the best/safest way to accomplish #2 is and 
am hoping that someone who has been through this process can assist with it.

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


Re: [ovirt-users] Storage domain issue

2015-04-07 Thread VONDRA Alain
Hi Jonas,
Your problem seems to be similar with mine ([ovirt-users] Storage domain not in 
pool issue), after a crash disaster the hosts have lost the link with iSCSI 
LUNs.
For the moment I still have no solution to bring back my 2 SD and the VMs 
included on these domains.
Alain



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la part de 
Jonas Israelsson
Envoyé : mardi 7 avril 2015 17:00
À : users@ovirt.org
Objet : Re: [ovirt-users] Storage domain issue

No one ?


On 23/03/15 16:54, Jonas Israelsson wrote:
 Greetings.

 Running oVirt 3.5 with a mix of NFS and FC Storage.

 Engine running on a seperate KVM VM and Node installed with a pre 3.5
 ovirt-node ovirt-node-iso-3.5.0.ovirt35.20140912.el6 (Edited)

 I had some problems with my FC-Storage where the LUNS for a while
 became unavailable to my Ovirt-host. Everything is now up and running
 and those luns again are accessible by the host. The NFS domains goes
 back online but the FC does not.

 Thread-22::DEBUG::2015-03-23
 14:53:02,706::lvm::290::Storage.Misc.excCmd::(cmd) /usr/bin/sudo -n
 /sbin/lvm vgs --config ' devices { preferred_names = [^/dev/mapper/]
 ignore_suspended_devices=1 write_cache_state=0
 disable_after_error_count=3 obtain_device_list_from_udev=0 filter = [
 '\''r|.*|'\'' ] }  global {  locking_type=1 prioritise_write_locks=1
 wait_for_locks=1  use_lvmetad=0 } backup {  retain_min = 50
 retain_days = 0 } ' --noheadings --units b --nosuffix --separator '|'
 --ignoreskippedcluster -o
 uuid,name,attr,size,free,extent_size,extent_count,free_count,tags,vg_m
 da_size,vg_mda_free,lv_count,pv_count,pv_name
 29f9b165-3674-4384-a1d4-7aa87d923d56 (cwd None)

 Thread-24::DEBUG::2015-03-23
 14:53:02,981::lvm::290::Storage.Misc.excCmd::(cmd) FAILED: err = '
 Volume group 29f9b165-3674-4384-a1d4-7aa87d923d56 not found\n
 Skipping volume group 29f9b165-3674-4384-a1d4-7aa87d923d56\n'; rc =
 5

 Thread-24::WARNING::2015-03-23
 14:53:02,986::lvm::372::Storage.LVM::(_reloadvgs) lvm vgs failed: 5 []
 ['  Volume group 29f9b165-3674-4384-a1d4-7aa87d923d56 not found', '
 Skipping volume group 29f9b165-3674-4384-a1d4-7aa87d923d56']


 Running the command above manually does indeed give the same output:

 # /sbin/lvm vgs --config ' devices { preferred_names =
 [^/dev/mapper/] ignore_suspended_devices=1 write_cache_state=0
 disable_after_error_count=3 obtain_device_list_from_udev=0 filter = [
 '\''r|.*|'\'' ] }  global {  locking_type=1 prioritise_write_locks=1
 wait_for_locks=1  use_lvmetad=0 } backup {  retain_min = 50
 retain_days = 0 } ' --noheadings --units b --nosuffix --separator '|'
 --ignoreskippedcluster -o
 uuid,name,attr,size,free,extent_size,extent_count,free_count,tags,vg_m
 da_size,vg_mda_free,lv_count,pv_count,pv_name
 29f9b165-3674-4384-a1d4-7aa87d923d56

   Volume group 29f9b165-3674-4384-a1d4-7aa87d923d56 not found
   Skipping volume group 29f9b165-3674-4384-a1d4-7aa87d923d56

 What puzzles me is that those volume does exist.

 lvm vgs
   VG   #PV #LV #SN Attr   VSize VFree
   22cf06d1-faca-4e17-ac78-d38b7fc300b1   1  13   0 wz--n- 999.62g 986.50g
   29f9b165-3674-4384-a1d4-7aa87d923d56   1   8   0 wz--n-  99.62g 95.50g
   HostVG 1   4   0 wz--n-  13.77g 52.00m


   --- Volume group ---
   VG Name   29f9b165-3674-4384-a1d4-7aa87d923d56
   System ID
   Formatlvm2
   Metadata Areas2
   Metadata Sequence No  20
   VG Access read/write
   VG Status resizable
   MAX LV0
   Cur LV8
   Open LV   0
   Max PV0
   Cur PV1
   Act PV1
   VG Size   99.62 GiB
   PE Size   128.00 MiB
   Total PE  797
   Alloc PE / Size   33 / 4.12 GiB
   Free  PE / Size   764 / 95.50 GiB
   VG UUID   aAoOcw-d9YB-y9gP-Tp4M-S0UE-Aqpx-y6Z2Uk

 lvm vgs --config ' devices { preferred_names = [^/dev/mapper/]
 ignore_suspended_devices=1 write_cache_state=0
 disable_after_error_count=3 obtain_device_list_from_udev=0 } global {
 locking_type=1  prioritise_write_locks=1 wait_for_locks=1
 use_lvmetad=0 }  backup {  retain_min = 50 retain_days = 0 } '
 --noheadings --units b --nosuffix --separator '|'
 --ignoreskippedcluster -o
 uuid,name,attr,size,free,extent_size,extent_count,free_count,tags,vg_m
 da_size,vg_mda_free,lv_count,pv_count,pv_name
 29f9b165-3674-4384-a1d4-7aa87d923d56


 

Re: [ovirt-users] Storage domain not in pool issue

2015-04-03 Thread VONDRA Alain
Hi,
Do you have any news concerning my problem ?
Thanks
Alain



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : Adam Litke [mailto:ali...@redhat.com]
Envoyé : mercredi 1 avril 2015 17:06
À : VONDRA Alain
Cc : Elad Ben Aharon; users@ovirt.org; Federico Simoncelli; Maor Lipchuk
Objet : Re: [ovirt-users] Storage domain not in pool issue

On 31/03/15 08:43 +, VONDRA Alain wrote:
Hi,
Here is the logs.
Thanks

Federico, Maor: tldr; Can you offer some advice for recovering this block SD 
after a DC disaster?

Hi Alain,

After looking at your logs, it's clear that the metadata on the storage domain 
itself says that the domain is attached to pool
c58a44b1-1c98-450e-97e1-3347eeb28f86 while engine thinks the domain is attached 
to pool f422de63-8869-41ef-a782-8b0c9ee03c41.

Can you please explain the process you used to recover from your datacenter 
disaster?  My guess is you:
  1. Reinstalled the engine host with a blank oVirt DB
  2. Created a new data center
  3. Created a new master domain
  4. Attached some storage domains which were not attached at the time
 of your previous disaster
  5. Tried to attach sd:d7b9d7cc-f7d6-43c7-ae13-e720951657c9 which was
 attached to your old storage pool at the time of the disaster.

#5 failed because the metadata on the storage shows the old storage pool.  At 
this point I see two possible options to recover your storage.  PLEASE DO NOT 
DO ANYTHING YET (until we confirm what the best approach for recovery will be).

Option 1: Use the new import storage domain feature to import this domain into 
your new datacenter.

Option 2: Modify the storage domain metadata to remove the reference to the old 
storage pool.

I am adding some other oVirt storage experts to the thread in order to offer 
you the best advice.  Federico, Maor: can you offer some expert advice on this 
matter?

I did notice this wiki page which talks about clearing the storage pool 
metadata from an export domain.  Since this SD is iSCSI, it will be a bit more 
difficult to manually edit the md but I'd guess someone has a script or some 
instructions on how to do it.

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


Re: [ovirt-users] Storage domain not in pool issue

2015-04-03 Thread VONDRA Alain
Hi,
Is anyone could tell me how to force detaching the Storage Domain staying un 
Maintenance Mode 
Thanks





Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la part de 
VONDRA Alain
Envoyé : vendredi 3 avril 2015 10:12
À : Adam Litke
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Storage domain not in pool issue

Hi,
Do you have any news concerning my problem ?
Thanks
Alain



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information Direction Administrative et 
Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : Adam Litke [mailto:ali...@redhat.com] Envoyé : mercredi 1 avril 2015 17:06 
À : VONDRA Alain Cc : Elad Ben Aharon; users@ovirt.org; Federico Simoncelli; 
Maor Lipchuk Objet : Re: [ovirt-users] Storage domain not in pool issue

On 31/03/15 08:43 +, VONDRA Alain wrote:
Hi,
Here is the logs.
Thanks

Federico, Maor: tldr; Can you offer some advice for recovering this block SD 
after a DC disaster?

Hi Alain,

After looking at your logs, it's clear that the metadata on the storage domain 
itself says that the domain is attached to pool
c58a44b1-1c98-450e-97e1-3347eeb28f86 while engine thinks the domain is attached 
to pool f422de63-8869-41ef-a782-8b0c9ee03c41.

Can you please explain the process you used to recover from your datacenter 
disaster?  My guess is you:
  1. Reinstalled the engine host with a blank oVirt DB
  2. Created a new data center
  3. Created a new master domain
  4. Attached some storage domains which were not attached at the time
 of your previous disaster
  5. Tried to attach sd:d7b9d7cc-f7d6-43c7-ae13-e720951657c9 which was
 attached to your old storage pool at the time of the disaster.

#5 failed because the metadata on the storage shows the old storage pool.  At 
this point I see two possible options to recover your storage.  PLEASE DO NOT 
DO ANYTHING YET (until we confirm what the best approach for recovery will be).

Option 1: Use the new import storage domain feature to import this domain into 
your new datacenter.

Option 2: Modify the storage domain metadata to remove the reference to the old 
storage pool.

I am adding some other oVirt storage experts to the thread in order to offer 
you the best advice.  Federico, Maor: can you offer some expert advice on this 
matter?

I did notice this wiki page which talks about clearing the storage pool 
metadata from an export domain.  Since this SD is iSCSI, it will be a bit more 
difficult to manually edit the md but I'd guess someone has a script or some 
instructions on how to do it.

--
Adam Litke
___
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] Storage domain not in pool issue

2015-04-02 Thread VONDRA Alain
Hi,
Have you any news to tell me ?
Thanks
Alain





Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : Adam Litke [mailto:ali...@redhat.com]
Envoyé : mercredi 1 avril 2015 17:06
À : VONDRA Alain
Cc : Elad Ben Aharon; users@ovirt.org; Federico Simoncelli; Maor Lipchuk
Objet : Re: [ovirt-users] Storage domain not in pool issue

On 31/03/15 08:43 +, VONDRA Alain wrote:
Hi,
Here is the logs.
Thanks

Federico, Maor: tldr; Can you offer some advice for recovering this block SD 
after a DC disaster?

Hi Alain,

After looking at your logs, it's clear that the metadata on the storage domain 
itself says that the domain is attached to pool
c58a44b1-1c98-450e-97e1-3347eeb28f86 while engine thinks the domain is attached 
to pool f422de63-8869-41ef-a782-8b0c9ee03c41.

Can you please explain the process you used to recover from your datacenter 
disaster?  My guess is you:
  1. Reinstalled the engine host with a blank oVirt DB
  2. Created a new data center
  3. Created a new master domain
  4. Attached some storage domains which were not attached at the time
 of your previous disaster
  5. Tried to attach sd:d7b9d7cc-f7d6-43c7-ae13-e720951657c9 which was
 attached to your old storage pool at the time of the disaster.

#5 failed because the metadata on the storage shows the old storage pool.  At 
this point I see two possible options to recover your storage.  PLEASE DO NOT 
DO ANYTHING YET (until we confirm what the best approach for recovery will be).

Option 1: Use the new import storage domain feature to import this domain into 
your new datacenter.

Option 2: Modify the storage domain metadata to remove the reference to the old 
storage pool.

I am adding some other oVirt storage experts to the thread in order to offer 
you the best advice.  Federico, Maor: can you offer some expert advice on this 
matter?

I did notice this wiki page which talks about clearing the storage pool 
metadata from an export domain.  Since this SD is iSCSI, it will be a bit more 
difficult to manually edit the md but I'd guess someone has a script or some 
instructions on how to do it.

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


Re: [ovirt-users] Storage domain not in pool issue

2015-04-01 Thread VONDRA Alain
Hi,
Any more news ???
Thanks
Alain



De : Elad Ben Aharon [mailto:ebena...@redhat.com]
Envoyé : mardi 31 mars 2015 14:44
À : VONDRA Alain; Adam Litke
Cc : users@ovirt.org; Allon Mureinik
Objet : Re: [ovirt-users] Storage domain not in pool issue

Hi Adam,
Can you please take a look? By the provided information, there seems to be an 
issue of synchronization failure between engine and vdsm regarding the storage 
pool which the 2 domains are attached to.
Thanks



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





From: VONDRA Alain avon...@unicef.fr
To: Elad Ben Aharon ebena...@redhat.com
Cc: Idan Shaby ish...@redhat.com, users@ovirt.org, Allon Mureinik 
amure...@redhat.com
Sent: Tuesday, 31 March, 2015 11:43:39 AM
Subject: RE: [ovirt-users] Storage domain not in pool issue

Hi,
Here is the logs.
Thanks



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr







De : Elad Ben Aharon [mailto:ebena...@redhat.com]
Envoyé : mardi 31 mars 2015 08:19
À : VONDRA Alain
Cc : Idan Shaby; users@ovirt.org; Allon Mureinik
Objet : Re: [ovirt-users] Storage domain not in pool issue

Please attach /var/log/ovirt-engine/engine.log from engine and 
/var/log/vdsm/vdsm.log from the host(s).



From: VONDRA Alain avon...@unicef.fr
To: Elad Ben Aharon ebena...@redhat.com, Idan Shaby ish...@redhat.com
Cc: users@ovirt.org
Sent: Tuesday, 31 March, 2015 1:49:42 AM
Subject: RE:[ovirt-users] Storage domain not in pool issue

Hi,
Is there anybody who can help me ?
I have more than 6 month of work in these two storage domains...
Thanks,
Alain





Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





De : users-boun...@ovirt.org [users-boun...@ovirt.org] de la part de VONDRA 
Alain [avon...@unicef.fr]
Envoyé : lundi 30 mars 2015 17:33
À : Elad Ben Aharon; Idan Shaby
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Storage domain not in pool issue

Hi,
Is there anyother way to synchronize the engine and vdsm ?
Thanks




Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la part de 
VONDRA Alain
Envoyé : lundi 30 mars 2015 16:17
À : Elad Ben Aharon; Idan Shaby
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Storage domain not in pool issue

Elad,
I’ve tried many times to restart the engine without success.
Thanks


De : Elad Ben Aharon [mailto:ebena...@redhat.com] Envoyé : lundi 30 mars 2015 
16:00 À : VONDRA Alain; Idan Shaby Cc : users@ovirt.org Objet : Re: 
[ovirt-users] Storage domain not in pool issue

Thanks for the input.

From the input, it's clear that engine is not synchronized with vdsm regarding 
the storage pool which these 2 domains are attached to.
I guess that ovirt-engine service restart would solve it, but I would like 
someone from DEV to take a look before doing so.


Idan, can you please take a look?
Thanks



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information Direction Administrative et 
Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





From: VONDRA Alain avon...@unicef.fr
To: Elad Ben Aharon ebena...@redhat.com
Cc: users@ovirt.org
Sent: Monday, 30 March, 2015 4:18:08 PM
Subject: RE: [ovirt-users]  Storage domain not in pool issue

Thank you for your help !
I attempt to activate using oVirt GUI, in fact this SD was previously attached 
to the Data Center, and I had a crash on it, after a recover à my manager 
oVirt, I see all the VMs and SD up, but the VMs contained in the 2 bad Storage 
Domain didn’t go up, so I’ve tried to put the SD in maintenance, but now I 
can’t even activate this domain.
I didn’t yet try to put the second bad SD in maintenance after that.

  id  |   storage_pool_id
--+-
--+-
 072fbaa1-08f3-4a40-9f34-a5ca22dd1d74 |
 37a291a4-6108-4bb9-af33-da88555ab3a9 | f422de63-8869-41ef-a782-8b0c9ee03c41
 d7b9d7cc-f7d6-43c7-ae13-e720951657c9 | f422de63-8869-41ef-a782-8b0c9ee03c41
 7e40772a-fe94-4fb2-94c4-6198bed04a6a | f422de63-8869-41ef-a782-8b0c9ee03c41
 7e137867-953f-4fd5-a77a-f3bc18cd140e | f422de63-8869-41ef-a782-8b0c9ee03c41
 1f6dec51-12a6-41ed-9d14

Re: [ovirt-users] Storage domain not in pool issue

2015-04-01 Thread VONDRA Alain
Elad,
When I try to detach, these errors appear from engine telling that the domain 
is not pool :

2015-04-01 12:37:51,726 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.DetachStorageDomainVDSCommand] 
(org.ovirt.thread.pool-8-thread-23) [394eef4c] START, 
DetachStorageDomainVDSCommand( storagePoolId = 
f422de63-8869-41ef-a782-8b0c9ee03c41, ignoreFailoverLimit = false, 
storageDomainId = d7b9d7cc-f7d6-43c7-ae13-e720951657c9, masterDomainId = 
----, masterVersion = 29, force = false), log 
id: 50a504cc
2015-04-01 12:37:52,296 ERROR 
[org.ovirt.engine.core.vdsbroker.irsbroker.DetachStorageDomainVDSCommand] 
(org.ovirt.thread.pool-8-thread-23) [394eef4c] Command 
DetachStorageDomainVDSCommand( storagePoolId = 
f422de63-8869-41ef-a782-8b0c9ee03c41, ignoreFailoverLimit = false, 
storageDomainId = d7b9d7cc-f7d6-43c7-ae13-e720951657c9, masterDomainId = 
----, masterVersion = 29, force = false) 
execution failed. Exception: IrsOperationFailedNoFailoverException: 
IRSGenericException: IRSErrorException: Storage domain not in pool: 
'domain=d7b9d7cc-f7d6-43c7-ae13-e720951657c9, 
pool=f422de63-8869-41ef-a782-8b0c9ee03c41'
2015-04-01 12:37:52,304 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.DetachStorageDomainVDSCommand] 
(org.ovirt.thread.pool-8-thread-23) [394eef4c] FINISH, 
DetachStorageDomainVDSCommand, log id: 50a504cc
2015-04-01 12:37:52,309 ERROR 
[org.ovirt.engine.core.bll.storage.DetachStorageDomainFromPoolCommand] 
(org.ovirt.thread.pool-8-thread-23) [394eef4c] Command 
org.ovirt.engine.core.bll.storage.DetachStorageDomainFromPoolCommand throw Vdc 
Bll exception. With error message VdcBLLException: 
org.ovirt.engine.core.vdsbroker.irsbroker.IrsOperationFailedNoFailoverException:
 IRSGenericException: IRSErrorException: Storage domain not in pool: 
'domain=d7b9d7cc-f7d6-43c7-ae13-e720951657c9, 
pool=f422de63-8869-41ef-a782-8b0c9ee03c41' (Failed with error 
StorageDomainNotInPool and code 353)
2015-04-01 12:37:52,323 INFO  
[org.ovirt.engine.core.bll.storage.DetachStorageDomainFromPoolCommand] 
(org.ovirt.thread.pool-8-thread-23) [394eef4c] Command 
[id=04581afc-9388-4d6e-ab00-868f261ea07f]: Compensating CHANGED_STATUS_ONLY of 
org.ovirt.engine.core.common.businessentities.StoragePoolIsoMap; snapshot: 
EntityStatusSnapshot [id=storagePoolId = f422de63-8869-41ef-a782-8b0c9ee03c41, 
storageId = d7b9d7cc-f7d6-43c7-ae13-e720951657c9, status=Maintenance].
2015-04-01 12:37:52,365 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(org.ovirt.thread.pool-8-thread-23) [394eef4c] Correlation ID: 394eef4c, Job 
ID: 97a92d14-2eca-41b6-840d-d189d7398882, Call Stack: null, Custom Event ID: 
-1, Message: Failed to detach Storage Domain VOL-UNC-PROD-02 to Data Center 
Unicef. (User: admin)
2015-04-01 12:37:52,390 INFO  
[org.ovirt.engine.core.bll.storage.DetachStorageDomainFromPoolCommand] 
(org.ovirt.thread.pool-8-thread-23) [394eef4c] Lock freed to object EngineLock 
[exclusiveLocks= key: d7b9d7cc-f7d6-43c7-ae13-e720951657c9 value: STORAGE
, sharedLocks= ]

Thanks




De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la part de 
VONDRA Alain
Envoyé : mercredi 1 avril 2015 12:19
À : Elad Ben Aharon
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Storage domain not in pool issue

Elad,
As I told before, the Storage domain is in Maintenance state, and It’s 
impossible to Detach or Activate it.
It can just stay in Maintenance state...
Thanks



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr






De : Elad Ben Aharon [mailto:ebena...@redhat.com]
Envoyé : mercredi 1 avril 2015 10:44
À : VONDRA Alain
Cc : Adam Litke; users@ovirt.org; Allon Mureinik; Tal Nisan
Objet : Re: [ovirt-users] Storage domain not in pool issue

Can you please try to detach them from the current DC? If it will work, please 
try to re-attach them to the desired DC and to activate them.



From: VONDRA Alain avon...@unicef.fr
To: Elad Ben Aharon ebena...@redhat.com
Cc: Adam Litke ali...@redhat.com, users@ovirt.org, Allon Mureinik 
amure...@redhat.com, Tal Nisan tni...@redhat.com
Sent: Wednesday, 1 April, 2015 11:39:13 AM
Subject: RE: [ovirt-users] Storage domain not in pool issue

These domains were previously imported to another DC after a crash disaster 
using “Import Domain” in oVirt.
Thanks


Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr

Re: [ovirt-users] Storage domain not in pool issue

2015-04-01 Thread VONDRA Alain
Hi there,
No one can help me ?
Thanks



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : VONDRA Alain
Envoyé : mercredi 1 avril 2015 12:35
À : VONDRA Alain; Elad Ben Aharon
Cc : users@ovirt.org
Objet : RE: [ovirt-users] Storage domain not in pool issue

Elad,
When I try to detach, these errors appear from engine telling that the domain 
is not pool :

2015-04-01 12:37:51,726 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.DetachStorageDomainVDSCommand] 
(org.ovirt.thread.pool-8-thread-23) [394eef4c] START, 
DetachStorageDomainVDSCommand( storagePoolId = 
f422de63-8869-41ef-a782-8b0c9ee03c41, ignoreFailoverLimit = false, 
storageDomainId = d7b9d7cc-f7d6-43c7-ae13-e720951657c9, masterDomainId = 
----, masterVersion = 29, force = false), log 
id: 50a504cc
2015-04-01 12:37:52,296 ERROR 
[org.ovirt.engine.core.vdsbroker.irsbroker.DetachStorageDomainVDSCommand] 
(org.ovirt.thread.pool-8-thread-23) [394eef4c] Command 
DetachStorageDomainVDSCommand( storagePoolId = 
f422de63-8869-41ef-a782-8b0c9ee03c41, ignoreFailoverLimit = false, 
storageDomainId = d7b9d7cc-f7d6-43c7-ae13-e720951657c9, masterDomainId = 
----, masterVersion = 29, force = false) 
execution failed. Exception: IrsOperationFailedNoFailoverException: 
IRSGenericException: IRSErrorException: Storage domain not in pool: 
'domain=d7b9d7cc-f7d6-43c7-ae13-e720951657c9, 
pool=f422de63-8869-41ef-a782-8b0c9ee03c41'
2015-04-01 12:37:52,304 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.DetachStorageDomainVDSCommand] 
(org.ovirt.thread.pool-8-thread-23) [394eef4c] FINISH, 
DetachStorageDomainVDSCommand, log id: 50a504cc
2015-04-01 12:37:52,309 ERROR 
[org.ovirt.engine.core.bll.storage.DetachStorageDomainFromPoolCommand] 
(org.ovirt.thread.pool-8-thread-23) [394eef4c] Command 
org.ovirt.engine.core.bll.storage.DetachStorageDomainFromPoolCommand throw Vdc 
Bll exception. With error message VdcBLLException: 
org.ovirt.engine.core.vdsbroker.irsbroker.IrsOperationFailedNoFailoverException:
 IRSGenericException: IRSErrorException: Storage domain not in pool: 
'domain=d7b9d7cc-f7d6-43c7-ae13-e720951657c9, 
pool=f422de63-8869-41ef-a782-8b0c9ee03c41' (Failed with error 
StorageDomainNotInPool and code 353)
2015-04-01 12:37:52,323 INFO  
[org.ovirt.engine.core.bll.storage.DetachStorageDomainFromPoolCommand] 
(org.ovirt.thread.pool-8-thread-23) [394eef4c] Command 
[id=04581afc-9388-4d6e-ab00-868f261ea07f]: Compensating CHANGED_STATUS_ONLY of 
org.ovirt.engine.core.common.businessentities.StoragePoolIsoMap; snapshot: 
EntityStatusSnapshot [id=storagePoolId = f422de63-8869-41ef-a782-8b0c9ee03c41, 
storageId = d7b9d7cc-f7d6-43c7-ae13-e720951657c9, status=Maintenance].
2015-04-01 12:37:52,365 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(org.ovirt.thread.pool-8-thread-23) [394eef4c] Correlation ID: 394eef4c, Job 
ID: 97a92d14-2eca-41b6-840d-d189d7398882, Call Stack: null, Custom Event ID: 
-1, Message: Failed to detach Storage Domain VOL-UNC-PROD-02 to Data Center 
Unicef. (User: admin)
2015-04-01 12:37:52,390 INFO  
[org.ovirt.engine.core.bll.storage.DetachStorageDomainFromPoolCommand] 
(org.ovirt.thread.pool-8-thread-23) [394eef4c] Lock freed to object EngineLock 
[exclusiveLocks= key: d7b9d7cc-f7d6-43c7-ae13-e720951657c9 value: STORAGE , 
sharedLocks= ]

Thanks




De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la part de 
VONDRA Alain Envoyé : mercredi 1 avril 2015 12:19 À : Elad Ben Aharon Cc : 
users@ovirt.org Objet : Re: [ovirt-users] Storage domain not in pool issue

Elad,
As I told before, the Storage domain is in Maintenance state, and It’s 
impossible to Detach or Activate it.
It can just stay in Maintenance state...
Thanks



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information Direction Administrative et 
Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr






De : Elad Ben Aharon [mailto:ebena...@redhat.com] Envoyé : mercredi 1 avril 
2015 10:44 À : VONDRA Alain Cc : Adam Litke; users@ovirt.org; Allon Mureinik; 
Tal Nisan Objet : Re: [ovirt-users] Storage domain not in pool issue

Can you please try to detach them from the current DC? If it will work, please 
try to re-attach them to the desired DC and to activate them.



From: VONDRA Alain avon...@unicef.fr
To: Elad Ben Aharon ebena...@redhat.com
Cc: Adam Litke ali...@redhat.com, users@ovirt.org, Allon Mureinik 
amure...@redhat.com, Tal Nisan tni...@redhat.com
Sent: Wednesday

Re: [ovirt-users] Storage domain not in pool issue

2015-04-01 Thread VONDRA Alain
Hi Adam,
First of all, thanks to all of you for your time and help.
I'll try to explain once again for those who don't know the complete story.
I had a crash disaster Wednesday 11th of march, I don't yet the cause, the 
facts are that after maybe an electrical overload, the oVirt manager, which 
is for the moment not a physical server, but a VM became down, but not his host.
It wouldn't be a so critical, if we didn't lose the access to all the VMs of 
the Data Center, my two Hypervisors hosts was yet up, so I've suspected that 
something was broken with vdsm link.
I've rebooted the manager, but all the Data Center was unresponsive, and no way 
to have the DC coming back, I've also rebooted the hosts and the SAN bay 
without any changes.

I had a backup done by my new AcronisBackupAdvanced solution, but unlikely I 
also had an (not known according Acronis) issue to restore the VM, the 
Acronis'Team was on the subject without any solution (from March 12th) until I 
found a workaround last Friday March 27 and reach to restore the Manager from 
March 10th.

So during these long waiting days, I've tried some solutions to attempt to 
recover my Data Center, maybe I've done wrong things...
I've first tried to Update oVirt from 3.5.0 to 3.5.1.1 without any success, so 
I've decided to build a new manager from scratch using a clone of my oVirt 
Manager to see if I could use Import Domain option, I've tried on two Storage 
Domain Volumes : VOL-UNC-NAS-01 and VOL-UNC-PROD-02.
The result was that the import worked, but no VMs seen after the import.
I was already in touch with Maor Lipchuk to help me, but I couldn't retrieve 
any VMs.

We are now Friday 27th, I found the workaround to restore my Acronis Backup, 
and after some work and reinstallation of the hosts, I could finally find again 
my Data Center, the Storage Domains UP (All at this time), all the VMs.
When I've tried to start VMs, only 4 of them have gone UP, in fact only those 
contained on the volume : VOL-UNC-PROD-01, that I didn't try with the Import 
Domain option. I deduced that the problem came from the two SD  VOL-UNC-NAS-01 
and VOL-UNC-PROD-02.
I've decided to put them in maintenance to activate or detach them, but from 
this moment, the two volumes stay in Maintenance mode without any other way to 
change their state.

We are at this point now, I hope that you'll be able to find a solution.
Anyway, the mystery is always present, why the Data Center has gone down, I can 
understand that the Manager had a problem, but why all the VMs has gone at the 
same time without a way to recover them ???
Now, the most important thing is to recover my Data Center, but It will very 
important to find the cause of the disaster, It could compromise my project of 
my Private Cloud in my enterprise.

I hope that I were enough clear and comprehensive to all of you guys, but don't 
hesitate to contact me if you have any questions.

Thanks a lot again for your help






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : Adam Litke [mailto:ali...@redhat.com]
Envoyé : mercredi 1 avril 2015 17:06
À : VONDRA Alain
Cc : Elad Ben Aharon; users@ovirt.org; Federico Simoncelli; Maor Lipchuk
Objet : Re: [ovirt-users] Storage domain not in pool issue

On 31/03/15 08:43 +, VONDRA Alain wrote:
Hi,
Here is the logs.
Thanks

Federico, Maor: tldr; Can you offer some advice for recovering this block SD 
after a DC disaster?

Hi Alain,

After looking at your logs, it's clear that the metadata on the storage domain 
itself says that the domain is attached to pool
c58a44b1-1c98-450e-97e1-3347eeb28f86 while engine thinks the domain is attached 
to pool f422de63-8869-41ef-a782-8b0c9ee03c41.

Can you please explain the process you used to recover from your datacenter 
disaster?  My guess is you:
  1. Reinstalled the engine host with a blank oVirt DB
  2. Created a new data center
  3. Created a new master domain
  4. Attached some storage domains which were not attached at the time
 of your previous disaster
  5. Tried to attach sd:d7b9d7cc-f7d6-43c7-ae13-e720951657c9 which was
 attached to your old storage pool at the time of the disaster.

#5 failed because the metadata on the storage shows the old storage pool.  At 
this point I see two possible options to recover your storage.  PLEASE DO NOT 
DO ANYTHING YET (until we confirm what the best approach for recovery will be).

Option 1: Use the new import storage domain feature to import this domain into 
your new datacenter.

Option 2: Modify the storage domain metadata to remove the reference to the old 
storage pool.

I am adding some other oVirt storage experts to the thread in order to offer 
you the best advice.  Federico, Maor: can you offer some expert advice on this 
matter?

I did notice this wiki page which talks about clearing the storage pool 
metadata

[ovirt-users] Storage domain not in pool issue

2015-03-30 Thread VONDRA Alain
Hi,
I can’t activate two Storage domain after a Data Center disaster, I have these 
errors in my vdsm.log :

Thread-76::ERROR::2015-03-30 
10:38:36,521::task::866::Storage.TaskManager.Task::(_setError) 
Task=`48e52e40-423b-4e9a-ac6b-e5b423bf9b99`::Unexpected error
Thread-76::ERROR::2015-03-30 
10:38:36,525::dispatcher::76::Storage.Dispatcher::(wrapper) {'status': 
{'message': Storage domain not in pool: 
'domain=d7b9d7cc-f7d6-43c7-ae13-e720951657c9, 
pool=f422de63-8869-41ef-a782-8b0c9ee03c41', 'code': 353}}

How can I re-activate them ?
Thanks






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.frhttp://www.unicef.fr/

http://www.unicef.fr

http://www.unicef.fr/

[cid:signature4636e8]http://www.unicef.fr/







http://www.unicef.fr

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


Re: [ovirt-users] Storage domain not in pool issue

2015-03-30 Thread VONDRA Alain
My oVirt version is 3.5.0.1

[root@unc-srv-hyp2  ~]$ vdsClient -s 0 getStorageDomainInfo 
d7b9d7cc-f7d6-43c7-ae13-e720951657c9
uuid = d7b9d7cc-f7d6-43c7-ae13-e720951657c9
vguuid = zyiwLa-STgp-v3r8-KJqj-1AIP-rC2k-4NuXqf
state = OK
version = 3
role = Regular
type = ISCSI
class = Data
pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86']
name = VOL-UNC-PROD-02





De : Elad Ben Aharon [mailto:ebena...@redhat.com]
Envoyé : lundi 30 mars 2015 14:41
À : VONDRA Alain
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Storage domain not in pool issue

Which oVirt version are you using?
Also, please execute the following command and paste its output here.

vdsClient -s 0 getStorageDomainInfo d7b9d7cc-f7d6-43c7-ae13-e720951657c9



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





From: VONDRA Alain avon...@unicef.fr
To: Elad Ben Aharon ebena...@redhat.com
Cc: users@ovirt.org
Sent: Monday, 30 March, 2015 3:05:49 PM
Subject: RE: [ovirt-users]  Storage domain not in pool issue

Hi,
Yes I have an active storage domain
Thanks


De : Elad Ben Aharon [mailto:ebena...@redhat.com]
Envoyé : lundi 30 mars 2015 13:59
À : VONDRA Alain
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Storage domain not in pool issue

Hi,

Besides from these 2 storage domains, do you have an active master storage 
domain in the pool?





Elad Ben Aharon
RHEV-QE storage






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





From: VONDRA Alain avon...@unicef.fr
To: users@ovirt.org
Sent: Monday, 30 March, 2015 12:18:26 PM
Subject: [ovirt-users]  Storage domain not in pool issue

Hi,
I can’t activate two Storage domain after a Data Center disaster, I have these 
errors in my vdsm.log :

Thread-76::ERROR::2015-03-30 
10:38:36,521::task::866::Storage.TaskManager.Task::(_setError) 
Task=`48e52e40-423b-4e9a-ac6b-e5b423bf9b99`::Unexpected error
Thread-76::ERROR::2015-03-30 
10:38:36,525::dispatcher::76::Storage.Dispatcher::(wrapper) {'status': 
{'message': Storage domain not in pool: 
'domain=d7b9d7cc-f7d6-43c7-ae13-e720951657c9, 
pool=f422de63-8869-41ef-a782-8b0c9ee03c41', 'code': 353}}

How can I re-activate them ?
Thanks



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.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] Storage domain not in pool issue

2015-03-30 Thread VONDRA Alain
Thank you for your help !
I attempt to activate using oVirt GUI, in fact this SD was previously attached 
to the Data Center, and I had a crash on it, after a recover à my manager 
oVirt, I see all the VMs and SD up, but the VMs contained in the 2 bad Storage 
Domain didn’t go up, so I’ve tried to put the SD in maintenance, but now I 
can’t even activate this domain.
I didn’t yet try to put the second bad SD in maintenance after that.

  id  |   storage_pool_id
--+--
 072fbaa1-08f3-4a40-9f34-a5ca22dd1d74 |
 37a291a4-6108-4bb9-af33-da88555ab3a9 | f422de63-8869-41ef-a782-8b0c9ee03c41
 d7b9d7cc-f7d6-43c7-ae13-e720951657c9 | f422de63-8869-41ef-a782-8b0c9ee03c41
 7e40772a-fe94-4fb2-94c4-6198bed04a6a | f422de63-8869-41ef-a782-8b0c9ee03c41
 7e137867-953f-4fd5-a77a-f3bc18cd140e | f422de63-8869-41ef-a782-8b0c9ee03c41
 1f6dec51-12a6-41ed-9d14-8f0ad4e062d2 | f422de63-8869-41ef-a782-8b0c9ee03c41
 69ddb676-f423-43fc-af38-909bbedeef61 | f422de63-8869-41ef-a782-8b0c9ee03c41
(7 lignes)

Thanks




De : Elad Ben Aharon [mailto:ebena...@redhat.com]
Envoyé : lundi 30 mars 2015 15:09
À : VONDRA Alain
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Storage domain not in pool issue

Thanks.

As you can see, the domain is not attached to pool 
f422de63-8869-41ef-a782-8b0c9ee03c41, which is the pool you've tried to 
activate the domain in.
Via which API did you attempt to activate the domain in this pool?

Also, please execute the following command on engine and paste its output here.
su - postgres -c psql -U postgres engine -c  'select id,storage_pool_id from 
storage_domains;'  | less -S



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





From: VONDRA Alain avon...@unicef.fr
To: Elad Ben Aharon ebena...@redhat.com
Cc: users@ovirt.org
Sent: Monday, 30 March, 2015 3:43:35 PM
Subject: RE: [ovirt-users]  Storage domain not in pool issue

My oVirt version is 3.5.0.1

[root@unc-srv-hyp2  ~]$ vdsClient -s 0 getStorageDomainInfo 
d7b9d7cc-f7d6-43c7-ae13-e720951657c9
uuid = d7b9d7cc-f7d6-43c7-ae13-e720951657c9
vguuid = zyiwLa-STgp-v3r8-KJqj-1AIP-rC2k-4NuXqf
state = OK
version = 3
role = Regular
type = ISCSI
class = Data
pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86']
name = VOL-UNC-PROD-02





De : Elad Ben Aharon [mailto:ebena...@redhat.com]
Envoyé : lundi 30 mars 2015 14:41
À : VONDRA Alain
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Storage domain not in pool issue

Which oVirt version are you using?
Also, please execute the following command and paste its output here.

vdsClient -s 0 getStorageDomainInfo d7b9d7cc-f7d6-43c7-ae13-e720951657c9



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





From: VONDRA Alain avon...@unicef.fr
To: Elad Ben Aharon ebena...@redhat.com
Cc: users@ovirt.org
Sent: Monday, 30 March, 2015 3:05:49 PM
Subject: RE: [ovirt-users]  Storage domain not in pool issue

Hi,
Yes I have an active storage domain
Thanks


De : Elad Ben Aharon [mailto:ebena...@redhat.com]
Envoyé : lundi 30 mars 2015 13:59
À : VONDRA Alain
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Storage domain not in pool issue

Hi,

Besides from these 2 storage domains, do you have an active master storage 
domain in the pool?





Elad Ben Aharon
RHEV-QE storage






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





From: VONDRA Alain avon...@unicef.fr
To: users@ovirt.org
Sent: Monday, 30 March, 2015 12:18:26 PM
Subject: [ovirt-users]  Storage domain not in pool issue

Hi,
I can’t activate two Storage domain after a Data Center disaster, I have these 
errors in my vdsm.log :

Thread-76::ERROR::2015-03-30 
10:38:36,521::task::866::Storage.TaskManager.Task::(_setError) 
Task=`48e52e40-423b-4e9a-ac6b-e5b423bf9b99`::Unexpected error
Thread-76::ERROR::2015-03-30 
10:38:36,525::dispatcher::76::Storage.Dispatcher::(wrapper) {'status': 
{'message': Storage domain not in pool: 
'domain=d7b9d7cc-f7d6-43c7-ae13-e720951657c9, 
pool=f422de63-8869-41ef-a782-8b0c9ee03c41', 'code': 353}}

How can I re-activate them ?
Thanks



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr

Re: [ovirt-users] Storage domain not in pool issue

2015-03-30 Thread VONDRA Alain
Elad,
I’ve tried many times to restart the engine without success.
Thanks


De : Elad Ben Aharon [mailto:ebena...@redhat.com]
Envoyé : lundi 30 mars 2015 16:00
À : VONDRA Alain; Idan Shaby
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Storage domain not in pool issue

Thanks for the input.

From the input, it's clear that engine is not synchronized with vdsm regarding 
the storage pool which these 2 domains are attached to.
I guess that ovirt-engine service restart would solve it, but I would like 
someone from DEV to take a look before doing so.


Idan, can you please take a look?
Thanks



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





From: VONDRA Alain avon...@unicef.fr
To: Elad Ben Aharon ebena...@redhat.com
Cc: users@ovirt.org
Sent: Monday, 30 March, 2015 4:18:08 PM
Subject: RE: [ovirt-users]  Storage domain not in pool issue

Thank you for your help !
I attempt to activate using oVirt GUI, in fact this SD was previously attached 
to the Data Center, and I had a crash on it, after a recover à my manager 
oVirt, I see all the VMs and SD up, but the VMs contained in the 2 bad Storage 
Domain didn’t go up, so I’ve tried to put the SD in maintenance, but now I 
can’t even activate this domain.
I didn’t yet try to put the second bad SD in maintenance after that.

  id  |   storage_pool_id
--+--
 072fbaa1-08f3-4a40-9f34-a5ca22dd1d74 |
 37a291a4-6108-4bb9-af33-da88555ab3a9 | f422de63-8869-41ef-a782-8b0c9ee03c41
 d7b9d7cc-f7d6-43c7-ae13-e720951657c9 | f422de63-8869-41ef-a782-8b0c9ee03c41
 7e40772a-fe94-4fb2-94c4-6198bed04a6a | f422de63-8869-41ef-a782-8b0c9ee03c41
 7e137867-953f-4fd5-a77a-f3bc18cd140e | f422de63-8869-41ef-a782-8b0c9ee03c41
 1f6dec51-12a6-41ed-9d14-8f0ad4e062d2 | f422de63-8869-41ef-a782-8b0c9ee03c41
 69ddb676-f423-43fc-af38-909bbedeef61 | f422de63-8869-41ef-a782-8b0c9ee03c41
(7 lignes)

Thanks




De : Elad Ben Aharon [mailto:ebena...@redhat.com]
Envoyé : lundi 30 mars 2015 15:09
À : VONDRA Alain
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Storage domain not in pool issue

Thanks.

As you can see, the domain is not attached to pool 
f422de63-8869-41ef-a782-8b0c9ee03c41, which is the pool you've tried to 
activate the domain in.
Via which API did you attempt to activate the domain in this pool?

Also, please execute the following command on engine and paste its output here.
su - postgres -c psql -U postgres engine -c  'select id,storage_pool_id from 
storage_domains;'  | less -S



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





From: VONDRA Alain avon...@unicef.fr
To: Elad Ben Aharon ebena...@redhat.com
Cc: users@ovirt.org
Sent: Monday, 30 March, 2015 3:43:35 PM
Subject: RE: [ovirt-users]  Storage domain not in pool issue

My oVirt version is 3.5.0.1

[root@unc-srv-hyp2  ~]$ vdsClient -s 0 getStorageDomainInfo 
d7b9d7cc-f7d6-43c7-ae13-e720951657c9
uuid = d7b9d7cc-f7d6-43c7-ae13-e720951657c9
vguuid = zyiwLa-STgp-v3r8-KJqj-1AIP-rC2k-4NuXqf
state = OK
version = 3
role = Regular
type = ISCSI
class = Data
pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86']
name = VOL-UNC-PROD-02





De : Elad Ben Aharon [mailto:ebena...@redhat.com]
Envoyé : lundi 30 mars 2015 14:41
À : VONDRA Alain
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Storage domain not in pool issue

Which oVirt version are you using?
Also, please execute the following command and paste its output here.

vdsClient -s 0 getStorageDomainInfo d7b9d7cc-f7d6-43c7-ae13-e720951657c9



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





From: VONDRA Alain avon...@unicef.fr
To: Elad Ben Aharon ebena...@redhat.com
Cc: users@ovirt.org
Sent: Monday, 30 March, 2015 3:05:49 PM
Subject: RE: [ovirt-users]  Storage domain not in pool issue

Hi,
Yes I have an active storage domain
Thanks


De : Elad Ben Aharon [mailto:ebena...@redhat.com]
Envoyé : lundi 30 mars 2015 13:59
À : VONDRA Alain
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Storage domain not in pool issue

Hi,

Besides from these 2 storage domains, do you have an active master storage 
domain in the pool?





Elad Ben Aharon
RHEV-QE storage






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS

Re: [ovirt-users] Storage domain not in pool issue

2015-03-30 Thread VONDRA Alain
Hi,
Yes I have an active storage domain
Thanks


De : Elad Ben Aharon [mailto:ebena...@redhat.com]
Envoyé : lundi 30 mars 2015 13:59
À : VONDRA Alain
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Storage domain not in pool issue

Hi,

Besides from these 2 storage domains, do you have an active master storage 
domain in the pool?





Elad Ben Aharon
RHEV-QE storage






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





From: VONDRA Alain avon...@unicef.fr
To: users@ovirt.org
Sent: Monday, 30 March, 2015 12:18:26 PM
Subject: [ovirt-users]  Storage domain not in pool issue

Hi,
I can’t activate two Storage domain after a Data Center disaster, I have these 
errors in my vdsm.log :

Thread-76::ERROR::2015-03-30 
10:38:36,521::task::866::Storage.TaskManager.Task::(_setError) 
Task=`48e52e40-423b-4e9a-ac6b-e5b423bf9b99`::Unexpected error
Thread-76::ERROR::2015-03-30 
10:38:36,525::dispatcher::76::Storage.Dispatcher::(wrapper) {'status': 
{'message': Storage domain not in pool: 
'domain=d7b9d7cc-f7d6-43c7-ae13-e720951657c9, 
pool=f422de63-8869-41ef-a782-8b0c9ee03c41', 'code': 353}}

How can I re-activate them ?
Thanks



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.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] Host reinstall option in oVirt

2015-03-30 Thread VONDRA Alain
Thanks for your reply Michal,
I've already done the reinstall, the hosts were up again.
I'm in front of a new problem, but this one is closed
Regards





Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : Michal Skrivanek [mailto:michal.skriva...@redhat.com]
Envoyé : lundi 30 mars 2015 17:06
À : VONDRA Alain
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Host reinstall option in oVirt


On Mar 27, 2015, at 09:37 , VONDRA Alain avon...@unicef.fr wrote:

 Hi,
 Could you confirm that using reinstall option in oVirt GUI when a host is 
 in maintenance mode, is not destructive for the VMs of the DC ?

It doesn't do anything to the shared storage, so you're safe:)

 BTW my 2 nodes stays in unresponsive state.

well, rebootreinstall may help…if not, one need to really start looking into 
why:)

Thanks,
michal

 Thanks





 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.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] Storage domain not in pool issue

2015-03-30 Thread VONDRA Alain
Hi,
Is there anyother way to synchronize the engine and vdsm ?
Thanks




Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la part de 
VONDRA Alain
Envoyé : lundi 30 mars 2015 16:17
À : Elad Ben Aharon; Idan Shaby
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Storage domain not in pool issue

Elad,
I’ve tried many times to restart the engine without success.
Thanks


De : Elad Ben Aharon [mailto:ebena...@redhat.com] Envoyé : lundi 30 mars 2015 
16:00 À : VONDRA Alain; Idan Shaby Cc : users@ovirt.org Objet : Re: 
[ovirt-users] Storage domain not in pool issue

Thanks for the input.

From the input, it's clear that engine is not synchronized with vdsm regarding 
the storage pool which these 2 domains are attached to.
I guess that ovirt-engine service restart would solve it, but I would like 
someone from DEV to take a look before doing so.


Idan, can you please take a look?
Thanks



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information Direction Administrative et 
Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





From: VONDRA Alain avon...@unicef.fr
To: Elad Ben Aharon ebena...@redhat.com
Cc: users@ovirt.org
Sent: Monday, 30 March, 2015 4:18:08 PM
Subject: RE: [ovirt-users]  Storage domain not in pool issue

Thank you for your help !
I attempt to activate using oVirt GUI, in fact this SD was previously attached 
to the Data Center, and I had a crash on it, after a recover à my manager 
oVirt, I see all the VMs and SD up, but the VMs contained in the 2 bad Storage 
Domain didn’t go up, so I’ve tried to put the SD in maintenance, but now I 
can’t even activate this domain.
I didn’t yet try to put the second bad SD in maintenance after that.

  id  |   storage_pool_id
--+-
--+-
 072fbaa1-08f3-4a40-9f34-a5ca22dd1d74 |
 37a291a4-6108-4bb9-af33-da88555ab3a9 | f422de63-8869-41ef-a782-8b0c9ee03c41
 d7b9d7cc-f7d6-43c7-ae13-e720951657c9 | f422de63-8869-41ef-a782-8b0c9ee03c41
 7e40772a-fe94-4fb2-94c4-6198bed04a6a | f422de63-8869-41ef-a782-8b0c9ee03c41
 7e137867-953f-4fd5-a77a-f3bc18cd140e | f422de63-8869-41ef-a782-8b0c9ee03c41
 1f6dec51-12a6-41ed-9d14-8f0ad4e062d2 | f422de63-8869-41ef-a782-8b0c9ee03c41
 69ddb676-f423-43fc-af38-909bbedeef61 | f422de63-8869-41ef-a782-8b0c9ee03c41
(7 lignes)

Thanks




De : Elad Ben Aharon [mailto:ebena...@redhat.com] Envoyé : lundi 30 mars 2015 
15:09 À : VONDRA Alain Cc : users@ovirt.org Objet : Re: [ovirt-users] Storage 
domain not in pool issue

Thanks.

As you can see, the domain is not attached to pool 
f422de63-8869-41ef-a782-8b0c9ee03c41, which is the pool you've tried to 
activate the domain in.
Via which API did you attempt to activate the domain in this pool?

Also, please execute the following command on engine and paste its output here.
su - postgres -c psql -U postgres engine -c  'select id,storage_pool_id from 
storage_domains;'  | less -S



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information Direction Administrative et 
Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





From: VONDRA Alain avon...@unicef.fr
To: Elad Ben Aharon ebena...@redhat.com
Cc: users@ovirt.org
Sent: Monday, 30 March, 2015 3:43:35 PM
Subject: RE: [ovirt-users]  Storage domain not in pool issue

My oVirt version is 3.5.0.1

[root@unc-srv-hyp2  ~]$ vdsClient -s 0 getStorageDomainInfo 
d7b9d7cc-f7d6-43c7-ae13-e720951657c9
uuid = d7b9d7cc-f7d6-43c7-ae13-e720951657c9
vguuid = zyiwLa-STgp-v3r8-KJqj-1AIP-rC2k-4NuXqf
state = OK
version = 3
role = Regular
type = ISCSI
class = Data
pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86']
name = VOL-UNC-PROD-02





De : Elad Ben Aharon [mailto:ebena...@redhat.com] Envoyé : lundi 30 mars 2015 
14:41 À : VONDRA Alain Cc : users@ovirt.org Objet : Re: [ovirt-users] Storage 
domain not in pool issue

Which oVirt version are you using?
Also, please execute the following command and paste its output here.

vdsClient -s 0 getStorageDomainInfo d7b9d7cc-f7d6-43c7-ae13-e720951657c9



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information Direction Administrative et 
Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





From: VONDRA Alain avon...@unicef.fr
To: Elad Ben Aharon ebena...@redhat.com
Cc: users@ovirt.org
Sent: Monday, 30 March, 2015 3:05:49 PM
Subject: RE: [ovirt-users]  Storage domain

Re: [ovirt-users] Storage domain not in pool issue

2015-03-30 Thread VONDRA Alain
Hi,
Is there anybody who can help me ?
I have more than 6 month of work in these two storage domains...
Thanks,
Alain





Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





De : users-boun...@ovirt.org [users-boun...@ovirt.org] de la part de VONDRA 
Alain [avon...@unicef.fr]
Envoyé : lundi 30 mars 2015 17:33
À : Elad Ben Aharon; Idan Shaby
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Storage domain not in pool issue

Hi,
Is there anyother way to synchronize the engine and vdsm ?
Thanks




Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la part de 
VONDRA Alain
Envoyé : lundi 30 mars 2015 16:17
À : Elad Ben Aharon; Idan Shaby
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Storage domain not in pool issue

Elad,
I’ve tried many times to restart the engine without success.
Thanks


De : Elad Ben Aharon [mailto:ebena...@redhat.com] Envoyé : lundi 30 mars 2015 
16:00 À : VONDRA Alain; Idan Shaby Cc : users@ovirt.org Objet : Re: 
[ovirt-users] Storage domain not in pool issue

Thanks for the input.

From the input, it's clear that engine is not synchronized with vdsm regarding 
the storage pool which these 2 domains are attached to.
I guess that ovirt-engine service restart would solve it, but I would like 
someone from DEV to take a look before doing so.


Idan, can you please take a look?
Thanks



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information Direction Administrative et 
Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





From: VONDRA Alain avon...@unicef.fr
To: Elad Ben Aharon ebena...@redhat.com
Cc: users@ovirt.org
Sent: Monday, 30 March, 2015 4:18:08 PM
Subject: RE: [ovirt-users]  Storage domain not in pool issue

Thank you for your help !
I attempt to activate using oVirt GUI, in fact this SD was previously attached 
to the Data Center, and I had a crash on it, after a recover à my manager 
oVirt, I see all the VMs and SD up, but the VMs contained in the 2 bad Storage 
Domain didn’t go up, so I’ve tried to put the SD in maintenance, but now I 
can’t even activate this domain.
I didn’t yet try to put the second bad SD in maintenance after that.

  id  |   storage_pool_id
--+-
--+-
 072fbaa1-08f3-4a40-9f34-a5ca22dd1d74 |
 37a291a4-6108-4bb9-af33-da88555ab3a9 | f422de63-8869-41ef-a782-8b0c9ee03c41
 d7b9d7cc-f7d6-43c7-ae13-e720951657c9 | f422de63-8869-41ef-a782-8b0c9ee03c41
 7e40772a-fe94-4fb2-94c4-6198bed04a6a | f422de63-8869-41ef-a782-8b0c9ee03c41
 7e137867-953f-4fd5-a77a-f3bc18cd140e | f422de63-8869-41ef-a782-8b0c9ee03c41
 1f6dec51-12a6-41ed-9d14-8f0ad4e062d2 | f422de63-8869-41ef-a782-8b0c9ee03c41
 69ddb676-f423-43fc-af38-909bbedeef61 | f422de63-8869-41ef-a782-8b0c9ee03c41
(7 lignes)

Thanks




De : Elad Ben Aharon [mailto:ebena...@redhat.com] Envoyé : lundi 30 mars 2015 
15:09 À : VONDRA Alain Cc : users@ovirt.org Objet : Re: [ovirt-users] Storage 
domain not in pool issue

Thanks.

As you can see, the domain is not attached to pool 
f422de63-8869-41ef-a782-8b0c9ee03c41, which is the pool you've tried to 
activate the domain in.
Via which API did you attempt to activate the domain in this pool?

Also, please execute the following command on engine and paste its output here.
su - postgres -c psql -U postgres engine -c  'select id,storage_pool_id from 
storage_domains;'  | less -S



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information Direction Administrative et 
Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





From: VONDRA Alain avon...@unicef.fr
To: Elad Ben Aharon ebena...@redhat.com
Cc: users@ovirt.org
Sent: Monday, 30 March, 2015 3:43:35 PM
Subject: RE: [ovirt-users]  Storage domain not in pool issue

My oVirt version is 3.5.0.1

[root@unc-srv-hyp2  ~]$ vdsClient -s 0 getStorageDomainInfo 
d7b9d7cc-f7d6-43c7-ae13-e720951657c9
uuid = d7b9d7cc-f7d6-43c7-ae13-e720951657c9
vguuid = zyiwLa-STgp-v3r8-KJqj-1AIP-rC2k-4NuXqf
state = OK
version = 3
role = Regular
type = ISCSI
class = Data
pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86']
name = VOL-UNC-PROD-02





De : Elad Ben Aharon [mailto:ebena...@redhat.com] Envoyé : lundi 30 mars 2015 
14:41 À : VONDRA Alain Cc : users@ovirt.org Objet : Re: [ovirt-users] Storage 
domain

[ovirt-users] Host reinstall option in oVirt

2015-03-27 Thread VONDRA Alain
Hi,
Could you confirm that using reinstall option in oVirt GUI when a host is in 
maintenance mode, is not destructive for the VMs of the DC ?
BTW my 2 nodes stays in unresponsive state.
Thanks





Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




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


Re: [ovirt-users] Reinstalling a new oVirt Manager

2015-03-18 Thread VONDRA Alain
Do you think that I can import the SDs in my new Data Center without any risk 
to destroy the VMs inside them ??
Thank you for your advice.







Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la part de 
VONDRA Alain
Envoyé : mardi 17 mars 2015 23:33
À : Simone Tiraboschi
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Reinstalling a new oVirt Manager

Ok great, I can see the different storage that I want to import, but I can't 
see the VMs on the un-connected pool.
So anyway I have to go further and import the storage domain passing the alert 
message.
Am I right ?
No other way to see the VMs in SD :

[root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainsList 
7e40772a-fe94-4fb2-94c4-6198bed04a6a
0fec0486-7863-49bc-a4ab-d2c7ac48258a
d7b9d7cc-f7d6-43c7-ae13-e720951657c9
1f6dec51-12a6-41ed-9d14-8f0ad4e062d2
f9a0076d-e041-4d8f-a627-223562b84b90
04d87d6c-092a-4568-bdca-1d6e8f231912

[root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo 
7e40772a-fe94-4fb2-94c4-6198bed04a6a
uuid = 7e40772a-fe94-4fb2-94c4-6198bed04a6a
vguuid = zwpINw-zgIR-oOjP-6voS-iA2n-zFRB-G76sSQ
state = OK
version = 3
role = Regular
type = ISCSI
class = Data
pool = ['f422de63-8869-41ef-a782-8b0c9ee03c41']
name = VOL-UNC-PROD-01

[root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo 
0fec0486-7863-49bc-a4ab-d2c7ac48258a
uuid = 0fec0486-7863-49bc-a4ab-d2c7ac48258a
vguuid = ta2ZFC-UwtO-xANp-ZK19-rWVo-1kBJ-ZrsQrN
state = OK
version = 3
role = Regular
type = ISCSI
class = Data
pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86']
name = VOL-UNC-TEST

[root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo 
d7b9d7cc-f7d6-43c7-ae13-e720951657c9
uuid = d7b9d7cc-f7d6-43c7-ae13-e720951657c9
vguuid = zyiwLa-STgp-v3r8-KJqj-1AIP-rC2k-4NuXqf
state = OK
version = 3
role = Regular
type = ISCSI
class = Data
pool = ['f422de63-8869-41ef-a782-8b0c9ee03c41']
name = VOL-UNC-PROD-02

[root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo 
1f6dec51-12a6-41ed-9d14-8f0ad4e062d2
uuid = 1f6dec51-12a6-41ed-9d14-8f0ad4e062d2
vguuid = 6itdyW-WLid-fTu6-HAJd-dpSj-HpbH-T4ZSVA
state = OK
version = 3
role = Regular
type = ISCSI
class = Data
pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86']
name = VOL-UNC-NAS-01

[root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo 
f9a0076d-e041-4d8f-a627-223562b84b90
uuid = f9a0076d-e041-4d8f-a627-223562b84b90
version = 0
role = Regular
remotePath = unc-srv-kman:/var/lib/exports/iso
type = NFS
class = Iso
pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86']
name = ISO_DOMAIN

[root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo 
04d87d6c-092a-4568-bdca-1d6e8f231912
uuid = 04d87d6c-092a-4568-bdca-1d6e8f231912
version = 3
role = Master
remotePath = unc-srv-hyp1.cfu.local:/exports/import_domain
type = NFS
class = Data
pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86']
name = VOL-NFS

[root@unc-srv-hyp1  ~]$ vdsClient -s 0 getVmsList 
c58a44b1-1c98-450e-97e1-3347eeb28f86 1f6dec51-12a6-41ed-9d14-8f0ad4e062d2
No VMs found.

[root@unc-srv-hyp1  ~]$ vdsClient -s 0 getVmsList 
f422de63-8869-41ef-a782-8b0c9ee03c41 d7b9d7cc-f7d6-43c7-ae13-e720951657c9
Unknown pool id, pool not connected: ('f422de63-8869-41ef-a782-8b0c9ee03c41',)

[root@unc-srv-hyp1  ~]$ vdsClient -s 0 getVmsList 
f422de63-8869-41ef-a782-8b0c9ee03c41 7e40772a-fe94-4fb2-94c4-6198bed04a6a
Unknown pool id, pool not connected: ('f422de63-8869-41ef-a782-8b0c9ee03c41',)







 Is there any command to verify if the storage domain contains VMs or not ?

You can execute this on one of your hosts.

# vdsClient -s 0 getStorageDomainsList
to get storage domain list, than

# vdsClient -s 0 getStorageDomainInfo domain UUID for each of them till you 
identify the domain you are looking for.
You can also find there the pool UUID.

Than
# vdsClient -s 0 getVmsList pool UUID domain UUID To get the list of VMs on 
that storage.



 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.fr






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information Direction Administrative et 
Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




 -Message d'origine-
 De : VONDRA Alain
 Envoyé : mardi 17 mars 2015 16:41
 À : VONDRA Alain; Simone Tiraboschi
 Cc : users@ovirt.org
 Objet

Re: [ovirt-users] Reinstalling a new oVirt Manager

2015-03-18 Thread VONDRA Alain

 Do you think that I can import the SDs in my new Data Center without
 any risk to destroy the VMs inside them ??
 Thank you for your advice.

 If no other engine is managing them, you can safely import the existing 
 storage domain.
 As usual, is always a good idea to keep a backup.

There is no other engine anymore, when you say to keep a backup, you talk about 
the engine or ???
What I am afraid is about the Data in the iSCSI SAN, I can't make a backup of 
this.




 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.fr






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




 -Message d'origine-
 De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la
 part de VONDRA Alain Envoyé : mardi 17 mars 2015 23:33 À : Simone
 Tiraboschi Cc : users@ovirt.org Objet : Re: [ovirt-users] Reinstalling
 a new oVirt Manager

 Ok great, I can see the different storage that I want to import, but I
 can't see the VMs on the un-connected pool.
 So anyway I have to go further and import the storage domain passing
 the alert message.
 Am I right ?
 No other way to see the VMs in SD :

 [root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainsList
 7e40772a-fe94-4fb2-94c4-6198bed04a6a
 0fec0486-7863-49bc-a4ab-d2c7ac48258a
 d7b9d7cc-f7d6-43c7-ae13-e720951657c9
 1f6dec51-12a6-41ed-9d14-8f0ad4e062d2
 f9a0076d-e041-4d8f-a627-223562b84b90
 04d87d6c-092a-4568-bdca-1d6e8f231912

 [root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo
 7e40772a-fe94-4fb2-94c4-6198bed04a6a
 uuid = 7e40772a-fe94-4fb2-94c4-6198bed04a6a
 vguuid = zwpINw-zgIR-oOjP-6voS-iA2n-zFRB-G76sSQ
 state = OK
 version = 3
 role = Regular
 type = ISCSI
 class = Data
 pool = ['f422de63-8869-41ef-a782-8b0c9ee03c41']
 name = VOL-UNC-PROD-01

 [root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo
 0fec0486-7863-49bc-a4ab-d2c7ac48258a
 uuid = 0fec0486-7863-49bc-a4ab-d2c7ac48258a
 vguuid = ta2ZFC-UwtO-xANp-ZK19-rWVo-1kBJ-ZrsQrN
 state = OK
 version = 3
 role = Regular
 type = ISCSI
 class = Data
 pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86']
 name = VOL-UNC-TEST

 [root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo
 d7b9d7cc-f7d6-43c7-ae13-e720951657c9
 uuid = d7b9d7cc-f7d6-43c7-ae13-e720951657c9
 vguuid = zyiwLa-STgp-v3r8-KJqj-1AIP-rC2k-4NuXqf
 state = OK
 version = 3
 role = Regular
 type = ISCSI
 class = Data
 pool = ['f422de63-8869-41ef-a782-8b0c9ee03c41']
 name = VOL-UNC-PROD-02

 [root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo
 1f6dec51-12a6-41ed-9d14-8f0ad4e062d2
 uuid = 1f6dec51-12a6-41ed-9d14-8f0ad4e062d2
 vguuid = 6itdyW-WLid-fTu6-HAJd-dpSj-HpbH-T4ZSVA
 state = OK
 version = 3
 role = Regular
 type = ISCSI
 class = Data
 pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86']
 name = VOL-UNC-NAS-01

 [root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo
 f9a0076d-e041-4d8f-a627-223562b84b90
 uuid = f9a0076d-e041-4d8f-a627-223562b84b90
 version = 0
 role = Regular
 remotePath = unc-srv-kman:/var/lib/exports/iso
 type = NFS
 class = Iso
 pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86']
 name = ISO_DOMAIN

 [root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo
 04d87d6c-092a-4568-bdca-1d6e8f231912
 uuid = 04d87d6c-092a-4568-bdca-1d6e8f231912
 version = 3
 role = Master
 remotePath = unc-srv-hyp1.cfu.local:/exports/import_domain
 type = NFS
 class = Data
 pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86']
 name = VOL-NFS

 [root@unc-srv-hyp1  ~]$ vdsClient -s 0 getVmsList
 c58a44b1-1c98-450e-97e1-3347eeb28f86
 1f6dec51-12a6-41ed-9d14-8f0ad4e062d2
 No VMs found.

 [root@unc-srv-hyp1  ~]$ vdsClient -s 0 getVmsList
 f422de63-8869-41ef-a782-8b0c9ee03c41
 d7b9d7cc-f7d6-43c7-ae13-e720951657c9
 Unknown pool id, pool not connected:
 ('f422de63-8869-41ef-a782-8b0c9ee03c41',)

 [root@unc-srv-hyp1  ~]$ vdsClient -s 0 getVmsList
 f422de63-8869-41ef-a782-8b0c9ee03c41
 7e40772a-fe94-4fb2-94c4-6198bed04a6a
 Unknown pool id, pool not connected:
 ('f422de63-8869-41ef-a782-8b0c9ee03c41',)






 
  Is there any command to verify if the storage domain contains VMs or not ?

 You can execute this on one of your hosts.

 # vdsClient -s 0 getStorageDomainsList to get storage domain list,
 than

 # vdsClient -s 0 getStorageDomainInfo domain UUID for each of them
 till you identify the domain you are looking for.
 You can also find there the pool UUID.

 Than

Re: [ovirt-users] Reinstalling a new oVirt Manager

2015-03-18 Thread VONDRA Alain
What do you think about it Simone ?
Thanks



 Do you think that I can import the SDs in my new Data Center without
 any risk to destroy the VMs inside them ??
 Thank you for your advice.

 If no other engine is managing them, you can safely import the existing 
 storage domain.
 As usual, is always a good idea to keep a backup.

There is no other engine anymore, when you say to keep a backup, you talk about 
the engine or the SAN storage ???
What I am afraid is about the Data in the iSCSI SAN, I can't make a backup of 
this.




 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.fr






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information Direction Administrative et 
Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




 -Message d'origine-
 De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la
 part de VONDRA Alain Envoyé : mardi 17 mars 2015 23:33 À : Simone
 Tiraboschi Cc : users@ovirt.org Objet : Re: [ovirt-users] Reinstalling
 a new oVirt Manager

 Ok great, I can see the different storage that I want to import, but I
 can't see the VMs on the un-connected pool.
 So anyway I have to go further and import the storage domain passing
 the alert message.
 Am I right ?
 No other way to see the VMs in SD :

 [root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainsList
 7e40772a-fe94-4fb2-94c4-6198bed04a6a
 0fec0486-7863-49bc-a4ab-d2c7ac48258a
 d7b9d7cc-f7d6-43c7-ae13-e720951657c9
 1f6dec51-12a6-41ed-9d14-8f0ad4e062d2
 f9a0076d-e041-4d8f-a627-223562b84b90
 04d87d6c-092a-4568-bdca-1d6e8f231912

 [root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo
 7e40772a-fe94-4fb2-94c4-6198bed04a6a
 uuid = 7e40772a-fe94-4fb2-94c4-6198bed04a6a
 vguuid = zwpINw-zgIR-oOjP-6voS-iA2n-zFRB-G76sSQ
 state = OK
 version = 3
 role = Regular
 type = ISCSI
 class = Data
 pool = ['f422de63-8869-41ef-a782-8b0c9ee03c41']
 name = VOL-UNC-PROD-01

 [root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo
 0fec0486-7863-49bc-a4ab-d2c7ac48258a
 uuid = 0fec0486-7863-49bc-a4ab-d2c7ac48258a
 vguuid = ta2ZFC-UwtO-xANp-ZK19-rWVo-1kBJ-ZrsQrN
 state = OK
 version = 3
 role = Regular
 type = ISCSI
 class = Data
 pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86']
 name = VOL-UNC-TEST

 [root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo
 d7b9d7cc-f7d6-43c7-ae13-e720951657c9
 uuid = d7b9d7cc-f7d6-43c7-ae13-e720951657c9
 vguuid = zyiwLa-STgp-v3r8-KJqj-1AIP-rC2k-4NuXqf
 state = OK
 version = 3
 role = Regular
 type = ISCSI
 class = Data
 pool = ['f422de63-8869-41ef-a782-8b0c9ee03c41']
 name = VOL-UNC-PROD-02

 [root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo
 1f6dec51-12a6-41ed-9d14-8f0ad4e062d2
 uuid = 1f6dec51-12a6-41ed-9d14-8f0ad4e062d2
 vguuid = 6itdyW-WLid-fTu6-HAJd-dpSj-HpbH-T4ZSVA
 state = OK
 version = 3
 role = Regular
 type = ISCSI
 class = Data
 pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86']
 name = VOL-UNC-NAS-01

 [root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo
 f9a0076d-e041-4d8f-a627-223562b84b90
 uuid = f9a0076d-e041-4d8f-a627-223562b84b90
 version = 0
 role = Regular
 remotePath = unc-srv-kman:/var/lib/exports/iso
 type = NFS
 class = Iso
 pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86']
 name = ISO_DOMAIN

 [root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo
 04d87d6c-092a-4568-bdca-1d6e8f231912
 uuid = 04d87d6c-092a-4568-bdca-1d6e8f231912
 version = 3
 role = Master
 remotePath = unc-srv-hyp1.cfu.local:/exports/import_domain
 type = NFS
 class = Data
 pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86']
 name = VOL-NFS

 [root@unc-srv-hyp1  ~]$ vdsClient -s 0 getVmsList
 c58a44b1-1c98-450e-97e1-3347eeb28f86
 1f6dec51-12a6-41ed-9d14-8f0ad4e062d2
 No VMs found.

 [root@unc-srv-hyp1  ~]$ vdsClient -s 0 getVmsList
 f422de63-8869-41ef-a782-8b0c9ee03c41
 d7b9d7cc-f7d6-43c7-ae13-e720951657c9
 Unknown pool id, pool not connected:
 ('f422de63-8869-41ef-a782-8b0c9ee03c41',)

 [root@unc-srv-hyp1  ~]$ vdsClient -s 0 getVmsList
 f422de63-8869-41ef-a782-8b0c9ee03c41
 7e40772a-fe94-4fb2-94c4-6198bed04a6a
 Unknown pool id, pool not connected:
 ('f422de63-8869-41ef-a782-8b0c9ee03c41',)






 
  Is there any command to verify if the storage domain contains VMs or not ?

 You can execute this on one of your hosts

Re: [ovirt-users] Reinstalling a new oVirt Manager

2015-03-18 Thread VONDRA Alain
So I have imported the SD and no VMs are seen...
What can I do ?
I'm sure there are many VMs in this SD, why can I reach them ?
I've put the SD in Maintenance, now.
Help 


 What do you think about it Simone ?
 Thanks



  Do you think that I can import the SDs in my new Data Center without
  any risk to destroy the VMs inside them ??
  Thank you for your advice.

  If no other engine is managing them, you can safely import the
  existing storage domain.
  As usual, is always a good idea to keep a backup.

 There is no other engine anymore, when you say to keep a backup, you
 talk about the engine or the SAN storage ???

If you are afraid to loose your VM images I talking about back-upping the 
storage.

 What I am afraid is about the Data in the iSCSI SAN, I can't make a
 backup of this.

A lot of SAN provides backup or snapshot capabilities.
Otherwise, once mounted, an iSCSI device is just a block device so, assuming 
that you have enough free space somewhere, at least you can still dump it.

 
 
  Alain VONDRA
  Chargé d'exploitation des Systèmes d'Information Direction
  Administrative et Financière
  +33 1 44 39 77 76
  UNICEF France
  3 rue Duguay Trouin  75006 PARIS
  www.unicef.fr
 
 
 
 


 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.fr






 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.fr






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




  -Message d'origine-
  De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la
  part de VONDRA Alain Envoyé : mardi 17 mars 2015 23:33 À : Simone
  Tiraboschi Cc : users@ovirt.org Objet : Re: [ovirt-users]
  Reinstalling a new oVirt Manager
 
  Ok great, I can see the different storage that I want to import, but
  I can't see the VMs on the un-connected pool.
  So anyway I have to go further and import the storage domain passing
  the alert message.
  Am I right ?
  No other way to see the VMs in SD :
 
  [root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainsList
  7e40772a-fe94-4fb2-94c4-6198bed04a6a
  0fec0486-7863-49bc-a4ab-d2c7ac48258a
  d7b9d7cc-f7d6-43c7-ae13-e720951657c9
  1f6dec51-12a6-41ed-9d14-8f0ad4e062d2
  f9a0076d-e041-4d8f-a627-223562b84b90
  04d87d6c-092a-4568-bdca-1d6e8f231912
 
  [root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo
  7e40772a-fe94-4fb2-94c4-6198bed04a6a
  uuid = 7e40772a-fe94-4fb2-94c4-6198bed04a6a
  vguuid = zwpINw-zgIR-oOjP-6voS-iA2n-zFRB-G76sSQ
  state = OK
  version = 3
  role = Regular
  type = ISCSI
  class = Data
  pool = ['f422de63-8869-41ef-a782-8b0c9ee03c41']
  name = VOL-UNC-PROD-01
 
  [root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo
  0fec0486-7863-49bc-a4ab-d2c7ac48258a
  uuid = 0fec0486-7863-49bc-a4ab-d2c7ac48258a
  vguuid = ta2ZFC-UwtO-xANp-ZK19-rWVo-1kBJ-ZrsQrN
  state = OK
  version = 3
  role = Regular
  type = ISCSI
  class = Data
  pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86']
  name = VOL-UNC-TEST
 
  [root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo
  d7b9d7cc-f7d6-43c7-ae13-e720951657c9
  uuid = d7b9d7cc-f7d6-43c7-ae13-e720951657c9
  vguuid = zyiwLa-STgp-v3r8-KJqj-1AIP-rC2k-4NuXqf
  state = OK
  version = 3
  role = Regular
  type = ISCSI
  class = Data
  pool = ['f422de63-8869-41ef-a782-8b0c9ee03c41']
  name = VOL-UNC-PROD-02
 
  [root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo
  1f6dec51-12a6-41ed-9d14-8f0ad4e062d2
  uuid = 1f6dec51-12a6-41ed-9d14-8f0ad4e062d2
  vguuid = 6itdyW-WLid-fTu6-HAJd-dpSj-HpbH-T4ZSVA
  state = OK
  version = 3
  role = Regular
  type = ISCSI
  class = Data
  pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86']
  name = VOL-UNC-NAS-01
 
  [root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo
  f9a0076d-e041-4d8f-a627-223562b84b90
  uuid = f9a0076d-e041-4d8f-a627-223562b84b90
  version = 0
  role = Regular
  remotePath = unc-srv-kman:/var/lib/exports/iso
  type = NFS
  class = Iso
  pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86']
  name = ISO_DOMAIN
 
  [root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo
  04d87d6c-092a-4568-bdca-1d6e8f231912
  uuid = 04d87d6c-092a-4568-bdca-1d6e8f231912
  version = 3
  role = Master
  remotePath = unc-srv-hyp1.cfu.local:/exports/import_domain
  type = NFS
  class

Re: [ovirt-users] Reinstalling a new oVirt Manager

2015-03-18 Thread VONDRA Alain
Is there normal that in General tab of the storage Domain imported, Nothing is 
allocated :


Size:   2047 GB
Available:  1576 GB
Used:   471 GB
Allocated:  [N/A]
Over Allocation Ratio:  0%




 So I have imported the SD and no VMs are seen...
 What can I do ?
 I'm sure there are many VMs in this SD, why can I reach them ?
 I've put the SD in Maintenance, now.
 Help 


 What do you think about it Simone ?
 Thanks



  Do you think that I can import the SDs in my new Data Center without
  any risk to destroy the VMs inside them ??
  Thank you for your advice.

  If no other engine is managing them, you can safely import the
  existing storage domain.
  As usual, is always a good idea to keep a backup.

 There is no other engine anymore, when you say to keep a backup, you
 talk about the engine or the SAN storage ???

If you are afraid to loose your VM images I talking about back-upping the 
storage.

 What I am afraid is about the Data in the iSCSI SAN, I can't make a
 backup of this.

A lot of SAN provides backup or snapshot capabilities.
Otherwise, once mounted, an iSCSI device is just a block device so, assuming 
that you have enough free space somewhere, at least you can still dump it.

 
 
  Alain VONDRA
  Chargé d'exploitation des Systèmes d'Information Direction
  Administrative et Financière
  +33 1 44 39 77 76
  UNICEF France
  3 rue Duguay Trouin  75006 PARIS
  www.unicef.fr
 
 
 
 


 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.fr






 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.fr






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information Direction Administrative et 
Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




  -Message d'origine-
  De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la
  part de VONDRA Alain Envoyé : mardi 17 mars 2015 23:33 À : Simone
  Tiraboschi Cc : users@ovirt.org Objet : Re: [ovirt-users]
  Reinstalling a new oVirt Manager
 
  Ok great, I can see the different storage that I want to import, but
  I can't see the VMs on the un-connected pool.
  So anyway I have to go further and import the storage domain passing
  the alert message.
  Am I right ?
  No other way to see the VMs in SD :
 
  [root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainsList
  7e40772a-fe94-4fb2-94c4-6198bed04a6a
  0fec0486-7863-49bc-a4ab-d2c7ac48258a
  d7b9d7cc-f7d6-43c7-ae13-e720951657c9
  1f6dec51-12a6-41ed-9d14-8f0ad4e062d2
  f9a0076d-e041-4d8f-a627-223562b84b90
  04d87d6c-092a-4568-bdca-1d6e8f231912
 
  [root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo
  7e40772a-fe94-4fb2-94c4-6198bed04a6a
  uuid = 7e40772a-fe94-4fb2-94c4-6198bed04a6a
  vguuid = zwpINw-zgIR-oOjP-6voS-iA2n-zFRB-G76sSQ
  state = OK
  version = 3
  role = Regular
  type = ISCSI
  class = Data
  pool = ['f422de63-8869-41ef-a782-8b0c9ee03c41']
  name = VOL-UNC-PROD-01
 
  [root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo
  0fec0486-7863-49bc-a4ab-d2c7ac48258a
  uuid = 0fec0486-7863-49bc-a4ab-d2c7ac48258a
  vguuid = ta2ZFC-UwtO-xANp-ZK19-rWVo-1kBJ-ZrsQrN
  state = OK
  version = 3
  role = Regular
  type = ISCSI
  class = Data
  pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86']
  name = VOL-UNC-TEST
 
  [root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo
  d7b9d7cc-f7d6-43c7-ae13-e720951657c9
  uuid = d7b9d7cc-f7d6-43c7-ae13-e720951657c9
  vguuid = zyiwLa-STgp-v3r8-KJqj-1AIP-rC2k-4NuXqf
  state = OK
  version = 3
  role = Regular
  type = ISCSI
  class = Data
  pool = ['f422de63-8869-41ef-a782-8b0c9ee03c41']
  name = VOL-UNC-PROD-02
 
  [root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo
  1f6dec51-12a6-41ed-9d14-8f0ad4e062d2
  uuid = 1f6dec51-12a6-41ed-9d14-8f0ad4e062d2
  vguuid = 6itdyW-WLid-fTu6-HAJd-dpSj-HpbH-T4ZSVA
  state = OK
  version = 3
  role = Regular
  type = ISCSI
  class = Data
  pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86']
  name = VOL-UNC-NAS-01
 
  [root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo
  f9a0076d-e041-4d8f-a627-223562b84b90
  uuid = f9a0076d-e041-4d8f-a627-223562b84b90
  version = 0
  role = Regular
  remotePath = unc-srv-kman:/var/lib/exports/iso
  type = NFS
  class = Iso

Re: [ovirt-users] Reinstalling a new oVirt Manager

2015-03-17 Thread VONDRA Alain
Hi everybody,
Is there anyboby who can help me ?
Thanks



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : VONDRA Alain
Envoyé : mardi 17 mars 2015 14:40
À : VONDRA Alain; Simone Tiraboschi
Cc : users@ovirt.org
Objet : RE: [ovirt-users] Reinstalling a new oVirt Manager

To complete my previous post, if this storage domain doesn't contain VM, but 
just Disks attached to other VMs from other Storage Domain.
How can I check it before breaking the rest of my data importing other SD ???
Thanks


No I don't see any VM images, that the big problem...

 Ok, I've done that action, but after I don't any Import VMs and
 Import Templates tabs
 What's happening 
 Alain

You don't have to explicitly re-import each VM.
You should find your storage domain with all the preexisting VM images.



 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.fr






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information Direction Administrative et 
Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




 -Message d'origine-
 De : Simone Tiraboschi [mailto:stira...@redhat.com] Envoyé : mardi 17
 mars 2015 12:04 À : VONDRA Alain Cc : users@ovirt.org Objet : Re:
 [ovirt-users] Reinstalling a new oVirt Manager



 - Original Message -
  From: VONDRA Alain avon...@unicef.fr
  To: VONDRA Alain avon...@unicef.fr, Simone Tiraboschi
  stira...@redhat.com
  Cc: users@ovirt.org
  Sent: Tuesday, March 17, 2015 11:29:23 AM
  Subject: RE: [ovirt-users] Reinstalling a new oVirt Manager
 
  Hi,
  The plan using import Domain seems to be OK, but when I finalize the
  importation of a Data/iScsi I have this alert :
 
  Storage Domain(s) are already attached to a Data Center. Approving
  this operation might cause data corruption if both Data Centers are active.
 
  How can I detach this domain to a non visible old Data Center ??
  Can I pass this alert without data lost ?

 If the old engine is no more active and the new one is using a new
 database and not an imported one you are safe to proceed.

  Thanks
  Alain
 
 
 
 
 
 
 
  Alain VONDRA
  Chargé d'exploitation des Systèmes d'Information Direction
  Administrative et Financière
  +33 1 44 39 77 76
  UNICEF France
  3 rue Duguay Trouin  75006 PARIS
  www.unicef.fr
 
 
 
 
  -Message d'origine-
  De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la
  part de VONDRA Alain Envoyé : lundi 16 mars 2015 13:52 À : Simone
  Tiraboschi Cc : users@ovirt.org Objet : Re: [ovirt-users]
  Reinstalling a new oVirt Manager
 
  I plan to reinstall on a cloned VM from the original one, I have
  cleaned the previous version, and made an engine-setup.
  So I have backups from the previous Manager, I can backup to the new one.
  But, reading the overt-engine-backup, it seems to be possible only
  before doing engine-setup.
  Is that right or may I launch a backup after an engine-setup ?
  An engine-clean is enough to use engine-backup ?
 
  Thanks
 
 
 
 
 
  Alain VONDRA
  Chargé d'exploitation des Systèmes d'Information Direction
  Administrative et Financière
  +33 1 44 39 77 76
  UNICEF France
  3 rue Duguay Trouin  75006 PARIS
  www.unicef.fr
 
 
 
 
  -Message d'origine-
  De : Simone Tiraboschi [mailto:stira...@redhat.com] Envoyé : lundi
  16 mars
  2015 11:55 À : VONDRA Alain Cc : Roy Golan; users@ovirt.org Objet : Re:
  [ovirt-users] Reinstalling a new oVirt Manager
 
 
 
  - Original Message -
   From: VONDRA Alain avon...@unicef.fr
   To: Roy Golan rgo...@redhat.com
   Cc: users@ovirt.org
   Sent: Monday, March 16, 2015 11:14:10 AM
   Subject: [ovirt-users]  Reinstalling a new oVirt Manager
  
   Hi
   I want to reinstall a new clean oVirt Manager, and I have a question :
   If I install a new manager, do I recover the datacenter and all
   the Vms installed in it without any lost of data ?
   What is the best practice to do this safely ?
   Thank you for your help
   Alain
 
  Are you planning to install on a new host/VM?
 
  You have basically two alternatives:
  A. backup the DB and restore it on the new engine as described here:
  http://www.ovirt.org/Ovirt-engine-backup
 
  B. Start from scratch with a new engine on a new DB and re-import
  existing storage domains:
  http://www.ovirt.org/Features/ImportStorageDomain
 
  Option B involves a lot of manual steps but it could be also used as
  a disaster recovery flow when the DB is for any reasons lost or corrupted.
 
 
 
   Alain VONDRA
   Chargé d'exploitation des

Re: [ovirt-users] Reinstalling a new oVirt Manager

2015-03-17 Thread VONDRA Alain
Hi,
The plan using import Domain seems to be OK, but when I finalize the 
importation of a Data/iScsi I have this alert :

Storage Domain(s) are already attached to a Data Center. Approving this 
operation might cause data corruption if both Data Centers are active.

How can I detach this domain to a non visible old Data Center ??
Can I pass this alert without data lost ?

Thanks
Alain







Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la part de 
VONDRA Alain
Envoyé : lundi 16 mars 2015 13:52
À : Simone Tiraboschi
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Reinstalling a new oVirt Manager

I plan to reinstall on a cloned VM from the original one, I have cleaned the 
previous version, and made an engine-setup.
So I have backups from the previous Manager, I can backup to the new one.
But, reading the overt-engine-backup, it seems to be possible only before doing 
engine-setup.
Is that right or may I launch a backup after an engine-setup ?
An engine-clean is enough to use engine-backup ?

Thanks





Alain VONDRA
Chargé d'exploitation des Systèmes d'Information Direction Administrative et 
Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : Simone Tiraboschi [mailto:stira...@redhat.com] Envoyé : lundi 16 mars 2015 
11:55 À : VONDRA Alain Cc : Roy Golan; users@ovirt.org Objet : Re: 
[ovirt-users] Reinstalling a new oVirt Manager



- Original Message -
 From: VONDRA Alain avon...@unicef.fr
 To: Roy Golan rgo...@redhat.com
 Cc: users@ovirt.org
 Sent: Monday, March 16, 2015 11:14:10 AM
 Subject: [ovirt-users]  Reinstalling a new oVirt Manager

 Hi
 I want to reinstall a new clean oVirt Manager, and I have a question :
 If I install a new manager, do I recover the datacenter and all the
 Vms installed in it without any lost of data ?
 What is the best practice to do this safely ?
 Thank you for your help
 Alain

Are you planning to install on a new host/VM?

You have basically two alternatives:
A. backup the DB and restore it on the new engine as described here:
http://www.ovirt.org/Ovirt-engine-backup

B. Start from scratch with a new engine on a new DB and re-import existing 
storage domains:
http://www.ovirt.org/Features/ImportStorageDomain

Option B involves a lot of manual steps but it could be also used as a disaster 
recovery flow when the DB is for any reasons lost or corrupted.



 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.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] Reinstalling a new oVirt Manager

2015-03-17 Thread VONDRA Alain
Is there any command to verify if the storage domain contains VMs or not ?





Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : VONDRA Alain
Envoyé : mardi 17 mars 2015 16:41
À : VONDRA Alain; Simone Tiraboschi
Cc : users@ovirt.org
Objet : RE: [ovirt-users] Reinstalling a new oVirt Manager

Hi everybody,
Is there anyboby who can help me ?
Thanks



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : VONDRA Alain
Envoyé : mardi 17 mars 2015 14:40
À : VONDRA Alain; Simone Tiraboschi
Cc : users@ovirt.org
Objet : RE: [ovirt-users] Reinstalling a new oVirt Manager

To complete my previous post, if this storage domain doesn't contain VM, but 
just Disks attached to other VMs from other Storage Domain.
How can I check it before breaking the rest of my data importing other SD ???
Thanks


No I don't see any VM images, that the big problem...

 Ok, I've done that action, but after I don't any Import VMs and
 Import Templates tabs
 What's happening 
 Alain

You don't have to explicitly re-import each VM.
You should find your storage domain with all the preexisting VM images.



 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.fr






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information Direction Administrative et 
Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information Direction Administrative et 
Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




 -Message d'origine-
 De : Simone Tiraboschi [mailto:stira...@redhat.com] Envoyé : mardi 17
 mars 2015 12:04 À : VONDRA Alain Cc : users@ovirt.org Objet : Re:
 [ovirt-users] Reinstalling a new oVirt Manager



 - Original Message -
  From: VONDRA Alain avon...@unicef.fr
  To: VONDRA Alain avon...@unicef.fr, Simone Tiraboschi
  stira...@redhat.com
  Cc: users@ovirt.org
  Sent: Tuesday, March 17, 2015 11:29:23 AM
  Subject: RE: [ovirt-users] Reinstalling a new oVirt Manager
 
  Hi,
  The plan using import Domain seems to be OK, but when I finalize the
  importation of a Data/iScsi I have this alert :
 
  Storage Domain(s) are already attached to a Data Center. Approving
  this operation might cause data corruption if both Data Centers are active.
 
  How can I detach this domain to a non visible old Data Center ??
  Can I pass this alert without data lost ?

 If the old engine is no more active and the new one is using a new
 database and not an imported one you are safe to proceed.

  Thanks
  Alain
 
 
 
 
 
 
 
  Alain VONDRA
  Chargé d'exploitation des Systèmes d'Information Direction
  Administrative et Financière
  +33 1 44 39 77 76
  UNICEF France
  3 rue Duguay Trouin  75006 PARIS
  www.unicef.fr
 
 
 
 
  -Message d'origine-
  De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la
  part de VONDRA Alain Envoyé : lundi 16 mars 2015 13:52 À : Simone
  Tiraboschi Cc : users@ovirt.org Objet : Re: [ovirt-users]
  Reinstalling a new oVirt Manager
 
  I plan to reinstall on a cloned VM from the original one, I have
  cleaned the previous version, and made an engine-setup.
  So I have backups from the previous Manager, I can backup to the new one.
  But, reading the overt-engine-backup, it seems to be possible only
  before doing engine-setup.
  Is that right or may I launch a backup after an engine-setup ?
  An engine-clean is enough to use engine-backup ?
 
  Thanks
 
 
 
 
 
  Alain VONDRA
  Chargé d'exploitation des Systèmes d'Information Direction
  Administrative et Financière
  +33 1 44 39 77 76
  UNICEF France
  3 rue Duguay Trouin  75006 PARIS
  www.unicef.fr
 
 
 
 
  -Message d'origine-
  De : Simone Tiraboschi [mailto:stira...@redhat.com] Envoyé : lundi
  16 mars
  2015 11:55 À : VONDRA Alain Cc : Roy Golan; users@ovirt.org Objet : Re:
  [ovirt-users] Reinstalling a new oVirt Manager
 
 
 
  - Original Message -
   From: VONDRA Alain avon...@unicef.fr
   To: Roy Golan rgo...@redhat.com
   Cc: users@ovirt.org
   Sent: Monday, March 16, 2015 11:14:10 AM
   Subject: [ovirt-users]  Reinstalling a new oVirt Manager
  
   Hi
   I want to reinstall a new clean oVirt Manager, and I have a question :
   If I install a new manager, do I recover the datacenter and all
   the Vms installed in it without any lost of data ?
   What is the best practice to do this safely ?
   Thank you for your help
   Alain
 
  Are you planning to install on a new host/VM?
 
  You have basically two alternatives

Re: [ovirt-users] Reinstalling a new oVirt Manager

2015-03-17 Thread VONDRA Alain
Ok great, I can see the different storage that I want to import, but I can't 
see the VMs on the un-connected pool.
So anyway I have to go further and import the storage domain passing the alert 
message.
Am I right ?
No other way to see the VMs in SD :

[root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainsList
7e40772a-fe94-4fb2-94c4-6198bed04a6a
0fec0486-7863-49bc-a4ab-d2c7ac48258a
d7b9d7cc-f7d6-43c7-ae13-e720951657c9
1f6dec51-12a6-41ed-9d14-8f0ad4e062d2
f9a0076d-e041-4d8f-a627-223562b84b90
04d87d6c-092a-4568-bdca-1d6e8f231912

[root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo 
7e40772a-fe94-4fb2-94c4-6198bed04a6a
uuid = 7e40772a-fe94-4fb2-94c4-6198bed04a6a
vguuid = zwpINw-zgIR-oOjP-6voS-iA2n-zFRB-G76sSQ
state = OK
version = 3
role = Regular
type = ISCSI
class = Data
pool = ['f422de63-8869-41ef-a782-8b0c9ee03c41']
name = VOL-UNC-PROD-01

[root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo 
0fec0486-7863-49bc-a4ab-d2c7ac48258a
uuid = 0fec0486-7863-49bc-a4ab-d2c7ac48258a
vguuid = ta2ZFC-UwtO-xANp-ZK19-rWVo-1kBJ-ZrsQrN
state = OK
version = 3
role = Regular
type = ISCSI
class = Data
pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86']
name = VOL-UNC-TEST

[root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo 
d7b9d7cc-f7d6-43c7-ae13-e720951657c9
uuid = d7b9d7cc-f7d6-43c7-ae13-e720951657c9
vguuid = zyiwLa-STgp-v3r8-KJqj-1AIP-rC2k-4NuXqf
state = OK
version = 3
role = Regular
type = ISCSI
class = Data
pool = ['f422de63-8869-41ef-a782-8b0c9ee03c41']
name = VOL-UNC-PROD-02

[root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo 
1f6dec51-12a6-41ed-9d14-8f0ad4e062d2
uuid = 1f6dec51-12a6-41ed-9d14-8f0ad4e062d2
vguuid = 6itdyW-WLid-fTu6-HAJd-dpSj-HpbH-T4ZSVA
state = OK
version = 3
role = Regular
type = ISCSI
class = Data
pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86']
name = VOL-UNC-NAS-01

[root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo 
f9a0076d-e041-4d8f-a627-223562b84b90
uuid = f9a0076d-e041-4d8f-a627-223562b84b90
version = 0
role = Regular
remotePath = unc-srv-kman:/var/lib/exports/iso
type = NFS
class = Iso
pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86']
name = ISO_DOMAIN

[root@unc-srv-hyp1  ~]$ vdsClient -s 0 getStorageDomainInfo 
04d87d6c-092a-4568-bdca-1d6e8f231912
uuid = 04d87d6c-092a-4568-bdca-1d6e8f231912
version = 3
role = Master
remotePath = unc-srv-hyp1.cfu.local:/exports/import_domain
type = NFS
class = Data
pool = ['c58a44b1-1c98-450e-97e1-3347eeb28f86']
name = VOL-NFS

[root@unc-srv-hyp1  ~]$ vdsClient -s 0 getVmsList 
c58a44b1-1c98-450e-97e1-3347eeb28f86 1f6dec51-12a6-41ed-9d14-8f0ad4e062d2
No VMs found.

[root@unc-srv-hyp1  ~]$ vdsClient -s 0 getVmsList 
f422de63-8869-41ef-a782-8b0c9ee03c41 d7b9d7cc-f7d6-43c7-ae13-e720951657c9
Unknown pool id, pool not connected: ('f422de63-8869-41ef-a782-8b0c9ee03c41',)

[root@unc-srv-hyp1  ~]$ vdsClient -s 0 getVmsList 
f422de63-8869-41ef-a782-8b0c9ee03c41 7e40772a-fe94-4fb2-94c4-6198bed04a6a
Unknown pool id, pool not connected: ('f422de63-8869-41ef-a782-8b0c9ee03c41',)







 Is there any command to verify if the storage domain contains VMs or not ?

You can execute this on one of your hosts.

# vdsClient -s 0 getStorageDomainsList
to get storage domain list, than

# vdsClient -s 0 getStorageDomainInfo domain UUID
for each of them till you identify the domain you are looking for.
You can also find there the pool UUID.

Than
# vdsClient -s 0 getVmsList pool UUID domain UUID
To get the list of VMs on that storage.



 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information
 Direction Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.fr






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




 -Message d'origine-
 De : VONDRA Alain
 Envoyé : mardi 17 mars 2015 16:41
 À : VONDRA Alain; Simone Tiraboschi
 Cc : users@ovirt.org
 Objet : RE: [ovirt-users] Reinstalling a new oVirt Manager

 Hi everybody,
 Is there anyboby who can help me ?
 Thanks



 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information
 Direction Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.fr




 -Message d'origine-
 De : VONDRA Alain
 Envoyé : mardi 17 mars 2015 14:40
 À : VONDRA Alain; Simone Tiraboschi
 Cc : users@ovirt.org
 Objet : RE: [ovirt-users] Reinstalling a new oVirt Manager

 To complete my previous post, if this storage domain doesn't contain VM

Re: [ovirt-users] Reinstalling a new oVirt Manager

2015-03-17 Thread VONDRA Alain
Ok, I've done that action, but after I don't any Import VMs and Import 
Templates tabs
What's happening 
Alain



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : Simone Tiraboschi [mailto:stira...@redhat.com]
Envoyé : mardi 17 mars 2015 12:04
À : VONDRA Alain
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Reinstalling a new oVirt Manager



- Original Message -
 From: VONDRA Alain avon...@unicef.fr
 To: VONDRA Alain avon...@unicef.fr, Simone Tiraboschi
 stira...@redhat.com
 Cc: users@ovirt.org
 Sent: Tuesday, March 17, 2015 11:29:23 AM
 Subject: RE: [ovirt-users] Reinstalling a new oVirt Manager

 Hi,
 The plan using import Domain seems to be OK, but when I finalize the
 importation of a Data/iScsi I have this alert :

 Storage Domain(s) are already attached to a Data Center. Approving
 this operation might cause data corruption if both Data Centers are active.

 How can I detach this domain to a non visible old Data Center ??
 Can I pass this alert without data lost ?

If the old engine is no more active and the new one is using a new database and 
not an imported one you are safe to proceed.

 Thanks
 Alain







 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.fr




 -Message d'origine-
 De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la
 part de VONDRA Alain Envoyé : lundi 16 mars 2015 13:52 À : Simone
 Tiraboschi Cc : users@ovirt.org Objet : Re: [ovirt-users] Reinstalling
 a new oVirt Manager

 I plan to reinstall on a cloned VM from the original one, I have
 cleaned the previous version, and made an engine-setup.
 So I have backups from the previous Manager, I can backup to the new one.
 But, reading the overt-engine-backup, it seems to be possible only
 before doing engine-setup.
 Is that right or may I launch a backup after an engine-setup ?
 An engine-clean is enough to use engine-backup ?

 Thanks





 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.fr




 -Message d'origine-
 De : Simone Tiraboschi [mailto:stira...@redhat.com] Envoyé : lundi 16
 mars
 2015 11:55 À : VONDRA Alain Cc : Roy Golan; users@ovirt.org Objet : Re:
 [ovirt-users] Reinstalling a new oVirt Manager



 - Original Message -
  From: VONDRA Alain avon...@unicef.fr
  To: Roy Golan rgo...@redhat.com
  Cc: users@ovirt.org
  Sent: Monday, March 16, 2015 11:14:10 AM
  Subject: [ovirt-users]  Reinstalling a new oVirt Manager
 
  Hi
  I want to reinstall a new clean oVirt Manager, and I have a question :
  If I install a new manager, do I recover the datacenter and all the
  Vms installed in it without any lost of data ?
  What is the best practice to do this safely ?
  Thank you for your help
  Alain

 Are you planning to install on a new host/VM?

 You have basically two alternatives:
 A. backup the DB and restore it on the new engine as described here:
 http://www.ovirt.org/Ovirt-engine-backup

 B. Start from scratch with a new engine on a new DB and re-import
 existing storage domains:
 http://www.ovirt.org/Features/ImportStorageDomain

 Option B involves a lot of manual steps but it could be also used as a
 disaster recovery flow when the DB is for any reasons lost or corrupted.



  Alain VONDRA
  Chargé d'exploitation des Systèmes d'Information Direction
  Administrative et Financière
  +33 1 44 39 77 76
  UNICEF France
  3 rue Duguay Trouin  75006 PARIS
  www.unicef.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] Reinstalling a new oVirt Manager

2015-03-17 Thread VONDRA Alain
No I don't see any VM images, that the big problem...

 Ok, I've done that action, but after I don't any Import VMs and
 Import Templates tabs
 What's happening 
 Alain

You don't have to explicitly re-import each VM.
You should find your storage domain with all the preexisting VM images.



 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.fr






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




 -Message d'origine-
 De : Simone Tiraboschi [mailto:stira...@redhat.com] Envoyé : mardi 17
 mars 2015 12:04 À : VONDRA Alain Cc : users@ovirt.org Objet : Re:
 [ovirt-users] Reinstalling a new oVirt Manager



 - Original Message -
  From: VONDRA Alain avon...@unicef.fr
  To: VONDRA Alain avon...@unicef.fr, Simone Tiraboschi
  stira...@redhat.com
  Cc: users@ovirt.org
  Sent: Tuesday, March 17, 2015 11:29:23 AM
  Subject: RE: [ovirt-users] Reinstalling a new oVirt Manager
 
  Hi,
  The plan using import Domain seems to be OK, but when I finalize the
  importation of a Data/iScsi I have this alert :
 
  Storage Domain(s) are already attached to a Data Center. Approving
  this operation might cause data corruption if both Data Centers are active.
 
  How can I detach this domain to a non visible old Data Center ??
  Can I pass this alert without data lost ?

 If the old engine is no more active and the new one is using a new
 database and not an imported one you are safe to proceed.

  Thanks
  Alain
 
 
 
 
 
 
 
  Alain VONDRA
  Chargé d'exploitation des Systèmes d'Information Direction
  Administrative et Financière
  +33 1 44 39 77 76
  UNICEF France
  3 rue Duguay Trouin  75006 PARIS
  www.unicef.fr
 
 
 
 
  -Message d'origine-
  De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la
  part de VONDRA Alain Envoyé : lundi 16 mars 2015 13:52 À : Simone
  Tiraboschi Cc : users@ovirt.org Objet : Re: [ovirt-users]
  Reinstalling a new oVirt Manager
 
  I plan to reinstall on a cloned VM from the original one, I have
  cleaned the previous version, and made an engine-setup.
  So I have backups from the previous Manager, I can backup to the new one.
  But, reading the overt-engine-backup, it seems to be possible only
  before doing engine-setup.
  Is that right or may I launch a backup after an engine-setup ?
  An engine-clean is enough to use engine-backup ?
 
  Thanks
 
 
 
 
 
  Alain VONDRA
  Chargé d'exploitation des Systèmes d'Information Direction
  Administrative et Financière
  +33 1 44 39 77 76
  UNICEF France
  3 rue Duguay Trouin  75006 PARIS
  www.unicef.fr
 
 
 
 
  -Message d'origine-
  De : Simone Tiraboschi [mailto:stira...@redhat.com] Envoyé : lundi
  16 mars
  2015 11:55 À : VONDRA Alain Cc : Roy Golan; users@ovirt.org Objet : Re:
  [ovirt-users] Reinstalling a new oVirt Manager
 
 
 
  - Original Message -
   From: VONDRA Alain avon...@unicef.fr
   To: Roy Golan rgo...@redhat.com
   Cc: users@ovirt.org
   Sent: Monday, March 16, 2015 11:14:10 AM
   Subject: [ovirt-users]  Reinstalling a new oVirt Manager
  
   Hi
   I want to reinstall a new clean oVirt Manager, and I have a question :
   If I install a new manager, do I recover the datacenter and all
   the Vms installed in it without any lost of data ?
   What is the best practice to do this safely ?
   Thank you for your help
   Alain
 
  Are you planning to install on a new host/VM?
 
  You have basically two alternatives:
  A. backup the DB and restore it on the new engine as described here:
  http://www.ovirt.org/Ovirt-engine-backup
 
  B. Start from scratch with a new engine on a new DB and re-import
  existing storage domains:
  http://www.ovirt.org/Features/ImportStorageDomain
 
  Option B involves a lot of manual steps but it could be also used as
  a disaster recovery flow when the DB is for any reasons lost or corrupted.
 
 
 
   Alain VONDRA
   Chargé d'exploitation des Systèmes d'Information Direction
   Administrative et Financière
   +33 1 44 39 77 76
   UNICEF France
   3 rue Duguay Trouin  75006 PARIS
   www.unicef.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] Reinstalling a new oVirt Manager

2015-03-17 Thread VONDRA Alain
To complete my previous post, if this storage domain doesn't contain VM, but 
just Disks attached to other VMs from other Storage Domain.
How can I check it before breaking the rest of my data importing other SD ???
Thanks


No I don't see any VM images, that the big problem...

 Ok, I've done that action, but after I don't any Import VMs and
 Import Templates tabs
 What's happening 
 Alain

You don't have to explicitly re-import each VM.
You should find your storage domain with all the preexisting VM images.



 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.fr






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information Direction Administrative et 
Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




 -Message d'origine-
 De : Simone Tiraboschi [mailto:stira...@redhat.com] Envoyé : mardi 17
 mars 2015 12:04 À : VONDRA Alain Cc : users@ovirt.org Objet : Re:
 [ovirt-users] Reinstalling a new oVirt Manager



 - Original Message -
  From: VONDRA Alain avon...@unicef.fr
  To: VONDRA Alain avon...@unicef.fr, Simone Tiraboschi
  stira...@redhat.com
  Cc: users@ovirt.org
  Sent: Tuesday, March 17, 2015 11:29:23 AM
  Subject: RE: [ovirt-users] Reinstalling a new oVirt Manager
 
  Hi,
  The plan using import Domain seems to be OK, but when I finalize the
  importation of a Data/iScsi I have this alert :
 
  Storage Domain(s) are already attached to a Data Center. Approving
  this operation might cause data corruption if both Data Centers are active.
 
  How can I detach this domain to a non visible old Data Center ??
  Can I pass this alert without data lost ?

 If the old engine is no more active and the new one is using a new
 database and not an imported one you are safe to proceed.

  Thanks
  Alain
 
 
 
 
 
 
 
  Alain VONDRA
  Chargé d'exploitation des Systèmes d'Information Direction
  Administrative et Financière
  +33 1 44 39 77 76
  UNICEF France
  3 rue Duguay Trouin  75006 PARIS
  www.unicef.fr
 
 
 
 
  -Message d'origine-
  De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la
  part de VONDRA Alain Envoyé : lundi 16 mars 2015 13:52 À : Simone
  Tiraboschi Cc : users@ovirt.org Objet : Re: [ovirt-users]
  Reinstalling a new oVirt Manager
 
  I plan to reinstall on a cloned VM from the original one, I have
  cleaned the previous version, and made an engine-setup.
  So I have backups from the previous Manager, I can backup to the new one.
  But, reading the overt-engine-backup, it seems to be possible only
  before doing engine-setup.
  Is that right or may I launch a backup after an engine-setup ?
  An engine-clean is enough to use engine-backup ?
 
  Thanks
 
 
 
 
 
  Alain VONDRA
  Chargé d'exploitation des Systèmes d'Information Direction
  Administrative et Financière
  +33 1 44 39 77 76
  UNICEF France
  3 rue Duguay Trouin  75006 PARIS
  www.unicef.fr
 
 
 
 
  -Message d'origine-
  De : Simone Tiraboschi [mailto:stira...@redhat.com] Envoyé : lundi
  16 mars
  2015 11:55 À : VONDRA Alain Cc : Roy Golan; users@ovirt.org Objet : Re:
  [ovirt-users] Reinstalling a new oVirt Manager
 
 
 
  - Original Message -
   From: VONDRA Alain avon...@unicef.fr
   To: Roy Golan rgo...@redhat.com
   Cc: users@ovirt.org
   Sent: Monday, March 16, 2015 11:14:10 AM
   Subject: [ovirt-users]  Reinstalling a new oVirt Manager
  
   Hi
   I want to reinstall a new clean oVirt Manager, and I have a question :
   If I install a new manager, do I recover the datacenter and all
   the Vms installed in it without any lost of data ?
   What is the best practice to do this safely ?
   Thank you for your help
   Alain
 
  Are you planning to install on a new host/VM?
 
  You have basically two alternatives:
  A. backup the DB and restore it on the new engine as described here:
  http://www.ovirt.org/Ovirt-engine-backup
 
  B. Start from scratch with a new engine on a new DB and re-import
  existing storage domains:
  http://www.ovirt.org/Features/ImportStorageDomain
 
  Option B involves a lot of manual steps but it could be also used as
  a disaster recovery flow when the DB is for any reasons lost or corrupted.
 
 
 
   Alain VONDRA
   Chargé d'exploitation des Systèmes d'Information Direction
   Administrative et Financière
   +33 1 44 39 77 76
   UNICEF France
   3 rue Duguay Trouin  75006 PARIS
   www.unicef.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

[ovirt-users] Reinstalling a new oVirt Manager

2015-03-16 Thread VONDRA Alain
Hi
I want to reinstall a new clean oVirt Manager, and I have a question :
If I install a new manager, do I recover the datacenter and all the Vms 
installed in it without any lost of data ?
What is the best practice to do this safely ?
Thank you for your help
Alain


Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




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


Re: [ovirt-users] engine-setup oVirt 3.5.1.1 failed

2015-03-16 Thread VONDRA Alain
Hi,
I finally found a workaround using one more time engine-cleanup, without 
deleting the engine database and it passed.
I still have a problem, and I’d like to reinstall a new oVirt Manager, and I 
have a question :
If I install a new manager, do I recover the datacenter and all the Vms 
installed in it without any lost of data ?
What is the best practice to do this safely ?
Thank you for your help







Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.frhttp://www.unicef.fr/

http://www.unicef.fr

http://www.unicef.fr/

[cid:signatureb84e55]http://www.unicef.fr/







http://www.unicef.fr

De : Roy Golan [mailto:rgo...@redhat.com]
Envoyé : samedi 14 mars 2015 11:29
À : VONDRA Alain
Cc : Mikola Rose; users@ovirt.org; Yedidyah Bar David
Objet : Re: [ovirt-users] engine-setup oVirt 3.5.1.1 failed


Grep the function name under the setup directory, its in one of the python 
setup plugin. Comment it out and try again.
On Mar 13, 2015 1:54 PM, VONDRA Alain 
avon...@unicef.frmailto:avon...@unicef.fr wrote:

Hi,

Nobody there has any idea about this issue ?

Is there any Workaround ??

Thank you






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.frhttp://www.unicef.fr/


[cid:signature26d7cc]http://www.unicef.fr/










De : users-boun...@ovirt.orgmailto:users-boun...@ovirt.org 
[mailto:users-boun...@ovirt.org] De la part de VONDRA Alain
Envoyé : mercredi 11 mars 2015 18:54
À : Mikola Rose; Yedidyah Bar David
Cc : users@ovirt.orgmailto:users@ovirt.org
Objet : Re: [ovirt-users] engine-setup oVirt 3.5.1.1 failed



Hi,

I have an issue when I try to update oVirt from 3.5.0.1 to 3.5.1.1, the setup 
fails in this step :

[ ERROR ] Failed to execute stage 'Misc configuration': function 
getdwhhistorytimekeepingbyvarname(unknown) does not exist LINE 2:

select * from GetDwhHistoryTimekeepingByVarName( ^ HINT:  No function matches 
the given name and argument types. You might need to add explicit type casts.

Have you any ideas to pass this problem, my Cloud is down...

Thank you for your help








Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.frhttp://www.unicef.fr/


[cid:image001.gif@01D05D8C.C4407E70]http://www.unicef.fr/










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


Re: [ovirt-users] Reinstalling a new oVirt Manager

2015-03-16 Thread VONDRA Alain
I plan to reinstall on a cloned VM from the original one, I have cleaned the 
previous version, and made an engine-setup.
So I have backups from the previous Manager, I can backup to the new one.
But, reading the overt-engine-backup, it seems to be possible only before doing 
engine-setup.
Is that right or may I launch a backup after an engine-setup ?
An engine-clean is enough to use engine-backup ?

Thanks





Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : Simone Tiraboschi [mailto:stira...@redhat.com]
Envoyé : lundi 16 mars 2015 11:55
À : VONDRA Alain
Cc : Roy Golan; users@ovirt.org
Objet : Re: [ovirt-users] Reinstalling a new oVirt Manager



- Original Message -
 From: VONDRA Alain avon...@unicef.fr
 To: Roy Golan rgo...@redhat.com
 Cc: users@ovirt.org
 Sent: Monday, March 16, 2015 11:14:10 AM
 Subject: [ovirt-users]  Reinstalling a new oVirt Manager

 Hi
 I want to reinstall a new clean oVirt Manager, and I have a question :
 If I install a new manager, do I recover the datacenter and all the
 Vms installed in it without any lost of data ?
 What is the best practice to do this safely ?
 Thank you for your help
 Alain

Are you planning to install on a new host/VM?

You have basically two alternatives:
A. backup the DB and restore it on the new engine as described here:
http://www.ovirt.org/Ovirt-engine-backup

B. Start from scratch with a new engine on a new DB and re-import existing 
storage domains:
http://www.ovirt.org/Features/ImportStorageDomain

Option B involves a lot of manual steps but it could be also used as a disaster 
recovery flow when the DB is for any reasons lost or corrupted.



 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.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] engine-setup oVirt 3.5.1.1 failed

2015-03-13 Thread VONDRA Alain
Hi,
Nobody there has any idea about this issue ?
Is there any Workaround ??
Thank you





Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.frhttp://www.unicef.fr/

http://www.unicef.fr

http://www.unicef.fr/

[cid:signature26d7cc]http://www.unicef.fr/







http://www.unicef.fr

De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la part de 
VONDRA Alain
Envoyé : mercredi 11 mars 2015 18:54
À : Mikola Rose; Yedidyah Bar David
Cc : users@ovirt.org
Objet : Re: [ovirt-users] engine-setup oVirt 3.5.1.1 failed

Hi,
I have an issue when I try to update oVirt from 3.5.0.1 to 3.5.1.1, the setup 
fails in this step :
[ ERROR ] Failed to execute stage 'Misc configuration': function 
getdwhhistorytimekeepingbyvarname(unknown) does not exist LINE 2:
select * from GetDwhHistoryTimekeepingByVarName( ^ HINT:  No function matches 
the given name and argument types. You might need to add explicit type casts.
Have you any ideas to pass this problem, my Cloud is down...
Thank you for your help





Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.frhttp://www.unicef.fr/


[cid:image001.gif@01D05D8C.C4407E70]http://www.unicef.fr/









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


Re: [ovirt-users] engine-setup oVirt 3.5.1.1 failed

2015-03-11 Thread VONDRA Alain
Hi,
I have an issue when I try to update oVirt from 3.5.0.1 to 3.5.1.1, the setup 
fails in this step :
[ ERROR ] Failed to execute stage 'Misc configuration': function 
getdwhhistorytimekeepingbyvarname(unknown) does not exist LINE 2:
select * from GetDwhHistoryTimekeepingByVarName( ^ HINT:  No function matches 
the given name and argument types. You might need to add explicit type casts.
Have you any ideas to pass this problem, my Cloud is down...
Thank you for your help






Alain VONDRA
Charg? d'exploitation des Syst?mes d'Information
Direction Administrative et Financi?re
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.frhttp://www.unicef.fr/

http://www.unicef.fr

http://www.unicef.fr/

[cid:signature3d7e4d]http://www.unicef.fr/







http://www.unicef.fr

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


[ovirt-users] Enable Smart Array P212 thru VM

2015-02-12 Thread VONDRA Alain
Hi,
I'd like to know if there is any solution to enable a Smart Array P212 PCIe 
card over a Windows VM ?
I've a Backup Acronis Software to install, and I'd prefer to install it on a 
CentOS distrib, and not on a Windows 2008 R2.
Our old backup software is Symantec Backup Exec and we have to keep the 
possibility to restore old tapes on demand.
So the solution to keep a sleeping Windows VM, and have the way to enable it, 
just to restore a tape would be perfect.
I've tried to add a new hardware with virt-manager, but this action just freeze 
the manager, and I need to restart the libvirtd service to unlock it.
If anybody knows a way to do that, I'd be very grateful.
Thanks in advance


Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




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


Re: [ovirt-users] Enable Smart Array P212 thru VM

2015-02-12 Thread VONDRA Alain
Hi,
Thank you for the links, the first second one seems to be too expensive, but 
the first one give an nice way.
I'm trying to compile the solution and give a try on it, sounds good.
We'll see...




Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la part de 
Stefano Danzi
Envoyé : jeudi 12 février 2015 11:09
À : users@ovirt.org
Objet : Re: [ovirt-users] Enable Smart Array P212 thru VM

You could share a tape library as iSCSI target and connet it to the VM.
I've never do a similar thing but internet give some suggestions:

http://scst.sourceforge.net/target_iscsi.html
http://www.kraftkennedy.com/virtualizing-scsi-tape-drives-with-an-iscsi-bridge/



Il 12/02/2015 10.40, VONDRA Alain ha scritto:
 Hi,
 I'd like to know if there is any solution to enable a Smart Array P212 PCIe 
 card over a Windows VM ?
 I've a Backup Acronis Software to install, and I'd prefer to install it on a 
 CentOS distrib, and not on a Windows 2008 R2.
 Our old backup software is Symantec Backup Exec and we have to keep the 
 possibility to restore old tapes on demand.
 So the solution to keep a sleeping Windows VM, and have the way to enable it, 
 just to restore a tape would be perfect.
 I've tried to add a new hardware with virt-manager, but this action just 
 freeze the manager, and I need to restart the libvirtd service to unlock it.
 If anybody knows a way to do that, I'd be very grateful.
 Thanks in advance


 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.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] Enable Smart Array P212 thru VM

2015-02-12 Thread VONDRA Alain
I use libvirt for this backup server, and I also have a cluster on oVirt, but 
for this case I only want to use a virtualized Windows 2008 to in case restore 
old tape created on our old Symantec BackUp Exec 2010 software.





Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : Yedidyah Bar David [mailto:d...@redhat.com]
Envoyé : jeudi 12 février 2015 14:45
À : VONDRA Alain
Cc : Stefano Danzi; users@ovirt.org
Objet : Re: Enable Smart Array P212 thru VM

I thought that if you ask on users@ovirt, you use ovirt...

What do you use, then? iiuc libvirt already supports that.

- Original Message -
 From: VONDRA Alain avon...@unicef.fr
 To: Yedidyah Bar David d...@redhat.com, Stefano Danzi
 s.da...@hawai.it
 Cc: users@ovirt.org
 Sent: Thursday, February 12, 2015 3:39:22 PM
 Subject: RE: Enable Smart Array P212 thru VM

 I can't unlikely take this solution, because I don't use oVirt and I
 have to use a CentOS 6.6 version because o f the kernel version 2.6
 supported by Acronis Backup Thanks





 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.fr




 -Message d'origine-
 De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la
 part de Yedidyah Bar David Envoyé : jeudi 12 février 2015 11:24 À :
 Stefano Danzi Cc : users@ovirt.org Objet : Re: [ovirt-users] Enable
 Smart Array P212 thru VM

 Another future option, targeted for 3.6, is pci passthrough [1] [2].

 [1] http://www.ovirt.org/Features/hostdev_passthrough
 [2] https://bugzilla.redhat.com/show_bug.cgi?id=1099760

 - Original Message -
  From: Stefano Danzi s.da...@hawai.it
  To: users@ovirt.org
  Sent: Thursday, February 12, 2015 12:09:01 PM
  Subject: Re: [ovirt-users] Enable Smart Array P212 thru VM
 
  You could share a tape library as iSCSI target and connet it to the VM.
  I've never do a similar thing but internet give some suggestions:
 
  http://scst.sourceforge.net/target_iscsi.html
  http://www.kraftkennedy.com/virtualizing-scsi-tape-drives-with-an-is
  cs
  i-bridge/
 
 
 
  Il 12/02/2015 10.40, VONDRA Alain ha scritto:
   Hi,
   I'd like to know if there is any solution to enable a Smart Array
   P212 PCIe card over a Windows VM ?
   I've a Backup Acronis Software to install, and I'd prefer to
   install it on a CentOS distrib, and not on a Windows 2008 R2.
   Our old backup software is Symantec Backup Exec and we have to
   keep the possibility to restore old tapes on demand.
   So the solution to keep a sleeping Windows VM, and have the way to
   enable it, just to restore a tape would be perfect.
   I've tried to add a new hardware with virt-manager, but this
   action just freeze the manager, and I need to restart the libvirtd
   service to unlock it.
   If anybody knows a way to do that, I'd be very grateful.
   Thanks in advance
  
  
   Alain VONDRA
   Chargé d'exploitation des Systèmes d'Information Direction
   Administrative et Financière
   +33 1 44 39 77 76
   UNICEF France
   3 rue Duguay Trouin  75006 PARIS
   www.unicef.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
 
 --
 Didi
 ___
 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


Re: [ovirt-users] Enable Smart Array P212 thru VM

2015-02-12 Thread VONDRA Alain
That's right the Windows VM is managed by libvirt via virt-manager on a CentOS 
6.6 host.
I just want to share my HP Smart Array P212 PCIe SAS Card between Acronis (on 
physical CentOS 6.6) and Symantec Backup Exec (on Windows 2008 VM), I need to 
be able to restore files from DAT tapes created in Backup Exec.
So the Windows will be UP only for emergency backup, the rest of the time the 
device will be used to make new backup/Restore operations.
I just want to have a backup solution, for old files without keeping a physical 
server for that.




Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : Yedidyah Bar David [mailto:d...@redhat.com]
Envoyé : jeudi 12 février 2015 15:02
À : VONDRA Alain
Cc : Stefano Danzi; users@ovirt.org
Objet : Re: Enable Smart Array P212 thru VM

So your Windows VM is managed by libvirt directly? virt-manager/virsh?
Then I think it should be supported, never tried that myself. Try searching for 
'libvirt pci passthrough' and/or ask on some libvirt mailing list.

If it's something else, please give more details - explain what you want/need 
to run where, OSes, virt tools/products and versions, etc.

Best,

- Original Message -
 From: VONDRA Alain avon...@unicef.fr
 To: Yedidyah Bar David d...@redhat.com
 Cc: Stefano Danzi s.da...@hawai.it, users@ovirt.org
 Sent: Thursday, February 12, 2015 3:54:55 PM
 Subject: RE: Enable Smart Array P212 thru VM

 I use libvirt for this backup server, and I also have a cluster on
 oVirt, but for this case I only want to use a virtualized Windows 2008
 to in case restore old tape created on our old Symantec BackUp Exec 2010 
 software.





 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.fr




 -Message d'origine-
 De : Yedidyah Bar David [mailto:d...@redhat.com] Envoyé : jeudi 12
 février 2015 14:45 À : VONDRA Alain Cc : Stefano Danzi;
 users@ovirt.org Objet : Re: Enable Smart Array P212 thru VM

 I thought that if you ask on users@ovirt, you use ovirt...

 What do you use, then? iiuc libvirt already supports that.

 - Original Message -
  From: VONDRA Alain avon...@unicef.fr
  To: Yedidyah Bar David d...@redhat.com, Stefano Danzi
  s.da...@hawai.it
  Cc: users@ovirt.org
  Sent: Thursday, February 12, 2015 3:39:22 PM
  Subject: RE: Enable Smart Array P212 thru VM
 
  I can't unlikely take this solution, because I don't use oVirt and I
  have to use a CentOS 6.6 version because o f the kernel version 2.6
  supported by Acronis Backup Thanks
 
 
 
 
 
  Alain VONDRA
  Chargé d'exploitation des Systèmes d'Information Direction
  Administrative et Financière
  +33 1 44 39 77 76
  UNICEF France
  3 rue Duguay Trouin  75006 PARIS
  www.unicef.fr
 
 
 
 
  -Message d'origine-
  De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la
  part de Yedidyah Bar David Envoyé : jeudi 12 février 2015 11:24 À :
  Stefano Danzi Cc : users@ovirt.org Objet : Re: [ovirt-users] Enable
  Smart Array P212 thru VM
 
  Another future option, targeted for 3.6, is pci passthrough [1] [2].
 
  [1] http://www.ovirt.org/Features/hostdev_passthrough
  [2] https://bugzilla.redhat.com/show_bug.cgi?id=1099760
 
  - Original Message -
   From: Stefano Danzi s.da...@hawai.it
   To: users@ovirt.org
   Sent: Thursday, February 12, 2015 12:09:01 PM
   Subject: Re: [ovirt-users] Enable Smart Array P212 thru VM
  
   You could share a tape library as iSCSI target and connet it to the VM.
   I've never do a similar thing but internet give some suggestions:
  
   http://scst.sourceforge.net/target_iscsi.html
   http://www.kraftkennedy.com/virtualizing-scsi-tape-drives-with-an-
   is
   cs
   i-bridge/
  
  
  
   Il 12/02/2015 10.40, VONDRA Alain ha scritto:
Hi,
I'd like to know if there is any solution to enable a Smart
Array
P212 PCIe card over a Windows VM ?
I've a Backup Acronis Software to install, and I'd prefer to
install it on a CentOS distrib, and not on a Windows 2008 R2.
Our old backup software is Symantec Backup Exec and we have to
keep the possibility to restore old tapes on demand.
So the solution to keep a sleeping Windows VM, and have the way
to enable it, just to restore a tape would be perfect.
I've tried to add a new hardware with virt-manager, but this
action just freeze the manager, and I need to restart the
libvirtd service to unlock it.
If anybody knows a way to do that, I'd be very grateful.
Thanks in advance
   
   
Alain VONDRA
Chargé d'exploitation des Systèmes d'Information Direction
Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS www.unicef.fr

Re: [ovirt-users] Enable Smart Array P212 thru VM

2015-02-12 Thread VONDRA Alain
I can't unlikely take this solution, because I don't use oVirt and I have to 
use a CentOS 6.6 version because o f the kernel version 2.6 supported by 
Acronis Backup
Thanks





Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la part de 
Yedidyah Bar David
Envoyé : jeudi 12 février 2015 11:24
À : Stefano Danzi
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Enable Smart Array P212 thru VM

Another future option, targeted for 3.6, is pci passthrough [1] [2].

[1] http://www.ovirt.org/Features/hostdev_passthrough
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1099760

- Original Message -
 From: Stefano Danzi s.da...@hawai.it
 To: users@ovirt.org
 Sent: Thursday, February 12, 2015 12:09:01 PM
 Subject: Re: [ovirt-users] Enable Smart Array P212 thru VM

 You could share a tape library as iSCSI target and connet it to the VM.
 I've never do a similar thing but internet give some suggestions:

 http://scst.sourceforge.net/target_iscsi.html
 http://www.kraftkennedy.com/virtualizing-scsi-tape-drives-with-an-iscs
 i-bridge/



 Il 12/02/2015 10.40, VONDRA Alain ha scritto:
  Hi,
  I'd like to know if there is any solution to enable a Smart Array
  P212 PCIe card over a Windows VM ?
  I've a Backup Acronis Software to install, and I'd prefer to install
  it on a CentOS distrib, and not on a Windows 2008 R2.
  Our old backup software is Symantec Backup Exec and we have to keep
  the possibility to restore old tapes on demand.
  So the solution to keep a sleeping Windows VM, and have the way to
  enable it, just to restore a tape would be perfect.
  I've tried to add a new hardware with virt-manager, but this action
  just freeze the manager, and I need to restart the libvirtd service
  to unlock it.
  If anybody knows a way to do that, I'd be very grateful.
  Thanks in advance
 
 
  Alain VONDRA
  Chargé d'exploitation des Systèmes d'Information Direction
  Administrative et Financière
  +33 1 44 39 77 76
  UNICEF France
  3 rue Duguay Trouin  75006 PARIS
  www.unicef.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

--
Didi
___
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] RESOLVED USB Modem in a VM

2015-01-19 Thread VONDRA Alain
It's working, in fact after the update from oVirt 3.4 to 3.5 my Cluster 
compatibility version was still in 3.4, I've changed it to 3.5 and the hostusb 
appeared...
Now the modem is well detected in my Windows 2008 VM.
Thank you very much everybody for your help
Alain



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la part de 
VONDRA Alain
Envoyé : lundi 19 janvier 2015 12:03
À : Itamar Heim; users@ovirt.org
Objet : Re: [ovirt-users] USB Modem in a VM

Yes I made this :
engine-config -s UserDefinedVMProperties=hostusb=0x0572:0x1321
and nothing appear on the Edit VM, only :
- sndbuf
- vhost
- sap_agent
- viodiskattach

Is there any possibility to verify ?
The first command I put engine-config -s 
UserDefinedVMProperties=hostusb=true;another_property=regexp following the 
doc, maybe this option is blocking the hook ?
Alain




Alain VONDRA
Chargé d'exploitation des Systèmes d'Information Direction Administrative et 
Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : Itamar Heim [mailto:ih...@redhat.com] Envoyé : lundi 19 janvier 2015 11:29 
À : VONDRA Alain; users@ovirt.org Objet : Re: [ovirt-users] USB Modem in a VM

On 01/19/2015 12:23 PM, VONDRA Alain wrote:
 Hi,
 I've tried to use hook hostusb, I've installed vdsm-hook-hostusb.noarch 
 0:4.16.10-0.el6, and followed the documentation on 
 http://www.ovirt.org/Vdsm_Hooks, but the new hook doesn't appear on the UI 
 using Edit VM and custom properties.
 Is there any other way to install hooks, the documentation is not so clear, 
 and I'm not very fine with python.
 Thanks

you don't need to know python.
did you run the engine side commands (engine-config -s 
UserDefinedVMProperties... and restarted the engine)?

check http://blog.conoracallahan.com/blog/2014/07/19/ovirt-usb-passthrough/


 Alain




 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.fr




 -Message d'origine-
 De : Itamar Heim [mailto:ih...@redhat.com] Envoyé : dimanche 18
 janvier 2015 11:42 À : VONDRA Alain Objet : Re: [ovirt-users] USB
 Modem in a VM

 On 01/18/2015 12:36 PM, VONDRA Alain wrote:
 Hi,
 I didn't try yet this option http://www.ovirt.org/VDSM-Hooks/hostusb
 to inject it Do you think it will be a better solution ?

 that's the right solution.
 I'll reply again on list so folks can help you with it as needed.

 Thanks
 Alain



 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.fr




 
 De : Itamar Heim [ih...@redhat.com]
 Envoyé : vendredi 16 janvier 2015 19:21 À : VONDRA Alain Objet : Re:
 [ovirt-users] USB Modem in a VM

 On 01/15/2015 05:56 PM, VONDRA Alain wrote:
 Hi,
 Thank you for your answer, I've tried to insert my USB modem, but it 
 doesn't up in the Windows VM.
 I've tried to insert via virt-manager without success, I can't apply the 
 modification, however I see the modem using lsusb :

 lsusb
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 
 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: 
 ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 002: 
 ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 003: 
 ID 0624:0248 Avocent Corp. Virtual Hub Bus 001 Device 004: ID 0624:0249 
 Avocent Corp. Virtual Keyboard/Mouse Bus 002 Device 010: ID 0572:1321 
 Conexant Systems (Rockwell), Inc.

 I've unload the cdc_acm kernel module via rmmod without success.
 I've also tried to edit the xml appending the ID and VENDDOR tags :

 hostdev mode='subsystem' type='usb'
  source
vendor id='0x0572'/
product id='0x1321'/
  /source
/hostdev

 Ut at the first load the config disappears...
 Do I need to restart the host or restart libvirtd services ?

 Thanks for your help
 Alain



 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.fr




 -Message d'origine-
 De : Alon Bar-Lev [mailto:alo...@redhat.com] Envoyé : mardi 13
 janvier 2015 17:47 À : VONDRA Alain Cc : users@ovirt.org Objet : Re:
 [ovirt-users] USB Modem in a VM



 - Original Message -
 From: VONDRA Alain avon...@unicef.fr
 To: users@ovirt.org
 Sent: Tuesday, January 13, 2015 5:55:01 PM
 Subject: [ovirt-users]  USB Modem in a VM



 Hi,

 Can you tell me if I can use an USB modem through one of the
 hypervisor hosts to a Windows

Re: [ovirt-users] USB Modem in a VM

2015-01-19 Thread VONDRA Alain
Yes I made this :
engine-config -s UserDefinedVMProperties=hostusb=0x0572:0x1321
and nothing appear on the Edit VM, only :
- sndbuf
- vhost
- sap_agent
- viodiskattach

Is there any possibility to verify ?
The first command I put engine-config -s 
UserDefinedVMProperties=hostusb=true;another_property=regexp following the 
doc, maybe this option is blocking the hook ?
Alain




Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : Itamar Heim [mailto:ih...@redhat.com]
Envoyé : lundi 19 janvier 2015 11:29
À : VONDRA Alain; users@ovirt.org
Objet : Re: [ovirt-users] USB Modem in a VM

On 01/19/2015 12:23 PM, VONDRA Alain wrote:
 Hi,
 I've tried to use hook hostusb, I've installed vdsm-hook-hostusb.noarch 
 0:4.16.10-0.el6, and followed the documentation on 
 http://www.ovirt.org/Vdsm_Hooks, but the new hook doesn't appear on the UI 
 using Edit VM and custom properties.
 Is there any other way to install hooks, the documentation is not so clear, 
 and I'm not very fine with python.
 Thanks

you don't need to know python.
did you run the engine side commands (engine-config -s 
UserDefinedVMProperties... and restarted the engine)?

check http://blog.conoracallahan.com/blog/2014/07/19/ovirt-usb-passthrough/


 Alain




 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.fr




 -Message d'origine-
 De : Itamar Heim [mailto:ih...@redhat.com] Envoyé : dimanche 18
 janvier 2015 11:42 À : VONDRA Alain Objet : Re: [ovirt-users] USB
 Modem in a VM

 On 01/18/2015 12:36 PM, VONDRA Alain wrote:
 Hi,
 I didn't try yet this option http://www.ovirt.org/VDSM-Hooks/hostusb
 to inject it Do you think it will be a better solution ?

 that's the right solution.
 I'll reply again on list so folks can help you with it as needed.

 Thanks
 Alain



 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.fr




 
 De : Itamar Heim [ih...@redhat.com]
 Envoyé : vendredi 16 janvier 2015 19:21 À : VONDRA Alain Objet : Re:
 [ovirt-users] USB Modem in a VM

 On 01/15/2015 05:56 PM, VONDRA Alain wrote:
 Hi,
 Thank you for your answer, I've tried to insert my USB modem, but it 
 doesn't up in the Windows VM.
 I've tried to insert via virt-manager without success, I can't apply the 
 modification, however I see the modem using lsusb :

 lsusb
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 
 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: 
 ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 002: 
 ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 003: 
 ID 0624:0248 Avocent Corp. Virtual Hub Bus 001 Device 004: ID 0624:0249 
 Avocent Corp. Virtual Keyboard/Mouse Bus 002 Device 010: ID 0572:1321 
 Conexant Systems (Rockwell), Inc.

 I've unload the cdc_acm kernel module via rmmod without success.
 I've also tried to edit the xml appending the ID and VENDDOR tags :

 hostdev mode='subsystem' type='usb'
  source
vendor id='0x0572'/
product id='0x1321'/
  /source
/hostdev

 Ut at the first load the config disappears...
 Do I need to restart the host or restart libvirtd services ?

 Thanks for your help
 Alain



 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.fr




 -Message d'origine-
 De : Alon Bar-Lev [mailto:alo...@redhat.com] Envoyé : mardi 13
 janvier 2015 17:47 À : VONDRA Alain Cc : users@ovirt.org Objet : Re:
 [ovirt-users] USB Modem in a VM



 - Original Message -
 From: VONDRA Alain avon...@unicef.fr
 To: users@ovirt.org
 Sent: Tuesday, January 13, 2015 5:55:01 PM
 Subject: [ovirt-users]  USB Modem in a VM



 Hi,

 Can you tell me if I can use an USB modem through one of the
 hypervisor hosts to a Windows VM ?

 I’d like to install a Windows Fax Server.

 Thank you for your answers.


 should be possible using qemu args: -usbdevice
 host:vendor_id:product_id

 in libvirt replace @VENDOR@ and @DEVICE@ to device specific properties:

 domain type='kvm'
  name.../name
  …
  devices
…
hostdev mode='subsystem' type='usb'
  source
vendor id='0x@VENDOR@'/
product id='0x@DEVICE@'/
  /source
/hostdev
  /devices
 /domain

 if this option is not exposed in ui you can use vdsm-hooks[1] to modify the 
 libvirt configuration and inject such device.

 Regards,
 Alon

 [1] http://www.ovirt.org/VDSM-Hooks

Re: [ovirt-users] USB Modem in a VM

2015-01-16 Thread VONDRA Alain
Hi,
I'm sure of the device, it's clearer with lsusb, you see all the infos about 
the device :

Bus 001 Device 006: ID 0572:1321 Conexant Systems (Rockwell), Inc.
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   1.10
  bDeviceClass2 Communications
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize064
  idVendor   0x0572 Conexant Systems (Rockwell), Inc.
  idProduct  0x1321
  bcdDevice1.00
  iManufacturer   1 Conexant
  iProduct2 USB Modem
  iSerial 3 24680246
  bNumConfigurations  2
  Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength   73
bNumInterfaces  2
bConfigurationValue 1
iConfiguration  0
bmAttributes 0x80
  (Bus Powered)
MaxPower  100mA
Interface Descriptor:
  bLength 9
  bDescriptorType 4

With nodedev we just see device nodes, pretty difficult to identify, even with 
--tree opt :

usb_1_0_1_0
usb_1_1
usb_1_1_1_0
usb_1_1_4
usb_1_1_4_1_0
usb_1_1_4_1_1
usb_1_1_6
usb_1_1_6_1
usb_1_1_6_1_0
usb_1_1_6_1_1_0
usb_1_1_6_1_1_1
usb_1_1_6_1_1_2
usb_2_0_1_0
usb_2_1
usb_2_1_1_0
usb_usb1
usb_usb2

The xml injected is, I think right :

hostdev mode='subsystem' type='usb' managed='yes'
source
vendor id='0x0572'/
product id='0x1321'/
/source
/hostdev

Even with The device on the VM xml, the device does'nt appears in the Windows 
VM.
Regards
Alain







Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : Martin Polednik [mailto:mpoled...@redhat.com]
Envoyé : vendredi 16 janvier 2015 11:37
À : VONDRA Alain
Cc : Alon Bar-Lev; Michal Skrivanek; users@ovirt.org
Objet : Re: [ovirt-users] USB Modem in a VM

- Original Message -
 From: VONDRA Alain avon...@unicef.fr
 To: Alon Bar-Lev alo...@redhat.com, Michal Skrivanek
 mskri...@redhat.com
 Cc: users@ovirt.org
 Sent: Thursday, January 15, 2015 10:33:19 PM
 Subject: Re: [ovirt-users] USB Modem in a VM

 Hi,
 I've tried also to inject the device with virsh attach-device, all
 seems to work but nothing happen in the VM :

 [root@unc-srv-hyp2  ~]$ virsh attach-device unc-srv-prnt3
 usb-modem.xml Please enter your authentication name: root Please enter
 your password:
 Device attached successfully

 What did I do wrong, any ideas ?

Hello,
One possibility might be the fact that libvirt itself doesn't have managed mode 
for USB devices and I'm not sure virt-manager has the appropriate routine 
handled.

Could you try running
$ virsh nodedev-list
to find the correct usb device and then
# virsh nodedev-detach the_usb_device
or posibly nodedev-dettach if you run older libvirt?

After that, try starting VM with hostdev element added to XML.

 Regards






 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.fr




 
 De : Alon Bar-Lev [alo...@redhat.com]
 Envoyé : jeudi 15 janvier 2015 21:23
 À : VONDRA Alain; Michal Skrivanek
 Cc : users@ovirt.org
 Objet : Re: [ovirt-users]  USB Modem in a VM

 Michal, any clue?

 - Original Message -
  From: VONDRA Alain avon...@unicef.fr
  To: Alon Bar-Lev alo...@redhat.com
  Cc: users@ovirt.org
  Sent: Thursday, January 15, 2015 5:56:47 PM
  Subject: RE: [ovirt-users]  USB Modem in a VM
 
  Hi,
  Thank you for your answer, I've tried to insert my USB modem, but it
  doesn't up in the Windows VM.
  I've tried to insert via virt-manager without success, I can't apply
  the modification, however I see the modem using lsusb :
 
  lsusb
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus
  002 Device
  001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002:
  ID
  8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device
  002: ID
  8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 001 Device
  003: ID
  0624:0248 Avocent Corp. Virtual Hub Bus 001 Device 004: ID 0624:0249
  Avocent Corp. Virtual Keyboard/Mouse Bus 002 Device 010: ID
  0572:1321 Conexant Systems (Rockwell), Inc.
 
  I've unload the cdc_acm kernel module via rmmod without success.
  I've also tried to edit the xml appending the ID and VENDDOR tags :
 
   hostdev mode='subsystem' type='usb'
source
  vendor id='0x0572'/
  product id='0x1321'/
/source
  /hostdev
 
  Ut at the first load the config disappears...
  Do I need to restart the host or restart libvirtd services ?
 
  Thanks for your help
  Alain
 
 
 
  Alain VONDRA
  Chargé d'exploitation des Systèmes d'Information Direction
  Administrative et

Re: [ovirt-users] USB Modem in a VM

2015-01-16 Thread VONDRA Alain
Ok Martin,
I'll try the python script, but I'm a newbie in python, which argumenet I need 
to put to execute it ?
Thank you
Alain




Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : Martin Polednik [mailto:mpoled...@redhat.com]
Envoyé : vendredi 16 janvier 2015 12:18
À : VONDRA Alain
Cc : Alon Bar-Lev; Michal Skrivanek; users@ovirt.org
Objet : Re: [ovirt-users] USB Modem in a VM



- Original Message -
 From: VONDRA Alain avon...@unicef.fr
 To: Martin Polednik mpoled...@redhat.com
 Cc: Alon Bar-Lev alo...@redhat.com, Michal Skrivanek
 mskri...@redhat.com, users@ovirt.org
 Sent: Friday, January 16, 2015 12:10:35 PM
 Subject: RE: [ovirt-users] USB Modem in a VM

 Hi,
 I'm sure of the device, it's clearer with lsusb, you see all the infos
 about the device :

 Bus 001 Device 006: ID 0572:1321 Conexant Systems (Rockwell), Inc.
 Device Descriptor:
   bLength18
   bDescriptorType 1
   bcdUSB   1.10
   bDeviceClass2 Communications
   bDeviceSubClass 0
   bDeviceProtocol 0
   bMaxPacketSize064
   idVendor   0x0572 Conexant Systems (Rockwell), Inc.
   idProduct  0x1321
   bcdDevice1.00
   iManufacturer   1 Conexant
   iProduct2 USB Modem
   iSerial 3 24680246
   bNumConfigurations  2
   Configuration Descriptor:
 bLength 9
 bDescriptorType 2
 wTotalLength   73
 bNumInterfaces  2
 bConfigurationValue 1
 iConfiguration  0
 bmAttributes 0x80
   (Bus Powered)
 MaxPower  100mA
 Interface Descriptor:
   bLength 9
   bDescriptorType 4

 With nodedev we just see device nodes, pretty difficult to identify,
 even with --tree opt :

 usb_1_0_1_0
 usb_1_1
 usb_1_1_1_0
 usb_1_1_4
 usb_1_1_4_1_0
 usb_1_1_4_1_1
 usb_1_1_6
 usb_1_1_6_1
 usb_1_1_6_1_0
 usb_1_1_6_1_1_0
 usb_1_1_6_1_1_1
 usb_1_1_6_1_1_2
 usb_2_0_1_0
 usb_2_1
 usb_2_1_1_0
 usb_usb1
 usb_usb2

The issue is, you need to get libvirt name of the device and run the 
nodedev-detach
- have you done that with no success?

If not, use some simple script such as (python)

import libvirt

conn = libvirt.openReadOnly()
devices = conn.listAllDevices()
for dev in devices:
print dev.XMLDesc()

to easily find the device and use the name element for nodedev-detach call. 
That should handle unbinding it from the driver and possibly binding it to some 
usb stub if that exists.
If that doesn't fix it, I admit that I'm not sure what could be the cause apart 
from OS/hw.

 The xml injected is, I think right :

 hostdev mode='subsystem' type='usb' managed='yes'
 source
 vendor id='0x0572'/
 product id='0x1321'/
 /source
 /hostdev

 Even with The device on the VM xml, the device does'nt appears in the
 Windows VM.
 Regards
 Alain







 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.fr




 -Message d'origine-
 De : Martin Polednik [mailto:mpoled...@redhat.com] Envoyé : vendredi
 16 janvier 2015 11:37 À : VONDRA Alain Cc : Alon Bar-Lev; Michal
 Skrivanek; users@ovirt.org Objet : Re: [ovirt-users] USB Modem in a VM

 - Original Message -
  From: VONDRA Alain avon...@unicef.fr
  To: Alon Bar-Lev alo...@redhat.com, Michal Skrivanek
  mskri...@redhat.com
  Cc: users@ovirt.org
  Sent: Thursday, January 15, 2015 10:33:19 PM
  Subject: Re: [ovirt-users] USB Modem in a VM
 
  Hi,
  I've tried also to inject the device with virsh attach-device, all
  seems to work but nothing happen in the VM :
 
  [root@unc-srv-hyp2  ~]$ virsh attach-device unc-srv-prnt3
  usb-modem.xml Please enter your authentication name: root Please
  enter your password:
  Device attached successfully
 
  What did I do wrong, any ideas ?

 Hello,
 One possibility might be the fact that libvirt itself doesn't have
 managed mode for USB devices and I'm not sure virt-manager has the
 appropriate routine handled.

 Could you try running
 $ virsh nodedev-list
 to find the correct usb device and then # virsh nodedev-detach
 the_usb_device or posibly nodedev-dettach if you run older libvirt?

 After that, try starting VM with hostdev element added to XML.

  Regards
 
 
 
 
 
 
  Alain VONDRA
  Chargé d'exploitation des Systèmes d'Information Direction
  Administrative et Financière
  +33 1 44 39 77 76
  UNICEF France
  3 rue Duguay Trouin  75006 PARIS
  www.unicef.fr
 
 
 
 
  
  De : Alon Bar-Lev [alo...@redhat.com] Envoyé : jeudi 15 janvier 2015
  21:23 À : VONDRA Alain; Michal Skrivanek Cc : users@ovirt.org Objet
  : Re: [ovirt-users]  USB Modem

Re: [ovirt-users] USB Modem in a VM

2015-01-16 Thread VONDRA Alain
Hi Martin,
That's what I've done, but the result is a missing argument.

[root@unc-srv-hyp2  ~]$ python2.6 usb_dev.py
Traceback (most recent call last):
  File usb_dev.py, line 4, in module
conn = libvirt.openReadOnly()
TypeError: openReadOnly() takes exactly 1 argument (0 given

Alain




Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : Martin Polednik [mailto:mpoled...@redhat.com]
Envoyé : vendredi 16 janvier 2015 13:18
À : VONDRA Alain
Cc : users@ovirt.org; Michal Skrivanek
Objet : Re: [ovirt-users] USB Modem in a VM



- Original Message -
 From: VONDRA Alain avon...@unicef.fr
 To: Martin Polednik mpoled...@redhat.com
 Cc: users@ovirt.org, Michal Skrivanek mskri...@redhat.com
 Sent: Friday, January 16, 2015 12:30:10 PM
 Subject: Re: [ovirt-users] USB Modem in a VM

 Ok Martin,
 I'll try the python script, but I'm a newbie in python, which
 argumenet I need to put to execute it ?
 Thank you
 Alain

Simply save it into something like listdevices.py and run $ python 
listdevices.py.
It will list libvirt XML for all of the devices, you just need to find correct 
vendor id/product id for your usb device and then use the name for detach e.g. 
nodedev-detach usb_usb0.

 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.fr




 -Message d'origine-
 De : Martin Polednik [mailto:mpoled...@redhat.com] Envoyé : vendredi
 16 janvier 2015 12:18 À : VONDRA Alain Cc : Alon Bar-Lev; Michal
 Skrivanek; users@ovirt.org Objet : Re: [ovirt-users] USB Modem in a VM



 - Original Message -
  From: VONDRA Alain avon...@unicef.fr
  To: Martin Polednik mpoled...@redhat.com
  Cc: Alon Bar-Lev alo...@redhat.com, Michal Skrivanek
  mskri...@redhat.com, users@ovirt.org
  Sent: Friday, January 16, 2015 12:10:35 PM
  Subject: RE: [ovirt-users] USB Modem in a VM
 
  Hi,
  I'm sure of the device, it's clearer with lsusb, you see all the
  infos about the device :
 
  Bus 001 Device 006: ID 0572:1321 Conexant Systems (Rockwell), Inc.
  Device Descriptor:
bLength18
bDescriptorType 1
bcdUSB   1.10
bDeviceClass2 Communications
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize064
idVendor   0x0572 Conexant Systems (Rockwell), Inc.
idProduct  0x1321
bcdDevice1.00
iManufacturer   1 Conexant
iProduct2 USB Modem
iSerial 3 24680246
bNumConfigurations  2
Configuration Descriptor:
  bLength 9
  bDescriptorType 2
  wTotalLength   73
  bNumInterfaces  2
  bConfigurationValue 1
  iConfiguration  0
  bmAttributes 0x80
(Bus Powered)
  MaxPower  100mA
  Interface Descriptor:
bLength 9
bDescriptorType 4
 
  With nodedev we just see device nodes, pretty difficult to identify,
  even with --tree opt :
 
  usb_1_0_1_0
  usb_1_1
  usb_1_1_1_0
  usb_1_1_4
  usb_1_1_4_1_0
  usb_1_1_4_1_1
  usb_1_1_6
  usb_1_1_6_1
  usb_1_1_6_1_0
  usb_1_1_6_1_1_0
  usb_1_1_6_1_1_1
  usb_1_1_6_1_1_2
  usb_2_0_1_0
  usb_2_1
  usb_2_1_1_0
  usb_usb1
  usb_usb2

 The issue is, you need to get libvirt name of the device and run the
 nodedev-detach
 - have you done that with no success?

 If not, use some simple script such as (python)

 import libvirt

 conn = libvirt.openReadOnly()
 devices = conn.listAllDevices()
 for dev in devices:
 print dev.XMLDesc()

 to easily find the device and use the name element for nodedev-detach call.
 That should handle unbinding it from the driver and possibly binding
 it to some usb stub if that exists.
 If that doesn't fix it, I admit that I'm not sure what could be the
 cause apart from OS/hw.

  The xml injected is, I think right :
 
  hostdev mode='subsystem' type='usb' managed='yes'
  source
  vendor id='0x0572'/
  product id='0x1321'/
  /source
  /hostdev
 
  Even with The device on the VM xml, the device does'nt appears in
  the Windows VM.
  Regards
  Alain
 
 
 
 
 
 
 
  Alain VONDRA
  Chargé d'exploitation des Systèmes d'Information Direction
  Administrative et Financière
  +33 1 44 39 77 76
  UNICEF France
  3 rue Duguay Trouin  75006 PARIS
  www.unicef.fr
 
 
 
 
  -Message d'origine-
  De : Martin Polednik [mailto:mpoled...@redhat.com] Envoyé : vendredi
  16 janvier 2015 11:37 À : VONDRA Alain Cc : Alon Bar-Lev; Michal
  Skrivanek; users@ovirt.org Objet : Re: [ovirt-users] USB Modem in a
  VM
 
  - Original Message -
   From: VONDRA Alain avon...@unicef.fr
   To: Alon Bar-Lev alo...@redhat.com

Re: [ovirt-users] USB Modem in a VM

2015-01-16 Thread VONDRA Alain
I've replaced with openReadOnly(0), but had a argument 1 must be string or 
None, not int issue, so I changed to None, but I had :

[root@unc-srv-hyp2  ~]$ python2.6 usb_dev.py
Traceback (most recent call last):
  File usb_dev.py, line 5, in module
devices = conn.listAllDevices()
TypeError: listAllDevices() takes exactly 2 arguments (1 given)

I put the VM name in openReadOnly(unc-srv-prnt3) and I had this issue :

libvirt:  error : no connection driver available for unc-srv-prnt3
Traceback (most recent call last):
  File usb_dev.py, line 4, in module
conn = libvirt.openReadOnly(unc-srv-prnt3)
  File /usr/lib64/python2.6/site-packages/libvirt.py, line 247, in 
openReadOnly
if ret is None:raise libvirtError('virConnectOpenReadOnly() failed')
libvirt.libvirtError: no connection driver available for unc-srv-prnt3

What's wrong ?








Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : Martin Polednik [mailto:mpoled...@redhat.com]
Envoyé : vendredi 16 janvier 2015 15:47
À : VONDRA Alain
Cc : users@ovirt.org; Michal Skrivanek
Objet : Re: [ovirt-users] USB Modem in a VM



- Original Message -
 From: VONDRA Alain avon...@unicef.fr
 To: Martin Polednik mpoled...@redhat.com
 Cc: users@ovirt.org, Michal Skrivanek mskri...@redhat.com
 Sent: Friday, January 16, 2015 2:45:09 PM
 Subject: Re: [ovirt-users] USB Modem in a VM

 Hi Martin,
 That's what I've done, but the result is a missing argument.

 [root@unc-srv-hyp2  ~]$ python2.6 usb_dev.py Traceback (most recent
 call last):
   File usb_dev.py, line 4, in module
 conn = libvirt.openReadOnly()
 TypeError: openReadOnly() takes exactly 1 argument (0 given

My mistake, you can use openReadOnly(0) (can be omitted for some libvirt 
versions).

 Alain




 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.fr




 -Message d'origine-
 De : Martin Polednik [mailto:mpoled...@redhat.com] Envoyé : vendredi
 16 janvier 2015 13:18 À : VONDRA Alain Cc : users@ovirt.org; Michal
 Skrivanek Objet : Re: [ovirt-users] USB Modem in a VM



 - Original Message -
  From: VONDRA Alain avon...@unicef.fr
  To: Martin Polednik mpoled...@redhat.com
  Cc: users@ovirt.org, Michal Skrivanek mskri...@redhat.com
  Sent: Friday, January 16, 2015 12:30:10 PM
  Subject: Re: [ovirt-users] USB Modem in a VM
 
  Ok Martin,
  I'll try the python script, but I'm a newbie in python, which
  argumenet I need to put to execute it ?
  Thank you
  Alain

 Simply save it into something like listdevices.py and run $ python
 listdevices.py.
 It will list libvirt XML for all of the devices, you just need to find
 correct vendor id/product id for your usb device and then use the name
 for detach e.g. nodedev-detach usb_usb0.

  Alain VONDRA
  Chargé d'exploitation des Systèmes d'Information Direction
  Administrative et Financière
  +33 1 44 39 77 76
  UNICEF France
  3 rue Duguay Trouin  75006 PARIS
  www.unicef.fr
 
 
 
 
  -Message d'origine-
  De : Martin Polednik [mailto:mpoled...@redhat.com] Envoyé : vendredi
  16 janvier 2015 12:18 À : VONDRA Alain Cc : Alon Bar-Lev; Michal
  Skrivanek; users@ovirt.org Objet : Re: [ovirt-users] USB Modem in a
  VM
 
 
 
  - Original Message -
   From: VONDRA Alain avon...@unicef.fr
   To: Martin Polednik mpoled...@redhat.com
   Cc: Alon Bar-Lev alo...@redhat.com, Michal Skrivanek
   mskri...@redhat.com, users@ovirt.org
   Sent: Friday, January 16, 2015 12:10:35 PM
   Subject: RE: [ovirt-users] USB Modem in a VM
  
   Hi,
   I'm sure of the device, it's clearer with lsusb, you see all the
   infos about the device :
  
   Bus 001 Device 006: ID 0572:1321 Conexant Systems (Rockwell), Inc.
   Device Descriptor:
 bLength18
 bDescriptorType 1
 bcdUSB   1.10
 bDeviceClass2 Communications
 bDeviceSubClass 0
 bDeviceProtocol 0
 bMaxPacketSize064
 idVendor   0x0572 Conexant Systems (Rockwell), Inc.
 idProduct  0x1321
 bcdDevice1.00
 iManufacturer   1 Conexant
 iProduct2 USB Modem
 iSerial 3 24680246
 bNumConfigurations  2
 Configuration Descriptor:
   bLength 9
   bDescriptorType 2
   wTotalLength   73
   bNumInterfaces  2
   bConfigurationValue 1
   iConfiguration  0
   bmAttributes 0x80
 (Bus Powered)
   MaxPower  100mA
   Interface Descriptor:
 bLength 9
 bDescriptorType 4
  
   With nodedev we just see device nodes, pretty difficult to
   identify, even with --tree opt

Re: [ovirt-users] USB Modem in a VM

2015-01-16 Thread VONDRA Alain
I've got libvirt-0.10.2-46 version.





Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : Martin Polednik [mailto:mpoled...@redhat.com]
Envoyé : vendredi 16 janvier 2015 17:11
À : VONDRA Alain
Cc : users@ovirt.org; Michal Skrivanek
Objet : Re: [ovirt-users] USB Modem in a VM



- Original Message -
 From: VONDRA Alain avon...@unicef.fr
 To: Martin Polednik mpoled...@redhat.com
 Cc: users@ovirt.org, Michal Skrivanek mskri...@redhat.com
 Sent: Friday, January 16, 2015 4:00:28 PM
 Subject: RE: [ovirt-users] USB Modem in a VM

 I've replaced with openReadOnly(0), but had a argument 1 must be
 string or None, not int issue, so I changed to None, but I had :

 [root@unc-srv-hyp2  ~]$ python2.6 usb_dev.py Traceback (most recent
 call last):
   File usb_dev.py, line 5, in module
 devices = conn.listAllDevices()
 TypeError: listAllDevices() takes exactly 2 arguments (1 given)

 I put the VM name in openReadOnly(unc-srv-prnt3) and I had this issue :

 libvirt:  error : no connection driver available for unc-srv-prnt3
 Traceback (most recent call last):
   File usb_dev.py, line 4, in module
 conn = libvirt.openReadOnly(unc-srv-prnt3)
   File /usr/lib64/python2.6/site-packages/libvirt.py, line 247, in
   openReadOnly
 if ret is None:raise libvirtError('virConnectOpenReadOnly()
 failed')
 libvirt.libvirtError: no connection driver available for unc-srv-prnt3

 What's wrong ?

Missing flags parameter again, which version of libvirt are you running?
openReadOnly(0) and listAllDevices(0) should be correct for your version,
sorry for that again.

 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information Direction
 Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.fr




 -Message d'origine-
 De : Martin Polednik [mailto:mpoled...@redhat.com] Envoyé : vendredi
 16 janvier 2015 15:47 À : VONDRA Alain Cc : users@ovirt.org; Michal
 Skrivanek Objet : Re: [ovirt-users] USB Modem in a VM



 - Original Message -
  From: VONDRA Alain avon...@unicef.fr
  To: Martin Polednik mpoled...@redhat.com
  Cc: users@ovirt.org, Michal Skrivanek mskri...@redhat.com
  Sent: Friday, January 16, 2015 2:45:09 PM
  Subject: Re: [ovirt-users] USB Modem in a VM
 
  Hi Martin,
  That's what I've done, but the result is a missing argument.
 
  [root@unc-srv-hyp2  ~]$ python2.6 usb_dev.py Traceback (most recent
  call last):
File usb_dev.py, line 4, in module
  conn = libvirt.openReadOnly()
  TypeError: openReadOnly() takes exactly 1 argument (0 given

 My mistake, you can use openReadOnly(0) (can be omitted for some
 libvirt versions).

  Alain
 
 
 
 
  Alain VONDRA
  Chargé d'exploitation des Systèmes d'Information Direction
  Administrative et Financière
  +33 1 44 39 77 76
  UNICEF France
  3 rue Duguay Trouin  75006 PARIS
  www.unicef.fr
 
 
 
 
  -Message d'origine-
  De : Martin Polednik [mailto:mpoled...@redhat.com] Envoyé : vendredi
  16 janvier 2015 13:18 À : VONDRA Alain Cc : users@ovirt.org; Michal
  Skrivanek Objet : Re: [ovirt-users] USB Modem in a VM
 
 
 
  - Original Message -
   From: VONDRA Alain avon...@unicef.fr
   To: Martin Polednik mpoled...@redhat.com
   Cc: users@ovirt.org, Michal Skrivanek mskri...@redhat.com
   Sent: Friday, January 16, 2015 12:30:10 PM
   Subject: Re: [ovirt-users] USB Modem in a VM
  
   Ok Martin,
   I'll try the python script, but I'm a newbie in python, which
   argumenet I need to put to execute it ?
   Thank you
   Alain
 
  Simply save it into something like listdevices.py and run $ python
  listdevices.py.
  It will list libvirt XML for all of the devices, you just need to
  find correct vendor id/product id for your usb device and then use
  the name for detach e.g. nodedev-detach usb_usb0.
 
   Alain VONDRA
   Chargé d'exploitation des Systèmes d'Information Direction
   Administrative et Financière
   +33 1 44 39 77 76
   UNICEF France
   3 rue Duguay Trouin  75006 PARIS
   www.unicef.fr
  
  
  
  
   -Message d'origine-
   De : Martin Polednik [mailto:mpoled...@redhat.com] Envoyé :
   vendredi
   16 janvier 2015 12:18 À : VONDRA Alain Cc : Alon Bar-Lev; Michal
   Skrivanek; users@ovirt.org Objet : Re: [ovirt-users] USB Modem in
   a VM
  
  
  
   - Original Message -
From: VONDRA Alain avon...@unicef.fr
To: Martin Polednik mpoled...@redhat.com
Cc: Alon Bar-Lev alo...@redhat.com, Michal Skrivanek
mskri...@redhat.com, users@ovirt.org
Sent: Friday, January 16, 2015 12:10:35 PM
Subject: RE: [ovirt-users] USB Modem in a VM
   
Hi,
I'm sure of the device, it's clearer with lsusb, you see all the
infos about the device :
   
Bus 001 Device 006: ID 0572:1321 Conexant Systems (Rockwell), Inc.
Device Descriptor:
  bLength18

Re: [ovirt-users] USB Modem in a VM

2015-01-15 Thread VONDRA Alain
Hi,
I've tried also to inject the device with virsh attach-device, all seems to 
work but nothing happen in the VM :

[root@unc-srv-hyp2  ~]$ virsh attach-device unc-srv-prnt3 usb-modem.xml
Please enter your authentication name: root
Please enter your password:
Device attached successfully

What did I do wrong, any ideas ?
Regards






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





De : Alon Bar-Lev [alo...@redhat.com]
Envoyé : jeudi 15 janvier 2015 21:23
À : VONDRA Alain; Michal Skrivanek
Cc : users@ovirt.org
Objet : Re: [ovirt-users]  USB Modem in a VM

Michal, any clue?

- Original Message -
 From: VONDRA Alain avon...@unicef.fr
 To: Alon Bar-Lev alo...@redhat.com
 Cc: users@ovirt.org
 Sent: Thursday, January 15, 2015 5:56:47 PM
 Subject: RE: [ovirt-users]  USB Modem in a VM

 Hi,
 Thank you for your answer, I've tried to insert my USB modem, but it doesn't
 up in the Windows VM.
 I've tried to insert via virt-manager without success, I can't apply the
 modification, however I see the modem using lsusb :

 lsusb
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device
 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID
 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 002: ID
 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 003: ID
 0624:0248 Avocent Corp. Virtual Hub Bus 001 Device 004: ID 0624:0249 Avocent
 Corp. Virtual Keyboard/Mouse Bus 002 Device 010: ID 0572:1321 Conexant
 Systems (Rockwell), Inc.

 I've unload the cdc_acm kernel module via rmmod without success.
 I've also tried to edit the xml appending the ID and VENDDOR tags :

  hostdev mode='subsystem' type='usb'
   source
 vendor id='0x0572'/
 product id='0x1321'/
   /source
 /hostdev

 Ut at the first load the config disappears...
 Do I need to restart the host or restart libvirtd services ?

 Thanks for your help
 Alain



 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information
 Direction Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.fr




 -Message d'origine-
 De : Alon Bar-Lev [mailto:alo...@redhat.com]
 Envoyé : mardi 13 janvier 2015 17:47
 À : VONDRA Alain
 Cc : users@ovirt.org
 Objet : Re: [ovirt-users] USB Modem in a VM



 - Original Message -
  From: VONDRA Alain avon...@unicef.fr
  To: users@ovirt.org
  Sent: Tuesday, January 13, 2015 5:55:01 PM
  Subject: [ovirt-users]  USB Modem in a VM
 
 
 
  Hi,
 
  Can you tell me if I can use an USB modem through one of the
  hypervisor hosts to a Windows VM ?
 
  I’d like to install a Windows Fax Server.
 
  Thank you for your answers.


 should be possible using qemu args: -usbdevice host:vendor_id:product_id

 in libvirt replace @VENDOR@ and @DEVICE@ to device specific properties:

 domain type='kvm'
   name.../name
   …
   devices
 …
 hostdev mode='subsystem' type='usb'
   source
 vendor id='0x@VENDOR@'/
 product id='0x@DEVICE@'/
   /source
 /hostdev
   /devices
 /domain

 if this option is not exposed in ui you can use vdsm-hooks[1] to modify the
 libvirt configuration and inject such device.

 Regards,
 Alon

 [1] http://www.ovirt.org/VDSM-Hooks

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


[ovirt-users] USB Modem in a VM

2015-01-13 Thread VONDRA Alain
Hi,
Can you tell me if I can use an USB modem through one of the hypervisor hosts 
to a Windows VM ?
I’d like to install a Windows Fax Server.
Thank you for your answers.






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.frhttp://www.unicef.fr/

http://www.unicef.fr

http://www.unicef.fr/









[cid:siganture_bonne-annee_taille1702da61b]http://www.unicef.fr

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


Re: [ovirt-users] Issues with vm start up

2015-01-08 Thread VONDRA Alain
Hi,
Thanks A LOT Koen, you saved me with your solution 
Regards






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.frhttp://www.unicef.fr/

http://www.unicef.fr

[cid:urgence_eboladc6d2e]http://www.unicef.fr/









[cid:siganture_bonne-annee_taille1707bdcfa]http://www.unicef.fr

De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la part de 
Koen Vanoppen
Envoyé : lundi 8 décembre 2014 07:49
À : users@ovirt.org
Objet : Re: [ovirt-users] Issues with vm start up

We also had a issue when starting our vms. This was due the fact of the NUMA 
option under the host section. I attached a procedure I created for work. Maybe 
it is also useful for your case...

2014-12-02 5:58 GMT+01:00 Shanil S 
xielessha...@gmail.commailto:xielessha...@gmail.com:
Hi Omer,
We have opened this as a bug, you can view the new bug here 
https://bugzilla.redhat.com/show_bug.cgi?id=1169625.

--
Regards
Shanil

On Tue, Dec 2, 2014 at 8:42 AM, Shanil S 
xielessha...@gmail.commailto:xielessha...@gmail.com wrote:
Hi Omer,

Thanks for your reply. We will open it as a bug.

--
Regards
Shanil

On Mon, Dec 1, 2014 at 4:38 PM, Omer Frenkel 
ofren...@redhat.commailto:ofren...@redhat.com wrote:


- Original Message -
 From: Shanil S xielessha...@gmail.commailto:xielessha...@gmail.com
 To: Omer Frenkel ofren...@redhat.commailto:ofren...@redhat.com, 
 users@ovirt.orgmailto:users@ovirt.org, Juan Hernandez 
 jhern...@redhat.commailto:jhern...@redhat.com
 Sent: Monday, December 1, 2014 12:39:12 PM
 Subject: Re: [ovirt-users] Issues with vm start up

 Hi Omer,

 Thanks for your reply.

 We are deploying those VM's through templates and all the templates has
 first boot from hard disk and second with cdrom. We are using cdrom in
 cloud-init section to insert the cloud-init data .Why we need this boot
 loader (VM boot order or in the cloud-init section) as in the template the
 first boot order is harddisk ?



if the template's boot order has hard-disk it should be ok,
not sure why it seems for this vm the boot order is only cd.
does this happen to any vm created from this template?
can you check the boot order is corrent in the edit vm dialog?

if the boot order is ok in the template,
and it happens to any new vm from this template,
you should open a bug so we could investigate this.


 --
 Regards
 Shanil

 On Mon, Dec 1, 2014 at 3:37 PM, Omer Frenkel 
 ofren...@redhat.commailto:ofren...@redhat.com wrote:

 
 
  - Original Message -
   From: Shanil S xielessha...@gmail.commailto:xielessha...@gmail.com
   To: Shahar Havivi shah...@redhat.commailto:shah...@redhat.com
   Cc: users@ovirt.orgmailto:users@ovirt.org, Juan Hernandez 
   jhern...@redhat.commailto:jhern...@redhat.com, Omer
  Frenkel ofren...@redhat.commailto:ofren...@redhat.com
   Sent: Thursday, November 27, 2014 10:32:54 AM
   Subject: Re: [ovirt-users] Issues with vm start up
  
   Hi Omer,
  
   I have attached the engine.log and vdsm.log. Please check it. The vm id
  is
   - 7c7aa9dedb57248f5da291117164f0d7
  
 
  sorry Shanil for the delay,
  it looks that in the vm settings, you have chosen to boot only from cd ?
  this is why the vm doest boot, the cloud-init disk is a settings disk, not
  a boot disk
  please go to update vm, change the boot order to use hard-disk, and boot
  the vm.
 
  let me know if it helps,
  Omer.
 
   --
   Regards
   Shanil
  
   On Thu, Nov 27, 2014 at 1:46 PM, Shahar Havivi 
   shah...@redhat.commailto:shah...@redhat.com
  wrote:
  
Try to remove content and run the vm,
ie remove the runcmd: or some of it - try to use the xml with out CDATA
maybe
you can pinpoint the problem that way...
   
   
On 27.11.14 10:03, Shanil S wrote:
 Hi All,


 I am using the ovirt version 3.5 and having some issues with the vm
startup
 with cloud-init using api in run-once mode.

 Below is the steps i follow :-

 1. Create the VM by API from precreated Template..
 2. Start the VM in run-once mode and push the cloud-init data from
  API..
 3. VM stuck and from console it display the following :-
 Booting from DVD/CD.. ...
 Boot failed : could not read from CDROM (code 004)

 I am using the following xml for this operation :-

 action
 vm
  os
   boot dev='cdrom'/
  /os
  initialization
   cloud_init
host
 addresstest/address
/host
network_configuration
 nics
  nic
   interfacevirtIO/interface
   nameeth0/name
   boot_protocolstatic/boot_protocol
   mac address=''/
   network
ip address='' netmask='' gateway=''/
   /network
   

Re: [ovirt-users] Datacenter in no more responsive

2014-05-15 Thread VONDRA Alain
Hi,
Is there any news about this bug ?
Thank you



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : Elad Ben Aharon [mailto:ebena...@redhat.com]
Envoyé : mercredi 14 mai 2014 15:09
À : VONDRA Alain; Allon Mureinik
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Datacenter in no more responsive

Allon, could it be related to 
https://bugzilla.redhat.com/show_bug.cgi?id=1083476 ?


- Original Message -
From: VONDRA Alain avon...@unicef.fr
To: users@ovirt.org
Sent: Wednesday, May 14, 2014 1:29:13 PM
Subject: [ovirt-users] Datacenter in no more responsive



Hi,

I have a very weird issue with the last version of oVirt 3.4.1, I’ve upgraded 
because I already had this issue.

It came when I wanted to re-create a new export domain on my first hypervisor 
larger than the first one.

After this point, the datacenter came in a non responsive state, so I’ve 
upgraded oVirt to 3.4.1, but the issue is still there.

I join the tail of the engine.log and the vdsm.log of one of the two 
hypervisors.

Tell me if you want more logs.

Thank you in advance for your help J



Engine.log :

TaskStatusListReturnForXmlRpc [mStatus=StatusForXmlRpc [mCode=654, mMessage=Not 
SPM: ()]]



2014-05-14 12:26:34,195 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand] 
(DefaultQuartzScheduler_Worker-82) HostName = unc-srv-hyp2

2014-05-14 12:26:34,199 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand] 
(DefaultQuartzScheduler_Worker-82) Command 
HSMGetAllTasksStatusesVDSCommand(HostName = unc-srv-hyp2, HostId = 
2d8722cc-5041-427d-964d-8980f40c5aa6) execution failed. Exception: 
IRSNonOperationalException: IRSGenericException: IRSErrorException: 
IRSNonOperationalException: Not SPM: ()

2014-05-14 12:26:34,248 INFO 
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(DefaultQuartzScheduler_Worker-82) hostFromVds::selectedVds - unc-srv-hyp2, 
spmStatus Unknown_Pool, storage pool UNICEF

2014-05-14 12:26:34,269 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand] 
(DefaultQuartzScheduler_Worker-82) START, ConnectStoragePoolVDSCommand(HostName 
= unc-srv-hyp2, HostId = 2d8722cc-5041-427d-964d-8980f40c5aa6, storagePoolId = 
4eeccf64-715d-4ebe-a44c-eeca94a09a05, vds_spm_id = 2, masterDomainId = 
9bf9ed01-43ab-4372-acdd-3500645f3bd0, masterVersion = 1), log id: aaf1e60

2014-05-14 12:26:35,998 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand] 
(DefaultQuartzScheduler_Worker-82) FINISH, ConnectStoragePoolVDSCommand, log 
id: aaf1e60

2014-05-14 12:26:35,998 ERROR 
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(DefaultQuartzScheduler_Worker-82) IrsBroker::Failed::GetStoragePoolInfoVDS due 
to: IRSNonOperationalException: IRSGenericException: IRSErrorException: 
IRSNonOperationalException: Could not connect host to Data Center(Storage issue)

2014-05-14 12:26:36,082 INFO 
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(DefaultQuartzScheduler_Worker-82) Irs placed on server 
2d8722cc-5041-427d-964d-8980f40c5aa6 failed. Proceed Failover

2014-05-14 12:26:36,126 INFO 
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(DefaultQuartzScheduler_Worker-82) hostFromVds::selectedVds - unc-srv-hyp1, 
spmStatus Unknown_Pool, storage pool UNICEF

2014-05-14 12:26:36,147 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand] 
(DefaultQuartzScheduler_Worker-82) START, ConnectStoragePoolVDSCommand(HostName 
= unc-srv-hyp1, HostId = 4987bc7d-82b2-444f-ad6c-8289da5e4fb9, storagePoolId = 
4eeccf64-715d-4ebe-a44c-eeca94a09a05, vds_spm_id = 1, masterDomainId = 
9bf9ed01-43ab-4372-acdd-3500645f3bd0, masterVersion = 1), log id: 3b569aaf

2014-05-14 12:26:37,177 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand] 
(DefaultQuartzScheduler_Worker-82) FINISH, ConnectStoragePoolVDSCommand, log 
id: 3b569aaf

2014-05-14 12:26:37,182 ERROR 
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(DefaultQuartzScheduler_Worker-82) IrsBroker::Failed::GetStoragePoolInfoVDS due 
to: IRSNonOperationalException: IRSGenericException: IRSErrorException: 
IRSNonOperationalException: Could not connect host to Data Center(Storage issue)

2014-05-14 12:26:47,305 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand] 
(DefaultQuartzScheduler_Worker-13) Command 
org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand 
return value



TaskStatusListReturnForXmlRpc [mStatus=StatusForXmlRpc [mCode=654, mMessage=Not 
SPM: ()]]



2014-05-14 12:26:47,321 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand] 
(DefaultQuartzScheduler_Worker-13) HostName = unc-srv-hyp1

2014-05-14 12:26:47,325 ERROR

[ovirt-users] Datacenter in no more responsive

2014-05-14 Thread VONDRA Alain
Hi,
I have a very weird issue with the last version of oVirt 3.4.1, I've upgraded 
because I already had this issue.
It came when I wanted to re-create a new export domain on my first hypervisor 
larger than the first one.
After this point, the datacenter came in a non responsive state, so I've 
upgraded oVirt to 3.4.1, but the issue is still there.
I join the tail of the engine.log and the vdsm.log of one of the two 
hypervisors.
Tell me if you want more logs.
Thank you in advance for your help :)

Engine.log :
TaskStatusListReturnForXmlRpc [mStatus=StatusForXmlRpc [mCode=654, mMessage=Not 
SPM: ()]]

2014-05-14 12:26:34,195 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand] 
(DefaultQuartzScheduler_Worker-82) HostName = unc-srv-hyp2
2014-05-14 12:26:34,199 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand] 
(DefaultQuartzScheduler_Worker-82) Command 
HSMGetAllTasksStatusesVDSCommand(HostName = unc-srv-hyp2, HostId = 
2d8722cc-5041-427d-964d-8980f40c5aa6) execution failed. Exception: 
IRSNonOperationalException: IRSGenericException: IRSErrorException: 
IRSNonOperationalException: Not SPM: ()
2014-05-14 12:26:34,248 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(DefaultQuartzScheduler_Worker-82) hostFromVds::selectedVds - unc-srv-hyp2, 
spmStatus Unknown_Pool, storage pool UNICEF
2014-05-14 12:26:34,269 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand] 
(DefaultQuartzScheduler_Worker-82) START, ConnectStoragePoolVDSCommand(HostName 
= unc-srv-hyp2, HostId = 2d8722cc-5041-427d-964d-8980f40c5aa6, storagePoolId = 
4eeccf64-715d-4ebe-a44c-eeca94a09a05, vds_spm_id = 2, masterDomainId = 
9bf9ed01-43ab-4372-acdd-3500645f3bd0, masterVersion = 1), log id: aaf1e60
2014-05-14 12:26:35,998 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand] 
(DefaultQuartzScheduler_Worker-82) FINISH, ConnectStoragePoolVDSCommand, log 
id: aaf1e60
2014-05-14 12:26:35,998 ERROR 
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(DefaultQuartzScheduler_Worker-82) IrsBroker::Failed::GetStoragePoolInfoVDS due 
to: IRSNonOperationalException: IRSGenericException: IRSErrorException: 
IRSNonOperationalException: Could not connect host to Data Center(Storage issue)
2014-05-14 12:26:36,082 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(DefaultQuartzScheduler_Worker-82) Irs placed on server 
2d8722cc-5041-427d-964d-8980f40c5aa6 failed. Proceed Failover
2014-05-14 12:26:36,126 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(DefaultQuartzScheduler_Worker-82) hostFromVds::selectedVds - unc-srv-hyp1, 
spmStatus Unknown_Pool, storage pool UNICEF
2014-05-14 12:26:36,147 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand] 
(DefaultQuartzScheduler_Worker-82) START, ConnectStoragePoolVDSCommand(HostName 
= unc-srv-hyp1, HostId = 4987bc7d-82b2-444f-ad6c-8289da5e4fb9, storagePoolId = 
4eeccf64-715d-4ebe-a44c-eeca94a09a05, vds_spm_id = 1, masterDomainId = 
9bf9ed01-43ab-4372-acdd-3500645f3bd0, masterVersion = 1), log id: 3b569aaf
2014-05-14 12:26:37,177 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand] 
(DefaultQuartzScheduler_Worker-82) FINISH, ConnectStoragePoolVDSCommand, log 
id: 3b569aaf
2014-05-14 12:26:37,182 ERROR 
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(DefaultQuartzScheduler_Worker-82) IrsBroker::Failed::GetStoragePoolInfoVDS due 
to: IRSNonOperationalException: IRSGenericException: IRSErrorException: 
IRSNonOperationalException: Could not connect host to Data Center(Storage issue)
2014-05-14 12:26:47,305 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand] 
(DefaultQuartzScheduler_Worker-13) Command 
org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand 
return value

TaskStatusListReturnForXmlRpc [mStatus=StatusForXmlRpc [mCode=654, mMessage=Not 
SPM: ()]]

2014-05-14 12:26:47,321 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand] 
(DefaultQuartzScheduler_Worker-13) HostName = unc-srv-hyp1
2014-05-14 12:26:47,325 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand] 
(DefaultQuartzScheduler_Worker-13) Command 
HSMGetAllTasksStatusesVDSCommand(HostName = unc-srv-hyp1, HostId = 
4987bc7d-82b2-444f-ad6c-8289da5e4fb9) execution failed. Exception: 
IRSNonOperationalException: IRSGenericException: IRSErrorException: 
IRSNonOperationalException: Not SPM: ()
2014-05-14 12:26:47,375 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(DefaultQuartzScheduler_Worker-13) hostFromVds::selectedVds - unc-srv-hyp2, 
spmStatus Unknown_Pool, storage pool UNICEF
2014-05-14 12:26:47,396 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand] 
(DefaultQuartzScheduler_Worker-13) START, ConnectStoragePoolVDSCommand(HostName 
= 

Re: [ovirt-users] Datacenter in no more responsive

2014-05-14 Thread VONDRA Alain
Hi again,
Just to complete my first mail, I've tried 4 or 5 times a new install from 
scratch using engine-cleanup and engine-setup, but nothing works...
Tank you




Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : Elad Ben Aharon [mailto:ebena...@redhat.com]
Envoyé : mercredi 14 mai 2014 15:09
À : VONDRA Alain; Allon Mureinik
Cc : users@ovirt.org
Objet : Re: [ovirt-users] Datacenter in no more responsive

Allon, could it be related to 
https://bugzilla.redhat.com/show_bug.cgi?id=1083476 ?


- Original Message -
From: VONDRA Alain avon...@unicef.fr
To: users@ovirt.org
Sent: Wednesday, May 14, 2014 1:29:13 PM
Subject: [ovirt-users] Datacenter in no more responsive



Hi,

I have a very weird issue with the last version of oVirt 3.4.1, I’ve upgraded 
because I already had this issue.

It came when I wanted to re-create a new export domain on my first hypervisor 
larger than the first one.

After this point, the datacenter came in a non responsive state, so I’ve 
upgraded oVirt to 3.4.1, but the issue is still there.

I join the tail of the engine.log and the vdsm.log of one of the two 
hypervisors.

Tell me if you want more logs.

Thank you in advance for your help J



Engine.log :

TaskStatusListReturnForXmlRpc [mStatus=StatusForXmlRpc [mCode=654, mMessage=Not 
SPM: ()]]



2014-05-14 12:26:34,195 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand] 
(DefaultQuartzScheduler_Worker-82) HostName = unc-srv-hyp2

2014-05-14 12:26:34,199 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand] 
(DefaultQuartzScheduler_Worker-82) Command 
HSMGetAllTasksStatusesVDSCommand(HostName = unc-srv-hyp2, HostId = 
2d8722cc-5041-427d-964d-8980f40c5aa6) execution failed. Exception: 
IRSNonOperationalException: IRSGenericException: IRSErrorException: 
IRSNonOperationalException: Not SPM: ()

2014-05-14 12:26:34,248 INFO 
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(DefaultQuartzScheduler_Worker-82) hostFromVds::selectedVds - unc-srv-hyp2, 
spmStatus Unknown_Pool, storage pool UNICEF

2014-05-14 12:26:34,269 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand] 
(DefaultQuartzScheduler_Worker-82) START, ConnectStoragePoolVDSCommand(HostName 
= unc-srv-hyp2, HostId = 2d8722cc-5041-427d-964d-8980f40c5aa6, storagePoolId = 
4eeccf64-715d-4ebe-a44c-eeca94a09a05, vds_spm_id = 2, masterDomainId = 
9bf9ed01-43ab-4372-acdd-3500645f3bd0, masterVersion = 1), log id: aaf1e60

2014-05-14 12:26:35,998 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand] 
(DefaultQuartzScheduler_Worker-82) FINISH, ConnectStoragePoolVDSCommand, log 
id: aaf1e60

2014-05-14 12:26:35,998 ERROR 
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(DefaultQuartzScheduler_Worker-82) IrsBroker::Failed::GetStoragePoolInfoVDS due 
to: IRSNonOperationalException: IRSGenericException: IRSErrorException: 
IRSNonOperationalException: Could not connect host to Data Center(Storage issue)

2014-05-14 12:26:36,082 INFO 
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(DefaultQuartzScheduler_Worker-82) Irs placed on server 
2d8722cc-5041-427d-964d-8980f40c5aa6 failed. Proceed Failover

2014-05-14 12:26:36,126 INFO 
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(DefaultQuartzScheduler_Worker-82) hostFromVds::selectedVds - unc-srv-hyp1, 
spmStatus Unknown_Pool, storage pool UNICEF

2014-05-14 12:26:36,147 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand] 
(DefaultQuartzScheduler_Worker-82) START, ConnectStoragePoolVDSCommand(HostName 
= unc-srv-hyp1, HostId = 4987bc7d-82b2-444f-ad6c-8289da5e4fb9, storagePoolId = 
4eeccf64-715d-4ebe-a44c-eeca94a09a05, vds_spm_id = 1, masterDomainId = 
9bf9ed01-43ab-4372-acdd-3500645f3bd0, masterVersion = 1), log id: 3b569aaf

2014-05-14 12:26:37,177 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand] 
(DefaultQuartzScheduler_Worker-82) FINISH, ConnectStoragePoolVDSCommand, log 
id: 3b569aaf

2014-05-14 12:26:37,182 ERROR 
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(DefaultQuartzScheduler_Worker-82) IrsBroker::Failed::GetStoragePoolInfoVDS due 
to: IRSNonOperationalException: IRSGenericException: IRSErrorException: 
IRSNonOperationalException: Could not connect host to Data Center(Storage issue)

2014-05-14 12:26:47,305 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand] 
(DefaultQuartzScheduler_Worker-13) Command 
org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand 
return value



TaskStatusListReturnForXmlRpc [mStatus=StatusForXmlRpc [mCode=654, mMessage=Not 
SPM: ()]]



2014-05-14 12:26:47,321 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand