cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tanthalas <tanthalas...@hotmail.com>
Subject Re: 答复: 答复: cs重启后就无法登陆,进程挂死
Date Thu, 22 Aug 2013 01:10:02 GMT

这是关机log,对排查问题没有帮助,你再仔细看看更多的log。
重启一遍进程,tail出log的每一步操作。

2013-08-22 
刘宇超  Richard Liu




发件人: 许叁征 
发送时间: 2013-08-21  17:40:27 
收件人: users-cn@cloudstack.apache.org; 'zanghongtu2006' 
抄送: 
主题: 答复: 答复: cs重启后就无法登陆,进程挂死 
 
 
2013-08-21 17:06:21,830 DEBUG [cloud.host.Status] (Thread-5:null) Agent status update: [id
= 4; name = s-1-VM; old status = Up; event = ManagementServerDown; new status = Disconnected;
old update count = 43095; new update count = 43096]
2013-08-21 17:06:21,830 INFO  [utils.component.ComponentLocator] (Thread-5:null) Skipping
Manager ClusteredAgentManager because it is not in a state to shutdown.
2013-08-21 17:06:21,831 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
SyncQueueManager to shutdown.
2013-08-21 17:06:21,831 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
AsyncJobManager to shutdown.
2013-08-21 17:06:21,834 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
AsyncJobExecutorContext to shutdown.
2013-08-21 17:06:21,834 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
configuration manager to shutdown.
2013-08-21 17:06:21,834 INFO  [utils.component.ComponentLocator] (Thread-5:null) Skipping
Manager configuration manager because it is not in a state to shutdown.
2013-08-21 17:06:21,834 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
account manager to shutdown.
2013-08-21 17:06:21,834 INFO  [utils.component.ComponentLocator] (Thread-5:null) Skipping
Manager account manager because it is not in a state to shutdown.
2013-08-21 17:06:21,834 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
domain manager to shutdown.
2013-08-21 17:06:21,834 INFO  [utils.component.ComponentLocator] (Thread-5:null) Skipping
Manager domain manager because it is not in a state to shutdown.
2013-08-21 17:06:21,834 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
resource limit manager to shutdown.
2013-08-21 17:06:21,834 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
network manager to shutdown.
2013-08-21 17:06:21,834 INFO  [utils.component.ComponentLocator] (Thread-5:null) Skipping
Manager network manager because it is not in a state to shutdown.
2013-08-21 17:06:21,835 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
download manager to shutdown.
2013-08-21 17:06:21,835 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
upload manager to shutdown.
2013-08-21 17:06:21,835 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
keystore manager to shutdown.
2013-08-21 17:06:21,835 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
secondary storage vm manager to shutdown.
2013-08-21 17:06:21,835 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
vm manager to shutdown.
2013-08-21 17:06:21,835 INFO  [utils.component.ComponentLocator] (Thread-5:null) Skipping
Manager vm manager because it is not in a state to shutdown.
2013-08-21 17:06:21,836 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
upgrade manager to shutdown.
2013-08-21 17:06:21,836 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
StorageManager to shutdown.
2013-08-21 17:06:21,836 INFO  [utils.component.ComponentLocator] (Thread-5:null) Skipping
Manager StorageManager because it is not in a state to shutdown.
2013-08-21 17:06:21,837 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
Alert Manager to shutdown.
2013-08-21 17:06:21,837 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
Template Manager to shutdown.
2013-08-21 17:06:21,838 INFO  [utils.component.ComponentLocator] (Thread-5:null) Skipping
Manager Template Manager because it is not in a state to shutdown.
2013-08-21 17:06:21,838 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
Snapshot Manager to shutdown.
2013-08-21 17:06:21,838 INFO  [utils.component.ComponentLocator] (Thread-5:null) Skipping
Manager Snapshot Manager because it is not in a state to shutdown.
2013-08-21 17:06:21,838 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
SnapshotScheduler to shutdown.
2013-08-21 17:06:21,838 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
SecurityGroupManager to shutdown.
2013-08-21 17:06:21,838 INFO  [utils.component.ComponentLocator] (Thread-5:null) Skipping
Manager SecurityGroupManager because it is not in a state to shutdown.
2013-08-21 17:06:21,838 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
EntityManager to shutdown.
2013-08-21 17:06:21,838 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
LoadBalancingRulesManager to shutdown.
2013-08-21 17:06:21,838 INFO  [utils.component.ComponentLocator] (Thread-5:null) Skipping
Manager LoadBalancingRulesManager because it is not in a state to shutdown.
2013-08-21 17:06:21,838 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
RulesManager to shutdown.
2013-08-21 17:06:21,838 INFO  [utils.component.ComponentLocator] (Thread-5:null) Skipping
Manager RulesManager because it is not in a state to shutdown.
2013-08-21 17:06:21,838 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
RemoteAccessVpnManager to shutdown.
2013-08-21 17:06:21,838 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
Capacity Manager to shutdown.
2013-08-21 17:06:21,839 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
VirtualMachineManager to shutdown.
2013-08-21 17:06:21,839 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
HypervisorGuruManager to shutdown.
2013-08-21 17:06:21,839 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
ResourceManager to shutdown.
2013-08-21 17:06:21,839 INFO  [utils.component.ComponentLocator] (Thread-5:null) Skipping
Manager ResourceManager because it is not in a state to shutdown.
2013-08-21 17:06:21,839 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
IdentityManager to shutdown.
2013-08-21 17:06:21,839 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
OCFS2Manager to shutdown.
2013-08-21 17:06:21,840 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
FirewallManager to shutdown.
2013-08-21 17:06:21,840 INFO  [utils.component.ComponentLocator] (Thread-5:null) Skipping
Manager FirewallManager because it is not in a state to shutdown.
2013-08-21 17:06:21,840 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
ConsoleProxyManager to shutdown.
2013-08-21 17:06:21,840 INFO  [cloud.consoleproxy.ConsoleProxyManagerImpl] (Thread-5:null)
Stop console proxy manager
2013-08-21 17:06:21,840 INFO  [utils.component.ComponentLocator] (Thread-5:null) Skipping
Manager ConsoleProxyManager because it is not in a state to shutdown.
2013-08-21 17:06:21,840 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
ProjectManager to shutdown.
2013-08-21 17:06:21,840 INFO  [utils.component.ComponentLocator] (Thread-5:null) Skipping
Manager ProjectManager because it is not in a state to shutdown.
2013-08-21 17:06:21,840 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
SwiftManager to shutdown.
2013-08-21 17:06:21,840 INFO  [storage.swift.SwiftManagerImpl] (Thread-5:null) Stop Swift
Manager
2013-08-21 17:06:21,840 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
StorageNetworkManager to shutdown.
2013-08-21 17:06:21,840 INFO  [utils.component.ComponentLocator] (Thread-5:null) Skipping
Manager StorageNetworkManager because it is not in a state to shutdown.
2013-08-21 17:06:21,841 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
ExternalLoadBalancerUsageManager to shutdown.
2013-08-21 17:06:21,841 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
HA Manager to shutdown.
2013-08-21 17:06:21,841 INFO  [cloud.ha.HighAvailabilityManagerImpl] (HA-Worker-0:null) Time
to go home!
2013-08-21 17:06:21,841 INFO  [cloud.ha.HighAvailabilityManagerImpl] (HA-Worker-3:null) Time
to go home!
2013-08-21 17:06:21,841 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
VPC Manager to shutdown.
2013-08-21 17:06:21,841 INFO  [utils.component.ComponentLocator] (Thread-5:null) Skipping
Manager VPC Manager because it is not in a state to shutdown.
2013-08-21 17:06:21,842 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
VpcVirtualRouterManager to shutdown.
2013-08-21 17:06:21,841 INFO  [cloud.ha.HighAvailabilityManagerImpl] (HA-Worker-4:null) Time
to go home!
2013-08-21 17:06:21,841 INFO  [cloud.ha.HighAvailabilityManagerImpl] (HA-Worker-1:null) Time
to go home!
2013-08-21 17:06:21,841 INFO  [cloud.ha.HighAvailabilityManagerImpl] (HA-Worker-2:null) Time
to go home!
2013-08-21 17:06:21,842 INFO  [utils.component.ComponentLocator] (Thread-5:null) Skipping
Manager VpcVirtualRouterManager because it is not in a state to shutdown.
2013-08-21 17:06:21,842 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
NetworkACLManager to shutdown.
2013-08-21 17:06:21,842 INFO  [utils.component.ComponentLocator] (Thread-5:null) Skipping
Manager NetworkACLManager because it is not in a state to shutdown.
2013-08-21 17:06:21,842 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
TaggedResourcesManager to shutdown.
2013-08-21 17:06:21,842 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
Site2SiteVpnManager to shutdown.
2013-08-21 17:06:21,843 INFO  [utils.component.ComponentLocator] (Thread-5:null) Skipping
Manager Site2SiteVpnManager because it is not in a state to shutdown.
2013-08-21 17:06:21,877 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
ExternalNetworkManager to shutdown.
2013-08-21 17:06:21,877 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
BareMetalVmManager to shutdown.
2013-08-21 17:06:21,878 INFO  [utils.component.ComponentLocator] (Thread-5:null) Skipping
Manager BareMetalVmManager because it is not in a state to shutdown.
2013-08-21 17:06:21,878 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
ExternalDhcpManager to shutdown.
2013-08-21 17:06:21,878 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
PxeServerManager to shutdown.
2013-08-21 17:06:21,878 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
NetworkUsageManager to shutdown.
2013-08-21 17:06:21,878 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
OvsTunnelManager to shutdown.
2013-08-21 17:06:21,878 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
NetappManager to shutdown.
2013-08-21 17:06:21,878 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
ElasticLoadBalancerManager to shutdown.
2013-08-21 17:06:21,878 INFO  [utils.component.ComponentLocator] (Thread-5:null) Asking Manager
VmwareManager to shutdown.
2013-08-21 17:06:21,879 INFO  [vmware.manager.VmwareManagerImpl] (Thread-5:null) Cleanup mounted
NFS mount points used in current session
 
 
 
 
许叁征
网宿科技股份有限公司  厦门分公司运营技术支持部

Tel:13860125907  
E-mail:xusz@chinanetcenter.com
http://www.chinanetcenter.com分公司:北京-上海-广州-深圳               
免费咨询热线:800-820-0001
网宿科技 --卓越的互联网业务平台提供商

 



 
发件人: zanghongtu2006 [mailto:zanghongtu2006@gmail.com] 
发送时间: 2013年8月21日星期三 17:34
收件人: 许叁征; users-cn
主题: Re: 答复: cs重启后就无法登陆,进程挂死
 
/var/log/cloud/management/management-server.log
 



zanghongtu2006
 
发件人: 许叁征
发送时间: 2013-08-21 17:31
收件人: 'zanghongtu2006'; users-cn@cloudstack.apache.org
主题: 答复: cs重启后就无法登陆,进程挂死
就这两个改了0.95 原来是0.85 
那现要看哪个日志文件。系统进入不了,如何处理
 
cluster.cpu.allocated.capacity.disablethreshold
cluster.memory.allocated.capacity.disablethreshold
 
 
 
[root@manager management]# ll catalina.out
-rw-r--r--. 1 cloud cloud 134 Aug 21 17:26 catalina.out
[root@manager management]# cat  catalina.out
错误: 代理抛出异常 : java.net.MalformedURLException: Local host name unknown: java.net.UnknownHostException:
manager: manager
[root@manager management]# cat  catalina.out
错误: 代理抛出异常 : java.net.MalformedURLException: Local host name unknown: java.net.UnknownHostException:
manager: manager
[root@manager management]# rm   catalina.out
rm: remove regular file `catalina.out'? y
[root@manager management]# mv  catalina.out1 catalina.out
[root@manager management]# du -h catalina.out1 
du: cannot access `catalina.out1': No such file or directory
[root@manager management]# du -h catalina.out
383M  catalina.out
 
 
 
 
 
