yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #05933
[Bug 1245444] [NEW] failure and no ability to reset contents for reupload
You have been subscribed to a public bug:
I configured swift as my glance backend.
I have 5 data servers, 2 zones and replicas.
CONFIG_SWIFT_STORAGE_HOSTS=10.35.XX.XX,10.35.XX.XX,10.35.XX.XX,10.35.XX.XX,10.35.XX.XX
# Number of swift storage zones, this number MUST be no bigger than
# the number of storage devices configured
CONFIG_SWIFT_STORAGE_ZONES=2
# Number of swift storage replicas, this number MUST be no bigger
# than the number of storage zones configured
CONFIG_SWIFT_STORAGE_REPLICAS=2
# FileSystem type for storage nodes
CONFIG_SWIFT_STORAGE_FSTYPE=ext4
I fail to create an image due to space issue on the data servers and when I run swift list I can see leftovers + errors in glance log about reset of content:
2013-10-28 13:12:39.518 4957 ERROR glance.store.swift [-] Failed to add object to Swift.
Got error from Swift: put_object('glance', 'eb51f83b-7993-4e94-bba3-9ad9dc7e8525-00001', ...) failure and no ability to reset contents for reupload.
2013-10-28 13:12:39.518 4957 ERROR glance.api.v1.upload_utils [-] Failed to upload image eb51f83b-7993-4e94-bba3-9ad9dc7e8525
2013-10-28 13:12:39.518 4957 TRACE glance.api.v1.upload_utils Traceback (most recent call last):
2013-10-28 13:12:39.518 4957 TRACE glance.api.v1.upload_utils File "/usr/lib/python2.6/site-packages/glance/api/v1/upload_utils.py", line 101, in upload_data_to_store
2013-10-28 13:12:39.518 4957 TRACE glance.api.v1.upload_utils store)
2013-10-28 13:12:39.518 4957 TRACE glance.api.v1.upload_utils File "/usr/lib/python2.6/site-packages/glance/store/__init__.py", line 333, in store_add_to_backend
2013-10-28 13:12:39.518 4957 TRACE glance.api.v1.upload_utils (location, size, checksum, metadata) = store.add(image_id, data, size)
2013-10-28 13:12:39.518 4957 TRACE glance.api.v1.upload_utils File "/usr/lib/python2.6/site-packages/glance/store/swift.py", line 441, in add
2013-10-28 13:12:39.518 4957 TRACE glance.api.v1.upload_utils raise glance.store.BackendException(msg)
2013-10-28 13:12:39.518 4957 TRACE glance.api.v1.upload_utils BackendException: Failed to add object to Swift.
2013-10-28 13:12:39.518 4957 TRACE glance.api.v1.upload_utils Got error from Swift: put_object('glance', 'eb51f83b-7993-4e94-bba3-9ad9dc7e8525-00001', ...) failure and no ability to reset contents for reupload.
2013-10-28 13:12:39.518 4957 TRACE glance.api.v1.upload_utils
(END)
[root@opens-vdsb ~(keystone_glance)]# swift list glance
5a2a41a3-cfb7-4ba6-80f0-3c43690cdd02-00001
be662602-52e9-49cc-93f7-955847190d76
eb51f83b-7993-4e94-bba3-9ad9dc7e8525-00001
** Affects: glance
Importance: Undecided
Status: New
--
failure and no ability to reset contents for reupload
https://bugs.launchpad.net/bugs/1245444
You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance.