cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anurag Awasthi <Anurag.Awas...@shapeblue.com>
Subject Re: Unable to log in to the cloudstack management page (Web UI)
Date Wed, 03 Jul 2019 10:10:04 GMT
Hi Sagawa,

Can you try these 2 things -

  1.  Open browser in incognito mode try logging in. If successful then go to step 2 for a
permanent solution.
  2.  Clear your browser's cookies and other cache (on chrome it's Ctrl+Sht+Del) and then
restart browser to login.

Regards,
Anurag
________________________________
From: Paul Angus <paul.angus@shapeblue.com>
Sent: Wednesday, July 3, 2019 3:34 PM
To: users@cloudstack.apache.org
Cc: shigemoto.yasum@fujitsu.com; t-hoshikawa@fujitsu.com
Subject: RE: Unable to log in to the cloudstack management page (Web UI)

Hi Sagawa,

That version of CloudStack is very old, the amount of help we're going to be able to give
is going to be a bit limited.

The first thing I would check is that you have a commands.properties file.  I think back then
it was in /etc/cloudstack/cloudstack-management (something like that)





paul.angus@shapeblue.com
www.shapeblue.com<http://www.shapeblue.com>
Amadeus House, Floral Street, London  WC2E 9DPUK
@shapeblue




Anurag.Awasthi@shapeblue.com 
www.shapeblue.com
Amadeus House, Floral Street, London  WC2E 9DPUK
@shapeblue
  
 


-----Original Message-----
From: sagawa_eiji@fujitsu.com <sagawa_eiji@fujitsu.com>
Sent: 03 July 2019 10:17
To: 'users@cloudstack.apache.org' <users@cloudstack.apache.org>
Cc: shigemoto.yasum@fujitsu.com; t-hoshikawa@fujitsu.com
Subject: Unable to log in to the cloudstack management page (Web UI)

Hello,

I am unable to log in to the cloudstack management page (Web UI).
The details of the error are as follows.

I appreciate very much if you could tell me some advice, comments or how to solve the problem.

==============================================================================

[0]system
  OS:CentOS 6.3 64bit
  Cloudstack version : Apache CloudStack 4.2.1

[1]trouble
    Unable to log in to the cloudstack management page (Web UI)
    Even if the login button is clicked, no alert is displayed on the screen, and it seems
that there is no particular response.
    However, in the HTTP access log, error messages in the 300th (304) and 400th (401, 404)
HTTP status codes are included.
    An error may have occurred in cloudstack internal processing when a 401 error is generated.

[2]Log messages after clicking on a login button

  2-1. access_log.2019-07-01.txt
    -----------------------------
    192.168.122.1 - - [01/Jul/2019:06:09:22 +0900] "GET /client/modules/infrastructure/infrastructure.js
HTTP/1.1" 304 -
    192.168.122.1 - - [01/Jul/2019:06:09:22 +0900] "GET /client/modules/vpc/vpc.js HTTP/1.1"
304 -
    192.168.122.1 - - [01/Jul/2019:06:09:22 +0900] "GET /client/modules/vpc/vpc.css HTTP/1.1"
304 -
    192.168.122.1 - - [01/Jul/2019:06:09:22 +0900] "GET /client/modules/infrastructure/infrastructure.css
HTTP/1.1" 404 1082
    192.168.122.1 - - [01/Jul/2019:06:09:22 +0900] "GET /client/modules/vnmcNetworkProvider/vnmcNetworkProvider.css
HTTP/1.1" 404 1112
    192.168.122.1 - - [01/Jul/2019:06:09:22 +0900] "GET /client/api?command=listCapabilities&response=json&sessionkey=null&_=1561961364158
HTTP/1.1" 401 101
    192.168.122.1 - - [01/Jul/2019:06:09:22 +0900] "GET /client/images/logo-login-oss.png
