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 2013/02/25 12:03:56 UTC

Ubuntu linux

Hi,

We're using vcl 2.3 and we have problem with ubuntu base image (12.04). The reload process 
failed, because the /etc/sysconfig/network-scripts/ifcfg-eth1 file does  not exsist. I attached this 
part of the log to the end of this mail.

How can we configure ubuntu to work properly with vcl?

Thanks for your help.

Best regards,

Aaron Toth
BUTE-MIT

Log:
|16041|53:53|new| public interface name: eth1
|16041|53:53|new| public IP address: 10.6.23.120
|16041|53:53|new| public subnet mask: 255.255.0.0
|16041|53:53|new| public default gateway: 10.6.23.1
|16041|53:53|new| public DNS server(s): 10.6.23.1
2013-02-25 11:06:05|16041|53:53|new|Linux.pm:set_static_public_address(551)|public 
interface ifcfg file path: /etc/sysconfig/network-scripts/ifcfg-eth1
2013-02-25 11:06:05|16041|53:53|new|utils.pm:run_ssh_command(4935)|executing SSH 
command on vmslot-20:
|16041|53:53|new| /usr/bin/ssh -i /etc/vcl/vcl.key  -o StrictHostKeyChecking=no -o 
UserKnownHostsFile=/dev/null -o ConnectionAttempts=1 -o ConnectTimeout=3 -l root -p 22 -x 
vmslot-20 'echo "DEVICE=eth1
|16041|53:53|new| BOOTPROTO=static
|16041|53:53|new| IPADDR=10.6.23.120
|16041|53:53|new| NETMASK=255.255.0.0
|16041|53:53|new| GATEWAY=10.6.23.1
|16041|53:53|new| STARTMODE=onboot
|16041|53:53|new| ONBOOT=yes
|16041|53:53|new| " > /etc/sysconfig/network-scripts/ifcfg-eth1' 2>&1
2013-02-25 11:06:06|16041|53:53|new|utils.pm:run_ssh_command(5053)|run_ssh_command 
output:
|16041|53:53|new| bash: line 7: /etc/sysconfig/network-scripts/ifcfg-eth1: No such file or directory
2013-02-25 11:06:06|16041|53:53|new|utils.pm:run_ssh_command(5063)|SSH command 
executed on vmslot-20, command:
|16041|53:53|new| /usr/bin/ssh -i /etc/vcl/vcl.key  -o StrictHostKeyChecking=no -o 
UserKnownHostsFile=/dev/null -o ConnectionAttempts=1 -o ConnectTimeout=3 -l root -p 22 -x 
vmslot-20 'echo "DEVICE=eth1
|16041|53:53|new| BOOTPROTO=static
|16041|53:53|new| IPADDR=10.6.23.120
|16041|53:53|new| NETMASK=255.255.0.0
|16041|53:53|new| GATEWAY=10.6.23.1
|16041|53:53|new| STARTMODE=onboot
|16041|53:53|new| ONBOOT=yes
|16041|53:53|new| " > /etc/sysconfig/network-scripts/ifcfg-eth1' 2>&1
|16041|53:53|new| returning (1, "bash: line 7: /etc/sysconfig/n...")

|16041|53:53|new| ---- WARNING ---- 
|16041|53:53|new| 2013-02-25 11:06:06|16041|53:53|new|Linux.pm:set_static_public_address
(572)|failed to recreate /etc/sysconfig/network-scripts/ifcfg-eth1 on vmslot-20, exit status: 1, 
command: 'echo "DEVICE=eth1
|16041|53:53|new| BOOTPROTO=static
|16041|53:53|new| IPADDR=10.6.23.120
|16041|53:53|new| NETMASK=255.255.0.0
|16041|53:53|new| GATEWAY=10.6.23.1
|16041|53:53|new| STARTMODE=onboot
|16041|53:53|new| ONBOOT=yes
|16041|53:53|new| " > /etc/sysconfig/network-scripts/ifcfg-eth1', output:
|16041|53:53|new| bash: line 7: /etc/sysconfig/network-scripts/ifcfg-eth1: No such file or directory
|16041|53:53|new| ( 0) Linux.pm, set_static_public_address (line: 572)
|16041|53:53|new| (-1) OS.pm, update_public_ip_address (line: 877)
|16041|53:53|new| (-2) new.pm, reserve_computer (line: 933)
|16041|53:53|new| (-3) new.pm, process (line: 407)
|16041|53:53|new| (-4) vcld, make_new_child (line: 571)
|16041|53:53|new| (-5) vcld, main (line: 350)


