cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Tutkowski <mike.tutkow...@solidfire.com>
Subject Re: [VMWARE SETUP ERROR] Error seeing in brining up System VMs with Vmware setup with CS server
Date Fri, 19 Sep 2014 00:06:10 GMT
If I revert 8bb4022f3729154f85036c4a7f55e2de783e4909, it seems to go back
to working.

I think the problem is the code should use this method to get the datastore
object and then ask the datastore object for its name:

HypervisorHostHelper.findDatastoreWithBackwardsCompatibility

On Thu, Sep 18, 2014 at 5:36 PM, Mike Tutkowski <
mike.tutkowski@solidfire.com> wrote:

> I agree with Ilya. This commit seems to be a likely candidate for this
> issue:
>
> 8bb4022f3729154f85036c4a7f55e2de783e4909
>
> In this commit dsName is added and assigned to the UUID of the applicable
> primary storage (minus any hyphens in the UUID).
>
> I don't think this will match the name of a datastore in this case.
>
> On Tue, Sep 16, 2014 at 6:32 PM, ilya musayev <ilya.musayev@gmail.com>
> wrote:
>
>> ++ Likitha Shetty
>>
>> Ritu,
>>
>> Please confirm that you've are running latest/synced master branch?
>>
>> I've noticed a commit by Likitha that may be relevant:
>>
>> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=
>> 8bb4022f3729154f85036c4a7f55e2de783e4909
>>
>> Regards
>> ilya
>>
>> On 9/16/14, 4:22 PM, Ritu Sabharwal wrote:
>>
>>>
>>> Hi Sateesh, Koushik,
>>>
>>> I am setting up Vmware Cluster with CS (master) and seeing errors. ilya
>>> was helping me for this setup and figured out this error.
>>>
>>> The System VMs(Secondary Stogare VM and Console Proxy VM) are not coming
>>> up properly. The system vms are reconfiguring and destroying again and
>>> again in cycle.
>>>
>>> I have used Vmware Vsphere 5.1 SDK for building CS.
>>>
>>> The error logs give this error:
>>>
>>> 2014-09-16 16:11:01,619 WARN  [c.c.h.v.r.VmwareResource]
>>> (DirectAgent-8:ctx-8909215e 10.24.41.149, job-54/job-68, cmd: StartCommand)
>>> StartCommand failed due to Exception: java.lang.NullPointerException
>>>
>>> Message: null
>>>
>>> java.lang.NullPointerException
>>>
>>>         at com.cloud.hypervisor.vmware.resource.VmwareResource.
>>> postDiskConfigBeforeStart(VmwareResource.java:2094)
>>>
>>>         at com.cloud.hypervisor.vmware.resource.VmwareResource.
>>> execute(VmwareResource.java:1685)
>>>
>>>         at com.cloud.hypervisor.vmware.resource.VmwareResource.
>>> executeRequest(VmwareResource.java:448)
>>>
>>>         at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(
>>> DirectAgentAttache.java:294)
>>>
>>>         at org.apache.cloudstack.managed.context.
>>> ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
>>>
>>>         at org.apache.cloudstack.managed.context.impl.
>>> DefaultManagedContext$1.call(DefaultManagedContext.java:56)
>>>
>>>         at org.apache.cloudstack.managed.context.impl.
>>> DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
>>>
>>>         at org.apache.cloudstack.managed.context.impl.
>>> DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
>>>
>>>         at org.apache.cloudstack.managed.context.
>>> ManagedContextRunnable.run(ManagedContextRunnable.java:46)
>>>
>>>         at java.util.concurrent.Executors$RunnableAdapter.
>>> call(Executors.java:471)
>>>
>>>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>>>
>>>         at java.util.concurrent.ScheduledThreadPoolExecutor$
>>> ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
>>>
>>>         at java.util.concurrent.ScheduledThreadPoolExecutor$
>>> ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
>>>
>>>         at java.util.concurrent.ThreadPoolExecutor.runWorker(
>>> ThreadPoolExecutor.java:1145)
>>>
>>>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(
>>> ThreadPoolExecutor.java:615)
>>>
>>>         at java.lang.Thread.run(Thread.java:744)
>>>
>>> Please help to resolve this issue.
>>>
>>> Thanks & Regards,
>>>
>>> Ritu S.
>>>
>>>
>>
>
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkowski@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the cloud
> <http://solidfire.com/solution/overview/?video=play>*™*
>



-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkowski@solidfire.com
o: 303.746.7302
Advancing the way the world uses the cloud
<http://solidfire.com/solution/overview/?video=play>*™*

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