Re: [ovirt-users] distributed striped replicated volumes can not create

2015-05-26 Thread Kanagaraj

https://bugzilla.redhat.com/enter_bug.cgi?product=oVirt

Please select ovirt-engine-webadmin as component.

Thanks,
Kanagaraj

On 05/24/2015 07:18 AM, 肖力 wrote:


How to open bug?




At 2015-05-22 11:48:55, Kanagaraj kmayi...@redhat.com wrote:

Can you please open a bug for this?

Thanks,
Kanagaraj

On 05/22/2015 04:24 AM, 肖力 wrote:

I use gluster cmd creat  Replicate count 3 and Striped count 4
,It is sucess!, and can as storage use!
Tks!





At 2015-05-18 12:21:28, Kanagaraj kmayi...@redhat.com wrote:

Only the stripe count should be between 4 and 16. And replica
count can be 2 or 3.

For example if you try to create a Distributed Striped
Replicate volume with stripe 4 and replica 3, then you need
to 24 bricks.
4(stripe)x3(replica) = 12, then 12x2(distribute) = 24

Then if you reduce the replica to 2, then you need 12 bricks.

As mentioned in your message, if the error thrown is Replica
Count mast between in 4 and 16 , its a bug and it should be
changed to Stripe Count must between in 4 and 16

Regards,
Kanagaraj

On 05/18/2015 08:44 AM, 肖力 wrote:

hi
I test create distributed striped replicated volumes ,but
not succeed。
First Prompt Replica Count mast between in 4 and 16, and i
chang Replica Count to 4.
Then Prompt Number of bricks should be a mutiple of Stripe
Count and Replica count.
Then i change different Replica Count Stripe Count ,add
brick 8,12,16.  It is not work。
I use oVirt Engine Version: 3.5.2.1-1.el6, Can Someone help
me, tks!




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










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


Re: [ovirt-users] distributed striped replicated volumes can not create

2015-05-21 Thread Kanagaraj

Can you please open a bug for this?

Thanks,
Kanagaraj

On 05/22/2015 04:24 AM, 肖力 wrote:
I use gluster cmd creat  Replicate count 3 and Striped count 4 ,It is 
sucess!, and can as storage use!

Tks!





At 2015-05-18 12:21:28, Kanagaraj kmayi...@redhat.com wrote:

Only the stripe count should be between 4 and 16. And replica
count can be 2 or 3.

For example if you try to create a Distributed Striped Replicate
volume with stripe 4 and replica 3, then you need to 24 bricks.
4(stripe)x3(replica) = 12, then 12x2(distribute) = 24

Then if you reduce the replica to 2, then you need 12 bricks.

As mentioned in your message, if the error thrown is Replica
Count mast between in 4 and 16 , its a bug and it should be
changed to Stripe Count must between in 4 and 16

Regards,
Kanagaraj

On 05/18/2015 08:44 AM, 肖力 wrote:

hi
I test create distributed striped replicated volumes ,but not
succeed。
First Prompt Replica Count mast between in 4 and 16, and i
chang Replica Count to 4.
Then Prompt Number of bricks should be a mutiple of Stripe Count
and Replica count.
Then i change different Replica Count Stripe Count ,add brick
8,12,16.  It is not work。
I use oVirt Engine Version: 3.5.2.1-1.el6, Can Someone help me, tks!




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






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


Re: [ovirt-users] distributed striped replicated volumes can not create

2015-05-17 Thread Kanagaraj
Only the stripe count should be between 4 and 16. And replica count can 
be 2 or 3.


For example if you try to create a Distributed Striped Replicate volume 
with stripe 4 and replica 3, then you need to 24 bricks.

4(stripe)x3(replica) = 12, then 12x2(distribute) = 24

Then if you reduce the replica to 2, then you need 12 bricks.

As mentioned in your message, if the error thrown is Replica Count mast 
between in 4 and 16 , its a bug and it should be changed to Stripe 
Count must between in 4 and 16


Regards,
Kanagaraj

On 05/18/2015 08:44 AM, 肖力 wrote:

hi
I test create distributed striped replicated volumes ,but not succeed。
First Prompt Replica Count mast between in 4 and 16, and i chang 
Replica Count to 4.
Then Prompt Number of bricks should be a mutiple of Stripe Count and 
Replica count.
Then i change different Replica Count Stripe Count ,add brick 
8,12,16.  It is not work。

I use oVirt Engine Version: 3.5.2.1-1.el6, Can Someone help me, tks!




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


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


Re: [ovirt-users] Glusterfs storage

2015-03-02 Thread Kanagaraj
If you are managing the gluster volume through ovirt, you could just 
select the volume in the ui and click Optimize for virt store. It does 
the job of setting the required parameters for the volume.


Thanks,
Kanagaraj

On 03/02/2015 10:44 PM, Jason Brooks wrote:


- Original Message -

From: supo...@logicworks.pt
To: Aharon Canan aca...@redhat.com
Cc: Users@ovirt.org
Sent: Monday, March 2, 2015 8:25:13 AM
Subject: Re: [ovirt-users] Glusterfs storage

Thanks Aharon,

After a couple of hours, the chown 36:36 did the trick, now I have the domain
up.

This is a good way to set those perms and make them stick:

gluster volume set $yourvol storage.owner-uid 36
gluster volume set $yourvol storage.owner-gid 36


Jason



Thanks a lot

Jose


- Mensagem original -

De: Aharon Canan aca...@redhat.com
Para: supo...@logicworks.pt
Cc: Users@ovirt.org
Enviadas: Segunda-feira, 2 De Março de 2015 16:00:40
Assunto: Re: [ovirt-users] Glusterfs storage

Hi

First, You need to create gluster volume. Do not forget to start the volume.
then the chown 36:36 volume directory name

now you need to create new glusterfs domain, and to point to the gluster
server name:/volume name




Regards,
__
Aharon Canan
int phone - 8272036
ext phone - +97297692036
email - aca...@redhat.com

- Mensagem original -


From: supo...@logicworks.pt
To: Users@ovirt.org
Sent: Monday, March 2, 2015 5:55:33 PM
Subject: [ovirt-users] Glusterfs storage

Hi,

I have setup up 2 hosts, host1 with hosted engine, and on host 2, since I
have a spare disk, I want to setup a glusterfs domain storage.
I'm using Centos7 and ovirt 3.5.1.
The 2 hosts and hosted engine are up and running.
How can I configure the glusterfs storage?
I installed glusterfs server on host2:
glusterfs-api-3.6.2-1.el7.x86_64
glusterfs-fuse-3.6.2-1.el7.x86_64
glusterfs-libs-3.6.2-1.el7.x86_64
glusterfs-3.6.2-1.el7.x86_64
glusterfs-rdma-3.6.2-1.el7.x86_64
glusterfs-server-3.6.2-1.el7.x86_64
glusterfs-cli-3.6.2-1.el7.x86_64


Do I need first configure a Volume with a brick? I tried that but no success.
Also tried to ad a Data domains of type glusterfs but no success.
What am I missing?


Thanks

--

Jose Ferradeira
http://www.logicworks.pt


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






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


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


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


Re: [ovirt-users] Creating dispersed volume

2015-02-05 Thread Kanagaraj Mayilsamy
This is currently not supported from oVirt. It will be available in the next 
oVirt version.

Thanks,
Kanagaraj

- Original Message -
 From: RASTELLI Alessandro alessandro.raste...@skytv.it
 To: users@ovirt.org
 Sent: Tuesday, February 3, 2015 5:06:02 PM
 Subject: [ovirt-users] Creating dispersed volume
 
 Hi,
 is it possible to create dispersed-distributed volumes using oVirt?
 Our gluster nodes are v3.6.2
 
 Thanks
 Alessandro Rastelli
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] gluster only hosts managed by oVirt?

2015-01-27 Thread Kanagaraj


On 01/27/2015 06:47 PM, Sven Kieske wrote:


On 27/01/15 13:56, Jorick Astrego wrote:

For both we provision some custom os install and configuration.
Currently I am only able to manage and view gluster volumes from ovirt
when the Enable Gluster Service is enabled for the Cluster. Right?

AFAIK correct.


Right.




There is a Enable Virt Service flag but the options is selected and
greyed out. So I'm not able to disable it.

Mhm this is sad. I'm not aware of any bug tracking this, will you open
one? It's also possible I missed it, there are too many bugs to
remember them all.


This can happen if there are any VMS in the cluster you are trying to edit.

Do you have any VMS running on the cluster?

If you create cluster with just 'Enable Gluster Service' selected, you 
should be able to manage your gluster hosts. Here the hosts need not to 
have any virtualization stuff in it.



Thanks,
Kanagaraj





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


Re: [ovirt-users] Failed to create volume in OVirt with gluster

2015-01-12 Thread Kanagaraj Mayilsamy
I can see the failures in glusterd log.

Can someone from glusterfs dev pls help on this?

Thanks,
Kanagaraj

- Original Message -
 From: Punit Dambiwal hypu...@gmail.com
 To: Kanagaraj kmayi...@redhat.com
 Cc: Martin Pavlík mpav...@redhat.com, Vijay Bellur 
 vbel...@redhat.com, Kaushal M kshlms...@gmail.com,
 users@ovirt.org, gluster-us...@gluster.org
 Sent: Monday, January 12, 2015 3:36:43 PM
 Subject: Re: Failed to create volume in OVirt with gluster
 
 Hi Kanagaraj,
 
 Please find the logs from here :- http://ur1.ca/jeszc
 
 [image: Inline image 1]
 
 [image: Inline image 2]
 
 On Mon, Jan 12, 2015 at 1:02 PM, Kanagaraj kmayi...@redhat.com wrote:
 
   Looks like there are some failures in gluster.
  Can you send the log output from glusterd log file from the relevant hosts?
 
  Thanks,
  Kanagaraj
 
 
  On 01/12/2015 10:24 AM, Punit Dambiwal wrote:
 
  Hi,
 
   Is there any one from gluster can help me here :-
 
   Engine logs :-
 
   2015-01-12 12:50:33,841 INFO
   [org.ovirt.engine.core.bll.lock.InMemoryLockManager]
  (DefaultQuartzScheduler_Worker-12) Failed to acquire lock and wait lock
  EngineLock [exclusiveLocks= key: 0001-0001-0001-0001-0300
  value: GLUSTER
  , sharedLocks= ]
  2015-01-12 12:50:34,725 INFO
   [org.ovirt.engine.core.bll.lock.InMemoryLockManager]
  (DefaultQuartzScheduler_Worker-12) Failed to acquire lock and wait lock
  EngineLock [exclusiveLocks= key: 0001-0001-0001-0001-0300
  value: GLUSTER
  , sharedLocks= ]
  2015-01-12 12:50:36,824 INFO
   [org.ovirt.engine.core.bll.lock.InMemoryLockManager]
  (DefaultQuartzScheduler_Worker-12) Failed to acquire lock and wait lock
  EngineLock [exclusiveLocks= key: 0001-0001-0001-0001-0300
  value: GLUSTER
  , sharedLocks= ]
  2015-01-12 12:50:36,853 INFO
   [org.ovirt.engine.core.bll.lock.InMemoryLockManager]
  (DefaultQuartzScheduler_Worker-12) Failed to acquire lock and wait lock
  EngineLock [exclusiveLocks= key: 0001-0001-0001-0001-0300
  value: GLUSTER
  , sharedLocks= ]
  2015-01-12 12:50:36,866 INFO
   [org.ovirt.engine.core.bll.lock.InMemoryLockManager]
  (DefaultQuartzScheduler_Worker-12) Failed to acquire lock and wait lock
  EngineLock [exclusiveLocks= key: 0001-0001-0001-0001-0300
  value: GLUSTER
  , sharedLocks= ]
  2015-01-12 12:50:37,751 INFO
   [org.ovirt.engine.core.bll.lock.InMemoryLockManager]
  (DefaultQuartzScheduler_Worker-12) Failed to acquire lock and wait lock
  EngineLock [exclusiveLocks= key: 0001-0001-0001-0001-0300
  value: GLUSTER
  , sharedLocks= ]
  2015-01-12 12:50:39,849 INFO
   [org.ovirt.engine.core.bll.lock.InMemoryLockManager]
  (DefaultQuartzScheduler_Worker-12) Failed to acquire lock and wait lock
  EngineLock [exclusiveLocks= key: 0001-0001-0001-0001-0300
  value: GLUSTER
  , sharedLocks= ]
  2015-01-12 12:50:39,878 INFO
   [org.ovirt.engine.core.bll.lock.InMemoryLockManager]
  (DefaultQuartzScheduler_Worker-12) Failed to acquire lock and wait lock
  EngineLock [exclusiveLocks= key: 0001-0001-0001-0001-0300
  value: GLUSTER
  , sharedLocks= ]
  2015-01-12 12:50:39,890 INFO
   [org.ovirt.engine.core.bll.lock.InMemoryLockManager]
  (DefaultQuartzScheduler_Worker-12) Failed to acquire lock and wait lock
  EngineLock [exclusiveLocks= key: 0001-0001-0001-0001-0300
  value: GLUSTER
  , sharedLocks= ]
  2015-01-12 12:50:40,776 INFO
   [org.ovirt.engine.core.bll.lock.InMemoryLockManager]
  (DefaultQuartzScheduler_Worker-12) Failed to acquire lock and wait lock
  EngineLock [exclusiveLocks= key: 0001-0001-0001-0001-0300
  value: GLUSTER
  , sharedLocks= ]
  2015-01-12 12:50:42,878 INFO
   [org.ovirt.engine.core.bll.lock.InMemoryLockManager]
  (DefaultQuartzScheduler_Worker-12) Failed to acquire lock and wait lock
  EngineLock [exclusiveLocks= key: 0001-0001-0001-0001-0300
  value: GLUSTER
  , sharedLocks= ]
  2015-01-12 12:50:42,903 INFO
   [org.ovirt.engine.core.bll.lock.InMemoryLockManager]
  (DefaultQuartzScheduler_Worker-12) Failed to acquire lock and wait lock
  EngineLock [exclusiveLocks= key: 0001-0001-0001-0001-0300
  value: GLUSTER
  , sharedLocks= ]
  2015-01-12 12:50:42,916 INFO
   [org.ovirt.engine.core.bll.lock.InMemoryLockManager]
  (DefaultQuartzScheduler_Worker-12) Failed to acquire lock and wait lock
  EngineLock [exclusiveLocks= key: 0001-0001-0001-0001-0300
  value: GLUSTER
  , sharedLocks= ]
  2015-01-12 12:50:43,771 INFO
   [org.ovirt.engine.core.vdsbroker.gluster.CreateGlusterVolumeVDSCommand]
  (ajp--127.0.0.1-8702-1) [330ace48] FINISH, CreateGlusterVolumeVDSCommand,
  log id: 303e70a4
  2015-01-12 12:50:43,780 ERROR
  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
  (ajp--127.0.0.1-8702-1) [330ace48] Correlation ID: 330ace48, Job ID:
  896a69b3-a678-40a7-bceb-3635e4062aa0, Call Stack: null, Custom Event ID:
  -1, Message: Creation of Gluster Volume vol01 failed.
  2015-01-12 12:50:43,785 INFO

Re: [ovirt-users] Failed to find host Host in gluster peer list from Host

2015-01-10 Thread Kanagaraj Mayilsamy
Looks like some issue while peer probing cpu02.

Can you provide 'gluster peer status' output from host cpu04? Also in the same 
host, search for any errors in vdsm.log file.

Thanks,
Kanagaraj