HTTP/1.1" 304 -
    192.168.122.1 - - [01/Jul/2019:06:09:22 +0900] "GET /client/images/sprites.png HTTP/1.1"
304 -
    192.168.122.1 - - [01/Jul/2019:06:09:22 +0900] "GET /client/images/bg-login.png HTTP/1.1"
304 -
    192.168.122.1 - - [01/Jul/2019:06:09:22 +0900] "GET /client/modules/vnmcAsa1000v/vnmcAsa1000v.css
HTTP/1.1" 404 1070
    -----------------------------

    Status code of /client/api is a 401 error (Unauthorized).

  2-2. apilog.log
    -----------------------------
    2019-07-01 06:09:23,174 INFO  [cloud.api.ApiServer] (catalina-exec-3:null)  192.168.122.1
-- GET command=listCapabilities&response=json&sessionkey=null&_=1561961364158
401 unable to verify user credentials
    -----------------------------

    apilog.log contains the above message at the same time when 401 error occurred.

  2-3. other log output
    -----------------------------
    ==> /var/log/cloudstack/management/management-server.log <==
    2019-07-01 06:13:10,731 DEBUG [cloud.api.ApiServlet] (catalina-exec-17:null) ===START===
 192.168.122.1 -- POST
    2019-07-01 06:13:10,745 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-17:null)
Attempting to log in user: admin in domain 1
    2019-07-01 06:13:10,745 DEBUG [server.auth.SHA256SaltedUserAuthenticator] (catalina-exec-17:null)
Retrieving user: admin
    2019-07-01 06:13:10,911 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-17:null)
User: admin in domain 1 has successfully logged in

    ==> /var/log/cloudstack/management/apilog.log <==
    2019-07-01 06:13:10,945 INFO  [cloud.api.ApiServer] (catalina-exec-17:null) (userId=2
accountId=2 sessionId=11305223FB11770BC8715A8C6220C036) 192.168.122.1 -- POST command=login
domain=/

    ==> /var/log/cloudstack/management/management-server.log <==
    2019-07-01 06:13:10,946 DEBUG [cloud.api.ApiServlet] (catalina-exec-17:null) ===END===
 192.168.122.1 -- POST
    2019-07-01 06:13:10,963 DEBUG [cloud.api.ApiServlet] (catalina-exec-22:null) ===START===
 192.168.122.1 -- GET  command=listCapabilities&response=json&sessionkey=h1Lwsk9dqVwZxGAwk0owzFDtmi4%3D&_=1561961591972
    2019-07-01 06:13:10,976 DEBUG [cloud.api.ApiServer] (catalina-exec-22:null) The given
command:listCapabilities does not exist or it is not available for user with id:2

    ==> /var/log/cloudstack/management/apilog.log <==
    2019-07-01 06:13:10,979 INFO  [cloud.api.ApiServer] (catalina-exec-22:null)  192.168.122.1
-- GET command=listCapabilities&response=json&sessionkey=h1Lwsk9dqVwZxGAwk0owzFDtmi4%3D&_=1561961591972
432 The given command does not exist or it is not available for user

    ==> /var/log/cloudstack/management/management-server.log <==
    2019-07-01 06:13:10,979 DEBUG [cloud.api.ApiServlet] (catalina-exec-22:null) ===END===
 192.168.122.1 -- GET  command=listCapabilities&response=json&sessionkey=h1Lwsk9dqVwZxGAwk0owzFDtmi4%3D&_=1561961591972

    ==> /var/log/cloudstack/management/access_log.2019-07-01.txt <==
    192.168.122.1 - - [01/Jul/2019:06:13:10 +0900] "POST /client/api HTTP/1.1" 200 321
    192.168.122.1 - - [01/Jul/2019:06:13:10 +0900] "GET /client/api?command=listCapabilities&response=json&sessionkey=h1Lwsk9dqVwZxGAwk0owzFDtmi4%3D&_=1561961591972
