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)