[Bug 1032619] Re: Upload --change uploads everything
Pradeep Kumar Singh
ps4openstack at gmail.com
Wed Dec 7 03:51:47 UTC 2016
** Changed in: python-swiftclient (Ubuntu)
Assignee: Pradeep Kumar Singh (pradeep-singh-u) => (unassigned)
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-swiftclient in Ubuntu.
https://bugs.launchpad.net/bugs/1032619
Title:
Upload --change uploads everything
Status in python-swiftclient:
Triaged
Status in python-swiftclient package in Ubuntu:
Triaged
Bug description:
The --change flag for swift client is not used, if I had files in my
directory and try to continue upload, it uploads everything.
Here is how I checked :
root at test-server:~/test_upload_swift# dd if=/dev/urandom of=test_file_01 bs=1M count=100
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 9.53983 s, 11.0 MB/s
root at test-server:~/test_upload_swift# dd if=/dev/urandom of=test_file_02 bs=1M count=100
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 9.57748 s, 10.9 MB/s
root at test-server:~/test_upload_swift# dd if=/dev/urandom of=test_file_03 bs=1M count=100
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 9.55197 s, 11.0 MB/s
root at test-server:~/test_upload_swift# dd if=/dev/urandom of=test_file_04 bs=1M count=100
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 9.55002 s, 11.0 MB/s
root at test-server:~/test_upload_swift# cd ..
root at test-server:~# time swift -v -V 2 -U userAccount:userAccount -K userPassword -A http://keystone.local:5000/v2.0 upload -c test-container test_upload_swift
test_upload_swift/test_file_02
test_upload_swift/test_file_01
test_upload_swift/test_file_03
test_upload_swift/test_file_04
real 0m6.557s
user 0m0.748s
sys 0m0.496s
root at test-server:~# cd test_upload_swift/
root at test-server:~/test_upload_swift# dd if=/dev/urandom of=test_file_05 bs=1M count=100
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 9.56193 s, 11.0 MB/s
root at test-server:~/test_upload_swift# dd if=/dev/urandom of=test_file_06 bs=1M count=100
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 9.52996 s, 11.0 MB/s
root at test-server:~/test_upload_swift# dd if=/dev/urandom of=test_file_07 bs=1M count=100
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 9.56446 s, 11.0 MB/s
root at test-server:~/test_upload_swift# dd if=/dev/urandom of=test_file_08 bs=1M count=100
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 9.53834 s, 11.0 MB/s
root at test-server:~/test_upload_swift# cd
root at test-server:~# time swift -v -V 2 -U userAccount:userAccount -K userPassword -A http://keystone.local:5000/v2.0 upload -c test-container test_upload_swift
test_upload_swift/test_file_03
test_upload_swift/test_file_08
test_upload_swift/test_file_02
test_upload_swift/test_file_01
test_upload_swift/test_file_07
test_upload_swift/test_file_06
test_upload_swift/test_file_05
test_upload_swift/test_file_04
real 0m14.067s
user 0m1.156s
sys 0m0.948s
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-swiftclient/+bug/1032619/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list