Skip to content

Conversation

@jayapalu
Copy link
Contributor

FIxed issue in disabling multiple static nat simultaneously.

This patch has taken changes from the PR 1450 and added the missing parts
#1450

@ProjectMoon
Copy link

Thanks for adding the missing parts. Here is the PR that was open against 4.8 for this, which I guess can be closed now: #1623

I guess the comment from @jburwell still applies to this.


boolean remove = false;
// if there is only one static nat then it will be checked for remove at the resource
if (ipsWithrules == 0 && (ipsStaticNat == 0 || ipsStaticNat == 1)) {
Copy link

@yvsubhash yvsubhash Jan 18, 2017

Choose a reason for hiding this comment

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

Can you combine these two if blocks and eliminate remove variable if this is not getting used at a later place. Even if remove is getting used later, two if blocks can be combined

public static final String VPC_PRIVATE_GATEWAY = "vpc.gateway.private";
public static final String FIREWALL_EGRESS_DEFAULT = "firewall.egress.default";
public static final String ROUTER_MONITORING_ENABLE = "router.monitor.enable";
public static final String NETWORK_PUB_LAST_IP = "newtork.public.last.ip";
Copy link
Contributor

Choose a reason for hiding this comment

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

typo?

INSERT INTO `cloud`.`role_permissions` (`uuid`, `role_id`, `rule`, `permission`, `sort_order`) values (UUID(), 3, 'createSnapshotFromVMSnapshot', 'ALLOW', 302) ON DUPLICATE KEY UPDATE rule=rule;
INSERT INTO `cloud`.`role_permissions` (`uuid`, `role_id`, `rule`, `permission`, `sort_order`) values (UUID(), 4, 'createSnapshotFromVMSnapshot', 'ALLOW', 260) ON DUPLICATE KEY UPDATE rule=rule;

ALTER TABLE `user_ip_address` ADD COLUMN `staticnat_state` VARCHAR(32) COMMENT 'static rule state while removing'

Choose a reason for hiding this comment

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

This column name does not match the name of the column in the VO (rule_state).

@Inject
private IPAddressDao _ipAddressDao;
@Inject
private FirewallRulesDao _firewallsDao;

Choose a reason for hiding this comment

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

There is already a FirewallRulesDao in the file. No need to inject this one.

Copy link

@srinivas-gandikota srinivas-gandikota left a comment

Choose a reason for hiding this comment

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

LGTM

@ProjectMoon
Copy link

Question: would #1907 be relevant to this? That change relied on sending all the IPs to the router, but under this change, we will be sending one at a time.

@ProjectMoon
Copy link

ProjectMoon commented Feb 28, 2017

I'm looking at the DataBag code, and it seems that it loads information from the data located at /etc/cloudstack/ and therefore 1907 should work fine with this, ASSUMING that is smart enough to recognize that the IP should no longer be there.

I think this is a scenario that should definitely be tested as it has the potential to break this whole PR.

@ProjectMoon
Copy link

ProjectMoon commented Feb 28, 2017

We have been testing this PR internally for some time now, and we have seen some strange arping issues. We have seen that /etc/cloudstack/ips.json on the router has IPs on them that aren't cleaned up. Since #1907 is now merged, I'm worried that the changes in this PR will not play well with #1908.

Specifically, we have seen that IPs left over in the ips.json file can be stuck on "add": true even if the IP is no longer on the account.

Thus, the code that was added in PR #1907 concerns me:

 if not address['add'] and not ip.configured():
    logging.info("Skipping %s as the add flag is set to %s " % (address['public_ip'], address['add']))
    continue

The if condition fails in a case we've been investigating. Because our IP is "add": true, but configured() returns False, the IP gets reconfigured anyway. This doesn't add the IP to the router's interface, but it does run an arping command (see CsAddress.py). Essentially, if this PR is merged as-is, we might wind up with a regression on CLOUDSTACK-9500.

I will do a bit of manual testing combining both #1908 and #1907 to see what happens. It may just be that after restarting the network (and thus cleaning the router), these issues will vanish.

@jayapalu
Copy link
Contributor Author

jayapalu commented Mar 1, 2017

@ProjectMoon
I have seen the issue of ips.json having the "add:true" while I am testing this PR. I tested this PR by manually removing the ip or setting add to false. Also I tested with the cleanup restart. With correct ips.json I did not see any issues with this PR.

I think the ips.json problem is independent of this PR that need to be fixed.

@ProjectMoon
Copy link

ProjectMoon commented Mar 1, 2017

@jayapalu Quite possible, yes. It could be fixed by adding another condition to the check that was added with #1907. It could also be "fixed" by checkiing if configured() returns True in the arpPing() method of the CsIp class. But I'm guessing that it doesn't get properly deleted from the DataBag when it's removed from the router. Thus it just gets written to /etc/cloudstack/ips.json again. This would be the proper fix in my opinion.

@jayapalu
Copy link
Contributor Author

jayapalu commented Mar 2, 2017

@ProjectMoon The ip issue can be worked as separate ticket/PR. It is an isolated issue, it is not having any dependency with this PR. So we will get this PR in and create a separate ticket for the ip issue.

@jayapalu
Copy link
Contributor Author

jayapalu commented Mar 3, 2017

@ProjectMoon
I have today this PR after rebasing latest master. I did not observe the add:true for the removed ip.
Here is output from the ips.json and ip addr show output.

Here is the output:

4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 06:f6:cc:00:00:0e brd ff:ff:ff:ff:ff:ff
inet 10.147.46.102/24 brd 10.147.46.255 scope global eth2
inet 10.147.46.112/24 brd 10.147.46.255 scope global secondary eth2

"eth2": [
    {
        "add": true, 
        "broadcast": "10.147.46.255", 
        "cidr": "10.147.46.102/24", 
        "device": "eth2", 
        "first_i_p": true, 
        "gateway": "10.147.46.1", 
        "netmask": "255.255.255.0", 
        "network": "10.147.46.0/24", 
        "new_nic": false, 
        "nic_dev_id": 2, 
        "nw_type": "public", 
        "one_to_one_nat": false, 
        "public_ip": "10.147.46.102", 
        "size": "24", 
        "source_nat": true, 
        "vif_mac_address": "06:4a:54:00:00:0e"
    }, 
    {
        "add": false, 
        "broadcast": "10.147.46.255", 
        "cidr": "10.147.46.107/24", 
        "device": "eth2", 
        "first_i_p": true, 
        "gateway": "10.147.46.1", 
        "netmask": "255.255.255.0", 
        "network": "10.147.46.0/24", 
        "new_nic": false, 
        "nic_dev_id": 2, 
        "nw_type": "public", 
        "one_to_one_nat": true, 
        "public_ip": "10.147.46.107", 
        "size": "24", 
        "source_nat": true, 
        "vif_mac_address": "06:b5:36:00:00:13"
    }, 
    {
        "add": false, 
        "broadcast": "10.147.46.255", 
        "cidr": "10.147.46.108/24", 
        "device": "eth2", 
        "first_i_p": true, 
        "gateway": "10.147.46.1", 
        "netmask": "255.255.255.0", 
        "network": "10.147.46.0/24", 
        "new_nic": false, 
        "nic_dev_id": 2, 
        "nw_type": "public", 
        "one_to_one_nat": true, 
        "public_ip": "10.147.46.108", 
        "size": "24", 
        "source_nat": true, 
        "vif_mac_address": "06:6d:c8:00:00:14"
    }, 
    {
        "add": false, 
        "broadcast": "10.147.46.255", 
        "cidr": "10.147.46.111/24", 
        "device": "eth2", 
        "first_i_p": true, 
        "gateway": "10.147.46.1", 
        "netmask": "255.255.255.0", 
        "network": "10.147.46.0/24", 
        "new_nic": false, 
        "nic_dev_id": 2, 
        "nw_type": "public", 
        "one_to_one_nat": true, 
        "public_ip": "10.147.46.111", 
        "size": "24", 
        "source_nat": true, 
        "vif_mac_address": "06:32:90:00:00:17"
    }, 
    {
        "add": true, 
        "broadcast": "10.147.46.255", 
        "cidr": "10.147.46.112/24", 
        "device": "eth2", 
        "first_i_p": true, 
        "gateway": "10.147.46.1", 
        "netmask": "255.255.255.0", 
        "network": "10.147.46.0/24", 
        "new_nic": false, 
        "nic_dev_id": 2, 
        "nw_type": "public", 
        "one_to_one_nat": true, 
        "public_ip": "10.147.46.112", 
        "size": "24", 
        "source_nat": true, 
        "vif_mac_address": "06:83:68:00:00:18"
    }

@ProjectMoon
Copy link

Hi, that's great news.

@jayapalu
Copy link
Contributor Author

jayapalu commented Mar 7, 2017

@ProjectMoon Can you please review it.

@yadvr
Copy link
Member

yadvr commented Mar 9, 2017

@jayapalu can you change the PR base branch to 4.9?

// remove the nic
if (ipsCount == 1 && !ip.isAdd()) {
removeVif = true;
if (lastIp != null && !ip.isAdd()) {

Choose a reason for hiding this comment

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

Maybe it would make sense to check the value of lastIp being something instead of just checking if it's not null? It works the way it is, but perhaps checking specifically for a value like "true" would make sense. Would prevent someone from updating code later to send "false" for whatever reason and then causing something unexpected. Relying on not null as a truth value is a bit obtuse in my opinion.

Copy link

@ProjectMoon ProjectMoon left a comment

Choose a reason for hiding this comment

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

Left more comments. Also, it would probably be good to add some tests for the CommandSetupHelper to test generation of the command for adding/removing IPs. Testing the network.public.last.ip detail would be very good.

// remove the nic
if (ipsCount == 1 && !ip.isAdd()) {
removeVif = true;
if (lastIp != null && lastIp.equalsIgnoreCase("true") && !ip.isAdd()) {

Choose a reason for hiding this comment

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

StringUtils.equalsIgnoreCase can replace checking both null and the value: https://commons.apache.org/proper/commons-lang/javadocs/api-2.6/org/apache/commons/lang/StringUtils.html#equalsIgnoreCase(java.lang.String, java.lang.String)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In CitrixresourceBase StringUtils is used from the com.cloud.utils.StringUtils. So using StringUtils from java.lang will be ambiguous.

Choose a reason for hiding this comment

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

True, but a lot of the other code is already using StringUtils or is moving to it. Reviewers in other PRs tend to recommend it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ProjectMoon
Updated to use org.apache.commons.lang.StringUtils
Can you please review it.

if (numOfIps == 1 && !ip.isAdd()) {
vifHotUnPlug(conn, routerName, ip.getVifMacAddress());
networkUsage(routerIp, "deleteVif", "eth" + nicNum);
if (lastIp != null && lastIp.equalsIgnoreCase("true") && !ip.isAdd()) {

Choose a reason for hiding this comment

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

StringUtils.equalsIgnoreCase can check both null and the value.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In CitrixresourceBase StringUtils is used from the com.cloud.utils.StringUtils. So using StringUtils from java.lang will be ambiguous.

cmd.setAccessDetail(NetworkElementCommand.ZONE_NETWORK_TYPE, dcVo.getNetworkType().toString());

// if there 1 static nat then it will be checked for remove at the resource
if (ipsWithrules == 0 && ipsStaticNat == 0 ) {

Choose a reason for hiding this comment

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

There's an extraneous space between the 0 and the ) here. Also, this is probably just me misunderstanding the code, but wouldn't you want to check if ipsStaticNat equals 1 in this case? Or maybe you're checking for both to be 0 because if both are 0 we're generating a removal command?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If we check the ipsStaticNat=1 then we will miss the case of disabling static nat on network with 1 with static nat.

}

// check onetoonenat and also check if the ip "add":false. If there are 2 PF remove 1 static nat add
if (ip.isOneToOneNat() && ip.getRuleState() == null) {

Choose a reason for hiding this comment

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

Similar to the comments about checking if lastIp isn't null, I find that checking rule state to be null is a bit ... obscure. What is null supposed to mean in this context? It seems the rule_state column is only changed to Releasing when releasing an IP and nothing else. I guess that's intentional?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In this case rule state is not set. It is null. I will improve the comment

@cloudmonger
Copy link

ACS CI BVT Run

Sumarry:
Build Number 5
Hypervisor xenserver
NetworkType Advanced
Passed=464
Failed=341
Skipped=53

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

Failed tests:

  • test_dhcp_dns_offload.py

  • ContextSuite context=TestDeployVMs>:setup Failing since 2 runs

  • test_affinity_groups_projects.py

  • test_01_deploy_vm_anti_affinity_group Failing since 2 runs

  • test_02_deploy_vm_anti_affinity_group_fail_on_not_enough_hosts Failing since 2 runs

  • test_01_list_aff_grps_for_vm Failing since 3 runs

  • test_02_list_multiple_aff_grps_for_vm Failing since 3 runs

  • test_07_list_all_vms_in_aff_grp Failing since 2 runs

  • test_01_update_aff_grp_by_ids Failed

  • test_ps_domain_limits.py

  • test_04_create_template_snapshot Failing since 2 runs

  • test_VirtualRouter_alerts.py

  • test_01_VRServiceFailureAlerting Failed

  • test_ss_domain_limits.py

  • test_04_create_template_delete_account Failing since 3 runs

  • test_04_create_template_delete_account Failing since 4 runs

  • test_01_multiple_domains_secondary_storage_limits Failing since 3 runs

  • test_02_multiple_domains_secondary_storage_counts Failing since 2 runs

  • test_deploy_vm_userdata_multi_nic.py

  • test_deployvm_multinic Failing since 2 runs

  • test_vpn_service.py

  • test_01_VPN_service Failing since 2 runs

  • test_organization_states.py

  • ContextSuite context=TestOrganizationStates>:setup Failing since 2 runs

  • test_escalations_snapshots.py

  • ContextSuite context=TestSnapshots>:setup Failing since 2 runs

  • test_haproxy.py

  • test_01_create_sticky_policy_default_values Failed

  • test_02_create_sticky_policy_custom_values Failed

  • test_03_supported_policies_by_network Failed

  • test_04_delete_lb_rule Failed

  • test_05_error_alerts_after_create Failed

  • test_06_release_ip Failed

  • test_07_delete_account Failed

  • test_08_create_policy_router_stopped Failed

  • test_09_create_policy_router_destroy Failed

  • test_10_create_policy_enable_disable_vpn Failed

  • test_11_invalid_params Failed

  • test_dynamic_compute_offering.py

  • test_max_account_cpus_scale_VM_1_ADMIN_ACCOUNT Failed

  • test_max_account_cpus_scale_VM_2_USER_ACCOUNT Failed

  • test_max_account_memory_scale_VM_1_ADMIN_ACCOUNT Failing since 2 runs

  • test_max_account_memory_scale_VM_2_USER_ACCOUNT Failing since 2 runs

  • test_deploy_VM_with_affinity_group_1_ADMIN_ACCOUNT Failing since 2 runs

  • test_deploy_VM_with_affinity_group_2_USER_ACCOUNT Failing since 2 runs

  • ContextSuite context=TestDynamicServiceOffering>:setup Failing since 2 runs

  • test_change_so_running_vm_dynamic_to_dynamic_1_ADMIN_ACCOUNT Failing since 2 runs

  • test_change_so_running_vm_dynamic_to_dynamic_2_USER_ACCOUNT Failing since 2 runs

  • test_change_so_running_vm_dynamic_to_static_1_ADMIN_ACCOUNT Failing since 2 runs

  • test_change_so_running_vm_dynamic_to_static_2_USER_ACCOUNT Failing since 2 runs

  • test_change_so_running_vm_static_to_dynamic_1_ADMIN_ACCOUNT Failing since 2 runs

  • test_change_so_running_vm_static_to_dynamic_2_USER_ACCOUNT Failing since 2 runs

  • test_change_so_running_vm_static_to_static_1_ADMIN_ACCOUNT Failing since 2 runs

  • test_change_so_running_vm_static_to_static_2_USER_ACCOUNT Failing since 2 runs

  • test_change_so_stopped_vm_dynamic_to_dynamic_1_ADMIN_ACCOUNT Failing since 2 runs

  • test_change_so_stopped_vm_dynamic_to_dynamic_2_USER_ACCOUNT Failing since 2 runs

  • test_change_so_stopped_vm_dynamic_to_static_1_ADMIN_ACCOUNT Failing since 2 runs

  • test_change_so_stopped_vm_dynamic_to_static_2_USER_ACCOUNT Failing since 2 runs

  • test_change_so_stopped_vm_static_to_dynamic_1_ADMIN_ACCOUNT Failing since 2 runs

  • test_change_so_stopped_vm_static_to_dynamic_2_USER_ACCOUNT Failing since 2 runs

  • test_change_so_stopped_vm_static_to_static_1_ADMIN_ACCOUNT Failing since 2 runs

  • test_change_so_stopped_vm_static_to_static_2_USER_ACCOUNT Failed

  • test_ps_resource_limits_volume.py

  • test_attach_volume_exceeding_primary_limits Failing since 2 runs

  • test_vpc.py

  • test_07_restart_network_vm_running Failing since 2 runs

  • test_08_delete_vpc Failing since 2 runs

  • test_11_deploy_vm_wo_network_netdomain Failing since 2 runs

  • test_13_deploy_vm_with_vpc_netdomain Failing since 2 runs

  • test_14_deploy_vm_1 Failing since 2 runs

  • test_15_deploy_vm_2 Failing since 2 runs

  • test_16_deploy_vm_for_user_by_admin Failing since 2 runs

  • test_21_deploy_vm_with_gateway_ip Failing since 2 runs

  • test_22_vpn_customer_gw_with_hostname Failing since 2 runs

  • test_non_contiguous_vlan.py

  • test_01_add_non_contiguous_ranges Failing since 2 runs

  • test_05_remove_used_range Failed

  • test_project_usage.py

  • ContextSuite context=TestLBRuleUsage>:setup Failing since 3 runs

  • ContextSuite context=TestNatRuleUsage>:setup Failing since 3 runs

  • ContextSuite context=TestPublicIPUsage>:setup Failing since 3 runs

  • ContextSuite context=TestSnapshotUsage>:setup Failing since 3 runs

  • ContextSuite context=TestVmUsage>:setup Failing since 3 runs

  • ContextSuite context=TestVolumeUsage>:setup Failing since 3 runs

  • ContextSuite context=TestVpnUsage>:setup Failing since 3 runs

  • test_ps_max_limits.py

  • test_01_deploy_vm_domain_limit_reached Failed

  • test_02_deploy_vm_account_limit_reached Failing since 5 runs

  • test_03_deploy_vm_project_limit_reached Failed

  • test_project_resources.py

  • test_07_associate_public_ip Failing since 2 runs

  • test_vpc_network_staticnatrule.py

  • test_01_VPC_StaticNatRuleCreateStoppedState Failing since 2 runs

  • test_02_VPC_CreateStaticNatRule Failed

  • test_03_VPC_StopCreateMultipleStaticNatRuleStopppedState Failing since 2 runs

  • test_04_VPC_CreateMultipleStaticNatRule Failing since 2 runs

  • test_05_network_services_VPC_DeleteAllPF Failing since 2 runs

  • test_06_network_services_VPC_DeleteAllMultiplePF Failing since 2 runs

  • test_redundant_router_services.py

  • test_enableVPNOverRvR Failing since 2 runs

  • test_resource_limits.py

  • test_01_vm_per_account Failing since 2 runs

  • test_02_publicip_per_account Failing since 2 runs

  • test_03_snapshots_per_account Failing since 2 runs

  • test_04_volumes_per_account Failing since 2 runs

  • test_05_templates_per_account Failing since 2 runs

  • test_01_publicip_per_domain Failed

  • test_01_vm_per_domain Failed

  • test_03_snapshots_per_domain Failed

  • test_04_volumes_per_domain Failed

  • test_05_templates_per_domain Failed

  • test_escalations_vpncustomergateways.py

  • test_01_list_vpncustomergateways_pagination Failing since 2 runs

  • test_02_update_vpncustomergateways Failing since 2 runs

  • test_snapshots_improvement.py

  • test_01_concurrent_snapshots_live_migrate Failed

  • test_02_stop_vm_concurrent_snapshots Failed

  • test_03_concurrent_snapshots_create_template Failed

  • test_04_concurrent_snapshots_create_volume Failed

  • test_01_snapshot_on_rootVolume Failed

  • test_multiple_public_interfaces.py

  • ContextSuite context=TestIptables>:setup Failed

  • ContextSuite context=TestPortForwarding>:setup Failing since 9 runs

  • ContextSuite context=TestRouting>:setup Failing since 2 runs

  • ContextSuite context=TestStaticNat>:setup Failing since 2 runs

  • test_network_services_VPC_CreatePF Failing since 3 runs

  • test_network_services_VPC_CreatePF Failing since 4 runs

  • test_vpn_users.py

  • test_01_VPN_user_limit Failed

  • test_02_use_vpn_port Failed

  • test_03_enable_vpn_use_port Failed

  • test_04_add_new_users Failed

  • test_05_add_duplicate_user Failed

  • test_06_add_VPN_user_global_admin Failed

  • test_07_add_VPN_user_domain_admin Failed

  • test_08_add_TCP_PF_Rule_In_VPN Failed

  • test_cpu_project_limits.py

  • test_01_project_counts_start_stop_instance Failing since 2 runs

  • test_02_project_counts_migrate_instance Failing since 2 runs

  • test_03_project_counts_delete_instance Failing since 2 runs

  • test_routers.py

  • ContextSuite context=TestRouterServices>:setup Failing since 11 runs

  • ContextSuite context=TestRouterStopCreateFW>:setup Failed

  • ContextSuite context=TestRouterStopCreateLB>:setup Failed

  • ContextSuite context=TestRouterStopCreatePF>:setup Failed

  • test_overcommit.py

  • test_01_cluster_settings Failing since 2 runs

  • test_02_Overcommit_factor Failing since 2 runs

  • test_03_cluste_capacity_check Failing since 2 runs

  • test_04_zone_capacity_check Failing since 2 runs

  • test_custom_hostname.py

  • test_01_custom_hostname_instancename_false Failing since 2 runs

  • test_snapshots.py

  • test_01_createVM_snapshotTemplate Failing since 2 runs

  • ContextSuite context=TestSnapshotEvents>:setup Failing since 2 runs

  • test_01_volume_from_snapshot Failing since 2 runs

  • test_02_snapshot_data_disk Failing since 2 runs

  • test_03_snapshot_detachedDisk Failing since 2 runs

  • test_04_delete_snapshot Failing since 2 runs

  • test_07_template_from_snapshot Failing since 2 runs

  • test_egress_fw_rules.py

  • test_01_1_egress_fr1 Failing since 2 runs

  • test_01_2_egress_fr1 Failing since 2 runs

  • test_01_egress_fr1 Failing since 2 runs

  • test_02_1_egress_fr2 Failing since 2 runs

  • test_02_2_egress_fr2 Failing since 2 runs

  • test_02_egress_fr2 Failing since 2 runs

  • test_03_1_egress_fr3 Failing since 2 runs

  • test_03_egress_fr3 Failing since 2 runs

  • test_04_1_egress_fr4 Failing since 2 runs

  • test_04_egress_fr4 Failing since 2 runs

  • test_06_1_egress_fr6 Failing since 2 runs

  • test_06_egress_fr6 Failing since 2 runs

  • test_07_1_egress_fr7 Failing since 2 runs

  • test_07_egress_fr7 Failing since 2 runs

  • test_09_1_egress_fr9 Failing since 2 runs

  • test_09_egress_fr9 Failed

  • test_10_1_egress_fr10 Failed

  • test_10_egress_fr10 Failed

  • test_11_1_egress_fr11 Failed

  • test_11_egress_fr11 Failed

  • test_12_1_egress_fr12 Failed

  • test_12_egress_fr12 Failed

  • test_13_1_egress_fr13 Failed

  • test_13_egress_fr13 Failed

  • test_tags.py

  • ContextSuite context=TestResourceTags>:setup Failed

  • test_redundant_router_cleanups.py

  • test_network_gc Failed

  • test_restart_network_with_destroyed_masterVR Failing since 2 runs

  • test_restart_ntwk_no_cleanup Failed

  • test_restart_ntwk_with_cleanup Failed

  • test_ss_max_limits.py

  • test_01_deploy_vm_domain_limit_reached Failing since 2 runs

  • test_02_deploy_vm_account_limit_reached Failing since 6 runs

  • test_03_deploy_vm_project_limit_reached Failing since 2 runs

  • test_ss_project_limits.py

  • test_01_register_template_with_project Failing since 2 runs

  • test_deploy_vm_userdata_reg.py

  • test_deployvm_userdata_post Failed

  • test_memory_limits.py

  • test_01_stop_start_instance Failing since 1 runs

  • test_02_migrate_instance Failing since 1 runs

  • test_03_delete_instance Failed

  • test_01_stop_start_instance Failing since 2 runs

  • test_02_migrate_instance Failing since 2 runs

  • test_03_delete_instance Failing since 2 runs

  • test_04_deploy_multiple_vm Failing since 2 runs

  • test_vpc_network_pfrules.py

  • test_01_network_services_VPC_StopCreatePF Failing since 2 runs

  • test_02_network_services_VPC_CreatePF Failing since 2 runs

  • test_03_network_services_VPC_StopCreateMultiplePF Failing since 2 runs

  • test_04_network_services_VPC_CreateMultiplePF Failing since 2 runs

  • test_05_network_services_VPC_StopDeletePF Failing since 2 runs

  • test_06_network_services_VPC_DeletePF Failing since 2 runs

  • test_07_network_services_VPC_StopDeleteAllPF Failing since 2 runs

  • test_08_network_services_VPC_DeleteAllPF Failing since 2 runs

  • test_09_network_services_VPC_StopDeleteAllMultiplePF Failing since 2 runs

  • test_10_network_services_VPC_DeleteAllMultiplePF Failing since 2 runs

  • test_ip_reservation.py

  • test_reservation_after_router_restart Failed

  • test_vm_create_after_reservation Failing since 3 runs

  • test_vm_create_outside_cidr_after_reservation Failing since 3 runs

  • test_ip_reservation_in_multiple_networks_same_account Failing since 2 runs

  • test_nat_rules_1_nat_rule Failing since 2 runs

  • test_nat_rules_2_static_nat_rule Failing since 2 runs

  • test_update_cidr_multiple_vms_not_all_inclusive Failing since 2 runs

  • test_update_cidr_single_vm_not_inclusive Failing since 2 runs

  • test_vm_create_after_reservation Failing since 4 runs

  • test_vm_create_outside_cidr_after_reservation Failing since 4 runs

  • test_restart_network_with_cleanup_1_True Failing since 2 runs

  • test_restart_network_with_cleanup_2_False Failed

  • test_destroy_recreate_router Failed

  • test_reservation_after_router_restart Failing since 2 runs

  • test_update_network_guestvmcidr_1_existingVmInclusive Failed

  • test_update_network_guestvmcidr_2_existingVmExclusive Failed

  • test_vpc_vms_deployment.py

  • test_01_deploy_vms_in_network Failing since 2 runs

  • test_02_deploy_vms_delete_network Failing since 2 runs

  • test_03_deploy_vms_delete_add_network Failing since 2 runs

  • test_04_deploy_vms_delete_add_network_noLb Failing since 2 runs

  • test_05_create_network_max_limit Failing since 2 runs

  • test_06_delete_network_vm_running Failing since 2 runs

  • test_07_delete_network_with_rules Failing since 2 runs

  • test_vpc_network.py

  • ContextSuite context=TestVPCNetworkGc>:setup Failing since 2 runs

  • test_mm_project_limits.py

  • test_01_project_vmlifecycle_start_stop_instance Failing since 2 runs

  • test_02_project_vmlifecycle_migrate_instance Failing since 2 runs

  • test_03_project_vmlifecycle_delete_instance Failing since 2 runs

  • test_escalations_instances.py

  • test_13_attach_detach_iso Failing since 2 runs

  • test_14_vm_snapshot_pagination Failing since 2 runs

  • test_15_revert_vm_to_snapshot Failing since 2 runs

  • test_16_list_vm_volumes_pagination Failing since 2 runs

  • test_18_stopped_vm_change_service Failing since 2 runs

  • test_19_create_reset_vm_sshkey Failing since 2 runs

  • test_20_update_vm_displayname_group Failing since 2 runs

  • test_21_restore_vm Failing since 2 runs

  • test_22_deploy_vm_multiple_networks Failing since 2 runs

  • test_24_deploy_vm_with_static_ip_ES1662 Failing since 2 runs

  • test_25_ip_reallocation_ES1377 Failing since 2 runs

  • test_27_VM_restore_ES3467 Failing since 2 runs

  • test_28_VM_restore_ES3467 Failing since 2 runs

  • test_01_list_instances_pagination Failing since 2 runs

  • test_02_list_Running_vm Failing since 2 runs

  • test_03_list_Stopped_vm Failing since 2 runs

  • test_04_list_Destroyed_vm Failing since 2 runs

  • test_05_list_vm_by_id Failing since 2 runs

  • test_06_list_vm_by_name Failing since 2 runs

  • test_07_list_vm_by_name_state Failing since 2 runs

  • test_10_list_vm_by_zone_name_state Failing since 2 runs

  • test_11_register_reset_vm_sshkey Failing since 2 runs

  • test_12_running_vm_change_service Failing since 2 runs

  • test_13_vm_nics Failing since 2 runs

  • test_acl_isolatednetwork.py

  • ContextSuite context=TestIsolatedNetwork>:setup Failing since 2 runs

  • test_cpu_domain_limits.py

  • test_01_multiple_core_vm_start_stop_instance Failing since 2 runs

  • test_02_multiple_core_vm_migrate_instance Failing since 2 runs

  • test_03_multiple_core_vm_delete_instance Failing since 2 runs

  • test_04_deploy_multiple_vm_with_multiple_core Failing since 2 runs

  • test_01_multiple_child_domains Failing since 3 runs

  • test_escalations_networks.py

  • test_03_list_vpc_pagination Failing since 2 runs

  • test_04_create_vpc_with_networkdomain Failing since 2 runs

  • test_06_create_network_in_vpc Failing since 2 runs

  • test_10_list_networks_in_vpc Failing since 2 runs

  • test_11_update_vpc Failing since 2 runs

  • test_12_list_create_delete_networkACL Failing since 2 runs

  • test_19_create_list_reset_delete_vpnconnections Failing since 2 runs

  • test_storage_motion.py

  • ContextSuite context=TestStorageMotion>:setup Failed

  • test_accounts.py

  • ContextSuite context=TestAddVmToSubDomain>:setup Failing since 2 runs

  • test_DeleteDomain Failing since 2 runs

  • test_forceDeleteDomain Failing since 2 runs

  • test_01_user_remove_VM_running Failing since 2 runs

  • ContextSuite context=TestTemplateHierarchy>:setup Failing since 2 runs

  • test_LoginApiDomain Failing since 2 runs

  • test_LoginApiUuidResponse Failing since 2 runs

  • test_escalations_routers.py

  • test_01_FTPModulesInVR Failed

  • test_ps_limits.py

  • test_create_template_snapshot_1_root_domain_admin Failing since 2 runs

  • test_create_template_snapshot_2_child_domain_admin Failing since 2 runs

  • test_mm_max_limits.py

  • test_02_deploy_vm_account_limit_reached Failing since 7 runs

  • test_04_deployVm__account_limit_reached Failing since 3 runs

  • test_cpu_max_limits.py

  • test_02_deploy_vm_account_limit_reached Failing since 8 runs

  • test_04_deployVm__account_limit_reached Failing since 4 runs

  • test_escalation_listTemplateDomainAdmin.py

  • test_listtemplate Failing since 2 runs

  • test_projects.py

  • test_09_project_suspend Failed

  • test_10_project_activation Failed

  • test_portable_ip.py

  • test_associate_ip_address_services_enable_disable Failing since 2 runs

  • test_list_portable_ip_range_non_root_admin Failed

  • test_affinity_groups.py

  • test_03_delete_aff_grp_with_vms Failing since 2 runs

  • test_01_deploy_vm_without_aff_grp Failing since 2 runs

  • test_02_deploy_vm_by_aff_grp_name Failing since 2 runs

  • test_03_deploy_vm_by_aff_grp_id Failing since 2 runs

  • test_04_deploy_vm_anti_affinity_group Failing since 2 runs

  • test_05_deploy_vm_by_id Failing since 2 runs

  • test_08_deploy_vm_multiple_aff_grps Failing since 2 runs

  • test_09_deploy_vm_multiple_aff_grps Failing since 2 runs

  • test_01_list_aff_grps_for_vm Failing since 4 runs

  • test_02_list_multiple_aff_grps_for_vm Failing since 4 runs

  • test_07_list_all_vms_in_aff_grp Failing since 3 runs

  • test_01_update_aff_grp_by_ids Failing since 2 runs

  • test_02_update_aff_grp_by_names Failing since 2 runs

  • test_03_update_aff_grp_for_vm_with_no_aff_grp Failing since 2 runs

  • test_05_update_aff_grp_on_running_vm Failing since 2 runs

  • test_acl_listvolume.py

  • ContextSuite context=TestVolumeList>:setup Failing since 2 runs

  • test_mm_domain_limits.py

  • test_01_change_service_offering Failing since 2 runs

  • test_02_migrate_vm Failing since 2 runs

  • test_03_delete_vm Failing since 2 runs

  • test_04_deploy_multiple_vm Failing since 3 runs

  • test_01_multiple_child_domains Failing since 4 runs

  • test_blocker_bugs.py

  • ContextSuite context=TestDataPersistency>:setup Failing since 2 runs

  • ContextSuite context=TestNATRules>:setup Failing since 2 runs

  • ContextSuite context=TestRouterRestart>:setup Failing since 2 runs

  • test_01_list_routers_admin Failing since 2 runs

  • test_01_create_template Failing since 3 runs

  • test_vpc_network_internal_lbrules.py

  • test_02_internallb_rules_traffic Failing since 2 runs

  • test_03_internallb_rules_vpc_network_restarts_traffic Failing since 2 runs

  • test_04_internallb_appliance_operations_traffic Failing since 2 runs

  • test_add_remove_network.py

  • ContextSuite context=TestAddNetworkToVirtualMachine>:setup Failing since 2 runs

  • ContextSuite context=TestFailureScenariosAddNetworkToVM>:setup Failing since 2 runs

  • ContextSuite context=TestFailureScenariosRemoveNicFromVM>:setup Failing since 2 runs

  • ContextSuite context=TestFailureScenariosUpdateVirtualMachineNIC>:setup Failing since 2 runs

  • ContextSuite context=TestRemoveNetworkFromVirtualMachine>:setup Failing since 2 runs

  • ContextSuite context=TestUpdateVirtualMachineNIC>:setup Failing since 2 runs

  • test_escalations_ipaddresses.py

  • test_11_create_delete_firewallrule Failing since 2 runs

  • test_volumes.py

  • ContextSuite context=TestAttachDetachVolume>:setup Failed

  • ContextSuite context=TestAttachVolume>:setup Failing since 2 runs

  • ContextSuite context=TestAttachVolumeISO>:setup Failing since 2 runs

  • ContextSuite context=TestMigrateVolume>:setup Failing since 2 runs

  • ContextSuite context=TestVolumes>:setup Failing since 13 runs

  • test_acl_listsnapshot.py

  • ContextSuite context=TestSnapshotList>:setup Failing since 2 runs

  • test_stopped_vm.py

  • test_deploy_vm_password_enabled Failing since 2 runs

  • test_escalations_templates.py

  • test_01_list_templates_pagination Failing since 2 runs

  • test_02_download_template Failing since 2 runs

  • test_03_edit_template_details Failing since 2 runs

  • test_ss_limits.py

  • test_01_register_template_1_root_domain_admin Failing since 2 runs

  • test_01_register_template_2_child_domain_admin Failing since 2 runs

  • test_02_create_template_snapshot_1_root_domain_admin Failed

  • test_02_create_template_snapshot_2_child_domain_admin Failed

  • test_ps_resize_volume.py

  • test_01_increase_volume_size_within_account_limit Failed

  • test_02_increase_volume_size_above_account_limit Failing since 2 runs

  • test_03_increase_volume_size_above_domain_limit Failing since 2 runs

  • test_vm_passwdenabled.py

  • ContextSuite context=TestVMPasswordEnabled>:setup Failed

  • test_usage.py

  • ContextSuite context=TestLBRuleUsage>:setup Failing since 4 runs

  • ContextSuite context=TestNatRuleUsage>:setup Failing since 4 runs

  • ContextSuite context=TestPublicIPUsage>:setup Failing since 4 runs

  • ContextSuite context=TestSnapshotUsage>:setup Failing since 4 runs

  • ContextSuite context=TestVmUsage>:setup Failing since 4 runs

  • ContextSuite context=TestVolumeUsage>:setup Failing since 4 runs

  • ContextSuite context=TestVpnUsage>:setup Failing since 4 runs

  • test_vpc_vm_life_cycle.py

  • test_02_deploy_vm_vpcvr_stopped Failed

  • ContextSuite context=TestVMLifeCycleDiffHosts>:setup Failed

  • ContextSuite context=TestVMLifeCycleSharedNwVPC>:setup Failed

  • ContextSuite context=TestVMLifeCycleStoppedVPCVR>:setup Failed

  • ContextSuite context=TestVMLifeCycleVPC>:setup Failed

  • test_project_limits.py

  • test_03_vm_per_project Failed

  • test_04_publicip_per_project Failed

  • test_05_snapshots_per_project Failed

  • test_06_volumes_per_project Failing since 2 runs

  • test_07_templates_per_project Failing since 2 runs

  • test_templates.py

  • test_01_create_template Failing since 4 runs

  • test_assign_vm.py

  • test_13_move_across_subdomain_vm_snapshot Failing since 2 runs

  • test_15_move_across_subdomain_account_limit Failing since 2 runs

  • test_16_move_across_subdomain_volume_and_account_limit Failing since 2 runs

Skipped tests:
test_03_copy_template
ContextSuite context=TestvGPUWindowsVm>:setup
ContextSuite context=TestTemplateUsage>:setup
test_02_create_vpc_from_offering_with_regionlevelvpc_service_capability
test_03_deploy_vms_in_vpc_with_regionlevelvpc
test_02_cancel_host_maintenace_with_migration_jobs
ContextSuite context=TestInstanceNameFlagTrue>:setup
test_04_deploy_multiple_vm_with_multiple_cpus
test_05_1_egress_fr5
test_05_egress_fr5
test_08_1_egress_fr8
test_08_egress_fr8
ContextSuite context=TestAffinityRules>:setup
ContextSuite context=TestAntiAffinityRules>:setup
test_02_create_vpc_from_offering_with_distributedrouter_service_capability
test_03_deploy_vms_in_vpc_with_distributedrouter
test_04_deploy_multiple_vm
ContextSuite context=TestProjectCreationNegative>:setup
ContextSuite context=TestProjectInviteRequiredTrue>:setup
ContextSuite context=TestProjectInviteTimeout>:setup
test_RVR_network
test_01_create_network_2_network_offering_vpcns
test_02_create_network_fail_2_network_offering_vpcns
test_04_create_multiple_networks_with_lb_1_network_offering
test_04_create_multiple_networks_with_lb_2_network_offering_vpcns
test_06_create_network_with_rvr
test_09_create_network_shared_nwoff_2_network_offering_vpcns
test_01_create_network_outside_range_2_network_offering_vpcns
test_03_create_network_inside_range_2_network_offering_vpcns
test_04_create_network_overlapping_range_2_network_offering_vpcns
test_05_create_network_diff_account_2_network_offering_vpcns
test_02_concurrent_snapshot_global_limit
test_01_VM_start_stop
test_02_migrate_vm
test_03_delete_vm
test_01_deploy_vm_with_implicit_planner
test_destroy_recover_vm_1_root_domain_admin
test_destroy_recover_vm_2_child_domain_admin
test_04_copy_iso
test_04_update_aff_grp_remove_all
test_01_host_ha_with_nfs_storagepool_with_vm
test_02_host_ha_with_local_storage_and_nfs
test_03_host_ha_with_only_local_storage
ContextSuite context=TestTemplates>:setup
test_09_stop_vm_migrate_vol
test_04_copy_template
test_04_copy_template_1_root_domain_admin
test_04_copy_template_2_child_domain_admin
test1_attach_volume_ide
test2_attach_ISO_in_CentOSVM
ContextSuite context=TestTemplateUsage>:setup
test_01_addLdapConfiguration
ContextSuite context=TestTemplates>:setup

Passed test suits:
None
test_redundant_router_upgrades.py
test_regions_accounts.py
test_acl_isolatednetwork_delete.py
test_invalid_gw_nm.py
test_vpc_offerings.py
test_vpc_routers.py
test_acl_listvm.py
test_simultaneous_volume_attach.py
test_update_vm.py
test_escalations_volumes.py
test_regions.py
test_acl_sharednetwork.py
test_allocation_states.py
test_snapshot_gc.py
test_network_offering.py
None

Copy link

@ProjectMoon ProjectMoon left a comment

Choose a reason for hiding this comment

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

Just a few minor things left, with the biggest being the conflict lines that sneaked into the SQL file.

WHERE (o.cpu is null AND o.speed IS NULL AND o.ram_size IS NULL) AND
(d.name = 'cpuNumber' OR d.name = 'cpuSpeed' OR d.name = 'memory');

<<<<<<< 1c48deefe9b534198cad19b5528ce0dcfa8d04a5

Choose a reason for hiding this comment

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

It seems you got a conflict stuck in the file.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My bad, on multiple times rebase some how I missed it. Corrected now.

DROP VIEW IF EXISTS `cloud`.`storage_tag_view`;

ALTER TABLE `user_ip_address` ADD COLUMN `rule_state` VARCHAR(32) COMMENT 'static rule state while removing';
=======

Choose a reason for hiding this comment

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

Conflict line.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Corrected

int ipsWithrules = 0;
int ipsStaticNat = 0;
for (IPAddressVO ip : userIps) {
if ( _rulesDao.countRulesByIpIdAndState(ip.getId(), FirewallRule.State.Active) > 0 ) {

Choose a reason for hiding this comment

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

Inconsistent formatting of the parentheses in the if. A bit nitpicky, but the code has to adhere to format.

Copy link
Contributor Author

@jayapalu jayapalu Apr 11, 2017

Choose a reason for hiding this comment

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

@ProjectMoon Updated.

@ProjectMoon
Copy link

Looks good now. Not sure what's up with Jenkins though.

@jayapalu
Copy link
Contributor Author

Jenkins got timed out. I am force pushing again to trigger jenkins.

@jayapalu
Copy link
Contributor Author

@ProjectMoon Jenkins and CI is passed, Can you please give LGTM

@ProjectMoon
Copy link

Looks fine to me.

@jayapalu
Copy link
Contributor Author

@borisstoyanov Can you please trigger the travis CI on this PR please

@yadvr
Copy link
Member

yadvr commented Apr 19, 2017

@jayapalu Travis is already green, assuming you mean Trillian I'll kick some jobs
@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

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

@borisstoyanov
Copy link
Contributor

@blueorangutan test

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Trillian test result (tid-1013)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 35340 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1908-t1013-kvm-centos7.zip
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_snapshots.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Test completed. 49 look ok, 1 have error(s)

Test Result Time (s) Test File
test_04_rvpc_privategw_static_routes Failure 396.44 test_privategw_acl.py
test_01_vpc_site2site_vpn Success 145.60 test_vpc_vpn.py
test_01_vpc_remote_access_vpn Success 81.37 test_vpc_vpn.py
test_01_redundant_vpc_site2site_vpn Success 277.43 test_vpc_vpn.py
test_02_VPC_default_routes Success 249.46 test_vpc_router_nics.py
test_01_VPC_nics_after_destroy Success 536.05 test_vpc_router_nics.py
test_05_rvpc_multi_tiers Success 522.88 test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nics Success 1285.11 test_vpc_redundant.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers Success 578.76 test_vpc_redundant.py
test_02_redundant_VPC_default_routes Success 765.40 test_vpc_redundant.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL Success 1286.76 test_vpc_redundant.py
test_09_delete_detached_volume Success 156.71 test_volumes.py
test_08_resize_volume Success 156.47 test_volumes.py
test_07_resize_fail Success 161.52 test_volumes.py
test_06_download_detached_volume Success 151.41 test_volumes.py
test_05_detach_volume Success 150.82 test_volumes.py
test_04_delete_attached_volume Success 151.28 test_volumes.py
test_03_download_attached_volume Success 156.45 test_volumes.py
test_02_attach_volume Success 90.12 test_volumes.py
test_01_create_volume Success 621.44 test_volumes.py
test_03_delete_vm_snapshots Success 275.19 test_vm_snapshots.py
test_02_revert_vm_snapshots Success 100.86 test_vm_snapshots.py
test_01_create_vm_snapshots Success 134.45 test_vm_snapshots.py
test_deploy_vm_multiple Success 237.69 test_vm_life_cycle.py
test_deploy_vm Success 0.03 test_vm_life_cycle.py
test_advZoneVirtualRouter Success 0.02 test_vm_life_cycle.py
test_10_attachAndDetach_iso Success 26.69 test_vm_life_cycle.py
test_09_expunge_vm Success 125.19 test_vm_life_cycle.py
test_08_migrate_vm Success 31.06 test_vm_life_cycle.py
test_07_restore_vm Success 0.14 test_vm_life_cycle.py
test_06_destroy_vm Success 131.01 test_vm_life_cycle.py
test_03_reboot_vm Success 125.91 test_vm_life_cycle.py
test_02_start_vm Success 10.24 test_vm_life_cycle.py
test_01_stop_vm Success 40.40 test_vm_life_cycle.py
test_CreateTemplateWithDuplicateName Success 131.04 test_templates.py
test_08_list_system_templates Success 0.03 test_templates.py
test_07_list_public_templates Success 0.04 test_templates.py
test_05_template_permissions Success 0.06 test_templates.py
test_04_extract_template Success 5.25 test_templates.py
test_03_delete_template Success 5.11 test_templates.py
test_02_edit_template Success 90.11 test_templates.py
test_01_create_template Success 95.80 test_templates.py
test_10_destroy_cpvm Success 196.85 test_ssvm.py
test_09_destroy_ssvm Success 169.87 test_ssvm.py
test_08_reboot_cpvm Success 131.89 test_ssvm.py
test_07_reboot_ssvm Success 134.14 test_ssvm.py
test_06_stop_cpvm Success 132.09 test_ssvm.py
test_05_stop_ssvm Success 169.13 test_ssvm.py
test_04_cpvm_internals Success 1.77 test_ssvm.py
test_03_ssvm_internals Success 5.65 test_ssvm.py
test_02_list_cpvm_vm Success 0.13 test_ssvm.py
test_01_list_sec_storage_vm Success 0.14 test_ssvm.py
test_02_list_snapshots_with_removed_data_store Success 87.04 test_snapshots.py
test_01_snapshot_root_disk Success 11.39 test_snapshots.py
test_04_change_offering_small Success 240.59 test_service_offerings.py
test_03_delete_service_offering Success 0.05 test_service_offerings.py
test_02_edit_service_offering Success 0.09 test_service_offerings.py
test_01_create_service_offering Success 0.14 test_service_offerings.py
test_02_sys_template_ready Success 0.18 test_secondary_storage.py
test_01_sys_vm_start Success 0.25 test_secondary_storage.py
test_09_reboot_router Success 35.44 test_routers.py
test_08_start_router Success 30.40 test_routers.py
test_07_stop_router Success 10.21 test_routers.py
test_06_router_advanced Success 0.07 test_routers.py
test_05_router_basic Success 0.04 test_routers.py
test_04_restart_network_wo_cleanup Success 5.62 test_routers.py
test_03_restart_network_cleanup Success 55.65 test_routers.py
test_02_router_internal_adv Success 1.15 test_routers.py
test_01_router_internal_basic Success 0.62 test_routers.py
test_router_dns_guestipquery Success 73.78 test_router_dns.py
test_router_dns_externalipquery Success 0.07 test_router_dns.py
test_router_dhcphosts Success 277.89 test_router_dhcphosts.py
test_router_dhcp_opts Success 22.00 test_router_dhcphosts.py
test_01_updatevolumedetail Success 0.12 test_resource_detail.py
test_01_reset_vm_on_reboot Success 166.24 test_reset_vm_on_reboot.py
test_createRegion Success 0.04 test_regions.py
test_create_pvlan_network Success 5.21 test_pvlan.py
test_dedicatePublicIpRange Success 0.43 test_public_ip_range.py
test_03_vpc_privategw_restart_vpc_cleanup Success 485.58 test_privategw_acl.py
test_02_vpc_privategw_static_routes Success 451.90 test_privategw_acl.py
test_01_vpc_privategw_acl Success 87.37 test_privategw_acl.py
test_03_migration_options_storage_tags Success 66.20 test_primary_storage.py
test_02_edit_primary_storage_tags Success 0.11 test_primary_storage.py
test_01_primary_storage_nfs Success 35.78 test_primary_storage.py
test_01_deploy_vms_storage_tags Success 26.22 test_primary_storage.py
test_createPortablePublicIPRange Success 15.27 test_portable_publicip.py
test_createPortablePublicIPAcquire Success 15.58 test_portable_publicip.py
test_isolate_network_password_server Success 90.18 test_password_server.py
test_UpdateStorageOverProvisioningFactor Success 0.13 test_over_provisioning.py
test_oobm_zchange_password Success 30.75 test_outofbandmanagement.py
test_oobm_multiple_mgmt_server_ownership Success 16.39 test_outofbandmanagement.py
test_oobm_issue_power_status Success 10.35 test_outofbandmanagement.py
test_oobm_issue_power_soft Success 10.34 test_outofbandmanagement.py
test_oobm_issue_power_reset Success 15.43 test_outofbandmanagement.py
test_oobm_issue_power_on Success 15.41 test_outofbandmanagement.py
test_oobm_issue_power_off Success 15.44 test_outofbandmanagement.py
test_oobm_issue_power_cycle Success 15.45 test_outofbandmanagement.py
test_oobm_enabledisable_across_clusterzones Success 92.75 test_outofbandmanagement.py
test_oobm_enable_feature_valid Success 5.19 test_outofbandmanagement.py
test_oobm_enable_feature_invalid Success 0.11 test_outofbandmanagement.py
test_oobm_disable_feature_valid Success 5.19 test_outofbandmanagement.py
test_oobm_disable_feature_invalid Success 0.11 test_outofbandmanagement.py
test_oobm_configure_invalid_driver Success 0.09 test_outofbandmanagement.py
test_oobm_configure_default_driver Success 0.09 test_outofbandmanagement.py
test_oobm_background_powerstate_sync Success 23.44 test_outofbandmanagement.py
test_extendPhysicalNetworkVlan Success 15.38 test_non_contigiousvlan.py
test_01_nic Success 464.92 test_nic.py
test_releaseIP Success 182.61 test_network.py
test_reboot_router Success 444.13 test_network.py
test_public_ip_user_account Success 10.30 test_network.py
test_public_ip_admin_account Success 40.28 test_network.py
test_network_rules_acquired_public_ip_3_Load_Balancer_Rule Success 66.72 test_network.py
test_network_rules_acquired_public_ip_2_nat_rule Success 61.84 test_network.py
test_network_rules_acquired_public_ip_1_static_nat_rule Success 120.83 test_network.py
test_delete_account Success 308.20 test_network.py
test_02_port_fwd_on_non_src_nat Success 55.71 test_network.py
test_01_port_fwd_on_src_nat Success 111.97 test_network.py
test_nic_secondaryip_add_remove Success 207.87 test_multipleips_per_nic.py
test_list_zones_metrics Success 0.28 test_metrics_api.py
test_list_volumes_metrics Success 5.69 test_metrics_api.py
test_list_vms_metrics Success 237.46 test_metrics_api.py
test_list_pstorage_metrics Success 0.49 test_metrics_api.py
test_list_infrastructure_metrics Success 0.58 test_metrics_api.py
test_list_hosts_metrics Success 0.55 test_metrics_api.py
test_list_clusters_metrics Success 0.33 test_metrics_api.py
login_test_saml_user Success 19.36 test_login.py
test_assign_and_removal_lb Success 135.08 test_loadbalance.py
test_02_create_lb_rule_non_nat Success 187.19 test_loadbalance.py
test_01_create_lb_rule_src_nat Success 218.15 test_loadbalance.py
test_03_list_snapshots Success 0.10 test_list_ids_parameter.py
test_02_list_templates Success 0.04 test_list_ids_parameter.py
test_01_list_volumes Success 0.04 test_list_ids_parameter.py
test_07_list_default_iso Success 0.12 test_iso.py
test_05_iso_permissions Success 0.10 test_iso.py
test_04_extract_Iso Success 5.20 test_iso.py
test_03_delete_iso Success 95.20 test_iso.py
test_02_edit_iso Success 0.06 test_iso.py
test_01_create_iso Success 21.06 test_iso.py
test_04_rvpc_internallb_haproxy_stats_on_all_interfaces Success 213.62 test_internal_lb.py
test_03_vpc_internallb_haproxy_stats_on_all_interfaces Success 163.68 test_internal_lb.py
test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80 Success 526.61 test_internal_lb.py
test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80 Success 430.98 test_internal_lb.py
test_dedicateGuestVlanRange Success 10.36 test_guest_vlan_range.py
test_UpdateConfigParamWithScope Success 0.17 test_global_settings.py
test_rolepermission_lifecycle_update Success 6.37 test_dynamicroles.py
test_rolepermission_lifecycle_list Success 6.11 test_dynamicroles.py
test_rolepermission_lifecycle_delete Success 5.92 test_dynamicroles.py
test_rolepermission_lifecycle_create Success 6.03 test_dynamicroles.py
test_rolepermission_lifecycle_concurrent_updates Success 6.12 test_dynamicroles.py
test_role_lifecycle_update_role_inuse Success 5.96 test_dynamicroles.py
test_role_lifecycle_update Success 11.10 test_dynamicroles.py
test_role_lifecycle_list Success 6.00 test_dynamicroles.py
test_role_lifecycle_delete Success 11.42 test_dynamicroles.py
test_role_lifecycle_create Success 6.24 test_dynamicroles.py
test_role_inuse_deletion Success 5.99 test_dynamicroles.py
test_role_account_acls_multiple_mgmt_servers Success 8.40 test_dynamicroles.py
test_role_account_acls Success 8.60 test_dynamicroles.py
test_default_role_deletion Success 6.00 test_dynamicroles.py
test_04_create_fat_type_disk_offering Success 0.08 test_disk_offerings.py
test_03_delete_disk_offering Success 0.04 test_disk_offerings.py
test_02_edit_disk_offering Success 0.07 test_disk_offerings.py
test_02_create_sparse_type_disk_offering Success 0.07 test_disk_offerings.py
test_01_create_disk_offering Success 0.11 test_disk_offerings.py
test_deployvm_userdispersing Success 20.66 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userconcentrated Success 20.68 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_firstfit Success 70.89 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userdata_post Success 10.50 test_deploy_vm_with_userdata.py
test_deployvm_userdata Success 60.85 test_deploy_vm_with_userdata.py
test_02_deploy_vm_root_resize Success 6.05 test_deploy_vm_root_resize.py
test_01_deploy_vm_root_resize Success 6.10 test_deploy_vm_root_resize.py
test_00_deploy_vm_root_resize Success 237.81 test_deploy_vm_root_resize.py
test_deploy_vm_from_iso Success 202.62 test_deploy_vm_iso.py
test_DeployVmAntiAffinityGroup Success 76.14 test_affinity_groups.py
test_change_service_offering_for_vm_with_snapshots Skipped 0.00 test_vm_snapshots.py
test_06_copy_template Skipped 0.00 test_templates.py
test_static_role_account_acls Skipped 0.03 test_staticroles.py
test_11_ss_nfs_version_on_ssvm Skipped 0.02 test_ssvm.py
test_01_scale_vm Skipped 0.00 test_scale_vm.py
test_01_primary_storage_iscsi Skipped 0.04 test_primary_storage.py
test_nested_virtualization_vmware Skipped 0.00 test_nested_virtualization.py
test_06_copy_iso Skipped 0.00 test_iso.py
test_deploy_vgpu_enabled_vm Skipped 0.04 test_deploy_vgpu_enabled_vm.py
test_3d_gpu_support Skipped 0.05 test_deploy_vgpu_enabled_vm.py

@jayapalu
Copy link
Contributor Author

Two LGTMs and Trillian tests are passed. Marking tag:mergeready

@rohit57
Copy link

rohit57 commented May 3, 2017

Disable static NAT working fine, IP's are leaving interface as soon as they are disabled.
screenshot 125
screenshot 127
screenshot 126

Test results are as expected. LGTM

Copy link
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 based on test results

@yadvr
Copy link
Member

yadvr commented May 15, 2017

@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

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

@karuturi
Copy link
Member

merge conflicts

@jayapalu
Copy link
Contributor Author

Merge conflicts addressed.

@yadvr
Copy link
Member

yadvr commented May 17, 2017

@jayapalu thanks, can you also squash your changes?

@karuturi karuturi merged commit 701146f into apache:master May 18, 2017
@karuturi karuturi added this to the 4.10.0.0 milestone May 18, 2017
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.