[Errno 22] Invalid Argument if negative integer passed as --segment-size param in upload

Bug #1453135 reported by Inessa Vasilevskaya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-swiftclient
Fix Released
Undecided
Pradeep Kumar Singh

Bug Description

Passing negative integer as --segment-size param results in endless

[Errno 22] Invalid argument
[Errno 22] Invalid argument
[Errno 22] Invalid argument
[Errno 22] Invalid argument
[Errno 22] Invalid argument
[Errno 22] Invalid argument
[Errno 22] Invalid argument
[Errno 22] Invalid argument
[Errno 22] Invalid argument
[Errno 22] Invalid argument
[Errno 22] Invalid argument
[Errno 22] Invalid argument
[Errno 22] Invalid argument
[Errno 22] Invalid argument
[Errno 22] Invalid argument
[Errno 22] Invalid argument
[Errno 22] Invalid argument
[Errno 22] Invalid argument
[Errno 22] Invalid argument
[Errno 22] Invalid argument
[Errno 22] Invalid argument
[Errno 22] Invalid argument
[Errno 22] Invalid argument
[Errno 22] Invalid argument

swift --os-username service:glance-swift --os-password inamos SOMEPASS glance --segment-size -42 worlddump-2015-01-19-144517.txt

Changed in python-swiftclient:
status: New → Confirmed
Changed in python-swiftclient:
assignee: nobody → pradeep kumar singh (pradeep-singh-u)
Changed in python-swiftclient:
status: Confirmed → In Progress
Revision history for this message
Pradeep Kumar Singh (pradeep-singh-u) wrote :
Changed in python-swiftclient:
status: In Progress → Fix Committed
Changed in python-swiftclient:
milestone: none → 2.5.0
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.