You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Mike Tutkowski <mi...@solidfire.com> on 2013/08/20 04:35:31 UTC

Agent State missing or Disconnected for SSVM

Hi,

Can anyone tell me why SSVM would show up with a missing (a dash shown) or
a Disconnected Agent State?

I'm running in 4.2 (updated this morning). I figured I would try destroying
SSVM and seeing what happened. Instead of being in the Disconnected State,
its state is now missing (just a dash is shown).

Does anyone know what this happens? In this state, I'm not able to upload
an ISO, which is how I noticed the problem.

Thanks!

-- 
*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>
*™*

Re: Agent State missing or Disconnected for SSVM

Posted by Mike Tutkowski <mi...@solidfire.com>.
Thanks


On Wed, Aug 21, 2013 at 6:41 PM, Sheng Yang <sh...@yasker.org> wrote:

> I just got the same error, then found it's due to:
>
> 2013-08-22 00:20:14,759 ERROR [cloud.agent.AgentShell] (main:null) Unable
> to start agent: Resource class not found:
> com.cloud.storage.resource.PremiumSecondaryStorageResource due to:
> java.lang.ClassNotFoundException:
> com.cloud.storage.resource.PremiumSecondaryStorageResource
>
> of SSVM agent.
>
> Edison recently change the build of ISO. Rebuild the systemvm.iso with
> -Dnonoss solve the issue.
>
> mvn -P systemvm -Dnonoss
>
> --Sheng
>
>
> On Mon, Aug 19, 2013 at 7:39 PM, Mike Tutkowski <
> mike.tutkowski@solidfire.com> wrote:
>
> > These are some of the print outs I'm seeing in the console (I'm not sure
> > what the msg about i-3-6-VM means either because it shows up just fine in
> > the GUI and looks like it's running fine in vSphere Client):
> >
> > INFO  [cloud.secstorage.PremiumSecondaryStorageManagerImpl]
> (secstorage-1:)
> > No running secondary storage vms found in datacenter id=1, starting one
> > INFO  [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:) No
> > stopped secondary storage vm is available, need to allocate a new
> secondary
> > storage vm
> > INFO  [vmware.mo.HostMO] (DirectAgent-36:172.16.140.4) VM i-3-6-VM not
> > found in host cache
> > INFO  [storage.endpoint.DefaultEndPointSelector] (StatsCollector-3:) No
> > running ssvm is found, so command will be sent to LocalHostEndPoint
> > INFO  [vmware.mo.HostMO] (DirectAgent-56:172.16.140.4) VM i-3-6-VM not
> > found in host cache
> > INFO  [storage.endpoint.DefaultEndPointSelector] (StatsCollector-2:) No
> > running ssvm is found, so command will be sent to LocalHostEndPoint
> > INFO  [vmware.mo.HostMO] (DirectAgent-4:172.16.140.4) VM i-3-6-VM not
> found
> > in host cache
> > INFO  [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:)
> > Secondary storage vm s-8-VM is started
> > INFO  [cloud.secstorage.PremiumSecondaryStorageManagerImpl]
> (secstorage-1:)
> > Primary secondary storage is not even started, wait until next turn
> > INFO  [storage.endpoint.DefaultEndPointSelector] (StatsCollector-2:) No
> > running ssvm is found, so command will be sent to LocalHostEndPoint
> > INFO  [vmware.mo.HostMO] (DirectAgent-9:172.16.140.4) VM i-3-6-VM not
> found
> > in host cache
> > INFO  [storage.endpoint.DefaultEndPointSelector] (StatsCollector-1:) No
> > running ssvm is found, so command will be sent to LocalHostEndPoint
> > INFO  [vmware.mo.HostMO] (DirectAgent-74:172.16.140.4) VM i-3-6-VM not
> > found in host cache
> >
> > WARN  [storage.resource.LocalNfsSecondaryStorageResource]
> > (pool-2-thread-1:) Unable to mount 172.16.140.5:/export/secondary due to
> > INFO  [storage.endpoint.DefaultEndPointSelector] (StatsCollector-2:) No
> > running ssvm is found, so command will be sent to LocalHostEndPoint
> > INFO  [vmware.mo.HostMO] (DirectAgent-36:172.16.140.4) VM i-3-6-VM not
> > found in host cache
> > INFO  [storage.endpoint.DefaultEndPointSelector] (StatsCollector-2:) No
> > running ssvm is found, so command will be sent to LocalHostEndPoint
> > INFO  [vmware.mo.HostMO] (DirectAgent-75:172.16.140.4) VM i-3-6-VM not
> > found in host cache
> > INFO  [storage.endpoint.DefaultEndPointSelector] (StatsCollector-1:) No
> > running ssvm is found, so command will be sent to LocalHostEndPoint
> > INFO  [vmware.mo.HostMO] (DirectAgent-54:172.16.140.4) VM i-3-6-VM not
> > found in host cache
> > INFO  [storage.endpoint.DefaultEndPointSelector] (StatsCollector-3:) No
> > running ssvm is found, so command will be sent to LocalHostEndPoint
> > INFO  [vmware.mo.HostMO] (DirectAgent-81:172.16.140.4) VM i-3-6-VM not
> > found in host cache
> > INFO  [storage.endpoint.DefaultEndPointSelector] (StatsCollector-3:) No
> > running ssvm is found, so command will be sent to LocalHostEndPoint
> > INFO  [vmware.mo.HostMO] (DirectAgent-27:172.16.140.4) VM i-3-6-VM not
> > found in host cache
> > INFO  [storage.endpoint.DefaultEndPointSelector] (StatsCollector-1:) No
> > running ssvm is found, so command will be sent to LocalHostEndPoint
> >
> >
> > On Mon, Aug 19, 2013 at 8:35 PM, Mike Tutkowski <
> > mike.tutkowski@solidfire.com> wrote:
> >
> > > Hi,
> > >
> > > Can anyone tell me why SSVM would show up with a missing (a dash shown)
> > or
> > > a Disconnected Agent State?
> > >
> > > I'm running in 4.2 (updated this morning). I figured I would try
> > > destroying SSVM and seeing what happened. Instead of being in the
> > > Disconnected State, its state is now missing (just a dash is shown).
> > >
> > > Does anyone know what this happens? In this state, I'm not able to
> upload
> > > an ISO, which is how I noticed the problem.
> > >
> > > Thanks!
> > >
> > > --
> > > *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>
> > *™*
> >
>



