Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5DC34117ED for ; Fri, 5 Sep 2014 09:07:29 +0000 (UTC) Received: (qmail 58992 invoked by uid 500); 5 Sep 2014 09:07:29 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 58957 invoked by uid 500); 5 Sep 2014 09:07:29 -0000 Mailing-List: contact issues-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 issues@cloudstack.apache.org Received: (qmail 58947 invoked by uid 500); 5 Sep 2014 09:07:28 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 58944 invoked by uid 99); 5 Sep 2014 09:07:28 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Sep 2014 09:07:28 +0000 Date: Fri, 5 Sep 2014 09:07:28 +0000 (UTC) From: "Gaurav Aradhye (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CLOUDSTACK-7393) [Automation] Fix the script "test_vpc_vm_life_cycle.py" - Code is hardcoded to use certain host tags MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-7393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye resolved CLOUDSTACK-7393. ---------------------------------------- Resolution: Fixed > [Automation] Fix the script "test_vpc_vm_life_cycle.py" - Code is hardcoded to use certain host tags > ---------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-7393 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7393 > Project: CloudStack > Issue Type: Test > Security Level: Public(Anyone can view this level - this is the default.) > Components: Automation, Test > Affects Versions: 4.5.0 > Reporter: Chandan Purushothama > Assignee: Gaurav Aradhye > Priority: Critical > Fix For: 4.5.0 > > > *Script is present at:* > component/test_vpc_vm_life_cycle.py > Currently script assumes that the deployment has hosts with host_tags "host1" and "host2" and uses two service offerings with these host_tags. The script is hardcoded with the above information. The proper design and correction should be as follows. > Find the cluster with two hosts > If no two host cluster is found error out with proper message > Edit the host tags on the two hosts to two different unique names > Create corresponding service offerings with the two different unique names > Conduct the tests > In teardown script section of the script, edit the host tags on the hosts to empty. -- This message was sent by Atlassian JIRA (v6.3.4#6332)