- Original Message -
 From: Punit Dambiwal hypu...@gmail.com
 To: Kanagaraj Mayilsamy kmayi...@redhat.com
 Cc: Martin Pavlík mpav...@redhat.com, gluster-us...@gluster.org, Kaushal 
 M kshlms...@gmail.com,
 users@ovirt.org
 Sent: Friday, January 9, 2015 3:44:58 PM
 Subject: Re: [ovirt-users] Failed to find host Host in gluster peer list from 
 Host
 
 Hi,
 
 Again i am facing the same issue
 
 Hi Kanagaraj,
 
 Please find the attached logs :-
 
 Engine Logs :- http://ur1.ca/jdopt
 VDSM Logs :- http://ur1.ca/jdoq9
 
 
 
 On Thu, Jan 8, 2015 at 10:00 AM, Punit Dambiwal hypu...@gmail.com wrote:
 
  Yes...Gluster service running on the host...disable the selinux and
  reinstall the host work for me..
 
  On Thu, Jan 8, 2015 at 1:20 AM, Kanagaraj Mayilsamy kmayi...@redhat.com
  wrote:
 
  Can you check if glusterd service is running on the host?
 
  Regards,
  Kanagaraj
 
  - Original Message -
   From: Martin Pavlík mpav...@redhat.com
   To: Punit Dambiwal hypu...@gmail.com
   Cc: gluster-us...@gluster.org, Kaushal M kshlms...@gmail.com,
  users@ovirt.org
   Sent: Wednesday, January 7, 2015 9:36:24 PM
   Subject: Re: [ovirt-users] Failed to find host Host in gluster peer
  list  from Host
  
   Hi Punit,
  
   could you describe steps which led to this result?
  
   regards
  
   Matin Pavlik - RHEV QE
  
  
  
   On 07 Jan 2015, at 14:27, Punit Dambiwal  hypu...@gmail.com  wrote:
  
   Hi,
  
   I am facing one strange issue in the ovirt with glusterfs ..i want
  to
   reactivate onw of my host nodebut it's failed with the following
  error
   :-
  
   Gluster command [gluster peer status cpu04.zne01.hkg1.ovt.com ] failed
  on
   server cpu04.
  
   Engine Logs :- http://ur1.ca/jczdp
  
  
   ___
   Users mailing list
   Users@ovirt.org
   http://lists.ovirt.org/mailman/listinfo/users
  
  
   ___
   Users mailing list
   Users@ovirt.org
   http://lists.ovirt.org/mailman/listinfo/users
  
 
 
 
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Failed to create volume in OVirt with gluster

2015-01-08 Thread Kanagaraj

Do you see any errors in the UI?

Also please provide the engine.log and vdsm.log when the failure occured.

Thanks,
Kanagaraj

On 01/08/2015 02:25 PM, Punit Dambiwal wrote:

Hi Martin,

The steps are below :-

1. Step the ovirt engine on the one server...
2. Installed centos 7 on 4 host node servers..
3. I am using host node (compute+storage)now i have added all 4 
nodes to engine...

4. Create the gluster volume from GUI...

Network :-
eth0 :- public network (1G)
eth1+eth2=bond0= VM public network (1G)
eth3+eth4=bond1=ovirtmgmt+storage (10G private network)

every hostnode has 24 bricks=24*4(distributed replicated)

Thanks,
Punit


On Thu, Jan 8, 2015 at 3:20 PM, Martin Pavlík mpav...@redhat.com 
mailto:mpav...@redhat.com wrote:


Hi Punit,

can you please provide also errors from /var/log/vdsm/vdsm.log and
/var/log/vdsm/vdsmd.log

it would be really helpful if you provided exact steps how to
reproduce the problem.

regards

Martin Pavlik - rhev QE
 On 08 Jan 2015, at 03:06, Punit Dambiwal hypu...@gmail.com
mailto:hypu...@gmail.com wrote:

 Hi,

 I try to add gluster volume but it failed...

 Ovirt :- 3.5
 VDSM :- vdsm-4.16.7-1.gitdb83943.el7
 KVM :- 1.5.3 - 60.el7_0.2
 libvirt-1.1.1-29.el7_0.4
 Glusterfs :- glusterfs-3.5.3-1.el7

 Engine Logs :-

 2015-01-08 09:57:52,569 INFO
[org.ovirt.engine.core.bll.lock.InMemoryLockManager]
(DefaultQuartzScheduler_Worker-16) Failed to acquire lock and wait
lock EngineLock [exclusiveLocks= key:
0001-0001-0001-0001-0300 value: GLUSTER
 , sharedLocks= ]
 2015-01-08 09:57:52,609 INFO
[org.ovirt.engine.core.bll.lock.InMemoryLockManager]
(DefaultQuartzScheduler_Worker-16) Failed to acquire lock and wait
lock EngineLock [exclusiveLocks= key:
0001-0001-0001-0001-0300 value: GLUSTER
 , sharedLocks= ]
 2015-01-08 09:57:55,582 INFO
[org.ovirt.engine.core.bll.lock.InMemoryLockManager]
(DefaultQuartzScheduler_Worker-16) Failed to acquire lock and wait
lock EngineLock [exclusiveLocks= key:
0001-0001-0001-0001-0300 value: GLUSTER
 , sharedLocks= ]
 2015-01-08 09:57:55,591 INFO
[org.ovirt.engine.core.bll.lock.InMemoryLockManager]
(DefaultQuartzScheduler_Worker-16) Failed to acquire lock and wait
lock EngineLock [exclusiveLocks= key:
0001-0001-0001-0001-0300 value: GLUSTER
 , sharedLocks= ]
 2015-01-08 09:57:55,596 INFO
[org.ovirt.engine.core.bll.lock.InMemoryLockManager]
(DefaultQuartzScheduler_Worker-16) Failed to acquire lock and wait
lock EngineLock [exclusiveLocks= key:
0001-0001-0001-0001-0300 value: GLUSTER
 , sharedLocks= ]
 2015-01-08 09:57:55,633 INFO
[org.ovirt.engine.core.bll.lock.InMemoryLockManager]
(DefaultQuartzScheduler_Worker-16) Failed to acquire lock and wait
lock EngineLock [exclusiveLocks= key:
0001-0001-0001-0001-0300 value: GLUSTER
 , sharedLocks= ]
 ^C






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


Re: [ovirt-users] Failed to find host Host in gluster peer list from Host

2015-01-07 Thread Kanagaraj Mayilsamy
Can you check if glusterd service is running on the host?

Regards,
Kanagaraj

- Original Message -
 From: Martin Pavlík mpav...@redhat.com
 To: Punit Dambiwal hypu...@gmail.com
 Cc: gluster-us...@gluster.org, Kaushal M kshlms...@gmail.com, 
 users@ovirt.org
 Sent: Wednesday, January 7, 2015 9:36:24 PM
 Subject: Re: [ovirt-users] Failed to find host Host in gluster peer list  
 from Host
 
 Hi Punit,
 
 could you describe steps which led to this result?
 
 regards
 
 Matin Pavlik - RHEV QE
 
 
 
 On 07 Jan 2015, at 14:27, Punit Dambiwal  hypu...@gmail.com  wrote:
 
 Hi,
 
 I am facing one strange issue in the ovirt with glusterfs ..i want to
 reactivate onw of my host nodebut it's failed with the following error
 :-
 
 Gluster command [gluster peer status cpu04.zne01.hkg1.ovt.com ] failed on
 server cpu04.
 
 Engine Logs :- http://ur1.ca/jczdp
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] all hosts non-operational

2014-12-22 Thread Kanagaraj
Looks like there is some network connectivity issue between the hosts. 
Due to this, some hosts might not aware of the existence of the volume, 
hence its removed from ovirt. Do you see any errors in gluster log file 
when gluster commands fail?


Thanks,
Kanagaraj

On 12/22/2014 01:50 PM, Brent Hartzell wrote:


Hello,

After testing replacing a failed Gluster brick (shared ovirt/gluster) 
ALL hosts in the cluster go non-responsive, storage drops off etc. 
Now, gluster peer status fails, can’t set any volume options, the 
volume randomly drops out of oVirt (was created from oVirt), log in 
oVirt dashboard shows the entry that the volume was deleted (but is 
there). Any gluster commands just hang. The combination of Ovirt  
Gluster seems stable until there’s a problem, then literally 
everything just grinds to a halt. All VM’s go down, datacenter  hosts 
go non-responsive and the whole thing is broke.. Any ideas on what we 
should be looking for?




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


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


Re: [ovirt-users] Import existing Gluster into Ovirt

2014-12-14 Thread Kanagaraj


On 12/15/2014 03:06 AM, Itamar Heim wrote:

On 12/14/2014 11:26 PM, John Gardeniers wrote:

While pondering the question of importing an existing Gluster into Ovirt
I came across
http://www.ovirt.org/Features/Gluster_Import_Existing_Cluster. One
rather important question not explicitly addressed in that article is -
can the import be safely done while the Gluster installation is live and
hosting files?

That article is about Ovirt 3.2, is it safe to assume the same procedure
holds true for recent versions?


should be - iirc gluster is always in learn from storage mode.



Import will not cause any problems to the services which serves the 
data.  There is no reboot involved if you are importing the hosts to 
'gluster-only' cluster. During the host initialization process, glusterd 
management daemon will be restarted and ovirtmgmt network bridge will be 
created.


Regards,
Kanagaraj


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


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


Re: [ovirt-users] Gluster command [UNKNOWN] failed on server...

2014-11-24 Thread Kanagaraj

Can you send the corresponding error in vdsm.log from the host?

Also check if glusterd service is running.

Thanks,
Kanagaraj

On 11/24/2014 03:39 PM, Punit Dambiwal wrote:

Hi,

After reboot my Hypervisior host can not activate again in the cluster 
and failed with the following error :-


Gluster command [UNKNOWN] failed on server...

Engine logs :-

2014-11-24 18:05:28,397 INFO 
 [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand] (DefaultQuartzScheduler_Worker-64) 
START, GlusterVolumesListVDSCommand(HostName = Compute4, HostId = 
33648a90-200c-45ca-89d5-1ce305d79a6a), log id: 5f251c90
2014-11-24 18:05:30,609 INFO 
 [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand] (DefaultQuartzScheduler_Worker-64) 
FINISH, GlusterVolumesListVDSCommand, return: 
{26ae1672-ee09-4a38-8fd2-72dd9974cc2b=org.ovirt.engine.core.common.businessentities.gluster.GlusterVolumeEntity@d95203e0}, 
log id: 5f251c90
2014-11-24 18:05:33,768 INFO 
 [org.ovirt.engine.core.bll.ActivateVdsCommand] 
(ajp--127.0.0.1-8702-8) [287d570d] Lock Acquired to object EngineLock 
[exclusiveLocks= key: 0bf6b00f-7947-4411-b55a-cc5eea2b381a value: VDS

, sharedLocks= ]
2014-11-24 18:05:33,795 INFO 
 [org.ovirt.engine.core.bll.ActivateVdsCommand] 
(org.ovirt.thread.pool-8-thread-45) [287d570d] Running command: 
ActivateVdsCommand internal: false. Entities affected :  ID: 
0bf6b00f-7947-4411-b55a-cc5eea2b381a Type: VDSAction group 
MANIPULATE_HOST with role type ADMIN
2014-11-24 18:05:33,796 INFO 
 [org.ovirt.engine.core.bll.ActivateVdsCommand] 
(org.ovirt.thread.pool-8-thread-45) [287d570d] Before acquiring lock 
in order to prevent monitoring for host Compute5 from data-center SV_WTC
2014-11-24 18:05:33,797 INFO 
 [org.ovirt.engine.core.bll.ActivateVdsCommand] 
(org.ovirt.thread.pool-8-thread-45) [287d570d] Lock acquired, from now 
a monitoring of host will be skipped for host Compute5 from 
data-center SV_WTC
2014-11-24 18:05:33,817 INFO 
 [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] 
(org.ovirt.thread.pool-8-thread-45) [287d570d] START, 
SetVdsStatusVDSCommand(HostName = Compute5, HostId = 
0bf6b00f-7947-4411-b55a-cc5eea2b381a, status=Unassigned, 
nonOperationalReason=NONE, stopSpmFailureLogged=false), log id: 1cbc7311
2014-11-24 18:05:33,820 INFO 
 [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] 
(org.ovirt.thread.pool-8-thread-45) [287d570d] FINISH, 
SetVdsStatusVDSCommand, log id: 1cbc7311
2014-11-24 18:05:34,086 INFO 
 [org.ovirt.engine.core.bll.ActivateVdsCommand] 
(org.ovirt.thread.pool-8-thread-45) Activate finished. Lock released. 
Monitoring can run now for host Compute5 from data-center SV_WTC
2014-11-24 18:05:34,088 INFO 
 [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-45) 
Correlation ID: 287d570d, Job ID: 
5ef8e4d6-b2bc-469e-8e81-7ef74b2a001a, Call Stack: null, Custom Event 
ID: -1, Message: Host Compute5 was activated by admin.
2014-11-24 18:05:34,090 INFO 
 [org.ovirt.engine.core.bll.ActivateVdsCommand] 
(org.ovirt.thread.pool-8-thread-45) Lock freed to object EngineLock 
[exclusiveLocks= key: 0bf6b00f-7947-4411-b55a-cc5eea2b381a value: VDS

, sharedLocks= ]
2014-11-24 18:05:35,792 INFO 
 [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand] (DefaultQuartzScheduler_Worker-55) 
[3706e836] START, GlusterVolumesListVDSCommand(HostName = Compute4, 
HostId = 33648a90-200c-45ca-89d5-1ce305d79a6a), log id: 48a0c832
2014-11-24 18:05:37,064 INFO 
 [org.ovirt.engine.core.vdsbroker.vdsbroker.GetHardwareInfoVDSCommand] 
(DefaultQuartzScheduler_Worker-69) START, 
GetHardwareInfoVDSCommand(HostName = Compute5, HostId = 
0bf6b00f-7947-4411-b55a-cc5eea2b381a, 
vds=Host[Compute5,0bf6b00f-7947-4411-b55a-cc5eea2b381a]), log id: 6d560cc2
2014-11-24 18:05:37,074 INFO 
 [org.ovirt.engine.core.vdsbroker.vdsbroker.GetHardwareInfoVDSCommand] 
(DefaultQuartzScheduler_Worker-69) FINISH, GetHardwareInfoVDSCommand, 
log id: 6d560cc2
2014-11-24 18:05:37,093 WARN 
 [org.ovirt.engine.core.vdsbroker.VdsManager] 
(DefaultQuartzScheduler_Worker-69) Host Compute5 is running with 
disabled SELinux.
2014-11-24 18:05:37,127 INFO 
 [org.ovirt.engine.core.bll.HandleVdsCpuFlagsOrClusterChangedCommand] 
(DefaultQuartzScheduler_Worker-69) [2b4a51cf] Running command: 
HandleVdsCpuFlagsOrClusterChangedCommand internal: true. Entities 
affected :  ID: 0bf6b00f-7947-4411-b55a-cc5eea2b381a Type: VDS
2014-11-24 18:05:37,147 INFO 
 [org.ovirt.engine.core.vdsbroker.gluster.GlusterServersListVDSCommand] (DefaultQuartzScheduler_Worker-69) 
[2b4a51cf] START, GlusterServersListVDSCommand(HostName = Compute5, 
HostId = 0bf6b00f-7947-4411-b55a-cc5eea2b381a), log id: 4faed87
2014-11-24 18:05:37,164 INFO 
 [org.ovirt.engine.core.vdsbroker.gluster.GlusterServersListVDSCommand] (DefaultQuartzScheduler_Worker-69) 
[2b4a51cf] FINISH, GlusterServersListVDSCommand, log id: 4faed87
2014-11-24 18:05:37,189 INFO 
 [org.ovirt.engine.core.bll.SetNonOperationalVdsCommand

Re: [ovirt-users] Gluster command [UNKNOWN] failed on server...

2014-11-24 Thread Kanagaraj
From vdsm.log error: Connection failed. Please check if gluster daemon 
is operational.


Starting glusterd service should fix this issue. 'service glusterd start'
But i am wondering why the glusterd was not started automatically after 
the reboot.


Thanks,
Kanagaraj


On 11/24/2014 07:18 PM, Punit Dambiwal wrote:

Hi Kanagaraj,

Please find the attached VDSM logs :-


Thread-13::DEBUG::2014-11-24 
21:41:17,182::resourceManager::977::Storage.ResourceManager.Owner::(cancelAll) 
Owner.cancelAll requests {}
Thread-13::DEBUG::2014-11-24 
21:41:17,182::task::993::Storage.TaskManager.Task::(_decref) 
Task=`1691d409-9b27-4585-8281-5ec26154367a`::ref 0 aborting False
Thread-13::DEBUG::2014-11-24 
21:41:32,393::task::595::Storage.TaskManager.Task::(_updateState) 
Task=`994c7bc3-a236-4d03-a732-e068c7ed9ed4`::moving from state init - 
state preparing
Thread-13::INFO::2014-11-24 
21:41:32,393::logUtils::44::dispatcher::(wrapper) Run and protect: 
repoStats(options=None)
Thread-13::INFO::2014-11-24 
21:41:32,393::logUtils::47::dispatcher::(wrapper) Run and protect: 
repoStats, Return response: {}
Thread-13::DEBUG::2014-11-24 
21:41:32,393::task::1191::Storage.TaskManager.Task::(prepare) 
Task=`994c7bc3-a236-4d03-a732-e068c7ed9ed4`::finished: {}
Thread-13::DEBUG::2014-11-24 
21:41:32,394::task::595::Storage.TaskManager.Task::(_updateState) 
Task=`994c7bc3-a236-4d03-a732-e068c7ed9ed4`::moving from state 
preparing - state finished
Thread-13::DEBUG::2014-11-24 
21:41:32,394::resourceManager::940::Storage.ResourceManager.Owner::(releaseAll) 
Owner.releaseAll requests {} resources {}
Thread-13::DEBUG::2014-11-24 
21:41:32,394::resourceManager::977::Storage.ResourceManager.Owner::(cancelAll) 
Owner.cancelAll requests {}
Thread-13::DEBUG::2014-11-24 
21:41:32,394::task::993::Storage.TaskManager.Task::(_decref) 
Task=`994c7bc3-a236-4d03-a732-e068c7ed9ed4`::ref 0 aborting False
Thread-13::DEBUG::2014-11-24 
21:41:41,550::BindingXMLRPC::1132::vds::(wrapper) client 
[10.10.10.2]::call getCapabilities with () {}
Thread-13::DEBUG::2014-11-24 21:41:41,553::utils::738::root::(execCmd) 
/sbin/ip route show to 0.0.0.0/0 http://0.0.0.0/0 table all (cwd None)
Thread-13::DEBUG::2014-11-24 21:41:41,560::utils::758::root::(execCmd) 
SUCCESS: err = ''; rc = 0
Thread-13::DEBUG::2014-11-24 
21:41:41,588::caps::728::root::(_getKeyPackages) rpm package 
('gluster-swift',) not found
Thread-13::DEBUG::2014-11-24 
21:41:41,592::caps::728::root::(_getKeyPackages) rpm package 
('gluster-swift-object',) not found
Thread-13::DEBUG::2014-11-24 
21:41:41,593::caps::728::root::(_getKeyPackages) rpm package 
('gluster-swift-plugin',) not found
Thread-13::DEBUG::2014-11-24 
21:41:41,598::caps::728::root::(_getKeyPackages) rpm package 
('gluster-swift-account',) not found
Thread-13::DEBUG::2014-11-24 
21:41:41,598::caps::728::root::(_getKeyPackages) rpm package 
('gluster-swift-proxy',) not found
Thread-13::DEBUG::2014-11-24 
21:41:41,598::caps::728::root::(_getKeyPackages) rpm package 
('gluster-swift-doc',) not found
Thread-13::DEBUG::2014-11-24 
21:41:41,599::caps::728::root::(_getKeyPackages) rpm package 
('gluster-swift-container',) not found
Thread-13::DEBUG::2014-11-24 
21:41:41,599::caps::728::root::(_getKeyPackages) rpm package 
('glusterfs-geo-replication',) not found
Thread-13::DEBUG::2014-11-24 21:41:41,600::caps::646::root::(get) 
VirtioRNG DISABLED: libvirt version 0.10.2-29.el6_5.9 required = 
0.10.2-31
Thread-13::DEBUG::2014-11-24 
21:41:41,603::BindingXMLRPC::1139::vds::(wrapper) return 
getCapabilities with {'status': {'message': 'Done', 'code': 0}, 
'info': {'HBAInventory': {'iSCSI': [{'InitiatorName': 
'iqn.1994-05.com.redhat:32151ce183c8'}], 'FC': []}, 'packages2': 
{'kernel': {'release': '431.el6.x86_64', 'buildtime': 1385061309.0, 
'version': '2.6.32'}, 'glusterfs-rdma': {'release': '1.el6', 
'buildtime': 1403622628L, 'version': '3.5.1'}, 'glusterfs-fuse': 
{'release': '1.el6', 'buildtime': 1403622628L, 'version': '3.5.1'}, 
'spice-server': {'release': '6.el6_5.2', 'buildtime': 1402324637L, 
'version': '0.12.4'}, 'vdsm': {'release': '1.gitdb83943.el6', 
'buildtime': 1412784567L, 'version': '4.16.7'}, 'qemu-kvm': 
{'release': '2.415.el6_5.10', 'buildtime': 1402435700L, 'version': 
'0.12.1.2'}, 'qemu-img': {'release': '2.415.el6_5.10', 'buildtime': 
1402435700L, 'version': '0.12.1.2'}, 'libvirt': {'release': 
'29.el6_5.9', 'buildtime': 1402404612L, 'version': '0.10.2'}, 
'glusterfs': {'release': '1.el6', 'buildtime': 1403622628L, 'version': 
'3.5.1'}, 'mom': {'release': '2.el6', 'buildtime': 1403794344L, 
'version': '0.4.1'}, 'glusterfs-server': {'release': '1.el6', 
'buildtime': 1403622628L, 'version': '3.5.1'}}, 'numaNodeDistance': 
{'1': [20, 10], '0': [10, 20]}, 'cpuModel': 'Intel(R) Xeon(R) CPU 
  X5650  @ 2.67GHz', 'liveMerge': 'false', 'hooks': {}, 
'cpuSockets': '2', 'vmTypes': ['kvm'], 'selinux': {'mode': '1'}, 
'kdumpStatus': 0, 'supportedProtocols': ['2.2', '2.3'], 'networks': 
{'ovirtmgmt': {'iface

Re: [ovirt-users] Gluster command [UNKNOWN] failed on server...

2014-11-24 Thread Kanagaraj
Do you see any errors in 
/var/log/glusterfs/etc-glusterfs-glusterd.vol.log or vdsm.log when the 
service is trying to start automatically after the reboot?


Thanks,
Kanagaraj

On 11/24/2014 08:13 PM, Punit Dambiwal wrote:

Hi Kanagaraj,

Yes...once i will start the gluster service and then vdsmd ...the host 
can connect to cluster...but the question is why it's not started even 
it has chkconfig enabled...


I have tested it in two host cluster environment...(Centos 6.6 and 
centos 7.0) on both hypervisior cluster..it's failed to reconnect in 
to cluster after reboot


In both the environment glusterd enabled for next bootbut it's 
failed with the same errorseems it's bug in either gluster or Ovirt ??


Please help me to find the workaround here if can not resolve it...as 
without this the Host machine can not connect after rebootthat 
means engine will consider it as down and every time need to manually 
start the gluster service and vdsmd... ??


Thanks,
Punit

On Mon, Nov 24, 2014 at 10:20 PM, Kanagaraj kmayi...@redhat.com 
mailto:kmayi...@redhat.com wrote:


From vdsm.log error: Connection failed. Please check if gluster
daemon is operational.

Starting glusterd service should fix this issue. 'service glusterd
start'
But i am wondering why the glusterd was not started automatically
after the reboot.

Thanks,
Kanagaraj



On 11/24/2014 07:18 PM, Punit Dambiwal wrote:

Hi Kanagaraj,

Please find the attached VDSM logs :-


Thread-13::DEBUG::2014-11-24

21:41:17,182::resourceManager::977::Storage.ResourceManager.Owner::(cancelAll)
Owner.cancelAll requests {}
Thread-13::DEBUG::2014-11-24
21:41:17,182::task::993::Storage.TaskManager.Task::(_decref)
Task=`1691d409-9b27-4585-8281-5ec26154367a`::ref 0 aborting False
Thread-13::DEBUG::2014-11-24
21:41:32,393::task::595::Storage.TaskManager.Task::(_updateState)
Task=`994c7bc3-a236-4d03-a732-e068c7ed9ed4`::moving from state
init - state preparing
Thread-13::INFO::2014-11-24
21:41:32,393::logUtils::44::dispatcher::(wrapper) Run and
protect: repoStats(options=None)
Thread-13::INFO::2014-11-24
21:41:32,393::logUtils::47::dispatcher::(wrapper) Run and
protect: repoStats, Return response: {}
Thread-13::DEBUG::2014-11-24
21:41:32,393::task::1191::Storage.TaskManager.Task::(prepare)
Task=`994c7bc3-a236-4d03-a732-e068c7ed9ed4`::finished: {}
Thread-13::DEBUG::2014-11-24
21:41:32,394::task::595::Storage.TaskManager.Task::(_updateState)
Task=`994c7bc3-a236-4d03-a732-e068c7ed9ed4`::moving from state
preparing - state finished
Thread-13::DEBUG::2014-11-24

21:41:32,394::resourceManager::940::Storage.ResourceManager.Owner::(releaseAll)
Owner.releaseAll requests {} resources {}
Thread-13::DEBUG::2014-11-24

21:41:32,394::resourceManager::977::Storage.ResourceManager.Owner::(cancelAll)
Owner.cancelAll requests {}
Thread-13::DEBUG::2014-11-24
21:41:32,394::task::993::Storage.TaskManager.Task::(_decref)
Task=`994c7bc3-a236-4d03-a732-e068c7ed9ed4`::ref 0 aborting False
Thread-13::DEBUG::2014-11-24
21:41:41,550::BindingXMLRPC::1132::vds::(wrapper) client
[10.10.10.2]::call getCapabilities with () {}
Thread-13::DEBUG::2014-11-24
21:41:41,553::utils::738::root::(execCmd) /sbin/ip route show to
0.0.0.0/0 http://0.0.0.0/0 table all (cwd None)
Thread-13::DEBUG::2014-11-24
21:41:41,560::utils::758::root::(execCmd) SUCCESS: err = '';
rc = 0
Thread-13::DEBUG::2014-11-24
21:41:41,588::caps::728::root::(_getKeyPackages) rpm package
('gluster-swift',) not found
Thread-13::DEBUG::2014-11-24
21:41:41,592::caps::728::root::(_getKeyPackages) rpm package
('gluster-swift-object',) not found
Thread-13::DEBUG::2014-11-24
21:41:41,593::caps::728::root::(_getKeyPackages) rpm package
('gluster-swift-plugin',) not found
Thread-13::DEBUG::2014-11-24
21:41:41,598::caps::728::root::(_getKeyPackages) rpm package
('gluster-swift-account',) not found
Thread-13::DEBUG::2014-11-24
21:41:41,598::caps::728::root::(_getKeyPackages) rpm package
('gluster-swift-proxy',) not found
Thread-13::DEBUG::2014-11-24
21:41:41,598::caps::728::root::(_getKeyPackages) rpm package
('gluster-swift-doc',) not found
Thread-13::DEBUG::2014-11-24
21:41:41,599::caps::728::root::(_getKeyPackages) rpm package
('gluster-swift-container',) not found
Thread-13::DEBUG::2014-11-24
21:41:41,599::caps::728::root::(_getKeyPackages) rpm package
('glusterfs-geo-replication',) not found
Thread-13::DEBUG::2014-11-24 21:41:41,600::caps::646::root::(get)
VirtioRNG DISABLED: libvirt version 0.10.2-29.el6_5.9 required =
0.10.2-31
Thread-13::DEBUG::2014-11-24
21:41:41,603::BindingXMLRPC::1139::vds::(wrapper) return
getCapabilities with {'status': {'message': 'Done', 'code': 0},
'info

Re: [ovirt-users] Gluster command[UNKNOWN] failed on server ovhost1

2014-11-19 Thread Kanagaraj


On 11/19/2014 08:28 PM, Fumihide Tani wrote:

Please help!

I'm hosting an oVirt3.5 Engine server (CentOS6.5) and oVirt3.5 Host servers 
(CentOS 7.0).

Today, I have stopped all oVirt services (ovirt-engine and vdsmd) and updated oVirt3.5 
Engine server and ovirt3.5 Host server by yum update.
While update, some new Gluster components were installed.

After update, I tried to reboot ovirt3.5 Engine and Node servers, but oVirt is 
not working.
Portal's Events shows that:
- Status of host ovhost1 was set to NonOperational.
- Gluster command[UNKNOWN] failed on server ovhost1.


Do you see any errors in /var/log/ovirt-engine/engine.log?

Also check if glusterd and vdsmd services are running on the servers.



My oVirt servers and VMs are not operational now.

How to resolve?

Many thanks,
Fumihide Tani

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


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


Re: [ovirt-users] Gluster volumes - space used not reporting

2014-10-20 Thread Kanagaraj Mayilsamy
Also make sure Compatibility version of the cluster is 3.5

If the issue still persists, look for errors in engine.log and vdsm.log

Thanks,
Kanagaraj

- Original Message -
 From: Ryan Nix ryan@gmail.com
 To: Users@ovirt.org users@ovirt.org
 Sent: Tuesday, October 21, 2014 1:38:12 AM
 Subject: [ovirt-users] Gluster volumes - space used not reporting
 
 Is there anything I need to do to get the space used reporting working in
 ovirt 3.5? Thanks!
 
 
 ​
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Running a Gluster volume off of a seperate network interface and managing it via the oVirt engine Web-GUI

2014-10-09 Thread Kanagaraj Mayilsamy
You can refer http://www.ovirt.org/Change_network_interface_for_Gluster

Thanks,
Kanagaraj

- Original Message -
 From: Thomas Keppler (PEBA) thomas.kepp...@kit.edu
 To: users@ovirt.org
 Sent: Thursday, October 9, 2014 7:36:51 PM
 Subject: [ovirt-users] Running a Gluster volume off of a seperate network 
 interface and managing it via the oVirt
 engine Web-GUI
 
 Hello!
 
 I have a rather quick question on behalf of GlusterFS. My Nodes are set up so
 that they have two NICs, four ports. The NIC that is additionally installed
 to the internal motherboard's NIC is a 10Gbps one that I want to use for
 Gluster-Communication in the GlusterCluster.
 
 Now, I could just create a plain old Gluster Volume and run everything off of
 the terminal and be good with it but that's really not what I want to do! I
 want to manage as much as possible through the oVirt engine and I saw it's
 possible to manage Gluster Volumes, too.
 If I try to create one there though, I can only see the IP addresses I used
 to communicate with oVirt (on the internal 1Gbps NIC).
 
 I have tried creating another network and bound all my nodes to it - still no
 success.
 
 Any ideas how I can do this?
 
 --
 Best regards
 Thomas Keppler
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] UI Plugin: shellinabox did not work in ovirt-3.4.3

2014-08-06 Thread Kanagaraj Mayilsamy
the url should be plugin/ShellInABoxPlugin/start.html in shellinabox.json

Thanks,
Kanagaraj

- Original Message -
 From: Einav Cohen eco...@redhat.com
 To: lofyer lof...@gmail.com, Daniel Erez de...@redhat.com
 Cc: users users@ovirt.org
 Sent: Wednesday, August 6, 2014 9:32:57 PM
 Subject: Re: [ovirt-users] UI Plugin: shellinabox did not work in ovirt-3.4.3
 
 the URL structure has changed from 3.3 to 3.4;
 maybe the problem is in the URL within the UI Plugin json file?
 
 url: /webadmin/webadmin/plugin/ShellBoxPlugin/start.html
 (I copied it from [1], not sure what exists in the repo)
 
 maybe @Daniel would know better.
 
 [1]
 http://derezvir.blogspot.co.il/2013/01/ovirt-webadmin-shellinabox-ui-plugin.html
 
 - Original Message -
  From: lofyer lof...@gmail.com
  To: users users@ovirt.org
  Sent: Wednesday, August 6, 2014 10:45:35 AM
  Subject: [ovirt-users] UI Plugin: shellinabox did not work in ovirt-3.4.3
  
  My OS is CentOS-6.5.
  I'd cloned samples from gerrit, but it did not work as it used to be.
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
  
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] remove a lost gluster based datacenter

2014-07-12 Thread Kanagaraj Mayilsamy
Looks like the cluster has both virt and gluster services enabled. Otherwise a 
host part of gluster-cluster cannot be a SPM. 

I am not sure about the standard procedure to removed a SPM host.

Once SPM is disabled, you should be able to remove all the gluster hosts 
forcefully.

Thanks,
Kanagaraj

- Original Message -
 From: Alexander Wels aw...@redhat.com
 To: users@ovirt.org
 Cc: Demeter Tibor tdeme...@itsmart.hu, Kanagaraj kmayi...@redhat.com
 Sent: Saturday, July 12, 2014 2:06:38 AM
 Subject: Re: [ovirt-users] remove a lost gluster based datacenter
 
 On Friday, July 11, 2014 10:11:00 PM Demeter Tibor wrote:
  Hi,
  Somebody can me help?
  
  Tibor
  
 
 Tibor,
 
 This is not an officially supported solution, but I had a similar issue
 myself
 at some point (virtual gluster hosts that I was silly enough to delete
 without
 first stopping the volumes). Basically the status of the volumes is stored in
 the gluster_volumes table, status column. If you manually update the status
 to
 be 'DOWN' instead of 'UP' for the volumes that are giving you trouble. Then
 in
 the UI they will be down as well. At which point you should be able to
 properly remove them from the UI using the UI.
 
 Once that is done you should be able to simply remove the offending hosts as
 there are no longer any gluster volumes associated with it.
 
 I am sure there is a much better way of doing this (maybe REST api?), but I
 couldn't find it (I am not a gluster expert).
 
 Alexander
 
  - Eredeti üzenet -
  
   Hi,
   
   I have try it before wrote this mail.
   It is impossible, it is a spm host
   
   Error while executing action: Cannot switch Host to Maintenance mode.
   Host is Storage Pool Manager and is in Non Responsive state.
   - If power management is configured, engine will try to fence the host
   automatically.
   - Otherwise, either bring the node back up, or release the SPM resource.
   To do so, verify that the node is really down by right clicking on the
   host
   and confirm that the node was shutdown manually.
   
   When I want to switch to maintence a non-spm host:
   
   Error while executing action:
   
   gluster4:
   Cannot remove Host. Server having Gluster volume.
   
   When I want to remove an gluster brick:
   
   Error while executing action: Cannot stop Gluster Volume. No up server
   found in glusters.
   
   When I want to remove a VM that was on this gluster based datacenter:
   
   Error while executing action:
   
   F19glusters:
   Cannot remove VM: Storage Domain cannot be accessed.
   -Please check that at least one Host is operational and Data Center state
   is up.
   
   So it is an vicious circle
   
   Tibor
   
   - Eredeti üzenet -
   
On 07/09/2014 01:45 AM, Demeter Tibor wrote:
 Dear listmembers,
 
 
 
 I have created a test environment for ovirt via four pc and a server.
 
 
 I have two datacenter on the main server:
 
 
 - a local datacenter on the server
 
 
 - a gluster based datacenter by the four dekstop pc
 
 
 
 2 weeks ago someone took my pc-s (for doing other things:)
 
 
 
 I am could not remove the dead gluster based datacenter from ovirt.
 
 
 - It always want to your own servers:)
 
 
 - The force option doesn't work in this case.
 
 
 - The gluster bricks are does not uninstallable.
 
 
 - the cluster not removable
 
 
 - Everything want to everything else:)

Move all the gluster hosts to maintenance. And then select all of them
and
click 'Remove', then select the 'Force' checkbox and Ok.

 I don't want to reinstall the whole ovirt because I have a lot of vm
 on
 the
 local datacenter.
 
 
 
 So, how can I remove a complety dead datacenter from ovirt?
 
 
 
 Thanks in advance.
 
 
 
 Tibor
 
 
 
 ___
 
 
 Users mailing list Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
   
   ___
   Users mailing list
   Users@ovirt.org
   http://lists.ovirt.org/mailman/listinfo/users
 
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] remove a lost gluster based datacenter

2014-07-09 Thread Kanagaraj


On 07/09/2014 01:45 AM, Demeter Tibor wrote:

Dear listmembers,

I have created a test environment for ovirt via four pc and a server.
I have two datacenter on the main server:
- a local datacenter on the server
- a gluster based datacenter by the four dekstop pc

2 weeks ago someone took my pc-s (for doing other things:)

I am could not remove the dead gluster based datacenter from ovirt.
- It always want to your own servers:)
- The force option doesn't work in this case.
- The gluster bricks are does not uninstallable.
- the cluster not removable
- Everything want to everything else:)


