You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@vcl.apache.org by ta...@t-online.hu on 2012/08/14 15:31:55 UTC

Linux image reload fail.

Hello!

I have a problem with vcl 2.3.
The problem is, I created a base image form a CentOS 5.3 vm, the capture was successfully, but the 
reload is failing, becuase vcl can't connect to vm using ssh.
I looked around in the vm and I figured out, vcl creates an external sshd to private network but vcl 
disables root access on it, and then reload process fail. I used "Create a linux base image" 
documentation, in the part of ssh config using root account.
What can I do to work correctly?

Thanks for answering!

Aaron Toth.





Re: Linux image reload fail.

Posted by Dmitri Chebotarov <dc...@gmu.edu>.
Hi

If you look at /etc/rc.local on "failed" VM you will notice that sshd configs are created based on IP addresses. 
Most likely your VM is not getting IP address on either eth0 or eth1 and ListenAddress doesn't have valid IP, which causes sshd_config or external_sshd_config to fail. 

Run /etc/rc.local manually on failed reservation (connect via hypervisor's console) and see if it creates correct config files and starts both SSHD services. 
If running manually works fine, I would check if there is a delay in getting IP addresses during reservation. 

Thanks.
On Aug 14, 2012, at 11:08 , taron1987@t-online.hu wrote:

> Hello!
> 
> The image has that configuration, what You say, but the management node config is switched over 
> (eth0 public, eth1 private). Can this cause the problem?
> 
> Thanks for helping me!
> 
> Aaron.
> 
>> Hello,
>> What are the interface names on the loaded image?  eth0 must be
>> connected to the private network and eth1 to the public in order for
>> things to work correctly with the current code.
>> 
>> -Andy
>> 
>> On Tue, Aug 14, 2012 at 9:31 AM,  <ta...@t-online.hu> wrote:
>>> Hello!
>>> 
>>> I have a problem with vcl 2.3.
>>> The problem is, I created a base image form a CentOS 5.3 vm, the capture was successfully, but 
> the
>>> reload is failing, becuase vcl can't connect to vm using ssh.
>>> I looked around in the vm and I figured out, vcl creates an external sshd to private network but vcl
>>> disables root access on it, and then reload process fail. I used "Create a linux base image"
>>> documentation, in the part of ssh config using root account.
>>> What can I do to work correctly?
>>> 
>>> Thanks for answering!
>>> 
>>> Aaron Toth.



--
Thank you,

Dmitri Chebotarov
Virtual Computing Lab Systems Engineer, TSD - Ent Servers & Messaging
223 Aquia Building, Ffx, MSN: 1B5
Phone: (703) 993-6175
Fax: (703) 993-3404





Re: Linux image reload fail.

Posted by ta...@t-online.hu.
Hello!

The image has that configuration, what You say, but the management node config is switched over 
(eth0 public, eth1 private). Can this cause the problem?

Thanks for helping me!

Aaron.

>Hello,
>What are the interface names on the loaded image?  eth0 must be
>connected to the private network and eth1 to the public in order for
>things to work correctly with the current code.
>
>-Andy
>
>On Tue, Aug 14, 2012 at 9:31 AM,  <ta...@t-online.hu> wrote:
>> Hello!
>>
>> I have a problem with vcl 2.3.
>> The problem is, I created a base image form a CentOS 5.3 vm, the capture was successfully, but 
the
>> reload is failing, becuase vcl can't connect to vm using ssh.
>> I looked around in the vm and I figured out, vcl creates an external sshd to private network but vcl
>> disables root access on it, and then reload process fail. I used "Create a linux base image"
>> documentation, in the part of ssh config using root account.
>> What can I do to work correctly?
>>
>> Thanks for answering!
>>
>> Aaron Toth.

Re: Linux image reload fail.

Posted by Andy Kurth <an...@ncsu.edu>.
Hello,
What are the interface names on the loaded image?  eth0 must be
connected to the private network and eth1 to the public in order for
things to work correctly with the current code.

-Andy

On Tue, Aug 14, 2012 at 9:31 AM,  <ta...@t-online.hu> wrote:
> Hello!
>
> I have a problem with vcl 2.3.
> The problem is, I created a base image form a CentOS 5.3 vm, the capture was successfully, but the
> reload is failing, becuase vcl can't connect to vm using ssh.
> I looked around in the vm and I figured out, vcl creates an external sshd to private network but vcl
> disables root access on it, and then reload process fail. I used "Create a linux base image"
> documentation, in the part of ssh config using root account.
> What can I do to work correctly?
>
> Thanks for answering!
>
> Aaron Toth.
>
>
>
>