You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Sebastien Goasguen <ru...@gmail.com> on 2013/02/21 14:04:34 UTC

cannot add Xen host

Hi,

I am trying to create a basic zone with xen hosts.
They are not XenServer hosts, they are not XCP (from the iso), they are Ubnutu 12.04 hosts, with Xen 4.1 and the xcp package installed in it (apt-get install xcp-xapi). I defined their networking statically.

To add them, I create a zone and specify a xenserver cluster (no option for XCP or Xen).

When I try to add hosts in the cluster, I get an error, then 1 minute later they do show up in the UI but in alert state.

I put the logs at http://pastebin.com/gR7xntYB

I can't get them out of alert state and I can't add a primary storage.

Anyone has an idea ?

thanks,

-Sebastien

Re: cannot add Xen host

Posted by Sebastien Goasguen <ru...@gmail.com>.
On Feb 21, 2013, at 2:11 PM, Prasanna Santhanam <ts...@apache.org> wrote:

> On Thu, Feb 21, 2013 at 06:34:34PM +0530, Sebastien Goasguen wrote:
>> Hi,
>> 
>> I am trying to create a basic zone with xen hosts.
>> They are not XenServer hosts, they are not XCP (from the iso), they
>> are Ubnutu 12.04 hosts, with Xen 4.1 and the xcp package installed
>> in it (apt-get install xcp-xapi). I defined their networking
>> statically.
>> 
>> To add them, I create a zone and specify a xenserver cluster (no
>> option for XCP or Xen).
>> 
>> When I try to add hosts in the cluster, I get an error, then 1
>> minute later they do show up in the UI but in alert state.
>> 
>> I put the logs at http://pastebin.com/gR7xntYB
>> 
>> I can't get them out of alert state and I can't add a primary
>> storage.
>> 
> 
> We copy the keys to /root/.ssh which won't exist on an ubuntu machine.
> Are you able to add it with a sudo- capable username/password in the
> UI? Even that would likely fail because we assume a root account on
> the host which could be a supportable scenario - may be post an
> enhancement?
> 

I got past this with running ssh-keygen on the host, that created a .ssh.
I could ssh via root before.

I don't think an enhancement is necessary but we really need to document all these things..


> -- 
> Prasanna.,


Re: cannot add Xen host

Posted by Prasanna Santhanam <ts...@apache.org>.
On Thu, Feb 21, 2013 at 06:34:34PM +0530, Sebastien Goasguen wrote:
> Hi,
> 
> I am trying to create a basic zone with xen hosts.
> They are not XenServer hosts, they are not XCP (from the iso), they
> are Ubnutu 12.04 hosts, with Xen 4.1 and the xcp package installed
> in it (apt-get install xcp-xapi). I defined their networking
> statically.
> 
> To add them, I create a zone and specify a xenserver cluster (no
> option for XCP or Xen).
> 
> When I try to add hosts in the cluster, I get an error, then 1
> minute later they do show up in the UI but in alert state.
> 
> I put the logs at http://pastebin.com/gR7xntYB
> 
> I can't get them out of alert state and I can't add a primary
> storage.
> 

We copy the keys to /root/.ssh which won't exist on an ubuntu machine.
Are you able to add it with a sudo- capable username/password in the
UI? Even that would likely fail because we assume a root account on
the host which could be a supportable scenario - may be post an
enhancement?

-- 
Prasanna.,