Skip to content

Instantly share code, notes, and snippets.

@sgundur
Last active March 6, 2017 20:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sgundur/c0ebab8e388f7d480788bab073dd98f8 to your computer and use it in GitHub Desktop.
Save sgundur/c0ebab8e388f7d480788bab073dd98f8 to your computer and use it in GitHub Desktop.
stack@sha-devstack-api5:~$ swift --debug upload test_container1 randomFile1.txt
DEBUG:keystoneclient.auth.identity.v3.base:Making authentication request to http://192.168.0.12:5000/v3/auth/tokens
DEBUG:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): 192.168.0.12
DEBUG:requests.packages.urllib3.connectionpool:http://192.168.0.12:5000 "POST /v3/auth/tokens HTTP/1.1" 201 3543
DEBUG:keystoneclient.auth.identity.v3.base:{"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "c886793507c945c8870087a793c7daa2", "name": "admin"}], "expires_at": "2017-03-06T20:58:36.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "6cf8398927844e86a8c58e08eb99b457", "name": "admin"}, "catalog": [{"endpoints": [{"url": "http://192.168.0.12:9696/", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "8ce27d2c9519467c9420037614998641"}], "type": "network", "id": "0e18c5e3b9fb4eadbaae5da05192ad4b", "name": "neutron"}, {"endpoints": [{"url": "http://192.168.0.12/identity_admin", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "4367d9db6ebe46caaa133a1c212d6011"}, {"url": "http://192.168.0.12/identity", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "819524d6ba6c440fa5effb7b41d8ed69"}], "type": "identity", "id": "1cf508ade2dd479782ac0ff38d0d9cdc", "name": "keystone"}, {"endpoints": [{"url": "http://192.168.0.12:8774/v2/6cf8398927844e86a8c58e08eb99b457", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "f9d75c0bdf8d4da694f573c6dd2d5a28"}], "type": "compute_legacy", "id": "2e5d52d27fe34890b2f2eab0e4093b7f", "name": "nova_legacy"}, {"endpoints": [{"url": "http://192.168.0.12:8776/v3/6cf8398927844e86a8c58e08eb99b457", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "7d49ff58d4814679ae4852e61e5973a3"}], "type": "volumev3", "id": "56ea87c9e5ee4902a6e1ad7cad9c6064", "name": "cinderv3"}, {"endpoints": [{"url": "http://192.168.0.12:8774/v2.1", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "601ff173271941659b9335f86209ad3c"}], "type": "compute", "id": "76baa33ec8ff4b3b97fdff8cae0385df", "name": "nova"}, {"endpoints": [{"url": "http://192.168.0.12:8080/v1/AUTH_6cf8398927844e86a8c58e08eb99b457", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "58a4f794a1a44deebf3598be26390e17"}, {"url": "http://192.168.0.12:8080", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "de30ef6a667946cdbd65fa478627eea0"}], "type": "object-store", "id": "a132b29ca88c496783077578fe2cb2bc", "name": "swift"}, {"endpoints": [{"url": "http://192.168.0.12/placement", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "07e3818a874a4a319f2b4656a7a2c4be"}], "type": "placement", "id": "b71ec40e996c4d14b60418883ce7b1ed", "name": "placement"}, {"endpoints": [{"url": "http://192.168.0.12:8776/v1/6cf8398927844e86a8c58e08eb99b457", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "5d70996c9fe44d7ca83d16d563a6ac3d"}], "type": "volume", "id": "cf2cfa6eabdd4090bec5671b2fdafa5a", "name": "cinder"}, {"endpoints": [{"url": "http://192.168.0.12:8776/v2/6cf8398927844e86a8c58e08eb99b457", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "8cff5b7eb18948739175064855e1ac49"}], "type": "volumev2", "id": "daad4fdb6dff4b6cbc019f78cfa85edb", "name": "cinderv2"}, {"endpoints": [{"url": "http://192.168.0.12:9292", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "6c9a8c3d206649049a3d365062fde7df"}], "type": "image", "id": "df87af2f44744273a11ec2e4690842ac", "name": "glance"}], "user": {"domain": {"id": "default", "name": "Default"}, "password_expires_at": null, "name": "admin", "id": "19b5d10205874c99bcaee9b9c8570cf2"}, "audit_ids": ["CD1fc4eXSpOAXdvknamnQQ"], "issued_at": "2017-03-06T19:58:36.000000Z"}}
DEBUG:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): 192.168.0.12
DEBUG:requests.packages.urllib3.connectionpool:http://192.168.0.12:8080 "PUT /v1/AUTH_6cf8398927844e86a8c58e08eb99b457/test_container1 HTTP/1.1" 202 76
DEBUG:swiftclient:REQ: curl -i http://192.168.0.12:8080/v1/AUTH_6cf8398927844e86a8c58e08eb99b457/test_container1 -X PUT -H "Content-Length: 0" -H "X-Auth-Token: gAAAAABYvb9s2ymqvt1NKiMXoAhaRMIi0IaCZzDGZS8KRYZyFbdhu2C3AWYVOa66E0ocmOL88tWxEq9-MG0gictcA25Fl2V9aoZg04JFRXL4t2jFmymFjIYDoUG0ClTrZZ9x9RlnB6I176OvPsZP3hYkzRkVTuQQtW16jCebaCNQIVPpq1Q8nOU"
DEBUG:swiftclient:RESP STATUS: 202 Accepted
DEBUG:swiftclient:RESP HEADERS: {u'Content-Length': u'76', u'Server': u'Apache/2.4.18 (Ubuntu)', u'X-Trans-Id': u'tx8067b93fd96949348d50a-0058bdbf6c', u'Date': u'Mon, 06 Mar 2017 19:58:36 GMT', u'Content-Type': u'text/html; charset=UTF-8', u'X-Openstack-Request-Id': u'tx8067b93fd96949348d50a-0058bdbf6c'}
DEBUG:swiftclient:RESP BODY: <html><h1>Accepted</h1><p>The request is accepted for processing.</p></html>
DEBUG:keystoneclient.auth.identity.v3.base:Making authentication request to http://192.168.0.12:5000/v3/auth/tokens
DEBUG:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): 192.168.0.12
DEBUG:requests.packages.urllib3.connectionpool:http://192.168.0.12:5000 "POST /v3/auth/tokens HTTP/1.1" 201 3543
DEBUG:keystoneclient.auth.identity.v3.base:{"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "c886793507c945c8870087a793c7daa2", "name": "admin"}], "expires_at": "2017-03-06T20:58:36.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "6cf8398927844e86a8c58e08eb99b457", "name": "admin"}, "catalog": [{"endpoints": [{"url": "http://192.168.0.12:9696/", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "8ce27d2c9519467c9420037614998641"}], "type": "network", "id": "0e18c5e3b9fb4eadbaae5da05192ad4b", "name": "neutron"}, {"endpoints": [{"url": "http://192.168.0.12/identity_admin", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "4367d9db6ebe46caaa133a1c212d6011"}, {"url": "http://192.168.0.12/identity", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "819524d6ba6c440fa5effb7b41d8ed69"}], "type": "identity", "id": "1cf508ade2dd479782ac0ff38d0d9cdc", "name": "keystone"}, {"endpoints": [{"url": "http://192.168.0.12:8774/v2/6cf8398927844e86a8c58e08eb99b457", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "f9d75c0bdf8d4da694f573c6dd2d5a28"}], "type": "compute_legacy", "id": "2e5d52d27fe34890b2f2eab0e4093b7f", "name": "nova_legacy"}, {"endpoints": [{"url": "http://192.168.0.12:8776/v3/6cf8398927844e86a8c58e08eb99b457", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "7d49ff58d4814679ae4852e61e5973a3"}], "type": "volumev3", "id": "56ea87c9e5ee4902a6e1ad7cad9c6064", "name": "cinderv3"}, {"endpoints": [{"url": "http://192.168.0.12:8774/v2.1", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "601ff173271941659b9335f86209ad3c"}], "type": "compute", "id": "76baa33ec8ff4b3b97fdff8cae0385df", "name": "nova"}, {"endpoints": [{"url": "http://192.168.0.12:8080/v1/AUTH_6cf8398927844e86a8c58e08eb99b457", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "58a4f794a1a44deebf3598be26390e17"}, {"url": "http://192.168.0.12:8080", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "de30ef6a667946cdbd65fa478627eea0"}], "type": "object-store", "id": "a132b29ca88c496783077578fe2cb2bc", "name": "swift"}, {"endpoints": [{"url": "http://192.168.0.12/placement", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "07e3818a874a4a319f2b4656a7a2c4be"}], "type": "placement", "id": "b71ec40e996c4d14b60418883ce7b1ed", "name": "placement"}, {"endpoints": [{"url": "http://192.168.0.12:8776/v1/6cf8398927844e86a8c58e08eb99b457", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "5d70996c9fe44d7ca83d16d563a6ac3d"}], "type": "volume", "id": "cf2cfa6eabdd4090bec5671b2fdafa5a", "name": "cinder"}, {"endpoints": [{"url": "http://192.168.0.12:8776/v2/6cf8398927844e86a8c58e08eb99b457", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "8cff5b7eb18948739175064855e1ac49"}], "type": "volumev2", "id": "daad4fdb6dff4b6cbc019f78cfa85edb", "name": "cinderv2"}, {"endpoints": [{"url": "http://192.168.0.12:9292", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "6c9a8c3d206649049a3d365062fde7df"}], "type": "image", "id": "df87af2f44744273a11ec2e4690842ac", "name": "glance"}], "user": {"domain": {"id": "default", "name": "Default"}, "password_expires_at": null, "name": "admin", "id": "19b5d10205874c99bcaee9b9c8570cf2"}, "audit_ids": ["_XtQGPhRRB-2GKm4aRJI8Q"], "issued_at": "2017-03-06T19:58:36.000000Z"}}
DEBUG:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): 192.168.0.12
DEBUG:requests.packages.urllib3.connectionpool:http://192.168.0.12:8080 "HEAD /v1/AUTH_6cf8398927844e86a8c58e08eb99b457/test_container1/randomFile1.txt HTTP/1.1" 404 0
INFO:swiftclient:REQ: curl -i http://192.168.0.12:8080/v1/AUTH_6cf8398927844e86a8c58e08eb99b457/test_container1/randomFile1.txt -I -H "X-Auth-Token: gAAAAABYvb9s860C06rpSkrwDmVJhnuxfVbmhwXyh0RRlsmaGUyLzScUR9Fdun-r8VYad_WGV6u_MfSbeCX3QH28eV8hGWcoqPd7U8oZmYViQR8KNgTJhz5YcJrvxytC40CY79_B_b1krCnTBLsbqClknDCK4aModDCjwQ7VNnPpHYgr0FWfKkg"
INFO:swiftclient:RESP STATUS: 404 Not Found
INFO:swiftclient:RESP HEADERS: {u'Date': u'Mon, 06 Mar 2017 19:58:36 GMT', u'X-Trans-Id': u'tx9d02d8c3ea9d44e3a19a5-0058bdbf6e', u'Content-Type': u'text/html; charset=UTF-8', u'X-Openstack-Request-Id': u'tx9d02d8c3ea9d44e3a19a5-0058bdbf6e', u'Server': u'Apache/2.4.18 (Ubuntu)'}
DEBUG:requests.packages.urllib3.connectionpool:http://192.168.0.12:8080 "PUT /v1/AUTH_6cf8398927844e86a8c58e08eb99b457/test_container1/randomFile1.txt HTTP/1.1" 201 0
DEBUG:swiftclient:REQ: curl -i http://192.168.0.12:8080/v1/AUTH_6cf8398927844e86a8c58e08eb99b457/test_container1/randomFile1.txt -X PUT -H "x-object-meta-mtime: 1488830040.586183" -H "Content-Length: 1024" -H "Content-Type: " -H "X-Auth-Token: gAAAAABYvb9s860C06rpSkrwDmVJhnuxfVbmhwXyh0RRlsmaGUyLzScUR9Fdun-r8VYad_WGV6u_MfSbeCX3QH28eV8hGWcoqPd7U8oZmYViQR8KNgTJhz5YcJrvxytC40CY79_B_b1krCnTBLsbqClknDCK4aModDCjwQ7VNnPpHYgr0FWfKkg"
DEBUG:swiftclient:RESP STATUS: 201 Created
DEBUG:swiftclient:RESP HEADERS: {u'Content-Length': u'0', u'Server': u'Apache/2.4.18 (Ubuntu)', u'Last-Modified': u'Mon, 06 Mar 2017 19:58:39 GMT', u'Etag': u'0f343b0931126a20f133d67c2b018a3b', u'X-Trans-Id': u'txd7033df028804ec1888ef-0058bdbf6e', u'Date': u'Mon, 06 Mar 2017 19:58:38 GMT', u'Content-Type': u'text/html; charset=UTF-8', u'X-Openstack-Request-Id': u'txd7033df028804ec1888ef-0058bdbf6e'}
randomFile1.txt
stack@sha-devstack-api5:~$
-====================
stack@sha-devstack-api5:~/devstack$ sudo service apache2 status
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: active (running) since Mon 2017-03-06 18:08:52 UTC; 1h 50min ago
Docs: man:systemd-sysv-generator(8)
Process: 24439 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)
Process: 24517 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCCESS)
Tasks: 234
Memory: 1.0G
CPU: 50.764s
CGroup: /system.slice/apache2.service
├─24533 /usr/sbin/apache2 -k start
├─24536 /usr/sbin/apache2 -k start
├─24537 /usr/sbin/apache2 -k start
├─24538 /usr/sbin/apache2 -k start
├─24539 /usr/sbin/apache2 -k start
├─24540 /usr/sbin/apache2 -k start
├─24541 /usr/sbin/apache2 -k start
├─24542 /usr/sbin/apache2 -k start
├─24543 /usr/sbin/apache2 -k start
├─24544 /usr/sbin/apache2 -k start
├─24545 /usr/sbin/apache2 -k start
├─24546 (wsgi:horizon) -k start
├─24547 (wsgi:horizon) -k start
├─24548 (wsgi:horizon) -k start
├─24549 (wsgi:keystone-pu -k start
├─24550 (wsgi:keystone-pu -k start
├─24551 (wsgi:keystone-pu -k start
├─24552 (wsgi:keystone-pu -k start
├─24553 (wsgi:keystone-pu -k start
├─24554 (wsgi:keystone-ad -k start
├─24555 (wsgi:keystone-ad -k start
├─24556 (wsgi:keystone-ad -k start
├─24557 (wsgi:keystone-ad -k start
├─24558 (wsgi:keystone-ad -k start
├─24559 /usr/sbin/apache2 -k start
├─24560 /usr/sbin/apache2 -k start
├─24561 /usr/sbin/apache2 -k start
├─24562 /usr/sbin/apache2 -k start
├─24563 /usr/sbin/apache2 -k start
├─24564 /usr/sbin/apache2 -k start
├─24565 /usr/sbin/apache2 -k start
├─24566 /usr/sbin/apache2 -k start
├─24567 /usr/sbin/apache2 -k start
├─24568 /usr/sbin/apache2 -k start
├─24569 /usr/sbin/apache2 -k start
└─24570 /usr/sbin/apache2 -k start
Mar 06 19:58:38 sha-devstack-api5 proxy-server[24565]: Received request from user: user_id 19b5d10205874c99bcaee9b9c8570cf2, project_id 6cf8398927844e86a8c58e08eb99b457, roles admin
Mar 06 19:58:38 sha-devstack-api5 proxy-server[24565]: Using identity: {'service_roles': [], 'roles': [u'admin'], 'project_domain': (u'default', u'Default'), 'auth_version': 3, 'user': (u'19b5d102
Mar 06 19:58:38 sha-devstack-api5 proxy-server[24565]: allow user with role(s) admin as account admin (txn: txd7033df028804ec1888ef-0058bdbf6e) (client_ip: 192.168.0.12)
Mar 06 19:58:39 sha-devstack-api5 liberasurecode[24563]: liberasurecode_backend_open: dynamic linking error libJerasure.so.2: cannot open shared object file: No such file or directory
Mar 06 19:58:39 sha-devstack-api5 liberasurecode[24563]: liberasurecode_backend_open: dynamic linking error libJerasure.so.2: cannot open shared object file: No such file or directory
Mar 06 19:58:39 sha-devstack-api5 liberasurecode[24563]: liberasurecode_backend_open: dynamic linking error libisal.so.2: cannot open shared object file: No such file or directory
Mar 06 19:58:39 sha-devstack-api5 liberasurecode[24563]: liberasurecode_backend_open: dynamic linking error libshss.so.1: cannot open shared object file: No such file or directory
Mar 06 19:58:39 sha-devstack-api5 container-server[24544]: 127.0.0.1 - - [06/Mar/2017:19:58:39 +0000] "PUT /sdb1/311/AUTH_6cf8398927844e86a8c58e08eb99b457/test_container1/randomFile1.txt" 201 - "P
Mar 06 19:58:39 sha-devstack-api5 object-server[24563]: 127.0.0.1 - - [06/Mar/2017:19:58:39 +0000] "PUT /sdb1/136/AUTH_6cf8398927844e86a8c58e08eb99b457/test_container1/randomFile1.txt" 201 - "PUT
Mar 06 19:58:39 sha-devstack-api5 proxy-server[24565]: 192.168.0.12 192.168.0.12 06/Mar/2017/19/58/39 PUT /v1/AUTH_6cf8398927844e86a8c58e08eb99b457/test_container1/randomFile1.txt HTTP/1.1 201 - p
------------------------------------------
stack@sha-devstack-api5:~$ swift --debug upload test_container1 randomFile1.txt
DEBUG:keystoneclient.auth.identity.v3.base:Making authentication request to http://192.168.0.12:5000/v3/auth/tokens
DEBUG:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): 192.168.0.12
DEBUG:requests.packages.urllib3.connectionpool:http://192.168.0.12:5000 "POST /v3/auth/tokens HTTP/1.1" 201 3543
DEBUG:keystoneclient.auth.identity.v3.base:{"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "c886793507c945c8870087a793c7daa2", "name": "admin"}], "expires_at": "2017-03-06T20:58:36.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "6cf8398927844e86a8c58e08eb99b457", "name": "admin"}, "catalog": [{"endpoints": [{"url": "http://192.168.0.12:9696/", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "8ce27d2c9519467c9420037614998641"}], "type": "network", "id": "0e18c5e3b9fb4eadbaae5da05192ad4b", "name": "neutron"}, {"endpoints": [{"url": "http://192.168.0.12/identity_admin", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "4367d9db6ebe46caaa133a1c212d6011"}, {"url": "http://192.168.0.12/identity", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "819524d6ba6c440fa5effb7b41d8ed69"}], "type": "identity", "id": "1cf508ade2dd479782ac0ff38d0d9cdc", "name": "keystone"}, {"endpoints": [{"url": "http://192.168.0.12:8774/v2/6cf8398927844e86a8c58e08eb99b457", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "f9d75c0bdf8d4da694f573c6dd2d5a28"}], "type": "compute_legacy", "id": "2e5d52d27fe34890b2f2eab0e4093b7f", "name": "nova_legacy"}, {"endpoints": [{"url": "http://192.168.0.12:8776/v3/6cf8398927844e86a8c58e08eb99b457", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "7d49ff58d4814679ae4852e61e5973a3"}], "type": "volumev3", "id": "56ea87c9e5ee4902a6e1ad7cad9c6064", "name": "cinderv3"}, {"endpoints": [{"url": "http://192.168.0.12:8774/v2.1", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "601ff173271941659b9335f86209ad3c"}], "type": "compute", "id": "76baa33ec8ff4b3b97fdff8cae0385df", "name": "nova"}, {"endpoints": [{"url": "http://192.168.0.12:8080/v1/AUTH_6cf8398927844e86a8c58e08eb99b457", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "58a4f794a1a44deebf3598be26390e17"}, {"url": "http://192.168.0.12:8080", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "de30ef6a667946cdbd65fa478627eea0"}], "type": "object-store", "id": "a132b29ca88c496783077578fe2cb2bc", "name": "swift"}, {"endpoints": [{"url": "http://192.168.0.12/placement", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "07e3818a874a4a319f2b4656a7a2c4be"}], "type": "placement", "id": "b71ec40e996c4d14b60418883ce7b1ed", "name": "placement"}, {"endpoints": [{"url": "http://192.168.0.12:8776/v1/6cf8398927844e86a8c58e08eb99b457", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "5d70996c9fe44d7ca83d16d563a6ac3d"}], "type": "volume", "id": "cf2cfa6eabdd4090bec5671b2fdafa5a", "name": "cinder"}, {"endpoints": [{"url": "http://192.168.0.12:8776/v2/6cf8398927844e86a8c58e08eb99b457", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "8cff5b7eb18948739175064855e1ac49"}], "type": "volumev2", "id": "daad4fdb6dff4b6cbc019f78cfa85edb", "name": "cinderv2"}, {"endpoints": [{"url": "http://192.168.0.12:9292", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "6c9a8c3d206649049a3d365062fde7df"}], "type": "image", "id": "df87af2f44744273a11ec2e4690842ac", "name": "glance"}], "user": {"domain": {"id": "default", "name": "Default"}, "password_expires_at": null, "name": "admin", "id": "19b5d10205874c99bcaee9b9c8570cf2"}, "audit_ids": ["CD1fc4eXSpOAXdvknamnQQ"], "issued_at": "2017-03-06T19:58:36.000000Z"}}
DEBUG:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): 192.168.0.12
DEBUG:requests.packages.urllib3.connectionpool:http://192.168.0.12:8080 "PUT /v1/AUTH_6cf8398927844e86a8c58e08eb99b457/test_container1 HTTP/1.1" 202 76
DEBUG:swiftclient:REQ: curl -i http://192.168.0.12:8080/v1/AUTH_6cf8398927844e86a8c58e08eb99b457/test_container1 -X PUT -H "Content-Length: 0" -H "X-Auth-Token: gAAAAABYvb9s2ymqvt1NKiMXoAhaRMIi0IaCZzDGZS8KRYZyFbdhu2C3AWYVOa66E0ocmOL88tWxEq9-MG0gictcA25Fl2V9aoZg04JFRXL4t2jFmymFjIYDoUG0ClTrZZ9x9RlnB6I176OvPsZP3hYkzRkVTuQQtW16jCebaCNQIVPpq1Q8nOU"
DEBUG:swiftclient:RESP STATUS: 202 Accepted
DEBUG:swiftclient:RESP HEADERS: {u'Content-Length': u'76', u'Server': u'Apache/2.4.18 (Ubuntu)', u'X-Trans-Id': u'tx8067b93fd96949348d50a-0058bdbf6c', u'Date': u'Mon, 06 Mar 2017 19:58:36 GMT', u'Content-Type': u'text/html; charset=UTF-8', u'X-Openstack-Request-Id': u'tx8067b93fd96949348d50a-0058bdbf6c'}
DEBUG:swiftclient:RESP BODY: <html><h1>Accepted</h1><p>The request is accepted for processing.</p></html>
DEBUG:keystoneclient.auth.identity.v3.base:Making authentication request to http://192.168.0.12:5000/v3/auth/tokens
DEBUG:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): 192.168.0.12
DEBUG:requests.packages.urllib3.connectionpool:http://192.168.0.12:5000 "POST /v3/auth/tokens HTTP/1.1" 201 3543
DEBUG:keystoneclient.auth.identity.v3.base:{"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "c886793507c945c8870087a793c7daa2", "name": "admin"}], "expires_at": "2017-03-06T20:58:36.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "6cf8398927844e86a8c58e08eb99b457", "name": "admin"}, "catalog": [{"endpoints": [{"url": "http://192.168.0.12:9696/", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "8ce27d2c9519467c9420037614998641"}], "type": "network", "id": "0e18c5e3b9fb4eadbaae5da05192ad4b", "name": "neutron"}, {"endpoints": [{"url": "http://192.168.0.12/identity_admin", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "4367d9db6ebe46caaa133a1c212d6011"}, {"url": "http://192.168.0.12/identity", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "819524d6ba6c440fa5effb7b41d8ed69"}], "type": "identity", "id": "1cf508ade2dd479782ac0ff38d0d9cdc", "name": "keystone"}, {"endpoints": [{"url": "http://192.168.0.12:8774/v2/6cf8398927844e86a8c58e08eb99b457", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "f9d75c0bdf8d4da694f573c6dd2d5a28"}], "type": "compute_legacy", "id": "2e5d52d27fe34890b2f2eab0e4093b7f", "name": "nova_legacy"}, {"endpoints": [{"url": "http://192.168.0.12:8776/v3/6cf8398927844e86a8c58e08eb99b457", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "7d49ff58d4814679ae4852e61e5973a3"}], "type": "volumev3", "id": "56ea87c9e5ee4902a6e1ad7cad9c6064", "name": "cinderv3"}, {"endpoints": [{"url": "http://192.168.0.12:8774/v2.1", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "601ff173271941659b9335f86209ad3c"}], "type": "compute", "id": "76baa33ec8ff4b3b97fdff8cae0385df", "name": "nova"}, {"endpoints": [{"url": "http://192.168.0.12:8080/v1/AUTH_6cf8398927844e86a8c58e08eb99b457", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "58a4f794a1a44deebf3598be26390e17"}, {"url": "http://192.168.0.12:8080", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "de30ef6a667946cdbd65fa478627eea0"}], "type": "object-store", "id": "a132b29ca88c496783077578fe2cb2bc", "name": "swift"}, {"endpoints": [{"url": "http://192.168.0.12/placement", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "07e3818a874a4a319f2b4656a7a2c4be"}], "type": "placement", "id": "b71ec40e996c4d14b60418883ce7b1ed", "name": "placement"}, {"endpoints": [{"url": "http://192.168.0.12:8776/v1/6cf8398927844e86a8c58e08eb99b457", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "5d70996c9fe44d7ca83d16d563a6ac3d"}], "type": "volume", "id": "cf2cfa6eabdd4090bec5671b2fdafa5a", "name": "cinder"}, {"endpoints": [{"url": "http://192.168.0.12:8776/v2/6cf8398927844e86a8c58e08eb99b457", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "8cff5b7eb18948739175064855e1ac49"}], "type": "volumev2", "id": "daad4fdb6dff4b6cbc019f78cfa85edb", "name": "cinderv2"}, {"endpoints": [{"url": "http://192.168.0.12:9292", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "6c9a8c3d206649049a3d365062fde7df"}], "type": "image", "id": "df87af2f44744273a11ec2e4690842ac", "name": "glance"}], "user": {"domain": {"id": "default", "name": "Default"}, "password_expires_at": null, "name": "admin", "id": "19b5d10205874c99bcaee9b9c8570cf2"}, "audit_ids": ["_XtQGPhRRB-2GKm4aRJI8Q"], "issued_at": "2017-03-06T19:58:36.000000Z"}}
DEBUG:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): 192.168.0.12
DEBUG:requests.packages.urllib3.connectionpool:http://192.168.0.12:8080 "HEAD /v1/AUTH_6cf8398927844e86a8c58e08eb99b457/test_container1/randomFile1.txt HTTP/1.1" 404 0
INFO:swiftclient:REQ: curl -i http://192.168.0.12:8080/v1/AUTH_6cf8398927844e86a8c58e08eb99b457/test_container1/randomFile1.txt -I -H "X-Auth-Token: gAAAAABYvb9s860C06rpSkrwDmVJhnuxfVbmhwXyh0RRlsmaGUyLzScUR9Fdun-r8VYad_WGV6u_MfSbeCX3QH28eV8hGWcoqPd7U8oZmYViQR8KNgTJhz5YcJrvxytC40CY79_B_b1krCnTBLsbqClknDCK4aModDCjwQ7VNnPpHYgr0FWfKkg"
INFO:swiftclient:RESP STATUS: 404 Not Found
INFO:swiftclient:RESP HEADERS: {u'Date': u'Mon, 06 Mar 2017 19:58:36 GMT', u'X-Trans-Id': u'tx9d02d8c3ea9d44e3a19a5-0058bdbf6e', u'Content-Type': u'text/html; charset=UTF-8', u'X-Openstack-Request-Id': u'tx9d02d8c3ea9d44e3a19a5-0058bdbf6e', u'Server': u'Apache/2.4.18 (Ubuntu)'}
DEBUG:requests.packages.urllib3.connectionpool:http://192.168.0.12:8080 "PUT /v1/AUTH_6cf8398927844e86a8c58e08eb99b457/test_container1/randomFile1.txt HTTP/1.1" 201 0
DEBUG:swiftclient:REQ: curl -i http://192.168.0.12:8080/v1/AUTH_6cf8398927844e86a8c58e08eb99b457/test_container1/randomFile1.txt -X PUT -H "x-object-meta-mtime: 1488830040.586183" -H "Content-Length: 1024" -H "Content-Type: " -H "X-Auth-Token: gAAAAABYvb9s860C06rpSkrwDmVJhnuxfVbmhwXyh0RRlsmaGUyLzScUR9Fdun-r8VYad_WGV6u_MfSbeCX3QH28eV8hGWcoqPd7U8oZmYViQR8KNgTJhz5YcJrvxytC40CY79_B_b1krCnTBLsbqClknDCK4aModDCjwQ7VNnPpHYgr0FWfKkg"
DEBUG:swiftclient:RESP STATUS: 201 Created
DEBUG:swiftclient:RESP HEADERS: {u'Content-Length': u'0', u'Server': u'Apache/2.4.18 (Ubuntu)', u'Last-Modified': u'Mon, 06 Mar 2017 19:58:39 GMT', u'Etag': u'0f343b0931126a20f133d67c2b018a3b', u'X-Trans-Id': u'txd7033df028804ec1888ef-0058bdbf6e', u'Date': u'Mon, 06 Mar 2017 19:58:38 GMT', u'Content-Type': u'text/html; charset=UTF-8', u'X-Openstack-Request-Id': u'txd7033df028804ec1888ef-0058bdbf6e'}
randomFile1.txt
stack@sha-devstack-api5:~$
-------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment