cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wei ZHOU <ustcweiz...@gmail.com>
Subject Re: management/catalina.out Received unknown parameters for command listHosts. Unknown parameters : listall
Date Wed, 28 Jan 2015 10:51:50 GMT
1.看management-server.log
2. /etc/cloudstack/management/log4j-cloud.xml里面默认的log
level是INFO,s/INFO/DEBUG/g 改成DEBUG.

2015-01-28 3:24 GMT+01:00 lovegqin@126.com <lovegqin@126.com>:

>
> 一直收到这样的log不知为何?
>
>
> tail -f /var/log/cloudstack/management/catalina.out
> WARN [c.c.a.d.ParamGenericValidationWorker] (catalina-exec-6:ctx-95f69cca
> ctx-7e324e09) Received unknown parameters for command listHosts. Unknown
> parameters : listall
> WARN [c.c.a.d.ParamGenericValidationWorker] (catalina-exec-21:ctx-c55c9ee8
> ctx-ab8c5580) Received unknown parameters for command listStoragePools.
> Unknown parameters : listall
> WARN [c.c.a.d.ParamGenericValidationWorker] (catalina-exec-20:ctx-73cee05e
> ctx-033ced8b) Received unknown parameters for command listImageStores.
> Unknown parameters : listall type
> WARN [c.c.a.d.ParamGenericValidationWorker] (catalina-exec-4:ctx-f158dddd
> ctx-636cf349) Received unknown parameters for command listSystemVms.
> Unknown parameters : listall
> WARN [c.c.a.d.ParamGenericValidationWorker] (catalina-exec-1:ctx-c8fbff53
> ctx-d069b105) Received unknown parameters for command listHosts. Unknown
> parameters : listall
> WARN [c.c.a.d.ParamGenericValidationWorker] (catalina-exec-14:ctx-40914d94
> ctx-c52ed9e9) Received unknown parameters for command listZones. Unknown
> parameters : listall
> WARN [c.c.a.d.ParamGenericValidationWorker] (catalina-exec-22:ctx-94c74fc1
> ctx-66cb2aee) Received unknown parameters for command addHost. Unknown
> parameters : clustertype
>
>
>
> lovegqin@126.com
>
> 发件人: Peration
> 发送时间: 2015-01-28 09:41
> 收件人: users-cn
> 主题: 回复:答复: 调整卷大小失败,缩小卷大小 提示 Failed to resize
volume
> 我是调整data卷的大小‍
>
>
>
>
> ------------------ 原始邮件 ------------------
> 发件人: "Star Guo";<starg@ceph.me>;
> 发送时间: 2015年1月28日(星期三) 上午8:42
> 收件人: "users-cn"<users-cn@cloudstack.apache.org>;
>
> 主题: 答复: 调整卷大小失败,缩小卷大小 提示 Failed to resize volume
>
>
>
> Can not resie root disk.
>
> Best Regards,
> Star Guo
>
> -----邮件原件-----
> 发件人: Peration [mailto:575366167@qq.com]
> 发送时间: 2015年1月27日 9:07
> 收件人: users-cn
> 主题: 调整卷大小失败,缩小卷大小 提示 Failed to resize volume
>
> 调整卷大小失败,缩小卷大小 提示 Failed to resize volume‍
>
>
> 2015-01-27 08:52:22,745 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> (catalina-exec-10:ctx-29557584 ctx-627f0aaf) submit async job-136, details:
> AsyncJobVO {id:136, userId: 2, accountId: 2, instanceType: Volume,
> instanceId: null, cmd:
> org.apache.cloudstack.api.command.user.volume.ResizeVolumeCmd, cmdInfo:
> {"id":"f59ea020-f2c5-4298-9fe1-423309491572","response":"json","sessionkey":"GWJFo5AhFePwOQTzbWN0Ve1XTFg\u003d","shrinkok":"true","cmdEventType":"VOLUME.RESIZE","ctxUserId":"2","httpmethod":"GET","_":"1422319924146","ctxAccountId":"2","diskofferingid":"786fc68f-e14c-42dc-a931-f6b2d5bed62a","ctxStartEventId":"285"},
> cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0,
> result: null, initMsid: 271133592152661, completeMsid: null, lastUpdated:
> null, lastPolled: null, created: null}
> 2015-01-27 08:52:22,747 INFO  [o.a.c.f.j.i.AsyncJobMonitor]
> (Job-Executor-1:ctx-8420fd25) Add job-136 into job monitoring
> 2015-01-27 08:52:22,747 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> (Job-Executor-1:ctx-8420fd25) Executing AsyncJobVO {id:136, userId: 2,
> accountId: 2, instanceType: Volume, instanceId: null, cmd:
> org.apache.cloudstack.api.command.user.volume.ResizeVolumeCmd, cmdInfo:
> {"id":"f59ea020-f2c5-4298-9fe1-423309491572","response":"json","sessionkey":"GWJFo5AhFePwOQTzbWN0Ve1XTFg\u003d","shrinkok":"true","cmdEventType":"VOLUME.RESIZE","ctxUserId":"2","httpmethod":"GET","_":"1422319924146","ctxAccountId":"2","diskofferingid":"786fc68f-e14c-42dc-a931-f6b2d5bed62a","ctxStartEventId":"285"},
> cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0,
> result: null, initMsid: 271133592152661, completeMsid: null, lastUpdated:
> null, lastPolled: null, created: null}
> 2015-01-27 08:52:22,752 DEBUG [c.c.a.ApiServlet]
> (catalina-exec-10:ctx-29557584 ctx-627f0aaf) ===END===  192.168.121.1 --
> GET
> command=resizeVolume&id=f59ea020-f2c5-4298-9fe1-423309491572&shrinkok=true&diskofferingid=786fc68f-e14c-42dc-a931-f6b2d5bed62a&response=json&sessionkey=GWJFo5AhFePwOQTzbWN0Ve1XTFg%3D&_=1422319924146
> 2015-01-27 08:52:22,831 DEBUG [c.c.a.t.Request]
> (Job-Executor-1:ctx-8420fd25 ctx-627f0aaf) Seq 1-1245446166: Sending  { Cmd
> , MgmtId: 271133592152661, via: 1(cloudstack.cloud.priv), Ver: v1, Flags:
> 100011,
> [{"com.cloud.agent.api.storage.ResizeVolumeCommand":{"path":"f59ea020-f2c5-4298-9fe1-423309491572","pool":{"id":1,"uuid":"933404b7-c735-44aa-a374-6bc61ea206fd","host":"192.168.121.3","path":"/var/lib/libvirt/images","port":0,"type":"Filesystem"},"vmInstance":"i-2-133-VM","newSize":1073741824,"currentSize":3221225472,"shrinkOk":true,"wait":0}}]
> }
> 2015-01-27 08:52:22,858 DEBUG [c.c.a.t.Request]
> (AgentManager-Handler-9:null) Seq 1-1245446166: Processing:  { Ans: ,
> MgmtId: 271133592152661, via: 1, Ver: v1, Flags: 10,
> [{"com.cloud.agent.api.storage.ResizeVolumeAnswer":{"newSize":0,"result":false,"details":"Unable
> to shrink volumes of type QCOW2","wait":0}}] }
> 2015-01-27 08:52:22,858 DEBUG [c.c.a.t.Request]
> (Job-Executor-1:ctx-8420fd25 ctx-627f0aaf) Seq 1-1245446166: Received:  {
> Ans: , MgmtId: 271133592152661, via: 1, Ver: v1, Flags: 10, {
> ResizeVolumeAnswer } }
> 2015-01-27 08:52:22,868 WARN  [o.a.c.s.d.ObjectInDataStoreManagerImpl]
> (Job-Executor-1:ctx-8420fd25 ctx-627f0aaf) Unsupported data object (VOLUME,
> org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@4d3d9207),
> no need to delete from object in store ref table
> 2015-01-27 08:52:22,868 WARN  [c.c.s.VolumeApiServiceImpl]
> (Job-Executor-1:ctx-8420fd25 ctx-627f0aaf) Failed to resize the volume
> Vol[133|vm=133|DATADISK]
> 2015-01-27 08:52:22,879 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> (Job-Executor-1:ctx-8420fd25) Complete async job-136, jobStatus: FAILED,
> resultCode: 530, result:
> org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Failed
> to resize volume"}
> 2015-01-27 08:52:22,903 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> (Job-Executor-1:ctx-8420fd25) Done executing
> org.apache.cloudstack.api.command.user.volume.ResizeVolumeCmd for job-136‍
>
> ‍
>

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