Hi! It helps.
Thanks! 2013/2/22 Dmitri Chebotarov <[email protected]> > Hi Илья > > Was VM host added using IP address? > Try to change the IP to a name and then make sure you have corresponding > entry in the /etc/hosts file on the VCLD management node. > > I think you should be fine if you just change hostname in vcl.computer > from 192.168.51.115 to i.e. kvm-host-115, and then add "192.168.51.115 > kvm-host-115" entry to /etc/hosts. > Restart vcld and try to capture again. > > Thanks. > > > On Feb 21, 2013, at 18:44 , Дробеня Илья <[email protected]> wrote: > > > Hi! > > > > I use KVM and have next issue with creation of base image. As I see - > VCL strip IP and try to execute ssh command on host 192 instead of > 192.168.51.115. > > Maybe somebody has idea - what is root of this issue and how to create > image? > > > > 2013-02-22 02:19:03|3189|8:8|image|OS.pm:find_files(2945)|files found: > 1, base directory: > '/usr/local/vcl/bin/../lib/VCL/Module/Provisioning/libvirt/', pattern: > '*.pm' > > |3189|8:8|image| command: '/usr/bin/find > "/usr/local/vcl/bin/../lib/VCL/Module/Provisioning/libvirt/" -type f -iname > "*.pm"' > > 2013-02-22 > 02:19:03|3189|8:8|image|Module.pm:new(200)|VCL::Module::Provisioning::libvirt::KVM > object created for computer centos_vm1, address: 42f72f0 > > 2013-02-22 02:19:03|3189|8:8|image|utils.pm:run_ssh_command(4902)|executing > SSH command on 192: > > |3189|8:8|image| /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 192 'which virsh' > 2>&1 > > > > |3189|8:8|image| ---- WARNING ---- > > |3189|8:8|image| 2013-02-22 > > 02:19:03|3189|8:8|image|utils.pm:run_ssh_command(5010)|attempt > 1/3: failed to execute SSH command on 192: 'which virsh', exit status: 255, > SSH exits with the exit status of the remote command or with 255 if an > error occurred, output: > > |3189|8:8|image| ssh output (which virs...): ssh: connect to host 192 > port 22: Invalid argument > > |3189|8:8|image| ( 0) utils.pm, run_ssh_command (line: 5010) > > |3189|8:8|image| (-1) OS.pm, execute (line: 1992) > > |3189|8:8|image| (-2) KVM.pm, initialize (line: 94) > > |3189|8:8|image| (-3) Module.pm, new (line: 207) > > |3189|8:8|image| (-4) libvirt.pm, (eval) (line: 117) > > |3189|8:8|image| (-5) libvirt.pm, initialize (line: 117) > > > > 2013-02-22 02:19:03|3189|8:8|image|utils.pm:run_ssh_command(4894)|sleeping > for 2 seconds before making next SSH attempt > > 2013-02-22 02:19:05|3189|8:8|image|utils.pm:run_ssh_command(4906)|attempt > 2/3: executing SSH command on 192: > > |3189|8:8|image| /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 192 'which virsh' > 2>&1 > > > > > > -- > > Best Regards, Ilya > > <log.txt> > > > > -- > 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 > > > > -- С уважением, Илья Дробеня.
