Re: [Gluster-devel] [Gluster-users] Duplicate UUID entries in "gluster peer status" command

2016-11-20 Thread ABHISHEK PALIWAL
Hi Atin,

I will be waiting for your response.

On Mon, Nov 21, 2016 at 10:00 AM, ABHISHEK PALIWAL 
wrote:

> Hi Atin,
>
> System is the embedded system and these dates are before the system get in
> timer sync.
>
> Yes, I have also seen these two files in peers directory on 002500 board
> and I want to know the reason why gluster creates the second file when
> there is old file is exist. Even when you see the content of the these file
> are same.
>
> Is it possible for gluster if we fall in this situation then instead of
> manually doing the steps which you mentioned above gluster will take care
> of this?
>
> I have some questions:
>
> 1. based on the logs can we find out the reason for having two peers files
> with same contents.
> 2. is there any way to do it from gluster code.
>
> Regards,
> Abhishek
>
> Regards,
> Abhishek
>
> On Mon, Nov 21, 2016 at 9:52 AM, Atin Mukherjee 
> wrote:
>
>> atin@dhcp35-96:~/Downloads/gluster_users/abhishek_dup_uuid/
>> duplicate_uuid/glusterd_2500/peers$ ls -lrt
>> total 8
>> -rw---. 1 atin wheel 71 *Jan  1  1970* 5be8603b-18d0-4333-8590-38f918
>> a22857
>> -rw---. 1 atin wheel 71 Nov 18 03:31 26ae19a6-b58f-446a-b079-411d4e
>> e57450
>>
>> In board 2500 look at the date of the file 
>> 5be8603b-18d0-4333-8590-38f918a22857
>> (marked in bold). Not sure how did you end up having this file in such time
>> stamp. I am guessing this could be because of the set up been not cleaned
>> properly at the time of re-installation.
>>
>> Here is the steps what I'd recommend for now:
>>
>> 1. rename 26ae19a6-b58f-446a-b079-411d4ee57450 to
>> 5be8603b-18d0-4333-8590-38f918a22857, you should have only one entry in
>> the peers folder in board 2500.
>> 2. Bring down both glusterd instances
>> 3. Bring back one by one
>>
>> And then restart glusterd to see if the issue persists.
>>
>>
>>
>> On Mon, Nov 21, 2016 at 9:34 AM, ABHISHEK PALIWAL <
>> abhishpali...@gmail.com> wrote:
>>
>>> Hope you will see in the logs..
>>>
>>> On Mon, Nov 21, 2016 at 9:17 AM, ABHISHEK PALIWAL <
>>> abhishpali...@gmail.com> wrote:
>>>
 Hi Atin,

 It is not getting wipe off we have changed the configuration path from
 /var/lib/glusterd to /system/glusterd.

 So, they will remain as same as previous.

 On Mon, Nov 21, 2016 at 9:15 AM, Atin Mukherjee 
 wrote:

> Abhishek,
>
> rebooting the board does wipe of /var/lib/glusterd contents in your
> set up right (as per my earlier conversation with you) ? In that case, how
> are you ensuring that the same node gets back the older UUID? If you don't
> then this is bound to happen.
>
> On Mon, Nov 21, 2016 at 9:11 AM, ABHISHEK PALIWAL <
> abhishpali...@gmail.com> wrote:
>
>> Hi Team,
>>
>> Please lookinto this problem as this is very widely seen problem in
>> our system.
>>
>> We are having the setup of replicate volume setup with two brick but
>> after restarting the second board I am getting the duplicate entry in
>> "gluster peer status" command like below:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *# gluster peer status Number of Peers: 2  Hostname: 10.32.0.48 Uuid:
>> 5be8603b-18d0-4333-8590-38f918a22857 State: Peer in Cluster (Connected)
>>  Hostname: 10.32.0.48 Uuid: 5be8603b-18d0-4333-8590-38f918a22857 State:
>> Peer in Cluster (Connected) # *
>>
>> I am attaching all logs from both the boards and the command outputs
>> as well.
>>
>> So could you please check what is the reason to get in this situation
>> as it is very frequent in multiple case.
>>
>> Also, we are not replacing any board from setup just rebooting.
>>
>> --
>>
>> Regards
>> Abhishek Paliwal
>>
>> ___
>> Gluster-users mailing list
>> gluster-us...@gluster.org
>> http://www.gluster.org/mailman/listinfo/gluster-users
>>
>
>
>
> --
>
> ~ Atin (atinm)
>



 --




 Regards
 Abhishek Paliwal

>>>
>>>
>>>
>>> --
>>>
>>>
>>>
>>>
>>> Regards
>>> Abhishek Paliwal
>>>
>>
>>
>>
>> --
>>
>> ~ Atin (atinm)
>>
>
>
>
> --
>
>
>
>
> Regards
> Abhishek Paliwal
>



-- 




Regards
Abhishek Paliwal
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel

Re: [Gluster-devel] Dht crash in regression

2016-11-20 Thread Nithya Balachandran
Looks like a tier test.

Milind,
Can you take a look at this?

Thanks,
Nithya

On 21 November 2016 at 10:26, Poornima Gurusiddaiah 
wrote:

> Hi,
>
> I see that dht (rebalance?) has generated core during regression run on
> 3.7 branch, please take a look.
> https://build.gluster.org/job/centos6-regression/1632/consoleFull
>
> Regards,
> Poornima
>
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel

[Gluster-devel] Dht crash in regression

2016-11-20 Thread Poornima Gurusiddaiah
Hi, 

I see that dht (rebalance?) has generated core during regression run on 3.7 
branch, please take a look. 
https://build.gluster.org/job/centos6-regression/1632/consoleFull 

Regards, 
Poornima 
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel

Re: [Gluster-devel] [Gluster-users] Duplicate UUID entries in "gluster peer status" command

2016-11-20 Thread ABHISHEK PALIWAL
Hi Atin,

System is the embedded system and these dates are before the system get in
timer sync.

Yes, I have also seen these two files in peers directory on 002500 board
and I want to know the reason why gluster creates the second file when
there is old file is exist. Even when you see the content of the these file
are same.

Is it possible for gluster if we fall in this situation then instead of
manually doing the steps which you mentioned above gluster will take care
of this?

I have some questions:

1. based on the logs can we find out the reason for having two peers files
with same contents.
2. is there any way to do it from gluster code.

Regards,
Abhishek

Regards,
Abhishek

On Mon, Nov 21, 2016 at 9:52 AM, Atin Mukherjee  wrote:

> atin@dhcp35-96:~/Downloads/gluster_users/abhishek_dup_
> uuid/duplicate_uuid/glusterd_2500/peers$ ls -lrt
> total 8
> -rw---. 1 atin wheel 71 *Jan  1  1970* 5be8603b-18d0-4333-8590-
> 38f918a22857
> -rw---. 1 atin wheel 71 Nov 18 03:31 26ae19a6-b58f-446a-b079-
> 411d4ee57450
>
> In board 2500 look at the date of the file 
> 5be8603b-18d0-4333-8590-38f918a22857
> (marked in bold). Not sure how did you end up having this file in such time
> stamp. I am guessing this could be because of the set up been not cleaned
> properly at the time of re-installation.
>
> Here is the steps what I'd recommend for now:
>
> 1. rename 26ae19a6-b58f-446a-b079-411d4ee57450 to 
> 5be8603b-18d0-4333-8590-38f918a22857,
> you should have only one entry in the peers folder in board 2500.
> 2. Bring down both glusterd instances
> 3. Bring back one by one
>
> And then restart glusterd to see if the issue persists.
>
>
>
> On Mon, Nov 21, 2016 at 9:34 AM, ABHISHEK PALIWAL  > wrote:
>
>> Hope you will see in the logs..
>>
>> On Mon, Nov 21, 2016 at 9:17 AM, ABHISHEK PALIWAL <
>> abhishpali...@gmail.com> wrote:
>>
>>> Hi Atin,
>>>
>>> It is not getting wipe off we have changed the configuration path from
>>> /var/lib/glusterd to /system/glusterd.
>>>
>>> So, they will remain as same as previous.
>>>
>>> On Mon, Nov 21, 2016 at 9:15 AM, Atin Mukherjee 
>>> wrote:
>>>
 Abhishek,

 rebooting the board does wipe of /var/lib/glusterd contents in your set
 up right (as per my earlier conversation with you) ? In that case, how are
 you ensuring that the same node gets back the older UUID? If you don't then
 this is bound to happen.

 On Mon, Nov 21, 2016 at 9:11 AM, ABHISHEK PALIWAL <
 abhishpali...@gmail.com> wrote:

> Hi Team,
>
> Please lookinto this problem as this is very widely seen problem in
> our system.
>
> We are having the setup of replicate volume setup with two brick but
> after restarting the second board I am getting the duplicate entry in
> "gluster peer status" command like below:
>
>
>
>
>
>
>
>
>
>
>
> *# gluster peer status Number of Peers: 2  Hostname: 10.32.0.48 Uuid:
> 5be8603b-18d0-4333-8590-38f918a22857 State: Peer in Cluster (Connected)
>  Hostname: 10.32.0.48 Uuid: 5be8603b-18d0-4333-8590-38f918a22857 State:
> Peer in Cluster (Connected) # *
>
> I am attaching all logs from both the boards and the command outputs
> as well.
>
> So could you please check what is the reason to get in this situation
> as it is very frequent in multiple case.
>
> Also, we are not replacing any board from setup just rebooting.
>
> --
>
> Regards
> Abhishek Paliwal
>
> ___
> Gluster-users mailing list
> gluster-us...@gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-users
>



 --

 ~ Atin (atinm)

>>>
>>>
>>>
>>> --
>>>
>>>
>>>
>>>
>>> Regards
>>> Abhishek Paliwal
>>>
>>
>>
>>
>> --
>>
>>
>>
>>
>> Regards
>> Abhishek Paliwal
>>
>
>
>
> --
>
> ~ Atin (atinm)
>



-- 




Regards
Abhishek Paliwal
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel

Re: [Gluster-devel] [Gluster-users] Duplicate UUID entries in "gluster peer status" command

2016-11-20 Thread Atin Mukherjee
atin@dhcp35-96:~/Downloads/gluster_users/abhishek_dup_uuid/duplicate_uuid/glusterd_2500/peers$
ls -lrt
total 8
-rw---. 1 atin wheel 71 *Jan  1  1970*
5be8603b-18d0-4333-8590-38f918a22857
-rw---. 1 atin wheel 71 Nov 18 03:31
26ae19a6-b58f-446a-b079-411d4ee57450

In board 2500 look at the date of the file
5be8603b-18d0-4333-8590-38f918a22857 (marked in bold). Not sure how did you
end up having this file in such time stamp. I am guessing this could be
because of the set up been not cleaned properly at the time of
re-installation.

Here is the steps what I'd recommend for now:

1. rename 26ae19a6-b58f-446a-b079-411d4ee57450 to
5be8603b-18d0-4333-8590-38f918a22857, you should have only one entry in the
peers folder in board 2500.
2. Bring down both glusterd instances
3. Bring back one by one

And then restart glusterd to see if the issue persists.



On Mon, Nov 21, 2016 at 9:34 AM, ABHISHEK PALIWAL 
wrote:

