Newly created image reload failing on sandbox
Hi All, I made an imaging reservation on the sandbox image and the image got created but that new image cant be reloaded on any computer. I am getting an error. VMControl error -16: Virtual machine requires user input to continue I am not sure as to what input I need to provide and I tried few means for login to the virtual machine but i think I have no access. I just read online that restarting the virtiual machine might help.. Any ideas..? Below is the detailed log when I try to make a reservation on the newly created image. 2010-07-15 13:56:56|15613|vcld:main(165)|lastcheckin time updated for management node 1: 2010-07-15 13:56:56 === OUTPUT for vcld run on 2010-07-15 13:57:02 === 2010-07-15 13:57:02|27874|vcld:main(116)|vcld environment variable set to 1 for this process 2010-07-15 13:57:02|27874|utils.pm:rename_vcld_process(7901)|renamed process to 'vcld vcld' 2010-07-15 13:57:02|27874|utils.pm:get_management_node_info(6815)|management node info retrieved from database for localhost 2010-07-15 13:57:02|27874|vcld:main(127)|retrieved management node information from database 2010-07-15 13:57:02|27874|vcld:main(140)|management_node_id environment variable set: 1 2010-07-15 13:57:02|27874|vcld:main(148)|management node checkin interval is 5 seconds 2010-07-15 13:57:02|27874|vcld:main(149)|vcld started on localhost 2010-07-15 13:57:07|27874|vcld:main(165)|lastcheckin time updated for management node 1: 2010-07-15 13:57:07 2010-07-15 13:57:12|27874|vcld:main(165)|lastcheckin time updated for management node 1: 2010-07-15 13:57:12 2010-07-15 13:57:18|27874|vcld:main(165)|lastcheckin time updated for management node 1: 2010-07-15 13:57:17 2010-07-15 13:57:18|27874|6:6|new|utils.pm:reservation_being_processed(9634)|computerloadlog 'begin' entry does NOT exist for reservation 6 2010-07-15 13:57:18|27874|6:6|new|utils.pm:reservation_being_processed(9686)|reservation is NOT currently being processed 2010-07-15 13:57:18|27874|6:6|new|vcld:main(276)|reservation 6 is NOT already being processed 2010-07-15 13:57:18|27874|6:6|new|utils.pm:get_request_info(5354)|standalone affiliation found: Local 2010-07-15 13:57:18|27874|6:6|new|utils.pm:get_management_node_info(6815)|management node info retrieved from database for localhost 2010-07-15 13:57:18|27874|6:6|new|vcld:main(281)|retrieved request information from database 2010-07-15 13:57:18|27874|6:6|new|utils.pm:get_management_node_info(6815)|management node info retrieved from database for localhost 2010-07-15 13:57:18|27874|6:6|new|DataStructure.pm:is_parent_reservation(854)|returning true: parent reservation ID for this request: 6 2010-07-15 13:57:18|27874|6:6|new|utils.pm:update_request_state(2186)|request 6 state updated to: pending, laststate to: new 2010-07-15 13:57:18|27874|6:6|new|utils.pm:insertloadlog(4710)|inserted computer=2, begin, beginning to process, state is new 2010-07-15 13:57:18|27874|6:6|new|vcld:make_new_child(509)|loaded VCL::new module 2010-07-15 13:57:18|27904|6:6|new|vcld:make_new_child(582)|vcld environment variable set to 0 for this process 2010-07-15 13:57:18|27904|6:6|new|Module.pm:new(132)|constructor called, class=VCL::new 2010-07-15 13:57:18|27904|6:6|new|Module.pm:new(154)|VCL::new object created 2010-07-15 13:57:18|27874|6:6|new|vcld:make_new_child(566)|current number of forked kids: 1 2010-07-15 13:57:18|27904|6:6|new|State.pm:initialize(85)|obtained a database handle for this state process, stored as $ENV{dbh} 2010-07-15 13:57:18|27904|6:6|new|State.pm:check_image_os(820)|no corrections need to be made, not an imaging request, returning 1 2010-07-15 13:57:18|27904|6:6|new|DataStructure.pm:is_parent_reservation(854)|returning true: parent reservation ID for this request: 6 2010-07-15 13:57:18|27904|6:6|new|utils.pm:rename_vcld_process(7863)|reservation count: 1 2010-07-15 13:57:18|27904|6:6|new|utils.pm:rename_vcld_process(7882)|PARENTIMAGE: 1 2010-07-15 13:57:18|27904|6:6|new|utils.pm:rename_vcld_process(7883)|SUBIMAGE: 0 2010-07-15 13:57:18|27904|6:6|new|utils.pm:rename_vcld_process(7901)|renamed process to 'vcld VCL::new 6:6 new' 2010-07-15 13:57:18|27904|6:6|new|DataStructure.pm:is_parent_reservation(854)|returning true: parent reservation ID for this request: 6 2010-07-15 13:57:18|27904|6:6|new|DataStructure.pm:is_parent_reservation(854)|returning true: parent reservation ID for this request: 6 2010-07-15 13:57:18|27904|6:6|new|State.pm:initialize(121)|attempting to load provisioning module: VCL::Module::Provisioning::vmware 2010-07-15 13:57:18|27904|6:6|new|State.pm:initialize(127)|VCL::Module::Provisioning::vmware module loaded 2010-07-15 13:57:18|27904|6:6|new|Module.pm:new(132)|constructor called, class=VCL::Module::Provisioning::vmware 2010-07-15 13:57:18|27904|6:6|new|Module.pm:new(154)|VCL::Module::Provisioning::vmware object created 2010-07-15 13:57:18|27904|6:6|new|vmware.pm:initialize(105)|vmware
Re: Newly created image reload failing on sandbox
Hello, I entered the command from the command line and got the output as shown: [r...@bn18-113 ~](vmhost1)# vmware-cmd /var/lib/vmware/runningvms/vmwarelinux-test12-v0vm1/vmwarelinux-test12-v0vm1.vmx answer Question (id = 981054133) :Cannot open the disk '/var/lib/vmware/images/vmwarelinux-test12-v0/vmwarelinux-test12-v0.vmdk' or one of the snapshot disks it depends on. Reason: The system cannot find the file specified. 0) OK Select choice. Press enter for default 0 : So, when I go to the path /var/lib/vmware/images/vmwarelinux-test12-v0/ I cannot see the .vmdk file instead the path is /var/lib/vmware/images/vmwarelinux-test12-v0/2vm1 Also in the log we see: 2010-07-15 13:57:22|27904|6:6|new|vmware.pm:load(658)|path is /install/vmware_images/vmwarelinux-test12-v0/vmwarelinux-test12-v0.vmdk 2010-07-15 13:57:22|27904|6:6|new|vmware.pm:load(668)|grep: /install/vmware_images/vmwarelinux-test12-v0/vmwarelinux-test12-v0.vmdk: No such file or directory Hence the problem is that I think is the image creation process doesnt not create files in correct path and so the .vmdk file cannot be found and the naming is also different. Michael, I am unable to login to the vmhost1, I think some access issue.. not sure..! Please advise! On Thu, Jul 15, 2010 at 2:45 PM, Waldron, Michael H mwald...@email.unc.eduwrote: Kiran, A message like this indicates that the virtual machine was unable to start due to some error condition. You need to logon to your VMWare host server vmhost1, and start the vmware console so you can see the message of what input it's asking for. This will give you a clue as to what is wrong. Mike Waldron Systems Specialist ITS Research Computing University of North Carolina at Chapel Hill CB #3420, ITS Manning, Rm 2509 919-962-9778 -Original Message- From: Kiran N [mailto:kiran.nellima...@gmail.com] Sent: Thursday, July 15, 2010 2:39 PM To: vcl-dev@incubator.apache.org Subject: Newly created image reload failing on sandbox Hi All, I made an imaging reservation on the sandbox image and the image got created but that new image cant be reloaded on any computer. I am getting an error. VMControl error -16: Virtual machine requires user input to continue I am not sure as to what input I need to provide and I tried few means for login to the virtual machine but i think I have no access. I just read online that restarting the virtiual machine might help.. Any ideas..? Below is the detailed log when I try to make a reservation on the newly created image. 2010-07-15 13:56:56|15613|vcld:main(165)|lastcheckin time updated for management node 1: 2010-07-15 13:56:56 === OUTPUT for vcld run on 2010-07-15 13:57:02 === 2010-07-15 13:57:02|27874|vcld:main(116)|vcld environment variable set to 1 for this process 2010-07-15 13:57:02|27874|utils.pm:rename_vcld_process(7901)|renamed process to 'vcld vcld' 2010-07-15 13:57:02|27874|utils.pm: get_management_node_info(6815)|management node info retrieved from database for localhost 2010-07-15 13:57:02|27874|vcld:main(127)|retrieved management node information from database 2010-07-15 13:57:02|27874|vcld:main(140)|management_node_id environment variable set: 1 2010-07-15 13:57:02|27874|vcld:main(148)|management node checkin interval is 5 seconds 2010-07-15 13:57:02|27874|vcld:main(149)|vcld started on localhost 2010-07-15 13:57:07|27874|vcld:main(165)|lastcheckin time updated for management node 1: 2010-07-15 13:57:07 2010-07-15 13:57:12|27874|vcld:main(165)|lastcheckin time updated for management node 1: 2010-07-15 13:57:12 2010-07-15 13:57:18|27874|vcld:main(165)|lastcheckin time updated for management node 1: 2010-07-15 13:57:17 2010-07-15 13:57:18|27874|6:6|new|utils.pm: reservation_being_processed(9634)|computerloadlog 'begin' entry does NOT exist for reservation 6 2010-07-15 13:57:18|27874|6:6|new|utils.pm: reservation_being_processed(9686)|reservation is NOT currently being processed 2010-07-15 13:57:18|27874|6:6|new|vcld:main(276)|reservation 6 is NOT already being processed 2010-07-15 13:57:18|27874|6:6|new|utils.pm: get_request_info(5354)|standalone affiliation found: Local 2010-07-15 13:57:18|27874|6:6|new|utils.pm: get_management_node_info(6815)|management node info retrieved from database for localhost 2010-07-15 13:57:18|27874|6:6|new|vcld:main(281)|retrieved request information from database 2010-07-15 13:57:18|27874|6:6|new|utils.pm: get_management_node_info(6815)|management node info retrieved from database for localhost 2010-07-15 13:57:18|27874|6:6|new|DataStructure.pm:is_parent_reservation(854)|returning true: parent reservation ID for this request: 6 2010-07-15 13:57:18|27874|6:6|new|utils.pm: update_request_state(2186)|request 6 state updated to: pending, laststate to: new 2010-07-15 13:57:18|27874|6:6|new|utils.pm:insertloadlog(4710
Re: Block reservation failing on sandbox image
Thank you! I just made the changes and started the block reservation. Will let you know if there are any issues.. On Thu, Jul 8, 2010 at 1:18 PM, Josh Thompson josh_thomp...@ncsu.eduwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You'll either need to create a new local account for this or use one of the existing ones. Either way, you'll need to add the numeric id from the user table for that user to the $xmlrpcBlockAPIUsers array in conf.php. Josh On Thursday July 08, 2010, Kiran N wrote: I guess they are not set. So, it set the below variables as: xmlrpc_username=the unityid xmlrpc_pass=user password xmlrpc_url=https://ip/index.php?mode=xmlrpccall Correct me if I am wrong... On Thu, Jul 8, 2010 at 12:09 PM, Aaron Peeler aaron_pee...@ncsu.edu wrote: Are the xmlrpc_* variables set in the vcld.conf? Aaron On 7/8/10 11:33 AM, Kiran N wrote: Hello All, I am tryin to make a block reservation for 2 machines with Centos image on Sandbox. But it fails with the message shown below in the vcld.log 2010-07-08 01:49:05|2650|vcld:main(165)|lastcheckin time updated for management node 1: 2010-07-08 01:49:05 2010-07-08 01:49:05|2650|utils.pm:check_blockrequest_time(1104)|block request start time is within start window (250 minutes from now), returning 'start' 2010-07-08 01:49:05|2650|DataStructure.pm:_automethod(697)|data structure updated: $self-blockrequest_data-{4}{MODE} |2650| blockrequest_mode = start 2010-07-08 01:49:05|2650|vcld:main(439)|block request 4 'testblockres' processing set to 1 2010-07-08 01:49:05|2650|vcld:make_new_child(509)|loaded VCL::blockrequest module 2010-07-08 01:49:05|10444|vcld:make_new_child(582)|vcld environment variable set to 0 for this process 2010-07-08 01:49:05|10444|blockrequest|Module.pm:new(132)|constructor called, class=VCL::blockrequest 2010-07-08 01:49:05|10444|blockrequest|Module.pm:new(154)|VCL::blockrequest object created 2010-07-08 01:49:05|2650|vcld:make_new_child(566)|current number of forked kids: 1 2010-07-08 01:49:05|10444|blockrequest|blockrequest.pm: initialize(84)|obtained a database handle for this state process, stored as $ENV{dbh} 2010-07-08 01:49:05|10444|blockrequest|utils.pm: rename_vcld_process(7901)|renamed process to 'vcld VCL::blockrequest 4:3 'testblockres'' 2010-07-08 01:49:05|10444|blockrequest|blockrequest.pm: initialize(97)|returning 1 2010-07-08 01:49:05|10444|blockrequest|vcld:make_new_child(591)|VCL::blockrequest object created and initialized 2010-07-08 01:49:05|10444|blockrequest|blockrequest.pm: process(141)|blockrequest id: 4 2010-07-08 01:49:05|10444|blockrequest|blockrequest.pm: process(142)|blockrequest mode: start 2010-07-08 01:49:05|10444|blockrequest|blockrequest.pm: process(143)|blockrequest image id: 10 2010-07-08 01:49:05|10444|blockrequest|blockrequest.pm: process(144)|blockrequest number machines: 2 2010-07-08 01:49:05|10444|blockrequest|blockrequest.pm: process(145)|blockrequest expire: 2010-07-08 17:00:00 2010-07-08 01:49:05|10444|blockrequest|blockrequest.pm: process(146)|blocktime id: 3 2010-07-08 01:49:05|10444|blockrequest|blockrequest.pm: process(147)|blocktime processed: 0 2010-07-08 01:49:05|10444|blockrequest|blockrequest.pm: process(148)|blocktime start: 2010-07-08 06:00:00 2010-07-08 01:49:05|10444|blockrequest|blockrequest.pm: process(149)|blocktime end: 2010-07-08 17:00:00 2010-07-08 01:49:05|10444|blockrequest|blockrequest.pm: process(154)|updated process flag on blocktime_id= 3 No recipient addresses found in header 2010-07-08 01:49:06|10444|blockrequest|utils.pm:mail(1348)|SUCCESS -- Sending mail To: , PROBLEM -- vcld |10444|blockrequest| CRITICAL |10444|blockrequest| 2010-07-08 01:49:05|10444|blockrequest|vcld:die_handler(662)|Can't use string (RPC::XML::Client::new: Missing l) as a HASH ref while strict refs in use at /usr/local/vcl/bin/../lib/VCL/utils.pm line 9879. |10444|blockrequest| ( 0) utils.pm, notify (line: 737) |10444|blockrequest| (-1) vcld, die_handler (line: 662) |10444|blockrequest| (-2) utils.pm, xmlrpc_call (line: 9879) |10444|blockrequest| (-3) utils.pm, process_block_time (line: 9832) |10444|blockrequest| (-4) blockrequest.pm, process (line: 158) |10444|blockrequest| (-5) vcld, make_new_child (line: 594) |10444|blockrequest| (-6) vcld, main (line: 442) 2010-07-08 01:49:06|10444|blockrequest|State.pm:DESTROY(905)|destructor called, ref($self)=VCL::blockrequest 2010-07-08 01:49:06|10444|blockrequest|State.pm:DESTROY(924)|number of database handles state process created: 1 2010-07-08 01:49:06|10444|blockrequest|State.pm:DESTROY(933)|process has a database handle stored in $ENV{dbh}, attempting disconnect 2010-07-08 01:49:06|10444|blockrequest
Re: Block reservation failing on sandbox image
Thanks for the input Cliff.. ! But somehow I think I am setting some parameters wrong or I am missing some information about settings.. To summarize, xmlrpc_username=ad...@local xmlrpc_pass=vclpasswordXXX xmlrpc_url=https://152.46.20.182/index.php?mode=xmlrpccall The username and pasword above is same as what I use to login in vcl web page.. Also, I changed the conf.php file $xmlrpcBlockAPIUsers = array(1,2,3 # vclsystem ); But still I am not getting a block reservation processed. I chose the start time at an interval of 4hrs to check if thats the problem. But no help! Do I need to insert anything xmlrpckey table? Please advice..! On Thu, Jul 8, 2010 at 6:43 PM, Clifton B Wood clifton.w...@morgan.eduwrote: Kiran, A friendly reminder that caught me when getting XMLRPC to work, remember to add the affiliation to the end of the xmlrpc_username. So if you are using the vclsystem user, xmlrpc_username should be vclsys...@local Good luck with getting those to work. I'm in a similar boat, at the moment. - Cliff Thank you! I just made the changes and started the block reservation. Will let you know if there are any issues.. On Thu, Jul 8, 2010 at 1:18 PM, Josh Thompson josh_thomp...@ncsu.edu wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You'll either need to create a new local account for this or use one of the existing ones. Either way, you'll need to add the numeric id from the user table for that user to the $xmlrpcBlockAPIUsers array in conf.php. Josh On Thursday July 08, 2010, Kiran N wrote: I guess they are not set. So, it set the below variables as: xmlrpc_username=the unityid xmlrpc_pass=user password xmlrpc_url=https://ip/index.php?mode=xmlrpccall Correct me if I am wrong... On Thu, Jul 8, 2010 at 12:09 PM, Aaron Peeler aaron_pee...@ncsu.edu wrote: Are the xmlrpc_* variables set in the vcld.conf? Aaron On 7/8/10 11:33 AM, Kiran N wrote: Hello All, I am tryin to make a block reservation for 2 machines with Centos image on Sandbox. But it fails with the message shown below in the vcld.log 2010-07-08 01:49:05|2650|vcld:main(165)|lastcheckin time updated for management node 1: 2010-07-08 01:49:05 2010-07-08 01:49:05|2650|utils.pm: check_blockrequest_time(1104)|block request start time is within start window (250 minutes from now), returning 'start' 2010-07-08 01:49:05|2650|DataStructure.pm:_automethod(697)|data structure updated: $self-blockrequest_data-{4}{MODE} |2650| blockrequest_mode = start 2010-07-08 01:49:05|2650|vcld:main(439)|block request 4 'testblockres' processing set to 1 2010-07-08 01:49:05|2650|vcld:make_new_child(509)|loaded VCL::blockrequest module 2010-07-08 01:49:05|10444|vcld:make_new_child(582)|vcld environment variable set to 0 for this process 2010-07-08 01:49:05|10444|blockrequest|Module.pm:new(132)|constructor called, class=VCL::blockrequest 2010-07-08 01:49:05|10444|blockrequest|Module.pm:new(154)|VCL::blockrequest object created 2010-07-08 01:49:05|2650|vcld:make_new_child(566)|current number of forked kids: 1 2010-07-08 01:49:05|10444|blockrequest|blockrequest.pm: initialize(84)|obtained a database handle for this state process, stored as $ENV{dbh} 2010-07-08 01:49:05|10444|blockrequest|utils.pm: rename_vcld_process(7901)|renamed process to 'vcld VCL::blockrequest 4:3 'testblockres'' 2010-07-08 01:49:05|10444|blockrequest|blockrequest.pm: initialize(97)|returning 1 2010-07-08 01:49:05|10444|blockrequest|vcld:make_new_child(591)|VCL::blockrequest object created and initialized 2010-07-08 01:49:05|10444|blockrequest|blockrequest.pm: process(141)|blockrequest id: 4 2010-07-08 01:49:05|10444|blockrequest|blockrequest.pm: process(142)|blockrequest mode: start 2010-07-08 01:49:05|10444|blockrequest|blockrequest.pm: process(143)|blockrequest image id: 10 2010-07-08 01:49:05|10444|blockrequest|blockrequest.pm: process(144)|blockrequest number machines: 2 2010-07-08 01:49:05|10444|blockrequest|blockrequest.pm: process(145)|blockrequest expire: 2010-07-08 17:00:00 2010-07-08 01:49:05|10444|blockrequest|blockrequest.pm: process(146)|blocktime id: 3 2010-07-08 01:49:05|10444|blockrequest|blockrequest.pm: process(147)|blocktime processed: 0 2010-07-08 01:49:05|10444|blockrequest|blockrequest.pm: process(148)|blocktime start: 2010-07-08 06:00:00 2010-07-08 01:49:05|10444|blockrequest|blockrequest.pm: process(149)|blocktime end: 2010-07-08 17:00:00 2010-07-08 01:49:05|10444|blockrequest|blockrequest.pm: process(154)|updated process flag on blocktime_id= 3 No recipient addresses found in header 2010-07-08 01:49:06|10444|blockrequest|utils.pm:mail(1348)|SUCCESS -- Sending mail
Re: Reg: JIRA issue VCL-202
Josh, Are there any updates on setting up 2 desktops/laptops/blades so that i can set up the VCL for testing. Also, as suggested by Aaron the perl code has been changed to some extent so has anyone incorporated Milen's changes to new version for connecting to Derby database. Please let me know since I am willing to test the VCL code with derby and I need the updated perl modules. On Wed, Jun 2, 2010 at 1:49 PM, Josh Thompson josh_thomp...@ncsu.eduwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Really, just about all of the web code could be tested using two desktops or even laptops. You would just need to install the web, database, and management node software on one, and vmware free server and some VMs on the other. That would at least be easier than finding and setting up blade servers. Josh On Wednesday June 02, 2010, Kiran N wrote: Thanks Josh for your suggestion ! Even I am wondering about the best possible way to get it tested. In case there is no other option then I would be needing a set of blades and some pool of computers rite? Meanwhile, in case anyone else has known of a better option pls suggest. On Wed, Jun 2, 2010 at 12:37 PM, Josh Thompson josh_thomp...@ncsu.eduwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kiran, Unfortunately, we don't actually have a default set of images available. The entries that come in the image table are there as examples for when people are creating their own base images. We probably should remove them and put examples online somewhere instead. What do others on the list think about this? We don't currently have a good solution for the fact that you really need a full VCL install to do much useful development, and doing a full install isn't a simple thing. Josh On Tuesday June 01, 2010, Kiran N wrote: Thank you Josh! The plan sounds good to me since there are actually lot of code changes and its important we document that correctly. I have a suggestion that while we are waiting for that , there are few things I need access to: There are some set of default images in database image table. I wanted to initiate the process of making a reservation on any one of those images. I needed that to test New reservation, Block reservation. So, in case there is any captured image which is used by VCL for testing purposes please let me know.This would in turn also need some computer table entries too. Overall, I would be needing some additional test data for me to test all the php files. Please let me know what can be done on that! Also I have submitted the ICLA form http://www.apache.org/licenses/#clas . Please let me know if there is anything else I am supposed to do! Any suggestions are welcome! On Tue, Jun 1, 2010 at 11:27 AM, Josh Thompson josh_thomp...@ncsu.eduwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kiran, Wow - that's a lot of changes. We're in need of more committers, and it sounds like you've done a lot of work already. So, this could be very beneficial. As I read this, I realized we (the Apache VCL community) don't have any guidelines in place for contributing modifications that affect large portions of the code. I just composed another message to this list titled guidelines for contributing large modifications to establish some guidelines. Before discussing your contributions further, lets wait on that process to get worked out so that this can be contributed in a way that most benefits the community. Thanks, Josh On Friday May 28, 2010, Kiran N wrote: Hello All, I have been studying VCL code and I want to be a contributor to the VCL development. I will identify my work as related to JIRA issue VCL-202(in database) started by Milen Paskov. There are few things I have been working on and would like to share here. - Modified vcl.sql script to connect to Apache derby database and create the database with the tables and data as in mysql. Please find the vcl-derby.sql attached with this email. - I have been working on the PHP front end code so that it can connect to both mysql and Apache derby database. I am not sure if I need to contibute to this by creating a new JIRA issue number. Please advise on this. - Regarding changes to the PHP front end, I have coded a new 'param.php' file which changes the database data fetch or update statements based on the type of database. I also assigns/creates some global variables. As stated in JIRA issue VCL-202 , there are certain keywords ('user', 'end
Re: Reg: JIRA issue VCL-202
Aaron, I am not very familiar with the back end code yet but what I can understand from what you are saying is that the perl files have changed due to changes in the database side and they need to be tested again. rite? So, does that mean that I cant test the php front end completely along with the reservation process till the back end is fixed and updated? If yes, i wil try to look into that and see how extensive are the changes. Josh, you said that 2 computers would be sufficient to do the testing part. So, can that be setup at your end for me to start testing the code. On Thu, Jun 3, 2010 at 9:06 AM, Aaron Peeler aaron_pee...@ncsu.edu wrote: On 6/2/10 2:15 PM, Kiran N wrote: Thank you Josh! Let me see if I can work that out. At this point I also had 2 questions. There are some sql statements in the perl scripts running in the back end on managment node rite? So in case the back end perl scripts are not modified, that would be using mysql and php would be getting data from derby database. As an initial phase of testing would this option work for testing front end when making a reservation? Kiran, I not sure I completely understand the question/statement. But to clarify, yes there are a number of sql statements on the backend perl side. The previous work that Milan did for the backend is likely not working anymore to support derby, as the schema and the backend datastructure has changed/extended since he worked on it. Which highlights the issue of continued support for this multiple databases and that we need to backup and bit and really design this out on the best way to build in support for multiple databases. If I mis-read the question/statement, please let me know. Aaron Secondly, the option Manage images-Edit image grouping and Manage images - Edit emage mapping These 2 options dont fetch any results/data basically when I try to do fetch groups the page just hangs(mysql db). Also, the UI expands outside the footer of the page. Do I need to get any new php files which has this issue fixed. On Wed, Jun 2, 2010 at 1:49 PM, Josh Thompsonjosh_thomp...@ncsu.edu wrote: -- Thanks, Kiran
Re: [mentors] guidelines for contributing large modifications
The plan sounds good to me! I have a question regarding the development phase of the code changes. Since the changes are huge, do we maintain different revisions of the complete code or just the changed modules are recorded/maintained. Also, what would be the procedure for the testing of the submitted code. Do we have anything called as unit test plans anywhere in the repository? If yes, that would be helpful..! On Tue, Jun 1, 2010 at 2:13 PM, Matt Hogstrom m...@hogstrom.org wrote: Great start Josh ... +1 On Jun 1, 2010, at 11:26 AM, Josh Thompson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (This message is to everyone in the community. I added [mentors] to the subject to help our mentors know it is of particular importance for them to read.) After reading Reg: JIRA issue VCL-202 by Kiran N sent on May 28, I realized we need some guidelines for contributing large modifications to the project. This is the general work flow I'd like to see happen for large modifications. Please provide comments and suggestions. Everyone's input is welcome (and desired) -- if you are interested in becoming a committer, this would be a great place to step up involvement. (1) State on the vcl-dev list what modification you'd like to make. Some background on why the existing codebase doesn't work in your situation would be useful. Remember, when you modify existing code, it affects work being done by other contributors, which can result in imposing additional work on them. (2) Propose a plan on the vcl-dev list for making the modification. There may be others that want the same modification or something similar that can be incorporated at the same time. Those people can help develop the modification. On the other hand, the modification may have a very negative affect on some other part of the project. Also, this provides an opportunity for existing contributors (those who know the codebase well) to provide input on your plan. The plan needs to include how the modification will be maintained in the future - will you continue to maintain it; will existing contributors have to pick it up and maintain it? (3) Create a JIRA issue to track implementation of the plan and start developing. This provides a way for others to track work being done on the modification and ensures information about the modification will be added to the CHANGELOG when the next release is cut. Thanks Josh - -- - --- Josh Thompson Systems Programmer Advanced Computing | VCL Developer North Carolina State University josh_thomp...@ncsu.edu my GPG/PGP key can be found at pgp.mit.edu -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.14 (GNU/Linux) iEYEARECAAYFAkwFJr0ACgkQV/LQcNdtPQNZqwCfYyeB99JT3vxuBs9+gpn+v5vs BWYAn2D5HK/Cvo1Kd5CtpEqFpsJBR8bo =dYgS -END PGP SIGNATURE- -- Thanks, Kiran
Re: Reg: JIRA issue VCL-202
Thank you Josh! Let me see if I can work that out. At this point I also had 2 questions. There are some sql statements in the perl scripts running in the back end on managment node rite? So in case the back end perl scripts are not modified, that would be using mysql and php would be getting data from derby database. As an initial phase of testing would this option work for testing front end when making a reservation? Secondly, the option Manage images-Edit image grouping and Manage images - Edit emage mapping These 2 options dont fetch any results/data basically when I try to do fetch groups the page just hangs(mysql db). Also, the UI expands outside the footer of the page. Do I need to get any new php files which has this issue fixed. On Wed, Jun 2, 2010 at 1:49 PM, Josh Thompson josh_thomp...@ncsu.eduwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Really, just about all of the web code could be tested using two desktops or even laptops. You would just need to install the web, database, and management node software on one, and vmware free server and some VMs on the other. That would at least be easier than finding and setting up blade servers. Josh On Wednesday June 02, 2010, Kiran N wrote: Thanks Josh for your suggestion ! Even I am wondering about the best possible way to get it tested. In case there is no other option then I would be needing a set of blades and some pool of computers rite? Meanwhile, in case anyone else has known of a better option pls suggest. On Wed, Jun 2, 2010 at 12:37 PM, Josh Thompson josh_thomp...@ncsu.eduwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kiran, Unfortunately, we don't actually have a default set of images available. The entries that come in the image table are there as examples for when people are creating their own base images. We probably should remove them and put examples online somewhere instead. What do others on the list think about this? We don't currently have a good solution for the fact that you really need a full VCL install to do much useful development, and doing a full install isn't a simple thing. Josh On Tuesday June 01, 2010, Kiran N wrote: Thank you Josh! The plan sounds good to me since there are actually lot of code changes and its important we document that correctly. I have a suggestion that while we are waiting for that , there are few things I need access to: There are some set of default images in database image table. I wanted to initiate the process of making a reservation on any one of those images. I needed that to test New reservation, Block reservation. So, in case there is any captured image which is used by VCL for testing purposes please let me know.This would in turn also need some computer table entries too. Overall, I would be needing some additional test data for me to test all the php files. Please let me know what can be done on that! Also I have submitted the ICLA form http://www.apache.org/licenses/#clas . Please let me know if there is anything else I am supposed to do! Any suggestions are welcome! On Tue, Jun 1, 2010 at 11:27 AM, Josh Thompson josh_thomp...@ncsu.eduwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kiran, Wow - that's a lot of changes. We're in need of more committers, and it sounds like you've done a lot of work already. So, this could be very beneficial. As I read this, I realized we (the Apache VCL community) don't have any guidelines in place for contributing modifications that affect large portions of the code. I just composed another message to this list titled guidelines for contributing large modifications to establish some guidelines. Before discussing your contributions further, lets wait on that process to get worked out so that this can be contributed in a way that most benefits the community. Thanks, Josh On Friday May 28, 2010, Kiran N wrote: Hello All, I have been studying VCL code and I want to be a contributor to the VCL development. I will identify my work as related to JIRA issue VCL-202(in database) started by Milen Paskov. There are few things I have been working on and would like to share here. - Modified vcl.sql script to connect to Apache derby database and create the database with the tables and data as in mysql. Please find the vcl-derby.sql attached with this email. - I have been working on the PHP front end code so that it can connect to both mysql and Apache derby database. I am not sure if I need to contibute to this by creating a new JIRA issue number
Re: Reg: JIRA issue VCL-202
Thank you Josh! The plan sounds good to me since there are actually lot of code changes and its important we document that correctly. I have a suggestion that while we are waiting for that , there are few things I need access to: There are some set of default images in database image table. I wanted to initiate the process of making a reservation on any one of those images. I needed that to test New reservation, Block reservation. So, in case there is any captured image which is used by VCL for testing purposes please let me know.This would in turn also need some computer table entries too. Overall, I would be needing some additional test data for me to test all the php files. Please let me know what can be done on that! Also I have submitted the ICLA form http://www.apache.org/licenses/#clas. Please let me know if there is anything else I am supposed to do! Any suggestions are welcome! On Tue, Jun 1, 2010 at 11:27 AM, Josh Thompson josh_thomp...@ncsu.eduwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kiran, Wow - that's a lot of changes. We're in need of more committers, and it sounds like you've done a lot of work already. So, this could be very beneficial. As I read this, I realized we (the Apache VCL community) don't have any guidelines in place for contributing modifications that affect large portions of the code. I just composed another message to this list titled guidelines for contributing large modifications to establish some guidelines. Before discussing your contributions further, lets wait on that process to get worked out so that this can be contributed in a way that most benefits the community. Thanks, Josh On Friday May 28, 2010, Kiran N wrote: Hello All, I have been studying VCL code and I want to be a contributor to the VCL development. I will identify my work as related to JIRA issue VCL-202(in database) started by Milen Paskov. There are few things I have been working on and would like to share here. - Modified vcl.sql script to connect to Apache derby database and create the database with the tables and data as in mysql. Please find the vcl-derby.sql attached with this email. - I have been working on the PHP front end code so that it can connect to both mysql and Apache derby database. I am not sure if I need to contibute to this by creating a new JIRA issue number. Please advise on this. - Regarding changes to the PHP front end, I have coded a new 'param.php' file which changes the database data fetch or update statements based on the type of database. I also assigns/creates some global variables. As stated in JIRA issue VCL-202 , there are certain keywords ('user', 'end', 'order' and 'key')which cannot be used as database columns or table names in derby , I have created global variables which store the values of these keyword based on mysql/derby. - Apart from this in the code there are some small changes like DATA_FORMAT() , UNIX_TIMESTAMP() functions is not recognized in derby. So they have been changed accordingly. I am working on a document to provide the complete list of changes between mysql and derby from the PHP front end code perspective. - Regarding connecting PHP to Apache derby, db2 runtime client with ibm_db2 extension is used. PDO_ODBC is the data access interface for PHP which compiles directly against DB2 librraries for native access to DB2. PHP is complied with ibm_db2 extension and configured accordingly. Please refer to below links for better understanding. References: http://coffeecode.net/uploads/talks/phptropics-ibm_db2.pdf http://www.db2ude.com/?q=node/81 I am working on providing more explanatory documents which would help doing the setup for testing and checking the connection of PHP with derby but this is the initial idea that i shared. Presently, I have done the setup and working on the PHP front end code. I will be sharing that also with you probably sometime next week. Please provide me feedback and suggestions on this! Let me know for any questions. - -- - --- Josh Thompson Systems Programmer Advanced Computing | VCL Developer North Carolina State University josh_thomp...@ncsu.edu 919-515-5323 my GPG/PGP key can be found at pgp.mit.edu -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.14 (GNU/Linux) iEYEARECAAYFAkwFJs8ACgkQV/LQcNdtPQOqdACffPjcOW3GrgtDVDSdV27eGo4b LIkAn1MJDxt2QWodgoYYK6ny3MMdwghu =FrTq -END PGP SIGNATURE- -- Thanks, Kiran
Re: Linux base image creation
Thanks Andy! The changes you suggested actually worked for Ubuntu images. I could configure the two ssh deamons to running state. On Mon, May 17, 2010 at 2:09 PM, Andy Kurth andy_ku...@ncsu.edu wrote: Hello, I realize I worded the last message poorly. I meant to run ps to list the sshd processes so you could see the command that was used to start them. This would tell you whether or not the -f options was being used when ext_ssh was started. The problems you are seeing are mainly with the ext_ssh file. The instructions were written for Redhat and need to be reworked for Ubuntu because its service startup scripts have a different structure. I took a look at an Ubuntu installation. There is no OPTIONS variable in /etc/init.d/ssh so the OPTIONS= line you added has no effect. Instead, it uses a SSHD_OPTS variable. Find the init-functions line and add the following line after it: SSHD_OPTS=-f /etc/ssh/external_sshd_config Change all sshd.pid strings to ext_sshd.pid. The following sed command should work: sed -i -r -e s/(ext_)?sshd\.pid/ext_sshd.pid/g /etc/init.d/ext_ssh I have attached a script I used to configure sshd on my Ubuntu test image. It's pretty raw but it works for me. Please reply if you have any problems with it. I'll update the documentation with this script if it's working properly. Hope this helps, Andy Kiran N wrote: Thanks Andy for the response! After stopping all the SSH services, I restarted the external ssh by the command /etc/init.d/ext_ssh start and as you said, ext_ssh is listening on the private IP address. I am attaching the ssh, ext_ssh and external_ssh_config files. Also the output for command used to start the external sshd process: ps -ef | grep sshd is not as you said. Hope this helps to figure out the problem! -- Thanks, Kiran
Re: Linux base image creation
Thanks Andy for the response! After stopping all the SSH services, I restarted the external ssh by the command /etc/init.d/ext_ssh start and as you said, ext_ssh is listening on the private IP address. I am attaching the ssh, ext_ssh and external_ssh_config files. Also the output for command used to start the external sshd process: ps -ef | grep sshd is not as you said. Hope this helps to figure out the problem! On Fri, May 14, 2010 at 11:22 AM, Andy Kurth andy_ku...@ncsu.edu wrote: Assuming you have a way to access the console without SSH, try stopping all sshd processes and then start ext_sshd. Check which address it's listening on: netstat -l -n | grep ':22' You should see something like: tcp 0 0 IP address:22 0.0.0.0:* LISTEN If it's listening on the private address, then there's a problem with either the ext_sshd script or /etc/ssh/external_sshd_config. Please include the contents of these files. If it's listening on the public address and you still can't connect, check the firewall. Also check the command used to start the external sshd process: ps -ef | grep sshd You should see something like: /usr/sbin/sshd -f /etc/ssh/external_sshd_config Hope this helps, Andy Kiran N wrote: Hello All, I am trying to create an Ubuntu base image. I have followed the instructions as given in https://cwiki.apache.org/VCL/create-a-linux-base-image.html I am able to ssh on the private network(eth1) from my management node but I am unable to ssh on the public network(eth0). I start my ssh on public interface by /etc/init.d/ext_ssh start and it shows a message saying SSH started successfully but actually there is no ssh port which listens on public interface. Hence I am unable to ssh remotely. Are there any extra changes to be made for an ubuntu base image? Any input will be helpful! -- Thanks, Kiran #! /bin/sh ### BEGIN INIT INFO # Provides: ext_ssh # Required-Start: $remote_fs $syslog # Required-Stop:$remote_fs $syslog # Default-Start:2 3 4 5 # Default-Stop: 1 # Short-Description:OpenBSD Secure Shell server ### END INIT INFO set -e OPTIONS='-f /etc/ssh/external_sshd_config' PID_FILE=/var/run/ext_sshd.pid # /etc/init.d/ssh: start and stop the OpenBSD secure shell(tm) daemon test -x /usr/sbin/ext_ssh || exit 0 ( /usr/sbin/ext_ssh -\? 21 | grep -q OpenSSH ) 2/dev/null || exit 0 export SSHD_OOM_ADJUST=-17 if test -f /etc/default/ext_ssh; then . /etc/default/ext_ssh fi # Are we in a virtual environment that doesn't support modifying # /proc/self/oom_adj? if grep -q 'envID:.*[1-9]' /proc/self/status; then unset SSHD_OOM_ADJUST fi . /lib/lsb/init-functions if [ -n $2 ]; then SSHD_OPTS=$SSHD_OPTS $2 fi # Are we running from init? run_by_init() { ([ $previous ] [ $runlevel ]) || [ $runlevel = S ] } check_for_no_start() { # forget it if we're trying to start, and /etc/ssh/sshd_not_to_be_run exists if [ -e /etc/ssh/sshd_not_to_be_run ]; then if [ $1 = log_end_msg ]; then log_end_msg 0 fi if ! run_by_init; then log_action_msg OpenBSD Secure Shell server not in use (/etc/ssh/sshd_not_to_be_run) fi exit 0 fi } check_dev_null() { if [ ! -c /dev/null ]; then if [ $1 = log_end_msg ]; then log_end_msg 1 || true fi if ! run_by_init; then log_action_msg /dev/null is not a character device! fi exit 1 fi } check_privsep_dir() { # Create the PrivSep empty dir if necessary if [ ! -d /var/run/ext_ssh ]; then mkdir /var/run/ext_ssh chmod 0755 /var/run/ext_ssh fi } check_config() { if [ ! -e /etc/ssh/sshd_not_to_be_run ]; then /usr/sbin/ext_ssh -t || exit 1 fi } export PATH=${PATH:+$PATH:}/usr/sbin:/sbin case $1 in start) check_privsep_dir check_for_no_start check_dev_null log_daemon_msg Starting OpenBSD Secure Shell server ext_ssh if start-stop-daemon --start --quiet --oknodo --pidfile /var/run/ext_ssh.pid --exec /usr/sbin/ext_ssh -- $SSHD_OPTS; then log_end_msg 0 else log_end_msg 1 fi ;; stop) log_daemon_msg Stopping OpenBSD Secure Shell server ext_ssh if start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/ext_ssh.pid; then log_end_msg 0 else log_end_msg 1 fi ;; reload|force-reload) check_for_no_start check_config log_daemon_msg Reloading OpenBSD Secure Shell server's configuration ext_ssh if start-stop-daemon --stop --signal 1 --quiet --oknodo --pidfile /var/run/ext_ssh.pid --exec /usr/sbin/ext_ssh; then log_end_msg 0 else log_end_msg 1 fi ;; restart) check_privsep_dir check_config log_daemon_msg Restarting OpenBSD
Linux base image creation
Hello All, I am trying to create an Ubuntu base image. I have followed the instructions as given in https://cwiki.apache.org/VCL/create-a-linux-base-image.html I am able to ssh on the private network(eth1) from my management node but I am unable to ssh on the public network(eth0). I start my ssh on public interface by /etc/init.d/ext_ssh start and it shows a message saying SSH started successfully but actually there is no ssh port which listens on public interface. Hence I am unable to ssh remotely. Are there any extra changes to be made for an ubuntu base image? Any input will be helpful! -- Thanks, Kiran
Multiple reservation error
Hello All, I have an existing Windows 2003 image which I have configured with VCL.I am able to make 1 reservation successfully on the image on my vmguest vcl01. But when I try to make more than one reservation, the second machine (vcl02)boots up but I see an IP address conflict (in VI client).Hence this machine is unable to be assigned an IP. When seen in vcld.log I can see that sshd is not active on vcl02. Also, I cannot see the VCL folder in the path C:\cygwin\home\root on the vmguest machines. Does it indicate that the files are not copied over to that machine during image capture? Is this the problem for the issue above. Please suggest! -- Thanks, Kiran
Re: Problem with ssh on the vmguest machine
Hello All, I am able to make a reservation now on the windows image. The problem was with the cygwin configuration.I reinstalled it and it worked fine! Just in case this is helpful to anyone what I analyzed was: In case there are multiple accounts on your machine , then make sure the root account has admin access and install cygwin by logging into as root user. Thanks again to all for all the help. I have few more sysprep installation steps to follow.. I hope I face less obstacles hereafter.. :) On Fri, Apr 16, 2010 at 5:29 PM, Kiran N kiran.nellima...@gmail.com wrote: Thank you Andy ! I will try that out and hopefully I come out with flying colors :) On Fri, Apr 16, 2010 at 5:02 PM, Andy Kurth andy_ku...@ncsu.edu wrote: Ryan is correct. The root account is a normal Windows account in the Administrators group. The instructions/scripts do apply to all versions of Windows. You can create the root account via the GUI or run: net user root /ADD net user root password net localgroup Administrators root /ADD Once the account is created, logout and login as root. Follow the steps on this page: http://cwiki.apache.org/confluence/pages/viewpage.action?pageId=4589006 I would uninstall Cygwin and reinstall it per the instructions since your image had it preinstalled. I don't think there is an uninstaller. You can just delete C:\cygwin. Also, it's important to be logged in as root whenever Cygwin SSHD is configured so that the permissions and ownership get configured correctly. -Andy Brian Copcea wrote: Hi Ryan- Thanks for writing. Those scripts should have been run, but I can't say for sure that everything was done (I configured this a while back and thought I had been thorough but obviously wasn't somewhere!). We'll check that definitely, but I think the problems is due to having a pre-installed and pre-configured Cygwin that came with the image we inherited to use, and trying to get the proper users, permissions and ssh configuration set. Sincerely, Brian Copcea IBM WSTI Intern On Fri, April 16, 2010 11:33 am, Ryan Johnson wrote: I believe the 'root' user in this case is just an administrator account with the name root. I'm not sure if this is applicable to Windows 2003, but have you run the scripts provided with the instructions for running Cygwin? On Fri, Apr 16, 2010 at 11:22 AM, Brian Copcea bccop...@ncsu.edu wrote: Hello Andy, Kiran- The Watcher account (and some of the others listed I think) was a special pre-created account on the image we were provided to use for our VCL installation - we were given a Windows 2003 image with some baggage and random things installed, and that's what we are trying to get working on this install. I thought that I had configured a new root user for that Windows image and for cygwin and installed the proper scripts into the home space of the root user of cygwin. However, I must have missed a step or many steps or all of them ;) Andy, perhaps you could detail the process of creating a new root user for Windows and getting that root user properly configured in Cygwin? When I did it, I used tutorials found on Google and such to help out, but that could be what messed things up (I'm still puzzled by other things not existing now on the image though). Maybe you have something from a previous e-mail you can cut and paste for us so you don't have to spend a lot of time typing that out. And I know you're busy, so if you don't have time Kiran and I will figure this out ourselves. Thanks for your help! Sincerely, Brian Copcea IBM WSTI Intern Original Message Subject: Re: Problem with ssh on the vmguest machine From:Kiran N kiran.nellima...@gmail.com Date:Fri, April 16, 2010 10:09 am To: vcl-dev@incubator.apache.org -- Andy, I cant see any folder as VCL under the path C:\cygwin\home\root\ Are there any extra steps of install which I am missing.I followed this link https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=4589006 Please suggest! Thanks Kiran On Fri, Apr 16, 2010 at 8:53 AM, Andy Kurth andy_ku...@ncsu.edu wrote: This is very odd. Do you have any idea where the watcher name may have come from? The AutoAdminLogin registry keys are set by autologon_enable.cmd. This is what causes root to automatically be logged on when an image is booted for the fist time. Please take a look at the following file on your image: C:\cygwin\home\root\VCL\Scripts\autologon_enable.cmd What do you see for the following lines? set USERNAME=root set PASSWORD=should match setting in vcld.conf -Andy Kiran N wrote: Thanks Andy! I did have to manually start the cygwin SSHD service and I did not get any credentials error when I started up. It logged me in as watcher(so its
Re: Problem with ssh on the vmguest machine
Thanks Andy! I did have to manually start the cygwin SSHD service and I did not get any credentials error when I started up. It logged me in as watcher(so its configured to that I guess when vm starts up). When I checked for root account couldnt find one in /home directory. Also the /etc/passwd files are different when compared between vmhost win2003 machine and the new vmguest?(vcl01,which starts up when I make a reservation). Below are the list of accounts: Administrator watcher kaharris maestro sshd cyg_server Guest mjohnston SUPPORT_388945a0 hope this info helps.. ! Thanks! kiran On Thu, Apr 15, 2010 at 9:56 AM, Andy Kurth andy_ku...@ncsu.edu wrote: It would be helpful if you could provide some more information. Did you have to manually start the Cygwin SSHD service while logged in as another user? Did it display a credentials error when you first tried to start it? If so, what username is the service configured to use when the VM comes up? Nothing in the code should delete the root account. It would be helpful to know what accounts are listed when you run net user? Regards, Andy Kiran N wrote: Hello all, I have my Windows 2003 image configured with cygwin.There is a root account and a password has been set for that. I even updated the vcld.conf file with the password. When I make a reservation, the vguest(vcl01) machine starts but fails when it tries to do an ssh on it.. I tried running /usr/bin/ssh -i /etc/vcl/vcl.key -l root -p 22 -x vcl01 'uname -s' 21 from command line says Host key authentication failed. When I start the cygwin on that vmguest machine, I saw that there is no root account so I infer thats why the above ssh fails.. Do I need to add root account again on every vmguest machine? Please help!! A part of the log file is below. 2010-04-14 12:41:28|20587|34:34|reload|utils.pm: run_ssh_command(6167)|executing SSH command on vcl01: |20587|34:34|reload| /usr/bin/ssh -i /etc/vcl/vcl.key -l root -p 22 -x vcl01 'uname -s' 21 2010-04-14 12:41:31|22231|vcld:main(165)|lastcheckin time updated for management node 1: 2010-04-14 12:41:31 2010-04-14 12:41:36|22231|vcld:main(165)|lastcheckin time updated for management node 1: 2010-04-14 12:41:36 |20587|34:34|reload| WARNING |20587|34:34|reload| 2010-04-14 12:41:36|20587|34:34|reload|utils.pm:run_ssh_command(6239)|attempt 1/3: failed to execute SSH command on vcl01: uname -s, exit status: 255, SSH exits with the exit status of the remote command or with 255 if an error occurred, output: |20587|34:34|reload| ssh output (uname -s): Permission denied, please try again. |20587|34:34|reload| ssh output (uname -s): Permission denied, please try again. |20587|34:34|reload| ssh output (uname -s): Received disconnect from 10.0.0.10: 2: Too many authentication failures for root |20587|34:34|reload| ( 0) utils.pm, notify (line: 727) |20587|34:34|reload| (-1) utils.pm, run_ssh_command (line: 6239) |20587|34:34|reload| (-2) utils.pm, _sshd_status (line: 2745) |20587|34:34|reload| (-3) vmware.pm, load (line: 847) |20587|34:34|reload| (-4) new.pm, reload_image (line: 665) |20587|34:34|reload| (-5) new.pm, process (line: 266) |20587|34:34|reload| (-6) vcld, make_new_child (line: 594) -- Thanks, Kiran
Re: Help with external DHCP issue
Thanks to all.. The good news is that finally the network is setup and it shows both the private and public IP addresses in correct manner.The problem was with the mac addresses. On Tue, Apr 13, 2010 at 1:31 PM, Aaron Peeler aaron_pee...@ncsu.edu wrote: Is dhcpd running correctly on the private network, the vm guest is listed correct mac address, etc? If so, check the message log. Are there any dhcp entries, dhcpinform, dhcprequest, dhcpack, denial, etc related to the guest? -A On 4/13/10 11:42 AM, Kiran N wrote: Thanks Vinay, Aaron for the help! I tried changing it to 5 and now.. it does recognize the 2 networks( as seen in VI client) in the correct manner. It shows the public IP address, but no private IP address. Also, in the vcld.log, it still shows the message: 2010-04-13 10:23:35|15069|35:35|reload| vmware.pm:load(856)|sshd is NOT active on vcl01 yet When seen in console in VI client, there is limited or no network connectivity status.. [PS:attached is the new vcx file] thanks Kiran -- Thanks, Kiran
Problem with ssh on the vmguest machine
Hello all, I have my Windows 2003 image configured with cygwin.There is a root account and a password has been set for that. I even updated the vcld.conf file with the password. When I make a reservation, the vguest(vcl01) machine starts but fails when it tries to do an ssh on it.. I tried running /usr/bin/ssh -i /etc/vcl/vcl.key -l root -p 22 -x vcl01 'uname -s' 21 from command line says Host key authentication failed. When I start the cygwin on that vmguest machine, I saw that there is no root account so I infer thats why the above ssh fails.. Do I need to add root account again on every vmguest machine? Please help!! A part of the log file is below. 2010-04-14 12:41:28|20587|34:34|reload|utils.pm:run_ssh_command(6167)|executing SSH command on vcl01: |20587|34:34|reload| /usr/bin/ssh -i /etc/vcl/vcl.key -l root -p 22 -x vcl01 'uname -s' 21 2010-04-14 12:41:31|22231|vcld:main(165)|lastcheckin time updated for management node 1: 2010-04-14 12:41:31 2010-04-14 12:41:36|22231|vcld:main(165)|lastcheckin time updated for management node 1: 2010-04-14 12:41:36 |20587|34:34|reload| WARNING |20587|34:34|reload| 2010-04-14 12:41:36|20587|34:34|reload|utils.pm:run_ssh_command(6239)|attempt 1/3: failed to execute SSH command on vcl01: uname -s, exit status: 255, SSH exits with the exit status of the remote command or with 255 if an error occurred, output: |20587|34:34|reload| ssh output (uname -s): Permission denied, please try again. |20587|34:34|reload| ssh output (uname -s): Permission denied, please try again. |20587|34:34|reload| ssh output (uname -s): Received disconnect from 10.0.0.10: 2: Too many authentication failures for root |20587|34:34|reload| ( 0) utils.pm, notify (line: 727) |20587|34:34|reload| (-1) utils.pm, run_ssh_command (line: 6239) |20587|34:34|reload| (-2) utils.pm, _sshd_status (line: 2745) |20587|34:34|reload| (-3) vmware.pm, load (line: 847) |20587|34:34|reload| (-4) new.pm, reload_image (line: 665) |20587|34:34|reload| (-5) new.pm, process (line: 266) |20587|34:34|reload| (-6) vcld, make_new_child (line: 594) -- Thanks, Kiran
Re: Help with external DHCP issue
Yes.. it does match! In this installation, the visrtualswitch0 is the public port and virtualswitch1 is private. They are named exactly same as the virtual machine configuration.. Thanks, Kiran On Tue, Apr 13, 2010 at 9:23 AM, Aaron Peeler aaron_pee...@ncsu.edu wrote: Hi Kiran, Do your vmprofile adapter names virtualswitch0 and virtualswitch1 match the adapters listed on your esx server? Aaron On 4/12/10 3:11 PM, Kiran N wrote: hello Josh, I am facing some what similar issue.I have added a new computer host(virtual machine). I checked the dhcp.conf files, the addressing, etc/hosts file. But on making a reservation, my virtual machine does startup, but its not getting any IP addresses assigned. Its unable to detect any networks created, I have renamed the .vmdk and -flat.vmdk files according to the naming convention (Note: we are using ESX provisioning and it is a Windows 2003 image). Is there anythin specific you wanted me to check?? Thanks, Kiran On Fri, Feb 19, 2010 at 4:15 PM, Josh Thompsonjosh_thomp...@ncsu.edu wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeff, VCL will handle creating the virtual machines on the VMWare host. It manages both the vmdk and vmx files, and then registers/unregisters the virtual machines as needed. What it doesn't currently do is automatically create new virtual machines in its own database or dynamically assign virtual machines to VM hosts. This is what you should do next time you need to add virtual machines: * look at the highest MAC address assigned in the computers table * go to the Add Multiple Computers page, enter the MAC address that would come after what you looked up, and enter the rest of the information required on that page. * get the DHCP info and add it to your dhcpd.conf file * add entries to /etc/hosts for the virtual machines * go to the Virtual Hosts section of the site and assign the new virtual machines to VM hosts After doing that, vcld should be able to provision reservations for the virtual machines. Aaron/Andy: correct me if I missed anything. Josh On Friday February 19, 2010, Jeffrey Wisman wrote: I did use the Add Multiple for this, but I didn't put a MAC as we hadn't created virtual machines for these (and thus had no MAC to use). I created 10 computers using add multiple. I plan to create 10 virtual machines on the VMWare host and get their MAC addresses and add them to the 10 computers in the computer table that were created with add multiple. From what I understand, this should resolve it. Correct me if I'm wrong. To save some time next time, I'd have created the 10 virtual machines first, grabbed the first MAC address, and then used the Add Multiple with that MAC address. I'd still have to actually create (or clone) the 10 virtual machines though. Thanks, Jeff On Fri, Feb 19, 2010 at 10:35 AM, Josh Thompson josh_thomp...@ncsu.eduwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday February 19, 2010, Jeffrey Wisman wrote: Am I misunderstanding, or do I need to create 10 virtual machines to go with my 10 computers and then assign the mac address from each virtual machine to each computer? This doesn't seem especially scalable, so I hope I'm misunderstanding and that there is really something else going on. Jeff, The Add Multiple checkbox on Manage Computers-Edit Computer Information is designed to help with this. You should only need to enter the information on the Add Multiple Computers page that link takes you to one time to generate as many virtual machines as you want. Make sure you enter the start/end private IPs and the start MAC (also make sure to select available as the state as there's currently a bug preventing adding machines directly in the maintenance state). After submitting that page, you will also be able to generate the additional DHCP info for your dhcpd.conf file. You will need to enter the private IP of your management node to get that file. We have it slated for version 2.4 to dynamically manage the virtual hosts/guests for you. Josh - -- - --- Josh Thompson Systems Programmer Advanced Computing | VCL Developer North Carolina State University josh_thomp...@ncsu.edu 919-515-5323 my GPG/PGP key can be found at pgp.mit.edu -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFLftn6V/LQcNdtPQMRAsdLAJ9U9c3CIiiDN78lVNlyE9m8vCEcUQCfQH8v mcT86d46Nq32IXmz5dJuij4= =EQA0 -END PGP SIGNATURE- - -- - --- Josh Thompson Systems Programmer Advanced Computing | VCL Developer North Carolina State University josh_thomp...@ncsu.edu 919-515-5323 my GPG/PGP key can be found at pgp.mit.edu -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFLfvFfV/LQcNdtPQMRAl1hAJ9uvh+ZPex679zlR6MV3DqJsfMfqgCeN3wg F81YtCL
Re: Help with external DHCP issue
In addition to the previous email, the base Windows 2003 image does power on and take the network settings in the correct manner(seen in VI client). When I try to make a reservation on this image, the new virtual machine gets powered on but is unable to detect the networkname or devname. I checked the .vmdk files created and are exactly the same. Thanks, Kiran On Tue, Apr 13, 2010 at 9:33 AM, Kiran N kiran.nellima...@gmail.com wrote: Yes.. it does match! In this installation, the visrtualswitch0 is the public port and virtualswitch1 is private. They are named exactly same as the virtual machine configuration.. Thanks, Kiran On Tue, Apr 13, 2010 at 9:23 AM, Aaron Peeler aaron_pee...@ncsu.eduwrote: Hi Kiran, Do your vmprofile adapter names virtualswitch0 and virtualswitch1 match the adapters listed on your esx server? Aaron On 4/12/10 3:11 PM, Kiran N wrote: hello Josh, I am facing some what similar issue.I have added a new computer host(virtual machine). I checked the dhcp.conf files, the addressing, etc/hosts file. But on making a reservation, my virtual machine does startup, but its not getting any IP addresses assigned. Its unable to detect any networks created, I have renamed the .vmdk and -flat.vmdk files according to the naming convention (Note: we are using ESX provisioning and it is a Windows 2003 image). Is there anythin specific you wanted me to check?? Thanks, Kiran On Fri, Feb 19, 2010 at 4:15 PM, Josh Thompsonjosh_thomp...@ncsu.edu wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeff, VCL will handle creating the virtual machines on the VMWare host. It manages both the vmdk and vmx files, and then registers/unregisters the virtual machines as needed. What it doesn't currently do is automatically create new virtual machines in its own database or dynamically assign virtual machines to VM hosts. This is what you should do next time you need to add virtual machines: * look at the highest MAC address assigned in the computers table * go to the Add Multiple Computers page, enter the MAC address that would come after what you looked up, and enter the rest of the information required on that page. * get the DHCP info and add it to your dhcpd.conf file * add entries to /etc/hosts for the virtual machines * go to the Virtual Hosts section of the site and assign the new virtual machines to VM hosts After doing that, vcld should be able to provision reservations for the virtual machines. Aaron/Andy: correct me if I missed anything. Josh On Friday February 19, 2010, Jeffrey Wisman wrote: I did use the Add Multiple for this, but I didn't put a MAC as we hadn't created virtual machines for these (and thus had no MAC to use). I created 10 computers using add multiple. I plan to create 10 virtual machines on the VMWare host and get their MAC addresses and add them to the 10 computers in the computer table that were created with add multiple. From what I understand, this should resolve it. Correct me if I'm wrong. To save some time next time, I'd have created the 10 virtual machines first, grabbed the first MAC address, and then used the Add Multiple with that MAC address. I'd still have to actually create (or clone) the 10 virtual machines though. Thanks, Jeff On Fri, Feb 19, 2010 at 10:35 AM, Josh Thompson josh_thomp...@ncsu.eduwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday February 19, 2010, Jeffrey Wisman wrote: Am I misunderstanding, or do I need to create 10 virtual machines to go with my 10 computers and then assign the mac address from each virtual machine to each computer? This doesn't seem especially scalable, so I hope I'm misunderstanding and that there is really something else going on. Jeff, The Add Multiple checkbox on Manage Computers-Edit Computer Information is designed to help with this. You should only need to enter the information on the Add Multiple Computers page that link takes you to one time to generate as many virtual machines as you want. Make sure you enter the start/end private IPs and the start MAC (also make sure to select available as the state as there's currently a bug preventing adding machines directly in the maintenance state). After submitting that page, you will also be able to generate the additional DHCP info for your dhcpd.conf file. You will need to enter the private IP of your management node to get that file. We have it slated for version 2.4 to dynamically manage the virtual hosts/guests for you. Josh - -- - --- Josh Thompson Systems Programmer Advanced Computing | VCL Developer North Carolina State University josh_thomp...@ncsu.edu 919-515-5323 my GPG/PGP key can be found at pgp.mit.edu -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFLftn6V
Re: Help with external DHCP issue
Yes.. its the initial vm created.. Please find the files are attached with the emal.. Thanks, Kiran On Tue, Apr 13, 2010 at 10:03 AM, Aaron Peeler aaron_pee...@ncsu.eduwrote: On 4/13/10 9:38 AM, Kiran N wrote: In addition to the previous email, the base Windows 2003 image does power on and take the network settings in the correct manner(seen in VI client). On the working vm. Is this the initial vm guest that you created? When I try to make a reservation on this image, the new virtual machine gets powered on but is unable to detect the networkname or devname. I checked the .vmdk files created and are exactly the same. If the vm is not detecting the network esx adapters on startup. This is telling me that the vcl generated vmx file has invalid adapter names somehow. Maybe a strange char or something. Can you post follow: - the vcl generated vmx file - the default vmx file of your working virtual machine - the database variables of your vmprofile virtualswitch0, and virtualswitch1 for the assigned vmprofile Thanks, Aaron Thanks, Kiran On Tue, Apr 13, 2010 at 9:33 AM, Kiran Nkiran.nellima...@gmail.com wrote: Yes.. it does match! In this installation, the visrtualswitch0 is the public port and virtualswitch1 is private. They are named exactly same as the virtual machine configuration.. Thanks, Kiran On Tue, Apr 13, 2010 at 9:23 AM, Aaron Peeleraaron_pee...@ncsu.edu wrote: Hi Kiran, Do your vmprofile adapter names virtualswitch0 and virtualswitch1 match the adapters listed on your esx server? Aaron On 4/12/10 3:11 PM, Kiran N wrote: hello Josh, I am facing some what similar issue.I have added a new computer host(virtual machine). I checked the dhcp.conf files, the addressing, etc/hosts file. But on making a reservation, my virtual machine does startup, but its not getting any IP addresses assigned. Its unable to detect any networks created, I have renamed the .vmdk and -flat.vmdk files according to the naming convention (Note: we are using ESX provisioning and it is a Windows 2003 image). Is there anythin specific you wanted me to check?? Thanks, Kiran On Fri, Feb 19, 2010 at 4:15 PM, Josh Thompsonjosh_thomp...@ncsu.edu wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeff, VCL will handle creating the virtual machines on the VMWare host. It manages both the vmdk and vmx files, and then registers/unregisters the virtual machines as needed. What it doesn't currently do is automatically create new virtual machines in its own database or dynamically assign virtual machines to VM hosts. This is what you should do next time you need to add virtual machines: * look at the highest MAC address assigned in the computers table * go to the Add Multiple Computers page, enter the MAC address that would come after what you looked up, and enter the rest of the information required on that page. * get the DHCP info and add it to your dhcpd.conf file * add entries to /etc/hosts for the virtual machines * go to the Virtual Hosts section of the site and assign the new virtual machines to VM hosts After doing that, vcld should be able to provision reservations for the virtual machines. Aaron/Andy: correct me if I missed anything. Josh On Friday February 19, 2010, Jeffrey Wisman wrote: I did use the Add Multiple for this, but I didn't put a MAC as we hadn't created virtual machines for these (and thus had no MAC to use). I created 10 computers using add multiple. I plan to create 10 virtual machines on the VMWare host and get their MAC addresses and add them to the 10 computers in the computer table that were created with add multiple. From what I understand, this should resolve it. Correct me if I'm wrong. To save some time next time, I'd have created the 10 virtual machines first, grabbed the first MAC address, and then used the Add Multiple with that MAC address. I'd still have to actually create (or clone) the 10 virtual machines though. Thanks, Jeff On Fri, Feb 19, 2010 at 10:35 AM, Josh Thompson josh_thomp...@ncsu.eduwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday February 19, 2010, Jeffrey Wisman wrote: Am I misunderstanding, or do I need to create 10 virtual machines to go with my 10 computers and then assign the mac address from each virtual machine to each computer? This doesn't seem especially scalable, so I hope I'm misunderstanding and that there is really something else going on. Jeff, The Add Multiple checkbox on Manage Computers-Edit Computer Information is designed to help with this. You should only need to enter the information on the Add Multiple Computers page that link takes you to one time to generate as many virtual machines as you want. Make sure you enter the start/end private IPs
Re: Help with external DHCP issue
Thanks Vinay, Aaron for the help! I tried changing it to 5 and now.. it does recognize the 2 networks( as seen in VI client) in the correct manner. It shows the public IP address, but no private IP address. Also, in the vcld.log, it still shows the message: 2010-04-13 10:23:35|15069|35:35|reload| vmware.pm:load(856)|sshd is NOT active on vcl01 yet When seen in console in VI client, there is limited or no network connectivity status.. [PS:attached is the new vcx file] thanks Kiran On Tue, Apr 13, 2010 at 11:28 AM, Aaron Peeler aaron_pee...@ncsu.eduwrote: Yes, change the vmtypeid to 5 and try to load the image again through vcl. -A On 4/13/10 11:02 AM, Kiran N wrote: It is set to 3 , since as discussed with my co worker Brian Copcea, it says it is ESX provisioning but practically the most of the provisioning scheme is GSX with few added ESX features..Do u suggest me to change it to 5..? I did notice that VCL is generating it differently.. but could not get the probable fix for it since the database entries are right.. Thanks, Kiran On Tue, Apr 13, 2010 at 10:52 AM, Aaron Peeleraaron_pee...@ncsu.edu wrote: In your assigned vmprofile. What is your vmtypeid set to? It should be set to id 5 which is 'vmwareESX3' The vcl generated vmx file is creating EthernetX.vnet instead of EthernetX.networkName. Aaron On 4/13/10 10:25 AM, Kiran N wrote: Yes.. its the initial vm created.. Please find the files are attached with the emal.. Thanks, Kiran -- Thanks, Kiranmye Nellimarla Graduate,Computer Science University of Texas at Dallas Contact:206-465-4235 #!/usr/bin/vmware config.version = 8 virtualHW.version = 4 memsize = 512 displayName = esx3-win2003-v0vcl01 guestOS = winnetenterprise uuid.location = 56 4d cb e6 ab e0 6a e3-4f 42 4d 04 ec 86 3e a0 uuid.bios = 56 4d a8 df fb 38 d0 c5-25 73 d4 01 16 06 4e c0 Ethernet0.present = TRUE Ethernet1.present = TRUE Ethernet0.networkName = VM_Access Ethernet1.networkName = VCL VM Private Net Access ethernet0.wakeOnPcktRcv = false ethernet1.wakeOnPcktRcv = false ethernet0.address = 00:50:56:2A:4A:00 ethernet1.address = 00:50:56:2A:4B:00 ethernet0.addressType = static ethernet1.addressType = static gui.exitOnCLIHLT = FALSE uuid.action = keep snapshot.disabled = TRUE floppy0.present = FALSE priority.grabbed = normal priority.ungrabbed = normal checkpoint.vmState = scsi0:0.present = TRUE scsi0.present = TRUE scsi0.sharedBus = none scsi0:0.deviceType = scsi-hardDisk scsi0.virtualDev = lsilogic scsi0:0.fileName =/vmfs/volumes/VCL0/golden/esx3-win2003-v0/esx3-win2003-v0.vmdk scsi0:0.mode = independent-nonpersistent scsi0:0.redo = ./esx3-win2003-v0.vmdk.REDO_BETcqZ extendedConfigFile = esx3-win2003-v0vcl01.vmxf virtualHW.productCompatibility = hosted tools.upgrade.policy = manual tools.syncTime = FALSE sched.swap.derivedName = /vmfs/volumes/21dac446-f3686fe8/inuse/esx3-win2003-v0vcl01/esx3-win2003-v0vcl01-3c1689ed.vswp hostCPUID.0 = 000168747541444d416369746e65 guestCPUID.0 = 000168747541444d416369746e65 userCPUID.0 = 000168747541444d416369746e65 hostCPUID.1 = 00040f12000208002001178bfbff guestCPUID.1 = 00040f1208002001078bbbff userCPUID.1 = 00040f12000208002001078bbbff hostCPUID.8001 = 00040f120353001febd3fbff guestCPUID.8001 = 00040f1203530009ebd3fbff userCPUID.8001 = 00040f1203530009ebd3fbff evcCompatibilityMode = FALSE
Re: Reg: Getting an SSH error when trying to make a reservation
Hello All, I could resolve my previous issues and now my virtual machine is starting up. But, its unable to get an IP address and pick up the network configuration been set up On checking the settings through VI client,I am unable to edit any adapter Adapter settings. Part of the vmware.log file is: [2010-04-12 11:14:27.112 'BaseLibs' 74886064 info] VMHSVMCbPower: Setting state of VM /vm/#1859446e30d301e8/ to powerOn with option soft [2010-04-12 11:14:27.120 'BaseLibs' 74886064 info] VMHS: Exec()'ing /usr/lib/vmware/bin/vmkload_ app, /vmfs/volumes/21dac446-f3686fe8/inuse/esx3-win2003-v0vcl01/esx3-win2003-v0vcl01.vmx [2010-04-12 11:14:27.307 'BaseLibs' 74886064 info] Established a connection. Killing intermediate child: 6664 [2010-04-12 11:14:27.312 'BaseLibs' 74886064 info] Mounting virtual machine paths on connection: /db/connection/#130/, /vmfs/volumes/21dac446-f3686fe8/inuse/esx3-win2003-v0vcl01/esx3-win2003-v0vcl01.vmx [2010-04-12 11:14:27.362 'BaseLibs' 74886064 info] Mount VM completion for vm: /vmfs/volumes/21dac446-f3686fe8/inuse/esx3-win2003-v0vcl01/esx3-win2003-v0vcl01.vmx [2010-04-12 11:14:27.696 'BaseLibs' 74886064 info] Mount VM Complete: /vmfs/volumes/21dac446-f3686fe8/inuse/esx3-win2003-v0vcl01/esx3-win2003-v0vcl01.vmx, Return code: OK [2010-04-12 11:14:28.511 'BaseLibs' 3076457376 info] DISKLIB-VMFS : /vmfs/volumes/21dac446-f3686fe8/golden/esx3-win2003-v0/esx3-win2003-v0-flat.vmdk : open successful (17) size = 32212254720, hd = 0. Type 3 [2010-04-12 11:14:28.513 'BaseLibs' 3076457376 info] DISKLIB-VMFS : /vmfs/volumes/21dac446-f3686fe8/golden/esx3-win2003-v0/esx3-win2003-v0-flat.vmdk : closed. [2010-04-12 11:14:28.541 'vm:/vmfs/volumes/21dac446-f3686fe8/inuse/esx3-win2003-v0vcl01/esx3-win2003-v0vcl01.vmx' 73071536 info] Question info: Unable to get networkName or devName for ethernet1Virtual device Ethernet1 will start disconnected. , Id: 0 : Type : 1, Default: 0, Number of options: 1 On Thu, Apr 8, 2010 at 8:42 AM, Aaron Peeler aaron_pee...@ncsu.edu wrote: Kiran, Open the esx3-win2003-v0.vmdk file and make sure it contains the correct name of the flat.vmdk file. From this log entry it looks like it is still named Windows 2003 R2 EE-flat.vmdk: [2010-04-07 10:05:12.020 'BaseLibs' 23407536 info] DISKLIB-VMFS : /vmfs/volumes/VCL/esx3-win2003-v0/Windows 2003 R2 EE-flat.vmdk : failed to open (25): Backing file doesn't exist. Type 3 Also another thing that stands out is the name of your networks, you'll need to make sure they exists. Unable to get network object for network VM Network [2010-04-07 10:05:12.014 'vm:/vmfs/volumes/ef2dcbe3-535bbe08/esx3-win2003-v0vcl01/esx3-win2003-v0vcl01.vmx' 23407536 warning] Unable to get network object for network Virtual Machine Public Network Aaron On 4/7/10 2:08 PM, Kiran N wrote: Aaron, On seeing the log file, I see that it shows .vmdk file not found error. But the file is actually present in that path. So, is it possible that the file got locked by any other instance. If so, how do we check that.Or is there any other possibility.. Please help! I have pasted a part of the file which shows the error(highlighted). [2010-04-07 10:05:10.407 'ha-eventmgr' 65670064 info] Event 370 : User r...@127.0.0.1 logged in [2010-04-07 10:05:10.426 'TaskManager' 60427184 info] Task Created : haTask-80-vim.VirtualMachine.powerOn-169019277 [2010-04-07 10:05:10.427 'ha-eventmgr' 60427184 info] Event 371 : esx3-win2003-v0vcl01 on host cleesx.democentral.ibm.com in ha-datacenter is starting [2010-04-07 10:05:10.427 'vm:/vmfs/volumes/ef2dcbe3-535bbe08/esx3-win2003-v0vcl01/esx3-win2003-v0vcl01.vmx' 60427184 info] State Transition (VM_STATE_OFF - VM_STATE_POWERING_ON) [2010-04-07 10:05:10.447 'BaseLibs' 74886064 info] VMHSVMCbPower: Setting state of VM /vm/#0e44ce203b3366d7/ to powerOn with option soft [2010-04-07 10:05:10.452 'BaseLibs' 74886064 info] VMHS: Exec()'ing /usr/lib/vmware/bin/vmkload_app, /vmfs/volumes/ef2dcbe3-535bbe08/esx3-win2003-v0vcl01/esx3-win2003-v0vcl01.vmx [2010-04-07 10:05:11.477 'BaseLibs' 74886064 info] Established a connection. Killing intermediate child: 22258 [2010-04-07 10:05:11.483 'BaseLibs' 74886064 info] Mounting virtual machine paths on connection: /db/connection/#9c/, /vmfs/volumes/ef2dcbe3-535bbe08/esx3-win2003-v0vcl01/esx3-win2003-v0vcl01.vmx [2010-04-07 10:05:11.527 'BaseLibs' 74886064 info] Mount VM completion for vm: /vmfs/volumes/ef2dcbe3-535bbe08/esx3-win2003-v0vcl01/esx3-win2003-v0vcl01.vmx [2010-04-07 10:05:12.013 'vm:/vmfs/volumes/ef2dcbe3-535bbe08/esx3-win2003-v0vcl01/esx3-win2003-v0vcl01.vmx' 23407536 warning] Unable to get network object for network VM Network [2010-04-07 10:05:12.014 'vm:/vmfs/volumes/ef2dcbe3-535bbe08/esx3-win2003-v0vcl01/esx3-win2003-v0vcl01.vmx' 23407536 warning] Unable to get network object for network Virtual Machine Public Network [2010-04-07 10:05:12.020 'BaseLibs' 23407536 info] DISKLIB-VMFS : /vmfs/volumes/VCL/esx3
Re: Reg: Getting an SSH error when trying to make a reservation
Sorry Aaron.. That was not the correct file created by vcld. The correct file is pasted below: #!/usr/bin/vmware config.version = 8 virtualHW.version = 4 memsize = 512 displayName = esx3-win2003-v0vcl01 guestOS = winnetenterprise uuid.location = 56 4d 48 99 10 26 eb 65-63 28 84 a3 8a b1 72 78 uuid.bios = 56 4d a8 df fb 38 d0 c5-25 73 d4 01 16 06 4e c0 Ethernet0.present = TRUE Ethernet1.present = TRUE Ethernet0.networkName = VM Network Ethernet1.networkName = Virtual Machine Public Network ethernet0.wakeOnPcktRcv = false ethernet1.wakeOnPcktRcv = false ethernet0.address = 00:50:56:4A:4A:00 ethernet1.address = 00:50:56:4A:4B:00 ethernet0.addressType = static ethernet1.addressType = static gui.exitOnCLIHLT = FALSE uuid.action = keep snapshot.disabled = TRUE floppy0.present = FALSE priority.grabbed = normal priority.ungrabbed = normal checkpoint.vmState = scsi0:0.present = TRUE scsi0.present = TRUE scsi0.sharedBus = none scsi0:0.deviceType = scsi-hardDisk scsi0.virtualDev = lsilogic scsi0:0.fileName =/vmfs/volumes/VCL/esx3-win2003-v0/esx3-win2003-v0.vmdk scsi0:0.mode = independent-nonpersistent scsi0:0.redo = ./esx3-win2003-v0vcl01.vmdk.REDO_Y7VUab extendedConfigFile = esx3-win2003-v0vcl01.vmxf virtualHW.productCompatibility = hosted tools.upgrade.policy = manual sched.swap.derivedName = /vmfs/volumes/ef2dcbe3-535bbe08/esx3-win2003-v0vcl01/esx3-win2003-v0vcl01-53f4c71d.vswp Thanks, Kiran On Wed, Apr 7, 2010 at 9:03 AM, Aaron Peeler aaron_pee...@ncsu.edu wrote: Just making sure. Is this the vmx file that was created by vcld? The displayName doesn't match what vmware.pm would create. displayName is generally set to the internal imagename + the computername. Something like esx3-win2003-v0vcl01 Aaron On 4/6/10 3:41 PM, Kiran N wrote: Thanks Aaron! Please find the file below: #!/usr/bin/vmware config.version = 8 virtualHW.version = 4 floppy0.present = false nvram = Windows 2003 R2 EE.nvram deploymentPlatform = windows virtualHW.productCompatibility = hosted tools.upgrade.policy = manual powerType.powerOff = default powerType.powerOn = default powerType.suspend = default powerType.reset = default displayName = Windows 2003 R2 EE extendedConfigFile = Windows 2003 R2 EE.vmxf scsi0.present = true scsi0.sharedBus = none scsi0.virtualDev = lsilogic memsize = 4096 scsi0:0.present = true scsi0:0.fileName = Windows 2003 R2 EE-01.vmdk scsi0:0.deviceType = scsi-hardDisk ide0:0.present = true ide0:0.fileName = /dev/scd0 ide0:0.deviceType = atapi-cdrom ide0:0.startConnected = false ethernet0.present = true ethernet0.wakeOnPcktRcv = false ethernet0.networkName = VM_Access ethernet0.addressType = generated guestOSAltName = Microsoft Windows Server 2003, Enterprise Edition (32-bit) guestOS = winnetenterprise uuid.location = 56 4d b0 02 f8 06 24 bf-2c 97 80 6c 8c 0e 37 24 uuid.bios = 56 4d b0 02 f8 06 24 bf-2c 97 80 6c 8c 0e 37 24 snapshot.action = keep sched.cpu.min = 0 sched.cpu.units = mhz sched.cpu.shares = normal sched.mem.minsize = 0 sched.mem.shares = normal toolScripts.afterPowerOn = true toolScripts.afterResume = true toolScripts.beforeSuspend = true toolScripts.beforePowerOff = true evcCompatibilityMode = FALSE guestCPUID.0 = 000168747541444d416369746e65 guestCPUID.1 = 00040f1208002001078bbbff guestCPUID.8001 = 00040f1203530009ebd3fbff hostCPUID.0 = 000168747541444d416369746e65 hostCPUID.1 = 00040f12000208002001178bfbff hostCPUID.8001 = 00040f120353001febd3fbff sched.swap.derivedName = /vmfs/volumes/4a54aa4b-88146930-8e6f-00145e6d6a04/Windows 2003 R2 EE/Windows 2003 R2 EE-3bd65d97.vswp scsi0:0.redo = userCPUID.0 = 000168747541444d416369746e65 userCPUID.1 = 00040f12000208002001078bbbff userCPUID.8001 = 00040f1203530009ebd3fbff vmware.tools.requiredversion = 7303 ethernet0.generatedAddress = 00:0c:29:0e:37:24 tools.syncTime = false ethernet0.generatedAddressOffset = 0 ethernet1.present = true ethernet1.networkName = VCL VM Private Net Access ethernet1.addressType = generated ethernet1.generatedAddress = 00:0c:29:0e:37:2e ethernet1.generatedAddressOffset = 10 On Tue, Apr 6, 2010 at 3:27 PM, Aaron Peeleraaron_pee...@ncsu.edu wrote: Could be something wrong with the .vmx file. My first thought is to check the drive type - ide or scsi. esx doesn't support ide drive types and any new computers added in have hda as the default value in the database schema. Could you share that portion of the vmx file? Aaron On 4/6/10 3:13 PM, Kiran N wrote: Hello, I resolved the SSH error, but now facing a new issue. By seeing the log I think that the reservation process is failing in the last due to error : VMControl error -999: Unknown error: The poweron operation failed unexpectedly. Please check the vcld log file below and let me know if anyone has a solution for this error. Thanks in advance..! Kiran 2010-04-06 13:57:34|19162|31:31|reload
Re: Reg: Getting an SSH error when trying to make a reservation
info] Event 373 : Message on esx3-win2003-v0vcl01 on cleesx.democentral.ibm.com in ha-datacenter: VMware ESX Server cannot find the virtual disk /vmfs/volumes/VCL/esx3-win2003-v0/esx3-win2003-v0.vmdk. Please verify the path is valid and try again. Cannot open the disk '/vmfs/volumes/VCL/esx3-win2003-v0/esx3-win2003-v0.vmdk' or one of the snapshot disks it depends on. Reason: The system cannot find the file specified. On Wed, Apr 7, 2010 at 12:13 PM, Aaron Peeler aaron_pee...@ncsu.edu wrote: No problem, thanks. Unfortunately I'm not seeing any obvious problems with the vmx file. Is there any information in the vmware log files? They should be in /var/log/vmware/ on the esx host. -A On 4/7/10 10:02 AM, Kiran N wrote: Sorry Aaron.. That was not the correct file created by vcld. The correct file is pasted below: #!/usr/bin/vmware config.version = 8 virtualHW.version = 4 memsize = 512 displayName = esx3-win2003-v0vcl01 guestOS = winnetenterprise uuid.location = 56 4d 48 99 10 26 eb 65-63 28 84 a3 8a b1 72 78 uuid.bios = 56 4d a8 df fb 38 d0 c5-25 73 d4 01 16 06 4e c0 Ethernet0.present = TRUE Ethernet1.present = TRUE Ethernet0.networkName = VM Network Ethernet1.networkName = Virtual Machine Public Network ethernet0.wakeOnPcktRcv = false ethernet1.wakeOnPcktRcv = false ethernet0.address = 00:50:56:4A:4A:00 ethernet1.address = 00:50:56:4A:4B:00 ethernet0.addressType = static ethernet1.addressType = static gui.exitOnCLIHLT = FALSE uuid.action = keep snapshot.disabled = TRUE floppy0.present = FALSE priority.grabbed = normal priority.ungrabbed = normal checkpoint.vmState = scsi0:0.present = TRUE scsi0.present = TRUE scsi0.sharedBus = none scsi0:0.deviceType = scsi-hardDisk scsi0.virtualDev = lsilogic scsi0:0.fileName =/vmfs/volumes/VCL/esx3-win2003-v0/esx3-win2003-v0.vmdk scsi0:0.mode = independent-nonpersistent scsi0:0.redo = ./esx3-win2003-v0vcl01.vmdk.REDO_Y7VUab extendedConfigFile = esx3-win2003-v0vcl01.vmxf virtualHW.productCompatibility = hosted tools.upgrade.policy = manual sched.swap.derivedName = /vmfs/volumes/ef2dcbe3-535bbe08/esx3-win2003-v0vcl01/esx3-win2003-v0vcl01-53f4c71d.vswp Thanks, Kiran -- Aaron Peeler Program Manager Virtual Computing Lab NC State University aaron_pee...@ncsu.edu 919-513-4571
Reg: Getting an SSH error when trying to make a reservation
Hello All, I am trying to make a reservation for an Windows203 image using ESX provisioning. I am facing an SSH error (as seen in the log file) with error code of 255. The IDENTITY * lines in the /etc/vcl/vcld.conf are : IDENTITY_blade_linux=/etc/vcl/vcl.key IDENTITY_solaris_lab=/etc/vcl/vcl.key IDENTITY_linux_lab=/etc/vcl/vcl.key IDENTITY_blade_win=/etc/vcl/vcl.key I am using NFS as my datastore. In my vmprofile table I have set the 2 important fields as below: datastorepath: 10.0.0.2:/vcl-nfs/export/golden this is the path on the management node from where vmhost has mounted the image. vmpath: /vmfs/volumes/VCL --- This is path on my vmhost machine for the image. Also, when I try to ssh into my vmhost machine - cleesx(10.0.0.3) from command line on management node, then it does login into it successfully. The vcld.log file has been attached with this email. Please provide me with some inputs! -- Thanks, Kiranmye N WSTI Intern
Re: Reg: Getting an SSH error when trying to make a reservation
vcld.log has been attached in this email..!! On Tue, Apr 6, 2010 at 11:37 AM, Kiran N kiran.nellima...@gmail.com wrote: Hello All, I am trying to make a reservation for an Windows203 image using ESX provisioning. I am facing an SSH error (as seen in the log file) with error code of 255. The IDENTITY * lines in the /etc/vcl/vcld.conf are : IDENTITY_blade_linux=/etc/vcl/vcl.key IDENTITY_solaris_lab=/etc/vcl/vcl.key IDENTITY_linux_lab=/etc/vcl/vcl.key IDENTITY_blade_win=/etc/vcl/vcl.key I am using NFS as my datastore. In my vmprofile table I have set the 2 important fields as below: datastorepath: 10.0.0.2:/vcl-nfs/export/golden this is the path on the management node from where vmhost has mounted the image. vmpath: /vmfs/volumes/VCL --- This is path on my vmhost machine for the image. Also, when I try to ssh into my vmhost machine - cleesx(10.0.0.3) from command line on management node, then it does login into it successfully. The vcld.log file has been attached with this email. Please provide me with some inputs! -- Thanks, Kiranmye N WSTI Intern |16143|23:23|reload| WARNING |16143|23:23|reload| 2010-04-05 11:22:12|16143|23:23|reload|vcld:warning_handler(636)|Use of uninitialized value in pattern match (m//) at /usr/local/vcl/bin/../lib/VCL/Module/State.pm line 312. |16143|23:23|reload| ( 0) utils.pm, notify (line: 727) |16143|23:23|reload| (-1) vcld, warning_handler (line: 636) |16143|23:23|reload| (-2) State.pm, reservation_failed (line: 312) |16143|23:23|reload| (-3) new.pm, process (line: 316) |16143|23:23|reload| (-4) vcld, make_new_child (line: 594) |16143|23:23|reload| (-5) vcld, main (line: 341) 2010-04-05 11:22:12|16143|23:23|reload|utils.pm:update_computer_state(2218)|computer 2 state updated to: failed 2010-04-05 11:22:12|16143|23:23|reload|State.pm:reservation_failed(312)|computer vcl01 (2) state set to failed 2010-04-05 11:22:12|16143|23:23|reload|utils.pm:update_request_state(2176)|request 23 state updated to: failed, laststate to: reload 2010-04-05 11:22:12|16143|23:23|reload|State.pm:reservation_failed(325)|set request state to 'failed'/'reload' 2010-04-05 11:22:12|16143|23:23|reload|utils.pm:is_inblockrequest(6953)|zero rows were returned from database select 2010-04-05 11:22:12|16143|23:23|reload|State.pm:reservation_failed(343)|vcl01 is NOT in blockcomputers table 2010-04-05 11:22:12|16143|23:23|reload|State.pm:reservation_failed(346)|exiting 1 2010-04-05 11:22:12|16143|23:23|reload|State.pm:DESTROY(905)|destructor called, ref($self)=VCL::new 2010-04-05 11:22:12|16143|23:23|reload|utils.pm:delete_computerloadlog_reservation(7532)|removing computerloadlog entries matching loadstate = begin 2010-04-05 11:22:12|16143|23:23|reload|utils.pm:delete_computerloadlog_reservation(7579)|deleted rows from computerloadlog for reservation id=23 2010-04-05 11:22:12|16143|23:23|reload|State.pm:DESTROY(912)|removed computerloadlog rows with loadstate=begin for reservation 2010-04-05 11:22:12|16143|23:23|reload|State.pm:DESTROY(924)|number of database handles state process created: 1 2010-04-05 11:22:12|16143|23:23|reload|State.pm:DESTROY(933)|process has a database handle stored in $ENV{dbh}, attempting disconnect 2010-04-05 11:22:12|16143|23:23|reload|State.pm:DESTROY(935)|$ENV{dbh}: database disconnect successful 2010-04-05 11:22:12|16143|23:23|reload|State.pm:DESTROY(949)|VCL::new process 16143 exiting 2010-04-05 11:22:12|11472|vcld:REAPER(744)|VCL process exited for reservation 23 2010-04-05 11:22:12|11472|vcld:main(165)|lastcheckin time updated for management node 1: 2010-04-05 11:22:12 2010-04-05 11:22:12|11472|23:23|failed|vcld:main(250)|request deleted 2010-04-05 11:22:17|11472|vcld:main(165)|lastcheckin time updated for management node 1: 2010-04-05 11:22:17 2010-04-05 11:22:22|11472|vcld:main(165)|lastcheckin time updated for management node 1: 2010-04-05 11:22:22 2010-04-05 11:22:27|11472|vcld:main(165)|lastcheckin time updated for management node 1: 2010-04-05 11:22:27 2010-04-05 11:22:32|11472|vcld:main(165)|lastcheckin time updated for management node 1: 2010-04-05 11:22:32 2010-04-05 11:22:37|11472|vcld:main(165)|lastcheckin time updated for management node 1: 2010-04-05 11:22:37 2010-04-05 11:22:42|11472|vcld:main(165)|lastcheckin time updated for management node 1: 2010-04-05 11:22:42 2010-04-05 11:22:47|11472|vcld:main(165)|lastcheckin time updated for management node 1: 2010-04-05 11:22:47 2010-04-05 11:22:52|11472|vcld:main(165)|lastcheckin time updated for management node 1: 2010-04-05 11:22:52 2010-04-05 11:22:57|11472|vcld:main(165)|lastcheckin time updated for management node 1: 2010-04-05 11:22:57 [r...@vclrhel01 ~]# tail -f /var/log/vcld.log 2010-04-05 11:24:22|16380|24:24|reload|utils.pm:get_management_node_id(9345)|environment variable: 1 2010-04-05 11:24:22|16380|24:24|reload|new.pm:reload_image(514)|calling VCL::Module::Provisioning::vmware-node_status() 2010-04-05 11:24:22|16380|24:24
Re: Reg: Getting an SSH error when trying to make a reservation
Thanks Ryan! The exact command that I used is: /usr/bin/ssh -i /etc/vcl/vcl.key -l root -p 22 -x cleesx 'ls -1 10.0.0.2:/vcl-nfs/export/golden' 21 And as you said it failed with 'Host Key verification failed' messsage. i will check the authorized_keys file and will let you know the result. Thanks, Kiran On Tue, Apr 6, 2010 at 1:00 PM, Ryan Johnson rjoh...@gwmail.gwu.edu wrote: What is the exact syntax of the command you used from the command line? Try ssh again but give vcl.key as the -i (identity key) option and I think you will get host key verification failed. I am guessing the problem is that the vcl public key is not in the authorized_keys file of the esx box. On Tue, Apr 6, 2010 at 11:39 AM, Kiran N kiran.nellima...@gmail.com wrote: vcld.log has been attached in this email..!! On Tue, Apr 6, 2010 at 11:37 AM, Kiran N kiran.nellima...@gmail.com wrote: Hello All, I am trying to make a reservation for an Windows203 image using ESX provisioning. I am facing an SSH error (as seen in the log file) with error code of 255. The IDENTITY * lines in the /etc/vcl/vcld.conf are : IDENTITY_blade_linux=/etc/vcl/vcl.key IDENTITY_solaris_lab=/etc/vcl/vcl.key IDENTITY_linux_lab=/etc/vcl/vcl.key IDENTITY_blade_win=/etc/vcl/vcl.key I am using NFS as my datastore. In my vmprofile table I have set the 2 important fields as below: datastorepath: 10.0.0.2:/vcl-nfs/export/golden this is the path on the management node from where vmhost has mounted the image. vmpath: /vmfs/volumes/VCL --- This is path on my vmhost machine for the image. Also, when I try to ssh into my vmhost machine - cleesx(10.0.0.3) from command line on management node, then it does login into it successfully. The vcld.log file has been attached with this email. Please provide me with some inputs! -- Thanks, Kiranmye N WSTI Intern
Re: Reg: Getting an SSH error when trying to make a reservation
(line: 594) |19162|31:31|reload| (-4) vcld, main (line: 341) 2010-04-06 13:57:42|19162|31:31|reload|utils.pm:insertloadlog(4700)|inserted computer=2, failed, process failed after trying to load or make available 2010-04-06 13:57:42|19162|31:31|reload|State.pm:reservation_failed(293)|inserted computerloadlog entry |19162|31:31|reload| WARNING |19162|31:31|reload| 2010-04-06 13:57:42|19162|31:31|reload|vcld:warning_handler(636)|Use of uninitialized value in pattern match (m//) at /usr/local/vcl/bin/../lib/VCL/Module/State.pm line 312. |19162|31:31|reload| ( 0) utils.pm, notify (line: 727) |19162|31:31|reload| (-1) vcld, warning_handler (line: 636) |19162|31:31|reload| (-2) State.pm, reservation_failed (line: 312) |19162|31:31|reload| (-3) new.pm, process (line: 316) |19162|31:31|reload| (-4) vcld, make_new_child (line: 594) |19162|31:31|reload| (-5) vcld, main (line: 341) 2010-04-06 13:57:42|19162|31:31|reload|utils.pm:update_computer_state(2218)|computer 2 state updated to: failed 2010-04-06 13:57:42|19162|31:31|reload|State.pm:reservation_failed(312)|computer vcl01 (2) state set to failed 2010-04-06 13:57:42|19162|31:31|reload|utils.pm:update_request_state(2176)|request 31 state updated to: failed, laststate to: reload 2010-04-06 13:57:42|19162|31:31|reload|State.pm:reservation_failed(325)|set request state to 'failed'/'reload' 2010-04-06 13:57:42|19162|31:31|reload|utils.pm:is_inblockrequest(6953)|zero rows were returned from database select 2010-04-06 13:57:42|19162|31:31|reload|State.pm:reservation_failed(343)|vcl01 is NOT in blockcomputers table 2010-04-06 13:57:42|19162|31:31|reload|State.pm:reservation_failed(346)|exiting 1 2010-04-06 13:57:42|19162|31:31|reload|State.pm:DESTROY(905)|destructor called, ref($self)=VCL::new 2010-04-06 13:57:42|19162|31:31|reload|utils.pm:delete_computerloadlog_reservation(7532)|removing computerloadlog entries matching loadstate = begin 2010-04-06 13:57:42|19162|31:31|reload|utils.pm:delete_computerloadlog_reservation(7579)|deleted rows from computerloadlog for reservation id=31 2010-04-06 13:57:42|19162|31:31|reload|State.pm:DESTROY(912)|removed computerloadlog rows with loadstate=begin for reservation 2010-04-06 13:57:42|19162|31:31|reload|State.pm:DESTROY(924)|number of database handles state process created: 1 2010-04-06 13:57:42|19162|31:31|reload|State.pm:DESTROY(933)|process has a database handle stored in $ENV{dbh}, attempting disconnect 2010-04-06 13:57:42|19162|31:31|reload|State.pm:DESTROY(935)|$ENV{dbh}: database disconnect successful 2010-04-06 13:57:42|19162|31:31|reload|State.pm:DESTROY(949)|VCL::new process 19162 exiting 2010-04-06 13:57:42|17264|vcld:REAPER(744)|VCL process exited for reservation 31 2010-04-06 13:57:42|17264|vcld:main(165)|lastcheckin time updated for management node 1: 2010-04-06 13:57:42 2010-04-06 13:57:42|17264|31:31|failed|vcld:main(250)|request deleted 2010-04-06 13:57:47|17264|vcld:main(165)|lastcheckin time updated for management node 1: 2010-04-06 13:57:47 2010-04-06 13:57:52|17264|vcld:main(165)|lastcheckin time updated for management node 1: 2010-04-06 13:57:52 On Tue, Apr 6, 2010 at 2:11 PM, Kiran N kiran.nellima...@gmail.com wrote: Thanks Ryan! The exact command that I used is: /usr/bin/ssh -i /etc/vcl/vcl.key -l root -p 22 -x cleesx 'ls -1 10.0.0.2:/vcl-nfs/export/golden' 21 And as you said it failed with 'Host Key verification failed' messsage. i will check the authorized_keys file and will let you know the result. Thanks, Kiran On Tue, Apr 6, 2010 at 1:00 PM, Ryan Johnson rjoh...@gwmail.gwu.eduwrote: What is the exact syntax of the command you used from the command line? Try ssh again but give vcl.key as the -i (identity key) option and I think you will get host key verification failed. I am guessing the problem is that the vcl public key is not in the authorized_keys file of the esx box. On Tue, Apr 6, 2010 at 11:39 AM, Kiran N kiran.nellima...@gmail.com wrote: vcld.log has been attached in this email..!! On Tue, Apr 6, 2010 at 11:37 AM, Kiran N kiran.nellima...@gmail.com wrote: Hello All, I am trying to make a reservation for an Windows203 image using ESX provisioning. I am facing an SSH error (as seen in the log file) with error code of 255. The IDENTITY * lines in the /etc/vcl/vcld.conf are : IDENTITY_blade_linux=/etc/vcl/vcl.key IDENTITY_solaris_lab=/etc/vcl/vcl.key IDENTITY_linux_lab=/etc/vcl/vcl.key IDENTITY_blade_win=/etc/vcl/vcl.key I am using NFS as my datastore. In my vmprofile table I have set the 2 important fields as below: datastorepath: 10.0.0.2:/vcl-nfs/export/golden this is the path on the management node from where vmhost has mounted the image. vmpath: /vmfs/volumes/VCL --- This is path on my vmhost machine for the image. Also, when I try to ssh into my vmhost machine - cleesx(10.0.0.3) from command line on management node, then it does login into it successfully. The vcld.log file has been
Re: Reg: Getting an SSH error when trying to make a reservation
Thanks Aaron! Please find the file below: #!/usr/bin/vmware config.version = 8 virtualHW.version = 4 floppy0.present = false nvram = Windows 2003 R2 EE.nvram deploymentPlatform = windows virtualHW.productCompatibility = hosted tools.upgrade.policy = manual powerType.powerOff = default powerType.powerOn = default powerType.suspend = default powerType.reset = default displayName = Windows 2003 R2 EE extendedConfigFile = Windows 2003 R2 EE.vmxf scsi0.present = true scsi0.sharedBus = none scsi0.virtualDev = lsilogic memsize = 4096 scsi0:0.present = true scsi0:0.fileName = Windows 2003 R2 EE-01.vmdk scsi0:0.deviceType = scsi-hardDisk ide0:0.present = true ide0:0.fileName = /dev/scd0 ide0:0.deviceType = atapi-cdrom ide0:0.startConnected = false ethernet0.present = true ethernet0.wakeOnPcktRcv = false ethernet0.networkName = VM_Access ethernet0.addressType = generated guestOSAltName = Microsoft Windows Server 2003, Enterprise Edition (32-bit) guestOS = winnetenterprise uuid.location = 56 4d b0 02 f8 06 24 bf-2c 97 80 6c 8c 0e 37 24 uuid.bios = 56 4d b0 02 f8 06 24 bf-2c 97 80 6c 8c 0e 37 24 snapshot.action = keep sched.cpu.min = 0 sched.cpu.units = mhz sched.cpu.shares = normal sched.mem.minsize = 0 sched.mem.shares = normal toolScripts.afterPowerOn = true toolScripts.afterResume = true toolScripts.beforeSuspend = true toolScripts.beforePowerOff = true evcCompatibilityMode = FALSE guestCPUID.0 = 000168747541444d416369746e65 guestCPUID.1 = 00040f1208002001078bbbff guestCPUID.8001 = 00040f1203530009ebd3fbff hostCPUID.0 = 000168747541444d416369746e65 hostCPUID.1 = 00040f12000208002001178bfbff hostCPUID.8001 = 00040f120353001febd3fbff sched.swap.derivedName = /vmfs/volumes/4a54aa4b-88146930-8e6f-00145e6d6a04/Windows 2003 R2 EE/Windows 2003 R2 EE-3bd65d97.vswp scsi0:0.redo = userCPUID.0 = 000168747541444d416369746e65 userCPUID.1 = 00040f12000208002001078bbbff userCPUID.8001 = 00040f1203530009ebd3fbff vmware.tools.requiredversion = 7303 ethernet0.generatedAddress = 00:0c:29:0e:37:24 tools.syncTime = false ethernet0.generatedAddressOffset = 0 ethernet1.present = true ethernet1.networkName = VCL VM Private Net Access ethernet1.addressType = generated ethernet1.generatedAddress = 00:0c:29:0e:37:2e ethernet1.generatedAddressOffset = 10 On Tue, Apr 6, 2010 at 3:27 PM, Aaron Peeler aaron_pee...@ncsu.edu wrote: Could be something wrong with the .vmx file. My first thought is to check the drive type - ide or scsi. esx doesn't support ide drive types and any new computers added in have hda as the default value in the database schema. Could you share that portion of the vmx file? Aaron On 4/6/10 3:13 PM, Kiran N wrote: Hello, I resolved the SSH error, but now facing a new issue. By seeing the log I think that the reservation process is failing in the last due to error : VMControl error -999: Unknown error: The poweron operation failed unexpectedly. Please check the vcld log file below and let me know if anyone has a solution for this error. Thanks in advance..! Kiran 2010-04-06 13:57:34|19162|31:31|reload|utils.pm:run_ssh_command(6259)|SSH command executed on cleesx.democentral.ibm.com, command: |19162|31:31|reload| /usr/bin/ssh -i /etc/vcl/vcl.key -l root -p 22 -x cleesx.democentral.ibm.com 'vmware-cmd /vmfs/volumes/VCL/esx3-win2003-v0vcl01/esx3-win2003-v0vcl01.vmx getstate' 21 |19162|31:31|reload| returning (11, VMControl error -11: No such v...) 2010-04-06 13:57:34|19162|31:31|reload|vmware.pm: node_status(1914)|VMControl error -11: No such virtual machine 2010-04-06 13:57:34|19162|31:31|reload|vmware.pm:node_status(1925)|vcl01 vmstate reports 0 2010-04-06 13:57:34|19162|31:31|reload|vmware.pm: node_status(1963)|returning node status hash reference ($node_status-{status}=RELOAD) 2010-04-06 13:57:34|19162|31:31|reload|new.pm: reload_image(529)|node_status returned a hash reference 2010-04-06 13:57:34|19162|31:31|reload|new.pm: reload_image(534)|node_status hash reference contains key {status}=RELOAD -- Aaron Peeler Program Manager Virtual Computing Lab NC State University aaron_pee...@ncsu.edu 919-513-4571