expiring objects warning if replica > 3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Medium
|
Christopher Bartz |
Bug Description
When using a storage-policy with an underneath ring using a replica count > 3 and a container ring with replica == 3, the object server logs following warning
Nov 20 12:20:04 server5 object-server: X-Delete-
for (total_count - replica_count) object servers. The reason lies in lines https:/
The bug is critical because https:/
description: | updated |
Changed in swift: | |
assignee: | nobody → Christopher Bartz (bartz) |
This is straightforward to reproduce in a dev SAIO by putting an object to a 4+2 EC policy:
``` 15:~/swift$ tail -f /var/log/ swift/storage4. error AUTH_test/ c1/LICENSE HTTP/1.1" 404 141 0.000864 (txn: tx82fc8e48cd5a4 e848d339- 005a0428ea) AUTH_test/ c1/LICENSE HTTP/1.1" 201 120 0.000587 (txn: tx20d4a7a566f94 0d4849cb- 005a0428ea) .expiring_ objects/ 1510185559/ 1510222068- AUTH_test/ c1/LICENSE HTTP/1.1" 201 120 0.004376 (txn: tx20d4a7a566f94 0d4849cb- 005a0428ea) At-Container header must be specified for expiring objects background PUT to work properly. Making best guess as to the container name for now. (txn: tx20d4a7a566f94 0d4849cb- 005a0428ea) AUTH_test/ c1/LICENSE HTTP/1.1" 201 181 0.055915 (txn: tx20d4a7a566f94 0d4849cb- 005a0428ea) AUTH_test/ c1/LICENSE HTTP/1.1" 201 120 0.001048 (txn: tx20d4a7a566f94 0d4849cb- 005a0428ea)
swift@vm-
Nov 9 10:07:38 vm-15 object-server: STDERR: 127.0.0.1 - - [09/Nov/2017 10:07:38] "HEAD /sdb4/30/
Nov 9 10:07:38 vm-15 object-server: STDERR: (23538) accepted ('127.0.0.1', 59694)
Nov 9 10:07:38 vm-15 container-server: STDERR: (23519) accepted ('127.0.0.1', 43880)
Nov 9 10:07:38 vm-15 container-server: STDERR: 127.0.0.1 - - [09/Nov/2017 10:07:38] "PUT /sdb8/509/
Nov 9 10:07:38 vm-15 container-server: STDERR: (23519) accepted ('127.0.0.1', 43882)
Nov 9 10:07:38 vm-15 container-server: STDERR: 127.0.0.1 - - [09/Nov/2017 10:07:38] "PUT /sdb4/734/
Nov 9 10:07:38 vm-15 object-server: X-Delete-
Nov 9 10:07:38 vm-15 object-server: STDERR: 127.0.0.1 - - [09/Nov/2017 10:07:38] "PUT /sdb8/30/
Nov 9 10:07:38 vm-15 container-server: STDERR: (23519) accepted ('127.0.0.1', 43894)
Nov 9 10:07:38 vm-15 container-server: STDERR: 127.0.0.1 - - [09/Nov/2017 10:07:38] "PUT /sdb8/509/
```