Need to handle delay between vm launch and lb traffic check

Bug #1736250 reported by wenqing liang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.2
Fix Committed
Critical
Senthilnathan Murugappan
R4.0
Fix Committed
Critical
Senthilnathan Murugappan
R4.1
Fix Committed
Critical
Senthilnathan Murugappan
Trunk
Fix Committed
Critical
Senthilnathan Murugappan

Bug Description

seen in lb tests, e.g. test_lbaas_client_pool_in_same_net, TestLBaaSV2.test_lbaas_with_different_fip.

2017-12-02 01:09:39,577 - DEBUG - VM <Server: ctest-TestLBaaSV2-72000358-36981583> is in ACTIVE state now
2017-12-02 01:09:39,900 - DEBUG - VM ctest-TestLBaaSV2-72000358-36981583 ID is 56e5d06d-a3cc-404d-95aa-5d055ce9002a
2017-12-02 01:09:40,012 - DEBUG - VM ctest-TestLBaaSV2-72000358-36981583 launched on Node server9
2017-12-02 01:09:41,083 - DEBUG - Requesting: http://10.0.0.10:8082/virtual-machine/56e5d06d-a3cc-404d-95aa-5d055ce9002a
2017-12-02 01:09:41,330 - DEBUG - Requesting: http://10.0.0.10:8082/virtual-machine/56e5d06d-a3cc-404d-95aa-5d055ce9002a
2017-12-02 01:09:41,494 - DEBUG - Requesting: http://10.0.0.10:8082/virtual-machine-interface/b5b203ae-3b48-4d26-9462-53d5cd1d8e02
2017-12-02 01:09:41,598 - DEBUG - Requesting: http://10.0.0.10:8082/virtual-machine/56e5d06d-a3cc-404d-95aa-5d055ce9002a
2017-12-02 01:09:41,714 - DEBUG - Requesting: http://10.0.0.10:8082/virtual-machine-interface/b5b203ae-3b48-4d26-9462-53d5cd1d8e02
2017-12-02 01:09:41,748 - DEBUG - Requesting: http://10.0.0.10:8082/virtual-machine/56e5d06d-a3cc-404d-95aa-5d055ce9002a
2017-12-02 01:09:41,773 - DEBUG - Requesting: http://10.0.0.10:8082/virtual-machine-interface/b5b203ae-3b48-4d26-9462-53d5cd1d8e02
2017-12-02 01:09:41,804 - DEBUG - Requesting: http://10.0.0.10:8082/virtual-machine/56e5d06d-a3cc-404d-95aa-5d055ce9002a
2017-12-02 01:09:41,832 - DEBUG - Requesting: http://10.0.0.10:8082/virtual-machine-interface/b5b203ae-3b48-4d26-9462-53d5cd1d8e02
2017-12-02 01:09:45,054 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 999ms')
2017-12-02 01:09:45,054 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestLBaaSV2-72000358-36981583 failed!

AssertionError: lb-method ROUND_ROBIN doesnt work as expcted, First time requests went to servers set(['ctest-TestLBaaSV2-72000358-12914655']) subsequent requests went to servers set(['ctest-TestLBaaSV2-72000358-12914655', 'ctest-TestLBaaSV2-72000358-09706819'])

Jeba Paulaiyan (jebap)
summary: - Need to extend delay between vm launch and lb traffic check
+ Need to handle delay between vm launch and lb traffic check
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/38112
Submitter: Senthilnathan Murugappan (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/38122
Submitter: Senthilnathan Murugappan (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/38122
Committed: http://github.com/Juniper/contrail-test-ci/commit/f7cb56f01679f3d4f63bad320cfbeee84ae815d5
Submitter: Zuul (<email address hidden>)
Branch: master

commit f7cb56f01679f3d4f63bad320cfbeee84ae815d5
Author: Senthilnathan Murugappan <email address hidden>
Date: Mon Dec 4 17:31:38 2017 -0800

Adding delay before doing curl requests

Change-Id: I2bda743b2732696089b3050c0295f3e1511ce14d
Closes-Bug: 1736250

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.1

Review in progress for https://review.opencontrail.org/38148
Submitter: Senthilnathan Murugappan (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.0

Review in progress for https://review.opencontrail.org/38149
Submitter: Senthilnathan Murugappan (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.2

Review in progress for https://review.opencontrail.org/38150
Submitter: Senthilnathan Murugappan (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/38148
Committed: http://github.com/Juniper/contrail-test-ci/commit/793c79ab170c02e856461128ed3710e704705715
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit 793c79ab170c02e856461128ed3710e704705715
Author: Senthilnathan Murugappan <email address hidden>
Date: Mon Dec 4 17:31:38 2017 -0800

Adding delay before doing curl requests

Change-Id: I2bda743b2732696089b3050c0295f3e1511ce14d
Closes-Bug: 1736250
(cherry picked from commit f7cb56f01679f3d4f63bad320cfbeee84ae815d5)

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

Reviewed: https://review.opencontrail.org/38150
Committed: http://github.com/Juniper/contrail-test-ci/commit/00e7b33c1528942d70ed04d91f474f99f0b6d57d
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit 00e7b33c1528942d70ed04d91f474f99f0b6d57d
Author: Senthilnathan Murugappan <email address hidden>
Date: Mon Dec 4 17:31:38 2017 -0800

Adding delay before doing curl requests

Change-Id: I2bda743b2732696089b3050c0295f3e1511ce14d
Closes-Bug: 1736250
(cherry picked from commit f7cb56f01679f3d4f63bad320cfbeee84ae815d5)

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

Reviewed: https://review.opencontrail.org/38149
Committed: http://github.com/Juniper/contrail-test-ci/commit/3ced1c2929adae0feb65ef20fc44852b0d24807f
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 3ced1c2929adae0feb65ef20fc44852b0d24807f
Author: Senthilnathan Murugappan <email address hidden>
Date: Mon Dec 4 17:31:38 2017 -0800

Adding delay before doing curl requests

Change-Id: I2bda743b2732696089b3050c0295f3e1511ce14d
Closes-Bug: 1736250
(cherry picked from commit f7cb56f01679f3d4f63bad320cfbeee84ae815d5)

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

Review in progress for https://review.opencontrail.org/40095
Submitter: Ankit Jain (<email address hidden>)

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.