Advertisement
Guest User

Untitled

a guest
Sep 20th, 2013
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.99 KB | None | 0 0
  1. REQ: curl -i http://10.10.32.6:5000/v2.0/tokens -X POST -H "Content-Type: a pplication/json" -H "Accept: application/json" -H "User-Agent: python-novac lient" -d '{"auth": {"tenantName": "admin", "passwordCredentials": {"userna me": "zradmin", "password": "cl0ud1ntegr4tion"}}}'
  2.  
  3. INFO (connectionpool:191) Starting new HTTP connection (1): 10.10.32.6
  4. DEBUG (connectionpool:283) "POST /v2.0/tokens HTTP/1.1" 200 3183
  5. RESP: [200] {'date': 'Fri, 20 Sep 2013 22:53:48 GMT', 'content-type': 'appl ication/json', 'content-length': '3183', 'vary': 'X-Auth-Token'}
  6. RESP BODY: {"access": {"token": {"issued_at": "2013-09-20T22:53:48.073401", "expires": "2013-09-21T22:53:47Z", "id": "605e975b932147ca8b31af0ac7da906f ", "tenant": {"description": "Created by Juju", "enabled": true, "id": "719 94b52eb8346809faff73b25a9cd48", "name": "admin"}}, "serviceCatalog": [{"end points": [{"adminURL": "http://10.10.32.7:8774/v1.1/71994b52eb8346809faff73 b25a9cd48", "region": "RegionOne", "internalURL": "http://10.10.32.7:8774/v 1.1/71994b52eb8346809faff73b25a9cd48", "id": "2784b1b50b324acba6b9be933708c 5c4", "publicURL": "http://10.10.32.7:8774/v1.1/71994b52eb8346809faff73b25a 9cd48"}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endp oints": [{"adminURL": "http://10.10.32.7:9696", "region": "RegionOne", "int ernalURL": "http://10.10.32.7:9696", "id": "95c1c5f7b1734a2b985b799e2e79235 d", "publicURL": "http://10.10.32.7:9696"}], "endpoints_links": [], "type": "network", "name": "quantum"}, {"endpoints": [{"adminURL": "http://10.10.3 2.7:3333", "region": "RegionOne", "internalURL": "http://10.10.32.7:3333", "id": "2ab591f29ac3422d843b2ccfdf8538ce", "publicURL": "http://10.10.32.7:3 333"}], "endpoints_links": [], "type": "s3", "name": "s3"}, {"endpoints": [ {"adminURL": "http://10.10.32.8:9292", "region": "RegionOne", "internalURL" : "http://10.10.32.8:9292", "id": "0622a380ca194afea4842b0b75b02606", "publ icURL": "http://10.10.32.8:9292"}, {"adminURL": "http://10.10.32.8:9292", " region": "regionOne", "internalURL": "http://10.10.32.8:9292", "id": "1aae6 10d805441cb9d101904ac7265ed", "publicURL": "http://10.10.32.8:9292"}], "end points_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adm inURL": "http://10.10.32.9:8776/v1/71994b52eb8346809faff73b25a9cd48", "regi on": "RegionOne", "internalURL": "http://10.10.32.9:8776/v1/71994b52eb83468 09faff73b25a9cd48", "id": "52cad88a71f74bd9ac77cfb7d9c93986", "publicURL": "http://10.10.32.9:8776/v1/71994b52eb8346809faff73b25a9cd48"}], "endpoints_ links": [], "type": "volume", "name": "cinder"}, {"endpoints": [{"adminURL" : "http://10.10.32.7:8773/services/Cloud", "region": "RegionOne", "internal URL": "http://10.10.32.7:8773/services/Cloud", "id": "00ac5efbfdf34da4b3a27 4b39f435cec", "publicURL": "http://10.10.32.7:8773/services/Cloud"}], "endp oints_links": [], "type": "ec2", "name": "ec2"}, {"endpoints": [{"adminURL" : "http://tmk6b.unity:35357/v2.0", "region": "RegionOne", "internalURL": "h ttp://tmk6b.unity:5000/v2.0", "id": "1a69c49387ab47fda099d8cfcb8b77db", "pu blicURL": "http://tmk6b.unity:5000/v2.0"}, {"adminURL": "http://10.10.32.6: 5000/v2.0", "region": "regionOne", "internalURL": "http://10.10.32.6:5000/v 2.0", "id": "8dd3d3e0c3e04a3c8c2c9f83f1531cf0", "publicURL": "http://10.10. 32.6:5000/v2.0"}], "endpoints_links": [], "type": "identity", "name": "keys tone"}], "user": {"username": "zradmin", "roles_links": [], "id": "7d92ed27 e0d74a26ab8be0a003e4b971", "roles": [{"name": "_member_"}, {"name": "Keysto neAdmin"}, {"name": "KeystoneServiceAdmin"}, {"name": "Admin"}], "name": "z radmin"}, "metadata": {"is_admin": 0, "roles": ["9fe2ff9ee4384b1894a90878d3 e92bab", "4c0eff8a5fb04e9d85106ccd7e0c6a37", "697ef201ae7d43819728f5e970b78 1f1", "af0c5a6a4ab348ed9546f7ccfa5409d3"]}}}
  7.  
  8.  
  9. REQ: curl -i http://10.10.32.7:8774/v1.1/71994b52eb8346809faff73b25a9cd48/s ervers/detail -X GET -H "X-Auth-Project-Id: admin" -H "User-Agent: python-n ovaclient" -H "Accept: application/json" -H "X-Auth-Token: 605e975b932147ca 8b31af0ac7da906f"
  10.  
  11. INFO (connectionpool:191) Starting new HTTP connection (1): 10.10.32.7
  12. DEBUG (connectionpool:283) "GET /v1.1/71994b52eb8346809faff73b25a9cd48/serv ers/detail HTTP/1.1" 200 15
  13. RESP: [200] {'date': 'Fri, 20 Sep 2013 22:53:48 GMT', 'x-compute-request-id ': 'req-ce860188-908a-41da-b9f9-e72ca704b7e3', 'content-type': 'application /json', 'content-length': '15'}
  14. RESP BODY: {"servers": []}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement