cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohit Yadav (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-7455) Unable to connect to management server ?since SAML2 merge?
Date Sat, 30 Aug 2014 10:21:53 GMT

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

Rohit Yadav commented on CLOUDSTACK-7455:
-----------------------------------------

I cannot see any errors or exceptions related to saml, if UI is not working can you just try
to use the API directly on browser or using cloudmonkey to check what fails and share the
logs with those exceptions/issues.

Though saw some mysql related issues related to baremetal stuff;

2014-08-29 14:51:54,828 DEBUG [c.c.u.d.DatabaseAccessObject] (main:null) Ignored SQL Exception
when trying to drop foreign key fk_external_dhcp_devices_nsp_id on table baremetal_dhcp_devices
exception: Error on rename of './cloud/baremetal_dhcp_devices' to './cloud/#sql2-aae-1a' (errno:
152)
2014-08-29 14:51:54,832 DEBUG [c.c.u.d.DatabaseAccessObject] (main:null) Ignored SQL Exception
when trying to drop foreign key fk_external_dhcp_devices_host_id on table baremetal_dhcp_devices
exception: Error on rename of './cloud/baremetal_dhcp_devices' to './cloud/#sql2-aae-1a' (errno:
152)
2014-08-29 14:51:54,837 DEBUG [c.c.u.d.DatabaseAccessObject] (main:null) Ignored SQL Exception
when trying to drop foreign key fk_external_dhcp_devices_pod_id on table baremetal_dhcp_devices
exception: Error on rename of './cloud/baremetal_dhcp_devices' to './cloud/#sql2-aae-1a' (errno:
152)
2014-08-29 14:51:54,842 DEBUG [c.c.u.d.DatabaseAccessObject] (main:null) Ignored SQL Exception
when trying to drop foreign key fk_external_dhcp_devices_physical_network_id on table baremetal_dhcp_devices
exception: Error on rename of './cloud/baremetal_dhcp_devices' to './cloud/#sql2-aae-1a' (errno:
152)
2014-08-29 14:51:54,847 DEBUG [c.c.u.d.DatabaseAccessObject] (main:null) Ignored SQL Exception
when trying to drop foreign key fk_external_dhcp_devices_nsp_id on table baremetal_pxe_devices
exception: Error on rename of './cloud/baremetal_pxe_devices' to './cloud/#sql2-aae-1a' (errno:
152)
2014-08-29 14:51:54,852 DEBUG [c.c.u.d.DatabaseAccessObject] (main:null) Ignored SQL Exception
when trying to drop foreign key fk_external_dhcp_devices_host_id on table baremetal_pxe_devices
exception: Error on rename of './cloud/baremetal_pxe_devices' to './cloud/#sql2-aae-1a' (errno:
152)
2014-08-29 14:51:54,856 DEBUG [c.c.u.d.DatabaseAccessObject] (main:null) Ignored SQL Exception
when trying to drop foreign key fk_external_dhcp_devices_pod_id on table baremetal_pxe_devices
exception: Error on rename of './cloud/baremetal_pxe_devices' to './cloud/#sql2-aae-1a' (errno:
152)
2014-08-29 14:51:54,861 DEBUG [c.c.u.d.DatabaseAccessObject] (main:null) Ignored SQL Exception
when trying to drop foreign key fk_external_dhcp_devices_physical_network_id on table baremetal_pxe_devices
exception: Error on rename of './cloud/baremetal_pxe_devices' to './cloud/#sql2-aae-1a' (errno:
152)
2014-08-29 14:51:54,866 DEBUG [c.c.u.d.DatabaseAccessObject] (main:null) Ignored SQL Exception
when trying to drop foreign key fk_external_pxe_devices_nsp_id on table baremetal_pxe_devices
exception: Error on rename of './cloud/baremetal_pxe_devices' to './cloud/#sql2-aae-1a' (errno:
152)
2014-08-29 14:51:54,871 DEBUG [c.c.u.d.DatabaseAccessObject] (main:null) Ignored SQL Exception
when trying to drop foreign key fk_external_pxe_devices_host_id on table baremetal_pxe_devices
exception: Error on rename of './cloud/baremetal_pxe_devices' to './cloud/#sql2-aae-1a' (errno:
152)
2014-08-29 14:51:54,875 DEBUG [c.c.u.d.DatabaseAccessObject] (main:null) Ignored SQL Exception
when trying to drop foreign key fk_external_pxe_devices_physical_network_id on table baremetal_pxe_devices
exception: Error on rename of './cloud/baremetal_pxe_devices' to './cloud/#sql2-aae-1a' (errno:
152)

