You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Gokan Atmaca <li...@gmail.com> on 2016/12/27 22:16:05 UTC

Secondary storage problem

Hello there

I get an error like below in the test environment.

2016-12-28 01:14:12,979 DEBUG [c.c.s.StatsCollector]
(StatsCollector-6:ctx-ab0613b5) (logid:bf06a0ab) There is no secondary
storage VM for secondary storage host nfs

NFS is working properly. I can connect it directly to the system. For
example: "mount -t nfs 192.168.1.28:/export/secondary /mnt/test" But
the system does not see it.

What could be the reason?

Thanks...

Re: Secondary storage problem

Posted by Simon Weller <sw...@ena.com>.
Gokan,


Have you seeded secondary storage with the correct hypervisor template according to the installation instructions?

Does the secondary storage VM show as running in the GUI under infrastructure?


If you have seeded secondary storage and the SSVM appears to be running, there's a good troubleshooting guide available here: https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Secondary+storage+troubleshooting


- Si



________________________________
From: Gokan Atmaca <li...@gmail.com>
Sent: Tuesday, December 27, 2016 4:16 PM
To: users@cloudstack.apache.org
Subject: Secondary storage problem

Hello there

I get an error like below in the test environment.

2016-12-28 01:14:12,979 DEBUG [c.c.s.StatsCollector]
(StatsCollector-6:ctx-ab0613b5) (logid:bf06a0ab) There is no secondary
storage VM for secondary storage host nfs

NFS is working properly. I can connect it directly to the system. For
example: "mount -t nfs 192.168.1.28:/export/secondary /mnt/test" But
the system does not see it.

What could be the reason?

Thanks...

AW: Secondary storage problem

Posted by Skale Franz <fr...@citycom-austria.com>.
Hi,
i think you hit the bug i found in the ssvm (routing).
Read my thread and check your routing table.
Do you have an erroneous hostroute to the public IP of the cloudstack host when the ssvm has a public interface directly connected ?
Read my post: (Perhaps it solves your problem)
http://mail-archives.apache.org/mod_mbox/cloudstack-users/201612.mbox/%3C1482145223160.30359%40citycom-austria.com%3E

Rgds.

Franz

________________________________________
Von: Dag Sonstebo <Da...@shapeblue.com>
Gesendet: Mittwoch, 28. Dezember 2016 12:29
An: users@cloudstack.apache.org
Betreff: Re: Secondary storage problem

Hi Gokan,

The first step you should probably try is to restart your management service, then destroy the SSVM and let CloudStack recreate this. This should hopefully get it up in “running” state.

There is however a good chance you have some other networking problem – the fact that your CPVM is showing as running but in a disconnected state possibly points to the system VMs not being able to speak back to your management server.

Regards,
Dag Sonstebo
Cloud Architect
ShapeBlue

On 27/12/2016, 22:49, "Sam Ceylani" <sa...@mistercertified.com> wrote:

    ok seeding seems to be ok since console vm reported as running (cant tell for sure, I am just guessing) I think it is best to logon to your hypervisor machine and check the status for your vm and take a look at your vm console, what is your hypervisor? what kind of setup you have?

    Get Outlook for iOS<https://aka.ms/o0ukef>




    On Tue, Dec 27, 2016 at 5:41 PM -0500, "Gokan Atmaca" <li...@gmail.com>> wrote:


    Hello

    I see the system VM in the interface. But as you can see in the
    picture below, S-1-VM can not start. (Agent not connected)

    https://postimg.org/image/jepynl98d/
    https://postimg.org/image/j4tgis4rb/

    Thanks...

    On Wed, Dec 28, 2016 at 12:20 AM, Sam Ceylani  wrote:
    > Go to infrastructure tab and click on system vms, take a look at vm state and agent state for ssvm (secondary storage vm, s-57-VM etc.), send this information, lets see...
    >
    > Get Outlook for iOS
    >
    >
    >
    >
    > On Tue, Dec 27, 2016 at 5:16 PM -0500, "Gokan Atmaca" > wrote:
    >
    >
    > Hello there
    >
    > I get an error like below in the test environment.
    >
    > 2016-12-28 01:14:12,979 DEBUG [c.c.s.StatsCollector]
    > (StatsCollector-6:ctx-ab0613b5) (logid:bf06a0ab) There is no secondary
    > storage VM for secondary storage host nfs
    >
    > NFS is working properly. I can connect it directly to the system. For
    > example: "mount -t nfs 192.168.1.28:/export/secondary /mnt/test" But
    > the system does not see it.
    >
    > What could be the reason?
    >
    > Thanks...
    >




Dag.Sonstebo@shapeblue.com
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue




Re: Secondary storage problem

Posted by Dag Sonstebo <Da...@shapeblue.com>.
Hi Gokan,

The first step you should probably try is to restart your management service, then destroy the SSVM and let CloudStack recreate this. This should hopefully get it up in “running” state.

There is however a good chance you have some other networking problem – the fact that your CPVM is showing as running but in a disconnected state possibly points to the system VMs not being able to speak back to your management server.

Regards,
Dag Sonstebo
Cloud Architect
ShapeBlue

