Re: [Users] oVirt nightly-11-11 and gluster
- Original Message - > From: "Joop" > To: "Balamurugan Arumugam" > Sent: Tuesday, November 13, 2012 8:21:43 PM > Subject: Re: [Users] oVirt nightly-11-11 and gluster > > > > > Hi, > > > > - Original Message - > >> From: "Joop" > >> To: users@ovirt.org > >> Sent: Monday, November 12, 2012 5:29:32 PM > >> Subject: [Users] oVirt nightly-11-11 and gluster > >> > >> Came across the following error in engine.log after creating a new > >> gluster > >> volume. > >> 2012-11-12 12:39:35,264 INFO > >> [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand] > >> (QuartzScheduler_Worker-94) START, > >> GlusterVolumesListVDSCommand(HostName = > >> st01, HostId = 402f987e-2804-11e2-aa60-78e7d1f4ada5), log id: > >> 33d22dbf > >> 2012-11-12 12:39:35,376 ERROR > >> [org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand] > >> (QuartzScheduler_Worker-94) Failed in GlusterVolumesListVDS > >> method, > >> for > >> vds: st01; host: st01.nieuwland.nl > >> 2012-11-12 12:39:35,377 ERROR > >> [org.ovirt.engine.core.vdsbroker.VDSCommandBase] > >> (QuartzScheduler_Worker-94) Command GlusterVolumesListVDS > >> execution > >> failed. Exception: NumberFormatException: For input string: "1 x 2 > >> = > >> 2" > > > > > > In case of REPLICATE and STRIPE volume type, we suppose to get > > integer > > value in brick count. But I am seeing '1 x 2 = 2'. This could be > > a > > recent change in 'gluster volume info' output. Can you send me > > below > > details? > > 1. output of 'rpm -qa | grep glusterfs' > glusterfs-rdma-3.3.1-2.fc17.x86_64 > glusterfs-3.3.1-2.fc17.x86_64 > glusterfs-server-3.3.1-2.fc17.x86_64 > glusterfs-geo-replication-3.3.1-2.fc17.x86_64 > glusterfs-fuse-3.3.1-2.fc17.x86_64 > > > 2. output of 'gluster volume info' command > [root@st02 vdsm]# gluster volume info > > Volume Name: testvol > Type: Distribute > Volume ID: eb0eaea0-6507-4cdb-9080-0c42d23fbeca > Status: Started > Number of Bricks: 2 > Transport-type: tcp > Bricks: > Brick1: st01.nieuwland.nl:/gluster-test > Brick2: st02.nieuwland.nl:/gluster-test > > Volume Name: Data > Type: Replicate > Volume ID: e5f289ab-3580-4974-88a6-42323bdc1674 > Status: Started > Number of Bricks: 1 x 2 = 2 > Transport-type: tcp > Bricks: > Brick1: st01.nieuwland.nl:/gluster-data > Brick2: st02.nieuwland.nl:/gluster-data > Options Reconfigured: > auth.allow: * > nfs.disable: off > > > Nice, you'll notice I have two gluster volumes, testvol is made by > hand > from the management server and Data is made by oVirt. > Testvol is a distributed volume and Data a replication volume. Might > explain the worden of the Number of Bricks line. > > Let me know if I can do more testing! > The fix http://gerrit.ovirt.org/#/c/7951/ is merged and available in vdsm upstream master yesterday. You could try latest nightly build. Thanks, Regards, Bala ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] oVirt nightly-11-11 and gluster
Joop wrote: Joop wrote: Balamurugan Arumugam wrote: Hi, - Original Message - From: "Joop" To: users@ovirt.org Sent: Monday, November 12, 2012 5:29:32 PM Subject: [Users] oVirt nightly-11-11 and gluster Came across the following error in engine.log after creating a new gluster volume. 2012-11-12 12:39:35,264 INFO [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand] (QuartzScheduler_Worker-94) START, GlusterVolumesListVDSCommand(HostName = st01, HostId = 402f987e-2804-11e2-aa60-78e7d1f4ada5), log id: 33d22dbf 2012-11-12 12:39:35,376 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand] (QuartzScheduler_Worker-94) Failed in GlusterVolumesListVDS method, for vds: st01; host: st01.nieuwland.nl 2012-11-12 12:39:35,377 ERROR [org.ovirt.engine.core.vdsbroker.VDSCommandBase] (QuartzScheduler_Worker-94) Command GlusterVolumesListVDS execution failed. Exception: NumberFormatException: For input string: "1 x 2 = 2" In case of REPLICATE and STRIPE volume type, we suppose to get integer value in brick count. But I am seeing '1 x 2 = 2'. This could be a recent change in 'gluster volume info' output. Can you send me below details? 1. output of 'rpm -qa | grep glusterfs' 2. output of 'gluster volume info' command However we are in the process of using xml output http://gerrit.ovirt.org/#/c/7951/ Found a post of Brian Vetter, http://www.mail-archive.com/users@ovirt.org/msg04135.html, I alse did the setsebool sanlock_use_nfs on and now I can atleast access the a distributed volume. Next try will be a replicated volume. To follow up on my post. Using a replicated volume works too ;-) Wat didn't work was starting a VM until I used setenforce 0 Here are my installed vdsm packages. They are pushed by the engine. [root@st02 vdsm]# rpm -aq | grep vdsm vdsm-python-4.10.0-10.fc17.x86_64 vdsm-gluster-4.10.0-10.fc17.noarch vdsm-cli-4.10.0-10.fc17.noarch vdsm-xmlrpc-4.10.0-10.fc17.noarch vdsm-4.10.0-10.fc17.x86_64 Joop ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] oVirt nightly-11-11 and gluster
Joop wrote: Balamurugan Arumugam wrote: Hi, - Original Message - From: "Joop" To: users@ovirt.org Sent: Monday, November 12, 2012 5:29:32 PM Subject: [Users] oVirt nightly-11-11 and gluster Came across the following error in engine.log after creating a new gluster volume. 2012-11-12 12:39:35,264 INFO [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand] (QuartzScheduler_Worker-94) START, GlusterVolumesListVDSCommand(HostName = st01, HostId = 402f987e-2804-11e2-aa60-78e7d1f4ada5), log id: 33d22dbf 2012-11-12 12:39:35,376 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand] (QuartzScheduler_Worker-94) Failed in GlusterVolumesListVDS method, for vds: st01; host: st01.nieuwland.nl 2012-11-12 12:39:35,377 ERROR [org.ovirt.engine.core.vdsbroker.VDSCommandBase] (QuartzScheduler_Worker-94) Command GlusterVolumesListVDS execution failed. Exception: NumberFormatException: For input string: "1 x 2 = 2" In case of REPLICATE and STRIPE volume type, we suppose to get integer value in brick count. But I am seeing '1 x 2 = 2'. This could be a recent change in 'gluster volume info' output. Can you send me below details? 1. output of 'rpm -qa | grep glusterfs' 2. output of 'gluster volume info' command However we are in the process of using xml output http://gerrit.ovirt.org/#/c/7951/ Found a post of Brian Vetter, http://www.mail-archive.com/users@ovirt.org/msg04135.html, I alse did the setsebool sanlock_use_nfs on and now I can atleast access the a distributed volume. Next try will be a replicated volume. To follow up on my post. Using a replicated volume works too ;-) Joop ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] oVirt nightly-11-11 and gluster
Balamurugan Arumugam wrote: Hi, - Original Message - From: "Joop" To: users@ovirt.org Sent: Monday, November 12, 2012 5:29:32 PM Subject: [Users] oVirt nightly-11-11 and gluster Came across the following error in engine.log after creating a new gluster volume. 2012-11-12 12:39:35,264 INFO [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand] (QuartzScheduler_Worker-94) START, GlusterVolumesListVDSCommand(HostName = st01, HostId = 402f987e-2804-11e2-aa60-78e7d1f4ada5), log id: 33d22dbf 2012-11-12 12:39:35,376 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand] (QuartzScheduler_Worker-94) Failed in GlusterVolumesListVDS method, for vds: st01; host: st01.nieuwland.nl 2012-11-12 12:39:35,377 ERROR [org.ovirt.engine.core.vdsbroker.VDSCommandBase] (QuartzScheduler_Worker-94) Command GlusterVolumesListVDS execution failed. Exception: NumberFormatException: For input string: "1 x 2 = 2" In case of REPLICATE and STRIPE volume type, we suppose to get integer value in brick count. But I am seeing '1 x 2 = 2'. This could be a recent change in 'gluster volume info' output. Can you send me below details? 1. output of 'rpm -qa | grep glusterfs' 2. output of 'gluster volume info' command However we are in the process of using xml output http://gerrit.ovirt.org/#/c/7951/ Found a post of Brian Vetter, http://www.mail-archive.com/users@ovirt.org/msg04135.html, I alse did the setsebool sanlock_use_nfs on and now I can atleast access the a distributed volume. Next try will be a replicated volume. This is the part of sanlock.log of today trying to attach Data: 2012-11-13 16:05:30+0100 455673 [1875]: s4 lockspace 022ef32b-a4a9-4976-9961-cb0564e458fb:250:/rhev/data-center/mnt/st01.nieuwland.nl:_Data/022ef32b-a4a9-4976-9961-cb0564e458fb/dom_md/ids:0 2012-11-13 16:05:30+0100 455673 [10021]: open error -13 /rhev/data-center/mnt/st01.nieuwland.nl:_Data/022ef32b-a4a9-4976-9961-cb0564e458fb/dom_md/ids 2012-11-13 16:05:30+0100 455673 [10021]: s4 open_disk /rhev/data-center/mnt/st01.nieuwland.nl:_Data/022ef32b-a4a9-4976-9961-cb0564e458fb/dom_md/ids error -13 2012-11-13 16:27:21+0100 456984 [1874]: s5 lockspace 022ef32b-a4a9-4976-9961-cb0564e458fb:250:/rhev/data-center/mnt/st01.nieuwland.nl:_Data/022ef32b-a4a9-4976-9961-cb0564e458fb/dom_md/ids:0 2012-11-13 16:27:42+0100 457005 [1875]: s5:r1 resource 022ef32b-a4a9-4976-9961-cb0564e458fb:SDM:/rhev/data-center/mnt/st01.nieuwland.nl:_Data/022ef32b-a4a9-4976-9961-cb0564e458fb/dom_md/leases:0 for 3,14,2164 2012-11-13 16:27:48+0100 457011 [1874]: s6 lockspace 022ef32b-a4a9-4976-9961-cb0564e458fb:1:/rhev/data-center/mnt/st01.nieuwland.nl:_Data/022ef32b-a4a9-4976-9961-cb0564e458fb/dom_md/ids:0 Joop ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] oVirt nightly-11-11 and gluster
Hi, - Original Message - > From: "Joop" > To: users@ovirt.org > Sent: Monday, November 12, 2012 5:29:32 PM > Subject: [Users] oVirt nightly-11-11 and gluster > > Came across the following error in engine.log after creating a new > gluster > volume. > 2012-11-12 12:39:35,264 INFO > [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand] > (QuartzScheduler_Worker-94) START, > GlusterVolumesListVDSCommand(HostName = > st01, HostId = 402f987e-2804-11e2-aa60-78e7d1f4ada5), log id: > 33d22dbf > 2012-11-12 12:39:35,376 ERROR > [org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand] > (QuartzScheduler_Worker-94) Failed in GlusterVolumesListVDS method, > for > vds: st01; host: st01.nieuwland.nl > 2012-11-12 12:39:35,377 ERROR > [org.ovirt.engine.core.vdsbroker.VDSCommandBase] > (QuartzScheduler_Worker-94) Command GlusterVolumesListVDS execution > failed. Exception: NumberFormatException: For input string: "1 x 2 = > 2" In case of REPLICATE and STRIPE volume type, we suppose to get integer value in brick count. But I am seeing '1 x 2 = 2'. This could be a recent change in 'gluster volume info' output. Can you send me below details? 1. output of 'rpm -qa | grep glusterfs' 2. output of 'gluster volume info' command However we are in the process of using xml output http://gerrit.ovirt.org/#/c/7951/ > 2012-11-12 12:39:35,378 INFO > [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand] > (QuartzScheduler_Worker-94) FINISH, GlusterVolumesListVDSCommand, log > id: > 33d22dbf > 2012-11-12 12:39:35,379 ERROR > [org.ovirt.engine.core.bll.gluster.GlusterManager] > (QuartzScheduler_Worker-94) Error while refreshing Gluster > lightweight > data of cluster MagicKingdom!: > org.ovirt.engine.core.common.errors.VdcBLLException: VdcBLLException: > java.lang.NumberFormatException: For input string: "1 x 2 = 2" > at > org.ovirt.engine.core.bll.VdsHandler.handleVdsResult(VdsHandler.java:214) > [engine-bll.jar:] > at > org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.RunVdsCommand(VDSBrokerFrontendImpl.java:33) > [engine-bll.jar:] > at > org.ovirt.engine.core.bll.gluster.GlusterManager.runVdsCommand(GlusterManager.java:216) > [engine-bll.jar:] > at > org.ovirt.engine.core.bll.gluster.GlusterManager.fetchVolumes(GlusterManager.java:404) > [engine-bll.jar:] > at > org.ovirt.engine.core.bll.gluster.GlusterManager.fetchVolumes(GlusterManager.java:390) > [engine-bll.jar:] > at > org.ovirt.engine.core.bll.gluster.GlusterManager.refreshVolumeData(GlusterManager.java:367) > [engine-bll.jar:] > at > org.ovirt.engine.core.bll.gluster.GlusterManager.refreshClusterData(GlusterManager.java:154) > [engine-bll.jar:] > at > org.ovirt.engine.core.bll.gluster.GlusterManager.refreshLightWeightData(GlusterManager.java:133) > [engine-bll.jar:] > at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source) > [:1.7.0_09-icedtea] > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > [rt.jar:1.7.0_09-icedtea] > at java.lang.reflect.Method.invoke(Method.java:601) > [rt.jar:1.7.0_09-icedtea] > at > org.ovirt.engine.core.utils.timer.JobWrapper.execute(JobWrapper.java:60) > [engine-scheduler.jar:] > at org.quartz.core.JobRunShell.run(JobRunShell.java:213) > [quartz.jar:] > at > org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) > [quartz.jar:] > > Its repeated also%2 Thanks, Regards, Bala ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users