mirror of
https://github.com/ceph/ceph
synced 2024-12-21 10:54:42 +00:00
rgw: Make vstart.sh print out swift user info
Currently vstart.sh only print out S3 user info. This patch updates it to print swift user info too. Also changes the swift account/user/password to test/tester/testing which align with openstack-swift better: https://github.com/openstack/swift/blob/master/etc/proxy-server.conf-sample#L270 Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
This commit is contained in:
parent
661205899b
commit
ea012fde23
@ -671,11 +671,18 @@ do_rgw()
|
||||
|
||||
# Create Swift user
|
||||
echo "setting up user tester"
|
||||
$CEPH_BIN/radosgw-admin user create --subuser=tester:testing --display-name=Tester-Subuser --key-type=swift --secret=asdf > /dev/null
|
||||
$CEPH_BIN/radosgw-admin user create --subuser=test:tester --display-name=Tester-Subuser --key-type=swift --secret=testing > /dev/null
|
||||
|
||||
echo ""
|
||||
echo " access key $akey"
|
||||
echo " secret key $skey"
|
||||
echo "S3 User Info:"
|
||||
echo " access key: $akey"
|
||||
echo " secret key: $skey"
|
||||
echo ""
|
||||
echo "Swift User Info:"
|
||||
echo " account : test"
|
||||
echo " user : tester"
|
||||
echo " password : testing"
|
||||
echo ""
|
||||
}
|
||||
if [ "$start_rgw" -eq 1 ]; then
|
||||
do_rgw
|
||||
|
Loading…
Reference in New Issue
Block a user