remove files and containers after replication (1 minutes after upload)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
(sorry for my english and russian lang in logs)
On this how-to http://
Upload file:
swift -A https:/
Look stat:
Account: AUTH_system
Containers: 1
Objects: 0
Bytes: 0
After minute, stat:
Account: AUTH_system
Containers: 0
Objects: 0
Bytes: 0
removed.
My rings:
container.builder, build version 6
262144 partitions, 2 replicas, 2 zones, 6 devices, 0.00 balance
The minimum number of hours before a partition can be reassigned is 1
Devices: id zone ip address port name weight partitions balance meta
0 0 172.24.82.102 6001 sdc 100.00 113976 0.00
1 0 172.24.82.102 6001 sdb 30.00 34192 -0.00
2 0 172.24.82.102 6001 sde 100.00 113976 0.00
3 1 172.24.82.103 6001 sdb 30.00 34192 -0.00
4 1 172.24.82.103 6001 sdc 100.00 113976 0.00
5 1 172.24.82.103 6001 sdd 100.00 113976 0.00
Proxy logs:
proxy-server - 172.24.82.2 09/Jul/
proxy-server 172.24.82.2 172.24.82.2 09/Jul/
proxy-server - 172.24.82.2 09/Jul/
proxy-server 172.24.82.2 172.24.82.2 09/Jul/
proxy-server - 172.24.82.2 09/Jul/
proxy-server 172.24.82.2 172.24.82.2 09/Jul/
proxy-server 172.24.82.2 172.24.82.2 09/Jul/
account-replicator Beginning replication run
account-replicator Копирование ЗАВЕРШЕНО
account-replicator Attempted to replicate 0 dbs in 0.00286 seconds (0.00000/s)
Storage 1 logs:
account-server 172.24.82.2 - - [09/Jul/
account-server 172.24.82.2 - - [09/Jul/
account-server 172.24.82.102 - - [09/Jul/
container-server 172.24.82.2 - - [09/Jul/
object-server 172.24.82.2 - - [09/Jul/
container-server 172.24.82.2 - - [09/Jul/
container-server 172.24.82.103 - - [09/Jul/
object-server 172.24.82.2 - - [09/Jul/
object-auditor Object audit (ALL) "forever" mode completed: 7.88s. Total quarantined: 0, Total errors: 0, Total files/sec: 12.81 , Total bytes/sec: 9997171.31, Auditing time: 7.87, Rate: 1.00
object-replicator Starting object replication pass.
object-replicator 101/101 (100.00%) partitions replicated in 0.95s (106.17/sec, 0s remaining)
object-replicator 101 suffixes checked - 0.99% hashed, 0.00% synced
object-replicator Partition times: max 0.6752s, min 0.0022s, med 0.0024s
object-replicator Object replication complete. (0.02 minutes)
object-auditor Begin object audit "forever" mode (ZBF)
account-replicator Beginning replication run
account-replicator Found /srv/node/
account-replicator Replication run OVER
account-replicator Attempted to replicate 2 dbs in 0.71388 seconds (2.80160/s)
account-replicator Removed 1 dbs
account-replicator 3 успешно, 0 ошибочно
account-replicator no_change:1 ts_repl:0 diff:2 rsync:0 diff_capped:0 hashmatch:0 empty:0
object-auditor Object audit (ZBF) "forever" mode completed: 2.00s. Total quarantined: 0, Total errors: 0, Total files/sec: 50.48 , Total bytes/sec: 0.00, Auditing time: 1.99, Rate: 0.99
container-
container-
container-
container-
container-
container-
container-
object-auditor Begin object audit "forever" mode (ALL)
object-auditor Object audit (ALL) "forever" mode completed: 7.88s. Total quarantined: 0, Total errors: 0, Total files/sec: 12.82 , Total bytes/sec: 9997602.58, Auditing time: 7.87, Rate: 1.00
Storage 2 logs:
account-server 172.24.82.103 - - [09/Jul/
container-server 172.24.82.2 - - [09/Jul/
object-server 172.24.82.2 - - [09/Jul/
container-server 172.24.82.102 - - [09/Jul/
object-auditor Object audit (ALL) "forever" mode completed: 7.89s. Total quarantined: 0, Total errors: 0, Total files/sec: 12.80 , Total bytes/sec: 9988169.79, Auditing time: 7.88, Rate: 1.00
object-replicator Starting object replication pass.
object-replicator 101/101 (100.00%) partitions replicated in 0.82s (123.22/sec, 0s remaining)
object-replicator 101 suffixes checked - 0.00% hashed, 0.00% synced
object-replicator Partition times: max 0.5463s, min 0.0023s, med 0.0024s
object-replicator Object replication complete. (0.01 minutes)
object-auditor Begin object audit "forever" mode (ZBF)
object-auditor Object audit (ZBF) "forever" mode completed: 2.00s. Total quarantined: 0, Total errors: 0, Total files/sec: 50.47 , Total bytes/sec: 0.00, Auditing time: 1.99, Rate: 0.99
container-
container-
container-
container-
container-
container-
container-
account-replicator Beginning replication run
account-replicator Found /srv/node/
account-replicator Replication run OVER
account-replicator Attempted to replicate 2 dbs in 0.02748 seconds (72.77771/s)
account-replicator Removed 1 dbs
account-replicator 2 успешно, 0 ошибочно
account-replicator no_change:1 ts_repl:0 diff:1 rsync:0 diff_capped:0 hashmatch:0 empty:0
What is it?
Changed in swift: | |
status: | New → Incomplete |
I don't see anything from the container-updater in the logs. The container-updater is the only thing that syncs container stats to the account.
When account stat shows 0 containers can you still:
swift stat myfiles
swift stat myfiles /var/log/syslog.1