This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://docs.openstack.org/contributor-guide/doc-tools/cli-reference.html | |
- clone and install openstack-doc-tools | |
- clone openstack-manuals | |
# make your changes in doc-tools | |
openstack-doc-tools/os_doc_tools/ | |
# build your specified changes locally in openstak-mauals , below building swift CLI docs only | |
openstack-manuals/doc/cli-reference/source$ openstack-auto-commands swift |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### - curl commands - first generate AUTH_token for test:tester, and then delete this token | |
swift@sha-saio-sw-admin1:~/swift$ curl -v -H 'x-storage-user: test:tester' -H 'x-storage-pass: testing' http://127.0.0.1:8080/auth/v1.0 | |
- * Hostname was NOT found in DNS cache | |
* Trying 127.0.0.1... | |
* Connected to 127.0.0.1 (127.0.0.1) port 8080 (#0) | |
> GET /auth/v1.0 HTTP/1.1 | |
> User-Agent: curl/7.35.0 | |
> Host: 127.0.0.1:8080 | |
> Accept: */* | |
> x-storage-user: test:tester |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swift@sha-saio-nreviews:~$ curl -v -H 'x-storage-user: test:tester' -H 'x-storage-pass: testing' http://127.0.0.1:8080/auth/v1.0 | |
* Hostname was NOT found in DNS cache | |
* Trying 127.0.0.1... | |
* Connected to 127.0.0.1 (127.0.0.1) port 8080 (#0) | |
> GET /auth/v1.0 HTTP/1.1 | |
> User-Agent: curl/7.35.0 | |
> Host: 127.0.0.1:8080 | |
> Accept: */* | |
> x-storage-user: test:tester | |
> x-storage-pass: testing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swift@sha-saio-newcrypto:~$ curl http://127.0.0.1:8080/healthcheck | |
OK |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swift@sha-saio-newcrypto:~$ curl http://127.0.0.1:8080/info | python -m json.tool | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 1500 100 1500 0 0 157k 0 --:--:-- --:--:-- --:--:-- 209k | |
{ | |
"account_quotas": {}, | |
"bulk_delete": { | |
"max_deletes_per_request": 10000, | |
"max_failed_deletes": 1000 | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ssbench-env)ssbench@cos1:~$ ssbench-master run-scenario -f /home/ssbench/ssbench-env/share/ssbench/scenarios/very_small.scenario --workers 1 -S http://104.239e2450e196ac41149ecfbe9e7b31814d | |
INFO:SwiftStack Benchmark (ssbench version 0.3.8) | |
INFO:Spawning local ssbench-worker (logging to /tmp/ssbench-worker-local-0.log) with ssbench-worker --zmq-host 127.0.0.1 --zmq-work-port 13579 --zmq-results-po1 0 | |
INFO:Starting scenario run for "Small test scenario" | |
INFO:Ensuring 100 containers (ssbench_*) exist; concurrency=10... | |
INFO:Initializing cluster with stock data (up to 4 concurrent workers) | |
INFO:Starting benchmark run (up to 4 concurrent workers) | |
Benchmark Run: | |
X work job raised an exception | |
. < 1s first-byte-latency |