swift client delete object failed -


environment

  • swift client in centos7(10.0.0.2) bash [root@bogon ~]# pip2 show python-swiftclient name: python-swiftclient version: 2.7.0 summary: openstack object storage api client library home-page: http://www.openstack.org/ author: openstack author-email: openstack-dev@lists.openstack.org license: unknown location: /usr/lib/python2.7/site-packages requires: futures, six, requests
  • swift server in centos7(10.0.0.4) bash [root@bogon ~]# swift --version python-swiftclient 3.2.1.dev9

question

  • swift client login server ,and delete 1 .jpg file in container "temporary".

details

[root@bogon ~]# swift -a http://10.0.0.4:8080/auth/v1.0 -u admin:admin -k admin_pass list contract data mask_contract temporary
[root@bogon ~]# swift -a http://10.0.0.4:8080/auth/v1.0 -u admin:admin -k 806huayuan list temporary | tail 9f2f8626-a2ad-11e7-ad0b-1866daecc1a0.jpg a25ebf08-a2b0-11e7-ad0b-1866daecc1a0.jpg a6cfc990-a2ad-11e7-ad0b-1866daecc1a0.jpg a8732914-a216-11e7-ad0b-1866daecc1a0.jpg a87cda6a-77f8-11e7-befe-1866daecc1a0.jpg ad186efc-a216-11e7-ad0b-1866daecc1a0.jpg b255e2e6-a216-11e7-ad0b-1866daecc1a0.jpg d1d010f2-0129-11e8-8cef-1866daecc1a0.jpg f779a1ea-a2ad-11e7-ad0b-1866daecc1a0.jpg ff4fbf7e-aa70-11e7-bbe0-1866daecc1a0.jpg
[root@bogon ~]# swift -a http://10.0.0.4:8080/auth/v1.0 -u admin:admin -k 806huayuan delete temporary ff4fbf7e-aa70-11e7-bbe0-1866daecc1a0.jpg error deleting: temporary/f779a1ea-a2ad-11e7-ad0b-1866daecc1a0.jpg: object delete failed: http://10.0.0.4:8080/v1/auth_admin/temporary/f779a1ea-a2ad-11e7-ad0b-1866daecc1a0.jpg 409 conflict [first 60 chars of response] there conflict when trying t

got it! reason timestamp assigned delete earlier timestamp of objects.

http://lists.openstack.org/pipermail/openstack-dev/2014-april/033438.html


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -