[Bug 1587261] Re: Mitaka - Issues authenticating against radosgw + bucket creation date of 19700101

Edward Hope-Morley edward.hope-morley at canonical.com
Fri Sep 30 14:07:07 UTC 2016


This does appear to be a bug in the ceph rados gateway swift api code.
My account and object timestamps appear to be working fine but not
container timestamps. Support for Swift container X-Timestamp was added
around the Infernalis timeframe [0] so it should definitely be working
in Jewel.

[0]
https://github.com/ceph/ceph/commit/b7e9bf6b98ee48d1977d907a9e5130c0ce073c54

** Also affects: ceph (Ubuntu)
   Importance: Undecided
       Status: New

** Summary changed:

- Mitaka - Issues authenticating against radosgw + bucket creation date of 19700101
+ Swift container X-Timestamp unset by Rados Gateway

** Summary changed:

- Swift container X-Timestamp unset by Rados Gateway
+ Swift container X-Timestamp not set by Rados Gateway

** No longer affects: openstack-dashboard (Juju Charms Collection)

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/1587261

Title:
  Swift container X-Timestamp not set by Rados Gateway

Status in ceph package in Ubuntu:
  New

Bug description:
  When creating a swift/radosgw container in horizon the container gets
  created, but shows up with a creation date of 19700101

  In the apache log one can observe

  curl -i http://10.11.140.241:80/swift/v1/bucket1 -I -H "X-Auth-Token:  ...
  Container HEAD failed: http://10.11.140.241:80/swift/v1/bucket1 404 Not Found

  However a manual curl call succeeds. Also the radosgw.log shows
  successful PUT/GET requests.

  I get similar results using the swift command line utility with
  containers inheriting a creation date of 19700101 even though I can
  see the correct date being passed to rados in the headers of the
  request.

  Also similarly issues with ceilometer intergration, similarly linked:

  2016-05-31 06:28:16.931 1117922 WARNING ceilometer.agent.manager [-] Continue after error from storage.containers.objects: Account GET failed: http://10.101.140.241:80/swift/v1/AUTH_025d6aa2af18415a87c012211edb7fea?format=json 404 Not Found  [first 60 chars of response] {"Code":"NoSuchBucket","BucketName":"AUTH_025d6aa2af18415a87
  2016-05-31 06:28:16.931 1117922 ERROR ceilometer.agent.manager Traceback (most recent call last):

  
  This is using charm version: 86 against Openstack Mitaka

  This also seems pretty reproduceable with any ceph, ceph-rados and
  mitaka install via the juju charms.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1587261/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list