Hello,
I haven't tried using the vSphere SDK with VMware Server 1.x. I'm not sure if this will work. I would recommend uninstalling 1.0.8 and installing VMware Server 2.x. You should be able to use the 'VMware Server 2.x - local storage' VM profile included with the VCL 2.2 database.

I'm working on documenting VCL 2.2 VMware configuration but have had some trouble with the Confluence wiki. Some more information should be available soon.

Regards,
Andy


Hicham Gibet Tani wrote:
Hello everybody,

The image capture failed because of a problem with the vsphere SDK.

PS: We installed the version 4.1 of the vsphere SDK and we are using VMware
server 1.0.8.


|image|VMware.pm:get_vmhost_datastructure(923)|created DataStructure object
for VM host: localvmhost

2010-10-19
11:20:10|5473|1:1|image|VMware.pm:get_vmhost_api_object(1027)|attempting to
load VMware control module: VCL::Module::Provisioning::VMware::vSphere_SDK

2010-10-19
11:20:11|5473|1:1|image|VMware.pm:get_vmhost_api_object(1033)|loaded VMware
control module: VCL::Module::Provisioning::VMware::vSphere_SDK

2010-10-19 11:20:11|5473|1:1|image|Module.pm:new(134)|constructor called,
class=VCL::Module::Provisioning::VMware::vSphere_SDK

2010-10-19
11:20:11|5473|1:1|image|Module.pm:new(156)|VCL::Module::Provisioning::VMware::vSphere_SDK
object created

2010-10-19
11:20:11|5473|1:1|image|vSphere_SDK.pm:initialize(1816)|attempting to
connect to VM host: https://localvmhost/sdk

2010-10-19 *11:20:12|5473|1:1|image|vSphere_SDK.pm:initialize(1822)|unable
to connect to VM host: https://localvmhost/sdk, username: '0', error:*

*|5473|1:1|image| Server version unavailable at '
https://localvmhost:443/sdk/vimService.wsdl' at
/usr/lib/perl5/5.8.8/VMware/VICommon.pm line 545.*

*2010-10-19
11:20:12|5473|1:1|image|vSphere_SDK.pm:initialize(1816)|attempting to
connect to VM host: https://localvmhost:8333/sdk*

*2010-10-19 11:20:12|5473|1:1|image|vSphere_SDK.pm:initialize(1822)|unable
to connect to VM host: https://localvmhost:8333/sdk, username: '0', error:*

*|5473|1:1|image| Server version unavailable at '
https://localvmhost:8333/sdk/vimService.wsdl' at
/usr/lib/perl5/5.8.8/VMware/VICommon.pm line 545.*

* *

*|5473|1:1|image| ---- WARNING ---- *

*|5473|1:1|image| 2010-10-19
11:20:12|5473|1:1|image|vSphere_SDK.pm:initialize(1831)|failed to connect to
VM host: localvmhost*

|5473|1:1|image| ( 0) utils.pm, notify (line: 630)

|5473|1:1|image| (-1) vSphere_SDK.pm, initialize (line: 1831)

|5473|1:1|image| (-2) Module.pm, new (line: 159)

|5473|1:1|image| (-3) VMware.pm, (eval) (line: 1037)

|5473|1:1|image| (-4) VMware.pm, get_vmhost_api_object (line: 1037)

|5473|1:1|image| (-5) VMware.pm, initialize (line: 224)

|5473|1:1|image| (-6) Module.pm, new (line: 159)





|5473|1:1|image| ---- WARNING ----

|5473|1:1|image| 2010-10-19
11:20:12|5473|1:1|image|VMware.pm:get_vmhost_api_object(1040)|API object
could not be created: VCL::Module::Provisioning::VMware::vSphere_SDK, no
eval error

|5473|1:1|image| ( 0) utils.pm, notify (line: 630)

|5473|1:1|image| (-1) VMware.pm, get_vmhost_api_object (line: 1040)

|5473|1:1|image| (-2) VMware.pm, initialize (line: 224)

|5473|1:1|image| (-3) Module.pm, new (line: 159)

|5473|1:1|image| (-4) State.pm, initialize (line: 127)

|5473|1:1|image| (-5) Module.pm, new (line: 159)

|5473|1:1|image| (-6) vcld, make_new_child (line: 591)



2010-10-19 11:20:12|5473|1:1|image|VMware.pm:initialize(240)|attempting to
create OS object for the image currently loaded on the VM host: localvmhost

|5473|1:1|image| image name: noimage

|5473|1:1|image| OS module: VCL::Module::OS::Linux::UnixLab

2010-10-19
11:20:12|5473|1:1|image|DataStructure.pm:_initialize(594)|computer ID
argument was specified, retrieving data for computer ID: 3

2010-10-19
11:20:12|5473|1:1|image|VMware.pm:get_vmhost_datastructure(923)|created
DataStructure object for VM host: localvmhost

2010-10-19
11:20:12|5473|1:1|image|VMware.pm:get_vmhost_os_object(965)|attempting to
load VM host OS module: VCL::Module::OS::Linux::UnixLab

2010-10-19 11:20:12|5473|1:1|image|VMware.pm:get_vmhost_os_object(971)|VM
host OS module loaded: VCL::Module::OS::Linux::UnixLab

2010-10-19 11:20:12|5473|1:1|image|Module.pm:new(134)|constructor called,
class=VCL::Module::OS::Linux::UnixLab

2010-10-19
11:20:12|5473|1:1|image|Module.pm:new(156)|VCL::Module::OS::Linux::UnixLab
object created

2010-10-19 11:20:12|5473|1:1|image|VMware.pm:get_vmhost_os_object(977)|VM
host OS object created: VCL::Module::OS::Linux::UnixLab

