[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/#com... ) 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 .

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-bounces@ovirt.org [mailto:users-bounces@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/#com... ) 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

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" <Latcho@aubg.bg> Para: "Adrian Gibanel" <adrian.gibanel@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:
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-bounces@ovirt.org [mailto:users-bounces@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/#com... )
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 .

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.gibanel@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" <Latcho@aubg.bg> Para: "Adrian Gibanel" <adrian.gibanel@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:
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-bounces@ovirt.org [mailto:users-bounces@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/#com... )
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 .

So let me clarify what I'm experiencing a little more: local-iso-share is attached to local_datacenter without any problems. The problem is when I reboot. I probably had said that it does not get attached when I reboot in previous emails. After better inspection what I'm seeing is that: local-iso-share is attached to local_datacenter however I find it in maintenance mode when I boot. I don't find it in active mode (which I suppose it's the right mode it should be). ----------------- So I've done some changes manually to produce logs: When going into Maintenance manually: Nov 27 15:59:06 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] [' Volume group "c20da291-baf5-480a-b314-b775a6dde6e8" not found'] Nov 27 15:59:06 server vdsm Storage.StorageDomain WARNING Resource namespace c20da291-baf5-480a-b314-b775a6dde6e8_imageNS already registered Nov 27 15:59:06 server vdsm Storage.StorageDomain WARNING Resource namespace c20da291-baf5-480a-b314-b775a6dde6e8_volumeNS already registered When activating it manually: Nov 27 16:00:27 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] [' Volume group "033a2b87-def7-4c27-ab74-9860531f2ed4" not found'] Nov 27 16:00:27 server vdsm Storage.StorageDomain WARNING Resource namespace 033a2b87-def7-4c27-ab74-9860531f2ed4_imageNS already registered Nov 27 16:00:27 server vdsm Storage.StorageDomain WARNING Resource namespace 033a2b87-def7-4c27-ab74-9860531f2ed4_volumeNS already registered Nov 27 16:00:28 server kernel: [ 6043.360723] ata1: hard resetting link (and other hard resetting link alike) Nov 27 16:00:30 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] [' Volume group "c20da291-baf5-480a-b314-b775a6dde6e8" not found'] Nov 27 16:00:30 server vdsm Storage.StorageDomain WARNING Resource namespace c20da291-baf5-480a-b314-b775a6dde6e8_imageNS already registered Nov 27 16:00:30 server vdsm Storage.StorageDomain WARNING Resource namespace c20da291-baf5-480a-b314-b775a6dde6e8_volumeNS already registered Nov 27 16:00:30 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] [' Volume group "033a2b87-def7-4c27-ab74-9860531f2ed4" not found'] ------------------ When rebooting I see: Nov 27 16:11:21 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] [' Volume group "c20da291-baf5-480a-b314-b775a6dde6e8" not found'] Nov 27 16:11:22 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] [' Volume group "033a2b87-def7-4c27-ab74-9860531f2ed4" not found'] Nov 27 16:11:22 server vdsm Storage.StoragePool ERROR Unexpected error while trying to monitor domain `033a2b87-def7-4c27-ab74-9860531f2ed4` Nov 27 16:11:22 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] [' Volume group "033a2b87-def7-4c27-ab74-9860531f2ed4" not found'] Nov 27 16:11:22 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] [' Volume group "033a2b87-def7-4c27-ab74-9860531f2ed4" not found'] Nov 27 16:11:22 server vdsm Storage.StoragePool ERROR Unable to acquire host id on sdUUID=`033a2b87-def7-4c27-ab74-9860531f2ed4` Nov 27 16:11:22 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] [' Volume group "033a2b87-def7-4c27-ab74-9860531f2ed4" not found'] Nov 27 16:11:22 server vdsm Storage.StoragePool ERROR Unexpected error while trying to monitor domain `033a2b87-def7-4c27-ab74-9860531f2ed4` Nov 27 16:13:45 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] [' Volume group "033a2b87-def7-4c27-ab74-9860531f2ed4" not found'] Nov 27 16:13:45 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] [' Volume group "033a2b87-def7-4c27-ab74-9860531f2ed4" not found'] Nov 27 16:13:45 server vdsm Storage.StoragePool ERROR Backup domain validation failed Nov 27 16:13:45 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] [' Volume group "033a2b87-def7-4c27-ab74-9860531f2ed4" not found'] Nov 27 16:13:45 server vdsm Storage.StoragePool WARNING Could not get full domain information, it is probably unavailable Nov 27 16:13:55 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] [' Volume group "033a2b87-def7-4c27-ab74-9860531f2ed4" not found'] Nov 27 16:13:55 server vdsm Storage.StoragePool WARNING Could not get full domain information, it is probably unavailable Nov 27 16:14:06 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] [' Volume group "033a2b87-def7-4c27-ab74-9860531f2ed4" not found'] Nov 27 16:14:06 server vdsm Storage.StoragePool WARNING Could not get full domain information, it is probably unavailable Nov 27 16:14:16 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] [' Volume group "033a2b87-def7-4c27-ab74-9860531f2ed4" not found'] Nov 27 16:14:16 server vdsm Storage.StoragePool WARNING Could not get full domain information, it is probably unavailable Nov 27 16:14:26 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] [' Volume group "033a2b87-def7-4c27-ab74-9860531f2ed4" not found'] Nov 27 16:14:26 server vdsm Storage.StoragePool WARNING Could not get full domain information, it is probably unavailable Nov 27 16:14:37 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] [' Volume 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.gibanel@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: [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.
-- -- 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 .

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:08:47 server vdsm vds ERROR Unable to load the rest server module. Please make sure it is installed. ... Nov 27 17:09:12 server vdsm TaskManager.Task ERROR Task=`292ec7f1-e9bc-48d2-b374-9694b042de58`::Unexpected error Nov 27 17:09:12 server vdsm Storage.Dispatcher.Protect ERROR {'status': {'message': "Unknown pool id, pool not connected: ('979a0acd-1409-4954-a6e3-e0932f1a4771',)", 'code': 309}} ... Nov 27 17:09:15 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] [' Volume group "c20da291-baf5-480a-b314-b775a6dde6e8" not found'] Nov 27 17:09:15 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] [' Volume group "033a2b87-def7-4c27-ab74-9860531f2ed4" not found'] Nov 27 17:09:15 server vdsm Storage.StoragePool ERROR Unexpected error while trying to monitor domain `033a2b87-def7-4c27-ab74-9860531f2ed4` Nov 27 17:09:15 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] [' Volume group "033a2b87-def7-4c27-ab74-9860531f2ed4" not found'] Nov 27 17:09:15 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] [' Volume group "033a2b87-def7-4c27-ab74-9860531f2ed4" not found'] Nov 27 17:09:15 server vdsm Storage.StoragePool ERROR Unable to acquire host id on sdUUID=`033a2b87-def7-4c27-ab74-9860531f2ed4` Nov 27 17:09:15 server vdsm Storage.LVM WARNING lvm vgs failed: 5 [] [' Volume group "033a2b87-def7-4c27-ab74-9860531f2ed4" not found'] Nov 27 17:09:15 server vdsm Storage.StoragePool ERROR Unexpected error while trying to monitor domain `033a2b87-def7-4c27-ab74-9860531f2ed4` ----- Mensaje original ----- De: "Adrian Gibanel" <adrian.gibanel@btactic.com> Para: users@ovirt.org Enviados: Martes, 27 de Noviembre 2012 16:25:14 Asunto: Re: [Users] Lvm vgs failed on allinone setup So let me clarify what I'm experiencing a little more: local-iso-share is attached to local_datacenter without any problems. The problem is when I reboot. I probably had said that it does not get attached when I reboot in previous emails. After better inspection what I'm seeing is that: local-iso-share is attached to local_datacenter however I find it in maintenance mode when I boot. I don't find it in active mode (which I suppose it's the right mode it should be). ----------------- So I've done some changes manually to produce logs: -- -- 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 .

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.gibanel@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 .

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.gibanel@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.gibanel@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

