Comment 1 for bug 1349528

Revision history for this message
Ashish Chandra (ashish-chandra) wrote :

The issue can be seen only when using Ceph RadosGW. With openstack swift endpoint store we get the output as expected.

ashish@openstack-master:~$ swift list
new_cont
ashish@openstack-master:~$ swift list --lh
    5 165K 2014-07-28 11:17:09 new_cont
    5 165K

But with Ceph RadosGW we have:

ashish@firefly-master:~$ swift list --lh
Traceback (most recent call last):
  File "/usr/local/bin/swift", line 6, in <module>
    exec(compile(open(__file__).read(), __file__, 'exec'))
  File "/opt/stack/python-swiftclient/bin/swift", line 24, in <module>
    sys.exit(main())
  File "/opt/stack/python-swiftclient/swiftclient/shell.py", line 1600, in main
    globals()['st_%s' % args[0]](parser, argv[1:], thread_manager)
  File "/opt/stack/python-swiftclient/swiftclient/shell.py", line 602, in st_list
    utc = gmtime(float(meta.get('x-timestamp')))
TypeError: float() argument must be a string or a number