-- 
*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>
*™*

Re: Agent State missing or Disconnected for SSVM

Posted by Sheng Yang <sh...@yasker.org>.
I just got the same error, then found it's due to:

2013-08-22 00:20:14,759 ERROR [cloud.agent.AgentShell] (main:null) Unable
to start agent: Resource class not found:
com.cloud.storage.resource.PremiumSecondaryStorageResource due to:
java.lang.ClassNotFoundException:
com.cloud.storage.resource.PremiumSecondaryStorageResource

of SSVM agent.

Edison recently change the build of ISO. Rebuild the systemvm.iso with
-Dnonoss solve the issue.

mvn -P systemvm -Dnonoss

--Sheng


On Mon, Aug 19, 2013 at 7:39 PM, Mike Tutkowski <
mike.tutkowski@solidfire.com> wrote:

> These are some of the print outs I'm seeing in the console (I'm not sure
> what the msg about i-3-6-VM means either because it shows up just fine in
> the GUI and looks like it's running fine in vSphere Client):
>
> INFO  [cloud.secstorage.PremiumSecondaryStorageManagerImpl] (secstorage-1:)
> No running secondary storage vms found in datacenter id=1, starting one
> INFO  [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:) No
> stopped secondary storage vm is available, need to allocate a new secondary
> storage vm
> INFO  [vmware.mo.HostMO] (DirectAgent-36:172.16.140.4) VM i-3-6-VM not
> found in host cache
> INFO  [storage.endpoint.DefaultEndPointSelector] (StatsCollector-3:) No
> running ssvm is found, so command will be sent to LocalHostEndPoint
> INFO  [vmware.mo.HostMO] (DirectAgent-56:172.16.140.4) VM i-3-6-VM not
> found in host cache
> INFO  [storage.endpoint.DefaultEndPointSelector] (StatsCollector-2:) No
> running ssvm is found, so command will be sent to LocalHostEndPoint
> INFO  [vmware.mo.HostMO] (DirectAgent-4:172.16.140.4) VM i-3-6-VM not found
> in host cache
> INFO  [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:)
> Secondary storage vm s-8-VM is started
> INFO  [cloud.secstorage.PremiumSecondaryStorageManagerImpl] (secstorage-1:)
> Primary secondary storage is not even started, wait until next turn
> INFO  [storage.endpoint.DefaultEndPointSelector] (StatsCollector-2:) No
> running ssvm is found, so command will be sent to LocalHostEndPoint
> INFO  [vmware.mo.HostMO] (DirectAgent-9:172.16.140.4) VM i-3-6-VM not found
> in host cache
> INFO  [storage.endpoint.DefaultEndPointSelector] (StatsCollector-1:) No
> running ssvm is found, so command will be sent to LocalHostEndPoint
> INFO  [vmware.mo.HostMO] (DirectAgent-74:172.16.140.4) VM i-3-6-VM not
> found in host cache
>
> WARN  [storage.resource.LocalNfsSecondaryStorageResource]
> (pool-2-thread-1:) Unable to mount 172.16.140.5:/export/secondary due to
> INFO  [storage.endpoint.DefaultEndPointSelector] (StatsCollector-2:) No
> running ssvm is found, so command will be sent to LocalHostEndPoint
> INFO  [vmware.mo.HostMO] (DirectAgent-36:172.16.140.4) VM i-3-6-VM not
> found in host cache
> INFO  [storage.endpoint.DefaultEndPointSelector] (StatsCollector-2:) No
> running ssvm is found, so command will be sent to LocalHostEndPoint
> INFO  [vmware.mo.HostMO] (DirectAgent-75:172.16.140.4) VM i-3-6-VM not
> found in host cache
> INFO  [storage.endpoint.DefaultEndPointSelector] (StatsCollector-1:) No
> running ssvm is found, so command will be sent to LocalHostEndPoint
> INFO  [vmware.mo.HostMO] (DirectAgent-54:172.16.140.4) VM i-3-6-VM not
> found in host cache
> INFO  [storage.endpoint.DefaultEndPointSelector] (StatsCollector-3:) No
> running ssvm is found, so command will be sent to LocalHostEndPoint
> INFO  [vmware.mo.HostMO] (DirectAgent-81:172.16.140.4) VM i-3-6-VM not
> found in host cache
> INFO  [storage.endpoint.DefaultEndPointSelector] (StatsCollector-3:) No
> running ssvm is found, so command will be sent to LocalHostEndPoint
> INFO  [vmware.mo.HostMO] (DirectAgent-27:172.16.140.4) VM i-3-6-VM not
> found in host cache
> INFO  [storage.endpoint.DefaultEndPointSelector] (StatsCollector-1:) No
> running ssvm is found, so command will be sent to LocalHostEndPoint
>
>
> On Mon, Aug 19, 2013 at 8:35 PM, Mike Tutkowski <
> mike.tutkowski@solidfire.com> wrote:
>
> > Hi,
> >
> > Can anyone tell me why SSVM would show up with a missing (a dash shown)
> or
> > a Disconnected Agent State?
> >
> > I'm running in 4.2 (updated this morning). I figured I would try
> > destroying SSVM and seeing what happened. Instead of being in the
> > Disconnected State, its state is now missing (just a dash is shown).
> >
> > Does anyone know what this happens? In this state, I'm not able to upload
> > an ISO, which is how I noticed the problem.
> >
> > Thanks!
> >
> > --
> > *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>
> *™*
>

