That's generic wording and can be ignored. There is a conditional in
the code that sets a variable to either partimage for bare-metal loads
or vmware for virtual machines. I'll make a jira issue to clean that
up.

What's important is the failed capture,  in the output it's stating
that it cannot ssh into the localvmhost.

VCL uses ssh identity keys to log into the vmhost and the target vm in
load and capture the vms.

To correct this:
1st,
make sure you can ssh into localvmhost.  Start off by appending your
public key to /root/.ssh/authorized_keys if your using vcl.key.

Then something like cat /etc/vcl/vcl.key.pub >>
/root/.ssh/authorized_keys should work.

Note, you might need to create /root/.ssh

test ssh connection to localvmhost

Also make sure you can ssh into vmguest-2 using the same vcl.key

2nd,
Once you can ssh into localvmhost and vmguest-2 reset the image
capture reservation via the database, don't retry vcld --setup at this
point.

Image capture reservations that fail are put into maintenance mode in
the database.  Re-running vcld --setup to start another capture will
only generate another failure since vmguest-2 is in maintenance mode.

on your localhost (management node) where your database is, go to the
mysql command line and run the follow sql statement:

mysql> update request set stateid = 16 where id = 2;

then exit mysql

This statement will place the request.id 2 into the image mode and
which will cause vcld to restart the image capture process for
vmguest-2

Now watch the vcld.log file

tail -f /var/log/vcld.log

Hope this helps.
Aaron






