cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kiran Koneti (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-3066) No Error message is popped up on UI when a dedicated resource is dedicated to another Account.
Date Wed, 19 Jun 2013 11:01:20 GMT

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

Kiran Koneti commented on CLOUDSTACK-3066:
------------------------------------------

The Firefox api response is as below:


{ "listdomainsresponse" : { "count":3 ,"domain" : [  {"id":"d8ec3a84-d8d2-11e2-a40e-0618b0000087","name":"ROOT","level":0,"haschild":true,"path":"ROOT"},
{"id":"7a6b12ae-6a8e-4f02-a6a0-5f8be82c20c9","name":"Kiran","level":1,"parentdomainid":"d8ec3a84-d8d2-11e2-a40e-0618b0000087","parentdomainname":"ROOT","haschild":false,"path":"ROOT/Kiran"},
{"id":"1352d92d-50ca-4583-b152-19c7eff8739f","name":"Swathi","level":1,"parentdomainid":"d8ec3a84-d8d2-11e2-a40e-0618b0000087","parentdomainname":"ROOT","haschild":false,"path":"ROOT/Swathi"}
] } }


{ "dedicatepodresponse" : {"jobid":"0173a2ba-2f4a-40ea-ba2e-ad7c896930c6"} }




{ "listzonesresponse" : { "count":1 ,"zone" : [  {"id":"93cab9dd-0aa8-4f48-a81b-1244a5d2ad3d","name":"Z1","dns1":"10.103.128.16","internaldns1":"10.103.128.16","guestcidraddress":"10.1.1.0/24","networktype":"Advanced","securitygroupsenabled":false,"allocationstate":"Enabled","zonetoken":"bc982533-bbe0-36e6-b07d-c7529c5e6cc7","dhcpprovider":"VirtualRouter","localstorageenabled":false}
] } }




{ "listzonesresponse" : { "count":1 ,"zone" : [  {"id":"93cab9dd-0aa8-4f48-a81b-1244a5d2ad3d","name":"Z1","dns1":"10.103.128.16","internaldns1":"10.103.128.16","guestcidraddress":"10.1.1.0/24","networktype":"Advanced","securitygroupsenabled":false,"allocationstate":"Enabled","zonetoken":"bc982533-bbe0-36e6-b07d-c7529c5e6cc7","dhcpprovider":"VirtualRouter","localstorageenabled":false}
] } }






{ "listdedicatedpodsresponse" : { } }


                
> No Error message is popped up on UI when a dedicated resource is dedicated to another
Account.
> ----------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3066
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3066
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Install and Setup
>    Affects Versions: 4.2.0
>            Reporter: Kiran Koneti
>             Fix For: 4.2.0
>
>
> Below are the steps followed.
> 1)Dedicated a Zone to account1 from domain1
> 2)Then tried to dedicate the pod in that zone to another Account from different domain
> 3)Then the UI Shows a message the POD is dedicated but there is a error message logged
in the management server log as below:
> 2013-06-19 20:24:07,842 ERROR [cloudstack.dedicated.DedicatedResourceManagerImpl] (Job-Executor-26:job-26)
Cannot dedicate Pod. Its zone is already dedicated
> 2013-06-19 20:24:07,847 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-26:job-26)
Unexpected exception while executing org.apache.cloudstack.api.commands.DedicatePodCmd
> com.cloud.utils.exception.CloudRuntimeException: Pod's Zone Z1 is already dedicated
>         at org.apache.cloudstack.dedicated.DedicatedResourceManagerImpl.dedicatePod(DedicatedResourceManagerImpl.java:266)
>         at org.apache.cloudstack.api.commands.DedicatePodCmd.execute(DedicatePodCmd.java:95)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:155)
>         at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:679)
> The expected result is the UI should also pop up a message saying the pod is dedicated
to another Account instead of saying the dedication as successful.

--
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

Mime
View raw message