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>
# 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