Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLOUDSTACK-9724: Fixed missing additional public ip on tier network w… #1885

Merged
merged 1 commit into from Feb 23, 2017
Merged

CLOUDSTACK-9724: Fixed missing additional public ip on tier network w… #1885

merged 1 commit into from Feb 23, 2017

Conversation

jayapalu
Copy link
Contributor

@jayapalu jayapalu commented Jan 2, 2017

In VPC tier network acquire an ip and configure the PF service on it. VR now will have the two ip addresses on the interface.
Now restart the VPC tier network with cleanup option. After router comes up the public interface has only one ip (source nat ip)
Fixed the above issue.

@@ -460,6 +460,12 @@ boolean checkIfIpAssocRequired(Network network, boolean postApplyRules, List<Pub
}
} else {
if (activeCount != null && activeCount > 0) {
if (network.getVpcId() != null) {
Copy link
Contributor

Choose a reason for hiding this comment

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

@jayapalu Please improve the code comment

Copy link
Contributor Author

@jayapalu jayapalu Feb 14, 2017

Choose a reason for hiding this comment

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

Improved. Added more details and rebased on master

@koushik-das
Copy link
Contributor

Code changes LGTM

@ustcweizhou
Copy link
Contributor

The issue can be reproduced and fixed by this PR.
LGTM

@cloudmonger
Copy link

ACS CI BVT Run

Sumarry:
Build Number 356
Hypervisor xenserver
NetworkType Advanced
Passed=101
Failed=2
Skipped=7

Link to logs Folder (search by build_no): https://www.dropbox.com/sh/yj3wnzbceo9uef2/AAB6u-Iap-xztdm6jHX9SjPja?dl=0

Failed tests:

  • test_router_dns.py

  • test_router_dns_guestipquery Failing since 2 runs

  • test_routers_network_ops.py

  • ContextSuite context=TestRedundantIsolateNetworks>:setup Failed

Skipped tests:
test_01_test_vm_volume_snapshot
test_vm_nic_adapter_vmxnet3
test_static_role_account_acls
test_11_ss_nfs_version_on_ssvm
test_nested_virtualization_vmware
test_3d_gpu_support
test_deploy_vgpu_enabled_vm

Passed test suits:
test_deploy_vm_with_userdata.py
test_affinity_groups_projects.py
test_portable_publicip.py
test_over_provisioning.py
test_global_settings.py
test_scale_vm.py
test_service_offerings.py
test_routers_iptables_default_policy.py
test_loadbalance.py
test_routers.py
test_reset_vm_on_reboot.py
test_deploy_vms_with_varied_deploymentplanners.py
test_network.py
test_non_contigiousvlan.py
test_login.py
test_deploy_vm_iso.py
test_list_ids_parameter.py
test_public_ip_range.py
test_multipleips_per_nic.py
test_regions.py
test_affinity_groups.py
test_network_acl.py
test_pvlan.py
test_volumes.py
test_nic.py
test_deploy_vm_root_resize.py
test_resource_detail.py
test_secondary_storage.py
test_vm_life_cycle.py
test_disk_offerings.py

@jayapalu
Copy link
Contributor Author

Failed test cases are not related to this PR code changes

@kiwiflyer
Copy link
Contributor

tag:mergeready

@asfgit asfgit merged commit ee726af into apache:master Feb 23, 2017
asfgit pushed a commit that referenced this pull request Feb 23, 2017
CLOUDSTACK-9724: Fixed missing additional public ip on tier network wIn VPC tier network acquire an ip and configure the PF service on it. VR now will have the two ip addresses on the interface.
Now restart the VPC tier network with cleanup option. After router comes up the public interface has only one ip (source nat ip)
Fixed the above issue.

* pr/1885:
  CLOUDSTACK-9724: Fixed missing additional public ip on tier network with cleanup

Signed-off-by: Rajani Karuturi <rajani.karuturi@accelerite.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants