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 1A582112BC for ; Mon, 12 May 2014 12:45:04 +0000 (UTC) Received: (qmail 85717 invoked by uid 500); 10 May 2014 22:06:15 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 85423 invoked by uid 500); 10 May 2014 22:06:15 -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 85232 invoked by uid 500); 10 May 2014 22:06:15 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 85105 invoked by uid 99); 10 May 2014 22:06:15 -0000 Received: from Unknown (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 May 2014 22:06:15 +0000 Date: Sat, 10 May 2014 22:06:15 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-6580) [Automation] Account creation failing with error "already exists in domain *** " 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-6580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13992589#comment-13992589 ] ASF subversion and git services commented on CLOUDSTACK-6580: ------------------------------------------------------------- Commit 38e8a20afb3f71de2e3e0b9c8f50ad71b82df1b0 in cloudstack's branch refs/heads/master from [~gauravaradhye] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=38e8a20 ] CLOUDSTACK-6580: Adding listall parameter while listing Account in createUserApiClient > [Automation] Account creation failing with error "already exists in domain *** " > -------------------------------------------------------------------------------- > > Key: CLOUDSTACK-6580 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6580 > Project: CloudStack > Issue Type: Test > Security Level: Public(Anyone can view this level - this is the default.) > Components: marvin > Affects Versions: 4.4.0 > Environment: branch 4.4-forward > Reporter: Rayees Namathponnan > Assignee: Girish Shilamkar > Priority: Critical > Fix For: 4.4.0 > > > 4.4-forward test cases failing while creating account under domain, there are changes in products, we need to update list API call with listAll=true > Please check base.py account create section, we need to pass listAll=true to get the existing account. > Test cases integration.component.test_cpu_max_limits.TestMaxCPULimits.test_01_deploy_vm_domain_limit_reached > Failing due to this > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.195 > requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?username=resource-TestMaxCPULimits-test_01_deploy_vm_domain_limit_reached-OSVM1O&domainid=2580427c-ac34-4bc1-b7c0-ed2adef4d9ec&firstname=resource-TestMaxCPULimits-test_01_deploy_vm_domain_limit_reached-OSVM1O&lastname=resource-TestMaxCPULimits-test_01_deploy_vm_domain_limit_reached-OSVM1O&response=json&apiKey=-iREkQOpes0jctzcJbHnQDDV2k6AzB6K53ul12O7vO-54OnW7j9deaT6Eb_s4MbAnKvVjCnPTpJI6cg2Rv-RiQ&command=createAccount&accounttype=0&signature=LbRpZtC%2FVIyf5CC4%2BtaLK%2F14%2FZw%3D&password=password&email=test-IAXXF9%40cloudstack.org HTTP/1.1" 431 203 > test_01_deploy_vm_domain_limit_reached (integration.component.test_cpu_max_limits.TestMaxCPULimits): DEBUG: Request: http://10.223.49.195:8080/client/api?username=resource-TestMaxCPULimits-test_01_deploy_vm_domain_limit_reached-OSVM1O&domainid=2580427c-ac34-4bc1-b7c0-ed2adef4d9ec&firstname=resource-TestMaxCPULimits-test_01_deploy_vm_domain_limit_reached-OSVM1O&lastname=resource-TestMaxCPULimits-test_01_deploy_vm_domain_limit_reached-OSVM1O&response=json&apiKey=-iREkQOpes0jctzcJbHnQDDV2k6AzB6K53ul12O7vO-54OnW7j9deaT6Eb_s4MbAnKvVjCnPTpJI6cg2Rv-RiQ&command=createAccount&accounttype=0&signature=LbRpZtC%2FVIyf5CC4%2BtaLK%2F14%2FZw%3D&password=password&email=test-IAXXF9%40cloudstack.org Response: { "createaccountresponse" : {"uuidList":[],"errorcode":431,"cserrorcode":4350,"errortext":"The user resource-TestMaxCPULimits-test_01_deploy_vm_domain_limit_reached-OSVM1O already exists in domain 61"} } > test_01_deploy_vm_domain_limit_reached (integration.component.test_cpu_max_limits.TestMaxCPULimits): CRITICAL: EXCEPTION: test_01_deploy_vm_domain_limit_reached: Traceback (most recent call last): > File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run > testMethod() > File "/Repo_30X/ipcl/cloudstack/test/integration/component/test_cpu_max_limits.py", line 256, in test_01_deploy_vm_domain_limit_reached > DomainName=self.child_do_admin.domain) > File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackTestClient.py", line 135, in createUserApiClient > acct = self.apiClient.createAccount(createAcctCmd) > File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 545, in createAccount > response = self.connection.marvinRequest(command, response_type=response, method=method) > File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 272, in marvinRequest > response = jsonHelper.getResultObj(response.json(), response_type) > File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line 148, in getResultObj > raise cloudstackException.cloudstackAPIException(respname, errMsg) > cloudstackAPIException: Execute cmd: createaccount failed, due to: errorCode: 431, errorText:The user resource-TestMaxCPULimits-test_01_deploy_vm_domain_limit_reached-OSVM1O already exists in domain 61 > --------------------- >> end captured logging << --------------------- > Stacktrace > File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run > testMethod() > File "/Repo_30X/ipcl/cloudstack/test/integration/component/test_cpu_max_limits.py", line 256, in test_01_deploy_vm_domain_limit_reached > DomainName=self.child_do_admin.domain) > File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackTestClient.py", line 135, in createUserApiClient > acct = self.apiClient.createAccount(createAcctCmd) > File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 545, in createAccount > response = self.connection.marvinRequest(command, response_type=response, method=method) > File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 272, in marvinRequest > response = jsonHelper.getResultObj(response.json(), response_type) > File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line 148, in getResultObj > raise cloudstackException.cloudstackAPIException(respname, errMsg) -- This message was sent by Atlassian JIRA (v6.2#6252)