mirror of
https://github.com/ceph/ceph
synced 2024-12-26 21:43:10 +00:00
d1892aaf6b
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
11 lines
233 B
Bash
Executable File
11 lines
233 B
Bash
Executable File
#!/bin/sh -ex
|
|
|
|
mydir=`dirname $0`
|
|
|
|
secret=`ceph config-key get mgr/restful/keys/admin`
|
|
url=$(ceph mgr dump|jq -r .services.restful|sed -e 's/\/$//')
|
|
echo "url $url secret $secret"
|
|
$mydir/test_mgr_rest_api.py $url $secret
|
|
|
|
echo $0 OK
|