You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Demetrius Tsitrelis <De...@citrix.com> on 2013/01/07 23:31:48 UTC

Newbie question: Just installed, SSVM keeps crashing

The admin console reports that the SSVM has stopped and a minute or so later a new instance is created.  That new instance stops and then CS tries to restart it.  And so on.

Message: VM name: .., id: ... stopped unexpectedly on host id:... availability zone id:... pod id:....

How do I determine why the SSVM is crashing?

Also how do I log on to the SSVM?  I tried to use "ssh admin@ssvm_ip" but no matter what password I use it says access denied.



Re: Newbie question: Just installed, SSVM keeps crashing

Posted by Andrea Ottonello <ao...@gmail.com>.
Hallo. I had same exact problem and got mad about it. finally solved but I
don't know precisely how, but I found some configuration issues during
troubleshooting.
- check /var/log/cloud/management/management-server.log on Management
Server to identify problems.
- If you are using Ubuntu for MS, use 12.04 and not 12.10.
- if you are using Ubuntu for MS, instructions tell to copy vhd-util in
/usr/lib/cloud/common/scripts/vm/hypervisor/xenserver/vhd-util, it seems
that you have to put it into a "vhd-util" folder but is not correct, put
the file directly under ./xenserver/
- if using Ubuntu for NFS shares, you don't have to change port settings or
anything else, just share using NFS and check that from host you can mount
it.

Finally, for me worked (or at least, SSVM is running ok, since I have other
problems now) with this config:
- Ubuntu 12.04 for management server
- another Ubuntu 12.04 for NFS sharing (primary and secondary storage)
- XenServer 6.0.2 with no update and without installing CloudStack
Supplemental Package (is optional if you want to use some advanced
features) but configuring memory as explained in CS install guide
- used wizard to create a Basic Installation.

Initially I tried using XCP 1.5 beta (1.6 is not supported by CS) with no
luck, tried everything but always SSVM respawning in infinite loop.

Hope this will help.


2013/1/7 Demetrius Tsitrelis <De...@citrix.com>

> The admin console reports that the SSVM has stopped and a minute or so
> later a new instance is created.  That new instance stops and then CS tries
> to restart it.  And so on.
>
> Message: VM name: .., id: ... stopped unexpectedly on host id:...
> availability zone id:... pod id:....
>
> How do I determine why the SSVM is crashing?
>
> Also how do I log on to the SSVM?  I tried to use "ssh admin@ssvm_ip" but
> no matter what password I use it says access denied.
>
>
>


-- 
Andrea Ottonello

Re: Newbie question: Just installed, SSVM keeps crashing

Posted by Ahmad Emneina <Ah...@citrix.com>.
On 1/7/13 2:31 PM, "Demetrius Tsitrelis" <De...@citrix.com>
wrote:

>The admin console reports that the SSVM has stopped and a minute or so
>later a new instance is created.  That new instance stops and then CS
>tries to restart it.  And so on.
>
>Message: VM name: .., id: ... stopped unexpectedly on host id:...
>availability zone id:... pod id:....
>
>How do I determine why the SSVM is crashing?
>
>Also how do I log on to the SSVM?  I tried to use "ssh admin@ssvm_ip" but
>no matter what password I use it says access denied.
>
>
>

Depending on the hypervisor you use:
Xen/KVM:
ssh -i private-key-path link-local-ip -p 3922 #from the host the vm has
started on

Vmware:
ssh -i private-key-path private-ip -p 3922 #from the management server

You have to be fairly quick or shut down the cloud management service,
since that¹s whats rebooting your vm. I believe you'll probably find a
networking issue on the vm... Assuming the vm is actually starting on the
backend.

-- 
Æ




Re: Newbie question: Just installed, SSVM keeps crashing

Posted by Ahmad Emneina <Ah...@citrix.com>.
On 1/7/13 2:31 PM, "Demetrius Tsitrelis" <De...@citrix.com>
wrote:

>The admin console reports that the SSVM has stopped and a minute or so
>later a new instance is created.  That new instance stops and then CS
>tries to restart it.  And so on.
>
>Message: VM name: .., id: ... stopped unexpectedly on host id:...
>availability zone id:... pod id:....
>
>How do I determine why the SSVM is crashing?
>
>Also how do I log on to the SSVM?  I tried to use "ssh admin@ssvm_ip" but
>no matter what password I use it says access denied.
>
>
>

What you might want to do out of band from cloudstack, is check to see if
the system template is present on your secondary storage (nfs share), is
being copied down to your primary storage. If that seems to be going well,
spin up vm's, also out of band, on your public network... See if it can
route out to the internet. See if the management server can reach it on
it's public interface.
-- 
Æ