|16041|53:53|new| ---- WARNING ---- 
|16041|53:53|new| 2013-02-25 11:06:06|16041|53:53|new|OS.pm:update_public_ip_address
(882)|failed to set static public IP address on vmslot-20
|16041|53:53|new| ( 0) OS.pm, update_public_ip_address (line: 882)
|16041|53:53|new| (-1) new.pm, reserve_computer (line: 933)
|16041|53:53|new| (-2) new.pm, process (line: 407)
|16041|53:53|new| (-3) vcld, make_new_child (line: 571)
|16041|53:53|new| (-4) vcld, main (line: 350)

2013-02-25 11:06:06|16041|53:53|new|utils.pm:insertloadlog(3703)|inserted computer=28, 
staticIPaddress, failed to set static public IP address on vmslot-20
2013-02-25 11:06:06|16041|53:53|new|DataStructure.pm:get_computer_state_name(2433)
|attempting to retrieve current state of computer vmslot-20 from the database
2013-02-25 11:06:06|16041|53:53|new|DataStructure.pm:get_computer_state_name(2464)
|retrieved current state of computer vmslot-20 from the database: reloading
2013-02-25 11:06:06|16041|53:53|new|DataStructure.pm:_automethod(836)|data structure 
updated, hash path: $self->request_data->{reservation}{53}{computer}{state}{name}, data 
identifier: computer_state_name, data:
|16041|53:53|new| : "reloading"

|16041|53:53|new| ---- CRITICAL ---- 
|16041|53:53|new| 2013-02-25 11:06:06|16041|53:53|new|State.pm:reservation_failed(240)
|reservation failed on vmslot-20: failed to update public IP address
|16041|53:53|new| ( 0) State.pm, reservation_failed (line: 240)
|16041|53:53|new| (-1) new.pm, reserve_computer (line: 933)
|16041|53:53|new| (-2) new.pm, process (line: 407)
|16041|53:53|new| (-3) vcld, make_new_child (line: 571)
|16041|53:53|new| (-4) vcld, main (line: 350)

Re: Ubuntu linux

Posted by Young h Oh <oh...@us.ibm.com>.
Aaron,

I think "/etc/sysconfig/network-scripts/ifcfg-eth1" is the network
configuration for the Centos/Fedora/Redhat series. The network
configuration for Ubuntu is probably "/etc/network/interfaces".

As Dmitri said, you might used the linux OSid for the Ubuntu base image.

Thanks,
--------------------------------------------------------------------
Young Hyun Oh
IBM Software Group




From:	Dmitri Chebotarov <dc...@gmu.edu>
To:	user@vcl.apache.org,
Date:	02/26/2013 08:55 AM
Subject:	Re: Ubuntu linux



Hi Aaron

This is strange - I have few Ubuntu images (both Desktop and Server) and
they capture/load fine.
Can you check that vcl.image.OSid field for Ubuntu image is 49? Looks like
VCLD is using CentOS/RedHat module to provision Ubuntu in your case.

BTW, are you using VMWARE or KVM as host OS?

Thanks.

On Feb 25, 2013, at 6:03 , taron1987@t-online.hu wrote:

