cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-7389) [Automation] Fix the script "test_bugs.py" - Unable to find Ostype is required for registering template
Date Thu, 04 Sep 2014 11:39:52 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-7389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14121260#comment-14121260
] 

ASF subversion and git services commented on CLOUDSTACK-7389:
-------------------------------------------------------------

Commit aa64d8b3e7222c9b849f28efcae4168a01da679b in cloudstack's branch refs/heads/master from
SrikanteswaraRao Talluri
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=aa64d8b ]

CLOUDSTACK-7389: fix for the script bugs CLOUDSTACK-7389, CLOUDSTACK-7390 and few
other fixes.


> [Automation] Fix the script "test_bugs.py" - Unable to find Ostype is required for registering
template
> -------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7389
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7389
>             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: Srikanteswararao Talluri
>            Priority: Critical
>             Fix For: 4.5.0
>
>
> Script is at: component/maint/.
> {code}
>     @attr(required_hardware="false")
>     @attr(storage="s3")
>     def test_es_1863_register_template_s3_domain_admin_user(self):
>         """
>         @Desc: Test whether cloudstack allows Domain admin or user to register a template
using
>         S3/Swift object store.
>         @Steps:
>         Step1: create a Domain and users in it.
>         Step2: Register a template as Domain admin.
>         Step3: Register a template as Domain user.
>         Step4: Template should be registered successfully.
>         """
>         # Step1: create a Domain and users in it.
>         self.newdomain = Domain.create(self.apiClient,
>                                self.services["domain"])
>         #create account in the domain
>         self.account_domain = Account.create(
>             self.apiClient,
>             self.services["account"],
>             domainid=self.newdomain.id
>         )
>         self.cleanup.append(self.account_domain)
>         self.cleanup.append(self.newdomain)
>         # Getting authentication for user in newly created Account in domain
>         self.domain_user = self.account_domain.user[0]
>         self.domain_userapiclient = self.testClient.getUserApiClient(self.domain_user.username,
self.newdomain.name)
>         # Step2: Register a template as Domain admin.
>         self.domain_template = Template.register(
>                                         self.apiClient,
>                                         self.services["templateregister"],
>                                         zoneid=self.zone.id,
>                                         account=self.account_domain.name,
>                                         domainid=self.newdomain.id,
>                                         hypervisor=self.hypervisor
>                                         )
>         # Wait for template to download
>         self.domain_template.download(self.api_client)
>         # Wait for template status to be changed across
>         time.sleep(60)
>         # Step3: Register a template as Domain user.
>         self.domain_user_template = Template.register(
>                                         self.domain_userapiclient,
>                                         self.services["templateregister"],
>                                         zoneid=self.zone.id,
>                                         account=self.account_domain.name,
>                                         domainid=self.newdomain.id,
>                                         hypervisor=self.hypervisor
>                                         )
> {code}
> *Error Message*
> Unable to find Ostype is required for registering template
> -------------------- >> begin captured stdout << ---------------------
> === TestName: test_es_1863_register_template_s3_domain_admin_user | Status : EXCEPTION
===
> --------------------- >> end captured stdout << ----------------------



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message