Re: [Users] Lvm vgs failed on allinone setup

2012-12-03 Thread Yeela Kaplan
Hi Adrian,
Your domain ('033a2b87-def7-4c27-ab74-9860531f2ed4') is probably NFS.
Don't worry about the failed vgs errors, it is not the problem.
Please attach the full vdsm and engine logs so we can detect why the domain is 
set to 
maintenance after reboot.

--
Yeela

- Original Message -
 From: Adrian Gibanel adrian.giba...@btactic.com
 To: users@ovirt.org
 Sent: Tuesday, November 27, 2012 6:53:50 PM
 Subject: Re: [Users] Lvm vgs failed on allinone setup
 
 I've debugged the lvm vgs failed part. It seems to run this command:
 
 [adrian@server ~]$ sudo vgs --noheadings --units b --nosuffix
 --separator \| -o
 uuid,name,attr,size,free,extent_size,extent_count,free_count,tags,vg_mda_size,vg_mda_free
 033a2b87-def7-4c27-ab74-9860531f2ed4
 Volume group 033a2b87-def7-4c27-ab74-9860531f2ed4 not found
 
 If I run the same commands without arguments I found out the current
 VGs:
 
 [adrian@server ~]$ sudo vgs --noheadings --units b --nosuffix
 --separator \| -o
 uuid,name,attr,size,free,extent_size,extent_count,free_count,tags,vg_mda_size,vg_mda_free
 Na9Bdu-aELy-1G3m-JgcV-dBYM-PfaP-arsvUo|maquinasVG|wz--n-|1989115117568|406419668992|4194304|474242|96898||1048064|522240
 
 So I try to run it with the uuid seen:
 [adrian@server ~]$ sudo vgs --noheadings --units b --nosuffix
 --separator \| -o
 uuid,name,attr,size,free,extent_size,extent_count,free_count,tags,vg_mda_size,vg_mda_free
 Na9Bdu-aELy-1G3m-JgcV-dBYM-PfaP-arsvUo Volume group
 Na9Bdu-aELy-1G3m-JgcV-dBYM-PfaP-arsvUo not found
 it says it cannot find it.
 
 Now with the name:
 [adrian@server ~]$ sudo vgs --noheadings --units b --nosuffix
 --separator \| -o
 uuid,name,attr,size,free,extent_size,extent_count,free_count,tags,vg_mda_size,vg_mda_free
 maquinasVG
 Na9Bdu-aELy-1G3m-JgcV-dBYM-PfaP-arsvUo|maquinasVG|wz--n-|1989115117568|406419668992|4194304|474242|96898||1048064|522240
 
 It works!
 
 So that would maybe fix it. Although I'm not very sure because this
 is just a WARNING. And because I think it's not a good idea to
 rename current uuids for storage or iso domains (not sure which it's
 exactly) in the database just to match the LVM uuids.
 
 Now I'm going to debug the other messages which are ERRORs and not
 warnings.
 
 - Mensaje original -
 
  De: Adrian Gibanel adrian.giba...@btactic.com
  Para: users@ovirt.org
  Enviados: Martes, 27 de Noviembre 2012 17:16:50
  Asunto: Re: [Users] Lvm vgs failed on allinone setup
 
  After seeing that I had many named errors I've disabled ipv6 by
  adding -4 to OPTIONS line as described in:
  http://www.hafizonline.net/blog/?p=164 . After had I have rebooted
  the logs regarding lvm change a bit. Here you are:
 
  Nov 27 17:09:15 server vdsm Storage.LVM WARNING lvm vgs failed: 5
  []
  [' Volume group c20da291-baf5-480a-b314-b775a6dde6e8 not found']
 
 --
 
 --
 Adrián Gibanel
 I.T. Manager
 
 +34 675 683 301
 www.btactic.com
 
 
 
 Ens podeu seguir a/Nos podeis seguir en:
 
 i
 
 
 Abans d´imprimir aquest missatge, pensa en el medi ambient. El medi
 ambient és cosa de tothom. / Antes de imprimir el mensaje piensa en
 el medio ambiente. El medio ambiente es cosa de todos.
 
 AVIS:
 El contingut d'aquest missatge i els seus annexos és confidencial. Si
 no en sou el destinatari, us fem saber que està prohibit
 utilitzar-lo, divulgar-lo i/o copiar-lo sense tenir l'autorització
 corresponent. Si heu rebut aquest missatge per error, us agrairem
 que ho feu saber immediatament al remitent i que procediu a destruir
 el missatge .
 
 AVISO:
 El contenido de este mensaje y de sus anexos es confidencial. Si no
 es el destinatario, les hacemos saber que está prohibido utilizarlo,
 divulgarlo y/o copiarlo sin tener la autorización correspondiente.
 Si han recibido este mensaje por error, les agradeceríamos que lo
 hagan saber inmediatamente al remitente y que procedan a destruir el
 mensaje .
 ___
 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: [Users] Lvm vgs failed on allinone setup