------=_Part_75_12005780.1354550700668 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Please check:=20 https://bugzilla.redhat.com/show_bug.cgi?id=3D881941=20 which explains what actually the bug is.=20 I might attach there the logs you request too.=20 I had to refer to the bug before but I just had forgotten about it.=20 ----- Mensaje original -----
De: "Yeela Kaplan" <ykaplan@redhat.com> Para: "Adrian Gibanel" <adrian.gibanel@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.gibanel@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_md= a_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_md= a_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_md= a_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_md= a_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.gibanel@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=3D164 . 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=C3=A1n Gibanel
> <br>> It works!<br>> <br>> So that would maybe fix it. Altho= ugh I'm not very sure because this<br>> is just a WARNING. And because I=
<span name=3D"x"></span><font style=3D"font-weight: bold;" size=3D"3"><a s= tyle=3D"color: rgb(0, 0, 0);" href=3D"http://www.btactic.com/"><span id=3D"= DWT100"><font class=3D"Apple-style-span" face=3D"verdana, helvetica, sans-s= erif"><span class=3D"Apple-style-span" style=3D"background-color: rgb(255, = 255, 255);"></span></font></span></a></font><font style=3D"font-family: 'Ti= mes New Roman';" color=3D"#5f5f5f" face=3D"Arial" size=3D"1"><font size=3D"= 3"><span style=3D"font-family: verdana,helvetica,sans-serif; color: rgb(0, = 0, 0);"><font style=3D"font-family: helvetica;" size=3D"2"><strong>Adri=C3= =A1n Gibanel</strong><br>I.T. Manager<br><br>+34 675 683 301<br><a href=3D"= http://btactic.com/">www.btactic.com</a></font><br><br></span></font></font= <font color=3D"#008000" face=3D"Arial" size=3D"1"><img src=3D"http://www.b= tactic.com/signaturabtacticmail/btacticsignature.png" style=3D"border-width= : 0px;"><br></font><font class=3D"Apple-style-span" face=3D"Arial"><b><span= class=3D"Apple-style-span" style=3D"font-family: Verdana; font-weight: nor= mal;"><span id=3D"bc4bed34-88ab-466b-a731-c40f5c09ab6c"><font color=3D"#5f5= f5f" face=3D"Arial" size=3D"1"><br>Ens podeu seguir a/Nos podeis seguir en:= <br> <br> </font></span><a href=3D"http://www.facebook.com/pages/btactic/118651634826= 400?v=3Dapp_9953271133"><img style=3D"border: 0pt none;" src=3D"http://www.= btactic.com/wp-content/themes/btactic/img/facebookfoot.jpg"></a> i <a href= =3D"http://twitter.com/btactic"><img style=3D"border: 0pt none;" src=3D"htt=
--=20 Adri=C3=A1n Gibanel=20 I.T. Manager=20 +34 675 683 301=20 www.btactic.com=20 Ens podeu seguir a/Nos podeis seguir en:=20 i=20 Abans d=C2=B4imprimir aquest missatge, pensa en el medi ambient. El medi am= bient =C3=A9s cosa de tothom. / Antes de imprimir el mensaje piensa en el m= edio ambiente. El medio ambiente es cosa de todos.=20 AVIS:=20 El contingut d'aquest missatge i els seus annexos =C3=A9s confidencial. Si = no en sou el destinatari, us fem saber que est=C3=A0 prohibit utilitzar-lo,= divulgar-lo i/o copiar-lo sense tenir l'autoritzaci=C3=B3 corresponent. Si= heu rebut aquest missatge per error, us agrairem que ho feu saber immediat= ament al remitent i que procediu a destruir el missatge .=20 AVISO:=20 El contenido de este mensaje y de sus anexos es confidencial. Si no es el d= estinatario, les hacemos saber que est=C3=A1 prohibido utilizarlo, divulgar= lo y/o copiarlo sin tener la autorizaci=C3=B3n correspondiente. Si han reci= bido este mensaje por error, les agradecer=C3=ADamos que lo hagan saber inm= ediatamente al remitente y que procedan a destruir el mensaje .=20 ------=_Part_75_12005780.1354550700668 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><head><style type=3D'text/css'>p { margin: 0; }</style></head><body><= div style=3D'font-family: arial,helvetica,sans-serif; font-size: 10pt; colo= r: #000000'>Please check: <br>https://bugzilla.redhat.com/show_bug.cgi?id= =3D881941<br>which explains what actually the bug is.<br>I might attach the= re the logs you request too.<br><br>I had to refer to the bug before but I = just had forgotten about it.<br><br><hr id=3D"zwchr"><blockquote style=3D"b= order-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;colo= r:#000;font-weight:normal;font-style:normal;text-decoration:none;font-famil= y:Helvetica,Arial,sans-serif;font-size:12pt;"><b>De: </b>"Yeela Kaplan" <= ;ykaplan@redhat.com><br><b>Para: </b>"Adrian Gibanel" <adrian.gibanel= @btactic.com><br><b>CC: </b>users@ovirt.org<br><b>Enviados: </b>Lunes, 3= de Diciembre 2012 10:18:46<br><b>Asunto: </b>Re: [Users] Lvm vgs failed on= allinone setup<br><br>Hi Adrian,<br>Your domain ('033a2b87-def7-4c27-ab74-= 9860531f2ed4') is probably NFS.<br>Don't worry about the failed vgs errors,= it is not the problem.<br>Please attach the full vdsm and engine logs so w= e can detect why the domain is set to <br>maintenance after reboot.<br><br>= --<br>Yeela<br><br>----- Original Message -----<br>> From: "Adrian Giban= el" <adrian.gibanel@btactic.com><br>> To: users@ovirt.org<br>> = Sent: Tuesday, November 27, 2012 6:53:50 PM<br>> Subject: Re: [Users] Lv= m vgs failed on allinone setup<br>> <br>> I've debugged the lvm vgs f= ailed part. It seems to run this command:<br>> <br>> [adrian@server ~= ]$ sudo vgs --noheadings --units b --nosuffix<br>> --separator \| -o<br>= > uuid,name,attr,size,free,extent_size,extent_count,free_count,tags,vg_m= da_size,vg_mda_free<br>> 033a2b87-def7-4c27-ab74-9860531f2ed4<br>> Vo= lume group "033a2b87-def7-4c27-ab74-9860531f2ed4" not found<br>> <br>>= ; If I run the same commands without arguments I found out the current<br>&= gt; VGs:<br>> <br>> [adrian@server ~]$ sudo vgs --noheadings --units = b --nosuffix<br>> --separator \| -o<br>> uuid,name,attr,size,free,ext= ent_size,extent_count,free_count,tags,vg_mda_size,vg_mda_free<br>> Na9Bd= u-aELy-1G3m-JgcV-dBYM-PfaP-arsvUo|maquinasVG|wz--n-|1989115117568|406419668= 992|4194304|474242|96898||1048064|522240<br>> <br>> So I try to run i= t with the uuid seen:<br>> [adrian@server ~]$ sudo vgs --noheadings --un= its b --nosuffix<br>> --separator \| -o<br>> uuid,name,attr,size,free= ,extent_size,extent_count,free_count,tags,vg_mda_size,vg_mda_free<br>> N= a9Bdu-aELy-1G3m-JgcV-dBYM-PfaP-arsvUo Volume group<br>> "Na9Bdu-aELy-1G3= m-JgcV-dBYM-PfaP-arsvUo" not found<br>> it says it cannot find it.<br>&g= t; <br>> Now with the name:<br>> [adrian@server ~]$ sudo vgs --nohead= ings --units b --nosuffix<br>> --separator \| -o<br>> uuid,name,attr,= size,free,extent_size,extent_count,free_count,tags,vg_mda_size,vg_mda_free<= br>> maquinasVG<br>> Na9Bdu-aELy-1G3m-JgcV-dBYM-PfaP-arsvUo|maquinasV= G|wz--n-|1989115117568|406419668992|4194304|474242|96898||1048064|522240<br= think it's not a good idea to<br>> rename current uuids for storage or = iso domains (not sure which it's<br>> exactly) in the database just to m= atch the LVM uuids.<br>> <br>> Now I'm going to debug the other messa= ges which are ERRORs and not<br>> warnings.<br>> <br>> ----- Mensa= je original -----<br>> <br>> > De: "Adrian Gibanel" <adrian.gib= anel@btactic.com><br>> > Para: users@ovirt.org<br>> > Enviad= os: Martes, 27 de Noviembre 2012 17:16:50<br>> > Asunto: Re: [Users] = Lvm vgs failed on allinone setup<br>> <br>> > After seeing that I = had many named errors I've disabled ipv6 by<br>> > adding -4 to OPTIO= NS line as described in:<br>> > http://www.hafizonline.net/blog/?p=3D= 164 . After had I have rebooted<br>> > the logs regarding lvm change = a bit. Here you are:<br>> <br>> > Nov 27 17:09:15 server vdsm Stor= age.LVM WARNING lvm vgs failed: 5<br>> > []<br>> > [' Volume gr= oup "c20da291-baf5-480a-b314-b775a6dde6e8" not found']<br>> <br>> --<= br>> <br>> --<br>> Adri=C3=A1n Gibanel<br></blockquote>-- <br><div= p://www.btactic.com/wp-content/themes/btactic/img/twitterfoot.jpg"></a></sp= an></b></font><br><font color=3D"#008000" face=3D"Arial" size=3D"1"><br></f= ont><div><font color=3D"#008000" face=3D"Arial" size=3D"1">Abans d=C2=B4imp= rimir aquest missatge, pensa en el medi ambient. El medi ambient =C3=A9s cosa de= =20 tothom. / Antes de imprimir el mensaje piensa en el medio ambiente. El medio=20 ambiente es cosa de todos. </font><font color=3D"#5f5f5f" face=3D"Arial" size=3D"1">= <br> <br> AVIS: <br> El contingut d'aquest missatge i els seus annexos =C3=A9s confidencial. Si = no en sou el destinatari, us fem saber que est=C3=A0 prohibit utilitzar-lo,=20 divulgar-lo i/o copiar-lo sense tenir l'autoritzaci=C3=B3 corresponent. Si heu rebut=20 aquest missatge per error, us agrairem que ho feu saber immediatament <span class= =3D"Object" id=3D"OBJ_PREFIX_DWT103">al remitent i que procediu a destruir el missatge</span>.<br> <br> AVISO:<br> El contenido de este mensaje y de sus anexos es confidencial. Si no es el destinatario, les hacemos saber que est=C3=A1 prohibido utilizarlo,=20 divulgarlo y/o copiarlo sin tener la autorizaci=C3=B3n correspondiente. Si han recibid= o este mensaje por error, les agradecer=C3=ADamos que lo hagan saber=20 inmediatamente <span class=3D"Object" id=3D"OBJ_PREFIX_DWT104">al remitente y que procedan= a destruir el mensaje</span>.</font> </div><span name=3D"x"></span><br></div></div></body></html> ------=_Part_75_12005780.1354550700668--
participants (3)
-
Adrian Gibanel
-
Latchezar Filtchev
-
Yeela Kaplan