2009-04-06 23:25:12 +04:00
aclocal.m4
autom4te.cache
build
config.*
configure
2015-03-30 10:02:27 +03:00
cscope.*
2016-06-27 02:56:58 +03:00
tags
2009-04-06 23:25:12 +04:00
depcomp
2016-05-23 12:06:38 +03:00
INSTALL
2009-04-06 23:25:12 +04:00
install-sh
ltmain.sh
2015-03-30 10:19:13 +03:00
Makefile
2009-04-06 23:25:12 +04:00
Makefile.in
missing
2015-03-30 10:19:13 +03:00
stamp-h1
2017-07-26 14:17:16 +03:00
stamp-h2
2014-06-30 05:56:44 +04:00
test-driver
2014-04-18 02:54:34 +04:00
*compile
2014-02-20 22:50:19 +04:00
*.gcda
*.gcno
2009-04-06 23:25:12 +04:00
*.sw?
*~
2012-11-16 02:36:13 +04:00
*.lo
*.la
*.o
2013-01-30 20:29:54 +04:00
*.tar.gz
*.rpm
2014-03-27 03:55:12 +04:00
*.diff
*.patch
2009-10-06 10:36:31 +04:00
.libs
2013-01-30 20:29:54 +04:00
.deps
2015-03-30 10:19:13 +03:00
2014-04-18 02:54:34 +04:00
# Softlinks to test and log
log
*.vol
2018-08-22 10:01:48 +03:00
.clang-format
2009-10-06 10:36:31 +04:00
2015-03-04 18:22:39 +03:00
# cmocka unit tests
*.log
*.trs
*_unittest
2009-10-06 10:36:31 +04:00
# Generated files
2017-07-12 10:14:45 +03:00
site.h
2014-07-15 15:30:09 +04:00
*.py[co]
2014-03-22 00:13:16 +04:00
api/examples/__init__.py
2013-09-30 11:05:14 +04:00
api/examples/setup.py
2015-03-04 18:22:39 +03:00
api/src/gfapi.map
cli/src/gluster
contrib/fuse-util/fusermount-glusterfs
extras/geo-rep/gsync-sync-gfid
2016-04-29 10:33:40 +03:00
extras/geo-rep/schedule_georep.py
2016-08-26 11:35:07 +03:00
extras/snap_scheduler/conf.py
2013-01-30 20:29:54 +04:00
extras/init.d/glusterd-Debian
2015-03-04 18:22:39 +03:00
extras/init.d/glusterd-FreeBSD
2013-01-30 20:29:54 +04:00
extras/init.d/glusterd-Redhat
extras/init.d/glusterd-SuSE
2013-09-30 11:05:14 +04:00
extras/init.d/glusterd.plist
2013-01-30 20:29:54 +04:00
extras/ocf/glusterd
extras/ocf/volume
2015-03-04 18:22:39 +03:00
extras/run-gluster.tmpfiles
extras/systemd/glusterd.service
2017-07-12 10:14:45 +03:00
extras/systemd/glusterfssharedstorage.service
2013-09-30 11:05:14 +04:00
extras/who-wrote-glusterfs/gitdm
2015-03-04 18:22:39 +03:00
geo-replication/.tox
2017-06-21 10:26:14 +03:00
geo-replication/gsyncd.conf
2015-03-04 18:22:39 +03:00
geo-replication/src/gsyncd
geo-replication/src/peer_gsec_create
geo-rep: mountbroker user management
Non root geo-replication setup is now simplified. This
patch provides cli for mountbroker user and options management
To set Options,
gluster system:: execute mountbroker opt <KEY> <VALUE>
# for example,
gluster system:: execute mountbroker opt mountbroker-root /var/mountbroker-root
gluster system:: execute mountbroker opt geo-replication-log-group geogroup
gluster system:: execute mountbroker opt rpc-auth-allow-insecure on
To remove option,
gluster system:: execute mountbroker optdel <KEY>
# for example,
gluster system:: execute mountbroker optdel geo-replication-log-group
To add/edit user,
gluster system:: execute mountbroker user <USERNAME> <VOLUMES>
# for example
gluster system:: execute mountbroker user geoaccount slavevol1,slavevol2
To remove user,
gluster system:: execute mountbroker userdel <USERNAME>
# for example
gluster system:: execute mountbroker userdel geoaccount
For info,
gluster system:: execute mountbroker info
gluster system:: execute mountbroker -j info
For JSON output add -j after mountbroker, for example,
gluster system:: execute mountbroker -j user geoaccount slavevol1,slavevol2
PS: Each peer prints its own JSON output, aggregator required from consumer side
BUG: 1136312
Change-Id: Ie52210c0bcc91ac2ffd3ba58988222ffca62b47f
Signed-off-by: Aravinda VK <avishwan@redhat.com>
Reviewed-on: http://review.gluster.org/9398
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: darshan n <dnarayan@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
2015-01-06 15:50:45 +03:00
geo-replication/src/peer_mountbroker
geo-rep: Simplify Non root user(mountbroker) Setup
Setting up Non root Geo-replication is troublesome. Lot of steps
involved like user setup, directory creation, setting up proper
permissions, editing glusterd.vol file etc.
Introducing `gluster-mountbroker` command, with this tool non root
user setup steps are(Run the following commands in any one Slave
node),
gluster-mountbroker setup <MOUNT ROOT> <GROUP>
For example,
gluster-mountbroker setup /var/mountbroker-root geogroup
Add user using,
gluster-mountbroker add <VOLUME> <USER>
For example,
gluster-mountbroker add slavevol geoaccount
Remove user or Volume using,
gluster-mountbroker remove [--volume <VOLUME>] [--user <USER>]
Example,
gluster-mountbroker remove --volume slavevol --user geoaccount
gluster-mountbroker remove --user geoaccount
gluster-mountbroker remove --volume slavevol
Check the status of setup using,
gluster-mountbroker status
Once the changes are complete, restart glusterd in all Slave nodes.
and follow the Geo-rep instructions.
Change-Id: Ied3fa009df6a886b24ddd86d39283fcfcff68c82
BUG: 1343333
Signed-off-by: Aravinda VK <avishwan@redhat.com>
Reviewed-on: http://review.gluster.org/14544
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Smoke: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Saravanakumar Arumugam <sarumuga@redhat.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
2016-05-26 13:22:53 +03:00
geo-replication/src/peer_mountbroker.py
2014-06-30 05:56:44 +04:00
geo-replication/src/set_geo_rep_pem_keys.sh
2016-06-15 11:24:37 +03:00
geo-replication/src/peer_georep-sshkey.py
2015-03-04 18:22:39 +03:00
geo-replication/syncdaemon.egg-info
2016-08-24 12:49:53 +03:00
geo-replication/syncdaemon/conf.py
2015-03-04 18:22:39 +03:00
geo-replication/tests/unit/.coverage
geo-replication/tests/unit/cover
geo-replication/tests/unit/coverage.xml
geo-replication/tests/unit/nosetests.xml
geo-replication/tests/unit/results.html
2013-01-30 20:29:54 +04:00
glusterfs-api.pc
2013-09-30 11:05:14 +04:00
glusterfs.spec
2014-04-18 02:54:34 +04:00
glusterfsd/src/glusterd
glusterfsd/src/glusterfs
2015-03-04 18:22:39 +03:00
glusterfsd/src/glusterfsd
2017-02-10 10:00:51 +03:00
glusterfsd/src/gf_attach
2015-03-04 18:22:39 +03:00
heal/src/glfsheal
2013-09-30 11:05:14 +04:00
libgfchangelog.pc
2015-04-06 12:31:15 +03:00
libgfdb.pc
2014-04-18 02:54:34 +04:00
libglusterfs/src/graph.lex.c
2009-10-06 10:36:31 +04:00
libglusterfs/src/y.tab.c
libglusterfs/src/y.tab.h
2015-11-18 07:01:54 +03:00
libglusterfs/src/defaults.c
2016-04-18 22:47:18 +03:00
libglusterfs/src/glusterfs-fops.h
glusterd/cli: cli to get local state representation from glusterd
Currently there is no existing CLI that can be used to get the
local state representation of the cluster as maintained in glusterd
in a readable as well as parseable format.
The CLI added has the following usage:
# gluster get-state [daemon] [odir <path/to/output/dir>] [file <filename>]
This would dump data points that reflect the local state
representation of the cluster as maintained in glusterd (no other
daemons are supported as of now) to a file inside the specified
output directory. The default output directory and filename is
/var/run/gluster and glusterd_state_<timestamp> respectively. The
option for specifying the daemon name leaves room to add support for
other daemons in the future. Following are the data points captured
as of now to represent the state from the local glusterd pov:
* Peer:
- Primary hostname
- uuid
- state
- connection status
- List of hostnames
* Volumes:
- name, id, transport type, status
- counts: bricks, snap, subvol, stripe, arbiter, disperse,
redundancy
- snapd status
- quorum status
- tiering related information
- rebalance status
- replace bricks status
- snapshots
* Bricks:
- Path, hostname (for all bricks these info will be shown)
- port, rdma port, status, mount options, filesystem type and
signed in status for bricks running locally.
* Services:
- name, online status for initialised services
* Others:
- Base port, last allocated port
- op-version
- MYUUID
Change-Id: I4a45cc5407ab92d8afdbbd2098ece851f7e3d618
BUG: 1353156
Signed-off-by: Samikshan Bairagya <samikshan@gmail.com>
Reviewed-on: http://review.gluster.org/14873
Reviewed-by: Avra Sengupta <asengupt@redhat.com>
Smoke: Gluster Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
2016-07-07 18:03:02 +03:00
libglusterfs/src/cli1-xdr.h
2017-07-31 08:21:21 +03:00
libglusterfs/src/protocol-common.h
2013-09-30 11:05:14 +04:00
libtool
2017-03-30 12:45:43 +03:00
# copied XDR for cyclic libglusterfs <-> rpc-header dependency
rpc/xdr/gen/*.x
2013-09-13 17:54:52 +04:00
run-tests.sh
2017-10-10 14:23:50 +03:00
!tests/basic/fuse/Makefile
!tests/basic/gfapi/Makefile
2015-03-04 18:22:39 +03:00
tests/env.rc
tests/utils/arequal-checksum
xlators/features/glupy/src/__init__.py
xlators/features/glupy/src/setup.py
2013-09-30 11:05:14 +04:00
xlators/mount/fuse/utils/mount.glusterfs
xlators/mount/fuse/utils/mount_glusterfs
2015-02-18 16:37:23 +03:00
extras/peer_add_secret_pub
2015-04-06 12:31:15 +03:00
tools/gfind_missing_files/gcrawler
2015-02-18 16:37:23 +03:00
tools/glusterfind/glusterfind
tools/glusterfind/src/tool.conf
2016-03-30 12:46:35 +03:00
# Generated by fdl xlator
xlators/experimental/fdl/src/fdl.c
xlators/experimental/fdl/src/gf_logdump
xlators/experimental/fdl/src/gf_recon
xlators/experimental/fdl/src/libfdl.c
xlators/experimental/fdl/src/librecon.c
2016-04-04 12:25:20 +03:00
xlators/experimental/jbr-client/src/jbrc-cg.c
xlators/experimental/jbr-server/src/jbr-cg.c
eventsapi: Gluster Eventing Feature implementation
[Depends on http://review.gluster.org/14627]
Design is available in `glusterfs-specs`, A change from the design
is support of webhook instead of Websockets as discussed in the design
http://review.gluster.org/13115
Since Websocket support depends on REST APIs, I will add Websocket support
once REST APIs patch gets merged
Usage:
Run following command to start/stop Eventsapi server in all Peers,
which will collect the notifications from any Gluster daemon and emits
to configured client.
gluster-eventsapi start|stop|restart|reload
Status of running services can be checked using,
gluster-eventsapi status
Events listener is a HTTP(S) server which listens to events emited by
the Gluster. Create a HTTP Server to listen on POST and register that
URL using,
gluster-eventsapi webhook-add <URL> [--bearer-token <TOKEN>]
For example, if HTTP Server running in `http://192.168.122.188:9000`
then add that URL using,
gluster-eventsapi webhook-add http://192.168.122.188:9000
If it expects a Token then specify it using `--bearer-token` or `-t`
We can also test Webhook if all peer nodes can send message or not
using,
gluster-eventsapi webhook-test <URL> [--bearer-token <TOKEN>]
Configurations can be viewed/updated using,
gluster-eventsapi config-get [--name]
gluster-eventsapi config-set <NAME> <VALUE>
gluster-eventsapi config-reset <NAME|all>
If any one peer node was down during config-set/reset or webhook
modifications, Run sync command from good node when a peer node comes
back. Automatic update is not yet implemented.
gluster-eventsapi sync
Basic Events Client(HTTP Server) is included with the code, Start
running the client with required port and start listening to the
events.
/usr/share/glusterfs/scripts/eventsdash.py --port 8080
Default port is 9000, if no port is specified, once it started running
then configure gluster-eventsapi to send events to that client.
Eventsapi Client can be outside of the Cluster, it can be run event on
Windows. But only requirement is the client URL should be accessible
by all peer nodes.(Or ngrok(https://ngrok.com) like tools can be used)
Events implemented with this patch,
- Volume Create
- Volume Start
- Volume Stop
- Volume Delete
- Peer Attach
- Peer Detach
It is easy to add/support more events, since it touches Gluster cmd
code and to avoid merge conflicts I will add support for more events
once this patch merges.
BUG: 1334044
Change-Id: I316827ac9dd1443454df7deffe4f54835f7f6a08
Signed-off-by: Aravinda VK <avishwan@redhat.com>
Reviewed-on: http://review.gluster.org/14248
Smoke: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
2016-05-05 16:04:41 +03:00
# Eventing
events/src/eventsapiconf.py
extras/systemd/glustereventsd.service
2016-07-28 13:19:59 +03:00
events/src/eventtypes.py
libglusterfs/src/eventtypes.h
2016-10-27 03:16:23 +03:00
extras/init.d/glustereventsd-Debian
2016-10-18 12:27:47 +03:00
extras/init.d/glustereventsd-FreeBSD
extras/init.d/glustereventsd-Redhat
2017-07-20 14:38:12 +03:00
tools/setgfid2path/src/gluster-setgfid2path
2018-05-10 15:55:56 +03:00
xlators/features/cloudsync/src/cloudsync-autogen-fops.c
xlators/features/cloudsync/src/cloudsync-autogen-fops.h
xlators/features/utime/src/utime-autogen-fops.c
xlators/features/utime/src/utime-autogen-fops.h