[ https://issues.apache.org/jira/browse/CLOUDSTACK-7387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chandan Purushothama updated CLOUDSTACK-7387: --------------------------------------------- Description: *Script is present at:* component/maint/test_vpc_host_maintenance.py Currently script assumes that the deployment has hosts with host_tag "HOST_TAGS_HERE" and uses two service offerings with this host_tag. 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. was: *Scripts is present at:* component/maint/test_vpc_host_maintenance.py Currently script assumes that the deployment has hosts with host_tag "HOST_TAGS_HERE" and uses two service offerings with this host_tag. 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. > [Automation] Fix the script "test_vpc_host_maintenance.py" - Code is > hardcoded to use certain host tags > ------------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-7387 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7387 > 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/maint/test_vpc_host_maintenance.py > Currently script assumes that the deployment has hosts with host_tag > "HOST_TAGS_HERE" and uses two service offerings with this host_tag. 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)