Move all the gluster hosts to maintenance. And then select all of them 
and click 'Remove', then select the 'Force' checkbox and Ok.




I don't want to reinstall the whole ovirt because I have a lot of vm 
on the local datacenter.


So, how can I remove a complety dead datacenter from ovirt?

Thanks in advance.

Tibor




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


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


Re: [ovirt-users] probing peers in gluster after installing hosts

2014-06-02 Thread Kanagaraj
- selecting the 'enable gluster service' in later stage(after the hosts 
are added) doesn't do anything. As you said, this could be a nice 
feature though.
- 'gluster peer probe' is used to form a logical cluster. I don't think 
having the hosts from different clusters to form a gluster-cluster is 
the right way.


Thanks,
Kanagaraj

On 06/02/2014 04:54 PM, Nathanaël Blanchet wrote:

Hi all,

I created 3 clusters in unique datacenter. I installed my hosts to the 
first one after activating the gluster service in the cluster tab. A 
expected otopi installed then the vdsm-gluster rpm and everything were 
ok for this first cluster.
The other ones weren't initially gluster ready and I wanted to 
activate the service after installing the host (so they were without 
vdsm-gluster package). But checking that item didn't do anything for 
these hosts, so that I had to manually install vdsm-gluster package. 
Then, when creating a volume, the UI told me that hosts couldn't 
communicate. So I had to manually probe them. This leads me to that 
question : is it an expected behaviour? The whole gluster job 
(installing appropriated package and probing peers in the cluster) 
should be done thanks to the UI cluster tab gluster service.
A last question : why isn't it possible to probe host on different 
clusters in the same datacenter, could be very useful.

--
Nathanaël Blanchet

Supervision réseau
Pôle exploitation et maintenance
Département des systèmes d'information
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr  



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


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


Re: [ovirt-users] glusterfs tips/questions

2014-05-21 Thread Kanagaraj


On 05/21/2014 02:04 PM, Gabi C wrote:

Hello!

I have an ovirt setup, 3.4.1, up-to date, with gluster package 
3.5.0-3.fc19 on all 3 nodes. Glusterfs setup is replicated on 3 
bricks. On 2 nodes 'gluster peeer status' raise 2 peer connected with 
it's UUID. On third node 'gluster peer status' raise 3 peers, out of 
which, two reffer to same node/IP but different UUID.


in every node you can find the peers in /var/lib/glusterd/peers/

you can get the uuid of the current node using the command gluster 
system:: uuid get


From this you can find which file is wrong in the above location.

[Adding gluster-us...@ovirt.org]



What I have tried:
- stopped gluster volumes, put 3rd node in maintenace, reboor - no 
effect;
- stopped  volumes, removed bricks belonging to 3rd node, readded it, 
start volumes but still no effect.



Any ideas, hints?

TIA


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


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


Re: [ovirt-users] glusterfs tips/questions

2014-05-21 Thread Kanagaraj

What are the steps which led this situation?

Did you re-install one of the nodes after forming the cluster or reboot 
which could have changed the ip?



On 05/21/2014 03:43 PM, Gabi C wrote:

On afected node:

gluster peer status

gluster peer status
Number of Peers: 3

Hostname: 10.125.1.194
Uuid: 85c2a08c-a955-47cc-a924-cf66c6814654
State: Peer in Cluster (Connected)

Hostname: 10.125.1.196
Uuid: c22e41b8-2818-4a96-a6df-a237517836d6
State: Peer in Cluster (Connected)

Hostname: 10.125.1.194
Uuid: 85c2a08c-a955-47cc-a924-cf66c6814654
State: Peer in Cluster (Connected)





ls -la /var/lib/gluster



ls -la /var/lib/glusterd/peers/
total 20
drwxr-xr-x. 2 root root 4096 May 21 11:10 .
drwxr-xr-x. 9 root root 4096 May 21 11:09 ..
-rw---. 1 root root   73 May 21 11:10 
85c2a08c-a955-47cc-a924-cf66c6814654
-rw---. 1 root root   73 May 21 10:52 
c22e41b8-2818-4a96-a6df-a237517836d6
-rw---. 1 root root   73 May 21 11:10 
d95558a0-a306-4812-aec2-a361a9ddde3e



Shoul I delete d95558a0-a306-4812-aec2-a361a9ddde3e??





On Wed, May 21, 2014 at 12:00 PM, Kanagaraj kmayi...@redhat.com 
mailto:kmayi...@redhat.com wrote:



On 05/21/2014 02:04 PM, Gabi C wrote:

Hello!

I have an ovirt setup, 3.4.1, up-to date, with gluster package
3.5.0-3.fc19 on all 3 nodes. Glusterfs setup is replicated on 3
bricks. On 2 nodes 'gluster peeer status' raise 2 peer connected
with it's UUID. On third node 'gluster peer status' raise 3
peers, out of which, two reffer to same node/IP but different UUID.


in every node you can find the peers in /var/lib/glusterd/peers/

you can get the uuid of the current node using the command
gluster system:: uuid get

From this you can find which file is wrong in the above location.

[Adding gluster-us...@ovirt.org mailto:gluster-us...@ovirt.org]



What I have tried:
- stopped gluster volumes, put 3rd node in maintenace, reboor -
no effect;
- stopped  volumes, removed bricks belonging to 3rd node, readded
it, start volumes but still no effect.


Any ideas, hints?

TIA


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





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


Re: [ovirt-users] glusterfs tips/questions

2014-05-21 Thread Kanagaraj

Ok.

I am not sure deleting the file or re-peer probe would be the right way 
to go.


Gluster-users can help you here.


On 05/21/2014 07:08 PM, Gabi C wrote:

Hello!


I haven't change the IP, nor reinstall nodes. All nodes are updated 
via yum. All I can think of was that after having some issue with 
gluster,from WebGUI I deleted VM, deactivate and detach storage 
domains ( I have 2) , than, _manually_, from one of the nodes , remove 
bricks, then detach peers, probe them, add bricks again, bring the 
volume up, and readd storage domains from the webGUI.



On Wed, May 21, 2014 at 4:26 PM, Kanagaraj kmayi...@redhat.com 
mailto:kmayi...@redhat.com wrote:


What are the steps which led this situation?

Did you re-install one of the nodes after forming the cluster or
reboot which could have changed the ip?



On 05/21/2014 03:43 PM, Gabi C wrote:

On afected node:

gluster peer status

gluster peer status
Number of Peers: 3

Hostname: 10.125.1.194
Uuid: 85c2a08c-a955-47cc-a924-cf66c6814654
State: Peer in Cluster (Connected)

Hostname: 10.125.1.196
Uuid: c22e41b8-2818-4a96-a6df-a237517836d6
State: Peer in Cluster (Connected)

Hostname: 10.125.1.194
Uuid: 85c2a08c-a955-47cc-a924-cf66c6814654
State: Peer in Cluster (Connected)





ls -la /var/lib/gluster



ls -la /var/lib/glusterd/peers/
total 20
drwxr-xr-x. 2 root root 4096 May 21 11:10 .
drwxr-xr-x. 9 root root 4096 May 21 11:09 ..
-rw---. 1 root root   73 May 21 11:10
85c2a08c-a955-47cc-a924-cf66c6814654
-rw---. 1 root root   73 May 21 10:52
c22e41b8-2818-4a96-a6df-a237517836d6
-rw---. 1 root root   73 May 21 11:10
d95558a0-a306-4812-aec2-a361a9ddde3e


Shoul I delete d95558a0-a306-4812-aec2-a361a9ddde3e??





On Wed, May 21, 2014 at 12:00 PM, Kanagaraj kmayi...@redhat.com
mailto:kmayi...@redhat.com wrote:


On 05/21/2014 02:04 PM, Gabi C wrote:

Hello!

I have an ovirt setup, 3.4.1, up-to date, with gluster
package 3.5.0-3.fc19 on all 3 nodes. Glusterfs setup is
replicated on 3 bricks. On 2 nodes 'gluster peeer status'
raise 2 peer connected with it's UUID. On third node
'gluster peer status' raise 3 peers, out of which, two
reffer to same node/IP but different UUID.


in every node you can find the peers in /var/lib/glusterd/peers/

you can get the uuid of the current node using the command
gluster system:: uuid get

From this you can find which file is wrong in the above location.

[Adding gluster-us...@ovirt.org mailto:gluster-us...@ovirt.org]



What I have tried:
- stopped gluster volumes, put 3rd node in maintenace,
reboor - no effect;
- stopped  volumes, removed bricks belonging to 3rd node,
readded it, start volumes but still no effect.


Any ideas, hints?

TIA


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








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


Re: [ovirt-users] post glusterfs 3.4 - 3.5 upgrade issue in ovirt (3.4.0-1.fc19): bricks unavailable

2014-05-21 Thread Kanagaraj

engine.log and vdsm.log?

This can mostly happen due to following reasons
- gluster volume status vm-store is not consistently returning the 
right output

- ovirt-engine is not able to identify the bricks properly

Anyway, engine.log will give better clarity.


On 05/22/2014 02:24 AM, Alastair Neil wrote:
I just did a rolling upgrade of my gluster storage cluster to the 
latest 3.5 bits.  This all seems to have gone smoothly and all the 
volumes are on line.  All volumes are replicated 1x2


The ovirt console now insists that two of my volumes , including the 
vm-store  volume with my vm's happily running have no bricks up.


It reports Up but all bricks are down

This would seem to be impossible.  Gluster  on the nodes itself 
reports no issues


[root@gluster1 ~]# gluster volume status vm-store
Status of volume: vm-store
Gluster processPortOnlinePid

--
Brick gluster0:/export/brick0/vm-store49158Y2675
Brick gluster1:/export/brick4/vm-store49158Y2309
NFS Server on localhost2049Y27012
Self-heal Daemon on localhostN/AY27019
NFS Server on gluster02049Y12875
Self-heal Daemon on gluster0N/AY12882

Task Status of Volume vm-store

--
There are no active volume tasks



As I mentioned the vms are running happily
initially the ISOs volume had the same issue.  I did a volume start 
and stop on the volume as it was not being activly used and that 
cleared up the issue in the console.  However, as I have VMs running 
 I can't so this for the vm-store volume.



Any suggestions, Alastair



___
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] ovirt-engine-notifier

2014-02-26 Thread Kanagaraj

In webadmin portal,

Users(tab) - Select a User - Event Notifier (sub-tab) - Manage Events.