On 27/12/2016, 22:49, "Sam Ceylani" <sa...@mistercertified.com> wrote:

    ok seeding seems to be ok since console vm reported as running (cant tell for sure, I am just guessing) I think it is best to logon to your hypervisor machine and check the status for your vm and take a look at your vm console, what is your hypervisor? what kind of setup you have?
    
    Get Outlook for iOS<https://aka.ms/o0ukef>
    
    
    
    
    On Tue, Dec 27, 2016 at 5:41 PM -0500, "Gokan Atmaca" <li...@gmail.com>> wrote:
    
    
    Hello
    
    I see the system VM in the interface. But as you can see in the
    picture below, S-1-VM can not start. (Agent not connected)
    
    https://postimg.org/image/jepynl98d/
    https://postimg.org/image/j4tgis4rb/
    
    Thanks...
    
    On Wed, Dec 28, 2016 at 12:20 AM, Sam Ceylani  wrote:
    > Go to infrastructure tab and click on system vms, take a look at vm state and agent state for ssvm (secondary storage vm, s-57-VM etc.), send this information, lets see...
    >
    > Get Outlook for iOS
    >
    >
    >
    >
    > On Tue, Dec 27, 2016 at 5:16 PM -0500, "Gokan Atmaca" > wrote:
    >
    >
    > Hello there
    >
    > I get an error like below in the test environment.
    >
    > 2016-12-28 01:14:12,979 DEBUG [c.c.s.StatsCollector]
    > (StatsCollector-6:ctx-ab0613b5) (logid:bf06a0ab) There is no secondary
    > storage VM for secondary storage host nfs
    >
    > NFS is working properly. I can connect it directly to the system. For
    > example: "mount -t nfs 192.168.1.28:/export/secondary /mnt/test" But
    > the system does not see it.
    >
    > What could be the reason?
    >
    > Thanks...
    >
    
    


Dag.Sonstebo@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 


Re: Secondary storage problem

Posted by Sam Ceylani <sa...@mistercertified.com>.
ok seeding seems to be ok since console vm reported as running (cant tell for sure, I am just guessing) I think it is best to logon to your hypervisor machine and check the status for your vm and take a look at your vm console, what is your hypervisor? what kind of setup you have?

Get Outlook for iOS<https://aka.ms/o0ukef>




On Tue, Dec 27, 2016 at 5:41 PM -0500, "Gokan Atmaca" <li...@gmail.com>> wrote:


Hello

I see the system VM in the interface. But as you can see in the
picture below, S-1-VM can not start. (Agent not connected)

https://postimg.org/image/jepynl98d/
https://postimg.org/image/j4tgis4rb/

Thanks...

On Wed, Dec 28, 2016 at 12:20 AM, Sam Ceylani  wrote:
> Go to infrastructure tab and click on system vms, take a look at vm state and agent state for ssvm (secondary storage vm, s-57-VM etc.), send this information, lets see...
>
> Get Outlook for iOS
>
>
>
>
> On Tue, Dec 27, 2016 at 5:16 PM -0500, "Gokan Atmaca" > wrote:
>
>
> Hello there
>
> I get an error like below in the test environment.
>
> 2016-12-28 01:14:12,979 DEBUG [c.c.s.StatsCollector]
> (StatsCollector-6:ctx-ab0613b5) (logid:bf06a0ab) There is no secondary
> storage VM for secondary storage host nfs
>
> NFS is working properly. I can connect it directly to the system. For
> example: "mount -t nfs 192.168.1.28:/export/secondary /mnt/test" But
> the system does not see it.
>
> What could be the reason?
>
> Thanks...
>


Re: Secondary storage problem

Posted by Gokan Atmaca <li...@gmail.com>.
Hello

I see the system VM in the interface. But as you can see in the
picture below, S-1-VM can not start. (Agent not connected)

https://postimg.org/image/jepynl98d/
https://postimg.org/image/j4tgis4rb/

Thanks...

On Wed, Dec 28, 2016 at 12:20 AM, Sam Ceylani <sa...@mistercertified.com> wrote:
> Go to infrastructure tab and click on system vms, take a look at vm state and agent state for ssvm (secondary storage vm, s-57-VM etc.), send this information, lets see...
>
> Get Outlook for iOS<https://aka.ms/o0ukef>
>
>
>
>
> On Tue, Dec 27, 2016 at 5:16 PM -0500, "Gokan Atmaca" <li...@gmail.com>> wrote:
>
>
> Hello there
>
> I get an error like below in the test environment.
>
> 2016-12-28 01:14:12,979 DEBUG [c.c.s.StatsCollector]
> (StatsCollector-6:ctx-ab0613b5) (logid:bf06a0ab) There is no secondary
> storage VM for secondary storage host nfs
>
> NFS is working properly. I can connect it directly to the system. For
> example: "mount -t nfs 192.168.1.28:/export/secondary /mnt/test" But
> the system does not see it.
>
> What could be the reason?
>
> Thanks...
>

Re: Secondary storage problem

Posted by Sam Ceylani <sa...@mistercertified.com>.
Go to infrastructure tab and click on system vms, take a look at vm state and agent state for ssvm (secondary storage vm, s-57-VM etc.), send this information, lets see...

Get Outlook for iOS<https://aka.ms/o0ukef>




On Tue, Dec 27, 2016 at 5:16 PM -0500, "Gokan Atmaca" <li...@gmail.com>> wrote:


Hello there

I get an error like below in the test environment.

2016-12-28 01:14:12,979 DEBUG [c.c.s.StatsCollector]
(StatsCollector-6:ctx-ab0613b5) (logid:bf06a0ab) There is no secondary
storage VM for secondary storage host nfs

NFS is working properly. I can connect it directly to the system. For
example: "mount -t nfs 192.168.1.28:/export/secondary /mnt/test" But
the system does not see it.

What could be the reason?

Thanks...