swift upload myfiles test.txt Error trying to create container 'myfiles': 404 Not Found:

asked 2016-06-13 05:13:16 -0500

Sandipan gravatar image

While trying to create a container and copy files to it, I am getting the following errors . My controller is acting as a proxy server for swift . Having an ip 10.0.0.11 swift upload myfiles test.txt Error trying to create container 'myfiles': 404 Not Found: <html>

Not Found

The resource could not be found.< Object PUT failed: http://controller:8080:8080/v1/AUTH_d6f383ea237d4b589662857c106a932b/myfiles/test.txt (http://controller:8080:8080/v1/AUTH_d...) 404 Not Found [first 60 chars of response]

Not Found

The resource could not be found.<


Swift stat output is ok

cloud@controller:~$ swift stat Account: AUTH_d6f383ea237d4b589662857c106a932b Containers: 0 Objects: 0 Bytes: 0 Content-Type: text/plain; charset=utf-8 X-Timestamp: 1465810872.68699 X-Trans-Id: tx371d7b8cbca948318a6ed-00575e7fb7 X-Put-Timestamp: 1465810872.68699 cloud@controller:~$ keystone user-list +----------------------------------+---------+---------+-------------------+ | id | name | enabled | email | +----------------------------------+---------+---------+-------------------+ | a9f490ed19b64711b2ba819baefbeaf3 | admin | True | admin@gmail.com | | bd6ed2653c95431884bb5e074881242c | cinder | True | cinder@123.com | | 388dd8ab045e4d0dacac76fcac7b1fad | demo | True | demo@gmail.com | | 3c0febfbc58b4279823542f08b9fd291 | glance | True | glance@gmail.com | | 0ca77d6f74934a299e48b8c404285e58 | neutron | True | neutron@gmail.com | | 9ea1ec03fcde4cc3a1f9f632385ae5ac | nova | True | nova@gmail.com | | 4fe86ff40214476ab3eaf0db818c03b8 | swift | True | swift@123.com | +----------------------------------+---------+---------+-------------------+ cloud@controller:~$ keystone tenant-list +----------------------------------+---------+---------+ | id | name | enabled | +----------------------------------+---------+---------+ | d6f383ea237d4b589662857c106a932b | admin | True | | cd5290863c564d16ba5d48a711025cec | demo | True | | c8353d4219594ab9b51fe8f5bdf5a540 | service | True | +----------------------------------+---------+---------+ cloud@controller:~$ keystone endpoint-list +----------------------------------+-----------+----------------------------------------------+----------------------------------------------+-----------------------------------------+----------------------------------+ | id | region | publicurl | internalurl | adminurl | service_id | +----------------------------------+-----------+----------------------------------------------+----------------------------------------------+-----------------------------------------+----------------------------------+ | 4f4715c5373f4022a45c4917517a46b4 | regionOne | http://controller:8774/v2/%25(tenant_id)s (http://controller:8774/v2/%(tenant_id)s) | http://controller:8774/v2/%25(tenant_id)s (http://controller:8774/v2/%(tenant_id)s) | http://controller:8774/v2/%25(tenant_id)s (http://controller:8774/v2/%(tenant_id)s) | 91a4eff3d0e747b0ac2f6d05132956bd | | 6633a0df310b454ca1308c381b696056 | regionOne | http://controller:8080/v1/AUTH_%25(tenant_id)s (http://controller:8080/v1/AUTH_%(tena...) | http://controller:8080/v1/AUTH_%25(tenant_id)s (http://controller:8080/v1/AUTH_%(tena...) | http://controller:8080 | bc67b360172245e9a1e180f08ce96dc9 | | a75cb92a6a574e49b7a8c47f6215fe99 | regionOne | http://controller:8776/v2/%25(tenant_id)s (http://controller:8776/v2/%(tenant_id)s) | http://controller:8776/v2/%25(tenant_id)s (http://controller:8776/v2/%(tenant_id)s) | http://controller:8776/v2/%25(tenant_id)s (http://controller:8776/v2/%(tenant_id)s) | 93cc61f9bd934118af3f94a3bd5e381e | | b3a15d19b36149fc804da76c26967a44 | regionOne | http://controller:9292 | http://controller:9292 | http://controller:9292 | e3eb6fa6c5a04c0e87a298e90c2cc357 | | d176a469d84e48d9930a7a9b8f256564 | regionOne | http://controller:8776/v1/%25(tenant_id)s (http://controller:8776/v1/%(tenant_id)s) | http://controller:8776/v1/%25(tenant_id)s (http://controller:8776/v1/%(tenant_id)s) | http://controller:8776/v1/%25(tenant_id)s (http://controller:8776/v1/%(tenant_id)s) | 3dc23195c48848fba0749c813054880d | | f03354ebbf2f41de8db88549e5edf02b | regionOne | http://controller:9696 | http://controller:9696 | http://controller:9696 | 7c21b823b2814788ae598fd37c16d071 | | f57f0a6282e443a7aa47c2e5cdad936d | regionOne | http://controller:5000/v2.0 | http://controller:5000/v2.0 | http://controller:35357/v2.0 | a1baf96416974e609b8b4bf4606aaba0 | +----------------------------------+-----------+----------------------------------------------+----------------------------------------------+-----------------------------------------+----------------------------------+ What is the problem here ? Can anybody faced the same problem ? Is there any help available ?

edit retag flag offensive close merge delete