> Hope you will see in the logs..
>
> On Mon, Nov 21, 2016 at 9:17 AM, ABHISHEK PALIWAL  > wrote:
>
>> Hi Atin,
>>
>> It is not getting wipe off we have changed the configuration path from
>> /var/lib/glusterd to /system/glusterd.
>>
>> So, they will remain as same as previous.
>>
>> On Mon, Nov 21, 2016 at 9:15 AM, Atin Mukherjee 
>> wrote:
>>
>>> Abhishek,
>>>
>>> rebooting the board does wipe of /var/lib/glusterd contents in your set
>>> up right (as per my earlier conversation with you) ? In that case, how are
>>> you ensuring that the same node gets back the older UUID? If you don't then
>>> this is bound to happen.
>>>
>>> On Mon, Nov 21, 2016 at 9:11 AM, ABHISHEK PALIWAL <
>>> abhishpali...@gmail.com> wrote:
>>>
 Hi Team,

 Please lookinto this problem as this is very widely seen problem in our
 system.

 We are having the setup of replicate volume setup with two brick but
 after restarting the second board I am getting the duplicate entry in
 "gluster peer status" command like below:











 *# gluster peer status Number of Peers: 2  Hostname: 10.32.0.48 Uuid:
 5be8603b-18d0-4333-8590-38f918a22857 State: Peer in Cluster (Connected)
  Hostname: 10.32.0.48 Uuid: 5be8603b-18d0-4333-8590-38f918a22857 State:
 Peer in Cluster (Connected) # *

 I am attaching all logs from both the boards and the command outputs as
 well.

 So could you please check what is the reason to get in this situation
 as it is very frequent in multiple case.

 Also, we are not replacing any board from setup just rebooting.

 --

 Regards
 Abhishek Paliwal

 ___
 Gluster-users mailing list
 gluster-us...@gluster.org
 http://www.gluster.org/mailman/listinfo/gluster-users

>>>
>>>
>>>
>>> --
>>>
>>> ~ Atin (atinm)
>>>
>>
>>
>>
>> --
>>
>>
>>
>>
>> Regards
>> Abhishek Paliwal
>>
>
>
>
> --
>
>
>
>
> Regards
> Abhishek Paliwal
>



-- 

~ Atin (atinm)
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel

Re: [Gluster-devel] [Gluster-users] Duplicate UUID entries in "gluster peer status" command

2016-11-20 Thread ABHISHEK PALIWAL
Hope you will see in the logs..

On Mon, Nov 21, 2016 at 9:17 AM, ABHISHEK PALIWAL 
wrote:

> Hi Atin,
>
> It is not getting wipe off we have changed the configuration path from
> /var/lib/glusterd to /system/glusterd.
>
> So, they will remain as same as previous.
>
> On Mon, Nov 21, 2016 at 9:15 AM, Atin Mukherjee 
> wrote:
>
>> Abhishek,
>>
>> rebooting the board does wipe of /var/lib/glusterd contents in your set
>> up right (as per my earlier conversation with you) ? In that case, how are
>> you ensuring that the same node gets back the older UUID? If you don't then
>> this is bound to happen.
>>
>> On Mon, Nov 21, 2016 at 9:11 AM, ABHISHEK PALIWAL <
>> abhishpali...@gmail.com> wrote:
>>
>>> Hi Team,
>>>
>>> Please lookinto this problem as this is very widely seen problem in our
>>> system.
>>>
>>> We are having the setup of replicate volume setup with two brick but
>>> after restarting the second board I am getting the duplicate entry in
>>> "gluster peer status" command like below:
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *# gluster peer status Number of Peers: 2  Hostname: 10.32.0.48 Uuid:
>>> 5be8603b-18d0-4333-8590-38f918a22857 State: Peer in Cluster (Connected)
>>>  Hostname: 10.32.0.48 Uuid: 5be8603b-18d0-4333-8590-38f918a22857 State:
>>> Peer in Cluster (Connected) # *
>>>
>>> I am attaching all logs from both the boards and the command outputs as
>>> well.
>>>
>>> So could you please check what is the reason to get in this situation as
>>> it is very frequent in multiple case.
>>>
>>> Also, we are not replacing any board from setup just rebooting.
>>>
>>> --
>>>
>>> Regards
>>> Abhishek Paliwal
>>>
>>> ___
>>> Gluster-users mailing list
>>> gluster-us...@gluster.org
>>> http://www.gluster.org/mailman/listinfo/gluster-users
>>>
>>
>>
>>
>> --
>>
>> ~ Atin (atinm)
>>
>
>
>
> --
>
>
>
>
> Regards
> Abhishek Paliwal
>



