[Openstack] Swift replication revert my changes

Clay Gerrard clay.gerrard at gmail.com
Tue Apr 21 18:44:04 UTC 2015


maybe a mis-matched hash_path_(prefix|suffix) in swift.conf on the account
node?

On Tue, Apr 21, 2015 at 2:14 AM, Kévin Bernard-Allies <
kbernard-allies at bajoo.fr> wrote:

> Hi,
>
> I've set a new Swift installation for development.
> When I try to create an account or a container, swift-proxy gives me a 201
> response but a GET query on the created ressource returns a 404 error.
>
> I think I found the problem: The account-replicator detect an error and
> revert the creation. However, I don't understand what is this error.
>
> Any help will be appreciated.
>
>
> Apr 21 09:47:48 bjo-dev-stor-003 account-server: 192.168.2.211 - -
> [21/Apr/2015:07:47:48 +0000] "HEAD
> /vdb1/13321/AUTH_79832430596a419ab611ea68020027c0" 404 - "HEAD
> http://127.0.0.1:8080/v1/AUTH_79832430596a419ab611ea68020027c0"
> "txf5e5e425a57e4c5bae3c5-00553600a4" "proxy-server 2985" 0.0005 "-" 1134
> Apr 21 09:47:48 bjo-dev-stor-003 account-server: 192.168.2.211 - -
> [21/Apr/2015:07:47:48 +0000] "PUT
> /vdb1/13321/AUTH_79832430596a419ab611ea68020027c0" 201 - "-"
> "txf5e5e425a57e4c5bae3c5-00553600a4" "-" 0.0084 "-" 1146
> Apr 21 09:47:48 bjo-dev-stor-003 account-server: 192.168.2.211 - -
> [21/Apr/2015:07:47:48 +0000] "HEAD
> /vdb1/13321/AUTH_79832430596a419ab611ea68020027c0" 204 - "HEAD
> http://127.0.0.1:8080/v1/AUTH_79832430596a419ab611ea68020027c0"
> "txf5e5e425a57e4c5bae3c5-00553600a4" "proxy-server 2985" 0.0026 "-" 1134
> Apr 21 09:47:48 bjo-dev-stor-003 account-server: 192.168.2.203 - -
> [21/Apr/2015:07:47:48 +0000] "PUT
> /vdb1/13321/AUTH_79832430596a419ab611ea68020027c0/logs" 201 - "PUT
> http://192.168.2.203:6001/vdb1/1833/AUTH_79832430596a419ab611ea68020027c0/logs"
> "txf5e5e425a57e4c5bae3c5-00553600a4" "container-server 1152" 0.0024 "-" 1146
> Apr 21 09:47:48 bjo-dev-stor-003 object-replicator: Starting object
> replication pass.
> Apr 21 09:47:49 bjo-dev-stor-003 object-replicator: 19/19 (100.00%)
> partitions replicated in 0.19s (100.23/sec, 0s remaining)
> Apr 21 09:47:49 bjo-dev-stor-003 object-replicator: 4 suffixes checked -
> 0.00% hashed, 0.00% synced
> Apr 21 09:47:49 bjo-dev-stor-003 object-replicator: Partition times: max
> 0.0110s, min 0.0083s, med 0.0094s
> Apr 21 09:47:49 bjo-dev-stor-003 object-replicator: Object replication
> complete. (0.00 minutes)
> Apr 21 09:47:49 bjo-dev-stor-003 container-replicator: Beginning
> replication run
> Apr 21 09:47:49 bjo-dev-stor-003 container-replicator: Replication run OVER
> Apr 21 09:47:49 bjo-dev-stor-003 container-replicator: Attempted to
> replicate 15 dbs in 0.15280 seconds (98.16941/s)
> Apr 21 09:47:49 bjo-dev-stor-003 container-replicator: Removed 0 dbs
> Apr 21 09:47:49 bjo-dev-stor-003 container-replicator: 30 successes, 0
> failures
> Apr 21 09:47:49 bjo-dev-stor-003 container-replicator: no_change:30
> ts_repl:0 diff:0 rsync:0 diff_capped:0 hashmatch:0 empty:0
> Apr 21 09:47:52 bjo-dev-stor-003 account-replicator: Beginning replication
> run
> Apr 21 09:47:52 bjo-dev-stor-003 account-replicator: Found
> /srv/node/vdb1/accounts/13321/724/97835eb11533fe0b817312b6e725f724/97835eb11533fe0b817312b6e725f724.db
> for /AUTH_79832430596a419ab611ea68020027c0 when it should be on partition
> 9696; will replicate out and remove.
> Apr 21 09:47:52 bjo-dev-stor-003 account-replicator: Replication run OVER
> Apr 21 09:47:52 bjo-dev-stor-003 account-replicator: Attempted to
> replicate 5 dbs in 0.10578 seconds (47.26696/s)
> Apr 21 09:47:52 bjo-dev-stor-003 account-replicator: Removed 1 dbs
> Apr 21 09:47:52 bjo-dev-stor-003 account-replicator: 10 successes, 0
> failures
> Apr 21 09:47:52 bjo-dev-stor-003 account-replicator: no_change:8 ts_repl:0
> diff:2 rsync:0 diff_capped:0 hashmatch:0 empty:0
>
> ----
> Kevin Bernard-Allies
>
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150421/0dda248b/attachment.html>


More information about the Openstack mailing list