[jira] [Commented] (CLOUDSTACK-3021) Test case TestServiceOfferingHierarchy failed; resource clean up should delete sub domain before delete main domain

2013-07-27 Thread Prasanna Santhanam (JIRA)

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

Prasanna Santhanam commented on CLOUDSTACK-3021:


Looks like your second failure is unrelated to the bug. Probably a different 
test. Which of the tests failed with the issue at tearDown? Can you post more 
information and/or open a new bug report for the failing test?

> Test case TestServiceOfferingHierarchy failed; resource clean up should 
> delete sub domain before delete main domain
> ---
>
> Key: CLOUDSTACK-3021
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3021
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.0
>Reporter: Rayees Namathponnan
>Assignee: Prasanna Santhanam
> Fix For: 4.2.0
>
> Attachments: MSlog.rar
>
>
> Failed below test case 
> test/integration/component/test_accounts: TestServiceOfferingHierarchy
> Test case should cleanup, sub domain before deleting main domain 
> Error in automation log 
> Warning: Exception during cleanup : Execute cmd: asyncquery failed, due to: 
> {errorcode : 530, errortext : u'Delete failed on domain Domain-O9IVMI (id: 
> 55); Please make sure all users and sub domains have been removed from the 
> domain before deleting'}
> Stacktrace
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 227, in 
> run
> self.tearDown()
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 350, in 
> tearDown
> self.teardownContext(ancestor)
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 366, in 
> teardownContext
> try_run(context, names)
>   File "/usr/local/lib/python2.7/site-packages/nose/util.py", line 469, in 
> try_run
> return func()
>   File 
> "/Repo_30X/ipcl/cloudstack/test/integration/component/test_accounts.py", line 
> 771, in tearDownClass
> raise Exception("Warning: Exception during cleanup : %s" % e)
> Exception: Warning: Exception during cleanup : Execute cmd: asyncquery 
> failed, due to: {errorcode : 530, errortext : u'Delete failed on domain 
> Domain-O9IVMI (id: 55); Please make sure all users and sub domains have been 
> removed from the domain before deleting'}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CLOUDSTACK-3021) Test case TestServiceOfferingHierarchy failed; resource clean up should delete sub domain before delete main domain

2013-07-25 Thread ASF subversion and git services (JIRA)

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

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

Commit e432ce6f774faa9d8d0832951910310a3a3c5027 in branch refs/heads/ldapplugin 
from [~tsp]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=e432ce6 ]

CLOUDSTACK-3021: Do not delete the domain

We delete the accounts within the domain thereby cleaning up resources.
Also corrected the typo in the test description. ForceDelete test was
called without force option and vice versa

Signed-off-by: Prasanna Santhanam 
(cherry picked from commit a3c21b3682db51986e7cc54d8f25b1dbf4ae9eaa)


> Test case TestServiceOfferingHierarchy failed; resource clean up should 
> delete sub domain before delete main domain
> ---
>
> Key: CLOUDSTACK-3021
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3021
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.0
>Reporter: Rayees Namathponnan
>Assignee: Prasanna Santhanam
> Fix For: 4.2.0
>
> Attachments: MSlog.rar
>
>
> Failed below test case 
> test/integration/component/test_accounts: TestServiceOfferingHierarchy
> Test case should cleanup, sub domain before deleting main domain 
> Error in automation log 
> Warning: Exception during cleanup : Execute cmd: asyncquery failed, due to: 
> {errorcode : 530, errortext : u'Delete failed on domain Domain-O9IVMI (id: 
> 55); Please make sure all users and sub domains have been removed from the 
> domain before deleting'}
> Stacktrace
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 227, in 
> run
> self.tearDown()
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 350, in 
> tearDown
> self.teardownContext(ancestor)
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 366, in 
> teardownContext
> try_run(context, names)
>   File "/usr/local/lib/python2.7/site-packages/nose/util.py", line 469, in 
> try_run
> return func()
>   File 
> "/Repo_30X/ipcl/cloudstack/test/integration/component/test_accounts.py", line 
> 771, in tearDownClass
> raise Exception("Warning: Exception during cleanup : %s" % e)
> Exception: Warning: Exception during cleanup : Execute cmd: asyncquery 
> failed, due to: {errorcode : 530, errortext : u'Delete failed on domain 
> Domain-O9IVMI (id: 55); Please make sure all users and sub domains have been 
> removed from the domain before deleting'}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CLOUDSTACK-3021) Test case TestServiceOfferingHierarchy failed; resource clean up should delete sub domain before delete main domain

2013-07-25 Thread ASF subversion and git services (JIRA)

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

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

Commit c6d9919c881cf27f7be4de541635acf649a6d910 in branch refs/heads/4.2 from 
[~tsp]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=c6d9919 ]