2012-12-03 Thread Adrian Gibanel
Please check: 
https://bugzilla.redhat.com/show_bug.cgi?id=881941 
which explains what actually the bug is. 
I might attach there the logs you request too. 

I had to refer to the bug before but I just had forgotten about it. 

- Mensaje original -

 De: Yeela Kaplan ykap...@redhat.com
 Para: Adrian Gibanel adrian.giba...@btactic.com
 CC: users@ovirt.org
 Enviados: Lunes, 3 de Diciembre 2012 10:18:46
 Asunto: Re: [Users] Lvm vgs failed on allinone setup

 Hi Adrian,
 Your domain ('033a2b87-def7-4c27-ab74-9860531f2ed4') is probably NFS.
 Don't worry about the failed vgs errors, it is not the problem.
 Please attach the full vdsm and engine logs so we can detect why the
 domain is set to
 maintenance after reboot.

 --
 Yeela

 - Original Message -
  From: Adrian Gibanel adrian.giba...@btactic.com
  To: users@ovirt.org
  Sent: Tuesday, November 27, 2012 6:53:50 PM
  Subject: Re: [Users] Lvm vgs failed on allinone setup
 
  I've debugged the lvm vgs failed part. It seems to run this
  command:
 
  [adrian@server ~]$ sudo vgs --noheadings --units b --nosuffix
  --separator \| -o
  uuid,name,attr,size,free,extent_size,extent_count,free_count,tags,vg_mda_size,vg_mda_free
  033a2b87-def7-4c27-ab74-9860531f2ed4
  Volume group 033a2b87-def7-4c27-ab74-9860531f2ed4 not found
 
  If I run the same commands without arguments I found out the
  current
  VGs:
 
  [adrian@server ~]$ sudo vgs --noheadings --units b --nosuffix
  --separator \| -o
  uuid,name,attr,size,free,extent_size,extent_count,free_count,tags,vg_mda_size,vg_mda_free
  Na9Bdu-aELy-1G3m-JgcV-dBYM-PfaP-arsvUo|maquinasVG|wz--n-|1989115117568|406419668992|4194304|474242|96898||1048064|522240
 
  So I try to run it with the uuid seen:
  [adrian@server ~]$ sudo vgs --noheadings --units b --nosuffix
  --separator \| -o
  uuid,name,attr,size,free,extent_size,extent_count,free_count,tags,vg_mda_size,vg_mda_free
  Na9Bdu-aELy-1G3m-JgcV-dBYM-PfaP-arsvUo Volume group
  Na9Bdu-aELy-1G3m-JgcV-dBYM-PfaP-arsvUo not found
  it says it cannot find it.
 
  Now with the name:
  [adrian@server ~]$ sudo vgs --noheadings --units b --nosuffix
  --separator \| -o
  uuid,name,attr,size,free,extent_size,extent_count,free_count,tags,vg_mda_size,vg_mda_free
  maquinasVG
  Na9Bdu-aELy-1G3m-JgcV-dBYM-PfaP-arsvUo|maquinasVG|wz--n-|1989115117568|406419668992|4194304|474242|96898||1048064|522240
 
  It works!
 
  So that would maybe fix it. Although I'm not very sure because this
  is just a WARNING. And because I think it's not a good idea to
  rename current uuids for storage or iso domains (not sure which
  it's
  exactly) in the database just to match the LVM uuids.
 
  Now I'm going to debug the other messages which are ERRORs and not
  warnings.
 
  - Mensaje original -
 
   De: Adrian Gibanel adrian.giba...@btactic.com
   Para: users@ovirt.org
   Enviados: Martes, 27 de Noviembre 2012 17:16:50
   Asunto: Re: [Users] Lvm vgs failed on allinone setup
 
   After seeing that I had many named errors I've disabled ipv6 by
   adding -4 to OPTIONS line as described in:
   http://www.hafizonline.net/blog/?p=164 . After had I have
   rebooted
   the logs regarding lvm change a bit. Here you are:
 
   Nov 27 17:09:15 server vdsm Storage.LVM WARNING lvm vgs failed: 5
   []
   [' Volume group c20da291-baf5-480a-b314-b775a6dde6e8 not
   found']
 
  --
 
  --
  Adrián Gibanel

-- 

Adrián Gibanel 
I.T. Manager 

+34 675 683 301 
www.btactic.com 

Ens podeu seguir a/Nos podeis seguir en: 

i 

Abans d´imprimir aquest missatge, pensa en el medi ambient. El medi ambient és 
cosa de tothom. / Antes de imprimir el mensaje piensa en el medio ambiente. El 
medio ambiente es cosa de todos. 

AVIS: 
El contingut d'aquest missatge i els seus annexos és confidencial. Si no en sou 
el destinatari, us fem saber que està prohibit utilitzar-lo, divulgar-lo i/o 
copiar-lo sense tenir l'autorització corresponent. Si heu rebut aquest missatge 
per error, us agrairem que ho feu saber immediatament al remitent i que 
procediu a destruir el missatge . 

AVISO: 
El contenido de este mensaje y de sus anexos es confidencial. Si no es el 
destinatario, les hacemos saber que está prohibido utilizarlo, divulgarlo y/o 
copiarlo sin tener la autorización correspondiente. Si han recibido este 
mensaje por error, les agradeceríamos que lo hagan saber inmediatamente al 
remitente y que procedan a destruir el mensaje . 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Lvm vgs failed on allinone setup

2012-11-27 Thread Latchezar Filtchev
Hi,

I also had a problems with disappearing of iSCSI storage. This might help:

http://www.sysarchitects.com/iscsi_target_on_rhel6

I was not able to  solve my problem by manipulating /etc/lvm/lvm.conf. I 
reinstalled my test environment without LVM. Now after restart iSCSI storage 
does not disappear.

Best,
Latcho
 
--
Latchezar Filtchev
IT Manager
http://www.aubg.bg
 
-Original Message-
From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
Adrian Gibanel 
Sent: Monday, November 26, 2012 7:50 PM
To: users@ovirt.org
Subject: [Users] Lvm vgs failed on allinone setup

Hi, 

  I'm trying to setup an oVirt 3.1 allinone system as described at: 
http://blog.jebpages.com/archives/up-and-running-with-ovirt-3-1-edition/
.

  The main differences between my article and my setup are:

  * I've downgraded ovirt-engine-sdk to 3.1 as suggested.
  * I've selected ISCSI instead of NFS when running engine-setup and answering 
to the: The default storage question. (I can change that to NFS if needed, I 
think I used ISCSI because I had seen it in another howto).
  * Hacked all_in_one_100.py to increase waitForHostUp timeout ( 
http://blog.jebpages.com/archives/up-and-running-with-ovirt-3-1-edition/#comment-705803414
 )

  So when I first install it I go to attach local storage to local datacenter 
as described in 5th setp in 
http://blog.jebpages.com/archives/up-and-running-with-ovirt-3-1-edition/ and 
everything seems to work fine.

  My problem happens when I reboot. (I just rebooted to make sure everything 
was setup fine.).
Then the local storage (named iso) isn't attached to the local datacenter any 
more.
I've checked /var/log/messages and I've found what I think it's the problem:
---

Nov 25 23:54:03 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] [' 
Volume group e2e3cb9c-a664-4fda-be0c-428b239e7e66 not found']

Nov 25 23:54:03 server vdsm TaskManager.Task ERROR 
Task=`e75609f0-7322-4845-9cfc-1fb18e0ad3fc`::Unexpected error

Nov 25 23:54:03 server vdsm Storage.Dispatcher.Protect ERROR
{'status': {'message': Storage domain does not exist:
('e2e3cb9c-a664-4fda-be0c-428b239e7e66',), 'code': 358}}
---

The place where I initially placed iso and storage was /home/iso and 
/home/storage where /home was a normal ext4 partition.
In order to try to fix this problem and maybe increase oVirt capabilites now 
/home is an ext4 partition but not a normal one but mounted over an LV one.
As you can see the problem has not been fixed.

So I either need some help on how to fix this. I don't know. Some ideas.
* What's oVirt expecting when it searches a Volume group.
* What command is it trying to run?
* I've tried to search the script which might do the search but I've been 
unable to find it.
* Does oVirt expect any special partitioning layout regarding lvm?

Thank you for any idea you could have.

--
--
Adrián Gibanel
I.T. Manager 

+34 675 683 301
www.btactic.com 



Ens podeu seguir a/Nos podeis seguir en: 

i 


Abans d´imprimir aquest missatge, pensa en el medi ambient. El medi ambient és 
cosa de tothom. / Antes de imprimir el mensaje piensa en el medio ambiente. El 
medio ambiente es cosa de todos. 

AVIS: 
El contingut d'aquest missatge i els seus annexos és confidencial. Si no en sou 
el destinatari, us fem saber que està prohibit utilitzar-lo, divulgar-lo i/o 
copiar-lo sense tenir l'autorització corresponent. Si heu rebut aquest missatge 
per error, us agrairem que ho feu saber immediatament al remitent i que 
procediu a destruir el missatge . 

AVISO: 
El contenido de este mensaje y de sus anexos es confidencial. Si no es el 
destinatario, les hacemos saber que está prohibido utilizarlo, divulgarlo y/o 
copiarlo sin tener la autorización correspondiente. Si han recibido este 
mensaje por error, les agradeceríamos que lo hagan saber inmediatamente al 
remitente y que procedan a destruir el mensaje . 
___
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: [Users] Lvm vgs failed on allinone setup

2012-11-27 Thread Adrian Gibanel
If iSCSI is the problem I think I will reinstall oVirt by choosing NFS for 
default storage and not iSCSI.

- Mensaje original - 

 De: Latchezar Filtchev lat...@aubg.bg
 Para: Adrian Gibanel adrian.giba...@btactic.com, users@ovirt.org
 Enviados: Martes, 27 de Noviembre 2012 10:50:22
 Asunto: RE: [Users] Lvm vgs failed on allinone setup

 Hi,

 I also had a problems with disappearing of iSCSI storage. This might
 help:

 http://www.sysarchitects.com/iscsi_target_on_rhel6

 I was not able to solve my problem by manipulating /etc/lvm/lvm.conf.
 I reinstalled my test environment without LVM. Now after restart
 iSCSI storage does not disappear.

 Best,
 Latcho

 --
 Latchezar Filtchev
 IT Manager
 http://www.aubg.bg

 -Original Message-
 From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On
 Behalf Of Adrian Gibanel
 Sent: Monday, November 26, 2012 7:50 PM
 To: users@ovirt.org
 Subject: [Users] Lvm vgs failed on allinone setup

 Hi,

 I'm trying to setup an oVirt 3.1 allinone system as described at:
 http://blog.jebpages.com/archives/up-and-running-with-ovirt-3-1-edition/
 .

 The main differences between my article and my setup are:

 * I've downgraded ovirt-engine-sdk to 3.1 as suggested.
 * I've selected ISCSI instead of NFS when running engine-setup and
 answering to the: The default storage question. (I can change that
 to NFS if needed, I think I used ISCSI because I had seen it in
 another howto).
 * Hacked all_in_one_100.py to increase waitForHostUp timeout (
 http://blog.jebpages.com/archives/up-and-running-with-ovirt-3-1-edition/#comment-705803414
 )

 So when I first install it I go to attach local storage to local
 datacenter as described in 5th setp in
 http://blog.jebpages.com/archives/up-and-running-with-ovirt-3-1-edition/
 and everything seems to work fine.

 My problem happens when I reboot. (I just rebooted to make sure
 everything was setup fine.).
 Then the local storage (named iso) isn't attached to the local
 datacenter any more.
 I've checked /var/log/messages and I've found what I think it's the
 problem:
 ---

 Nov 25 23:54:03 server vdsm Storage.LVM WARNING lvm vgs failed: 5 []
 ['
 Volume group e2e3cb9c-a664-4fda-be0c-428b239e7e66 not found']

 Nov 25 23:54:03 server vdsm TaskManager.Task ERROR
 Task=`e75609f0-7322-4845-9cfc-1fb18e0ad3fc`::Unexpected error

 Nov 25 23:54:03 server vdsm Storage.Dispatcher.Protect ERROR
 {'status': {'message': Storage domain does not exist:
 ('e2e3cb9c-a664-4fda-be0c-428b239e7e66',), 'code': 358}}
 ---

 The place where I initially placed iso and storage was /home/iso and
 /home/storage where /home was a normal ext4 partition.
 In order to try to fix this problem and maybe increase oVirt
 capabilites now /home is an ext4 partition but not a normal one but
 mounted over an LV one.
 As you can see the problem has not been fixed.

 So I either need some help on how to fix this. I don't know. Some
 ideas.
 * What's oVirt expecting when it searches a Volume group.
 * What command is it trying to run?
 * I've tried to search the script which might do the search but I've
 been unable to find it.
 * Does oVirt expect any special partitioning layout regarding lvm?

 Thank you for any idea you could have.

 --
 --
 Adrián Gibanel

-- 

-- 
Adrián Gibanel 
I.T. Manager 

+34 675 683 301 
www.btactic.com 



Ens podeu seguir a/Nos podeis seguir en: 

i 


Abans d´imprimir aquest missatge, pensa en el medi ambient. El medi ambient és 
cosa de tothom. / Antes de imprimir el mensaje piensa en el medio ambiente. El 
medio ambiente es cosa de todos. 

AVIS: 
El contingut d'aquest missatge i els seus annexos és confidencial. Si no en sou 
el destinatari, us fem saber que està prohibit utilitzar-lo, divulgar-lo i/o 
copiar-lo sense tenir l'autorització corresponent. Si heu rebut aquest missatge 
per error, us agrairem que ho feu saber immediatament al remitent i que 
procediu a destruir el missatge . 

AVISO: 
El contenido de este mensaje y de sus anexos es confidencial. Si no es el 
destinatario, les hacemos saber que está prohibido utilizarlo, divulgarlo y/o 
copiarlo sin tener la autorización correspondiente. Si han recibido este 
mensaje por error, les agradeceríamos que lo hagan saber inmediatamente al 
remitente y que procedan a destruir el mensaje . 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Lvm vgs failed on allinone setup

2012-11-27 Thread Adrian Gibanel
So I have reinstalled by doing: 
engine-cleanup 
rm -rf /home/iso 
rm -rf /home/storage 
rm /etc/exports 
export LANG=en_US.UTF-8 
engine-setup

Now when asked I have select NFS for the default storage type.

I've done the 5th step at 
http://blog.jebpages.com/archives/up-and-running-with-ovirt-3-1-edition/ .
(Copy and paste - BEGIN)
click on the storage tab and highlight the iso domain you created during the 
setup-script. In the pane that appears below, choose the “Data Center” tab, 
click “Attach,” check the box next to your local data center, and hit “OK.” 
Once the iso domain is finished attaching, click “Activate” to, uh, activate it.
(Copy and paste - END)

I've taken a moment to check /var/log/messages and I have noticed:

Nov 27 14:14:25 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] ['  Volume 
group 033a2b87-def7-4c27-ab74-9860531f2ed4 not found']
Nov 27 14:14:25 server vdsm Storage.StorageDomain WARNING Resource namespace 
033a2b87-def7-4c27-ab74-9860531f2ed4_imageNS already registered
Nov 27 14:14:25 server vdsm Storage.StorageDomain WARNING Resource namespace 
033a2b87-def7-4c27-ab74-9860531f2ed4_volumeNS already registered
Nov 27 14:14:25 server kernel: [136736.468680] ata1: hard resetting link
Nov 27 14:14:25 server kernel: [136736.772691] ata1: SATA link up 3.0 Gbps 
(SStatus 123 SControl 300)
Nov 27 14:14:25 server kernel: [136736.775827] ata1.00: configured for UDMA/133
Nov 27 14:14:25 server kernel: [136736.775831] ata1: EH complete
Nov 27 14:14:25 server kernel: [136736.776038] ata2: hard resetting link
Nov 27 14:14:25 server kernel: [136737.081179] ata2: SATA link up 3.0 Gbps 
(SStatus 123 SControl 300)
Nov 27 14:14:25 server kernel: [136737.084182] ata2.00: configured for UDMA/133
Nov 27 14:14:25 server kernel: [136737.084187] ata2: EH complete
Nov 27 14:14:25 server kernel: [136737.084420] ata3: limiting SATA link speed 
to 1.5 Gbps
Nov 27 14:14:25 server kernel: [136737.084425] ata3: hard resetting link
Nov 27 14:14:26 server kernel: [136737.388525] ata3: SATA link down (SStatus 0 
SControl 310)
Nov 27 14:14:26 server kernel: [136737.388537] ata3: EH complete
Nov 27 14:14:26 server kernel: [136737.388778] ata4: limiting SATA link speed 
to 1.5 Gbps
Nov 27 14:14:26 server kernel: [136737.388783] ata4: hard resetting link
Nov 27 14:14:26 server kernel: [136737.692934] ata4: SATA link down (SStatus 0 
SControl 310)
Nov 27 14:14:26 server kernel: [136737.692944] ata4: EH complete
Nov 27 14:14:26 server kernel: [136737.693138] ata5: limiting SATA link speed 
to 1.5 Gbps
Nov 27 14:14:26 server kernel: [136737.693142] ata5: hard resetting link
Nov 27 14:14:26 server kernel: [136737.997324] ata5: SATA link down (SStatus 0 
SControl 310)
Nov 27 14:14:26 server kernel: [136737.997334] ata5: EH complete
Nov 27 14:14:26 server kernel: [136737.997587] ata6: limiting SATA link speed 
to 1.5 Gbps
Nov 27 14:14:26 server kernel: [136737.997592] ata6: hard resetting link
Nov 27 14:14:27 server kernel: [136738.301820] ata6: SATA link down (SStatus 0 
SControl 310)
Nov 27 14:14:27 server kernel: [136738.301832] ata6: EH complete
Nov 27 14:14:27 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] ['  Volume 
group c20da291-baf5-480a-b314-b775a6dde6e8 not found']
Nov 27 14:14:27 server vdsm Storage.StorageDomain WARNING Resource namespace 
c20da291-baf5-480a-b314-b775a6dde6e8_imageNS already registered
Nov 27 14:14:27 server vdsm Storage.StorageDomain WARNING Resource namespace 
c20da291-baf5-480a-b314-b775a6dde6e8_volumeNS already registered
Nov 27 14:14:27 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] ['  Volume 
group 033a2b87-def7-4c27-ab74-9860531f2ed4 not found']

Any ways I've decided to reboot just to see if everything went ok. When 
examining Storage tab I see how local-iso-share (my ISO domain type) is shown 
as green (activated) and then red (maintenance).

Taking a look at /var/log/messages I've seen:



Nov 27 14:26:38 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] [' Volume 
group c20da291-baf5-480a-b314-b775a6dde6e8 not found'] 
Nov 27 14:26:38 server vdsm Storage.StorageDomain WARNING Resource namespace 
c20da291-baf5-480a-b314-b775a6dde6e8_imageNS already registered 
Nov 27 14:26:38 server vdsm Storage.StorageDomain WARNING Resource namespace 
c20da291-baf5-480a-b314-b775a6dde6e8_volumeNS already registered 
Nov 27 14:26:38 server vdsm Storage.HSM ERROR Could not disconnect from 
storageServer 

What am I missing?

Thank you.

- Mensaje original - 


De: Adrian Gibanel adrian.giba...@btactic.com 
Para: users@ovirt.org 
Enviados: Martes, 27 de Noviembre 2012 11:10:48 
Asunto: Re: [Users] Lvm vgs failed on allinone setup 

If iSCSI is the problem I think I will reinstall oVirt by choosing NFS for 
default storage and not iSCSI. 

- Mensaje original - 

 De: Latchezar Filtchev lat...@aubg.bg 
 Para: Adrian Gibanel adrian.giba...@btactic.com, users@ovirt.org 
 Enviados: Martes, 27 de Noviembre 2012 10:50:22 
 Asunto: RE: [Users] Lvm vgs failed

Re: [Users] Lvm vgs failed on allinone setup

2012-11-27 Thread Adrian Gibanel
 
group 033a2b87-def7-4c27-ab74-9860531f2ed4 not found']
Nov 27 16:14:37 server vdsm Storage.StoragePool WARNING Could not get full 
domain information, it is probably unavailable
Nov 27 16:14:47 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] ['  Volume 
group 033a2b87-def7-4c27-ab74-9860531f2ed4 not found']
Nov 27 16:14:47 server vdsm Storage.StoragePool WARNING Could not get full 
domain information, it is probably unavailable
Nov 27 16:14:57 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] ['  Volume 
group 033a2b87-def7-4c27-ab74-9860531f2ed4 not found']
Nov 27 16:14:57 server vdsm Storage.StoragePool WARNING Could not get full 
domain information, it is probably unavailable
Nov 27 16:15:08 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] ['  Volume 
group 033a2b87-def7-4c27-ab74-9860531f2ed4 not found']
Nov 27 16:15:08 server vdsm Storage.StoragePool WARNING Could not get full 
domain information, it is probably unavailable
Nov 27 16:15:18 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] ['  Volume 
group 033a2b87-def7-4c27-ab74-9860531f2ed4 not found']
Nov 27 16:15:18 server vdsm Storage.StoragePool WARNING Could not get full 
domain information, it is probably unavailable
Nov 27 16:15:28 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] ['  Volume 
group 033a2b87-def7-4c27-ab74-9860531f2ed4 not found']
Nov 27 16:15:28 server vdsm Storage.StoragePool WARNING Could not get full 
domain information, it is probably unavailable
Nov 27 16:15:39 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] ['  Volume 
group 033a2b87-def7-4c27-ab74-9860531f2ed4 not found']
Nov 27 16:15:39 server vdsm Storage.StoragePool WARNING Could not get full 
domain information, it is probably unavailable
Nov 27 16:15:49 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] ['  Volume 
group 033a2b87-def7-4c27-ab74-9860531f2ed4 not found']
Nov 27 16:15:49 server vdsm Storage.StoragePool WARNING Could not get full 
domain information, it is probably unavailable
Nov 27 16:15:59 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] ['  Volume 
group 033a2b87-def7-4c27-ab74-9860531f2ed4 not found']
Nov 27 16:15:59 server vdsm Storage.StoragePool WARNING Could not get full 
domain information, it is probably unavailable
Nov 27 16:16:10 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] ['  Volume 
group 033a2b87-def7-4c27-ab74-9860531f2ed4 not found']
Nov 27 16:16:10 server vdsm Storage.StoragePool WARNING Could not get full 
domain information, it is probably unavailable
Nov 27 16:16:13 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] ['  Volume 
group 033a2b87-def7-4c27-ab74-9860531f2ed4 not found']
Nov 27 16:16:13 server vdsm Storage.StoragePool WARNING deactivating missing 
domain 033a2b87-def7-4c27-ab74-9860531f2ed4

...

Nov 27 16:16:16 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] ['  Volume 
group c20da291-baf5-480a-b314-b775a6dde6e8 not found']
Nov 27 16:16:16 server vdsm Storage.StorageDomain WARNING Resource namespace 
c20da291-baf5-480a-b314-b775a6dde6e8_imageNS already registered
Nov 27 16:16:16 server vdsm Storage.StorageDomain WARNING Resource namespace 
c20da291-baf5-480a-b314-b775a6dde6e8_volumeNS already registered
Nov 27 16:16:16 server vdsm Storage.HSM ERROR Could not disconnect from 
storageServer

So now I go and check the Storage tab from the UI. local-iso-share (ISO domain) 
is inactive as its attached datacenter: local_datacenter is in status: 
Maintenance.

No more lvms related logs are found at /var/log/messages.


- Mensaje original - 

 De: Adrian Gibanel adrian.giba...@btactic.com
 Para: users@ovirt.org
 Enviados: Martes, 27 de Noviembre 2012 15:42:47
 Asunto: Re: [Users] Lvm vgs failed on allinone setup

 So I have reinstalled by doing:
 engine-cleanup
 rm -rf /home/iso
 rm -rf /home/storage
 rm /etc/exports
 export LANG=en_US.UTF-8
 engine-setup

 Now when asked I have select NFS for the default storage type.

 I've done the 5th step at
 http://blog.jebpages.com/archives/up-and-running-with-ovirt-3-1-edition/
 .
 (Copy and paste - BEGIN)
 click on the storage tab and highlight the iso domain you created
 during the setup-script. In the pane that appears below, choose the
 “Data Center” tab, click “Attach,” check the box next to your local
 data center, and hit “OK.” Once the iso domain is finished
 attaching, click “Activate” to, uh, activate it.
 (Copy and paste - END)

 I've taken a moment to check /var/log/messages and I have noticed:

 Nov 27 14:14:25 server vdsm Storage.LVM WARNING lvm vgs failed: 5 []
 [' Volume group 033a2b87-def7-4c27-ab74-9860531f2ed4 not found']
 Nov 27 14:14:25 server vdsm Storage.StorageDomain WARNING Resource
 namespace 033a2b87-def7-4c27-ab74-9860531f2ed4_imageNS already
 registered
 Nov 27 14:14:25 server vdsm Storage.StorageDomain WARNING Resource
 namespace 033a2b87-def7-4c27-ab74-9860531f2ed4_volumeNS already
 registered
 Nov 27 14:14:25 server kernel: [136736.468680] ata1: hard resetting
 link
 Nov 27 14:14:25 server kernel

[Users] Lvm vgs failed on allinone setup

2012-11-26 Thread Adrian Gibanel
Hi, 

  I'm trying to setup an oVirt 3.1 allinone system as described at: 
http://blog.jebpages.com/archives/up-and-running-with-ovirt-3-1-edition/
.

  The main differences between my article and my setup are:

  * I've downgraded ovirt-engine-sdk to 3.1 as suggested.
  * I've selected ISCSI instead of NFS when running engine-setup and answering 
to the: The default storage question. (I can change that to NFS if needed, I 
think I used ISCSI because I had seen it in another howto).
  * Hacked all_in_one_100.py to increase waitForHostUp timeout ( 
http://blog.jebpages.com/archives/up-and-running-with-ovirt-3-1-edition/#comment-705803414
 )

  So when I first install it I go to attach local storage to local datacenter 
as described in 5th setp in 
http://blog.jebpages.com/archives/up-and-running-with-ovirt-3-1-edition/ and 
everything seems to work fine.

  My problem happens when I reboot. (I just rebooted to make sure everything 
was setup fine.).
Then the local storage (named iso) isn't attached to the local datacenter any 
more.
I've checked /var/log/messages and I've found what I think it's the problem:
---

Nov 25 23:54:03 server vdsm Storage.LVM WARNING
lvm vgs failed: 5 [] [' 
Volume group e2e3cb9c-a664-4fda-be0c-428b239e7e66 not found']

Nov 25 23:54:03 server vdsm TaskManager.Task ERROR
Task=`e75609f0-7322-4845-9cfc-1fb18e0ad3fc`::Unexpected error

Nov 25 23:54:03 server vdsm Storage.Dispatcher.Protect ERROR
{'status': {'message': Storage domain does not exist:
('e2e3cb9c-a664-4fda-be0c-428b239e7e66',), 'code': 358}}
---

The place where I initially placed iso and storage was /home/iso and 
/home/storage where /home was a normal ext4 partition.
In order to try to fix this problem and maybe increase oVirt capabilites now 
/home is an ext4 partition but not a normal one but mounted over an LV one.
As you can see the problem has not been fixed.

So I either need some help on how to fix this. I don't know. Some ideas.
* What's oVirt expecting when it searches a Volume group.
* What command is it trying to run?
* I've tried to search the script which might do the search but I've been 
unable to find it.
* Does oVirt expect any special partitioning layout regarding lvm?

Thank you for any idea you could have.

-- 
-- 
Adrián Gibanel 
I.T. Manager 

+34 675 683 301 
www.btactic.com 



Ens podeu seguir a/Nos podeis seguir en: 

i 


Abans d´imprimir aquest missatge, pensa en el medi ambient. El medi ambient és 
cosa de tothom. / Antes de imprimir el mensaje piensa en el medio ambiente. El 
medio ambiente es cosa de todos. 

AVIS: 
El contingut d'aquest missatge i els seus annexos és confidencial. Si no en sou 
el destinatari, us fem saber que està prohibit utilitzar-lo, divulgar-lo i/o 
copiar-lo sense tenir l'autorització corresponent. Si heu rebut aquest missatge 
per error, us agrairem que ho feu saber immediatament al remitent i que 
procediu a destruir el missatge . 

AVISO: 
El contenido de este mensaje y de sus anexos es confidencial. Si no es el 
destinatario, les hacemos saber que está prohibido utilizarlo, divulgarlo y/o 
copiarlo sin tener la autorización correspondiente. Si han recibido este 
mensaje por error, les agradeceríamos que lo hagan saber inmediatamente al 
remitente y que procedan a destruir el mensaje . 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users