When multiple requests are sent in the same connection, metadata responds only to the first

Bug #1434529 reported by Hari Prasad Killi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.0
Fix Committed
Medium
Hari Prasad Killi
R2.1
Fix Committed
Medium
Hari Prasad Killi
Trunk
Fix Committed
Medium
Hari Prasad Killi

Bug Description

From a VM, if the following request is sent to fetch metadata, response is given only to hostname.

curl -v http://169.254.169.254/latest/meta-data/{hostname,local-ipv4}

Issue was due to use of CURLOPT_FORBID_REUSE option while creating the proxy connection to Nova API.

Tags: vrouter
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : master

Review in progress for https://review.opencontrail.org/8513
Submitter: Hari Prasad Killi (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : R2.1

Review in progress for https://review.opencontrail.org/8516
Submitter: Hari Prasad Killi (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : R2.0

Review in progress for https://review.opencontrail.org/8517
Submitter: Hari Prasad Killi (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : R2.1

Review in progress for https://review.opencontrail.org/8516
Submitter: Hari Prasad Killi (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : master

Review in progress for https://review.opencontrail.org/8513
Submitter: Hari Prasad Killi (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : R2.1

Review in progress for https://review.opencontrail.org/8516
Submitter: Hari Prasad Killi (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : master

Review in progress for https://review.opencontrail.org/8513
Submitter: Hari Prasad Killi (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : R2.0

Review in progress for https://review.opencontrail.org/8517
Submitter: Hari Prasad Killi (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : R2.1

Review in progress for https://review.opencontrail.org/8516
Submitter: Hari Prasad Killi (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : master

Review in progress for https://review.opencontrail.org/8513
Submitter: Hari Prasad Killi (<email address hidden>)

Changed in juniperopenstack:
importance: Undecided → Medium
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/8517
Committed: http://github.org/Juniper/contrail-controller/commit/181b4570200ab67a4172eeeee75ec2c02df2eeca
Submitter: Zuul
Branch: R2.0

commit 181b4570200ab67a4172eeeee75ec2c02df2eeca
Author: Hari <email address hidden>
Date: Fri Mar 20 17:48:12 2015 +0530

Do not use CURLOPT_FORBID_REUSE flag while invoking curl, so that
multiple requests can be issued on the same request.

Change-Id: Ie3c1d5739e24c3686808b5bc97f058f8c10522f1
Closes-bug: #1434529
(cherry picked from commit cf7c011d2679df79719c1650e89db53ea1a4aac1)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/8513
Committed: http://github.org/Juniper/contrail-controller/commit/9f531211a870bc568dec220d0d0fd185ff3363d5
Submitter: Zuul
Branch: master

commit 9f531211a870bc568dec220d0d0fd185ff3363d5
Author: Hari <email address hidden>
Date: Fri Mar 20 17:48:12 2015 +0530

Do not use CURLOPT_FORBID_REUSE flag while invoking curl, so that
multiple requests can be issued on the same request.

Change-Id: Ie3c1d5739e24c3686808b5bc97f058f8c10522f1
Closes-bug: #1434529

Changed in juniperopenstack:
status: New → Fix Committed
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : R2.1

Review in progress for https://review.opencontrail.org/8516
Submitter: Hari Prasad Killi (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/8516
Committed: http://github.org/Juniper/contrail-controller/commit/06b881154127cbc2ebeac4e0a5567c137390c44e
Submitter: Zuul
Branch: R2.1

commit 06b881154127cbc2ebeac4e0a5567c137390c44e
Author: Hari <email address hidden>
Date: Fri Mar 20 17:48:12 2015 +0530

Do not use CURLOPT_FORBID_REUSE flag while invoking curl, so that
multiple requests can be issued on the same request.

Change-Id: Id9f695e63b032a6328cae9f24a2c59ff4ef67439
Closes-bug: #1434529

information type: Proprietary → Public
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.