On Fri, May 3, 2013 at 2:04 PM, alvin allen <[email protected]> wrote:
> I am using KVM.  However, when I try to capture an image, all of the choices
> ar VMware.
>
> User who will own the image: admin (ID: 1)
>
> Enter the hostname or IP address of the computer to be captured: ('c' to
> cancel): 76.165.23.32
>
> Computer to be captured: vmguest-2 (ID: 2)
> Provisioning module: provisioning_libvirt
> Install type: vmware
>
> Select the OS to be captured (install type: vmware):
> 1. Generic Linux (VMware)
> 2. OSX Snow Leopard (VMware)
> 3. Ubuntu (VMware)
> 4. Windows 2003 Server (VMware)
> 5. Windows 7 (VMware)
> 6. Windows Server 2008 (VMware)
> 7. Windows Vista (VMware)
> 8. Windows XP (VMware)
>
> [vcld/Image/Capture Base Image]
> Make a selection (1-8, 'c' to cancel): 1
>
> Selected OS: Generic Linux (VMware)
>
> Here is my log file:
> [vcld/Image]
> Make a selection (1, 'c' to cancel): 1
>
> Enter the VCL login name or ID of the user who will own the image: [admin]:
>
> User who will own the image: admin (ID: 1)
>
> Enter the hostname or IP address of the computer to be captured: ('c' to
> cancel): 76.165.23.32
>
> Computer to be captured: vmguest-2 (ID: 2)
> Provisioning module: provisioning_libvirt
> Install type: vmware
>
> Select the OS to be captured (install type: vmware):
> 1. Generic Linux (VMware)
> 2. OSX Snow Leopard (VMware)
> 3. Ubuntu (VMware)
> 4. Windows 2003 Server (VMware)
> 5. Windows 7 (VMware)
> 6. Windows Server 2008 (VMware)
> 7. Windows Vista (VMware)
> 8. Windows XP (VMware)
>
> [vcld/Image/Capture Base Image]
> Make a selection (1-8, 'c' to cancel): 1
>
> Selected OS: Generic Linux (VMware)
>
> Image architecture:
> 1. x86
> 2. x86_64
>
> [vcld/Image/Capture Base Image]
> Make a selection (1-2, 'c' to cancel): 1
>
> Image architecture: x86
>
> Enter the name of the image to be captured: ('c' to cancel): vmware-2
>
> Added new image to database: 'vmware-2'
>    image.name: vmwarelinux-vmware22-v0
>    image.id: 2
>    imagerevision.id: 2
>    imagemeta.id: 1
>    resource.id: 12
>
> ----------------------------------------------------------------------------
> Inserted imaging request to the database:
> request ID: 2
> reservation ID: 2
>
> This process will now display the contents of the vcld.log file if the vcld
> daemon is running. If you do not see many lines of additional output, exit
> this
> process, start the vcld daemon, and monitor the image capture process by
> running
> the command:
> tail -f /var/log/vcld.log | grep '2:2'
>
> ----------------------------------------------------------------------------
> 2013-05-03 06:37:54|3894|utils.pm:setup_get_array_choice(9769)|choices
> argument:
> 2013-05-03 06:37:56|3717|vcld:main(167)|lastcheckin time updated for
> management node 1: 2013-05-03 06:37:56
> 2013-05-03 06:38:01|3717|vcld:main(167)|lastcheckin time updated for
> management node 1: 2013-05-03 06:38:01
> 2013-05-03 06:38:06|3717|vcld:main(167)|lastcheckin time updated for
> management node 1: 2013-05-03 06:38:06
> 2013-05-03 06:38:11|3717|vcld:main(167)|lastcheckin time updated for
> management node 1: 2013-05-03 06:38:11
> 2013-05-03 06:38:16|3717|vcld:main(167)|lastcheckin time updated for
> management node 1: 2013-05-03 06:38:16
> 2013-05-03 06:38:20|3894|utils.pm:insert_request(8043)|inserted new reload
> request into request table, request id=2
> 2013-05-03 06:38:20|3894|utils.pm:insert_request(8074)|inserted new reload
> request into reservation table, reservation id=2
> 2013-05-03 06:38:21|3717|vcld:main(167)|lastcheckin time updated for
> management node 1: 2013-05-03 06:38:21
> 2013-05-03
> 06:38:21|3717|2:2|image|utils.pm:reservation_being_processed(8634)|computerloadlog
> 'begin' entry does NOT exist for reservation 2
> 2013-05-03 06:38:21|3717|2:2|image|utils.pm:run_command(8706)|executed
> command: pgrep -fl 'vcld [0-9]+:2 ', pid: 7916, exit status: 1, output:
> 2013-05-03
> 06:38:21|3717|2:2|image|utils.pm:is_management_node_process_running(8939)|process
> is NOT running, identifier: 'vcld [0-9]+:2 '
> 2013-05-03
> 06:38:21|3717|2:2|image|utils.pm:reservation_being_processed(8655)|reservation
> is NOT currently being processed
> 2013-05-03 06:38:21|3717|2:2|image|vcld:main(282)|reservation 2 is NOT
> already being processed
> 2013-05-03
> 06:38:21|3717|2:2|image|utils.pm:get_imagemeta_info(4576)|retrieved
> imagemeta info:
> |3717|2:2|image| : {
> |3717|2:2|image| :   "architecture" => "",
> |3717|2:2|image| :   "checkuser" => 1,
> |3717|2:2|image| :   "id" => 1,
> |3717|2:2|image| :   "postoption" => "",
> |3717|2:2|image| :   "rootaccess" => 1,
> |3717|2:2|image| :   "subimages" => 0,
> |3717|2:2|image| :   "sysprep" => 1,
> |3717|2:2|image| :   "usergroupid" => ""
> |3717|2:2|image| : }
> 2013-05-03
> 06:38:21|3717|2:2|image|utils.pm:get_management_node_info(5456)|retrieving
> current management node info for 'localhost' from database, cached data is
> stale: 2780 seconds old
> 2013-05-03
> 06:38:21|3717|2:2|image|utils.pm:get_management_node_info(5603)|retrieved
> management node info: 'localhost' (localhost)
> 2013-05-03
> 06:38:21|3717|2:2|image|utils.pm:get_connect_method_info(10059)|attempting
> to retrieve connect method info:
> |3717|2:2|image| imagerevision: 2 - vmwarelinux-vmware22-v0
> |3717|2:2|image| OS: 36 - vmwarelinux
> |3717|2:2|image| OS type: 2 - linux
> 2013-05-03
> 06:38:21|3717|2:2|image|utils.pm:get_connect_method_info(10123)|ssh:
> connectmethodid=1, OStypeid=2, OSid=NULL, imagerevisionid=NULL, disabled=0
> 2013-05-03 06:38:21|3717|2:2|image|vcld:main(287)|retrieved request
> information from database
> 2013-05-03
> 06:38:21|3717|2:2|image|DataStructure.pm:is_parent_reservation(1004)|returning
> true: parent reservation ID for this request: 2
> 2013-05-03
> 06:38:21|3717|2:2|image|utils.pm:update_request_state(1545)|request 2 state
> updated to: pending, laststate to: image
> 2013-05-03 06:38:21|3717|2:2|image|utils.pm:insertloadlog(3665)|inserted
> computer=2, begin, beginning to process, state is image
> 2013-05-03 06:38:21|3717|2:2|image|vcld:make_new_child(518)|loaded
> VCL::image module
> 2013-05-03 06:38:21|3717|2:2|image|vcld:make_new_child(542)|current number
> of forked kids: 1
> 2013-05-03 06:38:21|7934|2:2|image|vcld:make_new_child(558)|vcld environment
> variable set to 0 for this process
> 2013-05-03 06:38:21|7934|2:2|image|DataStructure.pm:_initialize(643)|image
> ID argument was specified: noimage, DataStructure object will contain image
> information for the production imagerevision of this image
> 2013-05-03
> 06:38:21|7934|2:2|image|DataStructure.pm:_initialize(674)|retrieved data for
> imagerevision ID: 1
> 2013-05-03
> 06:38:21|7934|2:2|image|DataStructure.pm:_initialize(690)|retrieved data for
> image ID: 1
> 2013-05-03
> 06:38:21|7934|2:2|image|Module.pm:create_mn_os_object(376)|VCL::Module::OS::Linux::ManagementNode
> module loaded
> 2013-05-03
> 06:38:21|7934|2:2|image|Module.pm:new(196)|VCL::Module::OS::Linux::ManagementNode
> object created for image noimage, address: 461e090
> 2013-05-03 06:38:21|7934|2:2|image|DataStructure.pm:_automethod(847)|data
> structure updated, hash path:
> $self->request_data->{reservation}{0}{computer}{hostname}, data identifier:
> computer_hostname, data:
> |7934|2:2|image| : "localhost"
> 2013-05-03 06:38:21|7934|2:2|image|DataStructure.pm:_automethod(847)|data
> structure updated, hash path:
> $self->request_data->{reservation}{0}{computer}{NODENAME}, data identifier:
> computer_node_name, data:
> |7934|2:2|image| : "localhost"
> 2013-05-03 06:38:21|7934|2:2|image|DataStructure.pm:_automethod(847)|data
> structure updated, hash path:
> $self->request_data->{reservation}{0}{computer}{SHORTNAME}, data identifier:
> computer_short_name, data:
> |7934|2:2|image| : "localhost"
> 2013-05-03 06:38:21|7934|2:2|image|DataStructure.pm:_automethod(847)|data
> structure updated, hash path:
> $self->request_data->{reservation}{0}{computer}{IPaddress}, data identifier:
> computer_ip_address, data:
> |7934|2:2|image| : "127.0.0.1"
> 2013-05-03
> 06:38:21|7934|2:2|image|Module.pm:create_mn_os_object(381)|VCL::Module::OS::Linux::ManagementNode
> OS object created, address: 461e090
> 2013-05-03 06:38:21|7934|2:2|image|Module.pm:new(192)|VCL::image object
> created for state image, address: 3e3dc68
> 2013-05-03 06:38:21|7934|2:2|image|State.pm:initialize(88)|obtained a
> database handle for this state process, stored as $ENV{dbh}
> 2013-05-03 06:38:21|7934|2:2|image|State.pm:check_image_os(790)|no
> corrections need to be made to image OS: vmwarelinux
> 2013-05-03
> 06:38:21|7934|2:2|image|DataStructure.pm:is_parent_reservation(1004)|returning
> true: parent reservation ID for this request: 2
> 2013-05-03
> 06:38:21|7934|2:2|image|utils.pm:rename_vcld_process(6752)|reservation
> count: 1
> 2013-05-03
> 06:38:21|7934|2:2|image|utils.pm:rename_vcld_process(6771)|PARENTIMAGE: 1
> 2013-05-03
> 06:38:21|7934|2:2|image|utils.pm:rename_vcld_process(6772)|SUBIMAGE: 0
> 2013-05-03
> 06:38:21|7934|2:2|image|utils.pm:rename_vcld_process(6790)|renamed process
> to 'vcld 2:2 image vmguest-2>localvmhost vmwarelinux-vmware22-v0 admin'
> 2013-05-03
> 06:38:21|7934|2:2|image|DataStructure.pm:is_parent_reservation(1004)|returning
> true: parent reservation ID for this request: 2
> 2013-05-03
> 06:38:21|7934|2:2|image|DataStructure.pm:is_parent_reservation(1004)|returning
> true: parent reservation ID for this request: 2
> 2013-05-03
> 06:38:21|7934|2:2|image|Module.pm:create_os_object(308)|VCL::Module::OS::Linux
> module loaded
> 2013-05-03 06:38:21|7934|2:2|image|Module.pm:new(196)|VCL::Module::OS::Linux
> object created for image vmwarelinux-vmware22-v0, address: 46214a0
> 2013-05-03
> 06:38:21|7934|2:2|image|Module.pm:create_os_object(314)|VCL::Module::OS::Linux
> OS object created, address: 46214a0
> 2013-05-03 06:38:21|7934|2:2|image|State.pm:initialize(125)|computer is a
> VM, attempting to create VM host OS object
> 2013-05-03
> 06:38:21|7934|2:2|image|DataStructure.pm:_initialize(619)|computer ID
> argument was specified, retrieving data for computer ID: 1
> 2013-05-03 06:38:21|7934|2:2|image|DataStructure.pm:_initialize(643)|image
> ID argument was specified: 1, DataStructure object will contain image
> information for the production imagerevision of this image
> 2013-05-03
> 06:38:21|7934|2:2|image|DataStructure.pm:_initialize(674)|retrieved data for
> imagerevision ID: 1
> 2013-05-03
> 06:38:21|7934|2:2|image|DataStructure.pm:_initialize(690)|retrieved data for
> image ID: 1
> 2013-05-03
> 06:38:21|7934|2:2|image|Module.pm:create_vmhost_os_object(454)|attempting to
> load VM host OS module: VCL::Module::OS::Linux::UnixLab (image: 1)
> 2013-05-03 06:38:21|7934|2:2|image|Module.pm:create_vmhost_os_object(460)|VM
> host OS module loaded: VCL::Module::OS::Linux::UnixLab
> 2013-05-03
> 06:38:21|7934|2:2|image|Module.pm:new(196)|VCL::Module::OS::Linux::UnixLab
> object created for image noimage, address: 4621710
> 2013-05-03
> 06:38:21|7934|2:2|image|Module.pm:create_vmhost_os_object(465)|VCL::Module::OS::Linux::UnixLab
> OS object created, address: 4621710
> 2013-05-03
> 06:38:21|7934|2:2|image|Module.pm:create_provisioning_object(519)|VCL::Module::Provisioning::libvirt
> module loaded
> 2013-05-03
> 06:38:21|7934|2:2|image|Module.pm:new(200)|VCL::Module::Provisioning::libvirt
> object created for computer vmguest-2, address: 4621ab8
> 2013-05-03 06:38:21|7934|2:2|image|libvirt.pm:initialize(99)|libvirt driver
> module directory path:
> /usr/local/vcl/bin/../lib/VCL/Module/Provisioning/libvirt
> 2013-05-03 06:38:21|7934|2:2|image|OS.pm:find_files(2917)|attempting to find
> files on localhost, base directory path:
> '/usr/local/vcl/bin/../lib/VCL/Module/Provisioning/libvirt/', pattern: *.pm,
> command: /usr/bin/find
> "/usr/local/vcl/bin/../lib/VCL/Module/Provisioning/libvirt/" -type f -iname
> "*.pm"
> 2013-05-03 06:38:21|7934|2:2|image|OS.pm:find_files(2945)|files found: 1,
> base directory:
> '/usr/local/vcl/bin/../lib/VCL/Module/Provisioning/libvirt/', pattern:
> '*.pm'
> |7934|2:2|image| command: '/usr/bin/find
> "/usr/local/vcl/bin/../lib/VCL/Module/Provisioning/libvirt/" -type f -iname
> "*.pm"'
> 2013-05-03
> 06:38:21|7934|2:2|image|Module.pm:new(200)|VCL::Module::Provisioning::libvirt::KVM
> object created for computer vmguest-2, address: 4821d90
> 2013-05-03 06:38:21|7934|2:2|image|utils.pm:run_ssh_command(4902)|executing
> SSH command on localvmhost:
> |7934|2:2|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 localvmhost 'which
> virsh' 2>&1
> |7934|2:2|image| ---- WARNING ----
> |7934|2:2|image| 2013-05-03
> 06:38:24|7934|2:2|image|utils.pm:run_ssh_command(5006)|attempt 1/3: failed
> to execute SSH command on localvmhost: 'which virsh', exit status: 255,
> output:
> |7934|2:2|image| ssh output (which virs...): ssh: connect to host
> localvmhost port 22: Connection timed out
> |7934|2:2|image| ( 0) utils.pm, run_ssh_command (line: 5006)
> |7934|2:2|image| (-1) OS.pm, execute (line: 1992)
> |7934|2:2|image| (-2) KVM.pm, initialize (line: 94)
> |7934|2:2|image| (-3) Module.pm, new (line: 207)
> |7934|2:2|image| (-4) libvirt.pm, (eval) (line: 117)
> |7934|2:2|image| (-5) libvirt.pm, initialize (line: 117)
> 2013-05-03 06:38:24|7934|2:2|image|utils.pm:run_ssh_command(4894)|sleeping
> for 2 seconds before making next SSH attempt
> 2013-05-03 06:38:26|3717|vcld:main(167)|lastcheckin time updated for
> management node 1: 2013-05-03 06:38:26
> 2013-05-03 06:38:26|7934|2:2|image|utils.pm:run_ssh_command(4906)|attempt
> 2/3: executing SSH command on localvmhost:
> |7934|2:2|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 localvmhost 'which
> virsh' 2>&1
> |7934|2:2|image| ---- WARNING ----
> |7934|2:2|image| 2013-05-03
> 06:38:29|7934|2:2|image|utils.pm:run_ssh_command(5006)|attempt 2/3: failed
> to execute SSH command on localvmhost: 'which virsh', exit status: 255,
> output:
> |7934|2:2|image| ssh output (which virs...): ssh: connect to host
> localvmhost port 22: Connection timed out
> |7934|2:2|image| ( 0) utils.pm, run_ssh_command (line: 5006)
> |7934|2:2|image| (-1) OS.pm, execute (line: 1992)
> |7934|2:2|image| (-2) KVM.pm, initialize (line: 94)
> |7934|2:2|image| (-3) Module.pm, new (line: 207)
> |7934|2:2|image| (-4) libvirt.pm, (eval) (line: 117)
> |7934|2:2|image| (-5) libvirt.pm, initialize (line: 117)
> 2013-05-03 06:38:29|7934|2:2|image|utils.pm:run_ssh_command(4894)|sleeping
> for 4 seconds before making next SSH attempt
> 2013-05-03 06:38:31|3717|vcld:main(167)|lastcheckin time updated for
> management node 1: 2013-05-03 06:38:31
> 2013-05-03 06:38:33|7934|2:2|image|utils.pm:run_ssh_command(4906)|attempt
> 3/3: executing SSH command on localvmhost:
> |7934|2:2|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 localvmhost 'which
> virsh' 2>&1
> 2013-05-03 06:38:36|3717|vcld:main(167)|lastcheckin time updated for
> management node 1: 2013-05-03 06:38:36
> |7934|2:2|image| ---- WARNING ----
> |7934|2:2|image| 2013-05-03
> 06:38:36|7934|2:2|image|utils.pm:run_ssh_command(5006)|attempt 3/3: failed
> to execute SSH command on localvmhost: 'which virsh', exit status: 255,
> output:
> |7934|2:2|image| ssh output (which virs...): ssh: connect to host
> localvmhost port 22: Connection timed out
> |7934|2:2|image| ( 0) utils.pm, run_ssh_command (line: 5006)
> |7934|2:2|image| (-1) OS.pm, execute (line: 1992)
> |7934|2:2|image| (-2) KVM.pm, initialize (line: 94)
> |7934|2:2|image| (-3) Module.pm, new (line: 207)
> |7934|2:2|image| (-4) libvirt.pm, (eval) (line: 117)
> |7934|2:2|image| (-5) libvirt.pm, initialize (line: 117)
> |7934|2:2|image| ---- WARNING ----
> |7934|2:2|image| 2013-05-03
> 06:38:36|7934|2:2|image|utils.pm:run_ssh_command(5043)|failed to run SSH
> command after 3 attempts, command: /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 localvmhost 'which
> virsh' 2>&1, exit status: 255, output:
> |7934|2:2|image| ssh output (which virs...): ssh: connect to host
> localvmhost port 22: Connection timed out
> |7934|2:2|image| ( 0) utils.pm, run_ssh_command (line: 5043)
> |7934|2:2|image| (-1) OS.pm, execute (line: 1992)
> |7934|2:2|image| (-2) KVM.pm, initialize (line: 94)
> |7934|2:2|image| (-3) Module.pm, new (line: 207)
> |7934|2:2|image| (-4) libvirt.pm, (eval) (line: 117)
> |7934|2:2|image| (-5) libvirt.pm, initialize (line: 117)
> |7934|2:2|image| ---- WARNING ----
> |7934|2:2|image| 2013-05-03
> 06:38:36|7934|2:2|image|OS.pm:execute(2000)|failed to run command on
> localvmhost: which virsh
> |7934|2:2|image| ( 0) OS.pm, execute (line: 2000)
> |7934|2:2|image| (-1) KVM.pm, initialize (line: 94)
> |7934|2:2|image| (-2) Module.pm, new (line: 207)
> |7934|2:2|image| (-3) libvirt.pm, (eval) (line: 117)
> |7934|2:2|image| (-4) libvirt.pm, initialize (line: 117)
> |7934|2:2|image| (-5) Module.pm, new (line: 207)
> |7934|2:2|image| ---- WARNING ----
> |7934|2:2|image| 2013-05-03
> 06:38:36|7934|2:2|image|KVM.pm:initialize(96)|unable to initialize KVM
> driver module to control localvmhost, failed to execute command to determine
> if the 'virsh' command is available
> |7934|2:2|image| ( 0) KVM.pm, initialize (line: 96)
> |7934|2:2|image| (-1) Module.pm, new (line: 207)
> |7934|2:2|image| (-2) libvirt.pm, (eval) (line: 117)
> |7934|2:2|image| (-3) libvirt.pm, initialize (line: 117)
> |7934|2:2|image| (-4) Module.pm, new (line: 207)
> |7934|2:2|image| (-5) Module.pm, create_provisioning_object (line: 522)
> 2013-05-03 06:38:36|7934|2:2|image|libvirt.pm:initialize(129)|libvirt KVM
> driver object could not be initialized to control localvmhost
> |7934|2:2|image| ---- WARNING ----
> |7934|2:2|image| 2013-05-03
> 06:38:36|7934|2:2|image|libvirt.pm:driver(829)|unable to return libvirt
> driver object, $self->{driver} is not set
> |7934|2:2|image| ( 0) libvirt.pm, driver (line: 829)
> |7934|2:2|image| (-1) libvirt.pm, initialize (line: 134)
> |7934|2:2|image| (-2) Module.pm, new (line: 207)
> |7934|2:2|image| (-3) Module.pm, create_provisioning_object (line: 522)
> |7934|2:2|image| (-4) State.pm, initialize (line: 136)
> |7934|2:2|image| (-5) Module.pm, new (line: 207)
> |7934|2:2|image| ---- WARNING ----
> |7934|2:2|image| 2013-05-03
> 06:38:36|7934|2:2|image|libvirt.pm:initialize(135)|failed to initialize
> libvirt provisioning module, driver object could not be created and
> initialized
> |7934|2:2|image| ( 0) libvirt.pm, initialize (line: 135)
> |7934|2:2|image| (-1) Module.pm, new (line: 207)
> |7934|2:2|image| (-2) Module.pm, create_provisioning_object (line: 522)
> |7934|2:2|image| (-3) State.pm, initialize (line: 136)
> |7934|2:2|image| (-4) Module.pm, new (line: 207)
> |7934|2:2|image| (-5) vcld, make_new_child (line: 567)
> |7934|2:2|image| ---- WARNING ----
> |7934|2:2|image| 2013-05-03
> 06:38:36|7934|2:2|image|Module.pm:create_provisioning_object(530)|provisioning
> object could not be created, returning 0
> |7934|2:2|image| ( 0) Module.pm, create_provisioning_object (line: 530)
> |7934|2:2|image| (-1) State.pm, initialize (line: 136)
> |7934|2:2|image| (-2) Module.pm, new (line: 207)
> |7934|2:2|image| (-3) vcld, make_new_child (line: 567)
> |7934|2:2|image| (-4) vcld, main (line: 350)
> |7934|2:2|image| ---- WARNING ----
> |7934|2:2|image| 2013-05-03
> 06:38:36|7934|2:2|image|State.pm:initialize(145)|failed to create
> provisioning object
> |7934|2:2|image| ( 0) State.pm, initialize (line: 145)
> |7934|2:2|image| (-1) Module.pm, new (line: 207)
> |7934|2:2|image| (-2) vcld, make_new_child (line: 567)
> |7934|2:2|image| (-3) vcld, main (line: 350)
> 2013-05-03
> 06:38:36|7934|2:2|image|utils.pm:delete_computerloadlog_reservation(6396)|removing
> computerloadlog entries matching loadstate = begin
> 2013-05-03
> 06:38:36|7934|2:2|image|utils.pm:delete_computerloadlog_reservation(6443)|deleted
> rows from computerloadlog for reservation id=2
> 2013-05-03 06:38:36|7934|2:2|image|State.pm:DESTROY(929)|VCL::image process
> duration: 15 seconds
> 2013-05-03
> 06:38:36|7934|2:2|image|DataStructure.pm:get_computer_private_ip_address(1641)|attempting
> to retrieve private IP address for computer: vmguest-2
> 2013-05-03 06:38:36|7934|2:2|image|OS.pm:get_file_contents(1897)|retrieved
> 14 lines from file on localhost: '/etc/hosts'
> 2013-05-03
> 06:38:36|7934|2:2|image|DataStructure.pm:get_computer_private_ip_address(1697)|returning
> IP address from /etc/hosts file: 192.168.1.2
> 2013-05-03 06:38:36|7934|2:2|image|utils.pm:getnewdbh(2474)|unable to use
> database handle stored in $ENV{dbh}
> 2013-05-03 06:38:36|7934|2:2|image|utils.pm:getnewdbh(2531)|database handle
> stored in $ENV{dbh}
> 2013-05-03 06:38:36|7934|2:2|image|utils.pm:is_inblockrequest(5760)|zero
> rows were returned from database select
> 2013-05-03
> 06:38:36|7934|2:2|image|DataStructure.pm:get_image_affiliation_name(2121)|image
> owner id: 1
> 2013-05-03
> 06:38:36|7934|2:2|image|DataStructure.pm:retrieve_user_data(1412)|attempting
> to retrieve and store data for user: user.id = '1'
> 2013-05-03
> 06:38:36|7934|2:2|image|DataStructure.pm:retrieve_user_data(1475)|data has
> been retrieved for user: admin (id: 1)
> 2013-05-03 06:38:36|7934|2:2|image|utils.pm:mail(1266)|SUCCESS -- Sending
> mail To: [email protected], PROBLEM --
> localhost|2:2|image|vcld|vmguest-2>localvmhost|vmwarelinux-vmware22-v0|admin
> |7934|2:2|image| ---- CRITICAL ----
> |7934|2:2|image| 2013-05-03
> 06:38:36|7934|2:2|image|vcld:make_new_child(574)|VCL::image object could not
> be created and initialized
> |7934|2:2|image| ( 0) vcld, make_new_child (line: 574)
> |7934|2:2|image| (-1) vcld, main (line: 350)
> 2013-05-03 06:38:36|7934|2:2|image|utils.pm:switch_state(6906)|called from
> VCL::vcld::make_new_child(575)
> 2013-05-03 06:38:36|7934|2:2|image|utils.pm:switch_state(6942)|parent:
> parent reservation ID for this request: 2
> 2013-05-03 06:38:36|7934|2:2|image|utils.pm:switch_state(6953)|previous
> request state is image, not setting request state to failed, setting request
> state to maintenance
> 2013-05-03 06:38:36|7934|2:2|image|utils.pm:insertloadlog(3665)|inserted
> computer=2, info, VCL::vcld: switching request state to maintenance
> 2013-05-03
> 06:38:36|7934|2:2|image|utils.pm:update_request_state(1545)|request 2 state
> updated to: maintenance, laststate to: image
> 2013-05-03 06:38:36|7934|2:2|image|utils.pm:switch_state(6977)|request state
> changed: image->maintenance, laststate: image->image
> 2013-05-03 06:38:36|7934|2:2|image|utils.pm:insertloadlog(3665)|inserted
> computer=2, info, VCL::vcld: request state changed to maintenance, laststate
> to image
> 2013-05-03 06:38:36|7934|2:2|image|utils.pm:insertloadlog(3665)|inserted
> computer=2, info, VCL::vcld: switching computer state to maintenance
> 2013-05-03
> 06:38:36|7934|2:2|image|utils.pm:update_computer_state(1587)|computer 2
> state updated to: maintenance
> 2013-05-03 06:38:36|7934|2:2|image|utils.pm:switch_state(6995)|computer
> vmguest-2 state changed: available->maintenance
> 2013-05-03 06:38:36|7934|2:2|image|utils.pm:switch_state(7005)|log table
> id=0, ending set to failed
> 2013-05-03 06:38:36|7934|2:2|image|utils.pm:insertloadlog(3665)|inserted
> computer=2, info, VCL::vcld: process exiting
> 2013-05-03 06:38:36|7934|2:2|image|utils.pm:switch_state(7021)|process
> exiting
> 2013-05-03 06:38:36|3717|vcld:REAPER(721)|VCL process exited for reservation
> 2, PID: 7934, signal: CHLD
> 2013-05-03 06:38:36|3717|vcld:main(167)|lastcheckin time updated for
> management node 1: 2013-05-03 06:38:36
> 2013-05-03 06:38:41|3717|vcld:main(167)|lastcheckin time updated for
> management node 1: 2013-05-03 06:38:41
>



-- 
Aaron Peeler
Program Manager
Virtual Computing Lab
NC State University

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.

Reply via email to