cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kirk Kosinski <kirkkosin...@gmail.com>
Subject Re: Using Vcenter to hypervisor,how to added Cloudstack4.0
Date Thu, 18 Jul 2013 03:15:07 GMT
Right, the "Unable to setup custom field facility" error likely
indicates a permissions issue.  In vCenter, make sure the user has full
administrator rights at the vCenter server level and below.  Having
admin rights for the datacenter or cluster level is not enough.

Best regards,
Kirk

On 07/17/2013 07:41 PM, Musayev, Ilya wrote:
> Jerry
> 
> Does user "yuntest" has sufficient privileges in VC?
> 
> I'd suggest testing this with admin or admin like user.
> 
> Regards
> ilya
> 
>> -----Original Message-----
>> From: Jerry Jiang [mailto:jerry.jiang@sjcloud.cn]
>> Sent: Wednesday, July 17, 2013 10:05 PM
>> To: users@cloudstack.apache.org
>> Subject: Re: Using Vcenter to hypervisor,how to added Cloudstack4.0
>>
>> Hello ahmad,
>>
>> I am working with Bin to figure out how to resolve this issue.
>>
>> I paste the key info from management-server.log here. Hope to get any
>> result.
>>
>> 2013-07-17 18:49:32,071 DEBUG
>> [network.router.VirtualNetworkApplianceManagerImpl]
>> (RouterStatusMonitor-1:null) Found 0 routers.
>> 2013-07-17 18:49:46,743 DEBUG [cloud.server.StatsCollector]
>> (StatsCollector-2:null) VmStatsCollector is running...
>> 2013-07-17 18:49:46,744 DEBUG [cloud.server.StatsCollector]
>> (StatsCollector-1:null) HostStatsCollector is running...
>> 2013-07-17 18:49:46,963 DEBUG [cloud.server.StatsCollector]
>> (StatsCollector-3:null) StorageCollector is running...
>> 2013-07-17 18:49:50,069 DEBUG [cloud.api.ApiServlet] (catalina-exec-8:null)
>> Invalid paramemter in URL found. param: username=
>> 2013-07-17 18:49:50,069 DEBUG [cloud.api.ApiServlet] (catalina-exec-8:null)
>> Invalid paramemter in URL found. param: password=
>> 2013-07-17 18:49:50,092 INFO  [cloud.resource.ResourceManagerImpl]
>> (catalina-exec-8:null) Trying to add a new host at
>> http://10.196.37.1/yuntest/cpic/10.196.28.41 in data center 1
>> 2013-07-17 18:49:50,093 INFO
>> [hypervisor.vmware.VmwareServerDiscoverer]
>> (catalina-exec-8:null) Discover host. dc: 1, pod: 1, cluster: 1, uri host:
>> 10.196.37.1
>> 2013-07-17 18:49:50,102 DEBUG [vmware.resource.VmwareContextFactory]
>> (catalina-exec-8:null) initialize VmwareContext. url:
>> https://10.196.37.1/sdk/vimService, username: yuntest, password:
>> C*******
>> 2013-07-17 18:49:52,763 INFO  [vmware.mo.HypervisorHostHelper]
>> (catalina-exec-8:null) Network cloud.private.untagged.0.1-vSwitch0 is ready
>> on vSwitch vSwitch0
>> 2013-07-17 18:49:54,228 DEBUG [vmware.resource.VmwareContextFactory]
>> (catalina-exec-8:null) initialize VmwareContext. url:
>> https://10.196.37.1/sdk/vimService, username: yuntest, password:
>> C*******
>> 2013-07-17 18:49:56,993 ERROR [vmware.resource.VmwareResource]
>> (catalina-exec-8:null) Unexpected Exception
>> java.lang.Exception: Unable to setup custom field facility for
>> Datastore:cloud.uuid
>> 	at
>> com.cloud.hypervisor.vmware.mo.CustomFieldsManagerMO.ensureCustom
>> FieldDef(Cu
>> stomFieldsManagerMO.java:80)
>> 	at
>> com.cloud.hypervisor.vmware.resource.VmwareResource.configure(Vmwar
>> eResource
>> .java:4723)
>> 	at
>> com.cloud.hypervisor.vmware.VmwareServerDiscoverer.find(VmwareServe
>> rDiscover
>> er.java:225)
>> 	at
>> com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceMan
>> agerImpl
>> .java:687)
>> 	at
>> com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManager
>> Impl.jav
>> a:544)
>> 	at
>> com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:140)
>> 	at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)
>> 	at com.cloud.api.ApiServer.queueCommand(ApiServer.java:543)
>> 	at com.cloud.api.ApiServer.handleRequest(ApiServer.java:422)
>> 	at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:304)
>> 	at com.cloud.api.ApiServlet.doGet(ApiServlet.java:63)
>> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>> 	at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>> FilterChain.java:290)
>> 	at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>> ain.java:206)
>> 	at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
>> alve.ja
>> va:233)
>> 	at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
>> ve.ja
>> va:191)
>> 	at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
>> 127
>> )
>> 	at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1
>> 02
>> )
>> 	at
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
>> 	at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
>> java
>> :109)
>> 	at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
>> 98)
>> 	at
>> org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.j
>> ava:
>> 889)
>> 	at
>> org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.pro
>> cess(H
>> ttp11NioProtocol.java:721)
>> 	at
>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.j
>> ava:
>> 2268)
>> 	at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.jav
>> a:11
>> 10)
>> 	at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
>> va:6
>> 03)
>> 	at java.lang.Thread.run(Thread.java:722)
>> 2013-07-17 18:49:56,996 INFO  [vmware.resource.VmwareResource]
>> (catalina-exec-8:null) VmwareResource network configuration info. private
>> vSwitch: vSwitch0, public vSwitch: vSwitch0, guest network: vSwitch0
>> 2013-07-17 18:49:58,202 INFO  [vmware.resource.VmwareResource]
>> (catalina-exec-8:null) Startup report on host hardware info.
>> {"memoryBytes":274825125888,"cpuCount":256,"cpuSpeed":2099}
>> 2013-07-17 18:49:58,872 INFO  [vmware.resource.VmwareResource]
>> (catalina-exec-8:null) Startup report on host network info.
>> {"hostIp":"10.196.28.41","hostNetmask":"255.255.255.0","hostMacAddress":
>> "28:
>> 92:4a:37:80:a4"}
>> 2013-07-17 18:49:59,551 DEBUG [vmware.resource.VmwareResource]
>> (catalina-exec-8:null) Detecting a new state but couldn't find a old state so
>> adding it to the changes: 10.196.18.34_云平台测试
>> 2013-07-17 18:49:59,552 DEBUG [vmware.resource.VmwareResource]
>> (catalina-exec-8:null) Detecting a new state but couldn't find a old state so
>> adding it to the changes: 10.196.18.32_云平台测试
>> 2013-07-17 18:49:59,552 DEBUG [vmware.resource.VmwareResource]
>> (catalina-exec-8:null) Detecting a new state but couldn't find a old state so
>> adding it to the changes: 10.196.18.33_云平台测试
>> 2013-07-17 18:49:59,552 DEBUG [vmware.resource.VmwareResource]
>> (catalina-exec-8:null) Detecting a new state but couldn't find a old state so
>> adding it to the changes: 10.196.18.31_云平台测试-5u8
>> 2013-07-17 18:49:59,552 DEBUG [vmware.resource.VmwareResource]
>> (catalina-exec-8:null) Detecting a new state but couldn't find a old state so
>> adding it to the changes: 10.196.18.31_云平台测试-6u3重装
>> 2013-07-17 18:50:00,504 ERROR [vmware.resource.VmwareResource]
>> (catalina-exec-8:null) initializing local storage failed due to : Exception:
>> java.lang.Exception
>> Message: Unable to setup custom field facility
>>
>> 2013-07-17 18:50:00,716 WARN  [cloud.resource.ResourceManagerImpl]
>> (catalina-exec-8:null) Unable to connect due to
>> com.cloud.utils.exception.CloudRuntimeException: initializing local storage
>> failed due to : Exception: java.lang.Exception
>> Message: Unable to setup custom field facility
>>
>> 	at
>> com.cloud.hypervisor.vmware.resource.VmwareResource.initializeLocalStor
>> age(V
>> mwareResource.java:4045)
>> 	at
>> com.cloud.hypervisor.vmware.resource.VmwareResource.initialize(Vmware
>> Resourc
>> e.java:3993)
>> 	at
>> com.cloud.resource.ResourceManagerImpl.createHostAndAgent(Resource
>> ManagerImp
>> l.java:1598)
>> 	at
>> com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceMan
>> agerImpl
>> .java:720)
>> 	at
>> com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManager
>> Impl.jav
>> a:544)
>> 	at
>> com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:140)
>> 	at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)
>> 	at com.cloud.api.ApiServer.queueCommand(ApiServer.java:543)
>> 	at com.cloud.api.ApiServer.handleRequest(ApiServer.java:422)
>> 	at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:304)
>> 	at com.cloud.api.ApiServlet.doGet(ApiServlet.java:63)
>> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>> 	at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>> FilterChain.java:290)
>> 	at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>> ain.java:206)
>> 	at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
>> alve.ja
>> va:233)
>> 	at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
>> ve.ja
>> va:191)
>> 	at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
>> 127
>> )
>> 	at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1
>> 02
>> )
>> 	at
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
>> 	at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
>> java
>> :109)
>> 	at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
>> 98)
>> 	at
>> org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.j
>> ava:
>> 889)
>> 	at
>> org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.pro
>> cess(H
>> ttp11NioProtocol.java:721)
>> 	at
>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.j
>> ava:
>> 2268)
>> 	at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.jav
>> a:11
>> 10)
>> 	at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
>> va:6
>> 03)
>> 	at java.lang.Thread.run(Thread.java:722)
>> 2013-07-17 18:50:00,719 INFO  [cloud.resource.ResourceManagerImpl]
>> (catalina-exec-8:null) server resources successfully discovered by
>> VShpereServer
>> 2013-07-17 18:50:00,719 WARN  [cloud.api.ApiDispatcher]
>> (catalina-exec-8:null) class com.cloud.api.ServerApiException : Failed to add
>> host
>> 2013-07-17 18:50:01,466 DEBUG
>> [cloud.consoleproxy.ConsoleProxyManagerImpl]
>> (consoleproxy-1:null) Skip capacity scan due to there is no Primary Storage
>> UPintenance mode
>> 2013-07-17 18:50:02,072 DEBUG
>> [network.router.VirtualNetworkApplianceManagerImpl]
>> (RouterStatusMonitor-1:null) Found 0 routers.
>> 2013-07-17 18:50:31,466 DEBUG
>> [cloud.consoleproxy.ConsoleProxyManagerImpl]
>> (consoleproxy-1:null) Skip capacity scan due to there is no Primary Storage
>> UPintenance mode
>> 2013-07-17 18:50:31,856 DEBUG [storage.snapshot.SnapshotSchedulerImpl]
>> (SnapshotPollTask:null) Snapshot scheduler.poll is being called at
>> 2013-07-17 10:50:31 GMT
>> 2013-07-17 18:50:31,858 DEBUG [storage.snapshot.SnapshotSchedulerImpl]
>> (SnapshotPollTask:null) Got 0 snapshots to be executed at 2013-07-17
>> 10:50:31 GMT
>> 2013-07-17 18:50:31,968 DEBUG
>> [cloud.network.ExternalLoadBalancerUsageManagerImpl]
>> (ExternalNetworkMonitor-1:null) External load balancer devices stats
>> collector is running...
>> 2013-07-17 18:50:32,062 INFO  [cloud.ha.HighAvailabilityManagerImpl]
>> (HA-2:null) checking health of usage server
>> 2013-07-17 18:50:32,064 DEBUG [cloud.ha.HighAvailabilityManagerImpl]
>> (HA-2:null) usage server running? false, heartbeat: null
>> 2013-07-17 18:50:32,067 DEBUG [cloud.alert.AlertManagerImpl] (HA-2:null)
>> Have already sent: 1 emails for alert type '12' -- skipping send email
>> 2013-07-17 18:50:32,068 DEBUG
>> [network.router.VirtualNetworkApplianceManagerImpl] (RouterMonitor-
>> 1:null) Found 0 running routers.
>> 2013-07-17 18:50:32,071 DEBUG
>> [network.router.VirtualNetworkApplianceManagerImpl]
>> (RouterStatusMonitor-1:null) Found 0 routers.
>> 2013-07-17 18:50:46,746 DEBUG [cloud.server.StatsCollector]
>> (StatsCollector-2:null) VmStatsCollector is running...
>> 2013-07-17 18:50:46,747 DEBUG [cloud.server.StatsCollector]
>> (StatsCollector-1:null) HostStatsCollector is running...
>> 2013-07-17 18:50:46,968 DEBUG [cloud.server.StatsCollector]
>> (StatsCollector-3:null) StorageCollector is running...
>> 2013-07-17 18:51:01,466 DEBUG
>> [cloud.consoleproxy.ConsoleProxyManagerImpl]
>> (consoleproxy-1:null) Skip capacity scan due to there is no Primary Storage
>> UPintenance mode
>>
>>
>> Thanks
>> Jerry Jiang
>>
>>
>> -----邮件原件-----
>> 发件人: 刘彬 [mailto:heidsoftg@gmail.com]
>> 发送时间: 2013年7月17日 星期三 22:45
>> 收件人: users@cloudstack.apache.org
>> 主题: Re: Using Vcenter to hypervisor,how to added Cloudstack4.0
>>
>> sorry ,I am in home! not at company, thanks
>>
>>
>> 2013/7/17 Ahmad Emneina <aemneina@gmail.com>
>>
>>> Paste your management-server log into that, then share the link. That
>>> way we can analyze further. Hopefully finding the root cause to your
>> issue.
>>>
>>> Ahmad
>>>
>>> On Jul 17, 2013, at 7:08 AM, 刘彬 <heidsoftg@gmail.com> wrote:
>>>
>>>> What to do with the site?
>>>>
>>>>
>>>> 2013/7/17 Ahmad Emneina <aemneina@gmail.com>
>>>>
>>>>> Can you post the full management-server.log file to a site like
>>>>> pastebin.com?
>>>>>
>>>>> Ahmad
>>>>>
>>>>> On Jul 17, 2013, at 7:01 AM, 刘彬 <heidsoftg@gmail.com> wrote:
>>>>>
>>>>>> Hello all
>>>>>>
>>>>>> Now I would like to deploy CS for production.
>>>>>>
>>>>>> - using vmware as hypervisor
>>>>>> - using SAN as vmware storage and will be primary storage for CS
>>>>>> - using a NFS server as secondary storage
>>>>>>
>>>>>> When I deploy it, the following error occurs
>>>>>>
>>>>>>
>>>>>> com.cloud.utils.exception.CloudRuntimeException: initializing
>>>>>> local storage failed due to : Exception: java.lang.Exception
>>>>>> Message: Unable to setup custom field facility
>>>>>>
>>>>>> at
>>>>>
>>>
>> com.cloud.hypervisor.vmware.resource.VmwareResource.initializeLocalSto
>>> rage(VmwareResource.java:4045)
>>>>>> at
>>>>>
>>>
>> com.cloud.hypervisor.vmware.resource.VmwareResource.initialize(Vmware
>> R
>>> esource.java:3993)
>>>>>> at
>>>>>
>>>
>> com.cloud.resource.ResourceManagerImpl.createHostAndAgent(Resource
>> Mana
>>> gerImpl.java:1598)
>>>>>> at
>>>>>
>>>
>> com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceMan
>> ag
>>> erImpl.java:720)
>>>>>> at
>>>>>
>>>
>> com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManager
>> Im
>>> pl.java:544)
>>>>>> at
>> com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:140)
>>>>>> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)
>>>>>> at com.cloud.api.ApiServer.queueCommand(ApiServer.java:543)
>>>>>>
>>>>>>
>>>>>>
>>>>>> I do not know how to solve, thanks fro all!
>>>>>
>>>
>>
> 


Mime
View raw message