HTTP/1.1" 432 151
    -----------------------------

    I'm not sure whether the the following message is related to the error or not.
    "The given command:listCapabilities does not exist or it is not available for user with
id:2"


[3]Other case: Log contents of the system that can be logged in to the management page)

    The following logs are included for systems that can be logged in to the management page.

    -----------------------------
    ==> /var/log/cloudstack/management/management-server.log <==
    2019-07-01 14:43:37,729 INFO  [storage.endpoint.DefaultEndPointSelector] (StatsCollector-3:null)
No running ssvm is found, so command will be sent to LocalHostEndPoint
    2019-07-01 14:43:51,514 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null)
Skip capacity scan due to there is no Primary Storage UPintenance mode
    2019-07-01 14:43:52,693 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null)
Found 0 routers to update status.
    2019-07-01 14:43:52,695 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null)
Found 0 networks to update RvR status.
    2019-07-01 14:43:57,718 DEBUG [host.dao.HostDaoImpl] (ClusteredAgentManager Timer:null)
Resetting hosts suitable for reconnect
    2019-07-01 14:43:57,721 DEBUG [host.dao.HostDaoImpl] (ClusteredAgentManager Timer:null)
Completed resetting hosts suitable for reconnect
    2019-07-01 14:43:57,721 DEBUG [host.dao.HostDaoImpl] (ClusteredAgentManager Timer:null)
Acquiring hosts for clusters already owned by this management server
    2019-07-01 14:43:57,721 DEBUG [host.dao.HostDaoImpl] (ClusteredAgentManager Timer:null)
Completed acquiring hosts for clusters already owned by this management server
    2019-07-01 14:43:57,721 DEBUG [host.dao.HostDaoImpl] (ClusteredAgentManager Timer:null)
Acquiring hosts for clusters not owned by any management server
    2019-07-01 14:43:57,728 DEBUG [host.dao.HostDaoImpl] (ClusteredAgentManager Timer:null)
Completed acquiring hosts for clusters not owned by any management server

    ==> /var/log/cloudstack/management/access_log.2019-07-01.txt <==
    192.168.122.1 - - [01/Jul/2019:14:42:17 +0900] "GET /client/scripts/ui-custom/physicalResources.js?t=1561959737043
HTTP/1.1" 200 7700
    192.168.122.1 - - [01/Jul/2019:14:42:17 +0900] "GET /client/scripts/system.js?t=1561959737043
HTTP/1.1" 200 -
    192.168.122.1 - - [01/Jul/2019:14:42:17 +0900] "GET /client/scripts/ui-custom/pluginListing.js?t=1561959737043
HTTP/1.1" 200 4952
    192.168.122.1 - - [01/Jul/2019:14:42:17 +0900] "GET /client/scripts/plugins.js?t=1561959737043
HTTP/1.1" 200 3820
    192.168.122.1 - - [01/Jul/2019:14:42:17 +0900] "GET /client/plugins/plugins.js?t=1561959737043
HTTP/1.1" 200 902
    192.168.122.1 - - [01/Jul/2019:14:42:17 +0900] "GET /client/modules/modules.js?t=1561959737043
HTTP/1.1" 200 961
    192.168.122.1 - - [01/Jul/2019:14:42:17 +0900] "GET /client/modules/vnmcNetworkProvider/vnmcNetworkProvider.css
HTTP/1.1" 404 1112
    192.168.122.1 - - [01/Jul/2019:14:42:17 +0900] "GET /client/modules/infrastructure/infrastructure.css
HTTP/1.1" 404 1082
    192.168.122.1 - - [01/Jul/2019:14:42:17 +0900] "GET /client/api?command=listCapabilities&response=json&sessionkey=null&_=1561959738072
HTTP/1.1" 200 -
    192.168.122.1 - - [01/Jul/2019:14:42:17 +0900] "GET /client/modules/vnmcAsa1000v/vnmcAsa1000v.css
