Re: [Gluster-users] An Update on GlusterD-2.0

2016-09-30 Thread Vijay Bellur

On 09/29/2016 12:48 AM, Kaushal M wrote:

On Thu, Sep 29, 2016 at 10:10 AM, Vijay Bellur  wrote:

On 09/22/2016 07:28 AM, Kaushal M wrote:


The first preview/dev release of GlusterD-2.0 is available now. A
prebuilt binary is available for download from the release-page[1].

This is just a preview of what has been happening in GD2, to give
users a taste of how GD2 is evolving.

GD2 can now form a cluster, list peers, create/delete,(psuedo)
start/stop and list volumes. Most of these will undergo changes and
refined as we progress.

More information on how to test this release can be found on the release
page.

We'll providing periodic (hopefully fortnightly) updates on the
changes happening in GD2 from now on.




Thank you for posting this, Kaushal!

I was trying to add a peer using the gluster/gluster-centos docker
containers and I encountered the following error:

INFO[17533] New member added to the cluster   New member
=ETCD_172.17.0.3 member Id =b197797611650d60
INFO[17533] ETCD_NAME ETCD_NAME=ETCD_172.17.0.3
INFO[17533] ETCD_INITIAL_CLUSTER
ETCD_INITIAL_CLUSTER=default=http://172.17.0.4:2380,ETCD_172.17.0.3=http://172.17.0.3:2380
INFO[17533] ETCD_INITIAL_CLUSTER_STATE"existing"
ERRO[17540] Failed to add peer into the etcd storeerror=client: etcd
cluster is unavailable or misconfigured peer/node=172.17.0.3
ERRO[21635] Failed to add member into etcd clustererror=client: etcd
cluster is unavailable or misconfigured member=172.17.0.3


These 2 errors are from etcd-client, which mean that the GD2 cannot
connect to the etcd server.
As the errors indicate, it could be because the etcd daemon isn't
running successfully,
or because etcd hasn't successfully connected to its cluster. There
could be more information in the etcd log under
`GD2WORKDIR/log/etcd.log`.



From etcd.log:

2016-09-29 04:53:45.379924 W | etcdserver: cannot get the version of 
member b197797611650d60 (Get http://172.17.0.3:2380/version: dial tcp 
172.17.0.3:2380: getsockopt: connection refused)
2016-09-29 04:53:49.380374 W | etcdserver: failed to reach the 
peerURL(http://172.17.0.3:2380) of member b197797611650d60 (Get 
http://172.17.0.3:2380/version: dial tcp 172.17.0.3:2380: getsockopt: 
connection refused)


It does look like a firewall issue. I will resolve that and check.

Thanks,
Vijay


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


Re: [Gluster-users] An Update on GlusterD-2.0

2016-09-30 Thread Kaushal M
On Thu, Sep 29, 2016 at 10:10 AM, Vijay Bellur  wrote:
> On 09/22/2016 07:28 AM, Kaushal M wrote:
>>
>> The first preview/dev release of GlusterD-2.0 is available now. A
>> prebuilt binary is available for download from the release-page[1].
>>
>> This is just a preview of what has been happening in GD2, to give
>> users a taste of how GD2 is evolving.
>>
>> GD2 can now form a cluster, list peers, create/delete,(psuedo)
>> start/stop and list volumes. Most of these will undergo changes and
>> refined as we progress.
>>
>> More information on how to test this release can be found on the release
>> page.
>>
>> We'll providing periodic (hopefully fortnightly) updates on the
>> changes happening in GD2 from now on.
>>
>
>
> Thank you for posting this, Kaushal!
>
> I was trying to add a peer using the gluster/gluster-centos docker
> containers and I encountered the following error:
>
> INFO[17533] New member added to the cluster   New member
> =ETCD_172.17.0.3 member Id =b197797611650d60
> INFO[17533] ETCD_NAME ETCD_NAME=ETCD_172.17.0.3
> INFO[17533] ETCD_INITIAL_CLUSTER
> ETCD_INITIAL_CLUSTER=default=http://172.17.0.4:2380,ETCD_172.17.0.3=http://172.17.0.3:2380
> INFO[17533] ETCD_INITIAL_CLUSTER_STATE"existing"
> ERRO[17540] Failed to add peer into the etcd storeerror=client: etcd
> cluster is unavailable or misconfigured peer/node=172.17.0.3
> ERRO[21635] Failed to add member into etcd clustererror=client: etcd
> cluster is unavailable or misconfigured member=172.17.0.3

