Bug 764974 (GLUSTER-3242)
Summary: | make it possible to run cli unprivileged | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Csaba Henk <csaba> |
Component: | cli | Assignee: | Csaba Henk <csaba> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Vijaykumar Koppad <vkoppad> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | mainline | CC: | aavati, amarts, bbandari, gluster-bugs, kaushal, rfortier, vijay |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.4.0 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-07-24 17:41:23 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | DP | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 817967 |
Description
Csaba Henk
2011-07-25 02:42:40 UTC
CHANGE: http://review.gluster.com/91 (This reverts commit e93b270e8d09fc9d36a39b22987d3a172197e73b.) merged in master by Vijay Bellur (vijay) CHANGE: http://review.gluster.com/92 (This reverts commit 8d64ca70b4c2467d4ed8c76a9eae385abdebd7a7.) merged in master by Vijay Bellur (vijay) CHANGE: http://review.gluster.com/93 (Change-Id: I787d241e72b6a6c43db96c220d68fe369bb700a4) merged in master by Vijay Bellur (vijay) CHANGE: http://review.gluster.com/94 (Change-Id: I89467d00030f4714568ef63650ecef0aef1bf753) merged in master by Vijay Bellur (vijay) CHANGE: http://review.gluster.com/95 (Apart from diagnostic purposes, it's needed when cli is ran by) merged in master by Vijay Bellur (vijay) CHANGE: http://review.gluster.com/127 (This makes client fake that given user is a superuser,) merged in master by Vijay Bellur (vijay) Tested with v3.3.0qa44. gluster cli commands can be issued by unprivileged users. This requires glusterd to be started with xlator-option "mangaement.rpc-auth-allow-insecure=on" and cli commands to be run with option "--log-file=<file>" As root, -!- ~ » glusterd --xlator-option=management.rpc-auth-allow-insecure=on -!- ~ » As an unprivileged used, --- ~ » gluster volume info --log-file=cli.log No volumes present --- ~ » gluster volume create test arch:/export/test --log-file=cli.log /export/test or a prefix of it is already part of a volume --- ~ » gluster volume create test arch:/export/test --log-file=cli.log Creation of volume test has been successful. Please start the volume to access data. --- ~ » gluster volume info --log-file=cli.log Volume Name: test Type: Distribute Volume ID: b2ea4c48-0f77-4717-95d5-9fdaa91d83ac Status: Created Number of Bricks: 1 Transport-type: tcp Bricks: Brick1: arch:/export/test --- ~ » |