-- 




Regards
Abhishek Paliwal
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel

Re: [Gluster-devel] [Gluster-users] Duplicate UUID entries in "gluster peer status" command

2016-11-20 Thread ABHISHEK PALIWAL
Hi Atin,

It is not getting wipe off we have changed the configuration path from
/var/lib/glusterd to /system/glusterd.

So, they will remain as same as previous.

On Mon, Nov 21, 2016 at 9:15 AM, Atin Mukherjee  wrote:

> Abhishek,
>
> rebooting the board does wipe of /var/lib/glusterd contents in your set up
> right (as per my earlier conversation with you) ? In that case, how are you
> ensuring that the same node gets back the older UUID? If you don't then
> this is bound to happen.
>
> On Mon, Nov 21, 2016 at 9:11 AM, ABHISHEK PALIWAL  > wrote:
>
>> Hi Team,
>>
>> Please lookinto this problem as this is very widely seen problem in our
>> system.
>>
>> We are having the setup of replicate volume setup with two brick but
>> after restarting the second board I am getting the duplicate entry in
>> "gluster peer status" command like below:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *# gluster peer status Number of Peers: 2  Hostname: 10.32.0.48 Uuid:
>> 5be8603b-18d0-4333-8590-38f918a22857 State: Peer in Cluster (Connected)
>>  Hostname: 10.32.0.48 Uuid: 5be8603b-18d0-4333-8590-38f918a22857 State:
>> Peer in Cluster (Connected) # *
>>
>> I am attaching all logs from both the boards and the command outputs as
>> well.
>>
>> So could you please check what is the reason to get in this situation as
>> it is very frequent in multiple case.
>>
>> Also, we are not replacing any board from setup just rebooting.
>>
>> --
>>
>> Regards
>> Abhishek Paliwal
>>
>> ___
>> Gluster-users mailing list
>> gluster-us...@gluster.org
>> http://www.gluster.org/mailman/listinfo/gluster-users
>>
>
>
>
> --
>
> ~ Atin (atinm)
>



-- 




Regards
Abhishek Paliwal
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel

Re: [Gluster-devel] [Gluster-users] Duplicate UUID entries in "gluster peer status" command

2016-11-20 Thread Atin Mukherjee
Abhishek,

rebooting the board does wipe of /var/lib/glusterd contents in your set up
right (as per my earlier conversation with you) ? In that case, how are you
ensuring that the same node gets back the older UUID? If you don't then
this is bound to happen.

On Mon, Nov 21, 2016 at 9:11 AM, ABHISHEK PALIWAL 
wrote:

> Hi Team,
>
> Please lookinto this problem as this is very widely seen problem in our
> system.
>
> We are having the setup of replicate volume setup with two brick but after
> restarting the second board I am getting the duplicate entry in "gluster
> peer status" command like below:
>
>
>
>
>
>
>
>
>
>
>
> *# gluster peer status Number of Peers: 2  Hostname: 10.32.0.48 Uuid:
> 5be8603b-18d0-4333-8590-38f918a22857 State: Peer in Cluster (Connected)
>  Hostname: 10.32.0.48 Uuid: 5be8603b-18d0-4333-8590-38f918a22857 State:
> Peer in Cluster (Connected) # *
>
> I am attaching all logs from both the boards and the command outputs as
> well.
>
> So could you please check what is the reason to get in this situation as
> it is very frequent in multiple case.
>
> Also, we are not replacing any board from setup just rebooting.
>
> --
>
> Regards
> Abhishek Paliwal
>
> ___
> Gluster-users mailing list
> gluster-us...@gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-users
>



-- 

~ Atin (atinm)
___
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel