Why won't containers show when I run containers status command?
Via Horizon I created few containers and uploaded there some files .
But when I run containers status command neither of them are listed .Why ?
root@control01# swift -V 2 -A http://10.43.16.2:5000/v2.0/ -V 2 -U services:swift -K swift_pass stat
Account: AUTH_07a9981a8978415aa9a0bf6c4b5dbbfa
Containers: 0
Objects: 0
Bytes: 0
Accept-Ranges: bytes
X-Timestamp: 1380714808.07563
X-Trans-Id: txb80b53f1261a43eea757ecc56c39b5e9
Content-Type: text/plain; charset=utf-8
Are the Dashboard swift user & the one you are passing via command line are same?
Yes . It's easy to check - if I change swift user password I get error .this time I have another OS setup with the same problem . root@control01:~# swift -v -V 2.0 -A http://10.63.16.238:5000/v2.0/ -U services:swift -K swift_pass1 stat Unauthorised. Check username, password and tenant name/id
As swift user in Dashboard I created a new container .then it possible to list it : # swift -v -V 2.0 -A http://10.63.16.238:5000/v2.0/ -U services:swift -K swift_pass stat Account: AUTH_a3af2b40ad73436fab6bf28b208e12a1 Containers: 1 Objects: 0 Bytes: 0 Accept-Ranges: bytes X-Timestamp: 1381235066.97772 X-Trans-Id: tx85e9b05914554dc088340e2f652d7721 Content-Type: text/plain; charset=utf-8 root@control01:~# swift -v -V 2.0 -A http://10.63.16.238:5000/v2.0/ -U services:swift -K swift_pass list swift-demo root@control01:~# swift -v -V 2.0 -A http://10.63.16.238:5000/v2.0/ -U services:swift -K swift_pass list swift-demo image So , other users can create thier containers but the are not visible in CLI .
Is via dashboard you have defined same credentials? user/tenent/roles