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 3DDAA11FA1 for ; Thu, 21 Aug 2014 23:50:12 +0000 (UTC) Received: (qmail 21300 invoked by uid 500); 21 Aug 2014 23:50:12 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 21277 invoked by uid 500); 21 Aug 2014 23:50:12 -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 21252 invoked by uid 500); 21 Aug 2014 23:50:12 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 21231 invoked by uid 99); 21 Aug 2014 23:50:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Aug 2014 23:50:12 +0000 Date: Thu, 21 Aug 2014 23:50:11 +0000 (UTC) From: "Chandan Purushothama (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (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 Chandan Purushothama created CLOUDSTACK-7393: ------------------------------------------------ Summary: [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 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.2#6252)