许叁征
网宿科技股份有限公司  厦门分公司运营技术支持部

Tel:13860125907  
E-mail:xusz@chinanetcenter.com
http://www.chinanetcenter.com分公司:北京-上海-广州-深圳               
免费咨询热线:800-820-0001
网宿科技 --卓越的互联网业务平台提供商

 



 
发件人: zanghongtu2006 [mailto:zanghongtu2006@gmail.com] 
发送时间: 2013年8月21日星期三 17:18
收件人: 许叁征
主题: Re: cs重启后就无法登陆,进程挂死
 
看看log吧
可能是你刚刚改的全局配置错了
有的不能接受小数的
 



zanghongtu2006
 
发件人: 许叁征
发送时间: 2013-08-21 17:13
收件人: users-cn@cloudstack.apache.org; 'zanghongtu2006'
主题: cs重启后就无法登陆,进程挂死
 Hi ALL
 CS重启后,发现系统无法登陆,进程 挂死,这个要如何处理
 
[root@manager ~]# service cloud-management restart
Stopping cloud-management:                                 [确定]
Starting cloud-management:                                 [确定]
[root@manager ~]# rm /var/lock/subsys/cloud-management
rm: remove regular empty file `/var/lock/subsys/cloud-management'? y
[root@manager ~]# service cloud-management status
cloud-management 已死,但 pid 文件仍存
The pid file locates at /var/run/cloud-management.pid and lock file at /var/lock/subsys/cloud-management.
        Starting cloud-management will take care of them or you can manually clean up.
[root@manager ~]# rm /var/run/cloud-management.pid 
rm: remove regular file `/var/run/cloud-management.pid'? y
[root@manager ~]# service cloud-management start
Starting cloud-management:                                 [确定]
[root@manager ~]# netstat -an |grep 8080
[root@manager ~]# netstat -an 
Active Internet connections (servers and established)
 
 
 
