You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[c.c.c.CloudianIntegrationServlet] (catalina-exec-23:null) Mapping admin to 'admn'
396
-
[c.c.c.CloudianIntegrationServlet] (catalina-exec-23:null) SSO login failed for admn user. Check config.
397
-
[c.c.c.CloudianIntegrationServlet] (catalina-exec-23:null) SSO login failed. Removing any existing SSO Cookie.
384
+
DEBUG [o.a.c.c.CloudianConnectorImpl] (qtp1809303591-31:ctx-6e8e8621 ctx-40a6e707) (logid:cd96b235) Attempting Cloudian SSO with user id=admn, group id=0
385
+
DEBUG [o.a.c.c.c.CloudianClient] (qtp1809303591-31:ctx-6e8e8621 ctx-40a6e707) (logid:cd96b235) Trying to find Cloudian user with id=admn and group id=0
386
+
INFO [c.c.a.ApiServer] (qtp1809303591-31:ctx-6e8e8621 ctx-40a6e707) (logid:cd96b235) Failed to find the requested resource and get valid response from Cloudian admin API call, please ask your administrator to diagnose and fix issues.
398
387
----
399
388
400
389
==== Other Failures
401
390
402
-
Connectivity problems with the Cloudian Admin server will probably be the
403
-
source of other problems logged. Below, we have incorrectly configured
404
-
Basic Auth and the connector is unable to connect to the Cloudian Admin server.
391
+
Connectivity problems with the Cloudian Admin server will probably be the
392
+
source of other problems logged. Below, we have logs from a timeout/connectivity
393
+
issue and incorrectly configured Basic Auth which causes authorization failures
394
+
and the connector fails to connect to the Cloudian Admin server.
395
+
396
+
.Admin Server connection problem due to time out
397
+
----
398
+
DEBUG [o.a.c.c.CloudianConnectorImpl] (qtp1809303591-372:ctx-a707eecc ctx-0e85865f) (logid:3efb32f0) Attempting Cloudian SSO with user id=753a62a8-978c-4bab-bfc4-b55ea2fda505, group id=16711de6-a806-11e7-b0a6-a434d91cd37e
399
+
DEBUG [o.a.c.c.c.CloudianClient] (qtp1809303591-372:ctx-a707eecc ctx-0e85865f) (logid:3efb32f0) Trying to find Cloudian user with id=753a62a8-978c-4bab-bfc4-b55ea2fda505 and group id=16711de6-a806-11e7-b0a6-a434d91cd37e
400
+
ERROR [o.a.c.c.c.CloudianClient] (qtp1809303591-372:ctx-a707eecc ctx-0e85865f) (logid:3efb32f0) Failed to list Cloudian user due to:
401
+
org.apache.http.conn.ConnectTimeoutException: Connect to admin.hs.yadav.xyz:19443 [admin.abc.xyz/10.5.1.6] failed: connect timed out
[o.a.c.h.HttpMethodDirector] (catalina-exec-17:null) Failure authenticating with BASIC 'CloudianAdmin'@admin.cloudian.com:18081
412
-
[c.c.c.CloudianIntegrationServlet] (catalina-exec-17:null) SSO login request failed for '*admin|b3ebfd90-d73d-11e3-9a7c-002170530220|4069e3d2-d73d-11e3-9a7c-002170530220'
408
+
DEBUG [o.a.c.c.CloudianConnectorImpl] (qtp1809303591-23:ctx-e9d61989 ctx-78760902) (logid:d3ea9e30) Attempting Cloudian SSO with user id=753a62a8-978c-4bab-bfc4-b55ea2fda505, group id=16711de6-a806-11e7-b0a6-a434d91cd37e
409
+
DEBUG [o.a.c.c.c.CloudianClient] (qtp1809303591-23:ctx-e9d61989 ctx-78760902) (logid:d3ea9e30) Trying to find Cloudian user with id=753a62a8-978c-4bab-bfc4-b55ea2fda505 and group id=16711de6-a806-11e7-b0a6-a434d91cd37e
INFO [c.c.a.ApiServer] (qtp1809303591-23:ctx-e9d61989 ctx-78760902) (logid:d3ea9e30) Cloudian admin API call unauthorized, please ask your administrator to fix integration issues.
413
412
----
414
413
415
414
== Trouble Shooting
@@ -422,20 +421,18 @@ There are a few things which can go wrong for SSO. Here are the
422
421
most common problems and things to check.
423
422
+
424
423
.SSO Check List
425
-
* Does the mapping of adminUserId point to the correct Cloudian user
426
-
in the <<properties,Connector Properties File>>?
424
+
* Does the global settings 'cloudian.cmc.admin.user' point to the correct
425
+
Cloudian (admin) user?
427
426
* Is SSO configured and enabled on Cloudian HyperStore CMC?
428
427
* Check for errors in the CMC log file.
429
-
* Are both CloudStack and HyperStore CMC configured with the same
430
-
ssoSharedKey?
431
-
* Try running 'cloudian-cloudstack.sh configure' which runs through
432
-
the connectivity settings.
428
+
* Are both CloudStack and HyperStore CMC configured with the same
429
+
'cloudian.sso.key'?
433
430
* Check the /var/log/cloudstack/management/management-server.log file and
434
431
search for errors relating to SSO.
435
-
* Try access the CMC host directly from the problem users host using
436
-
the configured cmcHost, cmcPort and cmcProtocol configured in the
437
-
<<properties,Connector Properties File>>.
438
-
* If you log out of the management server and log in again, does
432
+
* Try access the CMC host directly from the problem users host using
433
+
the configured 'cloudian.cmc.host', 'cloudian.cmc.port' and 'cloudian.cmc.protocol'
434
+
configured in the CloudStack global settings.
435
+
* If you log out of the management server and log in again, does
439
436
the 'Cloudian Storage' button work?
440
437
441
438
. Adding/Deleting Domains or Accounts fails
@@ -445,73 +442,15 @@ has changed with the connection or the admin server is down?
445
442
+
446
443
.Admin Check List
447
444
* Is the admin server alive and listening?
448
-
* Run the 'cloudian-cloudstack.sh configure' script as it tests the connection
449
-
using the configured properties. This will usually identify the problem.
445
+
* Try access the admin server host directly from the problem users host using
446
+
the configured 'cloudian.admin.host', 'cloudian.admin.port' and
447
+
'cloudian.admin.protocol' configured in the CloudStack global settings. Check
448
+
the configured auth settings 'cloudian.admin.user' and
449
+
'cloudian.admin.password'.
450
+
* If you're experiencing timeout issues, trying changing the API timeout value
451
+
defined in 'cloudian.api.request.timeout' global setting.
450
452
* Look for errors in the admin log file /var/log/cloudian/cloudian-admin.log.
451
453
452
-
. CloudStack Patching
453
-
+
454
-
The enable and disable options of the 'cloudian-cloudstack.sh' script
455
-
usually manages all the patching for you. The following shows you
456
-
the normal clean state of the cloudstack-management installation. Note
457
-
though that the output will vary slightly depending on your installation
458
-
and what you have changed.
459
-
+
460
-
.With Connector not installed
461
-
----
462
-
# rpm -qV cloudstack-management
463
-
S.5....T. c /etc/cloudstack/management/db.properties
464
-
.......T. /var/run/cloudstack-management.pid
465
-
----
466
-
+
467
-
.With Connector installed
468
-
----
469
-
# rpm -qV cloudstack-management
470
-
471
-
# rpm -qV cloudstack-management
472
-
S.5....T. c /etc/cloudstack/management/db.properties
LOG.warn(String.format("Failed to add account in Cloudian while adding CloudStack account=%s in domain=%s", account.getAccountName(), domain.getPath()));
if (response.getStatusLine().getStatusCode() != HttpStatus.SC_OK) {
117
-
thrownewServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed to get valid response from Cloudian admin API call, please ask your administrator to fix diagnose and fix issues.");
117
+
thrownewServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed to find the requested resource and get valid response from Cloudian admin API call, please ask your administrator to diagnose and fix issues.");
0 commit comments