CLOUDSTACK-3021: Do not delete the domain

We delete the accounts within the domain thereby cleaning up resources.
Also corrected the typo in the test description. ForceDelete test was
called without force option and vice versa

Signed-off-by: Prasanna Santhanam 


> Test case TestServiceOfferingHierarchy failed; resource clean up should 
> delete sub domain before delete main domain
> ---
>
> Key: CLOUDSTACK-3021
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3021
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.0
>Reporter: Rayees Namathponnan
>Assignee: Prasanna Santhanam
> Fix For: 4.2.0
>
> Attachments: MSlog.rar
>
>
> Failed below test case 
> test/integration/component/test_accounts: TestServiceOfferingHierarchy
> Test case should cleanup, sub domain before deleting main domain 
> Error in automation log 
> Warning: Exception during cleanup : Execute cmd: asyncquery failed, due to: 
> {errorcode : 530, errortext : u'Delete failed on domain Domain-O9IVMI (id: 
> 55); Please make sure all users and sub domains have been removed from the 
> domain before deleting'}
> Stacktrace
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 227, in 
> run
> self.tearDown()
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 350, in 
> tearDown
> self.teardownContext(ancestor)
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 366, in 
> teardownContext
> try_run(context, names)
>   File "/usr/local/lib/python2.7/site-packages/nose/util.py", line 469, in 
> try_run
> return func()
>   File 
> "/Repo_30X/ipcl/cloudstack/test/integration/component/test_accounts.py", line 
> 771, in tearDownClass
> raise Exception("Warning: Exception during cleanup : %s" % e)
> Exception: Warning: Exception during cleanup : Execute cmd: asyncquery 
> failed, due to: {errorcode : 530, errortext : u'Delete failed on domain 
> Domain-O9IVMI (id: 55); Please make sure all users and sub domains have been 
> removed from the domain before deleting'}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CLOUDSTACK-3021) Test case TestServiceOfferingHierarchy failed; resource clean up should delete sub domain before delete main domain

2013-07-25 Thread ASF subversion and git services (JIRA)

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

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

Commit e432ce6f774faa9d8d0832951910310a3a3c5027 in branch refs/heads/master 
from [~tsp]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=e432ce6 ]

CLOUDSTACK-3021: Do not delete the domain

We delete the accounts within the domain thereby cleaning up resources.
Also corrected the typo in the test description. ForceDelete test was
called without force option and vice versa

Signed-off-by: Prasanna Santhanam 
(cherry picked from commit a3c21b3682db51986e7cc54d8f25b1dbf4ae9eaa)