许叁征
网宿科技股份有限公司  厦门分公司 运营技术支持部
 
Tel:13860125907  
E-mail:xusz@chinanetcenter.com
http://www.chinanetcenter.com
 
分公司:北京-上海-广州-深圳               
免费咨询热线:800-820-0001
网宿科技 --卓越的互联网业务平台提供商
 
 
 
 
-----邮件原件-----
发件人: zanghongtu2006 [mailto:zanghongtu2006@gmail.com] 
发送时间: 2013年8月21日星期三 16:51
收件人: users-cn
主题: Re: 答复: 资源不足,无法创建虚拟机
 
搜一下overprovision
大概相关的超配比例都在那
 
 
 
 
zanghongtu2006
 
发件人: 许叁征
发送时间: 2013-08-21 16:39
收件人: users-cn@cloudstack.apache.org
主题: 答复: 资源不足,无法创建虚拟机
 
修改全局变量的的资源超配比例
 
是哪个参数 ,
 
 
 
 
许叁征
网宿科技股份有限公司  厦门分公司 运营技术支持部
 
Tel:13860125907  
E-mail:xusz@chinanetcenter.com
http://www.chinanetcenter.com
 
分公司:北京-上海-广州-深圳               
免费咨询热线:800-820-0001
网宿科技 --卓越的互联网业务平台提供商
 
 
 
-----邮件原件-----
发件人: 陈珂 [mailto:chenke@ourfuture.cn] 
发送时间: 2013年8月19日星期一 19:23
收件人: users-cn
主题: Re: 资源不足,无法创建虚拟机
 
修改全局变量的的资源超配比例。
 
 
2013-08-19 
 
 
 
陈珂 
 
 
 
发件人: 许叁征 
发送时间: 2013-08-19  19:19:28 
收件人: users-cn@cloudstack.apache.org 
抄送: 
主题: 资源不足,无法创建虚拟机 
 
 
Hi all
发现CS系统机器还有资源,可是却无法再创建虚拟机了,
当删除了一台机器后,再创建一台机器,就可以。
请问,在哪边可以修改配置,让系统接着创建虚拟机。
如希望内存达到28GB的时候无法再创建。
 
 
 
 
 
 
 
许叁征
网宿科技股份有限公司  厦门分公司 运营技术支持部
 
Tel:13860125907  
E-mail:xusz@chinanetcenter.com
http://www.chinanetcenter.com分公司:北京-上海-广州-深圳               
免费咨询热线:800-820-0001
网宿科技 --卓越的互联网业务平台提供商
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message