> Unable to connect to management server ?since SAML2 merge?
> ----------------------------------------------------------
>
>                 Key: CLOUDSTACK-7455
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7455
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.5.0
>            Reporter: Alex Brett
>            Priority: Blocker
>             Fix For: 4.5.0
>
>         Attachments: management-server.log
>
>
> In builds that have the SAML2 merge in, while I can start the management server, it appears
not to fully startup, and doesn't give the UI or API.
> management-server.log (attached) stops at:
> {noformat}
> 2014-08-29 14:55:02,097 INFO  [o.a.c.s.l.CloudStackExtendedLifeCycle] (main:null) Starting
CloudStack Components
> 2014-08-29 14:55:02,098 INFO  [o.a.c.s.l.CloudStackExtendedLifeCycle] (main:null) Done
Starting CloudStack Components
> 2014-08-29 14:55:02,098 INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null)
Starting module [core]
> 2014-08-29 14:55:02,098 INFO  [o.a.c.s.l.CloudStackExtendedLifeCycle] (main:null) Starting
CloudStack Components
> 2014-08-29 14:55:02,106 INFO  [c.c.h.h.m.HypervManagerImpl] (main:null) Cleanup mounted
mount points used in previous session
> 2014-08-29 14:55:02,141 INFO  [c.c.u.DatabaseIntegrityChecker] (main:null) Grabbing lock
to check for database integrity.
> 2014-08-29 14:55:02,143 INFO  [c.c.u.DatabaseIntegrityChecker] (main:null) Performing
database integrity check
> 2014-08-29 14:55:02,144 DEBUG [c.c.u.DatabaseIntegrityChecker] (main:null) No duplicate
hosts with the same local storage found in database
> 2014-08-29 14:55:02,146 DEBUG [c.c.u.d.VersionDaoImpl] (main:null) Checking to see if
the database is at a version before it was the version table is created
> 2014-08-29 14:55:02,150 INFO  [c.c.c.ClusterManagerImpl] (main:null) Starting Cluster
manager, msid : 99326614648649
> 2014-08-29 14:55:02,155 INFO  [c.c.c.ClusterManagerImpl] (main:null) Management server
99326614648649, runId 1409324073632 is being started
> 2014-08-29 14:55:02,156 INFO  [c.c.c.ClusterManagerImpl] (main:null) Management server
(host id : 1) is being started at 127.0.0.1:9090
> 2014-08-29 14:55:02,162 INFO  [c.c.c.ClusterManagerImpl] (main:null) Cluster manager
was started successfully
> 2014-08-29 14:55:02,167 DEBUG [c.c.u.s.Script] (main:null) Executing: /bin/bash -c /sbin/route
| grep default 
> 2014-08-29 14:55:02,183 DEBUG [c.c.u.s.Script] (main:null) Execution is successful.
> 2014-08-29 14:55:02,185 WARN  [c.c.c.ConfigurationManagerImpl] (main:null) Management
network CIDR is not configured originally. Set it default to 10.220.128.0/19
> 2014-08-29 14:55:02,190 WARN  [o.a.c.alerts] (main:null)  alertType:: 14 // dataCenterId::
0 // podId:: 0 // clusterId:: null // message:: Management network CIDR is not configured
originally. Set it default to 10.220.128.0/19
> 2014-08-29 14:55:02,215 INFO  [c.c.h.HighAvailabilityManagerImpl] (HA-Worker-0:null)
Starting work
> 2014-08-29 14:55:02,224 INFO  [c.c.h.HighAvailabilityManagerImpl] (HA-Worker-3:null)
Starting work
> 2014-08-29 14:55:02,224 INFO  [c.c.h.HighAvailabilityManagerImpl] (HA-Worker-4:null)
Starting work
> 2014-08-29 14:55:02,218 INFO  [c.c.h.HighAvailabilityManagerImpl] (HA-Worker-2:null)
Starting work
> 2014-08-29 14:55:02,218 INFO  [c.c.h.HighAvailabilityManagerImpl] (HA-Worker-1:null)
Starting work
> 2014-08-29 14:55:02,290 DEBUG [c.c.n.l.LBHealthCheckManagerImpl] (main:null) LB HealthCheckmanager
is getting Started
> 2014-08-29 14:55:02,307 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (NetworkStatsUpdater-1:ctx-5b259b22)
Successfully updated aggregate network stats
> 2014-08-29 14:55:11,061 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.CloudStackAccountDaoImpl_EnhancerByCloudStack_156f5045
> 2014-08-29 14:55:11,066 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.OfferingDaoImpl_EnhancerByCloudStack_aa79bf9f
> 2014-08-29 14:55:11,066 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.SMetaDaoImpl_EnhancerByCloudStack_c720af97
> 2014-08-29 14:55:11,066 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.MultipartMetaDaoImpl_EnhancerByCloudStack_ae893256
> 2014-08-29 14:55:11,067 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.UserCredentialsDaoImpl_EnhancerByCloudStack_68227ab6
> 2014-08-29 14:55:11,067 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.CloudStackConfigurationDaoImpl_EnhancerByCloudStack_d654c274
> 2014-08-29 14:55:11,067 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.BucketPolicyDaoImpl_EnhancerByCloudStack_2def2c39
> 2014-08-29 14:55:11,067 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.SObjectItemDaoImpl_EnhancerByCloudStack_1201e402
> 2014-08-29 14:55:11,067 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.MHostMountDaoImpl_EnhancerByCloudStack_67051811
> 2014-08-29 14:55:11,068 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.MHostDaoImpl_EnhancerByCloudStack_d8ed3a52
> 2014-08-29 14:55:11,068 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.MultiPartUploadsDaoImpl_EnhancerByCloudStack_9461df7f
> 2014-08-29 14:55:11,068 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.SBucketDaoImpl_EnhancerByCloudStack_659e1c4a
> 2014-08-29 14:55:11,068 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.SAclDaoImpl_EnhancerByCloudStack_d88cf4c6
> 2014-08-29 14:55:11,069 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.MultiPartPartsDaoImpl_EnhancerByCloudStack_605c0a01
> 2014-08-29 14:55:11,069 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.CloudStackSvcOfferingDaoImpl_EnhancerByCloudStack_5fb1f664
> 2014-08-29 14:55:11,069 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.SHostDaoImpl_EnhancerByCloudStack_17fb09c
> 2014-08-29 14:55:11,069 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.CloudStackUserDaoImpl_EnhancerByCloudStack_e3a8a5e7
> 2014-08-29 14:55:11,069 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.persist.dao.SObjectDaoImpl_EnhancerByCloudStack_e85a208d
> 2014-08-29 14:55:11,070 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.service.core.ec2.EC2Engine_EnhancerByCloudStack_3ae7053d
> 2014-08-29 14:55:11,168 INFO  [c.c.u.c.ComponentContext] (main:null) Configuring com.cloud.bridge.service.controller.s3.ServiceProvider_EnhancerByCloudStack_66179fb2
> 2014-08-29 14:55:11,269 INFO  [c.c.u.c.ComponentContext] (main:null) Starting com.cloud.bridge.persist.dao.CloudStackAccountDaoImpl_EnhancerByCloudStack_156f5045
> 2014-08-29 14:55:11,269 INFO  [c.c.u.c.ComponentContext] (main:null) Starting com.cloud.bridge.persist.dao.OfferingDaoImpl_EnhancerByCloudStack_aa79bf9f
> 2014-08-29 14:55:11,269 INFO  [c.c.u.c.ComponentContext] (main:null) Starting com.cloud.bridge.persist.dao.SMetaDaoImpl_EnhancerByCloudStack_c720af97
> 2014-08-29 14:55:11,269 INFO  [c.c.u.c.ComponentContext] (main:null) Starting com.cloud.bridge.persist.dao.MultipartMetaDaoImpl_EnhancerByCloudStack_ae893256
> 2014-08-29 14:55:11,269 INFO  [c.c.u.c.ComponentContext] (main:null) Starting com.cloud.bridge.persist.dao.UserCredentialsDaoImpl_EnhancerByCloudStack_68227ab6
> 2014-08-29 14:55:11,270 INFO  [c.c.u.c.ComponentContext] (main:null) Starting com.cloud.bridge.persist.dao.CloudStackConfigurationDaoImpl_EnhancerByCloudStack_d654c274
> 2014-08-29 14:55:11,270 INFO  [c.c.u.c.ComponentContext] (main:null) Starting com.cloud.bridge.persist.dao.BucketPolicyDaoImpl_EnhancerByCloudStack_2def2c39
> 2014-08-29 14:55:11,270 INFO  [c.c.u.c.ComponentContext] (main:null) Starting com.cloud.bridge.persist.dao.SObjectItemDaoImpl_EnhancerByCloudStack_1201e402
> 2014-08-29 14:55:11,270 INFO  [c.c.u.c.ComponentContext] (main:null) Starting com.cloud.bridge.persist.dao.MHostMountDaoImpl_EnhancerByCloudStack_67051811
> 2014-08-29 14:55:11,270 INFO  [c.c.u.c.ComponentContext] (main:null) Starting com.cloud.bridge.persist.dao.MHostDaoImpl_EnhancerByCloudStack_d8ed3a52
> 2014-08-29 14:55:11,270 INFO  [c.c.u.c.ComponentContext] (main:null) Starting com.cloud.bridge.persist.dao.MultiPartUploadsDaoImpl_EnhancerByCloudStack_9461df7f
> 2014-08-29 14:55:11,270 INFO  [c.c.u.c.ComponentContext] (main:null) Starting com.cloud.bridge.persist.dao.SBucketDaoImpl_EnhancerByCloudStack_659e1c4a
> 2014-08-29 14:55:11,270 INFO  [c.c.u.c.ComponentContext] (main:null) Starting com.cloud.bridge.persist.dao.SAclDaoImpl_EnhancerByCloudStack_d88cf4c6
> 2014-08-29 14:55:11,270 INFO  [c.c.u.c.ComponentContext] (main:null) Starting com.cloud.bridge.persist.dao.MultiPartPartsDaoImpl_EnhancerByCloudStack_605c0a01
> 2014-08-29 14:55:11,270 INFO  [c.c.u.c.ComponentContext] (main:null) Starting com.cloud.bridge.persist.dao.CloudStackSvcOfferingDaoImpl_EnhancerByCloudStack_5fb1f664
> 2014-08-29 14:55:11,270 INFO  [c.c.u.c.ComponentContext] (main:null) Starting com.cloud.bridge.persist.dao.SHostDaoImpl_EnhancerByCloudStack_17fb09c
> 2014-08-29 14:55:11,270 INFO  [c.c.u.c.ComponentContext] (main:null) Starting com.cloud.bridge.persist.dao.CloudStackUserDaoImpl_EnhancerByCloudStack_e3a8a5e7
> 2014-08-29 14:55:11,270 INFO  [c.c.u.c.ComponentContext] (main:null) Starting com.cloud.bridge.persist.dao.SObjectDaoImpl_EnhancerByCloudStack_e85a208d
> 2014-08-29 14:55:11,270 INFO  [c.c.u.c.ComponentContext] (main:null) Starting com.cloud.bridge.service.core.ec2.EC2Engine_EnhancerByCloudStack_3ae7053d
> 2014-08-29 14:55:11,271 INFO  [c.c.u.c.ComponentContext] (main:null) Starting com.cloud.bridge.service.controller.s3.ServiceProvider_EnhancerByCloudStack_66179fb2
> {noformat}
> Whereas on a working setup on an older build I see additional content after this, such
as:
> {noformat}
> 2014-08-27 16:27:20,980 DEBUG [c.c.s.StatsCollector] (StatsCollector-1:ctx-564c3835)
HostStatsCollector is running...
> 2014-08-27 16:27:20,987 DEBUG [c.c.s.StatsCollector] (StatsCollector-2:ctx-1da88554)
VmStatsCollector is running...
> 2014-08-27 16:27:20,988 DEBUG [c.c.s.StatsCollector] (StatsCollector-3:ctx-e0dd501a)
StorageCollector is running...
> 2014-08-27 16:27:20,987 DEBUG [c.c.s.StatsCollector] (StatsCollector-4:ctx-506c5f32)
AutoScaling Monitor is running...
> 2014-08-27 16:27:35,893 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-f12f2df6)
Found 0 routers to update status. 
> 2014-08-27 16:27:35,895 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-f12f2df6)
Found 0 networks to update RvR status. 
> 2014-08-27 16:27:36,012 DEBUG [c.c.a.AlertManagerImpl] (CapacityChecker:ctx-769b4449)
Running Capacity Checker ... 
> 2014-08-27 16:27:36,012 DEBUG [c.c.a.AlertManagerImpl] (CapacityChecker:ctx-769b4449)
recalculating system capacity
> 2014-08-27 16:27:36,012 DEBUG [c.c.a.AlertManagerImpl] (CapacityChecker:ctx-769b4449)
Executing cpu/ram capacity update
> 2014-08-27 16:27:36,016 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (HostReservationReleaseChecker:ctx-39dd69cc)
Checking if any host reservation can be released ... 
> 2014-08-27 16:27:36,017 DEBUG [c.c.a.AlertManagerImpl] (CapacityChecker:ctx-769b4449)
Done executing cpu/ram capacity update
> 2014-08-27 16:27:36,017 DEBUG [c.c.a.AlertManagerImpl] (CapacityChecker:ctx-769b4449)
Executing storage capacity update
> 2014-08-27 16:27:36,018 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (HostReservationReleaseChecker:ctx-39dd69cc)
Done running HostReservationReleaseChecker ... 
> 2014-08-27 16:27:36,018 DEBUG [c.c.a.AlertManagerImpl] (CapacityChecker:ctx-769b4449)
Done executing storage capacity update
> 2014-08-27 16:27:36,018 DEBUG [c.c.a.AlertManagerImpl] (CapacityChecker:ctx-769b4449)
Executing capacity updates for public ip and Vlans
> 2014-08-27 16:27:36,019 DEBUG [c.c.a.AlertManagerImpl] (CapacityChecker:ctx-769b4449)
Done capacity updates for public ip and Vlans
> 2014-08-27 16:27:36,019 DEBUG [c.c.a.AlertManagerImpl] (CapacityChecker:ctx-769b4449)
Executing capacity updates for private ip
> 2014-08-27 16:27:36,019 DEBUG [c.c.a.AlertManagerImpl] (CapacityChecker:ctx-769b4449)
Done executing capacity updates for private ip
> 2014-08-27 16:27:36,020 DEBUG [c.c.a.AlertManagerImpl] (CapacityChecker:ctx-769b4449)
Done recalculating system capacity
> 2014-08-27 16:27:36,021 DEBUG [c.c.a.AlertManagerImpl] (CapacityChecker:ctx-769b4449)
Done running Capacity Checker ... 
> 2014-08-27 16:27:47,577 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-c3884b29)
Skip capacity scan due to there is no Primary Storage UPintenance mode
> 2014-08-27 16:28:05,890 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-7d67099e)
Found 0 routers to update status. 
> 2014-08-27 16:28:05,892 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-7d67099e)
Found 0 networks to update RvR status. 
> {noformat}
> This is on a management server installed from http://jenkins.buildacloud.org/job/package-rhel63-master/3202/
> I can't say categorically it's the SAML2 changes, as there are a couple of other bits
and pieces that have gone in since the last working build (I'm attempting to get the commit
identified now)...



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message