Thanks,
Kanagaraj


On 02/27/2014 06:42 AM, Maurice James wrote:


Where do you set the conditions to be notified for the 
ovirt-engine-notifier service?




___
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] Putting a Gluster host into an ISCSI DC

2014-02-05 Thread Kanagaraj


On 02/05/2014 04:48 PM, Gianluca Cecchi wrote:

Hello,
in a test infra I would to temporarily put a Host that is part of
Gluster DC and has gluster volumes active into an ISCSI DC.

I put Gluster DC in maintenance, stop glustervolume and put both hosts
in maintenance.
Then I try to edit host and put into the ISCSI DC.
But I receive error

Error while executing action:

node02:

Cannot Edit host. Server having Gluster volume


As you said above, if you have volumes in the cluster, volumes needs to 
be deleted before moving the hosts to  a different cluster.





Is there any basic check so that I cannot do this at all?
Any tip?

Thanks,
Gianluca
___
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] Gluster command [Non interactive user] failed on server ..

2014-01-20 Thread Kanagaraj


From the log org.apache.xmlrpc.XmlRpcException: type 
'exceptions.Exception':method glusterHostsList is not supported


Looks like you don't have vdsm-gluster package installed on the host.

Thanks,
Kanagaraj

On 01/20/2014 04:05 PM, Andrew Lau wrote:

Hi,

I'm seeing this weird error on my host which runs the hosted-engine, 
it only recently showed up and put the host into 'Non Operational' :

Gluster command [Non interactive user] failed on server HV01.

ovirt-engine.log
http://www.fpaste.org/69949/90213863/

Current running VMs continue to run. Has anyone seen this before?

Thanks,
Andrew


___
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] Moving hosts to new Gluster cluster issues

2013-12-11 Thread Kanagaraj

Hi,

From the error, it looks like your host doesn't have vdsm-gluster 
package installed.


If you would have done host re-install before moving the host to 
gluster-cluster, vdsm-gluster would have not installed.


Thanks,
Kanagaraj

On 12/12/2013 05:43 AM, Pat Pierson wrote:
I am in the process of upgrading my cluster while at the same time 
moving to gluster.  My engine is version 3.3.1 and I have a NFS 
cluster running in 3.1 compatibility mode that I am moving to a 3.3 
GlusterFS cluster.   Host3 runs the engine and is on the NFS cluster 
while host2 is running a single brick gluster volume and a few vms on 
the Gluster cluster.  Host1 is the machine I am trying to move from 
the NFS cluster to the Gluster cluster.  Host1 is upgraded to the 
latest vdsm/gluster/etc (done via the host re-install option in the UI 
while in maintenance mode).  I attempt to change the 
datacenter/cluster on the host edit page and after I press OK I get 
the following error in the UI: Error while executing action 
ChangeVDSCluster: Network error during communication with the Host.  
I have checked all IPs and DNS resolutions and even went so far to 
disable iptables on all of the hosts to make sure I don't have any 
firewall issues.  Host1/2 is running latest centos 6.5 and Host3 is 
slightly behind on centos 6.4.


While attempting to make the change I have tailed the engine.log and 
it is in the following pastebin http://pastebin.com/1yaK4vYt.


Any help would be great.  I just need a direction to look in.

--
Patrick Pierson


___
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] Gluster Volume Info won't update

2013-12-05 Thread Kanagaraj


On 12/06/2013 07:55 AM, Andrew Lau wrote:
Because of a few issues I had with keepalived, I moved my storage 
network to it's own VLAN but it seems to have broken part of the ovirt 
gluster management.


Same scenario:
2 Hosts

1x Engine, VDSM, Gluster
1x VDSM,Gluster

So to properly split the gluster data and ovirtmgmt I simply assigned 
them two host names and two IPS.


172.16.0.1 (ovirtmgmt) hvx.melb.example.net http://hvx.melb.example.net
172.16.1.1 (gluster) gsx.melb.example.net http://gsx.melb.example.net

However the oVirt engine does not seem to like this, it would not pick 
up the gluster volume as running until I did a restart through the UI.


The issue (possible bug) I'm seeing is the logs are being filled with 
http://www.fpaste.org/59440/13862963/


Volume information isn't being pulled as it thinks the 
gs01.melb.example.net http://gs01.melb.example.net is not within the 
cluster, where in fact it is but registered under 
hv01.melb.example.net http://hv01.melb.example.net




What's compatibility version of the clusters?

From 3.3 onwards, gluster-host-uuid is used to identify a host instead 
of hostname.


Thanks,
Kanagaraj



Thanks,
Andrew


___
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] Gluster Volume Info won't update

2013-12-05 Thread Kanagaraj


On 12/06/2013 09:46 AM, Andrew Lau wrote:

Yup - it's ovirt cluster version 3.3 with gluster 3.4.1


what does gluster volume info vol and gluster volume status vol say?



On Fri, Dec 6, 2013 at 3:11 PM, Kanagaraj kmayi...@redhat.com 
mailto:kmayi...@redhat.comwrote:



On 12/06/2013 07:55 AM, Andrew Lau wrote:

Because of a few issues I had with keepalived, I moved my storage
network to it's own VLAN but it seems to have broken part of the
ovirt gluster management.

Same scenario:
2 Hosts

1x Engine, VDSM, Gluster
1x VDSM,Gluster

So to properly split the gluster data and ovirtmgmt I simply
assigned them two host names and two IPS.

172.16.0.1 (ovirtmgmt) hvx.melb.example.net
http://hvx.melb.example.net
172.16.1.1 (gluster) gsx.melb.example.net
http://gsx.melb.example.net

However the oVirt engine does not seem to like this, it would not
pick up the gluster volume as running until I did a restart
through the UI.

The issue (possible bug) I'm seeing is the logs are being filled
with http://www.fpaste.org/59440/13862963/

Volume information isn't being pulled as it thinks the
gs01.melb.example.net http://gs01.melb.example.net is not
within the cluster, where in fact it is but registered under
hv01.melb.example.net http://hv01.melb.example.net



What's compatibility version of the clusters?

From 3.3 onwards, gluster-host-uuid is used to identify a host
instead of hostname.

Thanks,
Kanagaraj



Thanks,
Andrew


___
Users mailing list
Users@ovirt.org  mailto: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] Adding Gluster support after the fact.

2013-10-28 Thread Kanagaraj

On 10/29/2013 02:54 AM, Joop wrote:

Rob Abshear wrote:
I initially installed oVirt without Gluster management support.  Now 
I want to add it in.  What is the best method for doing this?  I 
tried running engine-cleanup and then engine-setup to add it in that 
way.  But the only thing I accomplished was to hose my install.  Now 
that I have recovered from that, I still want to add this.  Any help 
would be appreciated.


Recommended way is to select 'Both' for 'ApplicationMode' during 
engine-setup.


But if you want to do this after engine-setup, you need to tweak a 
database entry. You could find an option_name called 'ApplicationMode' 
in the vdc_options table, change the value of the field to 255, then 
restart ovirt-engine service. Now you should able to manage both virt 
and gluster in oVirt.


Just set check the gluster checkbox on the cluster edit page, put the 
node/host into maintenance and reinstall it. It will install the 
gluster bits and you'll be able to add volumes.




This is possible only if oVirt is installed in 'Both' (Virt+Gluster) mode.

Thanks,
Kanagaraj


Joop



___
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] unable to start vm in 3.3 and f19 with gluster

2013-09-24 Thread Kanagaraj

On 09/25/2013 04:40 AM, Gianluca Cecchi wrote:

Hello,
I'm testing GlusterFS on 3.3 with fedora 19 systems.
One engine (ovirt) + 2 nodes (ovnode01 and ovnode02)

Successfully created gluster volume composed by two bricks (one for
each vdsm node) distributed replicated

Suggestion:
If page
http://www.ovirt.org/Features/GlusterFS_Storage_Domain
is the reference, perhaps it would be better to explicitly specify
that one has to start the created volume before going to add a storage
domain based on the created volume.
Not knowing Gluster could lead to think that the start phase is
responsibility of storage domain creation itself ...

All seems ok from a configuration point of view.
Uploaded a CentOS 6.4 iso image ito my ISO_DOMAIN (nfs exported from
engine.. this will be another thread...)
Created a server VM with 10Gb of disk with thin allocation.

I get an error when starting the VM

on engine.log
2013-09-25 00:43:16,027 ERROR
[org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
(DefaultQuartzScheduler_Worker-44) Rerun vm
409c5dbe-5e70-40de-bf73-46ef484ea2d7. Called from vds ovnode02
2013-09-25 00:43:16,031 INFO
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(pool-6-thread-48) Correlation ID: 5ea15175, Job ID:
48128550-3633-4da4-8d9c-ab704be02f02, Call Stack: null, Custom Event
ID: -1, Message: Failed to run VM C6 on Host ovnode02.
2013-09-25 00:43:16,057 INFO  [org.ovirt.engine.core.bll.RunVmCommand]
(pool-6-thread-48) Lock Acquired to object EngineLock [exclusiveLocks=
key: 409c5dbe-5e70-40de-bf73-46ef484ea2d7 value: VM
, sharedLocks= ]
2013-09-25 00:43:16,070 INFO
[org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
(pool-6-thread-48) START, IsVmDuringInitiatingVDSCommand( vmId =
409c5dbe-5e70-40de-bf73-46ef484ea2d7), log id: 7979c53b
2013-09-25 00:43:16,071 INFO
[org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
(pool-6-thread-48) FINISH, IsVmDuringInitiatingVDSCommand, return:
false, log id: 7979c53b
2013-09-25 00:43:16,086 INFO  [org.ovirt.engine.core.bll.RunVmCommand]
(pool-6-thread-48) Running command: RunVmCommand internal: false.
Entities affected :  ID: 409c5dbe-5e70-40de-bf73-46ef484ea2d7 Type: VM
2013-09-25 00:43:16,110 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.IsoPrefixVDSCommand]
(pool-6-thread-48) START, IsoPrefixVDSCommand( storagePoolId =
6b3175e6-6fa2-473f-ba21-38917c413ba9, ignoreFailoverLimit = false),
log id: 7fd62f0f
2013-09-25 00:43:16,111 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.IsoPrefixVDSCommand]
(pool-6-thread
...


On node vdsm.log
Thread-2915::ERROR::2013-09-25
00:43:20,108::vm::2062::vm.Vm::(_startUnderlyingVm)
vmId=`409c5dbe-5e70-40de-bf73-46ef484ea2d7`::The vm start process
failed
Traceback (most recent call last):
   File /usr/share/vdsm/vm.py, line 2022, in _startUnderlyingVm
 self._run()
   File /usr/share/vdsm/vm.py, line 2906, in _run
 self._connection.createXML(domxml, flags),
   File /usr/lib64/python2.7/site-packages/vdsm/libvirtconnection.py,
line 76, in wrapper
 ret = f(*args, **kwargs)
   File /usr/lib64/python2.7/site-packages/libvirt.py, line 2805, in createXML
 if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)
libvirtError: Unable to read from monitor: Connection reset by peer
Thread-2915::DEBUG::2013-09-25
00:43:20,176::vm::2448::vm.Vm::(setDownStatus)
vmId=`409c5dbe-5e70-40de-bf73-46ef484ea2d7`::Changed state to Down:
Unable to read from monitor: Connection reset by peer
libvirtEventLoop::WARNING::2013-09-25
00:43:20,114::clientIF::337::vds::(teardownVolumePath) Drive is not a
vdsm image: VOLWM_CHUNK_MB:1024 VOLWM_CHUNK_REPLICATE_MULT:2
VOLWM_FREE_PCT:50 _blockDev:False _checkIoTuneCategories:bound method
Drive._checkIoTuneCategories of vm.Drive object at 0x2b12950
_customize:bound method Drive._customize of vm.Drive object at
0x2b12950 _deviceXML:disk device=cdrom snapshot=no
type=filesource
file=/var/run/vdsm/payload/409c5dbe-5e70-40de-bf73-46ef484ea2d7.393db1d8c9e756483db001b30a239296.img
startupPolicy=optional/target bus=ide
dev=hdd/readonly/serial/serial/disk _makeName:bound method
Drive._makeName of vm.Drive object at 0x2b12950
_validateIoTuneParams:bound method Drive._validateIoTuneParams of
vm.Drive object at 0x2b12950 apparentsize:0 blockDev:False
cache:none conf:{'status': 'Down', 'acpiEnable': 'true',
'emulatedMachine': 'pc-1.0', 'vmId':
'409c5dbe-5e70-40de-bf73-46ef484ea2d7', 'pid': '0',
'memGuaranteedSize': 1365, 'timeOffset': '0', 'keyboardLayout':
'en-us', 'displayPort': '-1', 'displaySecurePort': '-1',
'spiceSslCipherSuite': 'DEFAULT', 'cpuType': 'Nehalem', 'custom': {},
'clientIp': '', 'exitCode': 1, 'nicModel': 'rtl8139,pv',
'smartcardEnable': 'false', 'kvmEnable': 'true', 'pitReinjection':
'false', 'transparentHugePages': 'true', 'devices': [{'device':
'scsi', 'model': 'virtio-scsi', 'type': 'controller'}, {'device':
'qxl', 'specParams': {'vram': '65536'}, 'type': 'video', 'deviceId':
'70eadea2-6b53-

Let me know if you need full logs

Re: [Users] Can not add host to ovirt-engine

2013-09-20 Thread Kanagaraj


'ovirtmgmt' bridge gets created in the host during the 'Initializing' 
phase, may be you can check the existence of this bridge in the host. By 
looking at the log, engine is not able to communicate with the vdsm in 
the host.


Is the there anything in /var/log/vdsm/vdsm.log ?

Thanks,
Kanagaraj

On 09/20/2013 04:35 PM, kumar shantanu wrote:

Hello guys,

I am trying to setup ovirt now and it's installed and setup as per 
http://www.ovirt.org/Download.


However when I am doing the first step which is adding host this is 
what I am getting in the logs and it's stuck at initializing hosts


, Custom Event ID: -1, Message: Host Local is initializing. Message: 
Recovering from crash or Initializing
2013-09-20 12:00:01,766 WARN 
[org.ovirt.engine.core.vdsbroker.VdsManager] 
(DefaultQuartzScheduler_Worker-98) Failed to refresh VDS , vds = 
f70911ce-457d-4ef7-9a01-d66bfd25b910 : Local, error = Recovering from 
crash or Initializing, continuing.
2013-09-20 12:00:04,772 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand] 
(DefaultQuartzScheduler_Worker-99) Command 
org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand 
return value

 org.ovirt.engine.core.vdsbroker.vdsbroker.VDSInfoReturnForXmlRpc@23c03b6d
2013-09-20 12:00:04,773 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand] 
(DefaultQuartzScheduler_Worker-99) HostName = Local
2013-09-20 12:00:04,774 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand] 
(DefaultQuartzScheduler_Worker-99) Command GetCapabilitiesVDS 
execution failed. Exception: VDSRecoveringException: Recovering from 
crash or Initializing
2013-09-20 12:00:07,781 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand] 
(DefaultQuartzScheduler_Worker-100) Command 
org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand 
return value

 org.ovirt.engine.core.vdsbroker.vdsbroker.VDSInfoReturnForXmlRpc@3aad8c77
2013-09-20 12:00:07,782 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand] 
(DefaultQuartzScheduler_Worker-100) HostName = Local
2013-09-20 12:00:07,782 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand] 
(DefaultQuartzScheduler_Worker-100) Command GetCapabilitiesVDS 
execution failed. Exception: VDSRecoveringException: Recovering from 
crash or Initializing
2013-09-20 12:00:10,796 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand] 
(DefaultQuartzScheduler_Worker-9) Command 
org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand 
return value



Any idea please

Thanks
Shantanu


___
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] Can not add host to ovirt-engine