Re: Agent State missing or Disconnected for SSVM

Posted by Mike Tutkowski <mi...@solidfire.com>.
These are some of the print outs I'm seeing in the console (I'm not sure
what the msg about i-3-6-VM means either because it shows up just fine in
the GUI and looks like it's running fine in vSphere Client):

INFO  [cloud.secstorage.PremiumSecondaryStorageManagerImpl] (secstorage-1:)
No running secondary storage vms found in datacenter id=1, starting one
INFO  [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:) No
stopped secondary storage vm is available, need to allocate a new secondary
storage vm
INFO  [vmware.mo.HostMO] (DirectAgent-36:172.16.140.4) VM i-3-6-VM not
found in host cache
INFO  [storage.endpoint.DefaultEndPointSelector] (StatsCollector-3:) No
running ssvm is found, so command will be sent to LocalHostEndPoint
INFO  [vmware.mo.HostMO] (DirectAgent-56:172.16.140.4) VM i-3-6-VM not
found in host cache
INFO  [storage.endpoint.DefaultEndPointSelector] (StatsCollector-2:) No
running ssvm is found, so command will be sent to LocalHostEndPoint
INFO  [vmware.mo.HostMO] (DirectAgent-4:172.16.140.4) VM i-3-6-VM not found
in host cache
INFO  [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:)
Secondary storage vm s-8-VM is started
INFO  [cloud.secstorage.PremiumSecondaryStorageManagerImpl] (secstorage-1:)
Primary secondary storage is not even started, wait until next turn
INFO  [storage.endpoint.DefaultEndPointSelector] (StatsCollector-2:) No
running ssvm is found, so command will be sent to LocalHostEndPoint
INFO  [vmware.mo.HostMO] (DirectAgent-9:172.16.140.4) VM i-3-6-VM not found
in host cache
INFO  [storage.endpoint.DefaultEndPointSelector] (StatsCollector-1:) No
running ssvm is found, so command will be sent to LocalHostEndPoint
INFO  [vmware.mo.HostMO] (DirectAgent-74:172.16.140.4) VM i-3-6-VM not
found in host cache