2010-10-19 11:20:12|5473|1:1|image|VMware.pm:initialize(241)|created OS
object to control the OS of VM host: localvmhost

2010-10-19 11:20:12|5473|1:1|image|utils.pm:nmap_port(2699)|port 22 is open
on localvmhost

2010-10-19 11:20:12|5473|1:1|image|utils.pm:nmap_port(2707)|port 24 is
closed on localvmhost

2010-10-19 11:20:13|5473|1:1|image|OS.pm:is_ssh_responding(430)|localvmhost
is responding to SSH, port 22: open, port 24: closed

2010-10-19 11:20:13|5473|1:1|image|VMware.pm:initialize(250)|OS of VM host
localvmhost will be controlled via SSH using OS object:
VCL::Module::OS::Linux::UnixLab

2010-10-19
11:20:13|5473|1:1|image|DataStructure.pm:_initialize(594)|computer ID
argument was specified, retrieving data for computer ID: 3

2010-10-19
11:20:13|5473|1:1|image|VMware.pm:get_vmhost_datastructure(923)|created
DataStructure object for VM host: localvmhost

2010-10-19
11:20:13|5473|1:1|image|VMware.pm:get_vmhost_api_object(1027)|attempting to
load VMware control module: VCL::Module::Provisioning::VMware::VIM_SSH

2010-10-19
11:20:13|5473|1:1|image|VMware.pm:get_vmhost_api_object(1033)|loaded VMware
control module: VCL::Module::Provisioning::VMware::VIM_SSH

2010-10-19 11:20:13|5473|1:1|image|Module.pm:new(134)|constructor called,
class=VCL::Module::Provisioning::VMware::VIM_SSH

2010-10-19
11:20:13|5473|1:1|image|Module.pm:new(156)|VCL::Module::Provisioning::VMware::VIM_SSH
object created

*2010-10-19 11:20:13|5473|1:1|image|VIM_SSH.pm:initialize(126)|failed to
determine which VIM executable is available on the VM host, output:*

*|5473|1:1|image| bash: vim-cmd: command not found*

*|5473|1:1|image| bash: vmware-vim-cmd: command not found*

* *

*|5473|1:1|image| ---- WARNING ---- *

*|5473|1:1|image| 2010-10-19
11:20:13|5473|1:1|image|VMware.pm:get_vmhost_api_object(1040)|API object
could not be created: VCL::Module::Provisioning::VMware::VIM_SSH, no eval
error*

|5473|1:1|image| ( 0) utils.pm, notify (line: 630)

|5473|1:1|image| (-1) VMware.pm, get_vmhost_api_object (line: 1040)

|5473|1:1|image| (-2) VMware.pm, initialize (line: 264)

|5473|1:1|image| (-3) Module.pm, new (line: 159)

|5473|1:1|image| (-4) State.pm, initialize (line: 127)

|5473|1:1|image| (-5) Module.pm, new (line: 159)

|5473|1:1|image| (-6) vcld, make_new_child (line: 591)





|5473|1:1|image| ---- WARNING ----

|5473|1:1|image| 2010-10-19
11:20:13|5473|1:1|image|VMware.pm:initialize(271)|failed to create an API
object to control the VM: vmguest-1

|5473|1:1|image| ( 0) utils.pm, notify (line: 630)

|5473|1:1|image| (-1) VMware.pm, initialize (line: 271)

|5473|1:1|image| (-2) Module.pm, new (line: 159)

|5473|1:1|image| (-3) State.pm, initialize (line: 127)

|5473|1:1|image| (-4) Module.pm, new (line: 159)

|5473|1:1|image| (-5) vcld, make_new_child (line: 591)

|5473|1:1|image| (-6) vcld, main (line: 342)





|5473|1:1|image| ---- WARNING ----

|5473|1:1|image| 2010-10-19
11:20:13|5473|1:1|image|State.pm:initialize(132)|provisioning object could
not be created, returning 0

|5473|1:1|image| ( 0) utils.pm, notify (line: 630)

|5473|1:1|image| (-1) State.pm, initialize (line: 132)

|5473|1:1|image| (-2) Module.pm, new (line: 159)

|5473|1:1|image| (-3) vcld, make_new_child (line: 591)

|5473|1:1|image| (-4) vcld, main (line: 342)



2010-10-19 11:20:13|5473|1:1|image|State.pm:DESTROY(902)|destructor called,
ref($self)=VCL::image

2010-10-19 
11:20:13|5473|1:1|image|utils.pm:delete_computerloadlog_reservation(6829)|removing
computerloadlog entries matching loadstate = begin

2010-10-19 
11:20:13|5473|1:1|image|utils.pm:delete_computerloadlog_reservation(6876)|deleted
rows from computerloadlog for reservation id=1

2010-10-19 11:20:13|5473|1:1|image|State.pm:DESTROY(909)|removed
computerloadlog rows with loadstate=begin for reservation

2010-10-19 11:20:13|5473|1:1|image|State.pm:DESTROY(921)|number of database
handles state process created: 1

2010-10-19 11:20:13|5473|1:1|image|State.pm:DESTROY(930)|process has a
database handle stored in $ENV{dbh}, attempting disconnect

2010-10-19 11:20:13|5473|1:1|image|State.pm:DESTROY(932)|$ENV{dbh}: database
disconnect successful

2010-10-19 11:20:13|5473|1:1|image|State.pm:DESTROY(946)|VCL::image process
5473 exiting



Please we need your assistance.

Cordially,

Gibet Tani Hicham

Eloutouate Lamiae

Reply via email to