> Hi,
>
> We're using vcl 2.3 and we have problem with ubuntu base image (12.04).
The reload process
> failed, because the /etc/sysconfig/network-scripts/ifcfg-eth1 file does
not exsist. I attached this
> part of the log to the end of this mail.
>
> How can we configure ubuntu to work properly with vcl?
>
> Thanks for your help.
>
> Best regards,
>
> Aaron Toth
> BUTE-MIT
>
> Log:
> |16041|53:53|new| public interface name: eth1
> |16041|53:53|new| public IP address: 10.6.23.120
> |16041|53:53|new| public subnet mask: 255.255.0.0
> |16041|53:53|new| public default gateway: 10.6.23.1
> |16041|53:53|new| public DNS server(s): 10.6.23.1
> 2013-02-25 11:06:05|16041|53:53|new|Linux.pm:set_static_public_address
(551)|public
> interface ifcfg file path: /etc/sysconfig/network-scripts/ifcfg-eth1
> 2013-02-25 11:06:05|16041|53:53|new|utils.pm:run_ssh_command(4935)|
executing SSH
> command on vmslot-20:
> |16041|53:53|new| /usr/bin/ssh -i /etc/vcl/vcl.key  -o
StrictHostKeyChecking=no -o
> UserKnownHostsFile=/dev/null -o ConnectionAttempts=1 -o ConnectTimeout=3
-l root -p 22 -x
> vmslot-20 'echo "DEVICE=eth1
> |16041|53:53|new| BOOTPROTO=static
> |16041|53:53|new| IPADDR=10.6.23.120
> |16041|53:53|new| NETMASK=255.255.0.0
> |16041|53:53|new| GATEWAY=10.6.23.1
> |16041|53:53|new| STARTMODE=onboot
> |16041|53:53|new| ONBOOT=yes
> |16041|53:53|new| " > /etc/sysconfig/network-scripts/ifcfg-eth1' 2>&1
> 2013-02-25 11:06:06|16041|53:53|new|utils.pm:run_ssh_command(5053)|
run_ssh_command
> output:
> |16041|53:53|new| bash: line
7: /etc/sysconfig/network-scripts/ifcfg-eth1: No such file or directory
> 2013-02-25 11:06:06|16041|53:53|new|utils.pm:run_ssh_command(5063)|SSH
command
> executed on vmslot-20, command:
> |16041|53:53|new| /usr/bin/ssh -i /etc/vcl/vcl.key  -o
StrictHostKeyChecking=no -o
> UserKnownHostsFile=/dev/null -o ConnectionAttempts=1 -o ConnectTimeout=3
-l root -p 22 -x
> vmslot-20 'echo "DEVICE=eth1
> |16041|53:53|new| BOOTPROTO=static
> |16041|53:53|new| IPADDR=10.6.23.120
> |16041|53:53|new| NETMASK=255.255.0.0
> |16041|53:53|new| GATEWAY=10.6.23.1
> |16041|53:53|new| STARTMODE=onboot
> |16041|53:53|new| ONBOOT=yes
> |16041|53:53|new| " > /etc/sysconfig/network-scripts/ifcfg-eth1' 2>&1
> |16041|53:53|new| returning (1, "bash: line 7: /etc/sysconfig/n...")
>
> |16041|53:53|new| ---- WARNING ----
> |16041|53:53|new| 2013-02-25 11:06:06|16041|53:53|new|
Linux.pm:set_static_public_address
> (572)|failed to recreate /etc/sysconfig/network-scripts/ifcfg-eth1 on
vmslot-20, exit status: 1,
> command: 'echo "DEVICE=eth1
> |16041|53:53|new| BOOTPROTO=static
> |16041|53:53|new| IPADDR=10.6.23.120
> |16041|53:53|new| NETMASK=255.255.0.0
> |16041|53:53|new| GATEWAY=10.6.23.1
> |16041|53:53|new| STARTMODE=onboot
> |16041|53:53|new| ONBOOT=yes
> |16041|53:53|new| " > /etc/sysconfig/network-scripts/ifcfg-eth1', output:
> |16041|53:53|new| bash: line
7: /etc/sysconfig/network-scripts/ifcfg-eth1: No such file or directory
> |16041|53:53|new| ( 0) Linux.pm, set_static_public_address (line: 572)
> |16041|53:53|new| (-1) OS.pm, update_public_ip_address (line: 877)
> |16041|53:53|new| (-2) new.pm, reserve_computer (line: 933)
> |16041|53:53|new| (-3) new.pm, process (line: 407)
> |16041|53:53|new| (-4) vcld, make_new_child (line: 571)
> |16041|53:53|new| (-5) vcld, main (line: 350)
>
>
> |16041|53:53|new| ---- WARNING ----
> |16041|53:53|new| 2013-02-25 11:06:06|16041|53:53|new|
OS.pm:update_public_ip_address
> (882)|failed to set static public IP address on vmslot-20
> |16041|53:53|new| ( 0) OS.pm, update_public_ip_address (line: 882)
> |16041|53:53|new| (-1) new.pm, reserve_computer (line: 933)
> |16041|53:53|new| (-2) new.pm, process (line: 407)
> |16041|53:53|new| (-3) vcld, make_new_child (line: 571)
> |16041|53:53|new| (-4) vcld, main (line: 350)
>
> 2013-02-25 11:06:06|16041|53:53|new|utils.pm:insertloadlog(3703)|inserted
computer=28,
> staticIPaddress, failed to set static public IP address on vmslot-20
> 2013-02-25 11:06:06|16041|53:53|new|
DataStructure.pm:get_computer_state_name(2433)
> |attempting to retrieve current state of computer vmslot-20 from the
database
> 2013-02-25 11:06:06|16041|53:53|new|
DataStructure.pm:get_computer_state_name(2464)
> |retrieved current state of computer vmslot-20 from the database:
reloading
> 2013-02-25 11:06:06|16041|53:53|new|DataStructure.pm:_automethod(836)|
data structure
> updated, hash path: $self->request_data->
{reservation}{53}{computer}{state}{name}, data
> identifier: computer_state_name, data:
> |16041|53:53|new| : "reloading"
>
> |16041|53:53|new| ---- CRITICAL ----
> |16041|53:53|new| 2013-02-25 11:06:06|16041|53:53|new|
State.pm:reservation_failed(240)
> |reservation failed on vmslot-20: failed to update public IP address
> |16041|53:53|new| ( 0) State.pm, reservation_failed (line: 240)
> |16041|53:53|new| (-1) new.pm, reserve_computer (line: 933)
> |16041|53:53|new| (-2) new.pm, process (line: 407)
> |16041|53:53|new| (-3) vcld, make_new_child (line: 571)
> |16041|53:53|new| (-4) vcld, main (line: 350)