2013-09-20 Thread Kanagaraj
'ovirtmgmt' will be created by engine, you dont need to create one, you 
can check this exists in your host.
from vdsm.log, vdsmd taking time to  complete the initialization. Are 
there any vms running in this host?


Thanks,
Kanagaraj

On 09/20/2013 05:00 PM, kumar shantanu wrote:

Hello Kangaraj,

I created bridge br0 manually before adding host.
(br0   Link encap:Ethernet  HWaddr 78:45:C4:14:39:21  ),
Do I need to create a bridge named ovirtmgmt ??

Is the there anything in /var/log/vdsm/vdsm.log ?
I am attaching piece of logs from vdsm.log for you.

Thanks for your help
Shantanu




On Fri, Sep 20, 2013 at 4:41 PM, Kanagaraj kmayi...@redhat.com 
mailto:kmayi...@redhat.com wrote:



'ovirtmgmt' bridge gets created in the host during the
'Initializing' phase, may be you can check the existence of this
bridge in the host. By looking at the log, engine is not able to
communicate with the vdsm in the host.

Is the there anything in /var/log/vdsm/vdsm.log ?

Thanks,
Kanagaraj


On 09/20/2013 04:35 PM, kumar shantanu wrote:

Hello guys,

I am trying to setup ovirt now and it's installed and setup as
per http://www.ovirt.org/Download.

However when I am doing the first step which is adding host this
is what I am getting in the logs and it's stuck at initializing hosts

, Custom Event ID: -1, Message: Host Local is initializing.
Message: Recovering from crash or Initializing
2013-09-20 12:00:01,766 WARN
[org.ovirt.engine.core.vdsbroker.VdsManager]
(DefaultQuartzScheduler_Worker-98) Failed to refresh VDS , vds =
f70911ce-457d-4ef7-9a01-d66bfd25b910 : Local, error = Recovering
from crash or Initializing, continuing.
2013-09-20 12:00:04,772 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]
(DefaultQuartzScheduler_Worker-99) Command
org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand
return value
 org.ovirt.engine.core.vdsbroker.vdsbroker.VDSInfoReturnForXmlRpc@23c03b6d
2013-09-20 12:00:04,773 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]
(DefaultQuartzScheduler_Worker-99) HostName = Local
2013-09-20 12:00:04,774 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]
(DefaultQuartzScheduler_Worker-99) Command GetCapabilitiesVDS
execution failed. Exception: VDSRecoveringException: Recovering
from crash or Initializing
2013-09-20 12:00:07,781 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]
(DefaultQuartzScheduler_Worker-100) Command
org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand
return value
 org.ovirt.engine.core.vdsbroker.vdsbroker.VDSInfoReturnForXmlRpc@3aad8c77
2013-09-20 12:00:07,782 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]
(DefaultQuartzScheduler_Worker-100) HostName = Local
2013-09-20 12:00:07,782 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]
(DefaultQuartzScheduler_Worker-100) Command GetCapabilitiesVDS
execution failed. Exception: VDSRecoveringException: Recovering
from crash or Initializing
2013-09-20 12:00:10,796 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]
(DefaultQuartzScheduler_Worker-9) Command
org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand
return value


Any idea please

Thanks
Shantanu


___
Users mailing list
Users@ovirt.org  mailto: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] Importing an existing gluster setup

2013-08-28 Thread Kanagaraj

On 08/28/2013 06:16 PM, Nux! wrote:

On 28.08.2013 13:19, Sahina Bose wrote:

On 08/28/2013 05:44 PM, Nux! wrote:

Hi,
I have an existing gluster cluster, it's in production and fully 
functional. I'd like to be able to manage it from within Ovirt.
Can anyone tell me if I can import this gluster setup as it is? I 
don't want Ovirt to change anything on those hosts.

Yes, you can, using the Import cluster option when you create a
cluster with gluster services enabled (Do not enable virt services on
cluster)

This will install vdsm on the hosts, but should not affect the
gluster setup in any other way.


Hello Sahina,

I've added my existing gluster hosts as well as the VM running the 
ovirt-engine. It installed vdsm on this VM, set up a bridge called 
ovirtmgmt and rebooted it. Can you assure me this will not happen with 
the hosts I have in production. For the moment I cut access for ovirt 
to the gluster hosts.. my heart just froze when I saw that reboot. :)




It is not supposed to reboot if you have created the cluster with 
'Enable Gluster service' checked and 'Enable Virt Service' un-checked.



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


Re: [Users] Gluster Volume created and deleted repeatedly

2013-08-26 Thread Kanagaraj
Looks like your hosts are in an inconsistent state. If you look at the 
below output, one host reports 2 peers and the another one reports 1 
peer. Also if you look at the 'gluster peer status' from the second 
host, it says 'Disconnected', it means it could not communicate with the 
gluster in the peer(probably glusterd is down). This also leads to one 
host reporting there is a volume but the other one says there are no 
volumes.


oVirt engine pulls the volume information from any one of the hosts. 
Thats why you see the volume gets added and removed.


Its better to fix this inconsistencies before doing further activities. 
Make sure 'glusterd' is running and no firewall rules are blocking the 
communication between the glusterd across hosts.


What version of glusterfs in installed in the hosts?

PS: You can ask gluster specific questions in 
/gluster-us...@gluster.org/ mailing list.


Thanks,
Kanagaraj

On 08/25/2013 09:23 PM, Matt Marks wrote:
  I have 4 Hosts, 2 are down, 1 with bridge network issues, and the 
other for ram issues.  I ran the volume info and the Volume does not 
exist.  So I looked into the oVirt admin page and the volume is no 
longer there.  So it deleted itself sometime in the middle of the night?!

gluster peer status
Number of Peers: 2

Hostname: 10.xxx.xxx.62
Uuid: b6cbe1fe-add5-4c7e-aca0-cf3dfeb1791b
State: Peer in Cluster (Connected)

Hostname: 10.xxx.xxx.61
Port: 24007
Uuid: 16c71735-f595-4938-9a61-e92b65c09092
State: Accepted peer request (Disconnected)

gluster peer status
Number of Peers: 1

Hostname: 10.xxx.xxx.60
Uuid: 55c305f2-e197-4e22-a5b9-a2ef4a99c14b
State: Peer in Cluster (Disconnected)

Thanks for your help.


On Sun, Aug 25, 2013 at 2:17 AM, Kanagaraj Mayilsamy 
kmayi...@redhat.com mailto:kmayi...@redhat.com wrote:


This can happen if the volume configuration in your hosts are
different.
You can execute the following command in all of your hosts and
observe they report the same details.
'gluster volume info volname'

Can you provide the following details to do better analysis

* No.of hosts in your cluster and their status
* Volume type and the output of 'gluster volume info volname'
from all the hosts
* output of 'gluster peer status' command from all your hosts
* ovirt engine log
* vdsm log from your hosts

Thanks,
Kanagaraj

- Original Message -
 From: Matt Marks hollywoodma...@gmail.com
mailto:hollywoodma...@gmail.com
 To: users@ovirt.org mailto:users@ovirt.org
 Sent: Sunday, August 25, 2013 8:05:00 AM
 Subject: [Users] Gluster Volume created and deleted repeatedly

 Hi, I have recently installed oVirt 3.2 and I have decided to
try and setup
 Volumes, but after adding a volume I am getting the message
Gluster Volume
 Volume1 was created from gluster CLI. Now added to engine DB as
well and
 Gluster Volume Volume1 was deleted from gluster CLI. Now
deleted from
 engine DB as well Even ID 4026 and 4027. They are repeating on
a continuous
 loop. I created the Volume in oVirt. I have not found anyone
else with this
 issue so I thought I should ask here. This may be unrelated but
I also see
 the User admin@internal logged in message about every 30
seconds on the
 events.
 Thanks.

 ___
 Users mailing list
 Users@ovirt.org mailto: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] Host Agent-35 moved to Non-Operational state as host does not meet the cluster's minimum CPU level. Missing CPU features : model_Penryn

2013-08-16 Thread Kanagaraj Mayilsamy
The first question would be, 
1)Do you want to use oVirt from managing gluster storage 
(or)
2)You want to manage both your storage and virtualization

for case 1)

You can create a new cluster(or modify the existing one) with 'Enable Gluster 
Service' and do not select 'Enable Virt Service'. Then add hosts to that 
cluster, you won't see any errors complaining missing CPU features as this 
cluster is not meant for Virt. Also gluster needs the machines to be x86 arch 
and nothing else.

for case 2)

Here you would need create a cluster with both 'Gluster' and 'Virt' services 
enabled. The CPU you select here should match with the CPU the hosts are having.


Thanks,
Kanagaraj

- Original Message -
 From: higkoohk higko...@gmail.com
 To: users@ovirt.org
 Sent: Friday, August 16, 2013 6:02:21 PM
 Subject: [Users] Host Agent-35 moved to Non-Operational state as host does 
 not meet the cluster's minimum CPU level.
 Missing CPU features : model_Penryn
 
 Hello,
 
 I'm using oVirt 3.3 beta for gluster, but when I add host into cluster.
 Many machine change into non-operational .
 Error tips:'Host Agent-35 moved to Non-Operational state as host does not
 meet the cluster's minimum CPU level. Missing CPU features : model_Penryn'.
 
 This one is OK:
 Intel(R) Xeon(R) CPU E5410 @ 2.33GHz
 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36
 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc
 arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx est
 tm2 ssse3 cx16 xtpr pdcm dca sse4_1 lahf_lm dts tpr_shadow vnmi flexpriority
 
 This one is FAIL:
 Intel(R) Xeon(R) CPU 5110 @ 1.60GHz
 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36
 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc
 arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx tm2
 ssse3 cx16 xtpr pdcm dca lahf_lm dts tpr_shadow
 
 Is this mean that failed machine couldn't make vm?
 
 ___
 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] Issues using local storage for gluster shared volume

2013-03-28 Thread Kanagaraj Mayilsamy


- Original Message -
 From: Tony Feldmann trfeldm...@gmail.com
 To: users@ovirt.org
 Sent: Thursday, March 28, 2013 8:19:17 PM
 Subject: [Users] Issues using local storage for gluster shared volume
 
 
 I have been trying for a month or so to get a 2 node cluster up and
 running. I have engine installed on the first node, then add each
 each system as a host to a posix dc. Both boxes have 4 data disks.
 After adding the hosts I create a distributed replicate volume using
 3 disk from each host with ext4 filesystems. I click the 'optimize
 for virt' option on the volume. There is a message in events that
 says that it can't set a volume option, then it sets 2 volume
 options. Checking the options tab I see that it added the gid/uid
 options. I was unable to find in the logs what option was not set, I
 just see a message about usage for volume set volname option.

gid and uid options are enough to make a gluster volume ready for virt store. 
The third option sets a group(called as virt group) of options on the volume 
mainly related to performance tuning. To make this option work, you have to 
copy the file 
https://github.com/gluster/glusterfs/blob/master/extras/group-virt.example to 
/var/lib/glusterd/groups/ and name it as virt. Now you can click on 'Optimize 
for virt store' again to set the virt group. Setting this group option 
recommended but not necessary to make the gluster volume to be used as virt 
store.

I am not sure about the below errors, other people in the list can help you out.

Thanks,
Kanagaraj

 The volume starts fine and I am able to create a data domain on the
 volume. Once the domain is created I try to create a vm and it fails
 creating the disk. Error messages are along the lines of task file
 exists and can't remove task files. There are directories under
 tasks and when trying to manually remove them I get the directory
 not empty error. Can someone please shed some light on what I am
 doing wrong to get this 2 node cluster with local disk as shared
 storage up and running?
 
 
 Thanks,
 
 
 Tony
 ___
 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] Fedora 17 firefox not optimal for 3.2 beta

2013-02-11 Thread Kanagaraj

On 02/12/2013 11:32 AM, Gianluca Cecchi wrote:

Hello,
connecting to ovirt 3.2 beta from F17 with firefox-18.0-1.fc17.x86_64 I receive

This Browser version isn't optimal for displaying the application
graphics (refer to Documentation for details)

How is the check made to show or not the warning?
What is the current status of supported browsers?
'Firefox 17 on Linux' and 'Internet Explorer 9+ on any OS'. If you use 
any browser other than these, you will see the 'isn't optimal' warning.


Thanks,
Kanagaraj

I remember someone posting a page with browser support but I'm unable
to find it right now...

I remember also on December the thread

[Users] Using the chrome/chromium browser with oVirt

Did it go ahead with chrome spice-xpi patches applied and so now
chrome usable in f17 / f18 (btw on my f17 I have
google-chrome-stable-24.0.1312.69-180721.x86_64 if needed for
testing)?



Thanks,
Gianluca
___
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] Testday aftermath

2013-02-01 Thread Kanagaraj

Hi Joop,

 Looks like the problem is because of the glusterfs version you are 
using. vdsm could not parse the output from gluster.


 Can you update the glusterfs to 
http://bits.gluster.org/pub/gluster/glusterfs/v3.4.0qa7/x86_64/ and 
check it out?


Thanks,
Kanagaraj

On 02/01/2013 03:23 PM, Joop wrote:

