Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@openstack-01 cinder]# cinder --debug create --display_name test 1
- connect: (127.0.0.1, 5000) ************
- send: 'POST /v2.0/tokens HTTP/1.1\r\nHost: 127.0.0.1:5000\r\nContent-Length: 101\r\ncontent-type: application/json\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nuser-agent: python-cinderclient\r\n\r\n'
- send: '{"auth": {"tenantName": "demo", "passwordCredentials": {"username": "admin", "password": "secrete"}}}'
- reply: 'HTTP/1.1 200 OK\r\n'
- header: Vary: X-Auth-Token
- header: Content-Type: application/json
- header: Content-Length: 2372
- header: Date: Fri, 10 May 2013 19:35:17 GMT
- connect: (localhost, 8776) ************
- connect fail: (localhost, 8776)
- connect: (localhost, 8776) ************
- send: u'POST /v1/219aa20bbaee4291a73ab5476bfbc1b0/volumes HTTP/1.1\r\nHost: localhost:8776\r\nContent-Length: 267\r\nx-auth-project-id: demo\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nx-auth-token: 8fc8e8b2711a41459f63df38cffb9980\r\nuser-agent: python-cinderclient\r\ncontent-type: application/json\r\n\r\n'
- send: '{"volume": {"status": "creating", "availability_zone": null, "display_description": null, "snapshot_id": null, "user_id": null, "size": 1, "display_name": "test", "imageRef": null, "attach_status": "detached", "volume_type": null, "project_id": null, "metadata": {}}}'
- reply: 'HTTP/1.1 200 OK\r\n'
- header: X-Compute-Request-Id: req-90f92d59-cbd5-46e1-bd24-31226d74d55c
- header: Content-Type: application/json
- header: Content-Length: 296
- header: Date: Fri, 10 May 2013 19:35:17 GMT
- +---------------------+--------------------------------------+
- | Property | Value |
- +---------------------+--------------------------------------+
- | attachments | [] |
- | availability_zone | nova |
- | created_at | 2013-05-10T19:35:17.566705 |
- | display_description | None |
- | display_name | test |
- | id | e8bd48d8-accd-478b-af62-a041e1854f9a |
- | metadata | {} |
- | size | 1 |
- | snapshot_id | None |
- | status | creating |
- | volume_type | None |
- +---------------------+--------------------------------------+
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement