Hi Josh, Image captured is completed, but reservation failed. reservation failed on centos8-vm: process failed after trying to load or make available ------------------------------------------------------------------------ time: 2020-05-23 17:46:20 caller: State.pm:reservation_failed(461) ( 0) State.pm, reservation_failed (line: 461) (-1) new.pm, process (line: 328) (-2) vcld, make_new_child (line: 601) (-3) vcld, main (line: 353) ------------------------------------------------------------------------ management node: mn1 reservation PID: 10271 parent vcld PID: 9592
On Fri, May 22, 2020 at 4:07 PM nam kim <[email protected]> wrote: > Josh, > > I deleted those two computers, Cent8 and Centos8 from the VCL browser. > but when I accessed mysql db and queried computers, those two computers' > data still there. Is it supposed to purge them? > > On Fri, May 22, 2020 at 3:34 PM nam kim <[email protected]> wrote: > >> Josh, >> I buit up CentOS 8 VM and create a new computer in VCL browser. >> Afterwards, I ran /usr/local/vcl/bin/vcld --setup to capture the base >> image >> ------------------------------------------------------- >> Enter the hostname or IP address of the computer to be captured: ('c' to >> cancel): 192.168.51.31 >> Multiple VCL computers were found with the name or IP address: >> '192.168.51.31' (3 4) >> >> Choose a computer: >> 1. Cent8 >> 2. Centos8 >> >> >> -------------------------------------------------------------- >> But there two Centos8 computers? I scratched my head. >> >> >> >> On Thu, May 21, 2020 at 4:03 PM MARTINEZ, ARIEL < >> [email protected]> wrote: >> >>> Nam, >>> >>> If you run the command >>> >>> tail -f /var/log/vcld.log | grep -P '.\|[0-9]+\|[0-9]+\|6\|' >>> >>> You will see the vcld log in real-time and can see if anything fails and >>> at what step for troubleshooting. >>> >>> On May 21, 2020 6:59 PM, nam kim <[email protected]> wrote: >>> WARNING: This email originated outside the Hostos campus. Do not click >>> links or open attachments unless you recognize the sender and know the >>> content is safe. Never provide login credentials, financial or sensitive >>> details in response to an email or by clicking on a link. Report suspicious >>> emails to: [email protected] >>> >>> After running vcld --setup, it looked OK, I checked vcld.log where there >>> is not CRITICAL section. >>> But in the Browser, I still cannot make a reservation. >>> Here is the part of log as running vcld --setup >>> >>> Use Sysprep: No >>> >>> Enter the name of the image to be captured: ('c' to cancel): win10-1903 >>> >>> Added new image to database: 'win10-1903' >>> image.name<http://image.name>: vmwarewin10-win1019037-v0 >>> image.id<http://image.id>: 7 >>> imagerevision.id<http://imagerevision.id>: 6 >>> imagemeta.id<http://imagemeta.id>: 6 >>> resource.id<http://resource.id>: 16 >>> >>> >>> ---------------------------------------------------------------------------- >>> Inserted imaging request to the database: >>> request ID: 3 >>> reservation ID: 6 >>> >>> 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 -P '.\|[0-9]+\|[0-9]+\|6\|' >>> >>> >>> ---------------------------------------------------------------------------- >>> |10918|||vcld|utils.pm:xmlrpc_call|9620| username: vclsystem@Local >>> 2020-05-21 15:52:29|10918|||vcld|utils.pm:xmlrpc_call|9665|called >>> RPC::XML::Client::send_request: >>> |10918|||vcld|utils.pm:xmlrpc_call|9665| arguments: >>> XMLRPCfinishBaseImageCapture, 1, 16, 1 >>> |10918|||vcld|utils.pm:xmlrpc_call|9665| response value: >>> |10918|||vcld|utils.pm:xmlrpc_call|9665| : { >>> |10918|||vcld|utils.pm:xmlrpc_call|9665| : "status" => "success" >>> |10918|||vcld|utils.pm:xmlrpc_call|9665| : } >>> 2020-05-21 >>> 15:52:29|10918|||vcld|utils.pm:add_imageid_to_newimages|9562|added >>> image to owner's new images group, user ID: 1, image resource ID: 16, VM >>> image: 1 >>> 2020-05-21 15:52:29|10918|||vcld|utils.pm:insert_request|8351|inserted >>> new reservation for request 3: 6 >>> 2020-05-21 15:52:35|10976|||vcld|vcld:main|179|lastcheckin time updated >>> for management node 1: 1590101555 >>> 2020-05-21 15:52:35|10976|3|3|image|utils.pm:check_time|1252|request >>> state is 'image', returning 'start' >>> 2020-05-21 15:52:35|10976|3|3|image|utils.pm:run_command|9339|executed >>> command: 'ps -e -o pid,args | grep -P "vcld .\|[0-9]+\|[0-9]+\|3\|"', exit >>> status: 1, output: >>> 2020-05-21 >>> 15:52:35|10976|3|3|image|utils.pm:is_management_node_process_running|9776|process >>> is NOT running, identifier: 'vcld .\|[0-9]+\|[0-9]+\|3\|' >>> 2020-05-21 15:52:35|10976|3|3|image|vcld:main|299|reservation 3 is NOT >>> already being processed >>> 2020-05-21 15:52:35|10976|3|3|image|utils.pm:get_user_info|6696|UID >>> value is not configured for admin@Local, setting UID=501, setting >>> FEDERATED_LINUX_AUTHENTICATION=0 >>> 2020-05-21 >>> 15:52:35|10976|3|3|image|utils.pm:get_image_active_directory_domain_info|14622|image >>> 1 is not configured for Active Directory >>> 2020-05-21 >>> 15:52:35|10976|3|3|image|utils.pm:get_production_imagerevision_info|3640|retrieved >>> info from database for production revision for image identifier '1', >>> production image: 'noimage' >>> 2020-05-21 15:52:35|10976|3|3|image|utils.pm:get_computer_info|7043|skipping >>> retrieval of VM host 1 info for VM-Host to avoid recursion >>> 2020-05-21 >>> 15:52:35|10976|3|3|image|utils.pm:get_computer_info|7063|retrieved >>> info for computer: VM-Host (1) >>> 2020-05-21 15:52:35|10976|3|3|image|utils.pm:get_vmhost_info|4005|retrieved >>> VM host 1 info, VM host ID: 1, computer: VM-Host, computer ID: 1 >>> 2020-05-21 >>> 15:52:35|10976|3|3|image|utils.pm:get_computer_info|7063|retrieved >>> info for computer: VM-Host (1) >>> 2020-05-21 >>> 15:52:35|10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655|retrieved >>> connect method info for reservation 3: >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : { >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> 1 => { >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "RETRIEVAL_TIME" => "1590101555", >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "connectmethodmap" => { >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "OSid" => undef, >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "OStypeid" => 3, >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "autoprovisioned" => undef, >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "connectmethodid" => 1, >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "disabled" => 0, >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "imagerevisionid" => undef >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> }, >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "connectmethodport" => { >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> 1 => { >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "connectmethodid" => 1, >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "id" => 1, >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "port" => 22, >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "protocol" => "TCP" >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> } >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> }, >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "description" => "SSH for Linux & Unix", >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "id" => 1, >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "name" => "SSH", >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "servicename" => "ext_sshd", >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "startupscript" => "/etc/init.d/ext_sshd" >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> } >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : } >>> 2020-05-21 15:52:35|10976|3|3|image|utils.pm:get_user_info|6696|UID >>> value is not configured for admin@Local, setting UID=501, setting >>> FEDERATED_LINUX_AUTHENTICATION=0 >>> 2020-05-21 >>> 15:52:35|10976|3|3|image|utils.pm:get_imagemeta_info|3752|retrieved >>> imagemeta info: >>> |10976|3|3|image|utils.pm:get_imagemeta_info|3752| : { >>> |10976|3|3|image|utils.pm:get_imagemeta_info|3752| : "architecture" >>> => "", >>> |10976|3|3|image|utils.pm:get_imagemeta_info|3752| : "checkuser" => 1, >>> |10976|3|3|image|utils.pm:get_imagemeta_info|3752| : "id" => 6, >>> |10976|3|3|image|utils.pm:get_imagemeta_info|3752| : "postoption" => >>> "", >>> |10976|3|3|image|utils.pm:get_imagemeta_info|3752| : "rootaccess" => >>> 1, >>> |10976|3|3|image|utils.pm:get_imagemeta_info|3752| : "sethostname" => >>> "", >>> |10976|3|3|image|utils.pm:get_imagemeta_info|3752| : "subimages" => 0, >>> |10976|3|3|image|utils.pm:get_imagemeta_info|3752| : "sysprep" => 0 >>> |10976|3|3|image|utils.pm:get_imagemeta_info|3752| : } >>> 2020-05-21 >>> 15:52:35|10976|3|3|image|utils.pm:get_image_active_directory_domain_info|14622|image >>> 7 is not configured for Active Directory >>> 2020-05-21 15:52:35|10976|3|3|image|utils.pm:get_computer_info|7043|skipping >>> retrieval of VM host 1 info for VM-Host to avoid recursion >>> 2020-05-21 >>> 15:52:35|10976|3|3|image|utils.pm:get_computer_info|7063|retrieved >>> info for computer: VM-Host (1) >>> 2020-05-21 15:52:35|10976|3|3|image|utils.pm:get_vmhost_info|4005|retrieved >>> VM host 1 info, VM host ID: 1, computer: VM-Host, computer ID: 1 >>> 2020-05-21 >>> 15:52:35|10976|3|3|image|utils.pm:get_computer_info|7063|retrieved >>> info for computer: winVM (2) >>> 2020-05-21 >>> 15:52:35|10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655|retrieved >>> connect method info for reservation 6: >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : { >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> 2 => { >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "RETRIEVAL_TIME" => "1590101555", >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "connectmethodmap" => { >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "OSid" => undef, >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "OStypeid" => 1, >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "autoprovisioned" => undef, >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "connectmethodid" => 2, >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "disabled" => 0, >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "imagerevisionid" => undef >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> }, >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "connectmethodport" => { >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> 2 => { >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "connectmethodid" => 2, >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "id" => 2, >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "port" => 3389, >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "protocol" => "TCP" >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> } >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> }, >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "description" => "Remote Desktop for Windows", >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "id" => 2, >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "name" => "RDP", >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "servicename" => "TermService", >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> "startupscript" => undef >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : >>> } >>> |10976|3|3|image|utils.pm:get_reservation_connect_method_info|11655| : } >>> 2020-05-21 15:52:35|10976|3|3|image|utils.pm:get_user_info|6696|UID >>> value is not configured for admin@Local, setting UID=501, setting >>> FEDERATED_LINUX_AUTHENTICATION=0 >>> 2020-05-21 15:52:35|10976|3|3|image|vcld:main|305|retrieved request >>> information from database >>> 2020-05-21 >>> 15:52:35|10976|3|3|image|utils.pm:delete_computerloadlog_reservation|5792|deleted >>> rows from computerloadlog matching loadstate regex 'exited' for reservation >>> IDs: 3 >>> 2020-05-21 15:52:35|10976|3|3|image|utils.pm:insertloadlog|2572|inserted >>> 'begin' computerloadlog entry >>> 2020-05-21 15:52:35|10976|3|3|image|vcld:make_new_child|519|request will >>> be processed by image.pm<http://image.pm> >>> 2020-05-21 15:52:35|10976|3|3|image|vcld:make_new_child|541|created >>> child process 11202 for reservation 3, state: image, current number of >>> forked kids: 1 >>> 2020-05-21 15:52:35|10976|3|6|image|utils.pm:check_time|1252|request >>> state is 'image', returning 'start' >>> 2020-05-21 >>> 15:52:35|11202|3|3|image|utils.pm:rename_vcld_process|6112|reservation >>> count: 2 >>> 2020-05-21 >>> 15:52:35|11202|3|3|image|utils.pm:rename_vcld_process|6139|renamed >>> process to 'vcld '|11202|3|3|image|' VM-Host>VM-Host noimage admin >>> (cluster=parent)' >>> 2020-05-21 15:52:35|11202|3|3|image|State.pm:initialize|86|initializing >>> VCL::Module::State object >>> 2020-05-21 >>> 15:52:35|11202|3|3|image|Module.pm:code_loop_timeout|1564|waiting for all >>> reservation processes to begin, maximum of 300 seconds >>> |11202|3|3|image|State.pm:does_loadstate_exist_all_reservations|570| >>> does not exist for reservation IDs: 6 >>> 2020-05-21 >>> 15:52:35|11202|3|3|image|Module.pm:code_loop_timeout|1586|attempt 1: >>> waiting for all reservation processes to begin (0/300 elapsed/remaining >>> seconds), sleeping for 5 seconds >>> 2020-05-21 15:52:35|10976|3|6|image|utils.pm:run_command|9339|executed >>> command: 'ps -e -o pid,args | grep -P "vcld .\|[0-9]+\|[0-9]+\|6\|"', exit >>> status: 1, output: >>> 2020-05-21 >>> 15:52:35|10976|3|6|image|utils.pm:is_management_node_process_running|9776|process >>> is NOT running, identifier: 'vcld .\|[0-9]+\|[0-9]+\|6\|' >>> 2020-05-21 >>> 15:52:35|10976|3|6|image|utils.pm:reservation_being_processed|9275|reservation >>> 6 is NOT currently being processed >>> |10976|3|6|image|utils.pm:reservation_being_processed|9275| reservation >>> ID: 6 >>> |10976|3|6|image|utils.pm:reservation_being_processed|9275| parent >>> reservation ID: 3 >>> |10976|3|6|image|utils.pm:reservation_being_processed|9275| reservation >>> computerloadlog 'begin' entry exists: no >>> |10976|3|6|image|utils.pm:reservation_being_processed|9275| parent >>> reservation computerloadlog 'begin' entry exists: yes >>> |10976|3|6|image|utils.pm:reservation_being_processed|9275| reservation >>> process running: no >>> 2020-05-21 15:52:35|10976|3|6|image|vcld:main|299|reservation 6 is NOT >>> already being processed >>> 2020-05-21 >>> 15:52:35|10976|3|6|image|utils.pm:delete_computerloadlog_reservation|5792|deleted >>> rows from computerloadlog matching loadstate regex 'exited' for reservation >>> IDs: 6 >>> 2020-05-21 15:52:35|10976|3|6|image|utils.pm:insertloadlog|2572|inserted >>> 'begin' computerloadlog entry >>> 2020-05-21 15:52:35|10976|3|6|image|vcld:make_new_child|519|request will >>> be processed by image.pm<http://image.pm> >>> 2020-05-21 15:52:35|10976|3|6|image|vcld:make_new_child|541|created >>> child process 11210 for reservation 6, state: image, current number of >>> forked kids: 2 >>> 2020-05-21 15:52:35|11210|3|6|image|vcld:make_new_child|571|vcld >>> environment variable set to 0 for this process >>> 2020-05-21 >>> 15:52:35|11210|3|6|image|DataStructure.pm:is_parent_reservation|1156|this >>> is a child reservation, parent reservation ID for this request: 3 >>> 2020-05-21 >>> 15:52:35|11210|3|6|image|utils.pm:rename_vcld_process|6112|reservation >>> count: 2 >>> 2020-05-21 >>> 15:52:35|11210|3|6|image|utils.pm:rename_vcld_process|6139|renamed >>> process to 'vcld '|11210|3|6|image|' winVM>VM-Host >>> vmwarewin10-win1019037-v0 admin (cluster=child)' >>> 2020-05-21 15:52:35|11210|3|6|image|vcld:make_new_child|589|loaded >>> VCL::image module >>> 2020-05-21 15:52:35|11210|3|6|image|Module.pm:new|188|VCL::image object >>> created for state image, address: 3af7fa0 >>> 2020-05-21 15:52:35|11210|3|6|image|State.pm:initialize|86|initializing >>> VCL::Module::State object >>> 2020-05-21 >>> 15:52:35|11210|3|6|image|DataStructure.pm:is_parent_reservation|1156|this >>> is a child reservation, parent reservation ID for this request: 3 >>> 2020-05-21 15:52:35|11210|3|6|image|State.pm:initialize|103|obtained a >>> database handle for this state process, stored as $ENV{dbh} >>> 2020-05-21 >>> 15:52:35|11210|3|6|image|utils.pm:update_reservation_lastcheck|5499|updated >>> reservation.lastcheck to '2020-05-21 15:52:35' for reservation IDs: 6 >>> 2020-05-21 >>> 15:52:35|11210|3|6|image|Module.pm:code_loop_timeout|1564|waiting for all >>> reservation processes to begin, maximum of 300 seconds >>> 2020-05-21 >>> 15:52:35|11210|3|6|image|State.pm:does_loadstate_exist_all_reservations|577|computerloadlog >>> 'begin' entry exists for all reservations >>> 2020-05-21 >>> 15:52:35|11210|3|6|image|Module.pm:code_loop_timeout|1577|waiting for all >>> reservation processes to begin, code returned true >>> 2020-05-21 15:52:35|11210|3|6|image|State.pm:initialize|157|child >>> reservation, not updating request state to 'pending' >>> 2020-05-21 >>> 15:52:35|11210|3|6|image|Module.pm:create_os_object|449|VCL::Module::OS::Windows::Version_10::10 >>> module loaded >>> 2020-05-21 >>> 15:52:35|11210|3|6|image|Module.pm:new|192|VCL::Module::OS::Windows::Version_10::10 >>> object created for image vmwarewin10-win1019037-v0, address: 403dca0 >>> 2020-05-21 >>> 15:52:35|11210|3|6|image|DataStructure.pm:_initialize|714|image identifier >>> argument was specified: noimage, DataStructure object will contain image >>> information for the production imagerevision of this image >>> 2020-05-21 >>> 15:52:35|11210|3|6|image|utils.pm:get_production_imagerevision_info|3640|retrieved >>> info from database for production revision for image identifier 'noimage', >>> production image: 'noimage' >>> 2020-05-21 >>> 15:52:35|11210|3|6|image|DataStructure.pm:_initialize|744|retrieved data >>> for imagerevision ID: 1 >>> 2020-05-21 >>> 15:52:35|11210|3|6|image|DataStructure.pm:_initialize|760|retrieved data >>> for image ID: 1 >>> 2020-05-21 >>> 15:52:35|11210|3|6|image|Module.pm:create_mn_os_object|538|VCL::Module::OS::Linux::ManagementNode >>> module loaded >>> 2020-05-21 >>> 15:52:35|11210|3|6|image|Module.pm:new|199|VCL::Module::OS::Linux::ManagementNode >>> object created, address: 4b47c30 >>> 2020-05-21 >>> 15:52:35|11210|3|6|image|utils.pm:hostname_to_ip_address|13960|resolved >>> IP address from hostname localhost --> 127.0.0.1 >>> 2020-05-21 >>> 15:52:35|11210|3|6|image|DataStructure.pm:set_computer_private_ip_address|1675|private >>> IP address of localhost set to 127.0.0.1 >>> 2020-05-21 >>> 15:52:35|11210|3|6|image|Module.pm:create_mn_os_object|543|VCL::Module::OS::Linux::ManagementNode >>> OS object created, address: 4b47c30 >>> 2020-05-21 15:52:35|11210|3|6|image|Module.pm:set_mn_os|1177|storing >>> reference to managment node OS object (address: 4b47c30) in this >>> VCL::Module::OS::Windows::Version_10::10 object (address: 403dca0) >>> 2020-05-21 15:52:35|11210|3|6|image|Windows.pm:initialize|287|beginning >>> Windows module initialization >>> 2020-05-21 15:52:35|11210|3|6|image|Windows.pm:initialize|297|Windows >>> module initialization complete >>> [root@localhost ~]# >>> >>> On Thu, May 21, 2020 at 3:46 PM nam kim <[email protected]<mailto: >>> [email protected]>> wrote: >>> Josh, >>> After rebooting VMHost esxi, private IP changed from 192.168.51.24 to >>> 192.168.51.29. >>> Sorry. >>> >>> On Thu, May 21, 2020 at 3:42 PM nam kim <[email protected]<mailto: >>> [email protected]>> wrote: >>> Josh, >>> I cannot ssh from VCL MN(192.168.51.1) to VMHost, vmware esxi >>> (192.168.51.24). I enabled sshd of esxi with 192.168.0.10 7 from the >>> browser. >>> Hmmm... do you know how to enable SSH from 192.168.51.24 either? I will >>> check too. >>> >>> BTW, I am install SDK packages.. it's a painstaking and cumbersome. >>> >>> -Nam >>> >>> On Thu, May 21, 2020 at 10:59 AM Josh Thompson <[email protected] >>> <mailto:[email protected]>> wrote: >>> Hi Nam, >>> >>> Actually, you don't need to use the vSphere SDK if you are using >>> standalone >>> ESXi hosts. VCL can just use ssh to control them. Make sure you can >>> ssh from >>> your management node to the VM host (VM-Host, 192.168.51.24) without >>> using a >>> password, i.e. using ssh identity keys. >>> >>> Josh >>> >>> On Thursday, May 21, 2020 1:44:29 PM EDT Mike Jennings wrote: >>> > nam, >>> > >>> > The issue is this right here >>> > >>> > 2020-05-21 >>> 10:00:56|2014|2|5|image|vSphere_SDK.pm:initialize|116|vSphere >>> > SDK for Perl does not appear to be installed on this managment node, >>> unable >>> > >>> > to load VMware vSphere SDK Perl modules, error: >>> > |2014|2|5|image|vSphere_SDK.pm:initialize|116| Can't locate >>> > >>> > VMware/VIRuntime.pm in @INC (@INC contains: >>> > /usr/local/vcl-2.5.1/bin/../../../.. /usr/local/vcl-2.5.1/bin/../.. >>> > /usr/local/vcl-2.5.1/bin/../../.. >>> /usr/local/vcl-2.5.1/bin/../../../../.. >>> > /usr/local/vcl-2.5.1/bin/.. /usr/local/vcl-2.5.1/bin/../lib >>> > /usr/local/lib64/perl5 /usr/local/share/perl5 >>> /usr/lib64/perl5/vendor_perl >>> > /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at >>> (eval >>> > 352) line 1. >>> > >>> > |2014|2|5|image|vSphere_SDK.pm:initialize|116| BEGIN >>> failed--compilation >>> > >>> > aborted at (eval 352) line 1. >>> > >>> > you need to install the VMWare vSphere SDK Perl Modules >>> > >>> > You can download this from here >>> > https://code.vmware.com/web/sdk/67/vsphere-perl >>> > >>> > I am not sure what version you need to download of this, I am assuming >>> that >>> > the Perl SDK Version has to match the version of VCenter that you are >>> > currently running. >>> > >>> > Mike >>> > >>> > On Thu, May 21, 2020 at 1:39 PM nam kim <[email protected]<mailto: >>> [email protected]>> wrote: >>> > > Hi Mike, >>> > > >>> > > Windows VM's provisioning engine is already set as "VMware". but I >>> > > changed the state to "available" from "maintenance" >>> > > >>> > > On Thu, May 21, 2020 at 10:16 AM Mike Jennings <[email protected] >>> <mailto:[email protected]>> wrote: >>> > >> Nam, >>> > >> >>> > >> on the VCL web interface, do you have a provisioning engine >>> selected for >>> > >> the computer that you are trying to capture a image for? You need >>> to >>> > >> make >>> > >> sure that this is set. You can do it by going to Manage -> Manage >>> > >> Computers -> Edit Computer Profiles >>> > >> >>> > >> Select "Edit" next to the computer you are trying to capture the >>> image >>> > >> for, and then make sure the provisioning engine has been set. >>> > >> >>> > >> Mike Jennings >>> > >> >>> > >> On Thu, May 21, 2020 at 1:10 PM nam kim <[email protected]<mailto: >>> [email protected]>> wrote: >>> > >>> Hi Josh, >>> > >>> I restarted vcld --setup and the output of the browser is >>> > >>> Current Reservations >>> > >>> >>> > >>> You currently have the following normal reservations: >>> > >>> >>> > >>> Environment Starting Ending Initially requested Req ID >>> > >>> Reservation is being captured win10 Thursday, May 21, 2020, 10:00 >>> am >>> > >>> Thursday, May 21, 2020, 11:00 am Thursday, May 21, 2020, 10:00 am 2 >>> > >>> >>> > >>> This page will automatically update every 20 seconds until the >>> > >>> *Pending...* reservation is ready. >>> > >>> >>> > >>> I have not reserved anything, but 1 hour reservation setup like the >>> > >>> above? >>> > >>> >>> > >>> I also attached the vcld.log which containing CRITICAL. >>> > >>> >>> > >>> On Wed, May 20, 2020 at 2:54 PM nam kim <[email protected]<mailto: >>> [email protected]>> wrote: >>> > >>>> attached. Thanks -Nam >>> > >>>> >>> > >>>> On Wed, May 20, 2020 at 2:02 PM Josh Thompson < >>> [email protected]<mailto:[email protected]>> >>> > >>>> >>> > >>>> wrote: >>> > >>>>> -----BEGIN PGP SIGNED MESSAGE----- >>> > >>>>> Hash: SHA1 >>> > >>>>> >>> > >>>>> Hi Nam, >>> > >>>>> >>> > >>>>> That's not enough of the log file to know what went wrong. When >>> > >>>>> sending part >>> > >>>>> of a vcld.log file, it's best to look for a line toward the >>> bottom of >>> > >>>>> the file >>> > >>>>> containing CRITICAL. Then, send about 60 lines *before* the >>> CRITIAL >>> > >>>>> line all >>> > >>>>> the way through the CRITIAL line. Try attaching it instead of >>> > >>>>> including it >>> > >>>>> inline so that the lines don't get broken up. However, I don't >>> > >>>>> remember if >>> > >>>>> this mailing list will allow a .log file to be attached. I am >>> pretty >>> > >>>>> sure it >>> > >>>>> will not allow a .zip file to be attached. So, don't compress it >>> > >>>>> first. >>> > >>>>> >>> > >>>>> Josh >>> > >>>>> >>> > >>>>> On Wednesday, May 20, 2020 4:32:45 PM EDT nam kim wrote: >>> > >>>>> > HI Josh, >>> > >>>>> > this is vcld.log >>> > >>>>> > >>> > >>>>> > >>> |15115|1|4|image|DataStructure.pm:substitute_string_variables|2689| >>> > >>>>> >>> > >>>>> The >>> > >>>>> >>> > >>>>> > image cr >>> > >>>>> > eation request and the computing resource have >>> > >>>>> > >>> > >>>>> > >>> |15115|1|4|image|DataStructure.pm:substitute_string_variables|2689| >>> > >>>>> >>> > >>>>> been >>> > >>>>> >>> > >>>>> > placed >>> > >>>>> > in a safe mode. The VCL system administrators >>> > >>>>> > >>> > >>>>> > >>> |15115|1|4|image|DataStructure.pm:substitute_string_variables|2689| >>> > >>>>> >>> > >>>>> have >>> > >>>>> >>> > >>>>> > been no >>> > >>>>> > tified for manual intervention. >>> > >>>>> > >>> > >>>>> > >>> |15115|1|4|image|DataStructure.pm:substitute_string_variables|2689| >>> > >>>>> >>> > >>>>> Once >>> > >>>>> >>> > >>>>> > the iss >>> > >>>>> > ues have been resolved, you will be notified >>> > >>>>> > >>> > >>>>> > >>> |15115|1|4|image|DataStructure.pm:substitute_string_variables|2689| >>> > >>>>> >>> > >>>>> by the >>> > >>>>> >>> > >>>>> > succe >>> > >>>>> > ssful completion email or contacted directly >>> > >>>>> > >>> > >>>>> > >>> |15115|1|4|image|DataStructure.pm:substitute_string_variables|2689| >>> > >>>>> >>> > >>>>> by the >>> > >>>>> >>> > >>>>> > VCL s >>> > >>>>> > ystem administrators. >>> > >>>>> > >>> > >>>>> > >>> |15115|1|4|image|DataStructure.pm:substitute_string_variables|2689| >>> > >>>>> >>> > >>>>> If you >>> > >>>>> >>> > >>>>> > do no >>> > >>>>> > t receive a response within one business day, please >>> > >>>>> > >>> > >>>>> > >>> |15115|1|4|image|DataStructure.pm:substitute_string_variables|2689| >>> > >>>>> >>> > >>>>> reply >>> > >>>>> >>> > >>>>> > to thi >>> > >>>>> > s email. >>> > >>>>> > >>> > >>>>> > >>> |15115|1|4|image|DataStructure.pm:substitute_string_variables|2689| >>> > >>>>> >>> > >>>>> Thank >>> > >>>>> >>> > >>>>> > You, >>> > >>>>> > >>> > >>>>> > >>> |15115|1|4|image|DataStructure.pm:substitute_string_variables|2689| >>> > >>>>> >>> > >>>>> VCL Team >>> > >>>>> >>> > >>>>> > >>> |15115|1|4|image|DataStructure.pm:substitute_string_variables|2689| >>> > >>>>> > |' >>> > >>>>> > >>> > >>>>> > 2020-05-20 >>> > >>>>> > >>> 13:28:45|15115|1|4|image|Module.pm:_get_message_variable|1923|retrie >>> > >>>>> > v >>> > >>>>> > ed user message variable: >>> usermessage|image_creation_delayed|Global, >>> > >>>>> > returning a >>> > >>>>> > rray: >>> > >>>>> > >>> > >>>>> > On Sat, May 9, 2020 at 10:27 PM nam kim <[email protected] >>> <mailto:[email protected]>> wrote: >>> > >>>>> > > I followed the installation instruction and installed web >>> portal >>> > >>>>> >>> > >>>>> and >>> > >>>>> >>> > >>>>> > > management node at the same machine. Then I tried to create >>> a new >>> > >>>>> >>> > >>>>> image >>> > >>>>> >>> > >>>>> > > at >>> > >>>>> > > the web portal, >>> > >>>>> > > there is no create/upgrade image section. >>> > >>>>> > > >>> > >>>>> > > Please help. >>> > >>>>> > > >>> > >>>>> > > -Nam >>> > >>>>> >>> > >>>>> - -- >>> > >>>>> - ------------------------------- >>> > >>>>> Josh Thompson >>> > >>>>> VCL Developer >>> > >>>>> North Carolina State University >>> > >>>>> >>> > >>>>> my GPG/PGP key can be found on pool.sks-keyservers.net< >>> http://pool.sks-keyservers.net> >>> > >>>>> >>> > >>>>> 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. >>> > >>>>> -----BEGIN PGP SIGNATURE----- >>> > >>>>> >>> > >>>>> iF0EARECAB0WIQRMIdRtWXideTZDK31X8tBw1209AwUCXsWa6QAKCRBX8tBw1209 >>> > >>>>> AyhtAJ0dGo6GZjT4IMxJD28/HPwRPy0G8gCfcXtPxSuLrPWZmbIAjjPpYM14EoQ= >>> > >>>>> =hHKI >>> > >>>>> -----END PGP SIGNATURE----- >>> >>> >>> -- >>> ------------------------------- >>> Josh Thompson >>> Systems Programmer >>> Virtual Computing Lab (VCL) >>> North Carolina State University >>> >>> [email protected]<mailto:[email protected]> >>> 919-515-5323 >>> >>> my GPG/PGP key can be found at www.keyserver.net< >>> http://www.keyserver.net> >>> >>> 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. >>> >>
