VMware {code} Community
sandeepkalekar
Contributor
Contributor

Due to large datastore size(10TB) in case of particular box, the API CreateVmfsDatastore gives timeout, even though the datastore is created.

I am invoking Vmware perl API CreateVmfsDatastore and creating a datastore of 10 TB. But due to large datastore size(10TB) in case of particular box, the API CreateVmfsDatastore gives timeout, even though the datastore is created.

I am getting following error -

SOAP request error - possibly a protocol issue: SSL read timeout:  at /usr/share/perl/5.14/perl5db.pl line 3737.

at /usr/lib/perl5/Net/SSL.pm line 210.

        Net::SSL::die_with_error(LWP::Protocol::https::Socket=GLOB(0x15100d0), "SSL read timeout") called at /usr/lib/perl5/Net/SSL.pm line 218

        Net::SSL::__ANON__[/usr/lib/perl5/Net/SSL.pm:218]("ALRM") called at /usr/share/perl/5.14/perl5db.pl line 3737

        eval {...} called at /usr/share/perl/5.14/perl5db.pl line 3737

        Net::SSL::read(LWP::Protocol::https::Socket=GLOB(0x15100d0), "", 1024, 0) called at /usr/share/perl5/Net/HTTP/Methods.pm line 256

        Net::HTTP::Methods::my_readline(LWP::Protocol::https::Socket=GLOB(0x15100d0), "Status") called at /usr/share/perl5/Net/HTTP/Methods.pm line 343

        Net::HTTP::Methods::read_response_headers(LWP::Protocol::https::Socket=GLOB(0x15100d0), "laxed", 1, "junk_out", ARRAY(0x4ff3480)) called at /usr/share/perl5/LWP/Protocol/http.pm line 378

        LWP::Protocol::http::request(LWP::Protocol::https=HASH(0x69b8e70), HTTP::Request=HASH(0x63377c8), undef, undef, undef, 180) called at /usr/share/perl5/LWP/UserAgent.pm line 192

        eval {...} called at /usr/share/perl5/LWP/UserAgent.pm line 191

        LWP::UserAgent::send_request(LWP::UserAgent=HASH(0x5649a48), HTTP::Request=HASH(0x63377c8), undef, undef) called at /usr/share/perl5/LWP/UserAgent.pm line 274

        LWP::UserAgent::simple_request(LWP::UserAgent=HASH(0x5649a48), HTTP::Request=HASH(0x63377c8), undef, undef) called at /usr/share/perl5/LWP/UserAgent.pm line 282

        LWP::UserAgent::request(LWP::UserAgent=HASH(0x5649a48), HTTP::Request=HASH(0x63377c8)) called at /usr/share/perl/5.14/VMware/VICommon.pm line 2199

        SoapClient::request(SoapClient=HASH(0x5649c50), "CreateVmfsDatastore", "<_this type=\"HostDatastoreSystem\">datastoreSystem-14979</_thi"..., "\"urn:vim25/test\"") called at /usr/share/perl/5.14/VMware/VIM25Stub.pm line 76513

        VimService::CreateVmfsDatastore(VimService=HASH(0x5649ac0), "_this", ManagedObjectReference=HASH(0x59c57c8), "spec", VmfsDatastoreCreateSpec=HASH(0x6330f30)) called at /usr/share/perl/5.14/VMware/VICommon.pm line 1699

        ViewBase::invoke(HostDatastoreSystem=HASH(0x69ca3c0), "CreateVmfsDatastore", "spec", VmfsDatastoreCreateSpec=HASH(0x6330f30)) called at (eval 47)[/usr/share/perl/5.14/VMware/VIMRuntime.pm:59] line 22

Is there any way to increase the timeout?

0 Kudos
0 Replies