> Test case TestServiceOfferingHierarchy failed; resource clean up should 
> delete sub domain before delete main domain
> ---
>
> Key: CLOUDSTACK-3021
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3021
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.0
>Reporter: Rayees Namathponnan
>Assignee: Prasanna Santhanam
> Fix For: 4.2.0
>
> Attachments: MSlog.rar
>
>
> Failed below test case 
> test/integration/component/test_accounts: TestServiceOfferingHierarchy
> Test case should cleanup, sub domain before deleting main domain 
> Error in automation log 
> Warning: Exception during cleanup : Execute cmd: asyncquery failed, due to: 
> {errorcode : 530, errortext : u'Delete failed on domain Domain-O9IVMI (id: 
> 55); Please make sure all users and sub domains have been removed from the 
> domain before deleting'}
> Stacktrace
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 227, in 
> run
> self.tearDown()
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 350, in 
> tearDown
> self.teardownContext(ancestor)
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 366, in 
> teardownContext
> try_run(context, names)
>   File "/usr/local/lib/python2.7/site-packages/nose/util.py", line 469, in 
> try_run
> return func()
>   File 
> "/Repo_30X/ipcl/cloudstack/test/integration/component/test_accounts.py", line 
> 771, in tearDownClass
> raise Exception("Warning: Exception during cleanup : %s" % e)
> Exception: Warning: Exception during cleanup : Execute cmd: asyncquery 
> failed, due to: {errorcode : 530, errortext : u'Delete failed on domain 
> Domain-O9IVMI (id: 55); Please make sure all users and sub domains have been 
> removed from the domain before deleting'}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CLOUDSTACK-3021) Test case TestServiceOfferingHierarchy failed; resource clean up should delete sub domain before delete main domain

2013-06-28 Thread Rayees Namathponnan (JIRA)

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

Rayees Namathponnan commented on CLOUDSTACK-3021:
-

Test case not executing after this fix 

> Test case TestServiceOfferingHierarchy failed; resource clean up should 
> delete sub domain before delete main domain
> ---
>
> Key: CLOUDSTACK-3021
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3021
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.0
>Reporter: Rayees Namathponnan
> Fix For: 4.2.0
>
>
> Failed below test case 
> test/integration/component/test_accounts: TestServiceOfferingHierarchy
> Test case should cleanup, sub domain before deleting main domain 
> Error in automation log 
> Warning: Exception during cleanup : Execute cmd: asyncquery failed, due to: 
> {errorcode : 530, errortext : u'Delete failed on domain Domain-O9IVMI (id: 
> 55); Please make sure all users and sub domains have been removed from the 
> domain before deleting'}
> Stacktrace
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 227, in 
> run
> self.tearDown()
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 350, in 
> tearDown
> self.teardownContext(ancestor)
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 366, in 
> teardownContext
> try_run(context, names)
>   File "/usr/local/lib/python2.7/site-packages/nose/util.py", line 469, in 
> try_run
> return func()
>   File 
> "/Repo_30X/ipcl/cloudstack/test/integration/component/test_accounts.py", line 
> 771, in tearDownClass
> raise Exception("Warning: Exception during cleanup : %s" % e)
> Exception: Warning: Exception during cleanup : Execute cmd: asyncquery 
> failed, due to: {errorcode : 530, errortext : u'Delete failed on domain 
> Domain-O9IVMI (id: 55); Please make sure all users and sub domains have been 
> removed from the domain before deleting'}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CLOUDSTACK-3021) Test case TestServiceOfferingHierarchy failed; resource clean up should delete sub domain before delete main domain

2013-06-20 Thread ASF subversion and git services (JIRA)

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

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

Commit 4c51c60ef7517a7719764da94d81cd082caafdf9 in branch refs/heads/master 
from [~gauravaradhye]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=4c51c60 ]

CLOUDSTACK-3021: Order removal of resources

Sub domain removed before parent domain. Also fixed indentation issue in
cleanup list of class TestServiceOfferingHierarchy

Signed-off-by: Prasanna Santhanam 


> Test case TestServiceOfferingHierarchy failed; resource clean up should 
> delete sub domain before delete main domain
> ---
>
> Key: CLOUDSTACK-3021
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3021
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.0
>Reporter: Rayees Namathponnan
> Fix For: 4.2.0
>
>
> Failed below test case 
> test/integration/component/test_accounts: TestServiceOfferingHierarchy
> Test case should cleanup, sub domain before deleting main domain 
> Error in automation log 
> Warning: Exception during cleanup : Execute cmd: asyncquery failed, due to: 
> {errorcode : 530, errortext : u'Delete failed on domain Domain-O9IVMI (id: 
> 55); Please make sure all users and sub domains have been removed from the 
> domain before deleting'}
> Stacktrace
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 227, in 
> run
> self.tearDown()
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 350, in 
> tearDown
> self.teardownContext(ancestor)
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 366, in 
> teardownContext
> try_run(context, names)
>   File "/usr/local/lib/python2.7/site-packages/nose/util.py", line 469, in 
> try_run
> return func()
>   File 
> "/Repo_30X/ipcl/cloudstack/test/integration/component/test_accounts.py", line 
> 771, in tearDownClass
> raise Exception("Warning: Exception during cleanup : %s" % e)
> Exception: Warning: Exception during cleanup : Execute cmd: asyncquery 
> failed, due to: {errorcode : 530, errortext : u'Delete failed on domain 
> Domain-O9IVMI (id: 55); Please make sure all users and sub domains have been 
> removed from the domain before deleting'}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CLOUDSTACK-3021) Test case TestServiceOfferingHierarchy failed; resource clean up should delete sub domain before delete main domain

2013-06-18 Thread ASF subversion and git services (JIRA)

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

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

Commit b6850c28dc664e88c0128ddbae7c3ee468290350 in branch refs/heads/master 
from [~rayeesn]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=b6850c2 ]

CLOUDSTACK-3021: Correct the order of resources

Resources are ordered so that the cleanup succeeds.
domains are deleted after accounts under the domain are removed.

Signed-off-by: Prasanna Santhanam 


> Test case TestServiceOfferingHierarchy failed; resource clean up should 
> delete sub domain before delete main domain
> ---
>
> Key: CLOUDSTACK-3021
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3021
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.0
>Reporter: Rayees Namathponnan
> Fix For: 4.2.0
>
>
> Failed below test case 
> test/integration/component/test_accounts: TestServiceOfferingHierarchy
> Test case should cleanup, sub domain before deleting main domain 
> Error in automation log 
> Warning: Exception during cleanup : Execute cmd: asyncquery failed, due to: 
> {errorcode : 530, errortext : u'Delete failed on domain Domain-O9IVMI (id: 
> 55); Please make sure all users and sub domains have been removed from the 
> domain before deleting'}
> Stacktrace
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 227, in 
> run
> self.tearDown()
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 350, in 
> tearDown
> self.teardownContext(ancestor)
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 366, in 
> teardownContext
> try_run(context, names)
>   File "/usr/local/lib/python2.7/site-packages/nose/util.py", line 469, in 
> try_run
> return func()
>   File 
> "/Repo_30X/ipcl/cloudstack/test/integration/component/test_accounts.py", line 
> 771, in tearDownClass
> raise Exception("Warning: Exception during cleanup : %s" % e)
> Exception: Warning: Exception during cleanup : Execute cmd: asyncquery 
> failed, due to: {errorcode : 530, errortext : u'Delete failed on domain 
> Domain-O9IVMI (id: 55); Please make sure all users and sub domains have been 
> removed from the domain before deleting'}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CLOUDSTACK-3021) Test case TestServiceOfferingHierarchy failed; resource clean up should delete sub domain before delete main domain

2013-06-18 Thread Gaurav Aradhye (JIRA)

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

Gaurav Aradhye commented on CLOUDSTACK-3021:


Added patch for review for TestServiceOfferingHierarchy.
TesttemplateHierarchy in progress.

> Test case TestServiceOfferingHierarchy failed; resource clean up should 
> delete sub domain before delete main domain
> ---
>
> Key: CLOUDSTACK-3021
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3021
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.0
>Reporter: Rayees Namathponnan
> Fix For: 4.2.0
>
>
> Failed below test case 
> test/integration/component/test_accounts: TestServiceOfferingHierarchy
> Test case should cleanup, sub domain before deleting main domain 
> Error in automation log 
> Warning: Exception during cleanup : Execute cmd: asyncquery failed, due to: 
> {errorcode : 530, errortext : u'Delete failed on domain Domain-O9IVMI (id: 
> 55); Please make sure all users and sub domains have been removed from the 
> domain before deleting'}
> Stacktrace
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 227, in 
> run
> self.tearDown()
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 350, in 
> tearDown
> self.teardownContext(ancestor)
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 366, in 
> teardownContext
> try_run(context, names)
>   File "/usr/local/lib/python2.7/site-packages/nose/util.py", line 469, in 
> try_run
> return func()
>   File 
> "/Repo_30X/ipcl/cloudstack/test/integration/component/test_accounts.py", line 
> 771, in tearDownClass
> raise Exception("Warning: Exception during cleanup : %s" % e)
> Exception: Warning: Exception during cleanup : Execute cmd: asyncquery 
> failed, due to: {errorcode : 530, errortext : u'Delete failed on domain 
> Domain-O9IVMI (id: 55); Please make sure all users and sub domains have been 
> removed from the domain before deleting'}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CLOUDSTACK-3021) Test case TestServiceOfferingHierarchy failed; resource clean up should delete sub domain before delete main domain

2013-06-15 Thread Rayees Namathponnan (JIRA)

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

Rayees Namathponnan commented on CLOUDSTACK-3021:
-

integration.component.test_accounts.TesttemplateHierarchy - Failed due to same 
issue

> Test case TestServiceOfferingHierarchy failed; resource clean up should 
> delete sub domain before delete main domain
> ---
>
> Key: CLOUDSTACK-3021
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3021
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.2.0
>Reporter: Rayees Namathponnan
> Fix For: 4.2.0
>
>
> Failed below test case 
> test/integration/component/test_accounts: TestServiceOfferingHierarchy
> Test case should cleanup, sub domain before deleting main domain 
> Error in automation log 
> Warning: Exception during cleanup : Execute cmd: asyncquery failed, due to: 
> {errorcode : 530, errortext : u'Delete failed on domain Domain-O9IVMI (id: 
> 55); Please make sure all users and sub domains have been removed from the 
> domain before deleting'}
> Stacktrace
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 227, in 
> run
> self.tearDown()
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 350, in 
> tearDown
> self.teardownContext(ancestor)
>   File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 366, in 
> teardownContext
> try_run(context, names)
>   File "/usr/local/lib/python2.7/site-packages/nose/util.py", line 469, in 
> try_run
> return func()
>   File 
> "/Repo_30X/ipcl/cloudstack/test/integration/component/test_accounts.py", line 
> 771, in tearDownClass
> raise Exception("Warning: Exception during cleanup : %s" % e)
> Exception: Warning: Exception during cleanup : Execute cmd: asyncquery 
> failed, due to: {errorcode : 530, errortext : u'Delete failed on domain 
> Domain-O9IVMI (id: 55); Please make sure all users and sub domains have been 
> removed from the domain before deleting'}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira