upload to swift from cli shows directories
Bug #1231331 reported by
Dafna Ron
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Expired
|
Undecided
|
Unassigned |
Bug Description
there are some differences between how we see files that are uploaded from horizon and files uploaded from the cli.
if I upload a file from horizon I will just see the file name (i.e upload -> select a dir -> select a file)
if I upload a file from cli, if I specify a directory (i.e /tmp) than horizon will show the entire path
if I upload a file from cli without specifying a directory (i.e cd /tmp swift upload <container> <file>) I see just the file.
I think that there should be consistency between horizon and cli.
also, if you use a linux command like scp for example, the original path is not relevant so I do not think that we should be seeing that in swift as well.
To post a comment you must log in.
also, if we try to remove the directory from horizon:
Error: You do not have permission to delete object: tmp
while cli will give:
[root@nott-vdsa ~(keystone_admin)]# swift delete dafna tmp script- uLSgyo. log
Object 'dafna/tmp' not found
[root@nott-vdsa ~(keystone_admin)]# swift list dafna
tmp/ks-
[root@nott-vdsa ~(keystone_admin)]#