yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #26719
[Bug 1373333] Re: glance-replicator livecopy cannot work due to Bad header: x-image-meta-virtual-size
Hi Jokke,
The fix has been merged into Kilo branch, I will close this bug.
** Changed in: glance
Status: New => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1373333
Title:
glance-replicator livecopy cannot work due to Bad header: x-image-
meta-virtual-size
Status in OpenStack Image Registry and Delivery Service (Glance):
Fix Released
Bug description:
I would like to use "glance-replicator livecopy" command to replicate
the images from one openstack instance to anthor, it goes to error
while running the livecopy command:
2014-09-24 17:32:09.082 24953 CRITICAL glance [-]
ServerErrorException: 400 Bad Request
The server could not comply with the request since it is either
malformed or otherwise incorrect.
Bad header: x-image-meta-virtual-size
2014-09-24 17:32:09.082 24953 TRACE glance Traceback (most recent call last):
2014-09-24 17:32:09.082 24953 TRACE glance File "/usr/bin/glance-replicator", line 10, in <module>
2014-09-24 17:32:09.082 24953 TRACE glance sys.exit(main())
2014-09-24 17:32:09.082 24953 TRACE glance File "/usr/lib/python2.6/site-packages/glance/cmd/replicator.py", line 739, in main
2014-09-24 17:32:09.082 24953 TRACE glance command(options, args)
2014-09-24 17:32:09.082 24953 TRACE glance File "/usr/lib/python2.6/site-packages/glance/cmd/replicator.py", line 516, in replication_livecopy
2014-09-24 17:32:09.082 24953 TRACE glance image_response)
2014-09-24 17:32:09.082 24953 TRACE glance File "/usr/lib/python2.6/site-packages/glance/cmd/replicator.py", line 238, in add_image
2014-09-24 17:32:09.082 24953 TRACE glance response = self._http_request('POST', url, headers, image_data)
2014-09-24 17:32:09.082 24953 TRACE glance File "/usr/lib/python2.6/site-packages/glance/cmd/replicator.py", line 125, in _http_request
2014-09-24 17:32:09.082 24953 TRACE glance raise ServerErrorException(response.read())
2014-09-24 17:32:09.082 24953 TRACE glance ServerErrorException: 400 Bad Request
2014-09-24 17:32:09.082 24953 TRACE glance
2014-09-24 17:32:09.082 24953 TRACE glance The server could not comply with the request since it is either malformed or otherwise incorrect.
2014-09-24 17:32:09.082 24953 TRACE glance
2014-09-24 17:32:09.082 24953 TRACE glance Bad header: x-image-meta-virtual-size
2014-09-24 17:32:09.082 24953 TRACE glance
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1373333/+subscriptions
References