These 2 errors are from etcd-client, which mean that the GD2 cannot
connect to the etcd server.
As the errors indicate, it could be because the etcd daemon isn't
running successfully,
or because etcd hasn't successfully connected to its cluster. There
could be more information in the etcd log under
`GD2WORKDIR/log/etcd.log`.

I've faced this issue intermittently, but I've never bothered checking
what caused it yet. I just nuke everything and start again.

>
> What should be done to overcome this error?
>
> Also noticed that there is a minor change in the actual response to /version
> when compared with what is documented in the API guide. We would need to
> change that.

Will do it. The whole ReST document is in need of a recheck.

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


Re: [Gluster-users] An Update on GlusterD-2.0

2016-09-30 Thread Vijay Bellur

On 09/22/2016 07:28 AM, Kaushal M wrote:

The first preview/dev release of GlusterD-2.0 is available now. A
prebuilt binary is available for download from the release-page[1].

This is just a preview of what has been happening in GD2, to give
users a taste of how GD2 is evolving.

GD2 can now form a cluster, list peers, create/delete,(psuedo)
start/stop and list volumes. Most of these will undergo changes and
refined as we progress.

More information on how to test this release can be found on the release page.

We'll providing periodic (hopefully fortnightly) updates on the
changes happening in GD2 from now on.




Thank you for posting this, Kaushal!

I was trying to add a peer using the gluster/gluster-centos docker 
containers and I encountered the following error:


INFO[17533] New member added to the cluster   New member 
=ETCD_172.17.0.3 member Id =b197797611650d60
INFO[17533] ETCD_NAME 
ETCD_NAME=ETCD_172.17.0.3
INFO[17533] ETCD_INITIAL_CLUSTER 
ETCD_INITIAL_CLUSTER=default=http://172.17.0.4:2380,ETCD_172.17.0.3=http://172.17.0.3:2380

INFO[17533] ETCD_INITIAL_CLUSTER_STATE"existing"
ERRO[17540] Failed to add peer into the etcd storeerror=client: 
etcd cluster is unavailable or misconfigured peer/node=172.17.0.3
ERRO[21635] Failed to add member into etcd clustererror=client: 
etcd cluster is unavailable or misconfigured member=172.17.0.3


What should be done to overcome this error?

Also noticed that there is a minor change in the actual response to 
/version when compared with what is documented in the API guide. We 
would need to change that.


-Vijay

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


[Gluster-users] An Update on GlusterD-2.0

2016-09-22 Thread Kaushal M
The first preview/dev release of GlusterD-2.0 is available now. A
prebuilt binary is available for download from the release-page[1].

This is just a preview of what has been happening in GD2, to give
users a taste of how GD2 is evolving.

GD2 can now form a cluster, list peers, create/delete,(psuedo)
start/stop and list volumes. Most of these will undergo changes and
refined as we progress.

More information on how to test this release can be found on the release page.

We'll providing periodic (hopefully fortnightly) updates on the
changes happening in GD2 from now on.

We'll also be providing periodic dev builds for people to test.
Currently builds are only available for Linux on amd64. Vagrant and
docker releases are planned to make it easier to test GD2.

Thanks,
Kaushal


[1] https://github.com/gluster/glusterd2/releases/tag/v4.0dev-1
___
Gluster-users mailing list
Gluster-users@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-users