Comment 5 for bug 1032619

Revision history for this message
Naveen T J (naveen-tj) wrote :

Please try to list the objects of container along with time stamp. May be it can give clear picture if it is uploading all files or just listing the objects which are there in directory.

A I ran a same test and found only latest changed files are getting uploaded.

Also please check I have used python-client of different version. My suggestion in this post to cross check one more time with time stamp with your packages.

I have listed the packages list too which are used by me to do this test.

# time swift -v -A http://x.x.x.76:35357/v3 upload -c container2 test-upload-swift/
test-upload-swift/test_file_02
test-upload-swift/test_file_01
test-upload-swift/object1

real 0m48.316s
user 0m0.652s
sys 0m0.120s

# swift list -l container2
        1198 2016-02-02 05:37:22 Desktop/BLOB_to_FILE.txt
           0 2016-02-02 05:34:02 Desktop/Untitled Folder
         344 2016-02-05 04:31:17 keystone_rcadmin
          39 2016-02-10 07:06:10 object1
          27 2016-02-10 07:06:11 object2
          74 2016-02-10 07:08:25 object3
          39 2016-02-10 15:54:02 test-upload-swift/object1
   104857600 2016-02-10 15:54:02 test-upload-swift/test_file_01
   104857600 2016-02-10 15:54:02 test-upload-swift/test_file_02
   209716921

# touch test-upload-swift/object1

# time swift -v -A http://x.x.x.76:35357/v3 upload -c container2 test-upload-swift/
test-upload-swift/test_file_01
test-upload-swift/test_file_02
test-upload-swift/object1

real 0m1.265s
user 0m0.597s
sys 0m0.101s

# swift list -l container2
        1198 2016-02-02 05:37:22 Desktop/BLOB_to_FILE.txt
           0 2016-02-02 05:34:02 Desktop/Untitled Folder
         344 2016-02-05 04:31:17 keystone_rcadmin
          39 2016-02-10 07:06:10 object1
          27 2016-02-10 07:06:11 object2
          74 2016-02-10 07:08:25 object3
          39 2016-02-10 15:55:49 test-upload-swift/object1
   104857600 2016-02-10 15:54:02 test-upload-swift/test_file_01
   104857600 2016-02-10 15:54:02 test-upload-swift/test_file_02
   209716921

# ls -ltr test-upload-swift/*
-rw-r--r-- 1 root root 104857600 Feb 10 10:53 test-upload-swift/test_file_02
-rw-r--r-- 1 root root 104857600 Feb 10 10:53 test-upload-swift/test_file_01
-rw-r--r-- 1 root root 39 Feb 10 10:55 test-upload-swift/object1

# rpm -qa | grep swift
openstack-swift-plugin-swift3-1.7-4.el7.noarch
openstack-swift-container-2.5.0-1.el7.noarch
openstack-swift-proxy-2.5.0-1.el7.noarch
python-swiftclient-2.6.0-1.el7.noarch
openstack-swift-2.5.0-1.el7.noarch