--
Thank you,

Dmitri Chebotarov
VCL Sys Eng, Engineering & Architectural Support, TSD - Ent Servers &
Messaging
223 Aquia Building, Ffx, MSN: 1B5
Phone: (703) 993-6175 | Fax: (703) 993-3404




Re: Ubuntu linux

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

This is strange - I have few Ubuntu images (both Desktop and Server) and they capture/load fine. 
Can you check that vcl.image.OSid field for Ubuntu image is 49? Looks like VCLD is using CentOS/RedHat module to provision Ubuntu in your case.

BTW, are you using VMWARE or KVM as host OS?
 
Thanks.

On Feb 25, 2013, at 6:03 , taron1987@t-online.hu wrote:

> Hi,
> 
> We're using vcl 2.3 and we have problem with ubuntu base image (12.04). The reload process 
> failed, because the /etc/sysconfig/network-scripts/ifcfg-eth1 file does  not exsist. I attached this 
> part of the log to the end of this mail.
> 
> How can we configure ubuntu to work properly with vcl?
> 
> Thanks for your help.
> 
> Best regards,
> 
> Aaron Toth
> BUTE-MIT
> 
> Log:
> |16041|53:53|new| public interface name: eth1
> |16041|53:53|new| public IP address: 10.6.23.120
> |16041|53:53|new| public subnet mask: 255.255.0.0
> |16041|53:53|new| public default gateway: 10.6.23.1
> |16041|53:53|new| public DNS server(s): 10.6.23.1
> 2013-02-25 11:06:05|16041|53:53|new|Linux.pm:set_static_public_address(551)|public 
> interface ifcfg file path: /etc/sysconfig/network-scripts/ifcfg-eth1
> 2013-02-25 11:06:05|16041|53:53|new|utils.pm:run_ssh_command(4935)|executing SSH 
> command on vmslot-20:
> |16041|53:53|new| /usr/bin/ssh -i /etc/vcl/vcl.key  -o StrictHostKeyChecking=no -o 
> UserKnownHostsFile=/dev/null -o ConnectionAttempts=1 -o ConnectTimeout=3 -l root -p 22 -x 
> vmslot-20 'echo "DEVICE=eth1
> |16041|53:53|new| BOOTPROTO=static
> |16041|53:53|new| IPADDR=10.6.23.120
> |16041|53:53|new| NETMASK=255.255.0.0
> |16041|53:53|new| GATEWAY=10.6.23.1
> |16041|53:53|new| STARTMODE=onboot
> |16041|53:53|new| ONBOOT=yes
> |16041|53:53|new| " > /etc/sysconfig/network-scripts/ifcfg-eth1' 2>&1
> 2013-02-25 11:06:06|16041|53:53|new|utils.pm:run_ssh_command(5053)|run_ssh_command 
> output:
> |16041|53:53|new| bash: line 7: /etc/sysconfig/network-scripts/ifcfg-eth1: No such file or directory
> 2013-02-25 11:06:06|16041|53:53|new|utils.pm:run_ssh_command(5063)|SSH command 
> executed on vmslot-20, command:
> |16041|53:53|new| /usr/bin/ssh -i /etc/vcl/vcl.key  -o StrictHostKeyChecking=no -o 
> UserKnownHostsFile=/dev/null -o ConnectionAttempts=1 -o ConnectTimeout=3 -l root -p 22 -x 
> vmslot-20 'echo "DEVICE=eth1
> |16041|53:53|new| BOOTPROTO=static
> |16041|53:53|new| IPADDR=10.6.23.120
> |16041|53:53|new| NETMASK=255.255.0.0
> |16041|53:53|new| GATEWAY=10.6.23.1
> |16041|53:53|new| STARTMODE=onboot
> |16041|53:53|new| ONBOOT=yes
> |16041|53:53|new| " > /etc/sysconfig/network-scripts/ifcfg-eth1' 2>&1
> |16041|53:53|new| returning (1, "bash: line 7: /etc/sysconfig/n...")
> 
> |16041|53:53|new| ---- WARNING ---- 
> |16041|53:53|new| 2013-02-25 11:06:06|16041|53:53|new|Linux.pm:set_static_public_address
> (572)|failed to recreate /etc/sysconfig/network-scripts/ifcfg-eth1 on vmslot-20, exit status: 1, 
> command: 'echo "DEVICE=eth1
> |16041|53:53|new| BOOTPROTO=static
> |16041|53:53|new| IPADDR=10.6.23.120
> |16041|53:53|new| NETMASK=255.255.0.0
> |16041|53:53|new| GATEWAY=10.6.23.1
> |16041|53:53|new| STARTMODE=onboot
> |16041|53:53|new| ONBOOT=yes
> |16041|53:53|new| " > /etc/sysconfig/network-scripts/ifcfg-eth1', output:
> |16041|53:53|new| bash: line 7: /etc/sysconfig/network-scripts/ifcfg-eth1: No such file or directory
> |16041|53:53|new| ( 0) Linux.pm, set_static_public_address (line: 572)
> |16041|53:53|new| (-1) OS.pm, update_public_ip_address (line: 877)
> |16041|53:53|new| (-2) new.pm, reserve_computer (line: 933)
> |16041|53:53|new| (-3) new.pm, process (line: 407)
> |16041|53:53|new| (-4) vcld, make_new_child (line: 571)
> |16041|53:53|new| (-5) vcld, main (line: 350)
> 
> 
> |16041|53:53|new| ---- WARNING ---- 
> |16041|53:53|new| 2013-02-25 11:06:06|16041|53:53|new|OS.pm:update_public_ip_address
> (882)|failed to set static public IP address on vmslot-20
> |16041|53:53|new| ( 0) OS.pm, update_public_ip_address (line: 882)
> |16041|53:53|new| (-1) new.pm, reserve_computer (line: 933)
> |16041|53:53|new| (-2) new.pm, process (line: 407)
> |16041|53:53|new| (-3) vcld, make_new_child (line: 571)
> |16041|53:53|new| (-4) vcld, main (line: 350)
> 
> 2013-02-25 11:06:06|16041|53:53|new|utils.pm:insertloadlog(3703)|inserted computer=28, 
> staticIPaddress, failed to set static public IP address on vmslot-20
> 2013-02-25 11:06:06|16041|53:53|new|DataStructure.pm:get_computer_state_name(2433)
> |attempting to retrieve current state of computer vmslot-20 from the database
> 2013-02-25 11:06:06|16041|53:53|new|DataStructure.pm:get_computer_state_name(2464)
> |retrieved current state of computer vmslot-20 from the database: reloading
> 2013-02-25 11:06:06|16041|53:53|new|DataStructure.pm:_automethod(836)|data structure 
> updated, hash path: $self->request_data->{reservation}{53}{computer}{state}{name}, data 
> identifier: computer_state_name, data:
> |16041|53:53|new| : "reloading"
> 
> |16041|53:53|new| ---- CRITICAL ---- 
> |16041|53:53|new| 2013-02-25 11:06:06|16041|53:53|new|State.pm:reservation_failed(240)
> |reservation failed on vmslot-20: failed to update public IP address
> |16041|53:53|new| ( 0) State.pm, reservation_failed (line: 240)
> |16041|53:53|new| (-1) new.pm, reserve_computer (line: 933)
> |16041|53:53|new| (-2) new.pm, process (line: 407)
> |16041|53:53|new| (-3) vcld, make_new_child (line: 571)
> |16041|53:53|new| (-4) vcld, main (line: 350)



--
Thank you,

Dmitri Chebotarov
VCL Sys Eng, Engineering & Architectural Support, TSD - Ent Servers & Messaging
223 Aquia Building, Ffx, MSN: 1B5
Phone: (703) 993-6175 | Fax: (703) 993-3404