Skip to content

agent: Fixes #2858 agent LB not working - #2859

Merged
yadvr merged 1 commit into
apache:4.11from
shapeblue:agent-lb-switch-fix
Sep 22, 2018
Merged

agent: Fixes #2858 agent LB not working#2859
yadvr merged 1 commit into
apache:4.11from
shapeblue:agent-lb-switch-fix

Conversation

@yadvr

Copy link
Copy Markdown
Member

This fixes the issue that on reconnection, agent LB feature will fail
and only the first ms-host will be tried reconnection again and again.

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Checklist:

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
    Testing
  • I have added tests to cover my changes.
  • All relevant new and existing integration tests have passed.
  • A full integration testsuite with all test that can run on my environment has passed.

@blueorangutan package

This fixes the issue that on reconnection, agent LB feature will fail
and only the first ms-host will be tried reconnection again and again.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
@blueorangutan

Copy link
Copy Markdown

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@yadvr

yadvr commented Sep 21, 2018

Copy link
Copy Markdown
MemberAuthor

Fixes #2858 /cc @borisstoyanov

@borisstoyanov

Copy link
Copy Markdown
Contributor

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@borisstoyanov

Copy link
Copy Markdown
Contributor

Thanks for this fix @rhtyd, just tested it manually and it works fine. Let's wait for the smoketests

@DaanHooglandDaanHoogland left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops ;)

@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2315

@yadvr

Copy link
Copy Markdown
MemberAuthor

@blueorangutan test

@blueorangutan

Copy link
Copy Markdown

@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-3039)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 36370 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2859-t3039-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermittent failure detected: /marvin/tests/smoke/test_public_ip_range.py
Intermittent failure detected: /marvin/tests/smoke/test_templates.py
Intermittent failure detected: /marvin/tests/smoke/test_usage.py
Intermittent failure detected: /marvin/tests/smoke/test_vm_life_cycle.py
Intermittent failure detected: /marvin/tests/smoke/test_volumes.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Intermittent failure detected: /marvin/tests/smoke/test_hostha_kvm.py
Smoke tests completed. 61 look OK, 6 have error(s)
Only failed tests results shown below:

TestResultTime (s)Test File
test_03_vpc_privategw_restart_vpc_cleanupFailure1133.96test_privategw_acl.py
test_04_extract_templateFailure128.37test_templates.py
ContextSuite context=TestISOUsage>:setupError0.00test_usage.py
test_01_secure_vm_migrationError133.67test_vm_life_cycle.py
test_02_unsecure_vm_migrationError132.63test_vm_life_cycle.py
test_03_secured_to_nonsecured_vm_migrationError133.65test_vm_life_cycle.py
test_04_nonsecured_to_secured_vm_migrationError132.67test_vm_life_cycle.py
test_08_migrate_vmError15.61test_vm_life_cycle.py
test_06_download_detached_volumeFailure137.53test_volumes.py
test_02_redundant_VPC_default_routesFailure170.20test_vpc_redundant.py

@yadvr

Copy link
Copy Markdown
MemberAuthor

@blueorangutan test

@blueorangutan

Copy link
Copy Markdown

@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-3041)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 21491 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2859-t3041-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_vpn.py
Smoke tests completed. 66 look OK, 1 have error(s)
Only failed tests results shown below:

TestResultTime (s)Test File
test_03_vpc_privategw_restart_vpc_cleanupFailure1096.69test_privategw_acl.py

@yadvr
yadvr merged commit 6f1c555 into apache:4.11Sep 22, 2018
@blueorangutan

Copy link
Copy Markdown

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2321

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@yadvr@blueorangutan@borisstoyanov@DaanHoogland