Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 49BEC178D6 for ; Tue, 17 Feb 2015 19:06:32 +0000 (UTC) Received: (qmail 56589 invoked by uid 500); 17 Feb 2015 19:06:31 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 56545 invoked by uid 500); 17 Feb 2015 19:06:31 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 56533 invoked by uid 99); 17 Feb 2015 19:06:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Feb 2015 19:06:31 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of daan.hoogland@gmail.com designates 209.85.213.45 as permitted sender) Received: from [209.85.213.45] (HELO mail-yh0-f45.google.com) (209.85.213.45) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Feb 2015 19:06:27 +0000 Received: by yhaf73 with SMTP id f73so168345yha.3 for ; Tue, 17 Feb 2015 11:05:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=cdsbsyeYRb6A+IYA5M44t69NGA6KvjBBgFEYbYPW100=; b=RElgObS+/bAmhyrqhiyaUCnHtxuhlHz9+9XR6NUW2Eos4ym1habeMFHlFHNHNdSJL0 REDu9mGV+NtVWYXIBeZr1yPKIaax8bLu/MJScNvtqv1tFR1QOT/XQWWbxginQGsuhhv9 CJqBZj8NNoGMxKYkJmOn5jS5yKXQX8jgzyjWVIZLkfRs6vJVzPNYXXxkcX+HOIUaVXo9 EC89Ga2bbSy2cWBVewhxM0tjgc9oYOm08heisSHJVUHJoFKtGFeffU782jFX1hxuZQrn kjyF6HyytOE17cpwg6KXEUiAbSMhb8apzAfueYmQbTyJqQ6NkAlXz/KH2fhnYfQpmuP4 ZfRA== X-Received: by 10.236.36.65 with SMTP id v41mr763799yha.102.1424199921609; Tue, 17 Feb 2015 11:05:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.170.113.17 with HTTP; Tue, 17 Feb 2015 11:05:01 -0800 (PST) In-Reply-To: References: <1EB47CDB-21D2-4D4C-9A3B-0C32F6094BE3@schubergphilis.com> <4F32CC4A-5AA9-4B23-BF7B-BBB551C737F0@schubergphilis.com> From: Daan Hoogland Date: Tue, 17 Feb 2015 19:05:01 +0000 Message-ID: Subject: Re: [MERGE] Redundant VPC routers and persistent router config To: dev Cc: John Kinsella , int-cloud , Ian Southam Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org It means that cloudstack doesn't have to reconfigure them on reboot as they have the config on disk. On Tue, Feb 17, 2015 at 4:16 PM, Marcus wrote: > Can someone expand on what's meant by 'systemvm persistent config'? > Somehow this makes me think that the systemvms would no longer be > easily rebuildable. > > On Tue, Feb 17, 2015 at 5:11 AM, Wilder Rodrigues > wrote: >> Hi there, >> >> I=E2=80=99m building a devcloud-kvm in order to test our changes with a = different environment as well. >> >> Cheers, >> Wilder >> >> >> On 17 Feb 2015, at 01:46, Wilder Rodrigues wrote: >> >>> Hi all, >>> >>> I have been some tests on the branch in order to give you all some conf= idence. >>> >>> During the tests I found 1 bug related to communication from VM A on Ti= er 1 to VM B on Tier 2 in a Single VPC. I can reproduce the bug and it disa= ppears when I convert the Single VPC to a redundant one. I already talked t= o Ian and he is on it. >>> >>> Results follow below. >>> >>> Cheers, >>> Wilder >>> >>> Environment: >>> >>> Xen 6.2 running on VMware zone within our Betacloud (ACS 4.4.2) >>> MySQL running on MacBook Pro >>> Management Server on MacBook Pro >>> >>> ::: Manual Tests::: >>> >>> Isolated Networks >>> >>> * Create Network >>> * Create 2 VMs using new Network >>> * Create FW rules >>> * Create PF rules >>> * SSH to the VMs >>> * SSH from one VM onto the other in the same isolated network >>> * Destroy Master router >>> * Restart the Network >>> * Restart the Network with Clean-up option >>> * Repeat steps above >>> >>> Redundant Isolated Networks >>> >>> * Create Redundant Network Offering >>> * Create 2 VMs using new offering >>> * Create FW rules >>> * Create PF rules >>> * SSH to the VMs >>> * SSH from one VM onto the other in the same redundant isolated network >>> * Destroy Master router >>> * Restart the Network >>> * Stop the Master Router >>> >>> Single VPC >>> >>> * Create VPC >>> * Create 2 Tiers >>> * Create ACLS >>> * Create 1 Vm for each Tier >>> * Associate 2 IP address >>> * Add PF rules >>> * SSH onto VMs >>> * SSH from 1 VM onto another >>> * Restart VPC - Make it redundant >>> * Repeat steps above >>> >>> Redundant VPC >>> >>> * Create VPC >>> * Create 2 Tiers >>> * Create ACLS >>> * Create 1 Vm for each Tier >>> * Associate 2 IP address >>> * Add PF rules >>> * SSH onto VMs >>> * SSH from 1 VM onto another >>> * Stop/Destroy the Master Router >>> * Observe the Backup router became Master >>> * SSH again onto the VMs >>> * Restart VPC (without clean-up) >>> * Observer only 1 new router is created >>> * New router is started as Backup >>> * SSH onto VMs >>> * Restart VPC (with clean-up) >>> * Observer only 2 new routers are created >>> * SSH onto VMs >>> >>> ::: Automated Tests ::: >>> >>> Test Create Account and user for that account ... =3D=3D=3D TestName: t= est_01_create_account | Status : SUCCESS =3D=3D=3D >>> ok >>> Test Sub domain allowed to launch VM when a Domain level zone is creat= ed ... =3D=3D=3D TestName: test_01_add_vm_to_subdomain | Status : SUCCESS = =3D=3D=3D >>> ok >>> Test delete domain without force option ... =3D=3D=3D TestName: test_De= leteDomain | Status : SUCCESS =3D=3D=3D >>> ok >>> Test delete domain with force option ... =3D=3D=3D TestName: test_force= DeleteDomain | Status : SUCCESS =3D=3D=3D >>> ok >>> Test update admin details ... =3D=3D=3D TestName: test_updateAdminDetai= ls | Status : SUCCESS =3D=3D=3D >>> ok >>> Test update domain admin details ... =3D=3D=3D TestName: test_updateDom= ainAdminDetails | Status : SUCCESS =3D=3D=3D >>> ok >>> Test user update API ... =3D=3D=3D TestName: test_updateUserDetails | S= tatus : SUCCESS =3D=3D=3D >>> ok >>> Test login API with domain ... =3D=3D=3D TestName: test_LoginApiDomain = | Status : SUCCESS =3D=3D=3D >>> ok >>> Test if Login API does not return UUID's ... =3D=3D=3D TestName: test_L= oginApiUuidResponse | Status : SUCCESS =3D=3D=3D >>> ok >>> >>> ---------------------------------------------------------------------- >>> Ran 9 tests in 1140.977s >>> >>> OK >>> >>> Test reset virtual machine on reboot ... =3D=3D=3D TestName: test_01_re= set_vm_on_reboot | Status : SUCCESS =3D=3D=3D >>> ok >>> >>> ---------------------------------------------------------------------- >>> Ran 1 test in 216.907s >>> >>> OK >>> >>> Test advanced zone virtual router ... =3D=3D=3D TestName: test_advZoneV= irtualRouter | Status : SUCCESS =3D=3D=3D >>> ok >>> Test Deploy Virtual Machine ... =3D=3D=3D TestName: test_deploy_vm | St= atus : SUCCESS =3D=3D=3D >>> ok >>> Test Multiple Deploy Virtual Machine ... =3D=3D=3D TestName: test_deplo= y_vm_multiple | Status : SUCCESS =3D=3D=3D >>> ok >>> Test Stop Virtual Machine ... =3D=3D=3D TestName: test_01_stop_vm | Sta= tus : SUCCESS =3D=3D=3D >>> ok >>> Test Start Virtual Machine ... =3D=3D=3D TestName: test_02_start_vm | S= tatus : SUCCESS =3D=3D=3D >>> ok >>> Test Reboot Virtual Machine ... =3D=3D=3D TestName: test_03_reboot_vm |= Status : SUCCESS =3D=3D=3D >>> ok >>> Test destroy Virtual Machine ... =3D=3D=3D TestName: test_06_destroy_vm= | Status : SUCCESS =3D=3D=3D >>> ok >>> Test recover Virtual Machine ... =3D=3D=3D TestName: test_07_restore_vm= | Status : SUCCESS =3D=3D=3D >>> ok >>> Test migrate VM ... SKIP: At least two hosts should be present in the z= one for migration >>> Test destroy(expunge) Virtual Machine ... =3D=3D=3D TestName: test_09_e= xpunge_vm | Status : SUCCESS =3D=3D=3D >>> ok >>> >>> ---------------------------------------------------------------------- >>> Ran 10 tests in 851.022s >>> >>> OK (SKIP=3D1) >>> >>> Test router internal advanced zone ... SKIP: Marvin configuration has n= o host credentials to check router services >>> Test restart network ... =3D=3D=3D TestName: test_03_restart_network_cl= eanup | Status : SUCCESS =3D=3D=3D >>> ok >>> Test router basic setup ... =3D=3D=3D TestName: test_05_router_basic | = Status : SUCCESS =3D=3D=3D >>> ok >>> Test router advanced setup ... =3D=3D=3D TestName: test_06_router_advan= ced | Status : SUCCESS =3D=3D=3D >>> ok >>> Test stop router ... =3D=3D=3D TestName: test_07_stop_router | Status := SUCCESS =3D=3D=3D >>> ok >>> Test start router ... =3D=3D=3D TestName: test_08_start_router | Status= : SUCCESS =3D=3D=3D >>> ok >>> Test reboot router ... =3D=3D=3D TestName: test_09_reboot_router | Stat= us : SUCCESS =3D=3D=3D >>> ok >>> >>> ---------------------------------------------------------------------- >>> Ran 7 tests in 454.519s >>> >>> OK (SKIP=3D1) >>> >>> Test to create service offering ... =3D=3D=3D TestName: test_01_create_= service_offering | Status : SUCCESS =3D=3D=3D >>> ok >>> Test to update existing service offering ... =3D=3D=3D TestName: test_0= 2_edit_service_offering | Status : SUCCESS =3D=3D=3D >>> ok >>> Test to delete service offering ... =3D=3D=3D TestName: test_03_delete_= service_offering | Status : SUCCESS =3D=3D=3D >>> ok >>> >>> ---------------------------------------------------------------------- >>> Ran 3 tests in 206.916s >>> >>> OK >>> >>> Test VPN in VPC ... =3D=3D=3D TestName: test_vpc_remote_access_vpn | St= atus : SUCCESS =3D=3D=3D >>> ok >>> Test VPN in VPC ... =3D=3D=3D TestName: test_vpc_site2site_vpn | Status= : SUCCESS =3D=3D=3D >>> ok >>> >>> ---------------------------------------------------------------------- >>> Ran 2 tests in 373.908s >>> >>> OK >>> >>> Test create VPC offering ... =3D=3D=3D TestName: test_01_create_vpc_off= ering | Status : SUCCESS =3D=3D=3D >>> ok >>> Test VPC offering without load balancing service ... =3D=3D=3D TestName= : test_03_vpc_off_without_lb | Status : SUCCESS =3D=3D=3D >>> ok >>> Test VPC offering without static NAT service ... =3D=3D=3D TestName: te= st_04_vpc_off_without_static_nat | Status : SUCCESS =3D=3D=3D >>> ok >>> Test VPC offering without port forwarding service ... =3D=3D=3D TestNam= e: test_05_vpc_off_without_pf | Status : SUCCESS =3D=3D=3D >>> ok >>> Test VPC offering with invalid services ... =3D=3D=3D TestName: test_06= _vpc_off_invalid_services | Status : SUCCESS =3D=3D=3D >>> ok >>> Test update VPC offering ... =3D=3D=3D TestName: test_07_update_vpc_off= | Status : SUCCESS =3D=3D=3D >>> ok >>> Test list VPC offering ... =3D=3D=3D TestName: test_08_list_vpc_off | S= tatus : SUCCESS =3D=3D=3D >>> ok >>> test_09_create_redundant_vpc_offering (integration.acs.tests.test_vpc_o= fferings.TestVPCOffering) ... =3D=3D=3D TestName: test_09_create_redundant_= vpc_offering | Status : SUCCESS =3D=3D=3D >>> ok >>> >>> ---------------------------------------------------------------------- >>> Ran 8 tests in 672.382s >>> >>> OK >>> >>> test_privategw_acl (integration.acs.tests.test_privategw_acl.TestPrivat= eGwACL) ... =3D=3D=3D TestName: test_privategw_acl | Status : SUCCESS =3D= =3D=3D >>> ok >>> >>> ---------------------------------------------------------------------- >>> Ran 1 test in 90.756s >>> >>> OK >>> >>> Test to change service offering of router after addition of one guest n= etwork ... =3D=3D=3D TestName: test_04_chg_srv_off_router_after_addition_of= _one_guest_network | Status : SUCCESS =3D=3D=3D >>> ok >>> Test destroy of router after addition of one guest network ... =3D=3D= =3D TestName: test_05_destroy_router_after_addition_of_one_guest_network | = Status : SUCCESS =3D=3D=3D >>> ok >>> Test to stop and start router after creation of VPC ... =3D=3D=3D TestN= ame: test_01_stop_start_router_after_creating_vpc | Status : SUCCESS =3D=3D= =3D >>> ok >>> Test to reboot the router after creating a VPC ... =3D=3D=3D TestName: = test_02_reboot_router_after_creating_vpc | Status : SUCCESS =3D=3D=3D >>> ok >>> Tests to change service offering of the Router after ... =3D=3D=3D Test= Name: test_04_change_service_offerring_vpc | Status : SUCCESS =3D=3D=3D >>> ok >>> Test to destroy the router after creating a VPC ... =3D=3D=3D TestName:= test_05_destroy_router_after_creating_vpc | Status : SUCCESS =3D=3D=3D >>> ok >>> >>> ---------------------------------------------------------------------- >>> Ran 6 tests in 665.965s >>> >>> OK >>> >>> On 16 Feb 2015, at 17:53, Daan Hoogland wrote= : >>> >>>> H, >>>> >>>> I will merge our feature/systemvm-persistent-config into master. If >>>> you have objections please let me know before tomorrow. >>>> >>>> @john: your comment was addressed in the present day version. >>>> >>>> -- >>>> Daan >>> >> --=20 Daan