Skip to content

Fix delete network with no services#4132

Merged
yadvr merged 1 commit into
apache:4.13from
shapeblue:fixsharednetnoservs
Jun 20, 2020
Merged

Fix delete network with no services#4132
yadvr merged 1 commit into
apache:4.13from
shapeblue:fixsharednetnoservs

Conversation

@nvazquez
Copy link
Copy Markdown
Contributor

@nvazquez nvazquez commented Jun 5, 2020

Description

Fix dele shared network with no services on network offering
Fixes: #4096

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)

Screenshots (if appropriate):

How Has This Been Tested?

Create network offering with no services
Create network from offering
Deploy VM
Delete network

Copy link
Copy Markdown
Member

@yadvr yadvr left a comment

Choose a reason for hiding this comment

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

Did not test, @nvazquez please kick packaging and tests yourself

@nvazquez
Copy link
Copy Markdown
Contributor Author

nvazquez commented Jun 8, 2020

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@nvazquez 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: ✔centos7 ✔debian. JID-1315

@nvazquez
Copy link
Copy Markdown
Contributor Author

nvazquez commented Jun 8, 2020

@blueorangutan test matrix

@blueorangutan
Copy link
Copy Markdown

@nvazquez a Trillian-Jenkins matrix job (centos7 mgmt + xs71, centos7 mgmt + vmware67, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests

@yadvr
Copy link
Copy Markdown
Member

yadvr commented Jun 12, 2020

@blueorangutan test

@blueorangutan
Copy link
Copy Markdown

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

@yadvr yadvr closed this Jun 13, 2020
@yadvr yadvr reopened this Jun 13, 2020
@yadvr
Copy link
Copy Markdown
Member

yadvr commented Jun 13, 2020

@blueorangutan test

@blueorangutan
Copy link
Copy Markdown

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

@apache apache deleted a comment from blueorangutan Jun 16, 2020
@yadvr
Copy link
Copy Markdown
Member

yadvr commented Jun 16, 2020

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

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

1 similar comment
@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: ✔centos7 ✔debian. JID-1388

@blueorangutan
Copy link
Copy Markdown

Packaging result: ✔centos7 ✔debian. JID-1386

@yadvr
Copy link
Copy Markdown
Member

yadvr commented Jun 16, 2020

@blueorangutan test

@blueorangutan
Copy link
Copy Markdown

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

@nvazquez
Copy link
Copy Markdown
Contributor Author

@borisstoyanov @andrijapanicsb @rhtyd I've checked the test environment and it ended up with a disabled zone and no system VMs, had to manually enable the zone back. Do you remember which test caused this failure?

@yadvr
Copy link
Copy Markdown
Member

yadvr commented Jun 17, 2020

@nvazquez you can check yourself:

$ cd test/integration/smoke
$ grep updateZone -R .

@apache apache deleted a comment from blueorangutan Jun 17, 2020
@yadvr
Copy link
Copy Markdown
Member

yadvr commented Jun 17, 2020

@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-1748)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 31340 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4132-t1748-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_privategw_acl.py
Smoke tests completed. 76 look OK, 1 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_02_vpc_privategw_static_routes Failure 244.73 test_privategw_acl.py
test_03_vpc_privategw_restart_vpc_cleanup Failure 190.75 test_privategw_acl.py
test_04_rvpc_privategw_static_routes Failure 265.85 test_privategw_acl.py

@yadvr
Copy link
Copy Markdown
Member

yadvr commented Jun 18, 2020

Copy link
Copy Markdown
Contributor

@DaanHoogland DaanHoogland left a comment

Choose a reason for hiding this comment

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

what this does is make sure that nics with no IP are only search when a network is L2 and has no services. The code looks good and it might be a valid fix but the description doesn't allign with the content of the change. I can not judge this.

@yadvr yadvr merged commit 7e50f4a into apache:4.13 Jun 20, 2020
@nvazquez nvazquez deleted the fixsharednetnoservs branch June 22, 2020 12:54
Copy link
Copy Markdown
Contributor

@borisstoyanov borisstoyanov left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to 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.

5 participants