HTTP/1.1" 404 1070

    ==> /var/log/cloudstack/management/apilog.log <==
    2019-07-01 14:20:03,627 INFO  [cloud.api.ApiServer] (catalina-exec-9:null)  192.168.122.1
-- GET command=listCapabilities&response=json&sessionkey=null&_=1561958404032
401 unable to verify user credentials
    2019-07-01 14:42:17,673 INFO  [cloud.api.ApiServer] (catalina-exec-1:null)  192.168.122.1
-- GET command=listCapabilities&response=json&sessionkey=null&_=1561959738072
unknown exception writing api response

    ==> /var/log/cloudstack/management/management-server.log <==
    2019-07-01 14:44:10,428 DEBUG [cloud.api.ApiServlet] (catalina-exec-15:null) ===START===
 192.168.122.1 -- POST
    2019-07-01 14:44:10,443 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-15:null)
Attempting to log in user: admin in domain 1
    2019-07-01 14:44:10,444 DEBUG [server.auth.SHA256SaltedUserAuthenticator] (catalina-exec-15:null)
Retrieving user: admin
    2019-07-01 14:44:10,563 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-15:null)
User: admin in domain 1 has successfully logged in

    ==> /var/log/cloudstack/management/apilog.log <==
    2019-07-01 14:44:10,580 INFO  [cloud.api.ApiServer] (catalina-exec-15:null) (userId=2
accountId=2 sessionId=9BBB690D4CDB109E7F20FB6625E80120) 192.168.122.1 -- POST command=login
domain=/

    ==> /var/log/cloudstack/management/management-server.log <==
    2019-07-01 14:44:10,581 DEBUG [cloud.api.ApiServlet] (catalina-exec-15:null) ===END===
 192.168.122.1 -- POST
    2019-07-01 14:44:10,597 DEBUG [cloud.api.ApiServlet] (catalina-exec-22:null) ===START===
 192.168.122.1 -- GET  command=listCapabilities&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&_=1561959851002

    ==> /var/log/cloudstack/management/apilog.log <==
    2019-07-01 14:44:11,530 INFO  [cloud.api.ApiServer] (catalina-exec-22:null) (userId=2
accountId=2 sessionId=9BBB690D4CDB109E7F20FB6625E80120) 192.168.122.1 -- GET command=listCapabilities&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&_=1561959851002
200 { "listcapabilitiesresponse" :  { "capability" : {"securitygroupsenabled":true,"cloudstackversion":"4.2.1","userpublictemplateenabled":true,"supportELB":"false","projectinviterequired":false,"allowusercreateprojects":true,"customdiskofferingmaxsize":1024,"KVMsnapshotenabled":false,"regionsecondaryenabled":false}
}  }

    ==> /var/log/cloudstack/management/management-server.log <==
    2019-07-01 14:44:11,530 DEBUG [cloud.api.ApiServlet] (catalina-exec-22:null) ===END===
 192.168.122.1 -- GET  command=listCapabilities&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&_=1561959851002
    2019-07-01 14:44:11,554 DEBUG [cloud.api.ApiServlet] (catalina-exec-2:null) ===START===
 192.168.122.1 -- GET  command=listZones&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&_=1561959851958

    ==> /var/log/cloudstack/management/apilog.log <==
    2019-07-01 14:44:11,590 INFO  [cloud.api.ApiServer] (catalina-exec-2:null) (userId=2 accountId=2
sessionId=9BBB690D4CDB109E7F20FB6625E80120) 192.168.122.1 -- GET command=listZones&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&_=1561959851958
200 { "listzonesresponse" : { "count":1 ,"zone" : [  {"id":"a5a1e7dd-6fb7-4be5-8316-b74e6a2ac014","name":"zone1","dns1":"192.168.122.254","internaldns1":"192.168.122.2","networktype":"Basic","securitygroupsenabled":true,"allocationstate":"Disabled","zonetoken":"c80c3391-5fbb-3dff-83a8-34a03c0159fb","dhcpprovider":"VirtualRouter","localstorageenabled":false}
] } }

    ==> /var/log/cloudstack/management/management-server.log <==
    2019-07-01 14:44:11,590 DEBUG [cloud.api.ApiServlet] (catalina-exec-2:null) ===END===
 192.168.122.1 -- GET  command=listZones&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&_=1561959851958
    2019-07-01 14:44:11,678 DEBUG [cloud.api.ApiServlet] (catalina-exec-21:null) ===START===
 192.168.122.1 -- GET  command=listZones&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&_=1561959852086
    2019-07-01 14:44:11,682 DEBUG [cloud.api.ApiServlet] (catalina-exec-7:null) ===START===
 192.168.122.1 -- GET  command=listProjectInvitations&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&state=Pending&_=1561959852088
    2019-07-01 14:44:11,694 DEBUG [cloud.api.ApiServlet] (catalina-exec-24:null) ===START===
 192.168.122.1 -- GET  command=listRegions&listAll=true&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&_=1561959852096
    2019-07-01 14:44:11,700 DEBUG [cloud.api.ApiServlet] (catalina-exec-10:null) ===START===
 192.168.122.1 -- GET  command=listProjects&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&accountId=61c78594-9898-11e9-9dc4-52540047cb95&listAll=true&_=1561959852098

    ==> /var/log/cloudstack/management/apilog.log <==
    2019-07-01 14:44:11,710 INFO  [cloud.api.ApiServer] (catalina-exec-21:null) (userId=2
accountId=2 sessionId=9BBB690D4CDB109E7F20FB6625E80120) 192.168.122.1 -- GET command=listZones&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&_=1561959852086
200 { "listzonesresponse" : { "count":1 ,"zone" : [  {"id":"a5a1e7dd-6fb7-4be5-8316-b74e6a2ac014","name":"zone1","dns1":"192.168.122.254","internaldns1":"192.168.122.2","networktype":"Basic","securitygroupsenabled":true,"allocationstate":"Disabled","zonetoken":"c80c3391-5fbb-3dff-83a8-34a03c0159fb","dhcpprovider":"VirtualRouter","localstorageenabled":false}
] } }

    ==> /var/log/cloudstack/management/management-server.log <==
    2019-07-01 14:44:11,710 DEBUG [cloud.api.ApiServlet] (catalina-exec-21:null) ===END===
 192.168.122.1 -- GET  command=listZones&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&_=1561959852086
    2019-07-01 14:44:11,719 DEBUG [cloud.api.ApiServlet] (catalina-exec-3:null) ===START===
 192.168.122.1 -- GET  command=listAlerts&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&page=1&pageSize=4&_=1561959852126

    ==> /var/log/cloudstack/management/apilog.log <==
    2019-07-01 14:44:11,736 INFO  [cloud.api.ApiServer] (catalina-exec-7:null) (userId=2 accountId=2
sessionId=9BBB690D4CDB109E7F20FB6625E80120) 192.168.122.1 -- GET command=listProjectInvitations&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&state=Pending&_=1561959852088
200 { "listprojectinvitationsresponse" : { } }

    ==> /var/log/cloudstack/management/management-server.log <==
    2019-07-01 14:44:11,736 DEBUG [cloud.api.ApiServlet] (catalina-exec-7:null) ===END===
 192.168.122.1 -- GET  command=listProjectInvitations&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&state=Pending&_=1561959852088

    ==> /var/log/cloudstack/management/apilog.log <==
    2019-07-01 14:44:11,756 INFO  [cloud.api.ApiServer] (catalina-exec-3:null) (userId=2 accountId=2
sessionId=9BBB690D4CDB109E7F20FB6625E80120) 192.168.122.1 -- GET command=listAlerts&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&page=1&pageSize=4&_=1561959852126
200 { "listalertsresponse" : { "count":6 ,"alert" : [  {"id":"aa94782d-a557-44b8-a6cb-ab86b9ffd852","type":14,"description":"Management
server node 192.168.122.2 is up","sent":"2019-07-01T14:42:25+0900"}, {"id":"2e954f7b-50f3-4001-9654-cb040b50fa85","type":14,"description":"Management
server node 192.168.122.2 is up","sent":"2019-06-28T18:31:43+0900"}, {"id":"26ceaf39-ca88-403a-867f-7a4cf89563c3","type":13,"description":"No
usage server process running","sent":"2019-06-27T16:12:11+0900"}, {"id":"7a36b093-4a50-4912-a2b5-cfe9636c56bd","type":14,"description":"Management
server node 192.168.122.2 is up","sent":"2019-06-27T15:12:14+0900"} ] } }

    ==> /var/log/cloudstack/management/management-server.log <==
    2019-07-01 14:44:11,756 DEBUG [cloud.api.ApiServlet] (catalina-exec-3:null) ===END===
 192.168.122.1 -- GET  command=listAlerts&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&page=1&pageSize=4&_=1561959852126
    2019-07-01 14:44:11,764 DEBUG [cloud.api.ApiServlet] (catalina-exec-25:null) ===START===
 192.168.122.1 -- GET  command=listHosts&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&state=Alert&page=1&pageSize=4&_=1561959852170

    ==> /var/log/cloudstack/management/apilog.log <==
    2019-07-01 14:44:11,783 INFO  [cloud.api.ApiServer] (catalina-exec-24:null) (userId=2
accountId=2 sessionId=9BBB690D4CDB109E7F20FB6625E80120) 192.168.122.1 -- GET command=listRegions&listAll=true&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&_=1561959852096
200 { "listregionsresponse" : { "count":1 ,"region" : [  {"id":1,"name":"Local","endpoint":"http://localhost:8080/client/","gslbserviceenabled":true,"portableipserviceenabled":false}
] } }

    ==> /var/log/cloudstack/management/management-server.log <==
    2019-07-01 14:44:11,783 DEBUG [cloud.api.ApiServlet] (catalina-exec-24:null) ===END===
 192.168.122.1 -- GET  command=listRegions&listAll=true&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&_=1561959852096
    2019-07-01 14:44:11,786 DEBUG [api.query.QueryManagerImpl] (catalina-exec-25:null) >>>Searching
for hosts>>>

    ==> /var/log/cloudstack/management/apilog.log <==
    2019-07-01 14:44:11,787 INFO  [cloud.api.ApiServer] (catalina-exec-10:null) (userId=2
accountId=2 sessionId=9BBB690D4CDB109E7F20FB6625E80120) 192.168.122.1 -- GET command=listProjects&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&accountId=61c78594-9898-11e9-9dc4-52540047cb95&listAll=true&_=1561959852098
200 { "listprojectsresponse" : { } }

    ==> /var/log/cloudstack/management/management-server.log <==
    2019-07-01 14:44:11,787 DEBUG [cloud.api.ApiServlet] (catalina-exec-10:null) ===END===
 192.168.122.1 -- GET  command=listProjects&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&accountId=61c78594-9898-11e9-9dc4-52540047cb95&listAll=true&_=1561959852098
    2019-07-01 14:44:11,794 DEBUG [api.query.QueryManagerImpl] (catalina-exec-25:null) >>>Generating
Response>>>

    ==> /var/log/cloudstack/management/apilog.log <==
    2019-07-01 14:44:11,795 INFO  [cloud.api.ApiServer] (catalina-exec-25:null) (userId=2
accountId=2 sessionId=9BBB690D4CDB109E7F20FB6625E80120) 192.168.122.1 -- GET command=listHosts&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&state=Alert&page=1&pageSize=4&_=1561959852170
200 { "listhostsresponse" : { } }

    ==> /var/log/cloudstack/management/management-server.log <==
    2019-07-01 14:44:11,795 DEBUG [cloud.api.ApiServlet] (catalina-exec-25:null) ===END===
 192.168.122.1 -- GET  command=listHosts&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&state=Alert&page=1&pageSize=4&_=1561959852170
    2019-07-01 14:44:11,801 DEBUG [cloud.api.ApiServlet] (catalina-exec-11:null) ===START===
 192.168.122.1 -- GET  command=listCapacity&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&fetchLatest=false&sortBy=usage&page=0&pagesize=8&_=1561959852208

    ==> /var/log/cloudstack/management/apilog.log <==
    2019-07-01 14:44:11,828 INFO  [cloud.api.ApiServer] (catalina-exec-11:null) (userId=2
accountId=2 sessionId=9BBB690D4CDB109E7F20FB6625E80120) 192.168.122.1 -- GET command=listCapacity&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&fetchLatest=false&sortBy=usage&page=0&pagesize=8&_=1561959852208
200 { "listcapacityresponse" : { "count":1 ,"capacity" : [  {"type":5,"zoneid":"a5a1e7dd-6fb7-4be5-8316-b74e6a2ac014","zonename":"zone1","capacityused":0,"capacitytotal":11,"percentused":"0"}
] } }

    ==> /var/log/cloudstack/management/management-server.log <==
    2019-07-01 14:44:11,828 DEBUG [cloud.api.ApiServlet] (catalina-exec-11:null) ===END===
 192.168.122.1 -- GET  command=listCapacity&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&fetchLatest=false&sortBy=usage&page=0&pagesize=8&_=1561959852208

    ==> /var/log/cloudstack/management/access_log.2019-07-01.txt <==
    192.168.122.1 - - [01/Jul/2019:14:44:10 +0900] "POST /client/api HTTP/1.1" 200 321
    192.168.122.1 - - [01/Jul/2019:14:44:11 +0900] "GET /client/api?command=listCapabilities&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&_=1561959851002
HTTP/1.1" 200 318
    192.168.122.1 - - [01/Jul/2019:14:44:11 +0900] "GET /client/api?command=listZones&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&_=1561959851958
HTTP/1.1" 200 361
    192.168.122.1 - - [01/Jul/2019:14:44:11 +0900] "GET /client/api?command=listZones&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&_=1561959852086
HTTP/1.1" 200 361
    192.168.122.1 - - [01/Jul/2019:14:44:11 +0900] "GET /client/api?command=listProjectInvitations&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&state=Pending&_=1561959852088
HTTP/1.1" 200 42
    192.168.122.1 - - [01/Jul/2019:14:44:11 +0900] "GET /client/api?command=listAlerts&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&page=1&pageSize=4&_=1561959852126
HTTP/1.1" 200 644
    192.168.122.1 - - [01/Jul/2019:14:44:11 +0900] "GET /client/api?command=listRegions&listAll=true&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&_=1561959852096
HTTP/1.1" 200 184
    192.168.122.1 - - [01/Jul/2019:14:44:11 +0900] "GET /client/api?command=listProjects&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&accountId=61c78594-9898-11e9-9dc4-52540047cb95&listAll=true&_=1561959852098
HTTP/1.1" 200 32
    192.168.122.1 - - [01/Jul/2019:14:44:11 +0900] "GET /client/api?command=listHosts&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&state=Alert&page=1&pageSize=4&_=1561959852170
HTTP/1.1" 200 29
    192.168.122.1 - - [01/Jul/2019:14:44:11 +0900] "GET /client/api?command=listCapacity&response=json&sessionkey=%2FCaC2VPb96KREZ4cRObRgxX3CVY%3D&fetchLatest=false&sortBy=usage&page=0&pagesize=8&_=1561959852208
HTTP/1.1" 200 193
    -----------------------------

==============================================================================

Best regard,
Eiji Sagawa

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message