Yesterday was testday but not much fun :-(

I had a reasonable working setup but for testday I decided to start from
scratch and that ended rather soon. Installing and configuring engine was
not a problem but I want a setup where I have two gluster hosts and two
hosts as vmhosts.
I added a second cluster using the webinterface set it to gluster storage
and added two minimal installed Fedora 18 hosts where I setup static
networking and verified that it worked.
Adding the two hosts went OK but adding a Volume gives the following error
on engine:

2013-02-01 09:32:39,084 INFO
[org.ovirt.engine.core.bll.gluster.CreateGlusterVolumeCommand]
(ajp--127.0.0.1-8702-4) [5ea886d] Running command:
CreateGlusterVolumeCommand internal: false. Entities affected :  ID:
8720debc-a184-4b61-9fa8-0fdf4d339b9a Type: VdsGroups
2013-02-01 09:32:39,117 INFO
[org.ovirt.engine.core.vdsbroker.gluster.CreateGlusterVolumeVDSCommand]
(ajp--127.0.0.1-8702-4) [5ea886d] START,
CreateGlusterVolumeVDSCommand(HostName = st02, HostId =
e7b74172-2f95-43cb-83ff-11705ae24265), log id: 4270f4ef
2013-02-01 09:32:39,246 WARN
[org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
(ajp--127.0.0.1-8702-4) [5ea886d] Weird return value: StatusForXmlRpc
[mCode=4106, mMessage=XML error
error: ?xml version=1.0 encoding=UTF-8 standalone=yes?
cliOutputvolCreatecount2/countbricks
st01.nieuwland.nl:/home/gluster-data st02.nieuwland.nl:/home/gluster-data
/brickstransporttcp/transporttype2/typevolnameGlusterData/volnamereplica-count2/replica-count/volCreate/cliOutput
]
2013-02-01 09:32:39,248 WARN
[org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
(ajp--127.0.0.1-8702-4) [5ea886d] Weird return value: StatusForXmlRpc
[mCode=4106, mMessage=XML error
error: ?xml version=1.0 encoding=UTF-8 standalone=yes?
cliOutputvolCreatecount2/countbricks
st01.nieuwland.nl:/home/gluster-data st02.nieuwland.nl:/home/gluster-data
/brickstransporttcp/transporttype2/typevolnameGlusterData/volnamereplica-count2/replica-count/volCreate/cliOutput
]
2013-02-01 09:32:39,249 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
(ajp--127.0.0.1-8702-4) [5ea886d] Failed in CreateGlusterVolumeVDS method
2013-02-01 09:32:39,250 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
(ajp--127.0.0.1-8702-4) [5ea886d] Error code unexpected and error message
VDSGenericException: VDSErrorException: Failed to CreateGlusterVolumeVDS,
error = XML error
error: ?xml version=1.0 encoding=UTF-8 standalone=yes?
cliOutputvolCreatecount2/countbricks
st01.nieuwland.nl:/home/gluster-data st02.nieuwland.nl:/home/gluster-data
/brickstransporttcp/transporttype2/typevolnameGlusterData/volnamereplica-count2/replica-count/volCreate/cliOutput

2013-02-01 09:32:39,254 ERROR
[org.ovirt.engine.core.vdsbroker.VDSCommandBase] (ajp--127.0.0.1-8702-4)
[5ea886d] Command CreateGlusterVolumeVDS execution failed. Exception:
VDSErrorException: VDSGenericException: VDSErrorException: Failed to
CreateGlusterVolumeVDS, error = XML error
error: ?xml version=1.0 encoding=UTF-8 standalone=yes?
cliOutputvolCreatecount2/countbricks
st01.nieuwland.nl:/home/gluster-data st02.nieuwland.nl:/home/gluster-data
/brickstransporttcp/transporttype2/typevolnameGlusterData/volnamereplica-count2/replica-count/volCreate/cliOutput

2013-02-01 09:32:39,255 INFO
[org.ovirt.engine.core.vdsbroker.gluster.CreateGlusterVolumeVDSCommand]
(ajp--127.0.0.1-8702-4) [5ea886d] FINISH, CreateGlusterVolumeVDSCommand,
log id: 4270f4ef
2013-02-01 09:32:39,256 ERROR
[org.ovirt.engine.core.bll.gluster.CreateGlusterVolumeCommand]
(ajp--127.0.0.1-8702-4) [5ea886d] Command
org.ovirt.engine.core.bll.gluster.CreateGlusterVolumeCommand throw Vdc Bll
exception. With error message VdcBLLException:
org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
VDSGenericException: VDSErrorException: Failed to CreateGlusterVolumeVDS,
error = XML error
error: ?xml version=1.0 encoding=UTF-8 standalone=yes?
cliOutputvolCreatecount2/countbricks
st01.nieuwland.nl:/home/gluster-data st02.nieuwland.nl:/home/gluster-data
/brickstransporttcp/transporttype2/typevolnameGlusterData/volnamereplica-count2/replica-count/volCreate/cliOutput

2013-02-01 09:32:39,268 INFO
[org.ovirt.engine.core.bll.gluster.CreateGlusterVolumeCommand]
(ajp--127.0.0.1-8702-4) [5ea886d] Lock freed to object EngineLock
[exclusiveLocks= key: 8720debc-a184-4b61-9fa8-0fdf4d339b9a value: GLUSTER
, sharedLocks= ]
2013-02-01 09:32:40,902 INFO
[org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand]
(QuartzScheduler_Worker-85) START, GlusterVolumesListVDSCommand(HostName =
st02, HostId = e7b74172-2f95-43cb-83ff-11705ae24265), log id: 61cafb32

And on ST01

Re: [Users] Testday aftermath

2013-02-01 Thread Kanagaraj

On 02/01/2013 06:47 PM, Joop wrote:

Shireesh Anjal wrote:

On 02/01/2013 05:13 PM, noc wrote:

On 1-2-2013 11:07, Kanagaraj wrote:

Hi Joop,

 Looks like the problem is because of the glusterfs version you are 
using. vdsm could not parse the output from gluster.


 Can you update the glusterfs to 
http://bits.gluster.org/pub/gluster/glusterfs/v3.4.0qa7/x86_64/ and 
check it out?

How??

I tried adding this repo but but yum says that there are no updates 
available, atleast yesterday it did.


[gluster-nieuw]
name=GlusterFS
baseurl=http://bits.gluster.org/pub/gluster/glusterfs/stage/
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Gluster
enabled=1

My yumfoo isn't that good so I don't know how to force it. Besides I 
tried through yum localinstall but it will revert when yum update is 
run. It looks like it thinks that 3.3.1 is newer than 3.4


The problem is that, released glusterfs rpms in fedora repository are 
of the form 3.3.1-8, whereas the ones from above QA release are 
v3.4.0qa7. I think because of the v before 3.4, these are 
considered as lower version, and by default yum picks up the rpms 
from fedora repository.


The 'v' is 99.9% the culprit. I had 3.4.0qa6 before I wiped and just 
had a look that folder and repo doesn't have the 'v' in front of it.



Thats correct.

[kanagaraj@localhost ~]$ rpmdev-vercmp glusterfs-3.3.1-8.fc18.x86_64 
glusterfs-v3.4.0qa7-1.el6.x86_64

glusterfs-3.3.1-8.fc18.x86_64  glusterfs-v3.4.0qa7-1.el6.x86_64


Is there someone on this list that has the 'powers' to change that ??



[Adding Vijay]


Joop



___
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] gluster volume creation error

2013-01-21 Thread Kanagaraj Mayilsamy
Hi Jithin,

 By looking at the logs, looks like you already had a volume named 'vol1' in 
the gluster and you have tried to create another volume with the same name from 
the UI. Thats why you were able to see the volume 'vol1' even after the 
creation was failed. 

 I am not sure which version of ovirt-engine you are using. The recent 
releases(3.2) and the upstream code currently have the support for reflecting 
the old volumes in the UI even though there were created via UI or directly 
from CLI. With this change vol1 should have appeared in the UI even before the 
creation. 

So it looks like there are no issues with the creation of volume. I am not 
familiar with the mount issues, some one else will help you out.

Thanks,
Kanagaraj

- Original Message -
 From: Jithin Raju rajuj...@gmail.com
 To: Kanagaraj Mayilsamy kmayi...@redhat.com, users@ovirt.org
 Sent: Monday, January 21, 2013 1:33:56 PM
 Subject: Re: [Users] gluster volume creation error
 
 
 Hi Kanagaraj,
 
 
 PFA,
 
 
 gluster version info:
 glusterfs-geo-replication-3.2.7-2.fc17.x86_64
 glusterfs-3.2.7-2.fc17.x86_64
 glusterfs-fuse-3.2.7-2.fc17.x86_64
 glusterfs-rdma-3.2.7-2.fc17.x86_64
 vdsm-gluster-4.10.0-10.fc17.noarch
 glusterfs-server-3.2.7-2.fc17.x86_64
 
 
 Thanks,
 Jithin
 
 
 
 On Mon, Jan 21, 2013 at 1:15 PM, Kanagaraj Mayilsamy 
 kmayi...@redhat.com  wrote:
 
 
 
 
 
 - Original Message -
  From: Jithin Raju  rajuj...@gmail.com 
  To: users@ovirt.org
  Sent: Monday, January 21, 2013 1:10:15 PM
  Subject: [Users] gluster volume creation error
  
  
  
  Hi ,
  
  
  Volume creation is failing in posixfs data center.
  
  
  While trying to create a distribute volume web UI exits with error:
  
  
  creation of volume failed and volume is not listed in web UI.
  
 Can you please provide the engine.log and vdsm.log(from all the hosts
 in the cluster ).
 
 
  
  From the backend I can see volume got created.
  
  
  gluster volume info
  
  
  
  Volume Name: vol1
  Type: Distribute
  Status: Created
  Number of Bricks: 2
  Transport-type: tcp
  Bricks:
  Brick1: x.250.76.71:/data
  Brick2: x.250.76.70:/data
  
  
  When I try to mount the volume manually to /mnt
  its not giving any message
  
  
  exit status is zero.
  
  
  mount command listed as below:
  
  
  fig:/vol1 on /mnt type fuse.glusterfs
  (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other,max_read=131072)
  
  
  
  when I run a df it gives me like below:
  df: `/mnt': Transport endpoint is not connected
  
  
  
  So i just tail'ed
  /var/log/glusterfs/etc-glusterfs-glusterd.vol.log
  
  
  
  [2013-01-21 11:30:07.828518] W
  [socket.c:1494:__socket_proto_state_machine] 0-socket.management:
  reading from socket failed. Error (Transport endpoint is not
  connected), peer ( 135.250.76.70:1009 )
  [2013-01-21 11:30:10.839882] W
  [socket.c:1494:__socket_proto_state_machine] 0-socket.management:
  reading from socket failed. Error (Transport endpoint is not
  connected), peer ( 135.250.76.70:1007 )
  [2013-01-21 11:30:13.852374] W
  [socket.c:1494:__socket_proto_state_machine] 0-socket.management:
  reading from socket failed. Error (Transport endpoint is not
  connected), peer ( 135.250.76.70:1005 )
  [2013-01-21 11:30:16.864634] W
  [socket.c:1494:__socket_proto_state_machine] 0-socket.management:
  reading from socket failed. Error (Transport endpoint is not
  connected), peer ( 135.250.76.70:1003 )
  [2013-01-21 11:30:19.875986] W
  [socket.c:1494:__socket_proto_state_machine] 0-socket.management:
  reading from socket failed. Error (Transport endpoint is not
  connected), peer ( 135.250.76.70:1001 )
  [2013-01-21 11:30:22.886854] W
  [socket.c:1494:__socket_proto_state_machine] 0-socket.management:
  reading from socket failed. Error (Transport endpoint is not
  connected), peer ( 135.250.76.70:999 )
  [2013-01-21 11:30:25.898840] W
  [socket.c:1494:__socket_proto_state_machine] 0-socket.management:
  reading from socket failed. Error (Transport endpoint is not
  connected), peer ( 135.250.76.70:997 )
  [2013-01-21 11:30:28.91] W
  [socket.c:1494:__socket_proto_state_machine] 0-socket.management:
  reading from socket failed. Error (Transport endpoint is not
  connected), peer ( 135.250.76.70:995 )
  [2013-01-21 11:30:31.922336] W
  [socket.c:1494:__socket_proto_state_machine] 0-socket.management:
  reading from socket failed. Error (Transport endpoint is not
  connected), peer ( 135.250.76.70:993 )
  [2013-01-21 11:30:34.934772] W
  [socket.c:1494:__socket_proto_state_machine] 0-socket.management:
  reading from socket failed. Error (Transport endpoint is not
  connected), peer ( 135.250.76.70:991 )
  [2013-01-21 11:30:37.946215] W
  [socket.c:1494:__socket_proto_state_machine] 0-socket.management:
  reading from socket failed. Error (Transport endpoint is not
  connected), peer ( 135.250.76.70:989 )
  
  
  
  
  Just wanted to know what am I doing wrong here?
  
  
  package details:
  
  
  
  vdsm-python-4.10.0-10.fc17

Re: [Users] Testing gluster in 3.2 nightlies

2013-01-04 Thread Kanagaraj

On Friday 04 January 2013 02:15 PM, noc wrote:

On 4-1-2013 7:03, Kanagaraj wrote:

On Friday 04 January 2013 02:12 AM, Joop wrote:
Just saw the question what route to follow for post 3.2 and picked 
up something that I didn't know about was going to ask if it was 
possible to implement, namely setting permissions on the volume 
folder when creating a gluster volume.
But when trying it out I found a little snag. I installed two hosts 
with a minimal fed17 install, added a couple of repos to enable 
installing the latest nightlies (it needed a later then 0.9 libvirt 
(0.10 from danken) and qemu-kvm and since a couple of days a later 
gluster which outputs in xml (gluster-3.4..)

Steps:
- start with a clean engine-setup
- in the webui, set the cluster to 3.2 and virt+gluster, set the DC 
to 3.2/NFS

- add the two hosts, went OK.
- add a Volume, gluster-data, gets created OK, BUT the Create Volume 
'popup window' never stops spinning its busy cursor :-(
Looking at the logs I see that the volume is created, st01 is used, 
st02 gets the message, creation is returning Succes but it looks 
like the global lock is never released.
We have an issue with locking while creating a volume, fix for this 
is currently under review.

http://gerrit.ovirt.org/10448
I still might have the vdsm logs or else I can replay it to generate 
them, but if it really is this issue then it they might not be needed.

Is the workaround I used a viable one? (restarting ovirt-engine)


We are waiting for the fix to be approved.

I can't think of any workaround for this now. After restarting also you 
will have the same issue while creating the next volume in the cluster. 
Other operations like start/stop/add-bricks will work after the restart.



Joop



___
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] Testing gluster in 3.2 nightlies

2013-01-03 Thread Kanagaraj

On Friday 04 January 2013 02:12 AM, Joop wrote:
Just saw the question what route to follow for post 3.2 and picked up 
something that I didn't know about was going to ask if it was possible 
to implement, namely setting permissions on the volume folder when 
creating a gluster volume.
But when trying it out I found a little snag. I installed two hosts 
with a minimal fed17 install, added a couple of repos to enable 
installing the latest nightlies (it needed a later then 0.9 libvirt 
(0.10 from danken) and qemu-kvm and since a couple of days a later 
gluster which outputs in xml (gluster-3.4..)

Steps:
- start with a clean engine-setup
- in the webui, set the cluster to 3.2 and virt+gluster, set the DC to 
3.2/NFS

- add the two hosts, went OK.
- add a Volume, gluster-data, gets created OK, BUT the Create Volume 
'popup window' never stops spinning its busy cursor :-(
Looking at the logs I see that the volume is created, st01 is used, 
st02 gets the message, creation is returning Succes but it looks like 
the global lock is never released.
We have an issue with locking while creating a volume, fix for this is 
currently under review.

http://gerrit.ovirt.org/10448

At 20:09 I haven't done anything yet and then there is at 20:10 the 
create volume:
[2013-01-03 20:09:58.937041] I 
[glusterd-handler.c:912:glusterd_handle_cli_get_volume] 0-glusterd: 
Received get vol req
[2013-01-03 20:09:58.937949] W [socket.c:501:__socket_rwv] 
0-socket.management: readv failed (No data available)
[2013-01-03 20:10:03.968113] I 
[glusterd-handler.c:912:glusterd_handle_cli_get_volume] 0-glusterd: 
Received get vol req
[2013-01-03 20:10:03.968991] W [socket.c:501:__socket_rwv] 
0-socket.management: readv failed (No data available)
[2013-01-03 20:10:08.733761] I 
[glusterd-volume-ops.c:76:glusterd_handle_create_volume] 0-management: 
Received create volume req
[2013-01-03 20:10:08.739702] I [glusterd-utils.c:275:glusterd_lock] 
0-glusterd: Cluster lock held by 9cbdd346-9296-4f98-bb69-ae226547abea
[2013-01-03 20:10:08.739710] I 
[glusterd-handler.c:474:glusterd_op_txn_begin] 0-management: Acquired 
local lock
[2013-01-03 20:10:08.740435] I 
[glusterd-rpc-ops.c:538:glusterd_cluster_lock_cbk] 0-glusterd: 
Received ACC from uuid: 367dd996-427a-45c4-bc23-73ac3f238367
[2013-01-03 20:10:08.764768] I 
[glusterd-op-sm.c:2583:glusterd_op_ac_send_stage_op] 0-glusterd: Sent 
op req to 1 peers
[2013-01-03 20:10:08.792813] I 
[glusterd-rpc-ops.c:682:glusterd_stage_op_cbk] 0-glusterd: Received 
ACC from uuid: 367dd996-427a-45c4-bc23-73ac3f238367

[2013-01-03 20:10:09.802373] I [glusterd-utils.c:884:glusterd_volume_b

The last line isn't an accident that is how the log ends after more 
then 15min of waiting.


To get any further I can press ESC in the create volume window and 
then I need to restart ovirt-engine and can proceed.


[root@st01 ~]# rpm -aq | grep gluster
glusterfs-fuse-3.4.0qa6-1.el6.x86_64
vdsm-gluster-4.10.3-0.50.gitc6625ce.fc17.noarch
glusterfs-3.4.0qa6-1.el6.x86_64
glusterfs-server-3.4.0qa6-1.el6.x86_64
[root@st01 ~]# rpm -aq | grep vdsm
vdsm-4.10.3-0.50.gitc6625ce.fc17.x86_64
vdsm-xmlrpc-4.10.3-0.50.gitc6625ce.fc17.noarch
vdsm-cli-4.10.3-0.50.gitc6625ce.fc17.noarch
vdsm-gluster-4.10.3-0.50.gitc6625ce.fc17.noarch
vdsm-python-4.10.3-0.50.gitc6625ce.fc17.x86_64
[root@st01 ~]# rpm -aq | grep libvirt
libvirt-daemon-0.10.1-2.fc17.x86_64
libvirt-daemon-driver-interface-0.10.1-2.fc17.x86_64
libvirt-daemon-driver-nwfilter-0.10.1-2.fc17.x86_64
libvirt-daemon-driver-xen-0.10.1-2.fc17.x86_64
libvirt-client-0.10.1-2.fc17.x86_64
libvirt-daemon-driver-network-0.10.1-2.fc17.x86_64
libvirt-daemon-driver-qemu-0.10.1-2.fc17.x86_64
libvirt-daemon-driver-secret-0.10.1-2.fc17.x86_64
libvirt-daemon-driver-nodedev-0.10.1-2.fc17.x86_64
libvirt-daemon-config-network-0.10.1-2.fc17.x86_64
libvirt-daemon-driver-storage-0.10.1-2.fc17.x86_64
libvirt-lock-sanlock-0.10.1-2.fc17.x86_64
libvirt-0.10.1-2.fc17.x86_64
libvirt-python-0.10.1-2.fc17.x86_64
libvirt-daemon-driver-lxc-0.10.1-2.fc17.x86_64
libvirt-daemon-config-nwfilter-0.10.1-2.fc17.x86_64
libvirt-daemon-driver-uml-0.10.1-2.fc17.x86_64
libvirt-daemon-driver-libxl-0.10.1-2.fc17.x86_64



___
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] problem adding a gluster storage domain.

2012-11-29 Thread Kanagaraj Mayilsamy
Have tried mounting the gluster volume? (to make sure problem is not there in 
gluster) Something like 'mount -t glusterfs localhost:/volume /tmp/volume'.

You could execute '/usr/bin/sudo -n /usr/bin/mount -t glusterfs -o vers=3 
localhost:/volume /rhev/data-center/mnt/localhost:_volume' and see what happens.


- Original Message -
From: yoshinobu.ushida yoshinobu.ush...@gmail.com
To: Kanagaraj Mayilsamy kmayi...@redhat.com
Cc: users@ovirt.org
Sent: Thursday, November 29, 2012 8:09:33 PM
Subject: Re: [Users] problem adding a gluster storage domain.

Hi Kanagaraj-san, 


Thank you for your reply. The check list are all okay. Do you have other check 
list? 
I have created another volume. However, result is same. vdsm.log is as follows. 


vdsm.log 

Thread-3849::DEBUG::2012-11-29 07:34:11,810::BindingXMLRPC::156::vds::(wrapper) 
[192.168.77.1] 
Thread-3849::DEBUG::2012-11-29 
07:34:11,811::task::588::TaskManager.Task::(_updateState) 
Task=`e2011748-ff36-4ffe-bb2d-4244ba461f29`::moving from state init - state 
preparing 
Thread-3849::INFO::2012-11-29 07:34:11,811::logUtils::37::dispatcher::(wrapper) 
Run and protect: validateStorageServerConnection(domType=6, 
spUUID='----', conList=[{'port': '', 
'connection': 'localhost:/volume', 'mnt_options': 'vers=3', 'portal': '', 
'user': '', 'iqn': '', 'vfs_type': 'glusterfs', 'password': '**', 'id': 
'----'}], options=None) 
Thread-3849::INFO::2012-11-29 07:34:11,811::logUtils::39::dispatcher::(wrapper) 
Run and protect: validateStorageServerConnection, Return response: 
{'statuslist': [{'status': 0, 'id': '----'}]} 
Thread-3849::DEBUG::2012-11-29 
07:34:11,811::task::1172::TaskManager.Task::(prepare) 
Task=`e2011748-ff36-4ffe-bb2d-4244ba461f29`::finished: {'statuslist': 
[{'status': 0, 'id': '----'}]} 
Thread-3849::DEBUG::2012-11-29 
07:34:11,812::task::588::TaskManager.Task::(_updateState) 
Task=`e2011748-ff36-4ffe-bb2d-4244ba461f29`::moving from state preparing - 
state finished 
Thread-3849::DEBUG::2012-11-29 
07:34:11,812::resourceManager::809::ResourceManager.Owner::(releaseAll) 
Owner.releaseAll requests {} resources {} 
Thread-3849::DEBUG::2012-11-29 
07:34:11,812::resourceManager::844::ResourceManager.Owner::(cancelAll) 
Owner.cancelAll requests {} 
Thread-3849::DEBUG::2012-11-29 
07:34:11,812::task::978::TaskManager.Task::(_decref) 
Task=`e2011748-ff36-4ffe-bb2d-4244ba461f29`::ref 0 aborting False 
Thread-3850::DEBUG::2012-11-29 07:34:11,828::BindingXMLRPC::156::vds::(wrapper) 
[192.168.77.1] 
Thread-3850::DEBUG::2012-11-29 
07:34:11,828::task::588::TaskManager.Task::(_updateState) 
Task=`b21afac6-67df-49f2-9d5e-57888a8471a6`::moving from state init - state 
preparing 
Thread-3850::INFO::2012-11-29 07:34:11,829::logUtils::37::dispatcher::(wrapper) 
Run and protect: connectStorageServer(domType=6, 
spUUID='----', conList=[{'port': '', 
'connection': 'localhost:/volume', 'mnt_options': 'vers=3', 'portal': '', 
'user': '', 'iqn': '', 'vfs_type': 'glusterfs', 'password': '**', 'id': 
'a3675b5e-9433-435f-aecb-d9cad60f6d36'}], options=None) 
Thread-3850::DEBUG::2012-11-29 
07:34:11,840::__init__::1249::Storage.Misc.excCmd::(_log) '/usr/bin/sudo -n 
/usr/bin/mount -t glusterfs -o vers=3 localhost:/volume 
/rhev/data-center/mnt/localhost:_volume' (cwd None) 
Thread-3850::ERROR::2012-11-29 
07:34:11,906::hsm::1932::Storage.HSM::(connectStorageServer) Could not connect 
to storageServer 
Traceback (most recent call last): 
File /usr/share/vdsm/storage/hsm.py, line 1929, in connectStorageServer 
conObj.connect() 
File /usr/share/vdsm/storage/storageServer.py, line 179, in connect 
self._mount.mount(self.options, self._vfsType) 
File /usr/share/vdsm/storage/mount.py, line 190, in mount 
return self._runcmd(cmd, timeout) 
File /usr/share/vdsm/storage/mount.py, line 206, in _runcmd 
raise MountError(rc, ;.join((out, err))) 
MountError: (1, 'unknown option vers (ignored)\nMount failed. Please check the 
log file for more details.\n;ERROR: failed to create logfile 
/var/log/glusterfs/rhev-data-center-mnt-localhost:_volume.log (Permission 
denied)\nERROR: failed to open logfile 
/var/log/glusterfs/rhev-data-center-mnt-localhost:_volume.log\n') 
Thread-3850::DEBUG::2012-11-29 
07:34:11,907::lvm::457::OperationMutex::(_invalidateAllPvs) Operation 'lvm 
invalidate operation' got the operation mutex 
Thread-3850::DEBUG::2012-11-29 
07:34:11,907::lvm::459::OperationMutex::(_invalidateAllPvs) Operation 'lvm 
invalidate operation' released the operation mutex 
Thread-3850::DEBUG::2012-11-29 
07:34:11,907::lvm::469::OperationMutex::(_invalidateAllVgs) Operation 'lvm 
invalidate operation' got the operation mutex 
Thread-3850::DEBUG::2012-11-29 
07:34:11,908::lvm::471::OperationMutex::(_invalidateAllVgs) Operation 'lvm 
invalidate operation' released the operation mutex 
Thread-3850::DEBUG::2012-11-29 
07:34

Re: [Users] problem adding a gluster storage domain.

2012-11-29 Thread Kanagaraj Mayilsamy
I am not sure how you have created a gluster volume with name as 'volume'. In 
gluster you cannot create volume with name 'volume'.
If i try to do that, gluster says 'volume cannot be the name of a volume'.

Can you replace 'volume' with actual volume name while creating storage domain 
and repeat the steps?
something like: 192.168.77.107:/test_vol or localhost:/test_vol

- Original Message -
From: yoshinobu.ushida yoshinobu.ush...@gmail.com
To: Kanagaraj Mayilsamy kmayi...@redhat.com
Cc: users@ovirt.org
Sent: Thursday, November 29, 2012 8:57:12 PM
Subject: Re: [Users] problem adding a gluster storage domain.

Thank you very much. I have executed the mount. Result is below. 



# /usr/bin/sudo -n /usr/bin/mount -t glusterfs -o vers=3 localhost:/volume 
/rhev/data-center/mnt/localhost\:_volume 
unknown option vers (ignored) 


I can mounted when I have created using gluster's command. 



# gluster volume create test_vol replica 2 transport tcp 192.168.77.107:/test 
192.168.77.108:/test 
Creation of volume test_vol has been successful. Please start the volume to 
access data. 

# gluster volume start test_vol 
Starting volume test_vol has been successful 
# mount.glusterfs localhost:/test_vol /mnt 

# df -h | grep test_vol 
localhost:/test_vol 50G 2.2G 45G 5% /mnt 


Regards, 
Ushida 



2012/11/29 Kanagaraj Mayilsamy  kmayi...@redhat.com  


Have tried mounting the gluster volume? (to make sure problem is not there in 
gluster) Something like 'mount -t glusterfs localhost:/volume /tmp/volume'. 

You could execute '/usr/bin/sudo -n /usr/bin/mount -t glusterfs -o vers=3 
localhost:/volume /rhev/data-center/mnt/localhost:_volume' and see what 
happens. 



- Original Message - 
From: yoshinobu.ushida  yoshinobu.ush...@gmail.com  


To: Kanagaraj Mayilsamy  kmayi...@redhat.com  
Cc: users@ovirt.org 
Sent: Thursday, November 29, 2012 8:09:33 PM 
Subject: Re: [Users] problem adding a gluster storage domain. 

Hi Kanagaraj-san, 


Thank you for your reply. The check list are all okay. Do you have other check 
list? 
I have created another volume. However, result is same. vdsm.log is as follows. 


vdsm.log 

Thread-3849::DEBUG::2012-11-29 07:34:11,810::BindingXMLRPC::156::vds::(wrapper) 
[192.168.77.1] 
Thread-3849::DEBUG::2012-11-29 
07:34:11,811::task::588::TaskManager.Task::(_updateState) 
Task=`e2011748-ff36-4ffe-bb2d-4244ba461f29`::moving from state init - state 
preparing 
Thread-3849::INFO::2012-11-29 07:34:11,811::logUtils::37::dispatcher::(wrapper) 
Run and protect: validateStorageServerConnection(domType=6, 
spUUID='----', conList=[{'port': '', 
'connection': 'localhost:/volume', 'mnt_options': 'vers=3', 'portal': '', 
'user': '', 'iqn': '', 'vfs_type': 'glusterfs', 'password': '**', 'id': 
'----'}], options=None) 
Thread-3849::INFO::2012-11-29 07:34:11,811::logUtils::39::dispatcher::(wrapper) 
Run and protect: validateStorageServerConnection, Return response: 
{'statuslist': [{'status': 0, 'id': '----'}]} 
Thread-3849::DEBUG::2012-11-29 
07:34:11,811::task::1172::TaskManager.Task::(prepare) 
Task=`e2011748-ff36-4ffe-bb2d-4244ba461f29`::finished: {'statuslist': 
[{'status': 0, 'id': '----'}]} 
Thread-3849::DEBUG::2012-11-29 
07:34:11,812::task::588::TaskManager.Task::(_updateState) 
Task=`e2011748-ff36-4ffe-bb2d-4244ba461f29`::moving from state preparing - 
state finished 
Thread-3849::DEBUG::2012-11-29 
07:34:11,812::resourceManager::809::ResourceManager.Owner::(releaseAll) 
Owner.releaseAll requests {} resources {} 
Thread-3849::DEBUG::2012-11-29 
07:34:11,812::resourceManager::844::ResourceManager.Owner::(cancelAll) 
Owner.cancelAll requests {} 
Thread-3849::DEBUG::2012-11-29 
07:34:11,812::task::978::TaskManager.Task::(_decref) 
Task=`e2011748-ff36-4ffe-bb2d-4244ba461f29`::ref 0 aborting False 
Thread-3850::DEBUG::2012-11-29 07:34:11,828::BindingXMLRPC::156::vds::(wrapper) 
[192.168.77.1] 
Thread-3850::DEBUG::2012-11-29 
07:34:11,828::task::588::TaskManager.Task::(_updateState) 
Task=`b21afac6-67df-49f2-9d5e-57888a8471a6`::moving from state init - state 
preparing 
Thread-3850::INFO::2012-11-29 07:34:11,829::logUtils::37::dispatcher::(wrapper) 
Run and protect: connectStorageServer(domType=6, 
spUUID='----', conList=[{'port': '', 
'connection': 'localhost:/volume', 'mnt_options': 'vers=3', 'portal': '', 
'user': '', 'iqn': '', 'vfs_type': 'glusterfs', 'password': '**', 'id': 
'a3675b5e-9433-435f-aecb-d9cad60f6d36'}], options=None) 
Thread-3850::DEBUG::2012-11-29 
07:34:11,840::__init__::1249::Storage.Misc.excCmd::(_log) '/usr/bin/sudo -n 
/usr/bin/mount -t glusterfs -o vers=3 localhost:/volume 
/rhev/data-center/mnt/localhost:_volume' (cwd None) 
Thread-3850::ERROR::2012-11-29 
07:34:11,906::hsm::1932::Storage.HSM::(connectStorageServer) Could not connect 
to storageServer 
Traceback (most recent call last): 
File

Re: [Users] Speakers Needed: Upcoming Workshops

2012-09-05 Thread Kanagaraj

Hi All,

 I would like to give a session on Overview of Webadmin and UI 
frameworks in Bangalore oVirt Workshop. I will be starting with an 
introduction about the frameworks GWT, GWTP, GIN and MVP. And will be 
explaining about different modules, layers, communication between 
frontend and backend, techniques behind the search and auto-completion, 
bookmarks. Finally about the different modes supported by oVirt and.


 About myself, i am part of Storage Development team in Bangalore, and 
currently working on the Gluster related features in oVirt. I am taking 
care of all the gluster related UI works. Sometimes I do work on backend 
and rest-api as well. I have around 2.5 years of experience in 
developing web based management tools and UI frameworks.


Regards
Kanagaraj M

On Thursday 09 August 2012 03:19 AM, Leslie Hawthorn wrote:

Hello everyone,

First of all, congratulations to the team on today's release of oVirt 
3.1!


As mentioned in today's weekly status IRC meeting, we would like to 
ensure we have broad community participation in upcoming workshops. 
[0] For KVM Forum + oVirt in Barcelona [1], a general call for papers 
will be issued within the next few days. I will send a note to these 
lists when details of the CFP have been announced.


For the oVirt workshop to be hosted at Red Hat's Bangalore campus on 
16 October 2012, it would be wonderful if folks would propose sessions 
for this workshop. (We have chosen not to go through a formal CFP 
process for Bangalore so as to leave sufficient time for the KVM Forum 
+ oVirt CFP process to run most smoothly.) If you would like to 
propose a session for oVirt Bangalore, please email me and I follow up 
with you.


As usual, any questions, please let me know.

[0] - http://wiki.ovirt.org/wiki/OVirt_Global_Workshops
[1] - http://events.linuxfoundation.org/events/kvm-forum/

Cheers,
LH



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