WARN  [storage.resource.LocalNfsSecondaryStorageResource]
(pool-2-thread-1:) Unable to mount 172.16.140.5:/export/secondary due to
INFO  [storage.endpoint.DefaultEndPointSelector] (StatsCollector-2:) No
running ssvm is found, so command will be sent to LocalHostEndPoint
INFO  [vmware.mo.HostMO] (DirectAgent-36:172.16.140.4) VM i-3-6-VM not
found in host cache
INFO  [storage.endpoint.DefaultEndPointSelector] (StatsCollector-2:) No
running ssvm is found, so command will be sent to LocalHostEndPoint
INFO  [vmware.mo.HostMO] (DirectAgent-75:172.16.140.4) VM i-3-6-VM not
found in host cache
INFO  [storage.endpoint.DefaultEndPointSelector] (StatsCollector-1:) No
running ssvm is found, so command will be sent to LocalHostEndPoint
INFO  [vmware.mo.HostMO] (DirectAgent-54:172.16.140.4) VM i-3-6-VM not
found in host cache
INFO  [storage.endpoint.DefaultEndPointSelector] (StatsCollector-3:) No
running ssvm is found, so command will be sent to LocalHostEndPoint
INFO  [vmware.mo.HostMO] (DirectAgent-81:172.16.140.4) VM i-3-6-VM not
found in host cache
INFO  [storage.endpoint.DefaultEndPointSelector] (StatsCollector-3:) No
running ssvm is found, so command will be sent to LocalHostEndPoint
INFO  [vmware.mo.HostMO] (DirectAgent-27:172.16.140.4) VM i-3-6-VM not
found in host cache
INFO  [storage.endpoint.DefaultEndPointSelector] (StatsCollector-1:) No
running ssvm is found, so command will be sent to LocalHostEndPoint


On Mon, Aug 19, 2013 at 8:35 PM, Mike Tutkowski <
mike.tutkowski@solidfire.com> wrote:

> Hi,
>
> Can anyone tell me why SSVM would show up with a missing (a dash shown) or
> a Disconnected Agent State?
>
> I'm running in 4.2 (updated this morning). I figured I would try
> destroying SSVM and seeing what happened. Instead of being in the
> Disconnected State, its state is now missing (just a dash is shown).
>
> Does anyone know what this happens? In this state, I'm not able to upload
> an ISO, which is how I noticed the problem.
>
> Thanks!
>
> --
> *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>
*™*