Swift-container_synchronization is showing "Invalid host 'host IP' in X-Container-Sync-To" in the response body (400)

Bug #1093743 reported by Harika Vakadi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Invalid
Undecided
Unassigned
devstack
Invalid
Undecided
Unassigned

Bug Description

While trying to make synchronization between to containers in two different accounts, it is throwing an error which says "Invalid host '10.233.52.240' in X-Container-Sync-To" (400)

project1_user1_url = http://10.233.52.240:8080/v1/AUTH_5b5859b059434cb79f731773fc4fa91f
user1_container1 = contAdmin
project2_user2_url = http://10.233.52.240:8080/v1/AUTH_7bb6504e2649400f8b7a6ae6f66ef7c6
user2_container2 = cont_240

Trying to update the container metadata, this is to synchronize the user1_container1 with user2_container2, Below is the command and result of it.

root@Grizzly-machine1:~# swift post -t http://10.233.52.240:8080/v1/AUTH_5b5859b059434cb79f731773fc4fa91f/contAdmin -k secret cont_240

Container POST failed: http://10.233.52.240:8080/v1/AUTH_7bb6504e2649400f8b7a6ae6f66ef7c6/cont_240 400 Bad Request Invalid host '10.233.52.240' in X-Container-Sync-To

Tags: tempest
Revision history for this message
Harika Vakadi (harika-vakadi) wrote :
summary: Swift-container_synchronization is showing "Invalid host 'host IP' in
- X-Container-Sync-To" in the response body
+ X-Container-Sync-To" in the response body (400)
description: updated
tags: added: tempest
Revision history for this message
Samuel Merritt (torgomatic) wrote :

That happens when your allowed_sync_hosts config setting isn't correct in your container server's config.

See http://docs.openstack.org/developer/swift/overview_container_sync.html#configuring-a-cluster-s-allowable-sync-hosts for details.

Changed in swift:
status: New → Invalid
Dean Troyer (dtroyer)
Changed in devstack:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.