Ticket #198 (new issue)

Opened 1 year ago

Last modified 1 year ago

'errNo' => '-11'

Reported by: anonymous Assigned to: kindlund
Priority: normal Milestone: 1.1
Component: Installation Version: 1.02
Severity: minor Keywords: master, vm
Cc:

Description (Last modified by kindlund)

Good day.

I am just completing my first installation of the honeyclient.

When trying to Start the drone (item 6 perl -Ilib bin/StartManager.pl) I get the following errors:

2009-02-10 09:46:26  INFO [HoneyClient::Manager::VM::init] (/home/user/honeyclient/lib/HoneyClient/Manager/VM.pm:757) - Initializing VM daemon at PID: 15891

2009-02-10 09:46:26  INFO [HoneyClient::Manager::VM::Clone::new] (/home/user/honeyclient/lib/HoneyClient/Manager/VM/Clone.pm:885) - Setting VM (/vm/master-vms/Agent.Master-31/winXPPro.cfg) as master.

2009-02-10 09:46:27  WARN [HoneyClient::Manager::VM::registerVM] (/home/user/honeyclient/lib/HoneyClient/Manager/VM.pm:3094) - Could not register VM (/vm/master-vms/Agent.Master-31/winXPPro.cfg). (-11: No such virtual machine)

2009-02-10 09:46:28 ERROR [HoneyClient::Util::SOAP::_handleFault] (/home/user/honeyclient/lib/HoneyClient/Util/SOAP.pm:283) - Error occurred during processing. HoneyClient::Manager::VM->registerVM(): Could not register VM (/vm/master-vms/Agent.Master-31/winXPPro.cfg).

HoneyClient::Manager::VM->registerVM(): {'err' => bless( {'errNo' => '-11','errStr' => 'No such virtual machine'}, 'err' )}

HoneyClient::Util::SOAP->handleFault(): Error occurred during processing.

HoneyClient::Manager::VM->registerVM(): Could not register VM (/vm/master-vms/Agent.Master-31/winXPPro.cfg).

HoneyClient::Manager::VM->registerVM(): {'err' => bless( {'errNo' => '-11','errStr' => 'No such virtual machine'}, 'err' )}
Killed

Any ideas.

Thanks

Attachments

Change History

02/10/09 15:07:24 changed by kindlund

  • keywords set to master, vm.
  • description changed.
  • severity changed from major to minor.

Hi,

According to the log entries you've pasted, the code is complaining that this VM configuration does not exist:

/vm/master-vms/Agent.Master-31/winXPPro.cfg

Can you confirm that:

  1. "/vm/master-vms/Agent.Master-31/winXPPro.cfg" exists on your system?
  2. "/vm/master-vms/Agent.Master-31/winXPPro.cfg" is registered and visible via the VMware Remote Console?

Regards,

— Darien

02/10/09 17:05:26 changed by anonymous

i did check and they do not exist.

Where is the system getting this info.

I do have a vm on the system, its located in /vm/Master/Master.vmx

Thanks

02/10/09 17:24:08 changed by kindlund

You'll need to change the etc/honeyclient.xml configuration file accordingly and change the string "/vm/master-vms/Agent.Master-31/winXPPro.cfg" to "/vm/Master/Master.vmx".

Regards,

— Darien

02/10/09 18:08:23 changed by anonymous

Thanks

I will try this tomorrow morning first thing.

Thanks for the great help.

02/11/09 08:17:40 changed by anonymous

Good days,

I made the change as mentioned above.

It looks very good, small problem still when running the honeyclient_manager_vm_clone.t test.

Error in test 36, could not snapshot VM to /home/honeyclient/honeyclient/t/test_vm_clone.tar.gz

also get the following bless errno: 'errNo' ⇒ '256'

But in the etc/honeyclient.xml file the default snapshot location is /vm/snapshots.

Any ideas.

Thanks

02/12/09 13:18:35 changed by kindlund

I'm not entirely sure what could be the culprit here. To be clear, do you have any CPU intensive programs/daemons running on the host system? If so, it could be those programs may be causing these tests to fail (because the code expects certain operations to complete within a fixed period of time). If you need further help, I'd recommend that you paste the full error output and we can try to troubleshoot further.

— Darien


Add/Change #198 ('errNo' => '-11')




Change Properties
Action