[
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 at*: component/maint/.
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:
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: Bug
> 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 at*: component/maint/.
> 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)