I have seen this issue happen intermittently when the management server has not yet loaded all the components but we are able to access the management server UI. At this point , when we log in , we are presented with " The given command does not exist or it is not available for user".
But when you try to log in after few minutes (after the components loading is completed) , you will be able to log in successfully. Is this the kind of issues you are facing? 2013-04-12 11:46:53,228 INFO [utils.component.ComponentContext] (Timer-1:null) Configuring com.cloud.network.guru.OvsGuestNetworkGuru_EnhancerByCloudStack_d7cda260 2013-04-12 11:46:53,228 INFO [utils.component.ComponentContext] (Timer-1:null) Configuring com.cloud.hypervisor.guru.VMwareGuru_EnhancerByCloudStack_4fd95e3d 2013-04-12 11:46:53,228 INFO [utils.component.ComponentContext] (Timer-1:null) Configuring com.cloud.network.guru.StorageNetworkGuru_EnhancerByCloudStack_42e7a777 2013-04-12 11:46:53,228 INFO [utils.component.ComponentContext] (Timer-1:null) Configuring com.cloud.network.element.MidoNetElement_EnhancerByCloudStack_c15799f2 2013-04-12 11:46:53,230 INFO [network.element.MidoNetElement] (Timer-1:null) midonet API server address is http://localhost:8081 2013-04-12 11:46:53,399 DEBUG [cloud.api.ApiServlet] (catalina-exec-19:null) ===START=== 10.217.252.128 -- POST null 2013-04-12 11:46:53,419 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-19:null) Attempting to log in user: admin in domain 1 2013-04-12 11:46:53,419 DEBUG [server.auth.SHA256SaltedUserAuthenticator] (catalina-exec-19:null) Retrieving user: admin 2013-04-12 11:46:54,360 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-19:null) User: admin in domain 1 has successfully logged in 2013-04-12 11:46:54,410 DEBUG [cloud.api.ApiServlet] (catalina-exec-19:null) ===END=== 10.217.252.128 -- POST null 2013-04-12 11:46:54,451 DEBUG [cloud.api.ApiServlet] (catalina-exec-24:null) ===START=== 10.217.252.128 -- GET command=listCapabilities&response=json&sessionkey=Bqhd5Xu2xRt2Zy5pmcwSKJBNLrg%3D&_=1365792760278 2013-04-12 11:46:54,469 DEBUG [cloud.api.ApiServer] (catalina-exec-24:null) The given command:listCapabilities does not exist or it is not available for user with id:2 2013-04-12 11:46:54,497 DEBUG [cloud.api.ApiServlet] (catalina-exec-24:null) ===END=== 10.217.252.128 -- GET command=listCapabilities&response=json&sessionkey=Bqhd5Xu2xRt2Zy5pmcwSKJBNLrg%3D&_=1365792760278 2013-04-12 11:46:54,521 DEBUG [cloud.api.ApiServlet] (catalina-exec-5:null) ===START=== 10.217.252.128 -- GET command=listSwifts&response=json&sessionkey=Bqhd5Xu2xRt2Zy5pmcwSKJBNLrg%3D&_=1365792760350 2013-04-12 11:46:54,530 DEBUG [cloud.api.ApiServer] (catalina-exec-5:null) The given command:listSwifts does not exist or it is not available for user with id:2 2013-04-12 11:46:54,533 DEBUG [cloud.api.ApiServlet] (catalina-exec-5:null) ===END=== 10.217.252.128 -- GET command=listSwifts&response=json&sessionkey=Bqhd5Xu2xRt2Zy5pmcwSKJBNLrg%3D&_=1365792760350 2013-04-12 11:46:56,328 INFO [utils.component.ComponentContext] (Timer-1:null) Configuring org.apache.cloudstack.storage.allocator.ClusterScopeStoragePoolAllocator_EnhancerByCloudStack_580b2575 2013-04-12 11:46:56,333 INFO [utils.component.ComponentContext] (Timer-1:null) Configuring org.apache.cloudstack.storage.allocator.GarbageCollectingStoragePoolAllocator_EnhancerByCloudStack_f46bb5fa 2013-04-12 11:46:56,363 INFO [utils.component.ComponentContext] (Timer-1:null) Configuring org.apache.cloudstack.acl.StaticRoleBasedAPIAccessChecker_EnhancerByCloudStack_cbfe3f69 2013-04-12 11:46:56,378 INFO [utils.component.ComponentContext] (Timer-1:null) Configuring com.cloud.ha.KVMFencer_EnhancerByCloudStack_afa1b038 2013-04-12 11:46:56,378 INFO [utils.component.ComponentContext] (Timer-1:null) Configuring com.cloud.network.element.VirtualRouterElement_EnhancerByCloudStack_5301d244 2013-04-12 11:46:56,378 INFO [utils.component.ComponentContext] (Timer-1:null) Configuring com.cloud.ha.XenServerFencer_EnhancerByCloudStack_75828daa 2013-04-12 11:46:56,378 INFO [utils.component.ComponentContext] (Timer-1:null) Configuring com.cloud.storage.secondary.SecondaryStorageVmDefaultAllocator_EnhancerByCloudStack_b44dce17 Thanks Sangeetha -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Rohit Yadav Sent: Friday, April 12, 2013 10:51 AM To: [email protected] Subject: Re: The given command does not exist or it is not available for user Probably an ACL issue, occurs when a user is trying to execute an API they are not allowed; or the API does not exist. HTH. On Apr 12, 2013 7:28 PM, "Paul Angus" <[email protected]> wrote: > Hi All, > > > > When I try to log in to the current build of CloudStack 4.1 I get an > error in the browser: > > > > The given command does not exist or it is not available for user > > > > The management-server.log shows: > > > > 2013-04-12 13:52:55,796 DEBUG [cloud.user.AccountManagerImpl] > (catalina-exec-18:null) Attempting to log in user: admin in domain 1 > > 2013-04-12 13:52:55,796 DEBUG [server.auth.MD5UserAuthenticator] > (catalina-exec-18:null) Retrieving user: admin > > 2013-04-12 13:52:55,803 DEBUG [cloud.user.AccountManagerImpl] > (catalina-exec-18:null) User: admin in domain 1 has successfully > logged in > > 2013-04-12 13:52:55,822 DEBUG [cloud.api.ApiServlet] > (catalina-exec-18:null) ===END=== 10.0.1.31 -- POST null > > 2013-04-12 13:52:55,852 DEBUG [cloud.api.ApiServlet] > (catalina-exec-6:null) ===START=== 10.0.1.31 -- GET > command=listCapabilities&response=json&sessionkey=HCJMmPaamkJis00sLcGZ > 0CDZO7s%3D&_=1365771173024 > > 2013-04-12 13:52:55,858 DEBUG [cloud.api.ApiServer] > (catalina-exec-6:null) The given command:listCapabilities does not > exist or it is not available for user with id:2 > > 2013-04-12 13:52:55,859 DEBUG [cloud.api.ApiServlet] > (catalina-exec-6:null) ===END=== 10.0.1.31 -- GET > command=listCapabilities&response=json&sessionkey=HCJMmPaamkJis00sLcGZ > 0CDZO7s%3D&_=1365771173024 > > 2013-04-12 13:52:55,889 DEBUG [cloud.api.ApiServlet] > (catalina-exec-7:null) ===START=== 10.0.1.31 -- GET > command=listSwifts&response=json&sessionkey=HCJMmPaamkJis00sLcGZ0CDZO7 > s%3D&_=1365771173059 > > 2013-04-12 13:52:55,895 DEBUG [cloud.api.ApiServer] > (catalina-exec-7:null) The given command:listSwifts does not exist or > it is not available for user with id:2 > > 2013-04-12 13:52:55,896 DEBUG [cloud.api.ApiServlet] > (catalina-exec-7:null) ===END=== 10.0.1.31 -- GET > command=listSwifts&response=json&sessionkey=HCJMmPaamkJis00sLcGZ0CDZO7 > s%3D&_=1365771173059 > > > > Any ideas anyone? > > > > Regards > > > > Paul Angus > > *Senior Consultant / Cloud Architect* > > > > [image: cid:[email protected]] > > > > S: +44 20 3603 0540 <+442036030540> | M: +4 <+447968161581>47711418784 > > [email protected] <[email protected]> | > www.shapeblue.com | Twitter:@shapeblue <https://twitter.com/> > > ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS > > > This email and any attachments to it may be confidential and are > intended solely for the use of the individual to whom it is addressed. > Any views or opinions expressed are solely those of the author and do > not necessarily represent those of Shape Blue Ltd or related > companies. If you are not the intended recipient of this email, you > must neither take any action based upon its contents, nor copy or show > it to anyone. Please contact the sender if you believe you have > received this email in error. Shape Blue Ltd is a company incorporated > in England & Wales. ShapeBlue Services India LLP is operated under > license from Shape Blue Ltd. ShapeBlue is a registered trademark. >
