You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@vcl.apache.org by António Aragão <aa...@di.uminho.pt> on 2019/08/02 09:58:03 UTC

Fwd: PROBLEM -- vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596

Good morning,

after I upgraded from 2.5 to 2.5.1 I'm unable to use any reservation.
Looking to the vcld.log a lots for perl errors. Any clue ? I attach the
output file for:  /usr/local/vcl/bin/install_perl_libs.pl

Thanks.

---------- Forwarded message ---------
De: <ro...@vclnode1.apachevcl.di.uminho.pt>
Date: quinta, 1/08/2019 à(s) 08:35
Subject: PROBLEM --
vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596
To: <aa...@di.uminho.pt>


reservation failed on mv76, process failed to initialize: failed to create
OS object
------------------------------------------------------------------------
time: 2019-08-01 08:30:22
caller: State.pm:reservation_failed(461)
( 0) State.pm, reservation_failed (line: 461)
(-1) State.pm, initialize (line: 170)
(-2) Module.pm, new (line: 228)
(-3) vcld, (eval) (line: 594)
(-4) vcld, make_new_child (line: 593)
(-5) vcld, main (line: 353)
------------------------------------------------------------------------
management node: vclnode1.apachevcl.di.uminho.pt
reservation PID: 5308
parent vcld PID: 21274

request ID: 870
reservation ID: 870
request state/laststate: new/new
request start time: 2019-08-01 08:30:00
request end time: 2019-08-01 12:30:00
for imaging: no
log ID: 729

computer: mv76.apachevcl.di.uminho.pt
computer id: 135
computer type: virtualmachine
computer eth0 MAC address: 00:50:56:00:03:1e
computer eth1 MAC address: 00:50:56:00:03:1f
computer private IP address: 10.100.0.76
computer public IP address: 192.168.93.76
computer in block allocation: no
provisioning module: VCL::Module::Provisioning::VMware::VMware

vm host: servidor13.di.uminho.pt
vm host ID: 4
vm host computer ID: 160
vm profile: s13vmhostprofile
vm profile VM path: /vmfs/volumes/IFT-block1/
vm profile repository path: /vmfs/volumes/vcl_images/
vm profile datastore path: /vmfs/volumes/IFT-block1/
vm profile disk type: shared

image: vmwarewin7-WIN7_20190617133-v0
image display name: WIN7_20190617
image ID: 133
image revision ID: 133
image size: 48022 MB
use Sysprep: yes
root access: yes
image owner ID: 1
image owner affiliation: Local
image revision date created: 2019-06-17 16:17:33
image revision production: yes
OS module: VCL::Module::OS::Windows::Version_6::7

user: a12596
user name:
user ID: 10
user affiliation: DIALUNOSLDAP
------------------------------------------------------------------------
RECENT LOG ENTRIES FOR THIS PROCESS:
2019-08-01 08:30:22|5308|870|870|new|vcld:make_new_child|571|vcld
environment variable set to 0 for this process
2019-08-01
08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this
is the parent reservation
2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6112|reservation
count: 1
2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6139|renamed
process to 'vcld '|5308|870|870|new|' mv76>servidor13
vmwarewin7-WIN7_20190617133-v0 a12596'
2019-08-01 08:30:22|5308|870|870|new|vcld:make_new_child|589|loaded
VCL::new module
2019-08-01 08:30:22|5308|870|870|new|Module.pm:new|188|VCL::new object
created for state new, address: b10a268
2019-08-01 08:30:22|5308|870|870|new|State.pm:initialize|86|initializing
VCL::Module::State object
2019-08-01
08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this
is the parent reservation
2019-08-01 08:30:22|5308|870|870|new|State.pm:initialize|103|obtained a
database handle for this state process, stored as $ENV{dbh}
2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_reservation_lastcheck|5499|updated
reservation.lastcheck to '2019-08-01 08:30:22' for reservation IDs: 870
2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_request_state|1439|request
870 state updated to pending/new
|5308|870|870|new|Module.pm:create_os_object|446| ---- WARNING ----
|5308|870|870|new|Module.pm:create_os_object|446| 2019-08-01
08:30:22|5308|870|870|new|Module.pm:create_os_object|446|VCL::Module::OS::Windows::Version_6::7
module could not be loaded, error:
|5308|870|870|new|Module.pm:create_os_object|446| CORE::state is not a
keyword at /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows.pm line
14683.
|5308|870|870|new|Module.pm:create_os_object|446| Compilation failed in
require at (eval 382) line 3.
|5308|870|870|new|Module.pm:create_os_object|446|  ...propagated at
/usr/share/perl5/base.pm line 94.
|5308|870|870|new|Module.pm:create_os_object|446| BEGIN failed--compilation
aborted at
/usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6.pm line 45.
|5308|870|870|new|Module.pm:create_os_object|446| Compilation failed in
require at (eval 381) line 3.
|5308|870|870|new|Module.pm:create_os_object|446|  ...propagated at
/usr/share/perl5/base.pm line 94.
|5308|870|870|new|Module.pm:create_os_object|446| BEGIN failed--compilation
aborted at /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6/
7.pm line 43.
|5308|870|870|new|Module.pm:create_os_object|446| Compilation failed in
require at (eval 380) line 2.
|5308|870|870|new|Module.pm:create_os_object|446| BEGIN failed--compilation
aborted at (eval 380) line 2.
|5308|870|870|new|Module.pm:create_os_object|446| ( 0) Module.pm,
create_os_object (line: 446)
|5308|870|870|new|Module.pm:create_os_object|446| (-1) State.pm, initialize
(line: 166)
|5308|870|870|new|Module.pm:create_os_object|446| (-2) Module.pm, new
(line: 228)
|5308|870|870|new|Module.pm:create_os_object|446| (-3) vcld, (eval) (line:
594)
|5308|870|870|new|Module.pm:create_os_object|446| (-4) vcld, make_new_child
(line: 593)
|5308|870|870|new|Module.pm:create_os_object|446| (-5) vcld, main (line:
353)
|5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| ----
WARNING ----
|5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| 2019-08-01
08:30:22|5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|2
rows were returned from database select
|5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| ( 0)
DataStructure.pm, get_computer_state_name (line: 2083)
|5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-1)
State.pm, reservation_failed (line: 404)
|5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-2)
State.pm, initialize (line: 170)
|5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-3)
Module.pm, new (line: 228)
|5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-4) vcld,
(eval) (line: 594)
|5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-5) vcld,
make_new_child (line: 593)
|5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-6) vcld,
main (line: 353)
2019-08-01
08:30:22|5308|870|870|new|DataStructure.pm:get_computer_private_ip_address|1596|returning
private IP address of mv76.apachevcl.di.uminho.pt (135) already stored in
this DataStructure object: 10.100.0.76
2019-08-01 08:30:22|5308|870|870|new|utils.pm:is_inblockrequest|4926|zero
rows were returned from database select
2019-08-01
08:30:22|5308|870|870|new|DataStructure.pm:get_image_affiliation_name|1704|image
owner id: 1


-- 
António Aragão
(Especialista de Informática)
Universidade do Minho
Departamento de Informática
Edificio 7 - 1.07 (DI-1.03)
Campus de Gualtar
Braga
Telefone: +351 253 6044 86

Re: PROBLEM -- vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596

Posted by Josh Thompson <jo...@ncsu.edu>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

To unsubscribe from this list, send an empty email to

user-unsubscribe@vcl.apache.org

Josh

On Sunday, August 4, 2019 3:52:28 PM EDT mostafa shahdadi wrote:
> unsubscribe
> 
> Sent from my iPad
> 
> > On Aug 2, 2019, at 18:31, Mike Jennings <gm...@ncsu.edu> wrote:
> > 
> > 
> > Antonio,
> > 
> > What version of perl are you running on your system?
> > 
> > Mike
> > 
> >> On Fri, Aug 2, 2019 at 6:28 AM António Aragão <aa...@di.uminho.pt>
> >> wrote:
> >> Good morning,
> >> 
> >> a example of trying to make a reservation.
> >> 
> >> Thanks.
> >> 
> >> António Aragão <aa...@di.uminho.pt> escreveu no dia sexta, 2/08/2019 
à(s) 10:58:
> >>> Good morning,
> >>> 
> >>> after I upgraded from 2.5 to 2.5.1 I'm unable to use any reservation.
> >>> Looking to the vcld.log a lots for perl errors. Any clue ? I attach the
> >>> output file for:  /usr/local/vcl/bin/install_perl_libs.pl
> >>> 
> >>> Thanks.
> >>> 
> >>> ---------- Forwarded message ---------
> >>> De: <ro...@vclnode1.apachevcl.di.uminho.pt>
> >>> Date: quinta, 1/08/2019 à(s) 08:35
> >>> Subject: PROBLEM --
> >>> vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_201906171
> >>> 33-v0|a12596 To: <aa...@di.uminho.pt>
> >>> 
> >>> 
> >>> reservation failed on mv76, process failed to initialize: failed to
> >>> create OS object
> >>> -----------------------------------------------------------------------
> >>> - time: 2019-08-01 08:30:22
> >>> caller: State.pm:reservation_failed(461)
> >>> ( 0) State.pm, reservation_failed (line: 461)
> >>> (-1) State.pm, initialize (line: 170)
> >>> (-2) Module.pm, new (line: 228)
> >>> (-3) vcld, (eval) (line: 594)
> >>> (-4) vcld, make_new_child (line: 593)
> >>> (-5) vcld, main (line: 353)
> >>> ------------------------------------------------------------------------
> >>> management node: vclnode1.apachevcl.di.uminho.pt
> >>> reservation PID: 5308
> >>> parent vcld PID: 21274
> >>> 
> >>> request ID: 870
> >>> reservation ID: 870
> >>> request state/laststate: new/new
> >>> request start time: 2019-08-01 08:30:00
> >>> request end time: 2019-08-01 12:30:00
> >>> for imaging: no
> >>> log ID: 729
> >>> 
> >>> computer: mv76.apachevcl.di.uminho.pt
> >>> computer id: 135
> >>> computer type: virtualmachine
> >>> computer eth0 MAC address: 00:50:56:00:03:1e
> >>> computer eth1 MAC address: 00:50:56:00:03:1f
> >>> computer private IP address: 10.100.0.76
> >>> computer public IP address: 192.168.93.76
> >>> computer in block allocation: no
> >>> provisioning module: VCL::Module::Provisioning::VMware::VMware
> >>> 
> >>> vm host: servidor13.di.uminho.pt
> >>> vm host ID: 4
> >>> vm host computer ID: 160
> >>> vm profile: s13vmhostprofile
> >>> vm profile VM path: /vmfs/volumes/IFT-block1/
> >>> vm profile repository path: /vmfs/volumes/vcl_images/
> >>> vm profile datastore path: /vmfs/volumes/IFT-block1/
> >>> vm profile disk type: shared
> >>> 
> >>> image: vmwarewin7-WIN7_20190617133-v0
> >>> image display name: WIN7_20190617
> >>> image ID: 133
> >>> image revision ID: 133
> >>> image size: 48022 MB
> >>> use Sysprep: yes
> >>> root access: yes
> >>> image owner ID: 1
> >>> image owner affiliation: Local
> >>> image revision date created: 2019-06-17 16:17:33
> >>> image revision production: yes
> >>> OS module: VCL::Module::OS::Windows::Version_6::7
> >>> 
> >>> user: a12596
> >>> user name:
> >>> user ID: 10
> >>> user affiliation: DIALUNOSLDAP
> >>> ------------------------------------------------------------------------
> >>> RECENT LOG ENTRIES FOR THIS PROCESS:
> >>> 2019-08-01 08:30:22|5308|870|870|new|vcld:make_new_child|571|vcld
> >>> environment variable set to 0 for this process 2019-08-01
> >>> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|t
> >>> his is the parent reservation 2019-08-01
> >>> 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6112|reservation
> >>> count: 1 2019-08-01
> >>> 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6139|renamed
> >>> process to 'vcld '|5308|870|870|new|' mv76>servidor13
> >>> vmwarewin7-WIN7_20190617133-v0 a12596' 2019-08-01
> >>> 08:30:22|5308|870|870|new|vcld:make_new_child|589|loaded VCL::new
> >>> module 2019-08-01 08:30:22|5308|870|870|new|Module.pm:new|188|VCL::new
> >>> object created for state new, address: b10a268 2019-08-01
> >>> 08:30:22|5308|870|870|new|State.pm:initialize|86|initializing
> >>> VCL::Module::State object 2019-08-01
> >>> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|t
> >>> his is the parent reservation 2019-08-01
> >>> 08:30:22|5308|870|870|new|State.pm:initialize|103|obtained a database
> >>> handle for this state process, stored as $ENV{dbh} 2019-08-01
> >>> 08:30:22|5308|870|870|new|utils.pm:update_reservation_lastcheck|5499|up
> >>> dated reservation.lastcheck to '2019-08-01 08:30:22' for reservation
> >>> IDs: 870 2019-08-01
> >>> 08:30:22|5308|870|870|new|utils.pm:update_request_state|1439|request
> >>> 870 state updated to pending/new>>> 
> >>> |5308|870|870|new|Module.pm:create_os_object|446| ---- WARNING ----
> >>> |5308|870|870|new|Module.pm:create_os_object|446| 2019-08-01
> >>> |08:30:22|5308|870|870|new|Module.pm:create_os_object|446|VCL::Module::
> >>> |OS::Windows::Version_6::7 module could not be loaded, error:
> >>> |5308|870|870|new|Module.pm:create_os_object|446| CORE::state is not a
> >>> |keyword at /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows.pm
> >>> |line 14683. 5308|870|870|new|Module.pm:create_os_object|446|
> >>> |Compilation failed in require at (eval 382) line 3.
> >>> |5308|870|870|new|Module.pm:create_os_object|446|  ...propagated at
> >>> |/usr/share/perl5/base.pm line 94.
> >>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
> >>> |failed--compilation aborted at
> >>> |/usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6.pm
> >>> |line 45. 5308|870|870|new|Module.pm:create_os_object|446| Compilation
> >>> |failed in require at (eval 381) line 3.
> >>> |5308|870|870|new|Module.pm:create_os_object|446|  ...propagated at
> >>> |/usr/share/perl5/base.pm line 94.
> >>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
> >>> |failed--compilation aborted at
> >>> |/usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6/7.pm
> >>> |line 43. 5308|870|870|new|Module.pm:create_os_object|446| Compilation
> >>> |failed in require at (eval 380) line 2.
> >>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
> >>> |failed--compilation aborted at (eval 380) line 2.
> >>> |5308|870|870|new|Module.pm:create_os_object|446| ( 0) Module.pm,
> >>> |create_os_object (line: 446)
> >>> |5308|870|870|new|Module.pm:create_os_object|446| (-1) State.pm,
> >>> |initialize (line: 166)
> >>> |5308|870|870|new|Module.pm:create_os_object|446| (-2) Module.pm, new
> >>> |(line: 228) 5308|870|870|new|Module.pm:create_os_object|446| (-3)
> >>> |vcld, (eval) (line: 594)
> >>> |5308|870|870|new|Module.pm:create_os_object|446| (-4) vcld,
> >>> |make_new_child (line: 593)
> >>> |5308|870|870|new|Module.pm:create_os_object|446| (-5) vcld, main
> >>> |(line: 353)
> >>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| ----
> >>> |WARNING ----
> >>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
> >>> |2019-08-01
> >>> |08:30:22|5308|870|870|new|DataStructure.pm:get_computer_state_name|208
> >>> |3|2 rows were returned from database select
> >>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| ( 0)
> >>> |DataStructure.pm, get_computer_state_name (line: 2083)
> >>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-1)
> >>> |State.pm, reservation_failed (line: 404)
> >>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-2)
> >>> |State.pm, initialize (line: 170)
> >>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-3)
> >>> |Module.pm, new (line: 228)
> >>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-4)
> >>> |vcld, (eval) (line: 594)
> >>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-5)
> >>> |vcld, make_new_child (line: 593)
> >>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-6)
> >>> |vcld, main (line: 353)>>> 
> >>> 2019-08-01
> >>> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_private_ip_addr
> >>> ess|1596|returning private IP address of mv76.apachevcl.di.uminho.pt
> >>> (135) already stored in this DataStructure object: 10.100.0.76
> >>> 2019-08-01
> >>> 08:30:22|5308|870|870|new|utils.pm:is_inblockrequest|4926|zero rows
> >>> were returned from database select 2019-08-01
> >>> 08:30:22|5308|870|870|new|DataStructure.pm:get_image_affiliation_name|1
> >>> 704|image owner id: 1

- -- 
- -------------------------------
Josh Thompson
VCL Developer
North Carolina State University

my GPG/PGP key can be found at pgp.mit.edu

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.
-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQRMIdRtWXideTZDK31X8tBw1209AwUCXUgvxwAKCRBX8tBw1209
A8imAJ9GuSkipSg7AE0/1TAgiPNizM7BggCePQbHwnDNWSSEzbl/6h3LAtOrsOs=
=h5rI
-----END PGP SIGNATURE-----




Re: PROBLEM -- vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596

Posted by mostafa shahdadi <mo...@icloud.com>.
unsubscribe 

Sent from my iPad

> On Aug 2, 2019, at 18:31, Mike Jennings <gm...@ncsu.edu> wrote:
> 
> 
> Antonio,
> 
> What version of perl are you running on your system?
> 
> Mike
> 
>> On Fri, Aug 2, 2019 at 6:28 AM António Aragão <aa...@di.uminho.pt> wrote:
>> Good morning,
>> 
>> a example of trying to make a reservation.
>> 
>> Thanks.
>> 
>> António Aragão <aa...@di.uminho.pt> escreveu no dia sexta, 2/08/2019 à(s) 10:58:
>>> Good morning,
>>> 
>>> after I upgraded from 2.5 to 2.5.1 I'm unable to use any reservation. Looking to the vcld.log a lots for perl errors. Any clue ? I attach the output file for:  /usr/local/vcl/bin/install_perl_libs.pl
>>> 
>>> Thanks.
>>> 
>>> ---------- Forwarded message ---------
>>> De: <ro...@vclnode1.apachevcl.di.uminho.pt>
>>> Date: quinta, 1/08/2019 à(s) 08:35
>>> Subject: PROBLEM -- vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596
>>> To: <aa...@di.uminho.pt>
>>> 
>>> 
>>> reservation failed on mv76, process failed to initialize: failed to create OS object
>>> ------------------------------------------------------------------------
>>> time: 2019-08-01 08:30:22
>>> caller: State.pm:reservation_failed(461)
>>> ( 0) State.pm, reservation_failed (line: 461)
>>> (-1) State.pm, initialize (line: 170)
>>> (-2) Module.pm, new (line: 228)
>>> (-3) vcld, (eval) (line: 594)
>>> (-4) vcld, make_new_child (line: 593)
>>> (-5) vcld, main (line: 353)
>>> ------------------------------------------------------------------------
>>> management node: vclnode1.apachevcl.di.uminho.pt
>>> reservation PID: 5308
>>> parent vcld PID: 21274
>>> 
>>> request ID: 870
>>> reservation ID: 870
>>> request state/laststate: new/new
>>> request start time: 2019-08-01 08:30:00
>>> request end time: 2019-08-01 12:30:00
>>> for imaging: no
>>> log ID: 729
>>> 
>>> computer: mv76.apachevcl.di.uminho.pt
>>> computer id: 135
>>> computer type: virtualmachine
>>> computer eth0 MAC address: 00:50:56:00:03:1e
>>> computer eth1 MAC address: 00:50:56:00:03:1f
>>> computer private IP address: 10.100.0.76
>>> computer public IP address: 192.168.93.76
>>> computer in block allocation: no
>>> provisioning module: VCL::Module::Provisioning::VMware::VMware
>>> 
>>> vm host: servidor13.di.uminho.pt
>>> vm host ID: 4
>>> vm host computer ID: 160
>>> vm profile: s13vmhostprofile
>>> vm profile VM path: /vmfs/volumes/IFT-block1/
>>> vm profile repository path: /vmfs/volumes/vcl_images/
>>> vm profile datastore path: /vmfs/volumes/IFT-block1/
>>> vm profile disk type: shared
>>> 
>>> image: vmwarewin7-WIN7_20190617133-v0
>>> image display name: WIN7_20190617
>>> image ID: 133
>>> image revision ID: 133
>>> image size: 48022 MB
>>> use Sysprep: yes
>>> root access: yes
>>> image owner ID: 1
>>> image owner affiliation: Local
>>> image revision date created: 2019-06-17 16:17:33
>>> image revision production: yes
>>> OS module: VCL::Module::OS::Windows::Version_6::7
>>> 
>>> user: a12596
>>> user name:  
>>> user ID: 10
>>> user affiliation: DIALUNOSLDAP
>>> ------------------------------------------------------------------------
>>> RECENT LOG ENTRIES FOR THIS PROCESS:
>>> 2019-08-01 08:30:22|5308|870|870|new|vcld:make_new_child|571|vcld environment variable set to 0 for this process
>>> 2019-08-01 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this is the parent reservation
>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6112|reservation count: 1
>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6139|renamed process to 'vcld '|5308|870|870|new|' mv76>servidor13 vmwarewin7-WIN7_20190617133-v0 a12596'
>>> 2019-08-01 08:30:22|5308|870|870|new|vcld:make_new_child|589|loaded VCL::new module
>>> 2019-08-01 08:30:22|5308|870|870|new|Module.pm:new|188|VCL::new object created for state new, address: b10a268
>>> 2019-08-01 08:30:22|5308|870|870|new|State.pm:initialize|86|initializing VCL::Module::State object
>>> 2019-08-01 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this is the parent reservation
>>> 2019-08-01 08:30:22|5308|870|870|new|State.pm:initialize|103|obtained a database handle for this state process, stored as $ENV{dbh}
>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_reservation_lastcheck|5499|updated reservation.lastcheck to '2019-08-01 08:30:22' for reservation IDs: 870
>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_request_state|1439|request 870 state updated to pending/new
>>> |5308|870|870|new|Module.pm:create_os_object|446| ---- WARNING ---- 
>>> |5308|870|870|new|Module.pm:create_os_object|446| 2019-08-01 08:30:22|5308|870|870|new|Module.pm:create_os_object|446|VCL::Module::OS::Windows::Version_6::7 module could not be loaded, error:
>>> |5308|870|870|new|Module.pm:create_os_object|446| CORE::state is not a keyword at /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows.pm line 14683.
>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation failed in require at (eval 382) line 3.
>>> |5308|870|870|new|Module.pm:create_os_object|446|  ...propagated at /usr/share/perl5/base.pm line 94.
>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN failed--compilation aborted at /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6.pm line 45.
>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation failed in require at (eval 381) line 3.
>>> |5308|870|870|new|Module.pm:create_os_object|446|  ...propagated at /usr/share/perl5/base.pm line 94.
>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN failed--compilation aborted at /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6/7.pm line 43.
>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation failed in require at (eval 380) line 2.
>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN failed--compilation aborted at (eval 380) line 2.
>>> |5308|870|870|new|Module.pm:create_os_object|446| ( 0) Module.pm, create_os_object (line: 446)
>>> |5308|870|870|new|Module.pm:create_os_object|446| (-1) State.pm, initialize (line: 166)
>>> |5308|870|870|new|Module.pm:create_os_object|446| (-2) Module.pm, new (line: 228)
>>> |5308|870|870|new|Module.pm:create_os_object|446| (-3) vcld, (eval) (line: 594)
>>> |5308|870|870|new|Module.pm:create_os_object|446| (-4) vcld, make_new_child (line: 593)
>>> |5308|870|870|new|Module.pm:create_os_object|446| (-5) vcld, main (line: 353)
>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| ---- WARNING ---- 
>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| 2019-08-01 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|2 rows were returned from database select
>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| ( 0) DataStructure.pm, get_computer_state_name (line: 2083)
>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-1) State.pm, reservation_failed (line: 404)
>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-2) State.pm, initialize (line: 170)
>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-3) Module.pm, new (line: 228)
>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-4) vcld, (eval) (line: 594)
>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-5) vcld, make_new_child (line: 593)
>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-6) vcld, main (line: 353)
>>> 2019-08-01 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_private_ip_address|1596|returning private IP address of mv76.apachevcl.di.uminho.pt (135) already stored in this DataStructure object: 10.100.0.76
>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:is_inblockrequest|4926|zero rows were returned from database select
>>> 2019-08-01 08:30:22|5308|870|870|new|DataStructure.pm:get_image_affiliation_name|1704|image owner id: 1
>>> 
>>> 
>>> -- 
>>> António Aragão
>>> (Especialista de Informática)
>>> Universidade do Minho
>>> Departamento de Informática 
>>> Edificio 7 - 1.07 (DI-1.03)
>>> Campus de Gualtar
>>> Braga
>>> Telefone: +351 253 6044 86
>>> 
>>> 
>> 
>> 
>> -- 
>> António Aragão
>> (Especialista de Informática)
>> Universidade do Minho
>> Departamento de Informática 
>> Edificio 7 - 1.07 (DI-1.03)
>> Campus de Gualtar
>> Braga
>> Telefone: +351 253 6044 86
>> 
>> 

Re: PROBLEM -- vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596

Posted by António Aragão <aa...@di.uminho.pt>.
Thanks for this information. I will setup an windows 10 image to give a try.

Kind regards.

Josh Thompson <jo...@ncsu.edu> escreveu no dia quinta, 8/08/2019
à(s) 17:44:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Antonio,
>
> I just wanted to add to what Mike said about the .\user issue.  When
> Windows
> 10 was first starting to come preinstalled on computers, we started having
> lots of reports of users not being able to log in.  After a long time, we
> finally tracked down the problem.  Windows 10 was giving users an option
> of
> creating an account on a Microsoft run domain that they then used to log
> in to
> their own computers.  However, when they tried to log in to a VCL
> provisioned
> system using RDP, it tried to use that same Microsoft domain instead of
> using
> the local account on the computer.  Prepending ".\" to the username forced
> the
> users to log in using the local account and fixed the problem.  It's safe
> to
> always have that as part of the username as it means to use the local
> account
> for logging in.
>
> Josh
>
> On Thursday, August 8, 2019 12:19:22 PM EDT Mike Jennings wrote:
> > I am glad that things are working for you.
> >
> > So just to clarify, you rolled your perl version to 5.10 and used the
> > Windows.pm file I sent and this resolved your issue?
> >
> > To answer question one, I would upgrade to Centos OS 7 as 6 is going to
> be
> > deprecated in the next year.
> >
> > Currently we have the .\user on the windows machines that are not
> connected
> > to AD so that it forces the user to authenticate to local accounts.
> >
> > Mike
> >
> > On Thu, Aug 8, 2019 at 12:08 PM António Aragão <aa...@di.uminho.pt>
> wrote:
> > > Mike,
> > >
> > > thanks, now it is up and running after using the new Windows.pm. I
> have 2
> > > more questions:
> > >
> > > Question 1) Web+node should be in Cent OS 7 x64 with perl 5.16.3 ?
> > >
> > > Question 2) In the windows machines the login is shown as .\user how
> can I
> > > remove ".\" we don't have an windows domain.
> > >
> > > Thanks.
> > >
> > > Mike Jennings <gm...@ncsu.edu> escreveu no dia terça, 6/08/2019
> à(s)
> > >
> > > 18:20:
> > >> Antonio,
> > >>
> > >> I would suggest rolling your code back to the previous version of perl
> > >> that you were running.  It appears that after you upgraded there is a
> > >> issue
> > >> with resolving session variables.
> > >>
> > >> I have made the following changes to the Windows.pm file
> > >>
> > >> I added the use feature 'state'; to be above the subroutine
> > >> ad_delete_computer and then removed the CORE:: from the state
> > >> $recrusion=0
> > >> line in the same subroute.  Please look below.  These changes make the
> > >> code
> > >> compile correctly on a vm I setup with perl 5.10.1 on Centos 6.x
> 32bit.
> > >> I
> > >> have also attached the Windows.pm file to this email, which can be
> used
> > >> to
> > >> replace the one located at /usr/local/vcl/lib/VCL/Module/OS
> > >>
> > >> use feature 'state';
> > >> sub ad_delete_computer {
> > >>
> > >>         my $self = shift;
> > >>         if (ref($self) !~ /windows/i) {
> > >>
> > >>                 notify($ERRORS{'CRITICAL'}, 0, "subroutine was called
> as
> > >>
> > >> a function, it must be called as a class method");
> > >>
> > >>                 return;
> > >>
> > >>         }
> > >>
> > >>         # static variable to track if function being call recursively
> > >>         state $recursion = 0;
> > >>
> > >> Please let me know if these changes work for you and then I will push
> > >> them out into the next release.
> > >>
> > >> Mike Jennings
> > >>
> > >> On Tue, Aug 6, 2019 at 11:41 AM Mike Jennings <gm...@ncsu.edu>
> wrote:
> > >>> Antonio,
> > >>>
> > >>> Can you possibly role bak to version 5.10 on the box?
> > >>>
> > >>> Mike
> > >>>
> > >>> On Tue, Aug 6, 2019 at 11:20 AM António Aragão <aaragao@di.uminho.pt
> >
> > >>>
> > >>> wrote:
> > >>>> Mike,
> > >>>>
> > >>>> I upgrade perl with cpan packages necessary for vcl. If you want I
> try
> > >>>> perl commands if it is all ok.
> > >>>>
> > >>>> Thanks.
> > >>>>
> > >>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia terça, 6/08/2019
> > >>>>
> > >>>> à(s) 15:25:
> > >>>>> Antonio,
> > >>>>>
> > >>>>> Did you also upgrade your cpan packages after doing the upgrade of
> the
> > >>>>> perl module you are running?
> > >>>>>
> > >>>>> We currently have Centos 7.6 x64 running with the new VCL code and
> > >>>>> have no issues at all.
> > >>>>>
> > >>>>> I am going to download a copy of your operating system and see what
> > >>>>> issues I have getting this setup locally.
> > >>>>>
> > >>>>> Mike Jennings
> > >>>>>
> > >>>>> On Tue, Aug 6, 2019 at 9:22 AM António Aragão <
> aaragao@di.uminho.pt>
> > >>>>>
> > >>>>> wrote:
> > >>>>>> CentOS 6.10 32bits.
> > >>>>>>
> > >>>>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia terça,
> 6/08/2019
> > >>>>>>
> > >>>>>> à(s) 13:56:
> > >>>>>>> Can you let me know what operating system you are currently
> using?
> > >>>>>>>
> > >>>>>>> Mike
> > >>>>>>>
> > >>>>>>> On Tue, Aug 6, 2019 at 5:04 AM António Aragão <
> aaragao@di.uminho.pt>
> > >>>>>>>
> > >>>>>>> wrote:
> > >>>>>>>> Hello,
> > >>>>>>>>
> > >>>>>>>> I upgrade perl version and now is 5.16.3, I'm unable to do any
> > >>>>>>>>
> > >>>>>>>> reservation and the vcld.log keeps logging:
> > >>>>>>>> |15431|||vcld|vcld:warning_handler|646| ---- WARNING ----
> > >>>>>>>> |15431|||vcld|vcld:warning_handler|646| 2019-08-06
> > >>>>>>>>
> > >>>>>>>> 10:00:14|15431|||vcld|vcld:warning_handler|646|Use of
> uninitialized
> > >>>>>>>> value
> > >>>>>>>> $reservation_id in concatenation (.) or string at
> > >>>>>>>> /usr/local/vcl/bin/vcld
> > >>>>>>>> line 541.
> > >>>>>>>>
> > >>>>>>>> |15431|||vcld|vcld:warning_handler|646| ( 0) vcld,
> warning_handler
> > >>>>>>>>
> > >>>>>>>> (line: 646)
> > >>>>>>>>
> > >>>>>>>> |15431|||vcld|vcld:warning_handler|646| (-1) vcld,
> make_new_child
> > >>>>>>>>
> > >>>>>>>> (line: 541)
> > >>>>>>>>
> > >>>>>>>> |15431|||vcld|vcld:warning_handler|646| (-2) vcld, main (line:
> 454)
> > >>>>>>>>
> > >>>>>>>> 2019-08-06 10:00:14|15431|||vcld|vcld:make_new_child|541|created
> > >>>>>>>> child process 15595 for reservation , state: blockrequest,
> current
> > >>>>>>>> number
> > >>>>>>>> of forked kids: 1
> > >>>>>>>> 2019-08-06
> > >>>>>>>> 10:00:14|15595|37||blockrequest|utils.pm:
> rename_vcld_process|6139|
> > >>>>>>>> renamed process to 'vcld 37:249 'teste''
> > >>>>>>>> 2019-08-06
> > >>>>>>>> 10:00:14|15595|37||blockrequest|vcld:make_new_child|589|loaded
> > >>>>>>>> VCL::blockrequest module
> > >>>>>>>> 2019-08-06
> > >>>>>>>>
> 10:00:14|15595|37||blockrequest|Module.pm:new|188|VCL::blockrequest
> > >>>>>>>> object
> > >>>>>>>> created for state available, address: a5a7e98
> > >>>>>>>> 2019-08-06
> > >>>>>>>> 10:00:14|15595|37||blockrequest|blockrequest.pm:
> initialize|84|obta
> > >>>>>>>> ined a database handle for this state process, stored as
> $ENV{dbh}
> > >>>>>>>> 2019-08-06
> > >>>>>>>> 10:00:14|15595|37||blockrequest|utils.pm:
> rename_vcld_process|6139|
> > >>>>>>>> renamed process to 'vcld 37:249 'teste''
> > >>>>>>>> 2019-08-06
> > >>>>>>>> 10:00:14|15595|37||blockrequest|blockrequest.pm:
> initialize|94|retu
> > >>>>>>>> rning 1
> > >>>>>>>> 2019-08-06
> > >>>>>>>>
> 10:00:14|15595|37||blockrequest|vcld:make_new_child|598|VCL::blockr
> > >>>>>>>> equest
> > >>>>>>>> object created and initialized
> > >>>>>>>> 2019-08-06
> > >>>>>>>> 10:00:14|15595|37||blockrequest|utils.pm:get_user_info|6696|UID
> > >>>>>>>> value is not configured for admin@Local, setting UID=501,
> setting
> > >>>>>>>> FEDERATED_LINUX_AUTHENTICATION=0
> > >>>>>>>> 2019-08-06
> > >>>>>>>> 10:00:14|15595|37||blockrequest|utils.pm:
> getnewdbh|2191|database
> > >>>>>>>> requested (information_schema) does not match handle stored in
> > >>>>>>>> $ENV{dbh}
> > >>>>>>>> (vcl:192.168.93.1)
> > >>>>>>>> 2019-08-06
> > >>>>>>>> 10:00:14|15595|37||blockrequest|utils.pm:
> getnewdbh|2242|database
> > >>>>>>>> handle stored in $ENV{dbh}
> > >>>>>>>> 2019-08-06
> > >>>>>>>> 10:00:14|15595|37||blockrequest|utils.pm:
> getnewdbh|2191|database
> > >>>>>>>> requested (vcl) does not match handle stored in $ENV{dbh}
> > >>>>>>>> (information_schema:192.168.93.1)
> > >>>>>>>> 2019-08-06
> > >>>>>>>> 10:00:14|15595|37||blockrequest|utils.pm:
> getnewdbh|2242|database
> > >>>>>>>> handle stored in $ENV{dbh}
> > >>>>>>>> 2019-08-06
> > >>>>>>>> 10:00:14|15595|37||blockrequest|utils.pm:
> get_image_active_director
> > >>>>>>>> y_domain_info|14622|image 133 is not configured for Active
> > >>>>>>>> Directory
> > >>>>>>>> 2019-08-06
> > >>>>>>>> 10:00:14|15595|37||blockrequest|blockrequest.pm:
> process|159|blockr
> > >>>>>>>> equest id: 37
> > >>>>>>>> 2019-08-06
> > >>>>>>>> 10:00:14|15595|37||blockrequest|blockrequest.pm:
> process|160|blockr
> > >>>>>>>> equest mode: expire
> > >>>>>>>> 2019-08-06
> > >>>>>>>> 10:00:14|15595|37||blockrequest|blockrequest.pm:
> process|161|blockr
> > >>>>>>>> equest image id: 133
> > >>>>>>>> 2019-08-06
> > >>>>>>>> 10:00:14|15595|37||blockrequest|blockrequest.pm:
> process|162|blockr
> > >>>>>>>> equest number machines: 10
> > >>>>>>>> 2019-08-06
> > >>>>>>>> 10:00:14|15595|37||blockrequest|blockrequest.pm:
> process|163|blockr
> > >>>>>>>> equest expire: 2019-08-02 23:59:59
> > >>>>>>>> 2019-08-06
> > >>>>>>>> 10:00:14|15595|37||blockrequest|blockrequest.pm:
> process|164|blockt
> > >>>>>>>> ime id: 249
> > >>>>>>>> 2019-08-06
> > >>>>>>>> 10:00:14|15595|37||blockrequest|blockrequest.pm:
> process|165|blockt
> > >>>>>>>> ime processed: 1
> > >>>>>>>> 2019-08-06
> > >>>>>>>> 10:00:14|15595|37||blockrequest|blockrequest.pm:
> process|166|blockt
> > >>>>>>>> ime start: 2019-08-02 08:30:00
> > >>>>>>>> 2019-08-06
> > >>>>>>>> 10:00:14|15595|37||blockrequest|blockrequest.pm:
> process|167|owner
> > >>>>>>>> email: aaragao@di.uminho.pt
> > >>>>>>>> 2019-08-06
> > >>>>>>>> 10:00:14|15595|37||blockrequest|blockrequest.pm:
> process|168|help
> > >>>>>>>> address: divcl@di.uminho.pt
> > >>>>>>>> 2019-08-06
> > >>>>>>>> 10:00:14|15595|37||blockrequest|blockrequest.pm:
> process|326|Block
> > >>>>>>>> Request 37 has expired
> > >>>>>>>> 2019-08-06
> > >>>>>>>> 10:00:14|15595|37||blockrequest|blockrequest.pm:
> process|327|Update
> > >>>>>>>> d status of blockRequest id 37 to completed
> > >>>>>>>> 2019-08-06
> > >>>>>>>> 10:00:14|15595|37||blockrequest|blockrequest.pm:
> process|337|Remove
> > >>>>>>>> d processing flag on blockrequest_id 37
> > >>>>>>>> 2019-08-06
> > >>>>>>>>
> 10:00:14|15595|37||blockrequest|State.pm:DESTROY|1093|VCL::blockreq
> > >>>>>>>> uest
> > >>>>>>>> destructor called, address: a5a7e98
> > >>>>>>>> 2019-08-06
> > >>>>>>>>
> 10:00:14|15595|37||blockrequest|Module.pm:DESTROY|2391|destroying
> > >>>>>>>> VCL::blockrequest object, address: a5a7e98
> > >>>>>>>> 2019-08-06 10:00:15|15431|||vcld|vcld:REAPER|758|VCL process
> exited
> > >>>>>>>> for reservation <unknown>, PID: 15595, signal: CHLD
> > >>>>>>>>
> > >>>>>>>> Any clue ? I even try to reload a new image but it doesn't work.
> > >>>>>>>>
> > >>>>>>>> Thanks.
> > >>>>>>>>
> > >>>>>>>>
> > >>>>>>>> António Aragão <aa...@di.uminho.pt> escreveu no dia sexta,
> > >>>>>>>>
> > >>>>>>>> 2/08/2019 à(s) 16:36:
> > >>>>>>>>> Thanks Mike. I will upgrade perl version and will try.
> > >>>>>>>>>
> > >>>>>>>>> Thanks.
> > >>>>>>>>>
> > >>>>>>>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia sexta,
> > >>>>>>>>>
> > >>>>>>>>> 2/08/2019 à(s) 16:24:
> > >>>>>>>>>> I would suggest upgrading perl to be version 5.16.3 to see if
> > >>>>>>>>>> that works.  I don't get the errors you are seeing with that
> > >>>>>>>>>> version.
> > >>>>>>>>>>
> > >>>>>>>>>> Mike
> > >>>>>>>>>>
> > >>>>>>>>>> On Fri, Aug 2, 2019 at 10:02 AM António Aragão <
> > >>>>>>>>>>
> > >>>>>>>>>> aaragao@di.uminho.pt> wrote:
> > >>>>>>>>>>> Mike,
> > >>>>>>>>>>>
> > >>>>>>>>>>> it is v5.10.1.
> > >>>>>>>>>>>
> > >>>>>>>>>>> Thanks.
> > >>>>>>>>>>>
> > >>>>>>>>>>> [root@vclnode1 ~]# perl -v
> > >>>>>>>>>>>
> > >>>>>>>>>>> This is perl, v5.10.1 (*) built for i386-linux-thread-multi
> > >>>>>>>>>>>
> > >>>>>>>>>>> Copyright 1987-2009, Larry Wall
> > >>>>>>>>>>>
> > >>>>>>>>>>> Perl may be copied only under the terms of either the
> Artistic
> > >>>>>>>>>>> License or the
> > >>>>>>>>>>> GNU General Public License, which may be found in the Perl 5
> > >>>>>>>>>>> source kit.
> > >>>>>>>>>>>
> > >>>>>>>>>>> Complete documentation for Perl, including FAQ lists, should
> be
> > >>>>>>>>>>> found on
> > >>>>>>>>>>> this system using "man perl" or "perldoc perl".  If you have
> > >>>>>>>>>>> access to the
> > >>>>>>>>>>> Internet, point your browser at http://www.perl.org/, the
> Perl
> > >>>>>>>>>>> Home Page.
> > >>>>>>>>>>>
> > >>>>>>>>>>> [root@vclnode1 ~]#
> > >>>>>>>>>>>
> > >>>>>>>>>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia sexta,
> > >>>>>>>>>>>
> > >>>>>>>>>>> 2/08/2019 à(s) 14:49:
> > >>>>>>>>>>>> Antonio,
> > >>>>>>>>>>>>
> > >>>>>>>>>>>> What version of perl are you running on your system?
> > >>>>>>>>>>>>
> > >>>>>>>>>>>> Mike
> > >>>>>>>>>>>>
> > >>>>>>>>>>>> On Fri, Aug 2, 2019 at 6:28 AM António Aragão <
> > >>>>>>>>>>>>
> > >>>>>>>>>>>> aaragao@di.uminho.pt> wrote:
> > >>>>>>>>>>>>> Good morning,
> > >>>>>>>>>>>>>
> > >>>>>>>>>>>>> a example of trying to make a reservation.
> > >>>>>>>>>>>>>
> > >>>>>>>>>>>>> Thanks.
> > >>>>>>>>>>>>>
> > >>>>>>>>>>>>> António Aragão <aa...@di.uminho.pt> escreveu no dia
> sexta,
> > >>>>>>>>>>>>>
> > >>>>>>>>>>>>> 2/08/2019 à(s) 10:58:
> > >>>>>>>>>>>>>> Good morning,
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> after I upgraded from 2.5 to 2.5.1 I'm unable to use any
> > >>>>>>>>>>>>>> reservation. Looking to the vcld.log a lots for perl
> errors.
> > >>>>>>>>>>>>>> Any clue ? I
> > >>>>>>>>>>>>>> attach the output file for:  /usr/local/vcl/bin/
> > >>>>>>>>>>>>>> install_perl_libs.pl
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> Thanks.
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> ---------- Forwarded message ---------
> > >>>>>>>>>>>>>> De: <ro...@vclnode1.apachevcl.di.uminho.pt>
> > >>>>>>>>>>>>>> Date: quinta, 1/08/2019 à(s) 08:35
> > >>>>>>>>>>>>>> Subject: PROBLEM --
> > >>>>>>>>>>>>>>
> vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7
> > >>>>>>>>>>>>>> _20190617133-v0|a12596 To: <aa...@di.uminho.pt>
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> reservation failed on mv76, process failed to initialize:
> > >>>>>>>>>>>>>> failed to create OS object
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>>
> -------------------------------------------------------------
> > >>>>>>>>>>>>>> -----------
> > >>>>>>>>>>>>>> time: 2019-08-01 08:30:22
> > >>>>>>>>>>>>>> caller: State.pm:reservation_failed(461)
> > >>>>>>>>>>>>>> ( 0) State.pm, reservation_failed (line: 461)
> > >>>>>>>>>>>>>> (-1) State.pm, initialize (line: 170)
> > >>>>>>>>>>>>>> (-2) Module.pm, new (line: 228)
> > >>>>>>>>>>>>>> (-3) vcld, (eval) (line: 594)
> > >>>>>>>>>>>>>> (-4) vcld, make_new_child (line: 593)
> > >>>>>>>>>>>>>> (-5) vcld, main (line: 353)
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>>
> -------------------------------------------------------------
> > >>>>>>>>>>>>>> -----------
> > >>>>>>>>>>>>>> management node: vclnode1.apachevcl.di.uminho.pt
> > >>>>>>>>>>>>>> reservation PID: 5308
> > >>>>>>>>>>>>>> parent vcld PID: 21274
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> request ID: 870
> > >>>>>>>>>>>>>> reservation ID: 870
> > >>>>>>>>>>>>>> request state/laststate: new/new
> > >>>>>>>>>>>>>> request start time: 2019-08-01 08:30:00
> > >>>>>>>>>>>>>> request end time: 2019-08-01 12:30:00
> > >>>>>>>>>>>>>> for imaging: no
> > >>>>>>>>>>>>>> log ID: 729
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> computer: mv76.apachevcl.di.uminho.pt
> > >>>>>>>>>>>>>> computer id: 135
> > >>>>>>>>>>>>>> computer type: virtualmachine
> > >>>>>>>>>>>>>> computer eth0 MAC address: 00:50:56:00:03:1e
> > >>>>>>>>>>>>>> computer eth1 MAC address: 00:50:56:00:03:1f
> > >>>>>>>>>>>>>> computer private IP address: 10.100.0.76
> > >>>>>>>>>>>>>> computer public IP address: 192.168.93.76
> > >>>>>>>>>>>>>> computer in block allocation: no
> > >>>>>>>>>>>>>> provisioning module:
> > >>>>>>>>>>>>>> VCL::Module::Provisioning::VMware::VMware
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> vm host: servidor13.di.uminho.pt
> > >>>>>>>>>>>>>> vm host ID: 4
> > >>>>>>>>>>>>>> vm host computer ID: 160
> > >>>>>>>>>>>>>> vm profile: s13vmhostprofile
> > >>>>>>>>>>>>>> vm profile VM path: /vmfs/volumes/IFT-block1/
> > >>>>>>>>>>>>>> vm profile repository path: /vmfs/volumes/vcl_images/
> > >>>>>>>>>>>>>> vm profile datastore path: /vmfs/volumes/IFT-block1/
> > >>>>>>>>>>>>>> vm profile disk type: shared
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> image: vmwarewin7-WIN7_20190617133-v0
> > >>>>>>>>>>>>>> image display name: WIN7_20190617
> > >>>>>>>>>>>>>> image ID: 133
> > >>>>>>>>>>>>>> image revision ID: 133
> > >>>>>>>>>>>>>> image size: 48022 MB
> > >>>>>>>>>>>>>> use Sysprep: yes
> > >>>>>>>>>>>>>> root access: yes
> > >>>>>>>>>>>>>> image owner ID: 1
> > >>>>>>>>>>>>>> image owner affiliation: Local
> > >>>>>>>>>>>>>> image revision date created: 2019-06-17 16:17:33
> > >>>>>>>>>>>>>> image revision production: yes
> > >>>>>>>>>>>>>> OS module: VCL::Module::OS::Windows::Version_6::7
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> user: a12596
> > >>>>>>>>>>>>>> user name:
> > >>>>>>>>>>>>>> user ID: 10
> > >>>>>>>>>>>>>> user affiliation: DIALUNOSLDAP
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>>
> -------------------------------------------------------------
> > >>>>>>>>>>>>>> -----------
> > >>>>>>>>>>>>>> RECENT LOG ENTRIES FOR THIS PROCESS:
> > >>>>>>>>>>>>>> 2019-08-01
> > >>>>>>>>>>>>>> 08:30:22|5308|870|870|new|vcld:make_new_child|571|vcld
> > >>>>>>>>>>>>>> environment variable
> > >>>>>>>>>>>>>> set to 0 for this process
> > >>>>>>>>>>>>>> 2019-08-01
> > >>>>>>>>>>>>>>
> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservat
> > >>>>>>>>>>>>>> ion|1152|this
> > >>>>>>>>>>>>>> is the parent reservation
> > >>>>>>>>>>>>>> 2019-08-01
> > >>>>>>>>>>>>>> 08:30:22|5308|870|870|new|utils.pm:
> rename_vcld_process|6112|
> > >>>>>>>>>>>>>> reservation count: 1
> > >>>>>>>>>>>>>> 2019-08-01
> > >>>>>>>>>>>>>> 08:30:22|5308|870|870|new|utils.pm:
> rename_vcld_process|6139|
> > >>>>>>>>>>>>>> renamed process to 'vcld '|5308|870|870|new|'
> mv76>servidor13
> > >>>>>>>>>>>>>> vmwarewin7-WIN7_20190617133-v0 a12596'
> > >>>>>>>>>>>>>> 2019-08-01
> > >>>>>>>>>>>>>> 08:30:22|5308|870|870|new|vcld:make_new_child|589|loaded
> > >>>>>>>>>>>>>> VCL::new module
> > >>>>>>>>>>>>>> 2019-08-01
> > >>>>>>>>>>>>>> 08:30:22|5308|870|870|new|Module.pm:new|188|VCL::new
> object
> > >>>>>>>>>>>>>> created for
> > >>>>>>>>>>>>>> state new, address: b10a268
> > >>>>>>>>>>>>>> 2019-08-01
> > >>>>>>>>>>>>>>
> 08:30:22|5308|870|870|new|State.pm:initialize|86|initializing
> > >>>>>>>>>>>>>> VCL::Module::State object
> > >>>>>>>>>>>>>> 2019-08-01
> > >>>>>>>>>>>>>>
> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservat
> > >>>>>>>>>>>>>> ion|1152|this
> > >>>>>>>>>>>>>> is the parent reservation
> > >>>>>>>>>>>>>> 2019-08-01
> > >>>>>>>>>>>>>>
> 08:30:22|5308|870|870|new|State.pm:initialize|103|obtained a
> > >>>>>>>>>>>>>> database
> > >>>>>>>>>>>>>> handle for this state process, stored as $ENV{dbh}
> > >>>>>>>>>>>>>> 2019-08-01
> > >>>>>>>>>>>>>> 08:30:22|5308|870|870|new|utils.pm:
> update_reservation_lastch
> > >>>>>>>>>>>>>> eck|5499|updated reservation.lastcheck to '2019-08-01
> > >>>>>>>>>>>>>> 08:30:22' for reservation IDs: 870 2019-08-01
> > >>>>>>>>>>>>>> 08:30:22|5308|870|870|new|utils.pm:
> update_request_state|1439
> > >>>>>>>>>>>>>> |request 870 state updated to pending/new
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| ----
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> WARNING ----
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|
> 2019-08-01
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>>
> 08:30:22|5308|870|870|new|Module.pm:create_os_object|446|VCL:
> > >>>>>>>>>>>>>> :Module::OS::Windows::Version_6::7>>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> module could not be loaded, error:
> > >>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|
> CORE::state
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> is not a keyword at
> > >>>>>>>>>>>>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows.pm
> line
> > >>>>>>>>>>>>>> 14683.
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|
> Compilation
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> failed in require at (eval 382) line 3.
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> ...propagated at /usr/share/perl5/base.pm line 94.
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> failed--compilation aborted at
> > >>>>>>>>>>>>>>
> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version
> > >>>>>>>>>>>>>> _6.pm line 45.
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|
> Compilation
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> failed in require at (eval 381) line 3.
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> ...propagated at /usr/share/perl5/base.pm line 94.
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> failed--compilation aborted at
> > >>>>>>>>>>>>>>
> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version
> > >>>>>>>>>>>>>> _6/
> > >>>>>>>>>>>>>> 7.pm line 43.
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|
> Compilation
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> failed in require at (eval 380) line 2.
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> failed--compilation aborted at (eval 380) line 2.
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| ( 0)
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> Module.pm, create_os_object (line: 446)
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-1)
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> State.pm, initialize (line: 166)
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-2)
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> Module.pm, new (line: 228)
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-3)
> vcld,
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> (eval) (line: 594)
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-4)
> vcld,
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> make_new_child (line: 593)
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-5)
> vcld,
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> main (line: 353)
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>>
> |5308|870|870|new|DataStructure.pm:get_computer_state_name|20
> > >>>>>>>>>>>>>> |83|
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> ---- WARNING ----
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>>
> |5308|870|870|new|DataStructure.pm:get_computer_state_name|20
> > >>>>>>>>>>>>>> |83|
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> 2019-08-01
> > >>>>>>>>>>>>>>
> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_state
> > >>>>>>>>>>>>>> _name|2083|2
> > >>>>>>>>>>>>>> rows were returned from database select
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>>
> |5308|870|870|new|DataStructure.pm:get_computer_state_name|20
> > >>>>>>>>>>>>>> |83|
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> ( 0) DataStructure.pm, get_computer_state_name (line:
> 2083)
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>>
> |5308|870|870|new|DataStructure.pm:get_computer_state_name|20
> > >>>>>>>>>>>>>> |83|
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> (-1) State.pm, reservation_failed (line: 404)
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>>
> |5308|870|870|new|DataStructure.pm:get_computer_state_name|20
> > >>>>>>>>>>>>>> |83|
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> (-2) State.pm, initialize (line: 170)
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>>
> |5308|870|870|new|DataStructure.pm:get_computer_state_name|20
> > >>>>>>>>>>>>>> |83|
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> (-3) Module.pm, new (line: 228)
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>>
> |5308|870|870|new|DataStructure.pm:get_computer_state_name|20
> > >>>>>>>>>>>>>> |83|
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> (-4) vcld, (eval) (line: 594)
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>>
> |5308|870|870|new|DataStructure.pm:get_computer_state_name|20
> > >>>>>>>>>>>>>> |83|
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> (-5) vcld, make_new_child (line: 593)
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>>
> |5308|870|870|new|DataStructure.pm:get_computer_state_name|20
> > >>>>>>>>>>>>>> |83|
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> (-6) vcld, main (line: 353)
> > >>>>>>>>>>>>>> 2019-08-01
> > >>>>>>>>>>>>>>
> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_priva
> > >>>>>>>>>>>>>> te_ip_address|1596|returning private IP address of
> > >>>>>>>>>>>>>> mv76.apachevcl.di.uminho.pt (135)
> > >>>>>>>>>>>>>> already stored in this DataStructure object: 10.100.0.76
> > >>>>>>>>>>>>>> 2019-08-01
> > >>>>>>>>>>>>>> 08:30:22|5308|870|870|new|utils.pm:
> is_inblockrequest|4926|ze
> > >>>>>>>>>>>>>> ro
> > >>>>>>>>>>>>>> rows were returned from database select
> > >>>>>>>>>>>>>> 2019-08-01
> > >>>>>>>>>>>>>>
> 08:30:22|5308|870|870|new|DataStructure.pm:get_image_affiliat
> > >>>>>>>>>>>>>> ion_name|1704|image owner id: 1
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>>
> > >>>>>>>>>>>>>> --
> > >>>>>>>>>>>>>> António Aragão
> > >>>>>>>>>>>>>> (Especialista de Informática)
> > >>>>>>>>>>>>>> Universidade do Minho
> > >>>>>>>>>>>>>> Departamento de Informática
> > >>>>>>>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
> > >>>>>>>>>>>>>> Campus de Gualtar
> > >>>>>>>>>>>>>> Braga
> > >>>>>>>>>>>>>> Telefone: +351 253 6044 86
> > >>>>>>>>>>>>>
> > >>>>>>>>>>>>> --
> > >>>>>>>>>>>>> António Aragão
> > >>>>>>>>>>>>> (Especialista de Informática)
> > >>>>>>>>>>>>> Universidade do Minho
> > >>>>>>>>>>>>> Departamento de Informática
> > >>>>>>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
> > >>>>>>>>>>>>> Campus de Gualtar
> > >>>>>>>>>>>>> Braga
> > >>>>>>>>>>>>> Telefone: +351 253 6044 86
> > >>>>>>>>>>>
> > >>>>>>>>>>> --
> > >>>>>>>>>>> António Aragão
> > >>>>>>>>>>> (Especialista de Informática)
> > >>>>>>>>>>> Universidade do Minho
> > >>>>>>>>>>> Departamento de Informática
> > >>>>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
> > >>>>>>>>>>> Campus de Gualtar
> > >>>>>>>>>>> Braga
> > >>>>>>>>>>> Telefone: +351 253 6044 86
> > >>>>>>>>>
> > >>>>>>>>> --
> > >>>>>>>>> António Aragão
> > >>>>>>>>> (Especialista de Informática)
> > >>>>>>>>> Universidade do Minho
> > >>>>>>>>> Departamento de Informática
> > >>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
> > >>>>>>>>> Campus de Gualtar
> > >>>>>>>>> Braga
> > >>>>>>>>> Telefone: +351 253 6044 86
> > >>>>>>>>
> > >>>>>>>> --
> > >>>>>>>> António Aragão
> > >>>>>>>> (Especialista de Informática)
> > >>>>>>>> Universidade do Minho
> > >>>>>>>> Departamento de Informática
> > >>>>>>>> Edificio 7 - 1.07 (DI-1.03)
> > >>>>>>>> Campus de Gualtar
> > >>>>>>>> Braga
> > >>>>>>>> Telefone: +351 253 6044 86
> > >>>>>>
> > >>>>>> --
> > >>>>>> António Aragão
> > >>>>>> (Especialista de Informática)
> > >>>>>> Universidade do Minho
> > >>>>>> Departamento de Informática
> > >>>>>> Edificio 7 - 1.07 (DI-1.03)
> > >>>>>> Campus de Gualtar
> > >>>>>> Braga
> > >>>>>> Telefone: +351 253 6044 86
> > >>>>
> > >>>> --
> > >>>> António Aragão
> > >>>> (Especialista de Informática)
> > >>>> Universidade do Minho
> > >>>> Departamento de Informática
> > >>>> Edificio 7 - 1.07 (DI-1.03)
> > >>>> Campus de Gualtar
> > >>>> Braga
> > >>>> Telefone: +351 253 6044 86
> > >
> > > --
> > > António Aragão
> > > (Especialista de Informática)
> > > Universidade do Minho
> > > Departamento de Informática
> > > Edificio 7 - 1.07 (DI-1.03)
> > > Campus de Gualtar
> > > Braga
> > > Telefone: +351 253 6044 86
>
> - --
> - -------------------------------
> Josh Thompson
> VCL Developer
> North Carolina State University
>
> my GPG/PGP key can be found at pgp.mit.edu
>
> All electronic mail messages in connection with State business which
> are sent to or received by this account are subject to the NC Public
> Records Law and may be disclosed to third parties.
> -----BEGIN PGP SIGNATURE-----
>
> iF0EARECAB0WIQRMIdRtWXideTZDK31X8tBw1209AwUCXUxRUgAKCRBX8tBw1209
> A2cmAJ44AG4X+YIOkZnI0hQfSZiOFvynpQCfa1CJzdCQVFQEs5N7sqjKncS3x+k=
> =vmux
> -----END PGP SIGNATURE-----
>
>
>
>

-- 
António Aragão
(Especialista de Informática)
Universidade do Minho
Departamento de Informática
Edificio 7 - 1.07 (DI-1.03)
Campus de Gualtar
Braga
Telefone: +351 253 6044 86

Re: PROBLEM -- vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596

Posted by Josh Thompson <jo...@ncsu.edu>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Antonio,

I just wanted to add to what Mike said about the .\user issue.  When Windows 
10 was first starting to come preinstalled on computers, we started having 
lots of reports of users not being able to log in.  After a long time, we 
finally tracked down the problem.  Windows 10 was giving users an option of 
creating an account on a Microsoft run domain that they then used to log in to 
their own computers.  However, when they tried to log in to a VCL provisioned 
system using RDP, it tried to use that same Microsoft domain instead of using 
the local account on the computer.  Prepending ".\" to the username forced the 
users to log in using the local account and fixed the problem.  It's safe to 
always have that as part of the username as it means to use the local account 
for logging in.

Josh

On Thursday, August 8, 2019 12:19:22 PM EDT Mike Jennings wrote:
> I am glad that things are working for you.
> 
> So just to clarify, you rolled your perl version to 5.10 and used the
> Windows.pm file I sent and this resolved your issue?
> 
> To answer question one, I would upgrade to Centos OS 7 as 6 is going to be
> deprecated in the next year.
> 
> Currently we have the .\user on the windows machines that are not connected
> to AD so that it forces the user to authenticate to local accounts.
> 
> Mike
> 
> On Thu, Aug 8, 2019 at 12:08 PM António Aragão <aa...@di.uminho.pt> wrote:
> > Mike,
> > 
> > thanks, now it is up and running after using the new Windows.pm. I have 2
> > more questions:
> > 
> > Question 1) Web+node should be in Cent OS 7 x64 with perl 5.16.3 ?
> > 
> > Question 2) In the windows machines the login is shown as .\user how can I
> > remove ".\" we don't have an windows domain.
> > 
> > Thanks.
> > 
> > Mike Jennings <gm...@ncsu.edu> escreveu no dia terça, 6/08/2019 à(s)
> > 
> > 18:20:
> >> Antonio,
> >> 
> >> I would suggest rolling your code back to the previous version of perl
> >> that you were running.  It appears that after you upgraded there is a
> >> issue
> >> with resolving session variables.
> >> 
> >> I have made the following changes to the Windows.pm file
> >> 
> >> I added the use feature 'state'; to be above the subroutine
> >> ad_delete_computer and then removed the CORE:: from the state
> >> $recrusion=0
> >> line in the same subroute.  Please look below.  These changes make the
> >> code
> >> compile correctly on a vm I setup with perl 5.10.1 on Centos 6.x 32bit. 
> >> I
> >> have also attached the Windows.pm file to this email, which can be used
> >> to
> >> replace the one located at /usr/local/vcl/lib/VCL/Module/OS
> >> 
> >> use feature 'state';
> >> sub ad_delete_computer {
> >> 
> >>         my $self = shift;
> >>         if (ref($self) !~ /windows/i) {
> >>         
> >>                 notify($ERRORS{'CRITICAL'}, 0, "subroutine was called as
> >> 
> >> a function, it must be called as a class method");
> >> 
> >>                 return;
> >>         
> >>         }
> >>         
> >>         # static variable to track if function being call recursively
> >>         state $recursion = 0;
> >> 
> >> Please let me know if these changes work for you and then I will push
> >> them out into the next release.
> >> 
> >> Mike Jennings
> >> 
> >> On Tue, Aug 6, 2019 at 11:41 AM Mike Jennings <gm...@ncsu.edu> wrote:
> >>> Antonio,
> >>> 
> >>> Can you possibly role bak to version 5.10 on the box?
> >>> 
> >>> Mike
> >>> 
> >>> On Tue, Aug 6, 2019 at 11:20 AM António Aragão <aa...@di.uminho.pt>
> >>> 
> >>> wrote:
> >>>> Mike,
> >>>> 
> >>>> I upgrade perl with cpan packages necessary for vcl. If you want I try
> >>>> perl commands if it is all ok.
> >>>> 
> >>>> Thanks.
> >>>> 
> >>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia terça, 6/08/2019
> >>>> 
> >>>> à(s) 15:25:
> >>>>> Antonio,
> >>>>> 
> >>>>> Did you also upgrade your cpan packages after doing the upgrade of the
> >>>>> perl module you are running?
> >>>>> 
> >>>>> We currently have Centos 7.6 x64 running with the new VCL code and
> >>>>> have no issues at all.
> >>>>> 
> >>>>> I am going to download a copy of your operating system and see what
> >>>>> issues I have getting this setup locally.
> >>>>> 
> >>>>> Mike Jennings
> >>>>> 
> >>>>> On Tue, Aug 6, 2019 at 9:22 AM António Aragão <aa...@di.uminho.pt>
> >>>>> 
> >>>>> wrote:
> >>>>>> CentOS 6.10 32bits.
> >>>>>> 
> >>>>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia terça, 6/08/2019
> >>>>>> 
> >>>>>> à(s) 13:56:
> >>>>>>> Can you let me know what operating system you are currently using?
> >>>>>>> 
> >>>>>>> Mike
> >>>>>>> 
> >>>>>>> On Tue, Aug 6, 2019 at 5:04 AM António Aragão <aa...@di.uminho.pt>
> >>>>>>> 
> >>>>>>> wrote:
> >>>>>>>> Hello,
> >>>>>>>> 
> >>>>>>>> I upgrade perl version and now is 5.16.3, I'm unable to do any
> >>>>>>>> 
> >>>>>>>> reservation and the vcld.log keeps logging:
> >>>>>>>> |15431|||vcld|vcld:warning_handler|646| ---- WARNING ----
> >>>>>>>> |15431|||vcld|vcld:warning_handler|646| 2019-08-06
> >>>>>>>> 
> >>>>>>>> 10:00:14|15431|||vcld|vcld:warning_handler|646|Use of uninitialized
> >>>>>>>> value
> >>>>>>>> $reservation_id in concatenation (.) or string at
> >>>>>>>> /usr/local/vcl/bin/vcld
> >>>>>>>> line 541.
> >>>>>>>> 
> >>>>>>>> |15431|||vcld|vcld:warning_handler|646| ( 0) vcld, warning_handler
> >>>>>>>> 
> >>>>>>>> (line: 646)
> >>>>>>>> 
> >>>>>>>> |15431|||vcld|vcld:warning_handler|646| (-1) vcld, make_new_child
> >>>>>>>> 
> >>>>>>>> (line: 541)
> >>>>>>>> 
> >>>>>>>> |15431|||vcld|vcld:warning_handler|646| (-2) vcld, main (line: 454)
> >>>>>>>> 
> >>>>>>>> 2019-08-06 10:00:14|15431|||vcld|vcld:make_new_child|541|created
> >>>>>>>> child process 15595 for reservation , state: blockrequest, current
> >>>>>>>> number
> >>>>>>>> of forked kids: 1
> >>>>>>>> 2019-08-06
> >>>>>>>> 10:00:14|15595|37||blockrequest|utils.pm:rename_vcld_process|6139|
> >>>>>>>> renamed process to 'vcld 37:249 'teste''
> >>>>>>>> 2019-08-06
> >>>>>>>> 10:00:14|15595|37||blockrequest|vcld:make_new_child|589|loaded
> >>>>>>>> VCL::blockrequest module
> >>>>>>>> 2019-08-06
> >>>>>>>> 10:00:14|15595|37||blockrequest|Module.pm:new|188|VCL::blockrequest
> >>>>>>>> object
> >>>>>>>> created for state available, address: a5a7e98
> >>>>>>>> 2019-08-06
> >>>>>>>> 10:00:14|15595|37||blockrequest|blockrequest.pm:initialize|84|obta
> >>>>>>>> ined a database handle for this state process, stored as $ENV{dbh}
> >>>>>>>> 2019-08-06
> >>>>>>>> 10:00:14|15595|37||blockrequest|utils.pm:rename_vcld_process|6139|
> >>>>>>>> renamed process to 'vcld 37:249 'teste''
> >>>>>>>> 2019-08-06
> >>>>>>>> 10:00:14|15595|37||blockrequest|blockrequest.pm:initialize|94|retu
> >>>>>>>> rning 1
> >>>>>>>> 2019-08-06
> >>>>>>>> 10:00:14|15595|37||blockrequest|vcld:make_new_child|598|VCL::blockr
> >>>>>>>> equest
> >>>>>>>> object created and initialized
> >>>>>>>> 2019-08-06
> >>>>>>>> 10:00:14|15595|37||blockrequest|utils.pm:get_user_info|6696|UID
> >>>>>>>> value is not configured for admin@Local, setting UID=501, setting
> >>>>>>>> FEDERATED_LINUX_AUTHENTICATION=0
> >>>>>>>> 2019-08-06
> >>>>>>>> 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2191|database
> >>>>>>>> requested (information_schema) does not match handle stored in
> >>>>>>>> $ENV{dbh}
> >>>>>>>> (vcl:192.168.93.1)
> >>>>>>>> 2019-08-06
> >>>>>>>> 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2242|database
> >>>>>>>> handle stored in $ENV{dbh}
> >>>>>>>> 2019-08-06
> >>>>>>>> 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2191|database
> >>>>>>>> requested (vcl) does not match handle stored in $ENV{dbh}
> >>>>>>>> (information_schema:192.168.93.1)
> >>>>>>>> 2019-08-06
> >>>>>>>> 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2242|database
> >>>>>>>> handle stored in $ENV{dbh}
> >>>>>>>> 2019-08-06
> >>>>>>>> 10:00:14|15595|37||blockrequest|utils.pm:get_image_active_director
> >>>>>>>> y_domain_info|14622|image 133 is not configured for Active
> >>>>>>>> Directory
> >>>>>>>> 2019-08-06
> >>>>>>>> 10:00:14|15595|37||blockrequest|blockrequest.pm:process|159|blockr
> >>>>>>>> equest id: 37
> >>>>>>>> 2019-08-06
> >>>>>>>> 10:00:14|15595|37||blockrequest|blockrequest.pm:process|160|blockr
> >>>>>>>> equest mode: expire
> >>>>>>>> 2019-08-06
> >>>>>>>> 10:00:14|15595|37||blockrequest|blockrequest.pm:process|161|blockr
> >>>>>>>> equest image id: 133
> >>>>>>>> 2019-08-06
> >>>>>>>> 10:00:14|15595|37||blockrequest|blockrequest.pm:process|162|blockr
> >>>>>>>> equest number machines: 10
> >>>>>>>> 2019-08-06
> >>>>>>>> 10:00:14|15595|37||blockrequest|blockrequest.pm:process|163|blockr
> >>>>>>>> equest expire: 2019-08-02 23:59:59
> >>>>>>>> 2019-08-06
> >>>>>>>> 10:00:14|15595|37||blockrequest|blockrequest.pm:process|164|blockt
> >>>>>>>> ime id: 249
> >>>>>>>> 2019-08-06
> >>>>>>>> 10:00:14|15595|37||blockrequest|blockrequest.pm:process|165|blockt
> >>>>>>>> ime processed: 1
> >>>>>>>> 2019-08-06
> >>>>>>>> 10:00:14|15595|37||blockrequest|blockrequest.pm:process|166|blockt
> >>>>>>>> ime start: 2019-08-02 08:30:00
> >>>>>>>> 2019-08-06
> >>>>>>>> 10:00:14|15595|37||blockrequest|blockrequest.pm:process|167|owner
> >>>>>>>> email: aaragao@di.uminho.pt
> >>>>>>>> 2019-08-06
> >>>>>>>> 10:00:14|15595|37||blockrequest|blockrequest.pm:process|168|help
> >>>>>>>> address: divcl@di.uminho.pt
> >>>>>>>> 2019-08-06
> >>>>>>>> 10:00:14|15595|37||blockrequest|blockrequest.pm:process|326|Block
> >>>>>>>> Request 37 has expired
> >>>>>>>> 2019-08-06
> >>>>>>>> 10:00:14|15595|37||blockrequest|blockrequest.pm:process|327|Update
> >>>>>>>> d status of blockRequest id 37 to completed
> >>>>>>>> 2019-08-06
> >>>>>>>> 10:00:14|15595|37||blockrequest|blockrequest.pm:process|337|Remove
> >>>>>>>> d processing flag on blockrequest_id 37
> >>>>>>>> 2019-08-06
> >>>>>>>> 10:00:14|15595|37||blockrequest|State.pm:DESTROY|1093|VCL::blockreq
> >>>>>>>> uest
> >>>>>>>> destructor called, address: a5a7e98
> >>>>>>>> 2019-08-06
> >>>>>>>> 10:00:14|15595|37||blockrequest|Module.pm:DESTROY|2391|destroying
> >>>>>>>> VCL::blockrequest object, address: a5a7e98
> >>>>>>>> 2019-08-06 10:00:15|15431|||vcld|vcld:REAPER|758|VCL process exited
> >>>>>>>> for reservation <unknown>, PID: 15595, signal: CHLD
> >>>>>>>> 
> >>>>>>>> Any clue ? I even try to reload a new image but it doesn't work.
> >>>>>>>> 
> >>>>>>>> Thanks.
> >>>>>>>> 
> >>>>>>>> 
> >>>>>>>> António Aragão <aa...@di.uminho.pt> escreveu no dia sexta,
> >>>>>>>> 
> >>>>>>>> 2/08/2019 à(s) 16:36:
> >>>>>>>>> Thanks Mike. I will upgrade perl version and will try.
> >>>>>>>>> 
> >>>>>>>>> Thanks.
> >>>>>>>>> 
> >>>>>>>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia sexta,
> >>>>>>>>> 
> >>>>>>>>> 2/08/2019 à(s) 16:24:
> >>>>>>>>>> I would suggest upgrading perl to be version 5.16.3 to see if
> >>>>>>>>>> that works.  I don't get the errors you are seeing with that
> >>>>>>>>>> version.
> >>>>>>>>>> 
> >>>>>>>>>> Mike
> >>>>>>>>>> 
> >>>>>>>>>> On Fri, Aug 2, 2019 at 10:02 AM António Aragão <
> >>>>>>>>>> 
> >>>>>>>>>> aaragao@di.uminho.pt> wrote:
> >>>>>>>>>>> Mike,
> >>>>>>>>>>> 
> >>>>>>>>>>> it is v5.10.1.
> >>>>>>>>>>> 
> >>>>>>>>>>> Thanks.
> >>>>>>>>>>> 
> >>>>>>>>>>> [root@vclnode1 ~]# perl -v
> >>>>>>>>>>> 
> >>>>>>>>>>> This is perl, v5.10.1 (*) built for i386-linux-thread-multi
> >>>>>>>>>>> 
> >>>>>>>>>>> Copyright 1987-2009, Larry Wall
> >>>>>>>>>>> 
> >>>>>>>>>>> Perl may be copied only under the terms of either the Artistic
> >>>>>>>>>>> License or the
> >>>>>>>>>>> GNU General Public License, which may be found in the Perl 5
> >>>>>>>>>>> source kit.
> >>>>>>>>>>> 
> >>>>>>>>>>> Complete documentation for Perl, including FAQ lists, should be
> >>>>>>>>>>> found on
> >>>>>>>>>>> this system using "man perl" or "perldoc perl".  If you have
> >>>>>>>>>>> access to the
> >>>>>>>>>>> Internet, point your browser at http://www.perl.org/, the Perl
> >>>>>>>>>>> Home Page.
> >>>>>>>>>>> 
> >>>>>>>>>>> [root@vclnode1 ~]#
> >>>>>>>>>>> 
> >>>>>>>>>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia sexta,
> >>>>>>>>>>> 
> >>>>>>>>>>> 2/08/2019 à(s) 14:49:
> >>>>>>>>>>>> Antonio,
> >>>>>>>>>>>> 
> >>>>>>>>>>>> What version of perl are you running on your system?
> >>>>>>>>>>>> 
> >>>>>>>>>>>> Mike
> >>>>>>>>>>>> 
> >>>>>>>>>>>> On Fri, Aug 2, 2019 at 6:28 AM António Aragão <
> >>>>>>>>>>>> 
> >>>>>>>>>>>> aaragao@di.uminho.pt> wrote:
> >>>>>>>>>>>>> Good morning,
> >>>>>>>>>>>>> 
> >>>>>>>>>>>>> a example of trying to make a reservation.
> >>>>>>>>>>>>> 
> >>>>>>>>>>>>> Thanks.
> >>>>>>>>>>>>> 
> >>>>>>>>>>>>> António Aragão <aa...@di.uminho.pt> escreveu no dia sexta,
> >>>>>>>>>>>>> 
> >>>>>>>>>>>>> 2/08/2019 à(s) 10:58:
> >>>>>>>>>>>>>> Good morning,
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> after I upgraded from 2.5 to 2.5.1 I'm unable to use any
> >>>>>>>>>>>>>> reservation. Looking to the vcld.log a lots for perl errors.
> >>>>>>>>>>>>>> Any clue ? I
> >>>>>>>>>>>>>> attach the output file for:  /usr/local/vcl/bin/
> >>>>>>>>>>>>>> install_perl_libs.pl
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> Thanks.
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> ---------- Forwarded message ---------
> >>>>>>>>>>>>>> De: <ro...@vclnode1.apachevcl.di.uminho.pt>
> >>>>>>>>>>>>>> Date: quinta, 1/08/2019 à(s) 08:35
> >>>>>>>>>>>>>> Subject: PROBLEM --
> >>>>>>>>>>>>>> vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7
> >>>>>>>>>>>>>> _20190617133-v0|a12596 To: <aa...@di.uminho.pt>
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> reservation failed on mv76, process failed to initialize:
> >>>>>>>>>>>>>> failed to create OS object
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> -------------------------------------------------------------
> >>>>>>>>>>>>>> -----------
> >>>>>>>>>>>>>> time: 2019-08-01 08:30:22
> >>>>>>>>>>>>>> caller: State.pm:reservation_failed(461)
> >>>>>>>>>>>>>> ( 0) State.pm, reservation_failed (line: 461)
> >>>>>>>>>>>>>> (-1) State.pm, initialize (line: 170)
> >>>>>>>>>>>>>> (-2) Module.pm, new (line: 228)
> >>>>>>>>>>>>>> (-3) vcld, (eval) (line: 594)
> >>>>>>>>>>>>>> (-4) vcld, make_new_child (line: 593)
> >>>>>>>>>>>>>> (-5) vcld, main (line: 353)
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> -------------------------------------------------------------
> >>>>>>>>>>>>>> -----------
> >>>>>>>>>>>>>> management node: vclnode1.apachevcl.di.uminho.pt
> >>>>>>>>>>>>>> reservation PID: 5308
> >>>>>>>>>>>>>> parent vcld PID: 21274
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> request ID: 870
> >>>>>>>>>>>>>> reservation ID: 870
> >>>>>>>>>>>>>> request state/laststate: new/new
> >>>>>>>>>>>>>> request start time: 2019-08-01 08:30:00
> >>>>>>>>>>>>>> request end time: 2019-08-01 12:30:00
> >>>>>>>>>>>>>> for imaging: no
> >>>>>>>>>>>>>> log ID: 729
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> computer: mv76.apachevcl.di.uminho.pt
> >>>>>>>>>>>>>> computer id: 135
> >>>>>>>>>>>>>> computer type: virtualmachine
> >>>>>>>>>>>>>> computer eth0 MAC address: 00:50:56:00:03:1e
> >>>>>>>>>>>>>> computer eth1 MAC address: 00:50:56:00:03:1f
> >>>>>>>>>>>>>> computer private IP address: 10.100.0.76
> >>>>>>>>>>>>>> computer public IP address: 192.168.93.76
> >>>>>>>>>>>>>> computer in block allocation: no
> >>>>>>>>>>>>>> provisioning module:
> >>>>>>>>>>>>>> VCL::Module::Provisioning::VMware::VMware
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> vm host: servidor13.di.uminho.pt
> >>>>>>>>>>>>>> vm host ID: 4
> >>>>>>>>>>>>>> vm host computer ID: 160
> >>>>>>>>>>>>>> vm profile: s13vmhostprofile
> >>>>>>>>>>>>>> vm profile VM path: /vmfs/volumes/IFT-block1/
> >>>>>>>>>>>>>> vm profile repository path: /vmfs/volumes/vcl_images/
> >>>>>>>>>>>>>> vm profile datastore path: /vmfs/volumes/IFT-block1/
> >>>>>>>>>>>>>> vm profile disk type: shared
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> image: vmwarewin7-WIN7_20190617133-v0
> >>>>>>>>>>>>>> image display name: WIN7_20190617
> >>>>>>>>>>>>>> image ID: 133
> >>>>>>>>>>>>>> image revision ID: 133
> >>>>>>>>>>>>>> image size: 48022 MB
> >>>>>>>>>>>>>> use Sysprep: yes
> >>>>>>>>>>>>>> root access: yes
> >>>>>>>>>>>>>> image owner ID: 1
> >>>>>>>>>>>>>> image owner affiliation: Local
> >>>>>>>>>>>>>> image revision date created: 2019-06-17 16:17:33
> >>>>>>>>>>>>>> image revision production: yes
> >>>>>>>>>>>>>> OS module: VCL::Module::OS::Windows::Version_6::7
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> user: a12596
> >>>>>>>>>>>>>> user name:
> >>>>>>>>>>>>>> user ID: 10
> >>>>>>>>>>>>>> user affiliation: DIALUNOSLDAP
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> -------------------------------------------------------------
> >>>>>>>>>>>>>> -----------
> >>>>>>>>>>>>>> RECENT LOG ENTRIES FOR THIS PROCESS:
> >>>>>>>>>>>>>> 2019-08-01
> >>>>>>>>>>>>>> 08:30:22|5308|870|870|new|vcld:make_new_child|571|vcld
> >>>>>>>>>>>>>> environment variable
> >>>>>>>>>>>>>> set to 0 for this process
> >>>>>>>>>>>>>> 2019-08-01
> >>>>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservat
> >>>>>>>>>>>>>> ion|1152|this
> >>>>>>>>>>>>>> is the parent reservation
> >>>>>>>>>>>>>> 2019-08-01
> >>>>>>>>>>>>>> 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6112|
> >>>>>>>>>>>>>> reservation count: 1
> >>>>>>>>>>>>>> 2019-08-01
> >>>>>>>>>>>>>> 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6139|
> >>>>>>>>>>>>>> renamed process to 'vcld '|5308|870|870|new|' mv76>servidor13
> >>>>>>>>>>>>>> vmwarewin7-WIN7_20190617133-v0 a12596'
> >>>>>>>>>>>>>> 2019-08-01
> >>>>>>>>>>>>>> 08:30:22|5308|870|870|new|vcld:make_new_child|589|loaded
> >>>>>>>>>>>>>> VCL::new module
> >>>>>>>>>>>>>> 2019-08-01
> >>>>>>>>>>>>>> 08:30:22|5308|870|870|new|Module.pm:new|188|VCL::new object
> >>>>>>>>>>>>>> created for
> >>>>>>>>>>>>>> state new, address: b10a268
> >>>>>>>>>>>>>> 2019-08-01
> >>>>>>>>>>>>>> 08:30:22|5308|870|870|new|State.pm:initialize|86|initializing
> >>>>>>>>>>>>>> VCL::Module::State object
> >>>>>>>>>>>>>> 2019-08-01
> >>>>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservat
> >>>>>>>>>>>>>> ion|1152|this
> >>>>>>>>>>>>>> is the parent reservation
> >>>>>>>>>>>>>> 2019-08-01
> >>>>>>>>>>>>>> 08:30:22|5308|870|870|new|State.pm:initialize|103|obtained a
> >>>>>>>>>>>>>> database
> >>>>>>>>>>>>>> handle for this state process, stored as $ENV{dbh}
> >>>>>>>>>>>>>> 2019-08-01
> >>>>>>>>>>>>>> 08:30:22|5308|870|870|new|utils.pm:update_reservation_lastch
> >>>>>>>>>>>>>> eck|5499|updated reservation.lastcheck to '2019-08-01
> >>>>>>>>>>>>>> 08:30:22' for reservation IDs: 870 2019-08-01
> >>>>>>>>>>>>>> 08:30:22|5308|870|870|new|utils.pm:update_request_state|1439
> >>>>>>>>>>>>>> |request 870 state updated to pending/new
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| ----
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> WARNING ----
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| 2019-08-01
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> 08:30:22|5308|870|870|new|Module.pm:create_os_object|446|VCL:
> >>>>>>>>>>>>>> :Module::OS::Windows::Version_6::7>>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> module could not be loaded, error:
> >>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| CORE::state
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> is not a keyword at
> >>>>>>>>>>>>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows.pm line
> >>>>>>>>>>>>>> 14683.
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> failed in require at (eval 382) line 3.
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> ...propagated at /usr/share/perl5/base.pm line 94.
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> failed--compilation aborted at
> >>>>>>>>>>>>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version
> >>>>>>>>>>>>>> _6.pm line 45.
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> failed in require at (eval 381) line 3.
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> ...propagated at /usr/share/perl5/base.pm line 94.
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> failed--compilation aborted at
> >>>>>>>>>>>>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version
> >>>>>>>>>>>>>> _6/
> >>>>>>>>>>>>>> 7.pm line 43.
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> failed in require at (eval 380) line 2.
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> failed--compilation aborted at (eval 380) line 2.
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| ( 0)
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> Module.pm, create_os_object (line: 446)
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-1)
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> State.pm, initialize (line: 166)
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-2)
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> Module.pm, new (line: 228)
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-3) vcld,
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> (eval) (line: 594)
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-4) vcld,
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> make_new_child (line: 593)
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-5) vcld,
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> main (line: 353)
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|20
> >>>>>>>>>>>>>> |83|
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> ---- WARNING ----
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|20
> >>>>>>>>>>>>>> |83|
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> 2019-08-01
> >>>>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_state
> >>>>>>>>>>>>>> _name|2083|2
> >>>>>>>>>>>>>> rows were returned from database select
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|20
> >>>>>>>>>>>>>> |83|
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> ( 0) DataStructure.pm, get_computer_state_name (line: 2083)
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|20
> >>>>>>>>>>>>>> |83|
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> (-1) State.pm, reservation_failed (line: 404)
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|20
> >>>>>>>>>>>>>> |83|
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> (-2) State.pm, initialize (line: 170)
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|20
> >>>>>>>>>>>>>> |83|
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> (-3) Module.pm, new (line: 228)
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|20
> >>>>>>>>>>>>>> |83|
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> (-4) vcld, (eval) (line: 594)
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|20
> >>>>>>>>>>>>>> |83|
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> (-5) vcld, make_new_child (line: 593)
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|20
> >>>>>>>>>>>>>> |83|
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> (-6) vcld, main (line: 353)
> >>>>>>>>>>>>>> 2019-08-01
> >>>>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_priva
> >>>>>>>>>>>>>> te_ip_address|1596|returning private IP address of
> >>>>>>>>>>>>>> mv76.apachevcl.di.uminho.pt (135)
> >>>>>>>>>>>>>> already stored in this DataStructure object: 10.100.0.76
> >>>>>>>>>>>>>> 2019-08-01
> >>>>>>>>>>>>>> 08:30:22|5308|870|870|new|utils.pm:is_inblockrequest|4926|ze
> >>>>>>>>>>>>>> ro
> >>>>>>>>>>>>>> rows were returned from database select
> >>>>>>>>>>>>>> 2019-08-01
> >>>>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_image_affiliat
> >>>>>>>>>>>>>> ion_name|1704|image owner id: 1
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> 
> >>>>>>>>>>>>>> --
> >>>>>>>>>>>>>> António Aragão
> >>>>>>>>>>>>>> (Especialista de Informática)
> >>>>>>>>>>>>>> Universidade do Minho
> >>>>>>>>>>>>>> Departamento de Informática
> >>>>>>>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
> >>>>>>>>>>>>>> Campus de Gualtar
> >>>>>>>>>>>>>> Braga
> >>>>>>>>>>>>>> Telefone: +351 253 6044 86
> >>>>>>>>>>>>> 
> >>>>>>>>>>>>> --
> >>>>>>>>>>>>> António Aragão
> >>>>>>>>>>>>> (Especialista de Informática)
> >>>>>>>>>>>>> Universidade do Minho
> >>>>>>>>>>>>> Departamento de Informática
> >>>>>>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
> >>>>>>>>>>>>> Campus de Gualtar
> >>>>>>>>>>>>> Braga
> >>>>>>>>>>>>> Telefone: +351 253 6044 86
> >>>>>>>>>>> 
> >>>>>>>>>>> --
> >>>>>>>>>>> António Aragão
> >>>>>>>>>>> (Especialista de Informática)
> >>>>>>>>>>> Universidade do Minho
> >>>>>>>>>>> Departamento de Informática
> >>>>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
> >>>>>>>>>>> Campus de Gualtar
> >>>>>>>>>>> Braga
> >>>>>>>>>>> Telefone: +351 253 6044 86
> >>>>>>>>> 
> >>>>>>>>> --
> >>>>>>>>> António Aragão
> >>>>>>>>> (Especialista de Informática)
> >>>>>>>>> Universidade do Minho
> >>>>>>>>> Departamento de Informática
> >>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
> >>>>>>>>> Campus de Gualtar
> >>>>>>>>> Braga
> >>>>>>>>> Telefone: +351 253 6044 86
> >>>>>>>> 
> >>>>>>>> --
> >>>>>>>> António Aragão
> >>>>>>>> (Especialista de Informática)
> >>>>>>>> Universidade do Minho
> >>>>>>>> Departamento de Informática
> >>>>>>>> Edificio 7 - 1.07 (DI-1.03)
> >>>>>>>> Campus de Gualtar
> >>>>>>>> Braga
> >>>>>>>> Telefone: +351 253 6044 86
> >>>>>> 
> >>>>>> --
> >>>>>> António Aragão
> >>>>>> (Especialista de Informática)
> >>>>>> Universidade do Minho
> >>>>>> Departamento de Informática
> >>>>>> Edificio 7 - 1.07 (DI-1.03)
> >>>>>> Campus de Gualtar
> >>>>>> Braga
> >>>>>> Telefone: +351 253 6044 86
> >>>> 
> >>>> --
> >>>> António Aragão
> >>>> (Especialista de Informática)
> >>>> Universidade do Minho
> >>>> Departamento de Informática
> >>>> Edificio 7 - 1.07 (DI-1.03)
> >>>> Campus de Gualtar
> >>>> Braga
> >>>> Telefone: +351 253 6044 86
> > 
> > --
> > António Aragão
> > (Especialista de Informática)
> > Universidade do Minho
> > Departamento de Informática
> > Edificio 7 - 1.07 (DI-1.03)
> > Campus de Gualtar
> > Braga
> > Telefone: +351 253 6044 86

- -- 
- -------------------------------
Josh Thompson
VCL Developer
North Carolina State University

my GPG/PGP key can be found at pgp.mit.edu

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.
-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQRMIdRtWXideTZDK31X8tBw1209AwUCXUxRUgAKCRBX8tBw1209
A2cmAJ44AG4X+YIOkZnI0hQfSZiOFvynpQCfa1CJzdCQVFQEs5N7sqjKncS3x+k=
=vmux
-----END PGP SIGNATURE-----




Re: PROBLEM -- vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596

Posted by António Aragão <aa...@di.uminho.pt>.
Yes, I'm using CentOS 6 i386 and perl 5.10.1. I will schedule to upgrade to
lastest version of CentOS 7 x64.

Thanks.

Kind regards.

Mike Jennings <gm...@ncsu.edu> escreveu no dia quinta, 8/08/2019 à(s)
17:19:

> I am glad that things are working for you.
>
> So just to clarify, you rolled your perl version to 5.10 and used the
> Windows.pm file I sent and this resolved your issue?
>
> To answer question one, I would upgrade to Centos OS 7 as 6 is going to be
> deprecated in the next year.
>
> Currently we have the .\user on the windows machines that are not
> connected to AD so that it forces the user to authenticate to local
> accounts.
>
> Mike
>
> On Thu, Aug 8, 2019 at 12:08 PM António Aragão <aa...@di.uminho.pt>
> wrote:
>
>> Mike,
>>
>> thanks, now it is up and running after using the new Windows.pm. I have 2
>> more questions:
>>
>> Question 1) Web+node should be in Cent OS 7 x64 with perl 5.16.3 ?
>>
>> Question 2) In the windows machines the login is shown as .\user how can
>> I remove ".\" we don't have an windows domain.
>>
>> Thanks.
>>
>> Mike Jennings <gm...@ncsu.edu> escreveu no dia terça, 6/08/2019 à(s)
>> 18:20:
>>
>>> Antonio,
>>>
>>> I would suggest rolling your code back to the previous version of perl
>>> that you were running.  It appears that after you upgraded there is a issue
>>> with resolving session variables.
>>>
>>> I have made the following changes to the Windows.pm file
>>>
>>> I added the use feature 'state'; to be above the subroutine
>>> ad_delete_computer and then removed the CORE:: from the state $recrusion=0
>>> line in the same subroute.  Please look below.  These changes make the code
>>> compile correctly on a vm I setup with perl 5.10.1 on Centos 6.x 32bit.  I
>>> have also attached the Windows.pm file to this email, which can be used to
>>> replace the one located at /usr/local/vcl/lib/VCL/Module/OS
>>>
>>> use feature 'state';
>>> sub ad_delete_computer {
>>>         my $self = shift;
>>>         if (ref($self) !~ /windows/i) {
>>>                 notify($ERRORS{'CRITICAL'}, 0, "subroutine was called as
>>> a function, it must be called as a class method");
>>>                 return;
>>>         }
>>>
>>>         # static variable to track if function being call recursively
>>>         state $recursion = 0;
>>>
>>> Please let me know if these changes work for you and then I will push
>>> them out into the next release.
>>>
>>> Mike Jennings
>>>
>>>
>>> On Tue, Aug 6, 2019 at 11:41 AM Mike Jennings <gm...@ncsu.edu> wrote:
>>>
>>>> Antonio,
>>>>
>>>> Can you possibly role bak to version 5.10 on the box?
>>>>
>>>> Mike
>>>>
>>>> On Tue, Aug 6, 2019 at 11:20 AM António Aragão <aa...@di.uminho.pt>
>>>> wrote:
>>>>
>>>>> Mike,
>>>>>
>>>>> I upgrade perl with cpan packages necessary for vcl. If you want I try
>>>>> perl commands if it is all ok.
>>>>>
>>>>> Thanks.
>>>>>
>>>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia terça, 6/08/2019
>>>>> à(s) 15:25:
>>>>>
>>>>>> Antonio,
>>>>>>
>>>>>> Did you also upgrade your cpan packages after doing the upgrade of
>>>>>> the perl module you are running?
>>>>>>
>>>>>> We currently have Centos 7.6 x64 running with the new VCL code and
>>>>>> have no issues at all.
>>>>>>
>>>>>> I am going to download a copy of your operating system and see what
>>>>>> issues I have getting this setup locally.
>>>>>>
>>>>>> Mike Jennings
>>>>>>
>>>>>> On Tue, Aug 6, 2019 at 9:22 AM António Aragão <aa...@di.uminho.pt>
>>>>>> wrote:
>>>>>>
>>>>>>> CentOS 6.10 32bits.
>>>>>>>
>>>>>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia terça, 6/08/2019
>>>>>>> à(s) 13:56:
>>>>>>>
>>>>>>>> Can you let me know what operating system you are currently using?
>>>>>>>>
>>>>>>>> Mike
>>>>>>>>
>>>>>>>> On Tue, Aug 6, 2019 at 5:04 AM António Aragão <aa...@di.uminho.pt>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hello,
>>>>>>>>>
>>>>>>>>> I upgrade perl version and now is 5.16.3, I'm unable to do any
>>>>>>>>> reservation and the vcld.log keeps logging:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> |15431|||vcld|vcld:warning_handler|646| ---- WARNING ----
>>>>>>>>> |15431|||vcld|vcld:warning_handler|646| 2019-08-06
>>>>>>>>> 10:00:14|15431|||vcld|vcld:warning_handler|646|Use of uninitialized value
>>>>>>>>> $reservation_id in concatenation (.) or string at /usr/local/vcl/bin/vcld
>>>>>>>>> line 541.
>>>>>>>>> |15431|||vcld|vcld:warning_handler|646| ( 0) vcld, warning_handler
>>>>>>>>> (line: 646)
>>>>>>>>> |15431|||vcld|vcld:warning_handler|646| (-1) vcld, make_new_child
>>>>>>>>> (line: 541)
>>>>>>>>> |15431|||vcld|vcld:warning_handler|646| (-2) vcld, main (line: 454)
>>>>>>>>>
>>>>>>>>> 2019-08-06 10:00:14|15431|||vcld|vcld:make_new_child|541|created
>>>>>>>>> child process 15595 for reservation , state: blockrequest, current number
>>>>>>>>> of forked kids: 1
>>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:rename_vcld_process|6139|renamed
>>>>>>>>> process to 'vcld 37:249 'teste''
>>>>>>>>> 2019-08-06
>>>>>>>>> 10:00:14|15595|37||blockrequest|vcld:make_new_child|589|loaded
>>>>>>>>> VCL::blockrequest module
>>>>>>>>> 2019-08-06
>>>>>>>>> 10:00:14|15595|37||blockrequest|Module.pm:new|188|VCL::blockrequest object
>>>>>>>>> created for state available, address: a5a7e98
>>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:initialize|84|obtained
>>>>>>>>> a database handle for this state process, stored as $ENV{dbh}
>>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:rename_vcld_process|6139|renamed
>>>>>>>>> process to 'vcld 37:249 'teste''
>>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:initialize|94|returning
>>>>>>>>> 1
>>>>>>>>> 2019-08-06
>>>>>>>>> 10:00:14|15595|37||blockrequest|vcld:make_new_child|598|VCL::blockrequest
>>>>>>>>> object created and initialized
>>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:get_user_info|6696|UID
>>>>>>>>> value is not configured for admin@Local, setting UID=501, setting
>>>>>>>>> FEDERATED_LINUX_AUTHENTICATION=0
>>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2191|database
>>>>>>>>> requested (information_schema) does not match handle stored in $ENV{dbh}
>>>>>>>>> (vcl:192.168.93.1)
>>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2242|database
>>>>>>>>> handle stored in $ENV{dbh}
>>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2191|database
>>>>>>>>> requested (vcl) does not match handle stored in $ENV{dbh}
>>>>>>>>> (information_schema:192.168.93.1)
>>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2242|database
>>>>>>>>> handle stored in $ENV{dbh}
>>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:get_image_active_directory_domain_info|14622|image
>>>>>>>>> 133 is not configured for Active Directory
>>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|159|blockrequest
>>>>>>>>> id: 37
>>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|160|blockrequest
>>>>>>>>> mode: expire
>>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|161|blockrequest
>>>>>>>>> image id: 133
>>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|162|blockrequest
>>>>>>>>> number machines: 10
>>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|163|blockrequest
>>>>>>>>> expire: 2019-08-02 23:59:59
>>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|164|blocktime
>>>>>>>>> id: 249
>>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|165|blocktime
>>>>>>>>> processed: 1
>>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|166|blocktime
>>>>>>>>> start: 2019-08-02 08:30:00
>>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|167|owner
>>>>>>>>> email: aaragao@di.uminho.pt
>>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|168|help
>>>>>>>>> address: divcl@di.uminho.pt
>>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|326|Block
>>>>>>>>> Request 37 has expired
>>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|327|Updated
>>>>>>>>> status of blockRequest id 37 to completed
>>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|337|Removed
>>>>>>>>> processing flag on blockrequest_id 37
>>>>>>>>> 2019-08-06
>>>>>>>>> 10:00:14|15595|37||blockrequest|State.pm:DESTROY|1093|VCL::blockrequest
>>>>>>>>> destructor called, address: a5a7e98
>>>>>>>>> 2019-08-06
>>>>>>>>> 10:00:14|15595|37||blockrequest|Module.pm:DESTROY|2391|destroying
>>>>>>>>> VCL::blockrequest object, address: a5a7e98
>>>>>>>>> 2019-08-06 10:00:15|15431|||vcld|vcld:REAPER|758|VCL process
>>>>>>>>> exited for reservation <unknown>, PID: 15595, signal: CHLD
>>>>>>>>>
>>>>>>>>> Any clue ? I even try to reload a new image but it doesn't work.
>>>>>>>>>
>>>>>>>>> Thanks.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> António Aragão <aa...@di.uminho.pt> escreveu no dia sexta,
>>>>>>>>> 2/08/2019 à(s) 16:36:
>>>>>>>>>
>>>>>>>>>> Thanks Mike. I will upgrade perl version and will try.
>>>>>>>>>>
>>>>>>>>>> Thanks.
>>>>>>>>>>
>>>>>>>>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia sexta,
>>>>>>>>>> 2/08/2019 à(s) 16:24:
>>>>>>>>>>
>>>>>>>>>>> I would suggest upgrading perl to be version 5.16.3 to see if
>>>>>>>>>>> that works.  I don't get the errors you are seeing with that version.
>>>>>>>>>>>
>>>>>>>>>>> Mike
>>>>>>>>>>>
>>>>>>>>>>> On Fri, Aug 2, 2019 at 10:02 AM António Aragão <
>>>>>>>>>>> aaragao@di.uminho.pt> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Mike,
>>>>>>>>>>>>
>>>>>>>>>>>> it is v5.10.1.
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>
>>>>>>>>>>>> [root@vclnode1 ~]# perl -v
>>>>>>>>>>>>
>>>>>>>>>>>> This is perl, v5.10.1 (*) built for i386-linux-thread-multi
>>>>>>>>>>>>
>>>>>>>>>>>> Copyright 1987-2009, Larry Wall
>>>>>>>>>>>>
>>>>>>>>>>>> Perl may be copied only under the terms of either the Artistic
>>>>>>>>>>>> License or the
>>>>>>>>>>>> GNU General Public License, which may be found in the Perl 5
>>>>>>>>>>>> source kit.
>>>>>>>>>>>>
>>>>>>>>>>>> Complete documentation for Perl, including FAQ lists, should be
>>>>>>>>>>>> found on
>>>>>>>>>>>> this system using "man perl" or "perldoc perl".  If you have
>>>>>>>>>>>> access to the
>>>>>>>>>>>> Internet, point your browser at http://www.perl.org/, the Perl
>>>>>>>>>>>> Home Page.
>>>>>>>>>>>>
>>>>>>>>>>>> [root@vclnode1 ~]#
>>>>>>>>>>>>
>>>>>>>>>>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia sexta,
>>>>>>>>>>>> 2/08/2019 à(s) 14:49:
>>>>>>>>>>>>
>>>>>>>>>>>>> Antonio,
>>>>>>>>>>>>>
>>>>>>>>>>>>> What version of perl are you running on your system?
>>>>>>>>>>>>>
>>>>>>>>>>>>> Mike
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Fri, Aug 2, 2019 at 6:28 AM António Aragão <
>>>>>>>>>>>>> aaragao@di.uminho.pt> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Good morning,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> a example of trying to make a reservation.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> António Aragão <aa...@di.uminho.pt> escreveu no dia sexta,
>>>>>>>>>>>>>> 2/08/2019 à(s) 10:58:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Good morning,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> after I upgraded from 2.5 to 2.5.1 I'm unable to use any
>>>>>>>>>>>>>>> reservation. Looking to the vcld.log a lots for perl errors. Any clue ? I
>>>>>>>>>>>>>>> attach the output file for:  /usr/local/vcl/bin/
>>>>>>>>>>>>>>> install_perl_libs.pl
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> ---------- Forwarded message ---------
>>>>>>>>>>>>>>> De: <ro...@vclnode1.apachevcl.di.uminho.pt>
>>>>>>>>>>>>>>> Date: quinta, 1/08/2019 à(s) 08:35
>>>>>>>>>>>>>>> Subject: PROBLEM --
>>>>>>>>>>>>>>> vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596
>>>>>>>>>>>>>>> To: <aa...@di.uminho.pt>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> reservation failed on mv76, process failed to initialize:
>>>>>>>>>>>>>>> failed to create OS object
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>>>>>>> time: 2019-08-01 08:30:22
>>>>>>>>>>>>>>> caller: State.pm:reservation_failed(461)
>>>>>>>>>>>>>>> ( 0) State.pm, reservation_failed (line: 461)
>>>>>>>>>>>>>>> (-1) State.pm, initialize (line: 170)
>>>>>>>>>>>>>>> (-2) Module.pm, new (line: 228)
>>>>>>>>>>>>>>> (-3) vcld, (eval) (line: 594)
>>>>>>>>>>>>>>> (-4) vcld, make_new_child (line: 593)
>>>>>>>>>>>>>>> (-5) vcld, main (line: 353)
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>>>>>>> management node: vclnode1.apachevcl.di.uminho.pt
>>>>>>>>>>>>>>> reservation PID: 5308
>>>>>>>>>>>>>>> parent vcld PID: 21274
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> request ID: 870
>>>>>>>>>>>>>>> reservation ID: 870
>>>>>>>>>>>>>>> request state/laststate: new/new
>>>>>>>>>>>>>>> request start time: 2019-08-01 08:30:00
>>>>>>>>>>>>>>> request end time: 2019-08-01 12:30:00
>>>>>>>>>>>>>>> for imaging: no
>>>>>>>>>>>>>>> log ID: 729
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> computer: mv76.apachevcl.di.uminho.pt
>>>>>>>>>>>>>>> computer id: 135
>>>>>>>>>>>>>>> computer type: virtualmachine
>>>>>>>>>>>>>>> computer eth0 MAC address: 00:50:56:00:03:1e
>>>>>>>>>>>>>>> computer eth1 MAC address: 00:50:56:00:03:1f
>>>>>>>>>>>>>>> computer private IP address: 10.100.0.76
>>>>>>>>>>>>>>> computer public IP address: 192.168.93.76
>>>>>>>>>>>>>>> computer in block allocation: no
>>>>>>>>>>>>>>> provisioning module:
>>>>>>>>>>>>>>> VCL::Module::Provisioning::VMware::VMware
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> vm host: servidor13.di.uminho.pt
>>>>>>>>>>>>>>> vm host ID: 4
>>>>>>>>>>>>>>> vm host computer ID: 160
>>>>>>>>>>>>>>> vm profile: s13vmhostprofile
>>>>>>>>>>>>>>> vm profile VM path: /vmfs/volumes/IFT-block1/
>>>>>>>>>>>>>>> vm profile repository path: /vmfs/volumes/vcl_images/
>>>>>>>>>>>>>>> vm profile datastore path: /vmfs/volumes/IFT-block1/
>>>>>>>>>>>>>>> vm profile disk type: shared
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> image: vmwarewin7-WIN7_20190617133-v0
>>>>>>>>>>>>>>> image display name: WIN7_20190617
>>>>>>>>>>>>>>> image ID: 133
>>>>>>>>>>>>>>> image revision ID: 133
>>>>>>>>>>>>>>> image size: 48022 MB
>>>>>>>>>>>>>>> use Sysprep: yes
>>>>>>>>>>>>>>> root access: yes
>>>>>>>>>>>>>>> image owner ID: 1
>>>>>>>>>>>>>>> image owner affiliation: Local
>>>>>>>>>>>>>>> image revision date created: 2019-06-17 16:17:33
>>>>>>>>>>>>>>> image revision production: yes
>>>>>>>>>>>>>>> OS module: VCL::Module::OS::Windows::Version_6::7
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> user: a12596
>>>>>>>>>>>>>>> user name:
>>>>>>>>>>>>>>> user ID: 10
>>>>>>>>>>>>>>> user affiliation: DIALUNOSLDAP
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>>>>>>> RECENT LOG ENTRIES FOR THIS PROCESS:
>>>>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>>>>> 08:30:22|5308|870|870|new|vcld:make_new_child|571|vcld environment variable
>>>>>>>>>>>>>>> set to 0 for this process
>>>>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this
>>>>>>>>>>>>>>> is the parent reservation
>>>>>>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6112|reservation
>>>>>>>>>>>>>>> count: 1
>>>>>>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6139|renamed
>>>>>>>>>>>>>>> process to 'vcld '|5308|870|870|new|' mv76>servidor13
>>>>>>>>>>>>>>> vmwarewin7-WIN7_20190617133-v0 a12596'
>>>>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>>>>> 08:30:22|5308|870|870|new|vcld:make_new_child|589|loaded VCL::new module
>>>>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>>>>> 08:30:22|5308|870|870|new|Module.pm:new|188|VCL::new object created for
>>>>>>>>>>>>>>> state new, address: b10a268
>>>>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>>>>> 08:30:22|5308|870|870|new|State.pm:initialize|86|initializing
>>>>>>>>>>>>>>> VCL::Module::State object
>>>>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this
>>>>>>>>>>>>>>> is the parent reservation
>>>>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>>>>> 08:30:22|5308|870|870|new|State.pm:initialize|103|obtained a database
>>>>>>>>>>>>>>> handle for this state process, stored as $ENV{dbh}
>>>>>>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_reservation_lastcheck|5499|updated
>>>>>>>>>>>>>>> reservation.lastcheck to '2019-08-01 08:30:22' for reservation IDs: 870
>>>>>>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_request_state|1439|request
>>>>>>>>>>>>>>> 870 state updated to pending/new
>>>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| ----
>>>>>>>>>>>>>>> WARNING ----
>>>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| 2019-08-01
>>>>>>>>>>>>>>> 08:30:22|5308|870|870|new|Module.pm:create_os_object|446|VCL::Module::OS::Windows::Version_6::7
>>>>>>>>>>>>>>> module could not be loaded, error:
>>>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|
>>>>>>>>>>>>>>> CORE::state is not a keyword at
>>>>>>>>>>>>>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows.pm line 14683.
>>>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|
>>>>>>>>>>>>>>> Compilation failed in require at (eval 382) line 3.
>>>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|
>>>>>>>>>>>>>>> ...propagated at /usr/share/perl5/base.pm line 94.
>>>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>>>>>>>>>>>> failed--compilation aborted at
>>>>>>>>>>>>>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6.pm line 45.
>>>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|
>>>>>>>>>>>>>>> Compilation failed in require at (eval 381) line 3.
>>>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|
>>>>>>>>>>>>>>> ...propagated at /usr/share/perl5/base.pm line 94.
>>>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>>>>>>>>>>>> failed--compilation aborted at
>>>>>>>>>>>>>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6/
>>>>>>>>>>>>>>> 7.pm line 43.
>>>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|
>>>>>>>>>>>>>>> Compilation failed in require at (eval 380) line 2.
>>>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>>>>>>>>>>>> failed--compilation aborted at (eval 380) line 2.
>>>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| ( 0)
>>>>>>>>>>>>>>> Module.pm, create_os_object (line: 446)
>>>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-1)
>>>>>>>>>>>>>>> State.pm, initialize (line: 166)
>>>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-2)
>>>>>>>>>>>>>>> Module.pm, new (line: 228)
>>>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-3) vcld,
>>>>>>>>>>>>>>> (eval) (line: 594)
>>>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-4) vcld,
>>>>>>>>>>>>>>> make_new_child (line: 593)
>>>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-5) vcld,
>>>>>>>>>>>>>>> main (line: 353)
>>>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>>>>> ---- WARNING ----
>>>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|2
>>>>>>>>>>>>>>> rows were returned from database select
>>>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>>>>> ( 0) DataStructure.pm, get_computer_state_name (line: 2083)
>>>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>>>>> (-1) State.pm, reservation_failed (line: 404)
>>>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>>>>> (-2) State.pm, initialize (line: 170)
>>>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>>>>> (-3) Module.pm, new (line: 228)
>>>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>>>>> (-4) vcld, (eval) (line: 594)
>>>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>>>>> (-5) vcld, make_new_child (line: 593)
>>>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>>>>> (-6) vcld, main (line: 353)
>>>>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_private_ip_address|1596|returning
>>>>>>>>>>>>>>> private IP address of mv76.apachevcl.di.uminho.pt (135)
>>>>>>>>>>>>>>> already stored in this DataStructure object: 10.100.0.76
>>>>>>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:is_inblockrequest|4926|zero
>>>>>>>>>>>>>>> rows were returned from database select
>>>>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_image_affiliation_name|1704|image
>>>>>>>>>>>>>>> owner id: 1
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> António Aragão
>>>>>>>>>>>>>>> (Especialista de Informática)
>>>>>>>>>>>>>>> Universidade do Minho
>>>>>>>>>>>>>>> Departamento de Informática
>>>>>>>>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>>>>>>>>>>> Campus de Gualtar
>>>>>>>>>>>>>>> Braga
>>>>>>>>>>>>>>> Telefone: +351 253 6044 86
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> António Aragão
>>>>>>>>>>>>>> (Especialista de Informática)
>>>>>>>>>>>>>> Universidade do Minho
>>>>>>>>>>>>>> Departamento de Informática
>>>>>>>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>>>>>>>>>> Campus de Gualtar
>>>>>>>>>>>>>> Braga
>>>>>>>>>>>>>> Telefone: +351 253 6044 86
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> António Aragão
>>>>>>>>>>>> (Especialista de Informática)
>>>>>>>>>>>> Universidade do Minho
>>>>>>>>>>>> Departamento de Informática
>>>>>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>>>>>>>> Campus de Gualtar
>>>>>>>>>>>> Braga
>>>>>>>>>>>> Telefone: +351 253 6044 86
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> António Aragão
>>>>>>>>>> (Especialista de Informática)
>>>>>>>>>> Universidade do Minho
>>>>>>>>>> Departamento de Informática
>>>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>>>>>> Campus de Gualtar
>>>>>>>>>> Braga
>>>>>>>>>> Telefone: +351 253 6044 86
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> António Aragão
>>>>>>>>> (Especialista de Informática)
>>>>>>>>> Universidade do Minho
>>>>>>>>> Departamento de Informática
>>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>>>>> Campus de Gualtar
>>>>>>>>> Braga
>>>>>>>>> Telefone: +351 253 6044 86
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> António Aragão
>>>>>>> (Especialista de Informática)
>>>>>>> Universidade do Minho
>>>>>>> Departamento de Informática
>>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>>> Campus de Gualtar
>>>>>>> Braga
>>>>>>> Telefone: +351 253 6044 86
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>
>>>>> --
>>>>> António Aragão
>>>>> (Especialista de Informática)
>>>>> Universidade do Minho
>>>>> Departamento de Informática
>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>> Campus de Gualtar
>>>>> Braga
>>>>> Telefone: +351 253 6044 86
>>>>>
>>>>>
>>>>>
>>
>> --
>> António Aragão
>> (Especialista de Informática)
>> Universidade do Minho
>> Departamento de Informática
>> Edificio 7 - 1.07 (DI-1.03)
>> Campus de Gualtar
>> Braga
>> Telefone: +351 253 6044 86
>>
>>
>>

-- 
António Aragão
(Especialista de Informática)
Universidade do Minho
Departamento de Informática
Edificio 7 - 1.07 (DI-1.03)
Campus de Gualtar
Braga
Telefone: +351 253 6044 86

Re: PROBLEM -- vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596

Posted by Mike Jennings <gm...@ncsu.edu>.
I am glad that things are working for you.

So just to clarify, you rolled your perl version to 5.10 and used the
Windows.pm file I sent and this resolved your issue?

To answer question one, I would upgrade to Centos OS 7 as 6 is going to be
deprecated in the next year.

Currently we have the .\user on the windows machines that are not connected
to AD so that it forces the user to authenticate to local accounts.

Mike

On Thu, Aug 8, 2019 at 12:08 PM António Aragão <aa...@di.uminho.pt> wrote:

> Mike,
>
> thanks, now it is up and running after using the new Windows.pm. I have 2
> more questions:
>
> Question 1) Web+node should be in Cent OS 7 x64 with perl 5.16.3 ?
>
> Question 2) In the windows machines the login is shown as .\user how can I
> remove ".\" we don't have an windows domain.
>
> Thanks.
>
> Mike Jennings <gm...@ncsu.edu> escreveu no dia terça, 6/08/2019 à(s)
> 18:20:
>
>> Antonio,
>>
>> I would suggest rolling your code back to the previous version of perl
>> that you were running.  It appears that after you upgraded there is a issue
>> with resolving session variables.
>>
>> I have made the following changes to the Windows.pm file
>>
>> I added the use feature 'state'; to be above the subroutine
>> ad_delete_computer and then removed the CORE:: from the state $recrusion=0
>> line in the same subroute.  Please look below.  These changes make the code
>> compile correctly on a vm I setup with perl 5.10.1 on Centos 6.x 32bit.  I
>> have also attached the Windows.pm file to this email, which can be used to
>> replace the one located at /usr/local/vcl/lib/VCL/Module/OS
>>
>> use feature 'state';
>> sub ad_delete_computer {
>>         my $self = shift;
>>         if (ref($self) !~ /windows/i) {
>>                 notify($ERRORS{'CRITICAL'}, 0, "subroutine was called as
>> a function, it must be called as a class method");
>>                 return;
>>         }
>>
>>         # static variable to track if function being call recursively
>>         state $recursion = 0;
>>
>> Please let me know if these changes work for you and then I will push
>> them out into the next release.
>>
>> Mike Jennings
>>
>>
>> On Tue, Aug 6, 2019 at 11:41 AM Mike Jennings <gm...@ncsu.edu> wrote:
>>
>>> Antonio,
>>>
>>> Can you possibly role bak to version 5.10 on the box?
>>>
>>> Mike
>>>
>>> On Tue, Aug 6, 2019 at 11:20 AM António Aragão <aa...@di.uminho.pt>
>>> wrote:
>>>
>>>> Mike,
>>>>
>>>> I upgrade perl with cpan packages necessary for vcl. If you want I try
>>>> perl commands if it is all ok.
>>>>
>>>> Thanks.
>>>>
>>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia terça, 6/08/2019
>>>> à(s) 15:25:
>>>>
>>>>> Antonio,
>>>>>
>>>>> Did you also upgrade your cpan packages after doing the upgrade of the
>>>>> perl module you are running?
>>>>>
>>>>> We currently have Centos 7.6 x64 running with the new VCL code and
>>>>> have no issues at all.
>>>>>
>>>>> I am going to download a copy of your operating system and see what
>>>>> issues I have getting this setup locally.
>>>>>
>>>>> Mike Jennings
>>>>>
>>>>> On Tue, Aug 6, 2019 at 9:22 AM António Aragão <aa...@di.uminho.pt>
>>>>> wrote:
>>>>>
>>>>>> CentOS 6.10 32bits.
>>>>>>
>>>>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia terça, 6/08/2019
>>>>>> à(s) 13:56:
>>>>>>
>>>>>>> Can you let me know what operating system you are currently using?
>>>>>>>
>>>>>>> Mike
>>>>>>>
>>>>>>> On Tue, Aug 6, 2019 at 5:04 AM António Aragão <aa...@di.uminho.pt>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hello,
>>>>>>>>
>>>>>>>> I upgrade perl version and now is 5.16.3, I'm unable to do any
>>>>>>>> reservation and the vcld.log keeps logging:
>>>>>>>>
>>>>>>>>
>>>>>>>> |15431|||vcld|vcld:warning_handler|646| ---- WARNING ----
>>>>>>>> |15431|||vcld|vcld:warning_handler|646| 2019-08-06
>>>>>>>> 10:00:14|15431|||vcld|vcld:warning_handler|646|Use of uninitialized value
>>>>>>>> $reservation_id in concatenation (.) or string at /usr/local/vcl/bin/vcld
>>>>>>>> line 541.
>>>>>>>> |15431|||vcld|vcld:warning_handler|646| ( 0) vcld, warning_handler
>>>>>>>> (line: 646)
>>>>>>>> |15431|||vcld|vcld:warning_handler|646| (-1) vcld, make_new_child
>>>>>>>> (line: 541)
>>>>>>>> |15431|||vcld|vcld:warning_handler|646| (-2) vcld, main (line: 454)
>>>>>>>>
>>>>>>>> 2019-08-06 10:00:14|15431|||vcld|vcld:make_new_child|541|created
>>>>>>>> child process 15595 for reservation , state: blockrequest, current number
>>>>>>>> of forked kids: 1
>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:rename_vcld_process|6139|renamed
>>>>>>>> process to 'vcld 37:249 'teste''
>>>>>>>> 2019-08-06
>>>>>>>> 10:00:14|15595|37||blockrequest|vcld:make_new_child|589|loaded
>>>>>>>> VCL::blockrequest module
>>>>>>>> 2019-08-06
>>>>>>>> 10:00:14|15595|37||blockrequest|Module.pm:new|188|VCL::blockrequest object
>>>>>>>> created for state available, address: a5a7e98
>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:initialize|84|obtained
>>>>>>>> a database handle for this state process, stored as $ENV{dbh}
>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:rename_vcld_process|6139|renamed
>>>>>>>> process to 'vcld 37:249 'teste''
>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:initialize|94|returning
>>>>>>>> 1
>>>>>>>> 2019-08-06
>>>>>>>> 10:00:14|15595|37||blockrequest|vcld:make_new_child|598|VCL::blockrequest
>>>>>>>> object created and initialized
>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:get_user_info|6696|UID
>>>>>>>> value is not configured for admin@Local, setting UID=501, setting
>>>>>>>> FEDERATED_LINUX_AUTHENTICATION=0
>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2191|database
>>>>>>>> requested (information_schema) does not match handle stored in $ENV{dbh}
>>>>>>>> (vcl:192.168.93.1)
>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2242|database
>>>>>>>> handle stored in $ENV{dbh}
>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2191|database
>>>>>>>> requested (vcl) does not match handle stored in $ENV{dbh}
>>>>>>>> (information_schema:192.168.93.1)
>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2242|database
>>>>>>>> handle stored in $ENV{dbh}
>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:get_image_active_directory_domain_info|14622|image
>>>>>>>> 133 is not configured for Active Directory
>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|159|blockrequest
>>>>>>>> id: 37
>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|160|blockrequest
>>>>>>>> mode: expire
>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|161|blockrequest
>>>>>>>> image id: 133
>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|162|blockrequest
>>>>>>>> number machines: 10
>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|163|blockrequest
>>>>>>>> expire: 2019-08-02 23:59:59
>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|164|blocktime
>>>>>>>> id: 249
>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|165|blocktime
>>>>>>>> processed: 1
>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|166|blocktime
>>>>>>>> start: 2019-08-02 08:30:00
>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|167|owner
>>>>>>>> email: aaragao@di.uminho.pt
>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|168|help
>>>>>>>> address: divcl@di.uminho.pt
>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|326|Block
>>>>>>>> Request 37 has expired
>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|327|Updated
>>>>>>>> status of blockRequest id 37 to completed
>>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|337|Removed
>>>>>>>> processing flag on blockrequest_id 37
>>>>>>>> 2019-08-06
>>>>>>>> 10:00:14|15595|37||blockrequest|State.pm:DESTROY|1093|VCL::blockrequest
>>>>>>>> destructor called, address: a5a7e98
>>>>>>>> 2019-08-06
>>>>>>>> 10:00:14|15595|37||blockrequest|Module.pm:DESTROY|2391|destroying
>>>>>>>> VCL::blockrequest object, address: a5a7e98
>>>>>>>> 2019-08-06 10:00:15|15431|||vcld|vcld:REAPER|758|VCL process exited
>>>>>>>> for reservation <unknown>, PID: 15595, signal: CHLD
>>>>>>>>
>>>>>>>> Any clue ? I even try to reload a new image but it doesn't work.
>>>>>>>>
>>>>>>>> Thanks.
>>>>>>>>
>>>>>>>>
>>>>>>>> António Aragão <aa...@di.uminho.pt> escreveu no dia sexta,
>>>>>>>> 2/08/2019 à(s) 16:36:
>>>>>>>>
>>>>>>>>> Thanks Mike. I will upgrade perl version and will try.
>>>>>>>>>
>>>>>>>>> Thanks.
>>>>>>>>>
>>>>>>>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia sexta,
>>>>>>>>> 2/08/2019 à(s) 16:24:
>>>>>>>>>
>>>>>>>>>> I would suggest upgrading perl to be version 5.16.3 to see if
>>>>>>>>>> that works.  I don't get the errors you are seeing with that version.
>>>>>>>>>>
>>>>>>>>>> Mike
>>>>>>>>>>
>>>>>>>>>> On Fri, Aug 2, 2019 at 10:02 AM António Aragão <
>>>>>>>>>> aaragao@di.uminho.pt> wrote:
>>>>>>>>>>
>>>>>>>>>>> Mike,
>>>>>>>>>>>
>>>>>>>>>>> it is v5.10.1.
>>>>>>>>>>>
>>>>>>>>>>> Thanks.
>>>>>>>>>>>
>>>>>>>>>>> [root@vclnode1 ~]# perl -v
>>>>>>>>>>>
>>>>>>>>>>> This is perl, v5.10.1 (*) built for i386-linux-thread-multi
>>>>>>>>>>>
>>>>>>>>>>> Copyright 1987-2009, Larry Wall
>>>>>>>>>>>
>>>>>>>>>>> Perl may be copied only under the terms of either the Artistic
>>>>>>>>>>> License or the
>>>>>>>>>>> GNU General Public License, which may be found in the Perl 5
>>>>>>>>>>> source kit.
>>>>>>>>>>>
>>>>>>>>>>> Complete documentation for Perl, including FAQ lists, should be
>>>>>>>>>>> found on
>>>>>>>>>>> this system using "man perl" or "perldoc perl".  If you have
>>>>>>>>>>> access to the
>>>>>>>>>>> Internet, point your browser at http://www.perl.org/, the Perl
>>>>>>>>>>> Home Page.
>>>>>>>>>>>
>>>>>>>>>>> [root@vclnode1 ~]#
>>>>>>>>>>>
>>>>>>>>>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia sexta,
>>>>>>>>>>> 2/08/2019 à(s) 14:49:
>>>>>>>>>>>
>>>>>>>>>>>> Antonio,
>>>>>>>>>>>>
>>>>>>>>>>>> What version of perl are you running on your system?
>>>>>>>>>>>>
>>>>>>>>>>>> Mike
>>>>>>>>>>>>
>>>>>>>>>>>> On Fri, Aug 2, 2019 at 6:28 AM António Aragão <
>>>>>>>>>>>> aaragao@di.uminho.pt> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Good morning,
>>>>>>>>>>>>>
>>>>>>>>>>>>> a example of trying to make a reservation.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>>
>>>>>>>>>>>>> António Aragão <aa...@di.uminho.pt> escreveu no dia sexta,
>>>>>>>>>>>>> 2/08/2019 à(s) 10:58:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Good morning,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> after I upgraded from 2.5 to 2.5.1 I'm unable to use any
>>>>>>>>>>>>>> reservation. Looking to the vcld.log a lots for perl errors. Any clue ? I
>>>>>>>>>>>>>> attach the output file for:  /usr/local/vcl/bin/
>>>>>>>>>>>>>> install_perl_libs.pl
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> ---------- Forwarded message ---------
>>>>>>>>>>>>>> De: <ro...@vclnode1.apachevcl.di.uminho.pt>
>>>>>>>>>>>>>> Date: quinta, 1/08/2019 à(s) 08:35
>>>>>>>>>>>>>> Subject: PROBLEM --
>>>>>>>>>>>>>> vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596
>>>>>>>>>>>>>> To: <aa...@di.uminho.pt>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> reservation failed on mv76, process failed to initialize:
>>>>>>>>>>>>>> failed to create OS object
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>>>>>> time: 2019-08-01 08:30:22
>>>>>>>>>>>>>> caller: State.pm:reservation_failed(461)
>>>>>>>>>>>>>> ( 0) State.pm, reservation_failed (line: 461)
>>>>>>>>>>>>>> (-1) State.pm, initialize (line: 170)
>>>>>>>>>>>>>> (-2) Module.pm, new (line: 228)
>>>>>>>>>>>>>> (-3) vcld, (eval) (line: 594)
>>>>>>>>>>>>>> (-4) vcld, make_new_child (line: 593)
>>>>>>>>>>>>>> (-5) vcld, main (line: 353)
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>>>>>> management node: vclnode1.apachevcl.di.uminho.pt
>>>>>>>>>>>>>> reservation PID: 5308
>>>>>>>>>>>>>> parent vcld PID: 21274
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> request ID: 870
>>>>>>>>>>>>>> reservation ID: 870
>>>>>>>>>>>>>> request state/laststate: new/new
>>>>>>>>>>>>>> request start time: 2019-08-01 08:30:00
>>>>>>>>>>>>>> request end time: 2019-08-01 12:30:00
>>>>>>>>>>>>>> for imaging: no
>>>>>>>>>>>>>> log ID: 729
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> computer: mv76.apachevcl.di.uminho.pt
>>>>>>>>>>>>>> computer id: 135
>>>>>>>>>>>>>> computer type: virtualmachine
>>>>>>>>>>>>>> computer eth0 MAC address: 00:50:56:00:03:1e
>>>>>>>>>>>>>> computer eth1 MAC address: 00:50:56:00:03:1f
>>>>>>>>>>>>>> computer private IP address: 10.100.0.76
>>>>>>>>>>>>>> computer public IP address: 192.168.93.76
>>>>>>>>>>>>>> computer in block allocation: no
>>>>>>>>>>>>>> provisioning module: VCL::Module::Provisioning::VMware::VMware
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> vm host: servidor13.di.uminho.pt
>>>>>>>>>>>>>> vm host ID: 4
>>>>>>>>>>>>>> vm host computer ID: 160
>>>>>>>>>>>>>> vm profile: s13vmhostprofile
>>>>>>>>>>>>>> vm profile VM path: /vmfs/volumes/IFT-block1/
>>>>>>>>>>>>>> vm profile repository path: /vmfs/volumes/vcl_images/
>>>>>>>>>>>>>> vm profile datastore path: /vmfs/volumes/IFT-block1/
>>>>>>>>>>>>>> vm profile disk type: shared
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> image: vmwarewin7-WIN7_20190617133-v0
>>>>>>>>>>>>>> image display name: WIN7_20190617
>>>>>>>>>>>>>> image ID: 133
>>>>>>>>>>>>>> image revision ID: 133
>>>>>>>>>>>>>> image size: 48022 MB
>>>>>>>>>>>>>> use Sysprep: yes
>>>>>>>>>>>>>> root access: yes
>>>>>>>>>>>>>> image owner ID: 1
>>>>>>>>>>>>>> image owner affiliation: Local
>>>>>>>>>>>>>> image revision date created: 2019-06-17 16:17:33
>>>>>>>>>>>>>> image revision production: yes
>>>>>>>>>>>>>> OS module: VCL::Module::OS::Windows::Version_6::7
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> user: a12596
>>>>>>>>>>>>>> user name:
>>>>>>>>>>>>>> user ID: 10
>>>>>>>>>>>>>> user affiliation: DIALUNOSLDAP
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>>>>>> RECENT LOG ENTRIES FOR THIS PROCESS:
>>>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>>>> 08:30:22|5308|870|870|new|vcld:make_new_child|571|vcld environment variable
>>>>>>>>>>>>>> set to 0 for this process
>>>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this
>>>>>>>>>>>>>> is the parent reservation
>>>>>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6112|reservation
>>>>>>>>>>>>>> count: 1
>>>>>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6139|renamed
>>>>>>>>>>>>>> process to 'vcld '|5308|870|870|new|' mv76>servidor13
>>>>>>>>>>>>>> vmwarewin7-WIN7_20190617133-v0 a12596'
>>>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>>>> 08:30:22|5308|870|870|new|vcld:make_new_child|589|loaded VCL::new module
>>>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>>>> 08:30:22|5308|870|870|new|Module.pm:new|188|VCL::new object created for
>>>>>>>>>>>>>> state new, address: b10a268
>>>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>>>> 08:30:22|5308|870|870|new|State.pm:initialize|86|initializing
>>>>>>>>>>>>>> VCL::Module::State object
>>>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this
>>>>>>>>>>>>>> is the parent reservation
>>>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>>>> 08:30:22|5308|870|870|new|State.pm:initialize|103|obtained a database
>>>>>>>>>>>>>> handle for this state process, stored as $ENV{dbh}
>>>>>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_reservation_lastcheck|5499|updated
>>>>>>>>>>>>>> reservation.lastcheck to '2019-08-01 08:30:22' for reservation IDs: 870
>>>>>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_request_state|1439|request
>>>>>>>>>>>>>> 870 state updated to pending/new
>>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| ----
>>>>>>>>>>>>>> WARNING ----
>>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| 2019-08-01
>>>>>>>>>>>>>> 08:30:22|5308|870|870|new|Module.pm:create_os_object|446|VCL::Module::OS::Windows::Version_6::7
>>>>>>>>>>>>>> module could not be loaded, error:
>>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| CORE::state
>>>>>>>>>>>>>> is not a keyword at
>>>>>>>>>>>>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows.pm line 14683.
>>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation
>>>>>>>>>>>>>> failed in require at (eval 382) line 3.
>>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|
>>>>>>>>>>>>>> ...propagated at /usr/share/perl5/base.pm line 94.
>>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>>>>>>>>>>> failed--compilation aborted at
>>>>>>>>>>>>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6.pm line 45.
>>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation
>>>>>>>>>>>>>> failed in require at (eval 381) line 3.
>>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|
>>>>>>>>>>>>>> ...propagated at /usr/share/perl5/base.pm line 94.
>>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>>>>>>>>>>> failed--compilation aborted at
>>>>>>>>>>>>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6/
>>>>>>>>>>>>>> 7.pm line 43.
>>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation
>>>>>>>>>>>>>> failed in require at (eval 380) line 2.
>>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>>>>>>>>>>> failed--compilation aborted at (eval 380) line 2.
>>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| ( 0)
>>>>>>>>>>>>>> Module.pm, create_os_object (line: 446)
>>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-1)
>>>>>>>>>>>>>> State.pm, initialize (line: 166)
>>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-2)
>>>>>>>>>>>>>> Module.pm, new (line: 228)
>>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-3) vcld,
>>>>>>>>>>>>>> (eval) (line: 594)
>>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-4) vcld,
>>>>>>>>>>>>>> make_new_child (line: 593)
>>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-5) vcld,
>>>>>>>>>>>>>> main (line: 353)
>>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>>>> ---- WARNING ----
>>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|2
>>>>>>>>>>>>>> rows were returned from database select
>>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>>>> ( 0) DataStructure.pm, get_computer_state_name (line: 2083)
>>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>>>> (-1) State.pm, reservation_failed (line: 404)
>>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>>>> (-2) State.pm, initialize (line: 170)
>>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>>>> (-3) Module.pm, new (line: 228)
>>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>>>> (-4) vcld, (eval) (line: 594)
>>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>>>> (-5) vcld, make_new_child (line: 593)
>>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>>>> (-6) vcld, main (line: 353)
>>>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_private_ip_address|1596|returning
>>>>>>>>>>>>>> private IP address of mv76.apachevcl.di.uminho.pt (135)
>>>>>>>>>>>>>> already stored in this DataStructure object: 10.100.0.76
>>>>>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:is_inblockrequest|4926|zero
>>>>>>>>>>>>>> rows were returned from database select
>>>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_image_affiliation_name|1704|image
>>>>>>>>>>>>>> owner id: 1
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> António Aragão
>>>>>>>>>>>>>> (Especialista de Informática)
>>>>>>>>>>>>>> Universidade do Minho
>>>>>>>>>>>>>> Departamento de Informática
>>>>>>>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>>>>>>>>>> Campus de Gualtar
>>>>>>>>>>>>>> Braga
>>>>>>>>>>>>>> Telefone: +351 253 6044 86
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> António Aragão
>>>>>>>>>>>>> (Especialista de Informática)
>>>>>>>>>>>>> Universidade do Minho
>>>>>>>>>>>>> Departamento de Informática
>>>>>>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>>>>>>>>> Campus de Gualtar
>>>>>>>>>>>>> Braga
>>>>>>>>>>>>> Telefone: +351 253 6044 86
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> António Aragão
>>>>>>>>>>> (Especialista de Informática)
>>>>>>>>>>> Universidade do Minho
>>>>>>>>>>> Departamento de Informática
>>>>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>>>>>>> Campus de Gualtar
>>>>>>>>>>> Braga
>>>>>>>>>>> Telefone: +351 253 6044 86
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> António Aragão
>>>>>>>>> (Especialista de Informática)
>>>>>>>>> Universidade do Minho
>>>>>>>>> Departamento de Informática
>>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>>>>> Campus de Gualtar
>>>>>>>>> Braga
>>>>>>>>> Telefone: +351 253 6044 86
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> António Aragão
>>>>>>>> (Especialista de Informática)
>>>>>>>> Universidade do Minho
>>>>>>>> Departamento de Informática
>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>>>> Campus de Gualtar
>>>>>>>> Braga
>>>>>>>> Telefone: +351 253 6044 86
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>
>>>>>> --
>>>>>> António Aragão
>>>>>> (Especialista de Informática)
>>>>>> Universidade do Minho
>>>>>> Departamento de Informática
>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>> Campus de Gualtar
>>>>>> Braga
>>>>>> Telefone: +351 253 6044 86
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>> --
>>>> António Aragão
>>>> (Especialista de Informática)
>>>> Universidade do Minho
>>>> Departamento de Informática
>>>> Edificio 7 - 1.07 (DI-1.03)
>>>> Campus de Gualtar
>>>> Braga
>>>> Telefone: +351 253 6044 86
>>>>
>>>>
>>>>
>
> --
> António Aragão
> (Especialista de Informática)
> Universidade do Minho
> Departamento de Informática
> Edificio 7 - 1.07 (DI-1.03)
> Campus de Gualtar
> Braga
> Telefone: +351 253 6044 86
>
>
>

Re: PROBLEM -- vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596

Posted by António Aragão <aa...@di.uminho.pt>.
Mike,

thanks, now it is up and running after using the new Windows.pm. I have 2
more questions:

Question 1) Web+node should be in Cent OS 7 x64 with perl 5.16.3 ?

Question 2) In the windows machines the login is shown as .\user how can I
remove ".\" we don't have an windows domain.

Thanks.

Mike Jennings <gm...@ncsu.edu> escreveu no dia terça, 6/08/2019 à(s)
18:20:

> Antonio,
>
> I would suggest rolling your code back to the previous version of perl
> that you were running.  It appears that after you upgraded there is a issue
> with resolving session variables.
>
> I have made the following changes to the Windows.pm file
>
> I added the use feature 'state'; to be above the subroutine
> ad_delete_computer and then removed the CORE:: from the state $recrusion=0
> line in the same subroute.  Please look below.  These changes make the code
> compile correctly on a vm I setup with perl 5.10.1 on Centos 6.x 32bit.  I
> have also attached the Windows.pm file to this email, which can be used to
> replace the one located at /usr/local/vcl/lib/VCL/Module/OS
>
> use feature 'state';
> sub ad_delete_computer {
>         my $self = shift;
>         if (ref($self) !~ /windows/i) {
>                 notify($ERRORS{'CRITICAL'}, 0, "subroutine was called as a
> function, it must be called as a class method");
>                 return;
>         }
>
>         # static variable to track if function being call recursively
>         state $recursion = 0;
>
> Please let me know if these changes work for you and then I will push them
> out into the next release.
>
> Mike Jennings
>
>
> On Tue, Aug 6, 2019 at 11:41 AM Mike Jennings <gm...@ncsu.edu> wrote:
>
>> Antonio,
>>
>> Can you possibly role bak to version 5.10 on the box?
>>
>> Mike
>>
>> On Tue, Aug 6, 2019 at 11:20 AM António Aragão <aa...@di.uminho.pt>
>> wrote:
>>
>>> Mike,
>>>
>>> I upgrade perl with cpan packages necessary for vcl. If you want I try
>>> perl commands if it is all ok.
>>>
>>> Thanks.
>>>
>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia terça, 6/08/2019 à(s)
>>> 15:25:
>>>
>>>> Antonio,
>>>>
>>>> Did you also upgrade your cpan packages after doing the upgrade of the
>>>> perl module you are running?
>>>>
>>>> We currently have Centos 7.6 x64 running with the new VCL code and have
>>>> no issues at all.
>>>>
>>>> I am going to download a copy of your operating system and see what
>>>> issues I have getting this setup locally.
>>>>
>>>> Mike Jennings
>>>>
>>>> On Tue, Aug 6, 2019 at 9:22 AM António Aragão <aa...@di.uminho.pt>
>>>> wrote:
>>>>
>>>>> CentOS 6.10 32bits.
>>>>>
>>>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia terça, 6/08/2019
>>>>> à(s) 13:56:
>>>>>
>>>>>> Can you let me know what operating system you are currently using?
>>>>>>
>>>>>> Mike
>>>>>>
>>>>>> On Tue, Aug 6, 2019 at 5:04 AM António Aragão <aa...@di.uminho.pt>
>>>>>> wrote:
>>>>>>
>>>>>>> Hello,
>>>>>>>
>>>>>>> I upgrade perl version and now is 5.16.3, I'm unable to do any
>>>>>>> reservation and the vcld.log keeps logging:
>>>>>>>
>>>>>>>
>>>>>>> |15431|||vcld|vcld:warning_handler|646| ---- WARNING ----
>>>>>>> |15431|||vcld|vcld:warning_handler|646| 2019-08-06
>>>>>>> 10:00:14|15431|||vcld|vcld:warning_handler|646|Use of uninitialized value
>>>>>>> $reservation_id in concatenation (.) or string at /usr/local/vcl/bin/vcld
>>>>>>> line 541.
>>>>>>> |15431|||vcld|vcld:warning_handler|646| ( 0) vcld, warning_handler
>>>>>>> (line: 646)
>>>>>>> |15431|||vcld|vcld:warning_handler|646| (-1) vcld, make_new_child
>>>>>>> (line: 541)
>>>>>>> |15431|||vcld|vcld:warning_handler|646| (-2) vcld, main (line: 454)
>>>>>>>
>>>>>>> 2019-08-06 10:00:14|15431|||vcld|vcld:make_new_child|541|created
>>>>>>> child process 15595 for reservation , state: blockrequest, current number
>>>>>>> of forked kids: 1
>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:rename_vcld_process|6139|renamed
>>>>>>> process to 'vcld 37:249 'teste''
>>>>>>> 2019-08-06
>>>>>>> 10:00:14|15595|37||blockrequest|vcld:make_new_child|589|loaded
>>>>>>> VCL::blockrequest module
>>>>>>> 2019-08-06
>>>>>>> 10:00:14|15595|37||blockrequest|Module.pm:new|188|VCL::blockrequest object
>>>>>>> created for state available, address: a5a7e98
>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:initialize|84|obtained
>>>>>>> a database handle for this state process, stored as $ENV{dbh}
>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:rename_vcld_process|6139|renamed
>>>>>>> process to 'vcld 37:249 'teste''
>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:initialize|94|returning
>>>>>>> 1
>>>>>>> 2019-08-06
>>>>>>> 10:00:14|15595|37||blockrequest|vcld:make_new_child|598|VCL::blockrequest
>>>>>>> object created and initialized
>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:get_user_info|6696|UID
>>>>>>> value is not configured for admin@Local, setting UID=501, setting
>>>>>>> FEDERATED_LINUX_AUTHENTICATION=0
>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2191|database
>>>>>>> requested (information_schema) does not match handle stored in $ENV{dbh}
>>>>>>> (vcl:192.168.93.1)
>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2242|database
>>>>>>> handle stored in $ENV{dbh}
>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2191|database
>>>>>>> requested (vcl) does not match handle stored in $ENV{dbh}
>>>>>>> (information_schema:192.168.93.1)
>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2242|database
>>>>>>> handle stored in $ENV{dbh}
>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:get_image_active_directory_domain_info|14622|image
>>>>>>> 133 is not configured for Active Directory
>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|159|blockrequest
>>>>>>> id: 37
>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|160|blockrequest
>>>>>>> mode: expire
>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|161|blockrequest
>>>>>>> image id: 133
>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|162|blockrequest
>>>>>>> number machines: 10
>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|163|blockrequest
>>>>>>> expire: 2019-08-02 23:59:59
>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|164|blocktime
>>>>>>> id: 249
>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|165|blocktime
>>>>>>> processed: 1
>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|166|blocktime
>>>>>>> start: 2019-08-02 08:30:00
>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|167|owner
>>>>>>> email: aaragao@di.uminho.pt
>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|168|help
>>>>>>> address: divcl@di.uminho.pt
>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|326|Block
>>>>>>> Request 37 has expired
>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|327|Updated
>>>>>>> status of blockRequest id 37 to completed
>>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|337|Removed
>>>>>>> processing flag on blockrequest_id 37
>>>>>>> 2019-08-06
>>>>>>> 10:00:14|15595|37||blockrequest|State.pm:DESTROY|1093|VCL::blockrequest
>>>>>>> destructor called, address: a5a7e98
>>>>>>> 2019-08-06
>>>>>>> 10:00:14|15595|37||blockrequest|Module.pm:DESTROY|2391|destroying
>>>>>>> VCL::blockrequest object, address: a5a7e98
>>>>>>> 2019-08-06 10:00:15|15431|||vcld|vcld:REAPER|758|VCL process exited
>>>>>>> for reservation <unknown>, PID: 15595, signal: CHLD
>>>>>>>
>>>>>>> Any clue ? I even try to reload a new image but it doesn't work.
>>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>>
>>>>>>> António Aragão <aa...@di.uminho.pt> escreveu no dia sexta,
>>>>>>> 2/08/2019 à(s) 16:36:
>>>>>>>
>>>>>>>> Thanks Mike. I will upgrade perl version and will try.
>>>>>>>>
>>>>>>>> Thanks.
>>>>>>>>
>>>>>>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia sexta, 2/08/2019
>>>>>>>> à(s) 16:24:
>>>>>>>>
>>>>>>>>> I would suggest upgrading perl to be version 5.16.3 to see if that
>>>>>>>>> works.  I don't get the errors you are seeing with that version.
>>>>>>>>>
>>>>>>>>> Mike
>>>>>>>>>
>>>>>>>>> On Fri, Aug 2, 2019 at 10:02 AM António Aragão <
>>>>>>>>> aaragao@di.uminho.pt> wrote:
>>>>>>>>>
>>>>>>>>>> Mike,
>>>>>>>>>>
>>>>>>>>>> it is v5.10.1.
>>>>>>>>>>
>>>>>>>>>> Thanks.
>>>>>>>>>>
>>>>>>>>>> [root@vclnode1 ~]# perl -v
>>>>>>>>>>
>>>>>>>>>> This is perl, v5.10.1 (*) built for i386-linux-thread-multi
>>>>>>>>>>
>>>>>>>>>> Copyright 1987-2009, Larry Wall
>>>>>>>>>>
>>>>>>>>>> Perl may be copied only under the terms of either the Artistic
>>>>>>>>>> License or the
>>>>>>>>>> GNU General Public License, which may be found in the Perl 5
>>>>>>>>>> source kit.
>>>>>>>>>>
>>>>>>>>>> Complete documentation for Perl, including FAQ lists, should be
>>>>>>>>>> found on
>>>>>>>>>> this system using "man perl" or "perldoc perl".  If you have
>>>>>>>>>> access to the
>>>>>>>>>> Internet, point your browser at http://www.perl.org/, the Perl
>>>>>>>>>> Home Page.
>>>>>>>>>>
>>>>>>>>>> [root@vclnode1 ~]#
>>>>>>>>>>
>>>>>>>>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia sexta,
>>>>>>>>>> 2/08/2019 à(s) 14:49:
>>>>>>>>>>
>>>>>>>>>>> Antonio,
>>>>>>>>>>>
>>>>>>>>>>> What version of perl are you running on your system?
>>>>>>>>>>>
>>>>>>>>>>> Mike
>>>>>>>>>>>
>>>>>>>>>>> On Fri, Aug 2, 2019 at 6:28 AM António Aragão <
>>>>>>>>>>> aaragao@di.uminho.pt> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Good morning,
>>>>>>>>>>>>
>>>>>>>>>>>> a example of trying to make a reservation.
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>
>>>>>>>>>>>> António Aragão <aa...@di.uminho.pt> escreveu no dia sexta,
>>>>>>>>>>>> 2/08/2019 à(s) 10:58:
>>>>>>>>>>>>
>>>>>>>>>>>>> Good morning,
>>>>>>>>>>>>>
>>>>>>>>>>>>> after I upgraded from 2.5 to 2.5.1 I'm unable to use any
>>>>>>>>>>>>> reservation. Looking to the vcld.log a lots for perl errors. Any clue ? I
>>>>>>>>>>>>> attach the output file for:  /usr/local/vcl/bin/
>>>>>>>>>>>>> install_perl_libs.pl
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>>
>>>>>>>>>>>>> ---------- Forwarded message ---------
>>>>>>>>>>>>> De: <ro...@vclnode1.apachevcl.di.uminho.pt>
>>>>>>>>>>>>> Date: quinta, 1/08/2019 à(s) 08:35
>>>>>>>>>>>>> Subject: PROBLEM --
>>>>>>>>>>>>> vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596
>>>>>>>>>>>>> To: <aa...@di.uminho.pt>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> reservation failed on mv76, process failed to initialize:
>>>>>>>>>>>>> failed to create OS object
>>>>>>>>>>>>>
>>>>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>>>>> time: 2019-08-01 08:30:22
>>>>>>>>>>>>> caller: State.pm:reservation_failed(461)
>>>>>>>>>>>>> ( 0) State.pm, reservation_failed (line: 461)
>>>>>>>>>>>>> (-1) State.pm, initialize (line: 170)
>>>>>>>>>>>>> (-2) Module.pm, new (line: 228)
>>>>>>>>>>>>> (-3) vcld, (eval) (line: 594)
>>>>>>>>>>>>> (-4) vcld, make_new_child (line: 593)
>>>>>>>>>>>>> (-5) vcld, main (line: 353)
>>>>>>>>>>>>>
>>>>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>>>>> management node: vclnode1.apachevcl.di.uminho.pt
>>>>>>>>>>>>> reservation PID: 5308
>>>>>>>>>>>>> parent vcld PID: 21274
>>>>>>>>>>>>>
>>>>>>>>>>>>> request ID: 870
>>>>>>>>>>>>> reservation ID: 870
>>>>>>>>>>>>> request state/laststate: new/new
>>>>>>>>>>>>> request start time: 2019-08-01 08:30:00
>>>>>>>>>>>>> request end time: 2019-08-01 12:30:00
>>>>>>>>>>>>> for imaging: no
>>>>>>>>>>>>> log ID: 729
>>>>>>>>>>>>>
>>>>>>>>>>>>> computer: mv76.apachevcl.di.uminho.pt
>>>>>>>>>>>>> computer id: 135
>>>>>>>>>>>>> computer type: virtualmachine
>>>>>>>>>>>>> computer eth0 MAC address: 00:50:56:00:03:1e
>>>>>>>>>>>>> computer eth1 MAC address: 00:50:56:00:03:1f
>>>>>>>>>>>>> computer private IP address: 10.100.0.76
>>>>>>>>>>>>> computer public IP address: 192.168.93.76
>>>>>>>>>>>>> computer in block allocation: no
>>>>>>>>>>>>> provisioning module: VCL::Module::Provisioning::VMware::VMware
>>>>>>>>>>>>>
>>>>>>>>>>>>> vm host: servidor13.di.uminho.pt
>>>>>>>>>>>>> vm host ID: 4
>>>>>>>>>>>>> vm host computer ID: 160
>>>>>>>>>>>>> vm profile: s13vmhostprofile
>>>>>>>>>>>>> vm profile VM path: /vmfs/volumes/IFT-block1/
>>>>>>>>>>>>> vm profile repository path: /vmfs/volumes/vcl_images/
>>>>>>>>>>>>> vm profile datastore path: /vmfs/volumes/IFT-block1/
>>>>>>>>>>>>> vm profile disk type: shared
>>>>>>>>>>>>>
>>>>>>>>>>>>> image: vmwarewin7-WIN7_20190617133-v0
>>>>>>>>>>>>> image display name: WIN7_20190617
>>>>>>>>>>>>> image ID: 133
>>>>>>>>>>>>> image revision ID: 133
>>>>>>>>>>>>> image size: 48022 MB
>>>>>>>>>>>>> use Sysprep: yes
>>>>>>>>>>>>> root access: yes
>>>>>>>>>>>>> image owner ID: 1
>>>>>>>>>>>>> image owner affiliation: Local
>>>>>>>>>>>>> image revision date created: 2019-06-17 16:17:33
>>>>>>>>>>>>> image revision production: yes
>>>>>>>>>>>>> OS module: VCL::Module::OS::Windows::Version_6::7
>>>>>>>>>>>>>
>>>>>>>>>>>>> user: a12596
>>>>>>>>>>>>> user name:
>>>>>>>>>>>>> user ID: 10
>>>>>>>>>>>>> user affiliation: DIALUNOSLDAP
>>>>>>>>>>>>>
>>>>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>>>>> RECENT LOG ENTRIES FOR THIS PROCESS:
>>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>>> 08:30:22|5308|870|870|new|vcld:make_new_child|571|vcld environment variable
>>>>>>>>>>>>> set to 0 for this process
>>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this
>>>>>>>>>>>>> is the parent reservation
>>>>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6112|reservation
>>>>>>>>>>>>> count: 1
>>>>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6139|renamed
>>>>>>>>>>>>> process to 'vcld '|5308|870|870|new|' mv76>servidor13
>>>>>>>>>>>>> vmwarewin7-WIN7_20190617133-v0 a12596'
>>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>>> 08:30:22|5308|870|870|new|vcld:make_new_child|589|loaded VCL::new module
>>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>>> 08:30:22|5308|870|870|new|Module.pm:new|188|VCL::new object created for
>>>>>>>>>>>>> state new, address: b10a268
>>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>>> 08:30:22|5308|870|870|new|State.pm:initialize|86|initializing
>>>>>>>>>>>>> VCL::Module::State object
>>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this
>>>>>>>>>>>>> is the parent reservation
>>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>>> 08:30:22|5308|870|870|new|State.pm:initialize|103|obtained a database
>>>>>>>>>>>>> handle for this state process, stored as $ENV{dbh}
>>>>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_reservation_lastcheck|5499|updated
>>>>>>>>>>>>> reservation.lastcheck to '2019-08-01 08:30:22' for reservation IDs: 870
>>>>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_request_state|1439|request
>>>>>>>>>>>>> 870 state updated to pending/new
>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| ---- WARNING
>>>>>>>>>>>>> ----
>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| 2019-08-01
>>>>>>>>>>>>> 08:30:22|5308|870|870|new|Module.pm:create_os_object|446|VCL::Module::OS::Windows::Version_6::7
>>>>>>>>>>>>> module could not be loaded, error:
>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| CORE::state
>>>>>>>>>>>>> is not a keyword at
>>>>>>>>>>>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows.pm line 14683.
>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation
>>>>>>>>>>>>> failed in require at (eval 382) line 3.
>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|
>>>>>>>>>>>>> ...propagated at /usr/share/perl5/base.pm line 94.
>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>>>>>>>>>> failed--compilation aborted at
>>>>>>>>>>>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6.pm line 45.
>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation
>>>>>>>>>>>>> failed in require at (eval 381) line 3.
>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|
>>>>>>>>>>>>> ...propagated at /usr/share/perl5/base.pm line 94.
>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>>>>>>>>>> failed--compilation aborted at
>>>>>>>>>>>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6/
>>>>>>>>>>>>> 7.pm line 43.
>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation
>>>>>>>>>>>>> failed in require at (eval 380) line 2.
>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>>>>>>>>>> failed--compilation aborted at (eval 380) line 2.
>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| ( 0)
>>>>>>>>>>>>> Module.pm, create_os_object (line: 446)
>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-1)
>>>>>>>>>>>>> State.pm, initialize (line: 166)
>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-2)
>>>>>>>>>>>>> Module.pm, new (line: 228)
>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-3) vcld,
>>>>>>>>>>>>> (eval) (line: 594)
>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-4) vcld,
>>>>>>>>>>>>> make_new_child (line: 593)
>>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-5) vcld,
>>>>>>>>>>>>> main (line: 353)
>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>>> ---- WARNING ----
>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|2
>>>>>>>>>>>>> rows were returned from database select
>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>>> ( 0) DataStructure.pm, get_computer_state_name (line: 2083)
>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>>> (-1) State.pm, reservation_failed (line: 404)
>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>>> (-2) State.pm, initialize (line: 170)
>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>>> (-3) Module.pm, new (line: 228)
>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>>> (-4) vcld, (eval) (line: 594)
>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>>> (-5) vcld, make_new_child (line: 593)
>>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>>> (-6) vcld, main (line: 353)
>>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_private_ip_address|1596|returning
>>>>>>>>>>>>> private IP address of mv76.apachevcl.di.uminho.pt (135)
>>>>>>>>>>>>> already stored in this DataStructure object: 10.100.0.76
>>>>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:is_inblockrequest|4926|zero
>>>>>>>>>>>>> rows were returned from database select
>>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_image_affiliation_name|1704|image
>>>>>>>>>>>>> owner id: 1
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> António Aragão
>>>>>>>>>>>>> (Especialista de Informática)
>>>>>>>>>>>>> Universidade do Minho
>>>>>>>>>>>>> Departamento de Informática
>>>>>>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>>>>>>>>> Campus de Gualtar
>>>>>>>>>>>>> Braga
>>>>>>>>>>>>> Telefone: +351 253 6044 86
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> António Aragão
>>>>>>>>>>>> (Especialista de Informática)
>>>>>>>>>>>> Universidade do Minho
>>>>>>>>>>>> Departamento de Informática
>>>>>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>>>>>>>> Campus de Gualtar
>>>>>>>>>>>> Braga
>>>>>>>>>>>> Telefone: +351 253 6044 86
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> António Aragão
>>>>>>>>>> (Especialista de Informática)
>>>>>>>>>> Universidade do Minho
>>>>>>>>>> Departamento de Informática
>>>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>>>>>> Campus de Gualtar
>>>>>>>>>> Braga
>>>>>>>>>> Telefone: +351 253 6044 86
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> António Aragão
>>>>>>>> (Especialista de Informática)
>>>>>>>> Universidade do Minho
>>>>>>>> Departamento de Informática
>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>>>> Campus de Gualtar
>>>>>>>> Braga
>>>>>>>> Telefone: +351 253 6044 86
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> António Aragão
>>>>>>> (Especialista de Informática)
>>>>>>> Universidade do Minho
>>>>>>> Departamento de Informática
>>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>>> Campus de Gualtar
>>>>>>> Braga
>>>>>>> Telefone: +351 253 6044 86
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>
>>>>> --
>>>>> António Aragão
>>>>> (Especialista de Informática)
>>>>> Universidade do Minho
>>>>> Departamento de Informática
>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>> Campus de Gualtar
>>>>> Braga
>>>>> Telefone: +351 253 6044 86
>>>>>
>>>>>
>>>>>
>>>
>>> --
>>> António Aragão
>>> (Especialista de Informática)
>>> Universidade do Minho
>>> Departamento de Informática
>>> Edificio 7 - 1.07 (DI-1.03)
>>> Campus de Gualtar
>>> Braga
>>> Telefone: +351 253 6044 86
>>>
>>>
>>>

-- 
António Aragão
(Especialista de Informática)
Universidade do Minho
Departamento de Informática
Edificio 7 - 1.07 (DI-1.03)
Campus de Gualtar
Braga
Telefone: +351 253 6044 86

Re: PROBLEM -- vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596

Posted by Mike Jennings <gm...@ncsu.edu>.
Antonio,

I would suggest rolling your code back to the previous version of perl that
you were running.  It appears that after you upgraded there is a issue with
resolving session variables.

I have made the following changes to the Windows.pm file

I added the use feature 'state'; to be above the subroutine
ad_delete_computer and then removed the CORE:: from the state $recrusion=0
line in the same subroute.  Please look below.  These changes make the code
compile correctly on a vm I setup with perl 5.10.1 on Centos 6.x 32bit.  I
have also attached the Windows.pm file to this email, which can be used to
replace the one located at /usr/local/vcl/lib/VCL/Module/OS

use feature 'state';
sub ad_delete_computer {
        my $self = shift;
        if (ref($self) !~ /windows/i) {
                notify($ERRORS{'CRITICAL'}, 0, "subroutine was called as a
function, it must be called as a class method");
                return;
        }

        # static variable to track if function being call recursively
        state $recursion = 0;

Please let me know if these changes work for you and then I will push them
out into the next release.

Mike Jennings


On Tue, Aug 6, 2019 at 11:41 AM Mike Jennings <gm...@ncsu.edu> wrote:

> Antonio,
>
> Can you possibly role bak to version 5.10 on the box?
>
> Mike
>
> On Tue, Aug 6, 2019 at 11:20 AM António Aragão <aa...@di.uminho.pt>
> wrote:
>
>> Mike,
>>
>> I upgrade perl with cpan packages necessary for vcl. If you want I try
>> perl commands if it is all ok.
>>
>> Thanks.
>>
>> Mike Jennings <gm...@ncsu.edu> escreveu no dia terça, 6/08/2019 à(s)
>> 15:25:
>>
>>> Antonio,
>>>
>>> Did you also upgrade your cpan packages after doing the upgrade of the
>>> perl module you are running?
>>>
>>> We currently have Centos 7.6 x64 running with the new VCL code and have
>>> no issues at all.
>>>
>>> I am going to download a copy of your operating system and see what
>>> issues I have getting this setup locally.
>>>
>>> Mike Jennings
>>>
>>> On Tue, Aug 6, 2019 at 9:22 AM António Aragão <aa...@di.uminho.pt>
>>> wrote:
>>>
>>>> CentOS 6.10 32bits.
>>>>
>>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia terça, 6/08/2019
>>>> à(s) 13:56:
>>>>
>>>>> Can you let me know what operating system you are currently using?
>>>>>
>>>>> Mike
>>>>>
>>>>> On Tue, Aug 6, 2019 at 5:04 AM António Aragão <aa...@di.uminho.pt>
>>>>> wrote:
>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> I upgrade perl version and now is 5.16.3, I'm unable to do any
>>>>>> reservation and the vcld.log keeps logging:
>>>>>>
>>>>>>
>>>>>> |15431|||vcld|vcld:warning_handler|646| ---- WARNING ----
>>>>>> |15431|||vcld|vcld:warning_handler|646| 2019-08-06
>>>>>> 10:00:14|15431|||vcld|vcld:warning_handler|646|Use of uninitialized value
>>>>>> $reservation_id in concatenation (.) or string at /usr/local/vcl/bin/vcld
>>>>>> line 541.
>>>>>> |15431|||vcld|vcld:warning_handler|646| ( 0) vcld, warning_handler
>>>>>> (line: 646)
>>>>>> |15431|||vcld|vcld:warning_handler|646| (-1) vcld, make_new_child
>>>>>> (line: 541)
>>>>>> |15431|||vcld|vcld:warning_handler|646| (-2) vcld, main (line: 454)
>>>>>>
>>>>>> 2019-08-06 10:00:14|15431|||vcld|vcld:make_new_child|541|created
>>>>>> child process 15595 for reservation , state: blockrequest, current number
>>>>>> of forked kids: 1
>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:rename_vcld_process|6139|renamed
>>>>>> process to 'vcld 37:249 'teste''
>>>>>> 2019-08-06
>>>>>> 10:00:14|15595|37||blockrequest|vcld:make_new_child|589|loaded
>>>>>> VCL::blockrequest module
>>>>>> 2019-08-06
>>>>>> 10:00:14|15595|37||blockrequest|Module.pm:new|188|VCL::blockrequest object
>>>>>> created for state available, address: a5a7e98
>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:initialize|84|obtained
>>>>>> a database handle for this state process, stored as $ENV{dbh}
>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:rename_vcld_process|6139|renamed
>>>>>> process to 'vcld 37:249 'teste''
>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:initialize|94|returning
>>>>>> 1
>>>>>> 2019-08-06
>>>>>> 10:00:14|15595|37||blockrequest|vcld:make_new_child|598|VCL::blockrequest
>>>>>> object created and initialized
>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:get_user_info|6696|UID
>>>>>> value is not configured for admin@Local, setting UID=501, setting
>>>>>> FEDERATED_LINUX_AUTHENTICATION=0
>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2191|database
>>>>>> requested (information_schema) does not match handle stored in $ENV{dbh}
>>>>>> (vcl:192.168.93.1)
>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2242|database
>>>>>> handle stored in $ENV{dbh}
>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2191|database
>>>>>> requested (vcl) does not match handle stored in $ENV{dbh}
>>>>>> (information_schema:192.168.93.1)
>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2242|database
>>>>>> handle stored in $ENV{dbh}
>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:get_image_active_directory_domain_info|14622|image
>>>>>> 133 is not configured for Active Directory
>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|159|blockrequest
>>>>>> id: 37
>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|160|blockrequest
>>>>>> mode: expire
>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|161|blockrequest
>>>>>> image id: 133
>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|162|blockrequest
>>>>>> number machines: 10
>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|163|blockrequest
>>>>>> expire: 2019-08-02 23:59:59
>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|164|blocktime
>>>>>> id: 249
>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|165|blocktime
>>>>>> processed: 1
>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|166|blocktime
>>>>>> start: 2019-08-02 08:30:00
>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|167|owner
>>>>>> email: aaragao@di.uminho.pt
>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|168|help
>>>>>> address: divcl@di.uminho.pt
>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|326|Block
>>>>>> Request 37 has expired
>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|327|Updated
>>>>>> status of blockRequest id 37 to completed
>>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|337|Removed
>>>>>> processing flag on blockrequest_id 37
>>>>>> 2019-08-06
>>>>>> 10:00:14|15595|37||blockrequest|State.pm:DESTROY|1093|VCL::blockrequest
>>>>>> destructor called, address: a5a7e98
>>>>>> 2019-08-06
>>>>>> 10:00:14|15595|37||blockrequest|Module.pm:DESTROY|2391|destroying
>>>>>> VCL::blockrequest object, address: a5a7e98
>>>>>> 2019-08-06 10:00:15|15431|||vcld|vcld:REAPER|758|VCL process exited
>>>>>> for reservation <unknown>, PID: 15595, signal: CHLD
>>>>>>
>>>>>> Any clue ? I even try to reload a new image but it doesn't work.
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>>
>>>>>> António Aragão <aa...@di.uminho.pt> escreveu no dia sexta,
>>>>>> 2/08/2019 à(s) 16:36:
>>>>>>
>>>>>>> Thanks Mike. I will upgrade perl version and will try.
>>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia sexta, 2/08/2019
>>>>>>> à(s) 16:24:
>>>>>>>
>>>>>>>> I would suggest upgrading perl to be version 5.16.3 to see if that
>>>>>>>> works.  I don't get the errors you are seeing with that version.
>>>>>>>>
>>>>>>>> Mike
>>>>>>>>
>>>>>>>> On Fri, Aug 2, 2019 at 10:02 AM António Aragão <
>>>>>>>> aaragao@di.uminho.pt> wrote:
>>>>>>>>
>>>>>>>>> Mike,
>>>>>>>>>
>>>>>>>>> it is v5.10.1.
>>>>>>>>>
>>>>>>>>> Thanks.
>>>>>>>>>
>>>>>>>>> [root@vclnode1 ~]# perl -v
>>>>>>>>>
>>>>>>>>> This is perl, v5.10.1 (*) built for i386-linux-thread-multi
>>>>>>>>>
>>>>>>>>> Copyright 1987-2009, Larry Wall
>>>>>>>>>
>>>>>>>>> Perl may be copied only under the terms of either the Artistic
>>>>>>>>> License or the
>>>>>>>>> GNU General Public License, which may be found in the Perl 5
>>>>>>>>> source kit.
>>>>>>>>>
>>>>>>>>> Complete documentation for Perl, including FAQ lists, should be
>>>>>>>>> found on
>>>>>>>>> this system using "man perl" or "perldoc perl".  If you have
>>>>>>>>> access to the
>>>>>>>>> Internet, point your browser at http://www.perl.org/, the Perl
>>>>>>>>> Home Page.
>>>>>>>>>
>>>>>>>>> [root@vclnode1 ~]#
>>>>>>>>>
>>>>>>>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia sexta,
>>>>>>>>> 2/08/2019 à(s) 14:49:
>>>>>>>>>
>>>>>>>>>> Antonio,
>>>>>>>>>>
>>>>>>>>>> What version of perl are you running on your system?
>>>>>>>>>>
>>>>>>>>>> Mike
>>>>>>>>>>
>>>>>>>>>> On Fri, Aug 2, 2019 at 6:28 AM António Aragão <
>>>>>>>>>> aaragao@di.uminho.pt> wrote:
>>>>>>>>>>
>>>>>>>>>>> Good morning,
>>>>>>>>>>>
>>>>>>>>>>> a example of trying to make a reservation.
>>>>>>>>>>>
>>>>>>>>>>> Thanks.
>>>>>>>>>>>
>>>>>>>>>>> António Aragão <aa...@di.uminho.pt> escreveu no dia sexta,
>>>>>>>>>>> 2/08/2019 à(s) 10:58:
>>>>>>>>>>>
>>>>>>>>>>>> Good morning,
>>>>>>>>>>>>
>>>>>>>>>>>> after I upgraded from 2.5 to 2.5.1 I'm unable to use any
>>>>>>>>>>>> reservation. Looking to the vcld.log a lots for perl errors. Any clue ? I
>>>>>>>>>>>> attach the output file for:  /usr/local/vcl/bin/
>>>>>>>>>>>> install_perl_libs.pl
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>
>>>>>>>>>>>> ---------- Forwarded message ---------
>>>>>>>>>>>> De: <ro...@vclnode1.apachevcl.di.uminho.pt>
>>>>>>>>>>>> Date: quinta, 1/08/2019 à(s) 08:35
>>>>>>>>>>>> Subject: PROBLEM --
>>>>>>>>>>>> vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596
>>>>>>>>>>>> To: <aa...@di.uminho.pt>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> reservation failed on mv76, process failed to initialize:
>>>>>>>>>>>> failed to create OS object
>>>>>>>>>>>>
>>>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>>>> time: 2019-08-01 08:30:22
>>>>>>>>>>>> caller: State.pm:reservation_failed(461)
>>>>>>>>>>>> ( 0) State.pm, reservation_failed (line: 461)
>>>>>>>>>>>> (-1) State.pm, initialize (line: 170)
>>>>>>>>>>>> (-2) Module.pm, new (line: 228)
>>>>>>>>>>>> (-3) vcld, (eval) (line: 594)
>>>>>>>>>>>> (-4) vcld, make_new_child (line: 593)
>>>>>>>>>>>> (-5) vcld, main (line: 353)
>>>>>>>>>>>>
>>>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>>>> management node: vclnode1.apachevcl.di.uminho.pt
>>>>>>>>>>>> reservation PID: 5308
>>>>>>>>>>>> parent vcld PID: 21274
>>>>>>>>>>>>
>>>>>>>>>>>> request ID: 870
>>>>>>>>>>>> reservation ID: 870
>>>>>>>>>>>> request state/laststate: new/new
>>>>>>>>>>>> request start time: 2019-08-01 08:30:00
>>>>>>>>>>>> request end time: 2019-08-01 12:30:00
>>>>>>>>>>>> for imaging: no
>>>>>>>>>>>> log ID: 729
>>>>>>>>>>>>
>>>>>>>>>>>> computer: mv76.apachevcl.di.uminho.pt
>>>>>>>>>>>> computer id: 135
>>>>>>>>>>>> computer type: virtualmachine
>>>>>>>>>>>> computer eth0 MAC address: 00:50:56:00:03:1e
>>>>>>>>>>>> computer eth1 MAC address: 00:50:56:00:03:1f
>>>>>>>>>>>> computer private IP address: 10.100.0.76
>>>>>>>>>>>> computer public IP address: 192.168.93.76
>>>>>>>>>>>> computer in block allocation: no
>>>>>>>>>>>> provisioning module: VCL::Module::Provisioning::VMware::VMware
>>>>>>>>>>>>
>>>>>>>>>>>> vm host: servidor13.di.uminho.pt
>>>>>>>>>>>> vm host ID: 4
>>>>>>>>>>>> vm host computer ID: 160
>>>>>>>>>>>> vm profile: s13vmhostprofile
>>>>>>>>>>>> vm profile VM path: /vmfs/volumes/IFT-block1/
>>>>>>>>>>>> vm profile repository path: /vmfs/volumes/vcl_images/
>>>>>>>>>>>> vm profile datastore path: /vmfs/volumes/IFT-block1/
>>>>>>>>>>>> vm profile disk type: shared
>>>>>>>>>>>>
>>>>>>>>>>>> image: vmwarewin7-WIN7_20190617133-v0
>>>>>>>>>>>> image display name: WIN7_20190617
>>>>>>>>>>>> image ID: 133
>>>>>>>>>>>> image revision ID: 133
>>>>>>>>>>>> image size: 48022 MB
>>>>>>>>>>>> use Sysprep: yes
>>>>>>>>>>>> root access: yes
>>>>>>>>>>>> image owner ID: 1
>>>>>>>>>>>> image owner affiliation: Local
>>>>>>>>>>>> image revision date created: 2019-06-17 16:17:33
>>>>>>>>>>>> image revision production: yes
>>>>>>>>>>>> OS module: VCL::Module::OS::Windows::Version_6::7
>>>>>>>>>>>>
>>>>>>>>>>>> user: a12596
>>>>>>>>>>>> user name:
>>>>>>>>>>>> user ID: 10
>>>>>>>>>>>> user affiliation: DIALUNOSLDAP
>>>>>>>>>>>>
>>>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>>>> RECENT LOG ENTRIES FOR THIS PROCESS:
>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>> 08:30:22|5308|870|870|new|vcld:make_new_child|571|vcld environment variable
>>>>>>>>>>>> set to 0 for this process
>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this
>>>>>>>>>>>> is the parent reservation
>>>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6112|reservation
>>>>>>>>>>>> count: 1
>>>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6139|renamed
>>>>>>>>>>>> process to 'vcld '|5308|870|870|new|' mv76>servidor13
>>>>>>>>>>>> vmwarewin7-WIN7_20190617133-v0 a12596'
>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>> 08:30:22|5308|870|870|new|vcld:make_new_child|589|loaded VCL::new module
>>>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|Module.pm:new|188|VCL::new
>>>>>>>>>>>> object created for state new, address: b10a268
>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>> 08:30:22|5308|870|870|new|State.pm:initialize|86|initializing
>>>>>>>>>>>> VCL::Module::State object
>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this
>>>>>>>>>>>> is the parent reservation
>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>> 08:30:22|5308|870|870|new|State.pm:initialize|103|obtained a database
>>>>>>>>>>>> handle for this state process, stored as $ENV{dbh}
>>>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_reservation_lastcheck|5499|updated
>>>>>>>>>>>> reservation.lastcheck to '2019-08-01 08:30:22' for reservation IDs: 870
>>>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_request_state|1439|request
>>>>>>>>>>>> 870 state updated to pending/new
>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| ---- WARNING
>>>>>>>>>>>> ----
>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| 2019-08-01
>>>>>>>>>>>> 08:30:22|5308|870|870|new|Module.pm:create_os_object|446|VCL::Module::OS::Windows::Version_6::7
>>>>>>>>>>>> module could not be loaded, error:
>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| CORE::state
>>>>>>>>>>>> is not a keyword at
>>>>>>>>>>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows.pm line 14683.
>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation
>>>>>>>>>>>> failed in require at (eval 382) line 3.
>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|
>>>>>>>>>>>> ...propagated at /usr/share/perl5/base.pm line 94.
>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>>>>>>>>> failed--compilation aborted at
>>>>>>>>>>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6.pm line 45.
>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation
>>>>>>>>>>>> failed in require at (eval 381) line 3.
>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|
>>>>>>>>>>>> ...propagated at /usr/share/perl5/base.pm line 94.
>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>>>>>>>>> failed--compilation aborted at
>>>>>>>>>>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6/
>>>>>>>>>>>> 7.pm line 43.
>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation
>>>>>>>>>>>> failed in require at (eval 380) line 2.
>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>>>>>>>>> failed--compilation aborted at (eval 380) line 2.
>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| ( 0)
>>>>>>>>>>>> Module.pm, create_os_object (line: 446)
>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-1)
>>>>>>>>>>>> State.pm, initialize (line: 166)
>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-2)
>>>>>>>>>>>> Module.pm, new (line: 228)
>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-3) vcld,
>>>>>>>>>>>> (eval) (line: 594)
>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-4) vcld,
>>>>>>>>>>>> make_new_child (line: 593)
>>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-5) vcld,
>>>>>>>>>>>> main (line: 353)
>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>> ---- WARNING ----
>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|2
>>>>>>>>>>>> rows were returned from database select
>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>> ( 0) DataStructure.pm, get_computer_state_name (line: 2083)
>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>> (-1) State.pm, reservation_failed (line: 404)
>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>> (-2) State.pm, initialize (line: 170)
>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>> (-3) Module.pm, new (line: 228)
>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>> (-4) vcld, (eval) (line: 594)
>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>> (-5) vcld, make_new_child (line: 593)
>>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>>> (-6) vcld, main (line: 353)
>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_private_ip_address|1596|returning
>>>>>>>>>>>> private IP address of mv76.apachevcl.di.uminho.pt (135)
>>>>>>>>>>>> already stored in this DataStructure object: 10.100.0.76
>>>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:is_inblockrequest|4926|zero
>>>>>>>>>>>> rows were returned from database select
>>>>>>>>>>>> 2019-08-01
>>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_image_affiliation_name|1704|image
>>>>>>>>>>>> owner id: 1
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> António Aragão
>>>>>>>>>>>> (Especialista de Informática)
>>>>>>>>>>>> Universidade do Minho
>>>>>>>>>>>> Departamento de Informática
>>>>>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>>>>>>>> Campus de Gualtar
>>>>>>>>>>>> Braga
>>>>>>>>>>>> Telefone: +351 253 6044 86
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> António Aragão
>>>>>>>>>>> (Especialista de Informática)
>>>>>>>>>>> Universidade do Minho
>>>>>>>>>>> Departamento de Informática
>>>>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>>>>>>> Campus de Gualtar
>>>>>>>>>>> Braga
>>>>>>>>>>> Telefone: +351 253 6044 86
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> António Aragão
>>>>>>>>> (Especialista de Informática)
>>>>>>>>> Universidade do Minho
>>>>>>>>> Departamento de Informática
>>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>>>>> Campus de Gualtar
>>>>>>>>> Braga
>>>>>>>>> Telefone: +351 253 6044 86
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> António Aragão
>>>>>>> (Especialista de Informática)
>>>>>>> Universidade do Minho
>>>>>>> Departamento de Informática
>>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>>> Campus de Gualtar
>>>>>>> Braga
>>>>>>> Telefone: +351 253 6044 86
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> António Aragão
>>>>>> (Especialista de Informática)
>>>>>> Universidade do Minho
>>>>>> Departamento de Informática
>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>> Campus de Gualtar
>>>>>> Braga
>>>>>> Telefone: +351 253 6044 86
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>> --
>>>> António Aragão
>>>> (Especialista de Informática)
>>>> Universidade do Minho
>>>> Departamento de Informática
>>>> Edificio 7 - 1.07 (DI-1.03)
>>>> Campus de Gualtar
>>>> Braga
>>>> Telefone: +351 253 6044 86
>>>>
>>>>
>>>>
>>
>> --
>> António Aragão
>> (Especialista de Informática)
>> Universidade do Minho
>> Departamento de Informática
>> Edificio 7 - 1.07 (DI-1.03)
>> Campus de Gualtar
>> Braga
>> Telefone: +351 253 6044 86
>>
>>
>>

Re: PROBLEM -- vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596

Posted by Mike Jennings <gm...@ncsu.edu>.
Antonio,

Can you possibly role bak to version 5.10 on the box?

Mike

On Tue, Aug 6, 2019 at 11:20 AM António Aragão <aa...@di.uminho.pt> wrote:

> Mike,
>
> I upgrade perl with cpan packages necessary for vcl. If you want I try
> perl commands if it is all ok.
>
> Thanks.
>
> Mike Jennings <gm...@ncsu.edu> escreveu no dia terça, 6/08/2019 à(s)
> 15:25:
>
>> Antonio,
>>
>> Did you also upgrade your cpan packages after doing the upgrade of the
>> perl module you are running?
>>
>> We currently have Centos 7.6 x64 running with the new VCL code and have
>> no issues at all.
>>
>> I am going to download a copy of your operating system and see what
>> issues I have getting this setup locally.
>>
>> Mike Jennings
>>
>> On Tue, Aug 6, 2019 at 9:22 AM António Aragão <aa...@di.uminho.pt>
>> wrote:
>>
>>> CentOS 6.10 32bits.
>>>
>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia terça, 6/08/2019 à(s)
>>> 13:56:
>>>
>>>> Can you let me know what operating system you are currently using?
>>>>
>>>> Mike
>>>>
>>>> On Tue, Aug 6, 2019 at 5:04 AM António Aragão <aa...@di.uminho.pt>
>>>> wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I upgrade perl version and now is 5.16.3, I'm unable to do any
>>>>> reservation and the vcld.log keeps logging:
>>>>>
>>>>>
>>>>> |15431|||vcld|vcld:warning_handler|646| ---- WARNING ----
>>>>> |15431|||vcld|vcld:warning_handler|646| 2019-08-06
>>>>> 10:00:14|15431|||vcld|vcld:warning_handler|646|Use of uninitialized value
>>>>> $reservation_id in concatenation (.) or string at /usr/local/vcl/bin/vcld
>>>>> line 541.
>>>>> |15431|||vcld|vcld:warning_handler|646| ( 0) vcld, warning_handler
>>>>> (line: 646)
>>>>> |15431|||vcld|vcld:warning_handler|646| (-1) vcld, make_new_child
>>>>> (line: 541)
>>>>> |15431|||vcld|vcld:warning_handler|646| (-2) vcld, main (line: 454)
>>>>>
>>>>> 2019-08-06 10:00:14|15431|||vcld|vcld:make_new_child|541|created child
>>>>> process 15595 for reservation , state: blockrequest, current number of
>>>>> forked kids: 1
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:rename_vcld_process|6139|renamed
>>>>> process to 'vcld 37:249 'teste''
>>>>> 2019-08-06
>>>>> 10:00:14|15595|37||blockrequest|vcld:make_new_child|589|loaded
>>>>> VCL::blockrequest module
>>>>> 2019-08-06
>>>>> 10:00:14|15595|37||blockrequest|Module.pm:new|188|VCL::blockrequest object
>>>>> created for state available, address: a5a7e98
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:initialize|84|obtained
>>>>> a database handle for this state process, stored as $ENV{dbh}
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:rename_vcld_process|6139|renamed
>>>>> process to 'vcld 37:249 'teste''
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:initialize|94|returning
>>>>> 1
>>>>> 2019-08-06
>>>>> 10:00:14|15595|37||blockrequest|vcld:make_new_child|598|VCL::blockrequest
>>>>> object created and initialized
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:get_user_info|6696|UID
>>>>> value is not configured for admin@Local, setting UID=501, setting
>>>>> FEDERATED_LINUX_AUTHENTICATION=0
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2191|database
>>>>> requested (information_schema) does not match handle stored in $ENV{dbh}
>>>>> (vcl:192.168.93.1)
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2242|database
>>>>> handle stored in $ENV{dbh}
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2191|database
>>>>> requested (vcl) does not match handle stored in $ENV{dbh}
>>>>> (information_schema:192.168.93.1)
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2242|database
>>>>> handle stored in $ENV{dbh}
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:get_image_active_directory_domain_info|14622|image
>>>>> 133 is not configured for Active Directory
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|159|blockrequest
>>>>> id: 37
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|160|blockrequest
>>>>> mode: expire
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|161|blockrequest
>>>>> image id: 133
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|162|blockrequest
>>>>> number machines: 10
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|163|blockrequest
>>>>> expire: 2019-08-02 23:59:59
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|164|blocktime
>>>>> id: 249
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|165|blocktime
>>>>> processed: 1
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|166|blocktime
>>>>> start: 2019-08-02 08:30:00
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|167|owner
>>>>> email: aaragao@di.uminho.pt
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|168|help
>>>>> address: divcl@di.uminho.pt
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|326|Block
>>>>> Request 37 has expired
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|327|Updated
>>>>> status of blockRequest id 37 to completed
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|337|Removed
>>>>> processing flag on blockrequest_id 37
>>>>> 2019-08-06
>>>>> 10:00:14|15595|37||blockrequest|State.pm:DESTROY|1093|VCL::blockrequest
>>>>> destructor called, address: a5a7e98
>>>>> 2019-08-06
>>>>> 10:00:14|15595|37||blockrequest|Module.pm:DESTROY|2391|destroying
>>>>> VCL::blockrequest object, address: a5a7e98
>>>>> 2019-08-06 10:00:15|15431|||vcld|vcld:REAPER|758|VCL process exited
>>>>> for reservation <unknown>, PID: 15595, signal: CHLD
>>>>>
>>>>> Any clue ? I even try to reload a new image but it doesn't work.
>>>>>
>>>>> Thanks.
>>>>>
>>>>>
>>>>> António Aragão <aa...@di.uminho.pt> escreveu no dia sexta,
>>>>> 2/08/2019 à(s) 16:36:
>>>>>
>>>>>> Thanks Mike. I will upgrade perl version and will try.
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia sexta, 2/08/2019
>>>>>> à(s) 16:24:
>>>>>>
>>>>>>> I would suggest upgrading perl to be version 5.16.3 to see if that
>>>>>>> works.  I don't get the errors you are seeing with that version.
>>>>>>>
>>>>>>> Mike
>>>>>>>
>>>>>>> On Fri, Aug 2, 2019 at 10:02 AM António Aragão <aa...@di.uminho.pt>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Mike,
>>>>>>>>
>>>>>>>> it is v5.10.1.
>>>>>>>>
>>>>>>>> Thanks.
>>>>>>>>
>>>>>>>> [root@vclnode1 ~]# perl -v
>>>>>>>>
>>>>>>>> This is perl, v5.10.1 (*) built for i386-linux-thread-multi
>>>>>>>>
>>>>>>>> Copyright 1987-2009, Larry Wall
>>>>>>>>
>>>>>>>> Perl may be copied only under the terms of either the Artistic
>>>>>>>> License or the
>>>>>>>> GNU General Public License, which may be found in the Perl 5 source
>>>>>>>> kit.
>>>>>>>>
>>>>>>>> Complete documentation for Perl, including FAQ lists, should be
>>>>>>>> found on
>>>>>>>> this system using "man perl" or "perldoc perl".  If you have access
>>>>>>>> to the
>>>>>>>> Internet, point your browser at http://www.perl.org/, the Perl
>>>>>>>> Home Page.
>>>>>>>>
>>>>>>>> [root@vclnode1 ~]#
>>>>>>>>
>>>>>>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia sexta, 2/08/2019
>>>>>>>> à(s) 14:49:
>>>>>>>>
>>>>>>>>> Antonio,
>>>>>>>>>
>>>>>>>>> What version of perl are you running on your system?
>>>>>>>>>
>>>>>>>>> Mike
>>>>>>>>>
>>>>>>>>> On Fri, Aug 2, 2019 at 6:28 AM António Aragão <
>>>>>>>>> aaragao@di.uminho.pt> wrote:
>>>>>>>>>
>>>>>>>>>> Good morning,
>>>>>>>>>>
>>>>>>>>>> a example of trying to make a reservation.
>>>>>>>>>>
>>>>>>>>>> Thanks.
>>>>>>>>>>
>>>>>>>>>> António Aragão <aa...@di.uminho.pt> escreveu no dia sexta,
>>>>>>>>>> 2/08/2019 à(s) 10:58:
>>>>>>>>>>
>>>>>>>>>>> Good morning,
>>>>>>>>>>>
>>>>>>>>>>> after I upgraded from 2.5 to 2.5.1 I'm unable to use any
>>>>>>>>>>> reservation. Looking to the vcld.log a lots for perl errors. Any clue ? I
>>>>>>>>>>> attach the output file for:  /usr/local/vcl/bin/
>>>>>>>>>>> install_perl_libs.pl
>>>>>>>>>>>
>>>>>>>>>>> Thanks.
>>>>>>>>>>>
>>>>>>>>>>> ---------- Forwarded message ---------
>>>>>>>>>>> De: <ro...@vclnode1.apachevcl.di.uminho.pt>
>>>>>>>>>>> Date: quinta, 1/08/2019 à(s) 08:35
>>>>>>>>>>> Subject: PROBLEM --
>>>>>>>>>>> vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596
>>>>>>>>>>> To: <aa...@di.uminho.pt>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> reservation failed on mv76, process failed to initialize: failed
>>>>>>>>>>> to create OS object
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>>> time: 2019-08-01 08:30:22
>>>>>>>>>>> caller: State.pm:reservation_failed(461)
>>>>>>>>>>> ( 0) State.pm, reservation_failed (line: 461)
>>>>>>>>>>> (-1) State.pm, initialize (line: 170)
>>>>>>>>>>> (-2) Module.pm, new (line: 228)
>>>>>>>>>>> (-3) vcld, (eval) (line: 594)
>>>>>>>>>>> (-4) vcld, make_new_child (line: 593)
>>>>>>>>>>> (-5) vcld, main (line: 353)
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>>> management node: vclnode1.apachevcl.di.uminho.pt
>>>>>>>>>>> reservation PID: 5308
>>>>>>>>>>> parent vcld PID: 21274
>>>>>>>>>>>
>>>>>>>>>>> request ID: 870
>>>>>>>>>>> reservation ID: 870
>>>>>>>>>>> request state/laststate: new/new
>>>>>>>>>>> request start time: 2019-08-01 08:30:00
>>>>>>>>>>> request end time: 2019-08-01 12:30:00
>>>>>>>>>>> for imaging: no
>>>>>>>>>>> log ID: 729
>>>>>>>>>>>
>>>>>>>>>>> computer: mv76.apachevcl.di.uminho.pt
>>>>>>>>>>> computer id: 135
>>>>>>>>>>> computer type: virtualmachine
>>>>>>>>>>> computer eth0 MAC address: 00:50:56:00:03:1e
>>>>>>>>>>> computer eth1 MAC address: 00:50:56:00:03:1f
>>>>>>>>>>> computer private IP address: 10.100.0.76
>>>>>>>>>>> computer public IP address: 192.168.93.76
>>>>>>>>>>> computer in block allocation: no
>>>>>>>>>>> provisioning module: VCL::Module::Provisioning::VMware::VMware
>>>>>>>>>>>
>>>>>>>>>>> vm host: servidor13.di.uminho.pt
>>>>>>>>>>> vm host ID: 4
>>>>>>>>>>> vm host computer ID: 160
>>>>>>>>>>> vm profile: s13vmhostprofile
>>>>>>>>>>> vm profile VM path: /vmfs/volumes/IFT-block1/
>>>>>>>>>>> vm profile repository path: /vmfs/volumes/vcl_images/
>>>>>>>>>>> vm profile datastore path: /vmfs/volumes/IFT-block1/
>>>>>>>>>>> vm profile disk type: shared
>>>>>>>>>>>
>>>>>>>>>>> image: vmwarewin7-WIN7_20190617133-v0
>>>>>>>>>>> image display name: WIN7_20190617
>>>>>>>>>>> image ID: 133
>>>>>>>>>>> image revision ID: 133
>>>>>>>>>>> image size: 48022 MB
>>>>>>>>>>> use Sysprep: yes
>>>>>>>>>>> root access: yes
>>>>>>>>>>> image owner ID: 1
>>>>>>>>>>> image owner affiliation: Local
>>>>>>>>>>> image revision date created: 2019-06-17 16:17:33
>>>>>>>>>>> image revision production: yes
>>>>>>>>>>> OS module: VCL::Module::OS::Windows::Version_6::7
>>>>>>>>>>>
>>>>>>>>>>> user: a12596
>>>>>>>>>>> user name:
>>>>>>>>>>> user ID: 10
>>>>>>>>>>> user affiliation: DIALUNOSLDAP
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>>> RECENT LOG ENTRIES FOR THIS PROCESS:
>>>>>>>>>>> 2019-08-01
>>>>>>>>>>> 08:30:22|5308|870|870|new|vcld:make_new_child|571|vcld environment variable
>>>>>>>>>>> set to 0 for this process
>>>>>>>>>>> 2019-08-01
>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this
>>>>>>>>>>> is the parent reservation
>>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6112|reservation
>>>>>>>>>>> count: 1
>>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6139|renamed
>>>>>>>>>>> process to 'vcld '|5308|870|870|new|' mv76>servidor13
>>>>>>>>>>> vmwarewin7-WIN7_20190617133-v0 a12596'
>>>>>>>>>>> 2019-08-01
>>>>>>>>>>> 08:30:22|5308|870|870|new|vcld:make_new_child|589|loaded VCL::new module
>>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|Module.pm:new|188|VCL::new
>>>>>>>>>>> object created for state new, address: b10a268
>>>>>>>>>>> 2019-08-01
>>>>>>>>>>> 08:30:22|5308|870|870|new|State.pm:initialize|86|initializing
>>>>>>>>>>> VCL::Module::State object
>>>>>>>>>>> 2019-08-01
>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this
>>>>>>>>>>> is the parent reservation
>>>>>>>>>>> 2019-08-01
>>>>>>>>>>> 08:30:22|5308|870|870|new|State.pm:initialize|103|obtained a database
>>>>>>>>>>> handle for this state process, stored as $ENV{dbh}
>>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_reservation_lastcheck|5499|updated
>>>>>>>>>>> reservation.lastcheck to '2019-08-01 08:30:22' for reservation IDs: 870
>>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_request_state|1439|request
>>>>>>>>>>> 870 state updated to pending/new
>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| ---- WARNING
>>>>>>>>>>> ----
>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| 2019-08-01
>>>>>>>>>>> 08:30:22|5308|870|870|new|Module.pm:create_os_object|446|VCL::Module::OS::Windows::Version_6::7
>>>>>>>>>>> module could not be loaded, error:
>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| CORE::state is
>>>>>>>>>>> not a keyword at /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows.pm
>>>>>>>>>>> line 14683.
>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation
>>>>>>>>>>> failed in require at (eval 382) line 3.
>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|  ...propagated
>>>>>>>>>>> at /usr/share/perl5/base.pm line 94.
>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>>>>>>>> failed--compilation aborted at
>>>>>>>>>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6.pm line 45.
>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation
>>>>>>>>>>> failed in require at (eval 381) line 3.
>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|  ...propagated
>>>>>>>>>>> at /usr/share/perl5/base.pm line 94.
>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>>>>>>>> failed--compilation aborted at
>>>>>>>>>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6/
>>>>>>>>>>> 7.pm line 43.
>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation
>>>>>>>>>>> failed in require at (eval 380) line 2.
>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>>>>>>>> failed--compilation aborted at (eval 380) line 2.
>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| ( 0)
>>>>>>>>>>> Module.pm, create_os_object (line: 446)
>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-1) State.pm,
>>>>>>>>>>> initialize (line: 166)
>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-2)
>>>>>>>>>>> Module.pm, new (line: 228)
>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-3) vcld,
>>>>>>>>>>> (eval) (line: 594)
>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-4) vcld,
>>>>>>>>>>> make_new_child (line: 593)
>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-5) vcld,
>>>>>>>>>>> main (line: 353)
>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>> ---- WARNING ----
>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>> 2019-08-01
>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|2
>>>>>>>>>>> rows were returned from database select
>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>> ( 0) DataStructure.pm, get_computer_state_name (line: 2083)
>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>> (-1) State.pm, reservation_failed (line: 404)
>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>> (-2) State.pm, initialize (line: 170)
>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>> (-3) Module.pm, new (line: 228)
>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>> (-4) vcld, (eval) (line: 594)
>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>> (-5) vcld, make_new_child (line: 593)
>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>> (-6) vcld, main (line: 353)
>>>>>>>>>>> 2019-08-01
>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_private_ip_address|1596|returning
>>>>>>>>>>> private IP address of mv76.apachevcl.di.uminho.pt (135) already
>>>>>>>>>>> stored in this DataStructure object: 10.100.0.76
>>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:is_inblockrequest|4926|zero
>>>>>>>>>>> rows were returned from database select
>>>>>>>>>>> 2019-08-01
>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_image_affiliation_name|1704|image
>>>>>>>>>>> owner id: 1
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> António Aragão
>>>>>>>>>>> (Especialista de Informática)
>>>>>>>>>>> Universidade do Minho
>>>>>>>>>>> Departamento de Informática
>>>>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>>>>>>> Campus de Gualtar
>>>>>>>>>>> Braga
>>>>>>>>>>> Telefone: +351 253 6044 86
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> António Aragão
>>>>>>>>>> (Especialista de Informática)
>>>>>>>>>> Universidade do Minho
>>>>>>>>>> Departamento de Informática
>>>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>>>>>> Campus de Gualtar
>>>>>>>>>> Braga
>>>>>>>>>> Telefone: +351 253 6044 86
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> António Aragão
>>>>>>>> (Especialista de Informática)
>>>>>>>> Universidade do Minho
>>>>>>>> Departamento de Informática
>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>>>> Campus de Gualtar
>>>>>>>> Braga
>>>>>>>> Telefone: +351 253 6044 86
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>
>>>>>> --
>>>>>> António Aragão
>>>>>> (Especialista de Informática)
>>>>>> Universidade do Minho
>>>>>> Departamento de Informática
>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>> Campus de Gualtar
>>>>>> Braga
>>>>>> Telefone: +351 253 6044 86
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> António Aragão
>>>>> (Especialista de Informática)
>>>>> Universidade do Minho
>>>>> Departamento de Informática
>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>> Campus de Gualtar
>>>>> Braga
>>>>> Telefone: +351 253 6044 86
>>>>>
>>>>>
>>>>>
>>>
>>> --
>>> António Aragão
>>> (Especialista de Informática)
>>> Universidade do Minho
>>> Departamento de Informática
>>> Edificio 7 - 1.07 (DI-1.03)
>>> Campus de Gualtar
>>> Braga
>>> Telefone: +351 253 6044 86
>>>
>>>
>>>
>
> --
> António Aragão
> (Especialista de Informática)
> Universidade do Minho
> Departamento de Informática
> Edificio 7 - 1.07 (DI-1.03)
> Campus de Gualtar
> Braga
> Telefone: +351 253 6044 86
>
>
>

Re: PROBLEM -- vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596

Posted by Mike Jennings <gm...@ncsu.edu>.
Antonio,

Can you send me the logs for a image reload on the box?

Mike

On Tue, Aug 6, 2019 at 11:20 AM António Aragão <aa...@di.uminho.pt> wrote:

> Mike,
>
> I upgrade perl with cpan packages necessary for vcl. If you want I try
> perl commands if it is all ok.
>
> Thanks.
>
> Mike Jennings <gm...@ncsu.edu> escreveu no dia terça, 6/08/2019 à(s)
> 15:25:
>
>> Antonio,
>>
>> Did you also upgrade your cpan packages after doing the upgrade of the
>> perl module you are running?
>>
>> We currently have Centos 7.6 x64 running with the new VCL code and have
>> no issues at all.
>>
>> I am going to download a copy of your operating system and see what
>> issues I have getting this setup locally.
>>
>> Mike Jennings
>>
>> On Tue, Aug 6, 2019 at 9:22 AM António Aragão <aa...@di.uminho.pt>
>> wrote:
>>
>>> CentOS 6.10 32bits.
>>>
>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia terça, 6/08/2019 à(s)
>>> 13:56:
>>>
>>>> Can you let me know what operating system you are currently using?
>>>>
>>>> Mike
>>>>
>>>> On Tue, Aug 6, 2019 at 5:04 AM António Aragão <aa...@di.uminho.pt>
>>>> wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I upgrade perl version and now is 5.16.3, I'm unable to do any
>>>>> reservation and the vcld.log keeps logging:
>>>>>
>>>>>
>>>>> |15431|||vcld|vcld:warning_handler|646| ---- WARNING ----
>>>>> |15431|||vcld|vcld:warning_handler|646| 2019-08-06
>>>>> 10:00:14|15431|||vcld|vcld:warning_handler|646|Use of uninitialized value
>>>>> $reservation_id in concatenation (.) or string at /usr/local/vcl/bin/vcld
>>>>> line 541.
>>>>> |15431|||vcld|vcld:warning_handler|646| ( 0) vcld, warning_handler
>>>>> (line: 646)
>>>>> |15431|||vcld|vcld:warning_handler|646| (-1) vcld, make_new_child
>>>>> (line: 541)
>>>>> |15431|||vcld|vcld:warning_handler|646| (-2) vcld, main (line: 454)
>>>>>
>>>>> 2019-08-06 10:00:14|15431|||vcld|vcld:make_new_child|541|created child
>>>>> process 15595 for reservation , state: blockrequest, current number of
>>>>> forked kids: 1
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:rename_vcld_process|6139|renamed
>>>>> process to 'vcld 37:249 'teste''
>>>>> 2019-08-06
>>>>> 10:00:14|15595|37||blockrequest|vcld:make_new_child|589|loaded
>>>>> VCL::blockrequest module
>>>>> 2019-08-06
>>>>> 10:00:14|15595|37||blockrequest|Module.pm:new|188|VCL::blockrequest object
>>>>> created for state available, address: a5a7e98
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:initialize|84|obtained
>>>>> a database handle for this state process, stored as $ENV{dbh}
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:rename_vcld_process|6139|renamed
>>>>> process to 'vcld 37:249 'teste''
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:initialize|94|returning
>>>>> 1
>>>>> 2019-08-06
>>>>> 10:00:14|15595|37||blockrequest|vcld:make_new_child|598|VCL::blockrequest
>>>>> object created and initialized
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:get_user_info|6696|UID
>>>>> value is not configured for admin@Local, setting UID=501, setting
>>>>> FEDERATED_LINUX_AUTHENTICATION=0
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2191|database
>>>>> requested (information_schema) does not match handle stored in $ENV{dbh}
>>>>> (vcl:192.168.93.1)
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2242|database
>>>>> handle stored in $ENV{dbh}
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2191|database
>>>>> requested (vcl) does not match handle stored in $ENV{dbh}
>>>>> (information_schema:192.168.93.1)
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2242|database
>>>>> handle stored in $ENV{dbh}
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:get_image_active_directory_domain_info|14622|image
>>>>> 133 is not configured for Active Directory
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|159|blockrequest
>>>>> id: 37
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|160|blockrequest
>>>>> mode: expire
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|161|blockrequest
>>>>> image id: 133
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|162|blockrequest
>>>>> number machines: 10
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|163|blockrequest
>>>>> expire: 2019-08-02 23:59:59
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|164|blocktime
>>>>> id: 249
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|165|blocktime
>>>>> processed: 1
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|166|blocktime
>>>>> start: 2019-08-02 08:30:00
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|167|owner
>>>>> email: aaragao@di.uminho.pt
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|168|help
>>>>> address: divcl@di.uminho.pt
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|326|Block
>>>>> Request 37 has expired
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|327|Updated
>>>>> status of blockRequest id 37 to completed
>>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|337|Removed
>>>>> processing flag on blockrequest_id 37
>>>>> 2019-08-06
>>>>> 10:00:14|15595|37||blockrequest|State.pm:DESTROY|1093|VCL::blockrequest
>>>>> destructor called, address: a5a7e98
>>>>> 2019-08-06
>>>>> 10:00:14|15595|37||blockrequest|Module.pm:DESTROY|2391|destroying
>>>>> VCL::blockrequest object, address: a5a7e98
>>>>> 2019-08-06 10:00:15|15431|||vcld|vcld:REAPER|758|VCL process exited
>>>>> for reservation <unknown>, PID: 15595, signal: CHLD
>>>>>
>>>>> Any clue ? I even try to reload a new image but it doesn't work.
>>>>>
>>>>> Thanks.
>>>>>
>>>>>
>>>>> António Aragão <aa...@di.uminho.pt> escreveu no dia sexta,
>>>>> 2/08/2019 à(s) 16:36:
>>>>>
>>>>>> Thanks Mike. I will upgrade perl version and will try.
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia sexta, 2/08/2019
>>>>>> à(s) 16:24:
>>>>>>
>>>>>>> I would suggest upgrading perl to be version 5.16.3 to see if that
>>>>>>> works.  I don't get the errors you are seeing with that version.
>>>>>>>
>>>>>>> Mike
>>>>>>>
>>>>>>> On Fri, Aug 2, 2019 at 10:02 AM António Aragão <aa...@di.uminho.pt>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Mike,
>>>>>>>>
>>>>>>>> it is v5.10.1.
>>>>>>>>
>>>>>>>> Thanks.
>>>>>>>>
>>>>>>>> [root@vclnode1 ~]# perl -v
>>>>>>>>
>>>>>>>> This is perl, v5.10.1 (*) built for i386-linux-thread-multi
>>>>>>>>
>>>>>>>> Copyright 1987-2009, Larry Wall
>>>>>>>>
>>>>>>>> Perl may be copied only under the terms of either the Artistic
>>>>>>>> License or the
>>>>>>>> GNU General Public License, which may be found in the Perl 5 source
>>>>>>>> kit.
>>>>>>>>
>>>>>>>> Complete documentation for Perl, including FAQ lists, should be
>>>>>>>> found on
>>>>>>>> this system using "man perl" or "perldoc perl".  If you have access
>>>>>>>> to the
>>>>>>>> Internet, point your browser at http://www.perl.org/, the Perl
>>>>>>>> Home Page.
>>>>>>>>
>>>>>>>> [root@vclnode1 ~]#
>>>>>>>>
>>>>>>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia sexta, 2/08/2019
>>>>>>>> à(s) 14:49:
>>>>>>>>
>>>>>>>>> Antonio,
>>>>>>>>>
>>>>>>>>> What version of perl are you running on your system?
>>>>>>>>>
>>>>>>>>> Mike
>>>>>>>>>
>>>>>>>>> On Fri, Aug 2, 2019 at 6:28 AM António Aragão <
>>>>>>>>> aaragao@di.uminho.pt> wrote:
>>>>>>>>>
>>>>>>>>>> Good morning,
>>>>>>>>>>
>>>>>>>>>> a example of trying to make a reservation.
>>>>>>>>>>
>>>>>>>>>> Thanks.
>>>>>>>>>>
>>>>>>>>>> António Aragão <aa...@di.uminho.pt> escreveu no dia sexta,
>>>>>>>>>> 2/08/2019 à(s) 10:58:
>>>>>>>>>>
>>>>>>>>>>> Good morning,
>>>>>>>>>>>
>>>>>>>>>>> after I upgraded from 2.5 to 2.5.1 I'm unable to use any
>>>>>>>>>>> reservation. Looking to the vcld.log a lots for perl errors. Any clue ? I
>>>>>>>>>>> attach the output file for:  /usr/local/vcl/bin/
>>>>>>>>>>> install_perl_libs.pl
>>>>>>>>>>>
>>>>>>>>>>> Thanks.
>>>>>>>>>>>
>>>>>>>>>>> ---------- Forwarded message ---------
>>>>>>>>>>> De: <ro...@vclnode1.apachevcl.di.uminho.pt>
>>>>>>>>>>> Date: quinta, 1/08/2019 à(s) 08:35
>>>>>>>>>>> Subject: PROBLEM --
>>>>>>>>>>> vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596
>>>>>>>>>>> To: <aa...@di.uminho.pt>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> reservation failed on mv76, process failed to initialize: failed
>>>>>>>>>>> to create OS object
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>>> time: 2019-08-01 08:30:22
>>>>>>>>>>> caller: State.pm:reservation_failed(461)
>>>>>>>>>>> ( 0) State.pm, reservation_failed (line: 461)
>>>>>>>>>>> (-1) State.pm, initialize (line: 170)
>>>>>>>>>>> (-2) Module.pm, new (line: 228)
>>>>>>>>>>> (-3) vcld, (eval) (line: 594)
>>>>>>>>>>> (-4) vcld, make_new_child (line: 593)
>>>>>>>>>>> (-5) vcld, main (line: 353)
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>>> management node: vclnode1.apachevcl.di.uminho.pt
>>>>>>>>>>> reservation PID: 5308
>>>>>>>>>>> parent vcld PID: 21274
>>>>>>>>>>>
>>>>>>>>>>> request ID: 870
>>>>>>>>>>> reservation ID: 870
>>>>>>>>>>> request state/laststate: new/new
>>>>>>>>>>> request start time: 2019-08-01 08:30:00
>>>>>>>>>>> request end time: 2019-08-01 12:30:00
>>>>>>>>>>> for imaging: no
>>>>>>>>>>> log ID: 729
>>>>>>>>>>>
>>>>>>>>>>> computer: mv76.apachevcl.di.uminho.pt
>>>>>>>>>>> computer id: 135
>>>>>>>>>>> computer type: virtualmachine
>>>>>>>>>>> computer eth0 MAC address: 00:50:56:00:03:1e
>>>>>>>>>>> computer eth1 MAC address: 00:50:56:00:03:1f
>>>>>>>>>>> computer private IP address: 10.100.0.76
>>>>>>>>>>> computer public IP address: 192.168.93.76
>>>>>>>>>>> computer in block allocation: no
>>>>>>>>>>> provisioning module: VCL::Module::Provisioning::VMware::VMware
>>>>>>>>>>>
>>>>>>>>>>> vm host: servidor13.di.uminho.pt
>>>>>>>>>>> vm host ID: 4
>>>>>>>>>>> vm host computer ID: 160
>>>>>>>>>>> vm profile: s13vmhostprofile
>>>>>>>>>>> vm profile VM path: /vmfs/volumes/IFT-block1/
>>>>>>>>>>> vm profile repository path: /vmfs/volumes/vcl_images/
>>>>>>>>>>> vm profile datastore path: /vmfs/volumes/IFT-block1/
>>>>>>>>>>> vm profile disk type: shared
>>>>>>>>>>>
>>>>>>>>>>> image: vmwarewin7-WIN7_20190617133-v0
>>>>>>>>>>> image display name: WIN7_20190617
>>>>>>>>>>> image ID: 133
>>>>>>>>>>> image revision ID: 133
>>>>>>>>>>> image size: 48022 MB
>>>>>>>>>>> use Sysprep: yes
>>>>>>>>>>> root access: yes
>>>>>>>>>>> image owner ID: 1
>>>>>>>>>>> image owner affiliation: Local
>>>>>>>>>>> image revision date created: 2019-06-17 16:17:33
>>>>>>>>>>> image revision production: yes
>>>>>>>>>>> OS module: VCL::Module::OS::Windows::Version_6::7
>>>>>>>>>>>
>>>>>>>>>>> user: a12596
>>>>>>>>>>> user name:
>>>>>>>>>>> user ID: 10
>>>>>>>>>>> user affiliation: DIALUNOSLDAP
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>>> RECENT LOG ENTRIES FOR THIS PROCESS:
>>>>>>>>>>> 2019-08-01
>>>>>>>>>>> 08:30:22|5308|870|870|new|vcld:make_new_child|571|vcld environment variable
>>>>>>>>>>> set to 0 for this process
>>>>>>>>>>> 2019-08-01
>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this
>>>>>>>>>>> is the parent reservation
>>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6112|reservation
>>>>>>>>>>> count: 1
>>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6139|renamed
>>>>>>>>>>> process to 'vcld '|5308|870|870|new|' mv76>servidor13
>>>>>>>>>>> vmwarewin7-WIN7_20190617133-v0 a12596'
>>>>>>>>>>> 2019-08-01
>>>>>>>>>>> 08:30:22|5308|870|870|new|vcld:make_new_child|589|loaded VCL::new module
>>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|Module.pm:new|188|VCL::new
>>>>>>>>>>> object created for state new, address: b10a268
>>>>>>>>>>> 2019-08-01
>>>>>>>>>>> 08:30:22|5308|870|870|new|State.pm:initialize|86|initializing
>>>>>>>>>>> VCL::Module::State object
>>>>>>>>>>> 2019-08-01
>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this
>>>>>>>>>>> is the parent reservation
>>>>>>>>>>> 2019-08-01
>>>>>>>>>>> 08:30:22|5308|870|870|new|State.pm:initialize|103|obtained a database
>>>>>>>>>>> handle for this state process, stored as $ENV{dbh}
>>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_reservation_lastcheck|5499|updated
>>>>>>>>>>> reservation.lastcheck to '2019-08-01 08:30:22' for reservation IDs: 870
>>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_request_state|1439|request
>>>>>>>>>>> 870 state updated to pending/new
>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| ---- WARNING
>>>>>>>>>>> ----
>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| 2019-08-01
>>>>>>>>>>> 08:30:22|5308|870|870|new|Module.pm:create_os_object|446|VCL::Module::OS::Windows::Version_6::7
>>>>>>>>>>> module could not be loaded, error:
>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| CORE::state is
>>>>>>>>>>> not a keyword at /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows.pm
>>>>>>>>>>> line 14683.
>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation
>>>>>>>>>>> failed in require at (eval 382) line 3.
>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|  ...propagated
>>>>>>>>>>> at /usr/share/perl5/base.pm line 94.
>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>>>>>>>> failed--compilation aborted at
>>>>>>>>>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6.pm line 45.
>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation
>>>>>>>>>>> failed in require at (eval 381) line 3.
>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|  ...propagated
>>>>>>>>>>> at /usr/share/perl5/base.pm line 94.
>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>>>>>>>> failed--compilation aborted at
>>>>>>>>>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6/
>>>>>>>>>>> 7.pm line 43.
>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation
>>>>>>>>>>> failed in require at (eval 380) line 2.
>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>>>>>>>> failed--compilation aborted at (eval 380) line 2.
>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| ( 0)
>>>>>>>>>>> Module.pm, create_os_object (line: 446)
>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-1) State.pm,
>>>>>>>>>>> initialize (line: 166)
>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-2)
>>>>>>>>>>> Module.pm, new (line: 228)
>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-3) vcld,
>>>>>>>>>>> (eval) (line: 594)
>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-4) vcld,
>>>>>>>>>>> make_new_child (line: 593)
>>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-5) vcld,
>>>>>>>>>>> main (line: 353)
>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>> ---- WARNING ----
>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>> 2019-08-01
>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|2
>>>>>>>>>>> rows were returned from database select
>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>> ( 0) DataStructure.pm, get_computer_state_name (line: 2083)
>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>> (-1) State.pm, reservation_failed (line: 404)
>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>> (-2) State.pm, initialize (line: 170)
>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>> (-3) Module.pm, new (line: 228)
>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>> (-4) vcld, (eval) (line: 594)
>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>> (-5) vcld, make_new_child (line: 593)
>>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>>> (-6) vcld, main (line: 353)
>>>>>>>>>>> 2019-08-01
>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_private_ip_address|1596|returning
>>>>>>>>>>> private IP address of mv76.apachevcl.di.uminho.pt (135) already
>>>>>>>>>>> stored in this DataStructure object: 10.100.0.76
>>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:is_inblockrequest|4926|zero
>>>>>>>>>>> rows were returned from database select
>>>>>>>>>>> 2019-08-01
>>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_image_affiliation_name|1704|image
>>>>>>>>>>> owner id: 1
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> António Aragão
>>>>>>>>>>> (Especialista de Informática)
>>>>>>>>>>> Universidade do Minho
>>>>>>>>>>> Departamento de Informática
>>>>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>>>>>>> Campus de Gualtar
>>>>>>>>>>> Braga
>>>>>>>>>>> Telefone: +351 253 6044 86
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> António Aragão
>>>>>>>>>> (Especialista de Informática)
>>>>>>>>>> Universidade do Minho
>>>>>>>>>> Departamento de Informática
>>>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>>>>>> Campus de Gualtar
>>>>>>>>>> Braga
>>>>>>>>>> Telefone: +351 253 6044 86
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> António Aragão
>>>>>>>> (Especialista de Informática)
>>>>>>>> Universidade do Minho
>>>>>>>> Departamento de Informática
>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>>>> Campus de Gualtar
>>>>>>>> Braga
>>>>>>>> Telefone: +351 253 6044 86
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>
>>>>>> --
>>>>>> António Aragão
>>>>>> (Especialista de Informática)
>>>>>> Universidade do Minho
>>>>>> Departamento de Informática
>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>> Campus de Gualtar
>>>>>> Braga
>>>>>> Telefone: +351 253 6044 86
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> António Aragão
>>>>> (Especialista de Informática)
>>>>> Universidade do Minho
>>>>> Departamento de Informática
>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>> Campus de Gualtar
>>>>> Braga
>>>>> Telefone: +351 253 6044 86
>>>>>
>>>>>
>>>>>
>>>
>>> --
>>> António Aragão
>>> (Especialista de Informática)
>>> Universidade do Minho
>>> Departamento de Informática
>>> Edificio 7 - 1.07 (DI-1.03)
>>> Campus de Gualtar
>>> Braga
>>> Telefone: +351 253 6044 86
>>>
>>>
>>>
>
> --
> António Aragão
> (Especialista de Informática)
> Universidade do Minho
> Departamento de Informática
> Edificio 7 - 1.07 (DI-1.03)
> Campus de Gualtar
> Braga
> Telefone: +351 253 6044 86
>
>
>

Re: PROBLEM -- vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596

Posted by António Aragão <aa...@di.uminho.pt>.
Mike,

I upgrade perl with cpan packages necessary for vcl. If you want I try perl
commands if it is all ok.

Thanks.

Mike Jennings <gm...@ncsu.edu> escreveu no dia terça, 6/08/2019 à(s)
15:25:

> Antonio,
>
> Did you also upgrade your cpan packages after doing the upgrade of the
> perl module you are running?
>
> We currently have Centos 7.6 x64 running with the new VCL code and have no
> issues at all.
>
> I am going to download a copy of your operating system and see what issues
> I have getting this setup locally.
>
> Mike Jennings
>
> On Tue, Aug 6, 2019 at 9:22 AM António Aragão <aa...@di.uminho.pt>
> wrote:
>
>> CentOS 6.10 32bits.
>>
>> Mike Jennings <gm...@ncsu.edu> escreveu no dia terça, 6/08/2019 à(s)
>> 13:56:
>>
>>> Can you let me know what operating system you are currently using?
>>>
>>> Mike
>>>
>>> On Tue, Aug 6, 2019 at 5:04 AM António Aragão <aa...@di.uminho.pt>
>>> wrote:
>>>
>>>> Hello,
>>>>
>>>> I upgrade perl version and now is 5.16.3, I'm unable to do any
>>>> reservation and the vcld.log keeps logging:
>>>>
>>>>
>>>> |15431|||vcld|vcld:warning_handler|646| ---- WARNING ----
>>>> |15431|||vcld|vcld:warning_handler|646| 2019-08-06
>>>> 10:00:14|15431|||vcld|vcld:warning_handler|646|Use of uninitialized value
>>>> $reservation_id in concatenation (.) or string at /usr/local/vcl/bin/vcld
>>>> line 541.
>>>> |15431|||vcld|vcld:warning_handler|646| ( 0) vcld, warning_handler
>>>> (line: 646)
>>>> |15431|||vcld|vcld:warning_handler|646| (-1) vcld, make_new_child
>>>> (line: 541)
>>>> |15431|||vcld|vcld:warning_handler|646| (-2) vcld, main (line: 454)
>>>>
>>>> 2019-08-06 10:00:14|15431|||vcld|vcld:make_new_child|541|created child
>>>> process 15595 for reservation , state: blockrequest, current number of
>>>> forked kids: 1
>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:rename_vcld_process|6139|renamed
>>>> process to 'vcld 37:249 'teste''
>>>> 2019-08-06
>>>> 10:00:14|15595|37||blockrequest|vcld:make_new_child|589|loaded
>>>> VCL::blockrequest module
>>>> 2019-08-06
>>>> 10:00:14|15595|37||blockrequest|Module.pm:new|188|VCL::blockrequest object
>>>> created for state available, address: a5a7e98
>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:initialize|84|obtained
>>>> a database handle for this state process, stored as $ENV{dbh}
>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:rename_vcld_process|6139|renamed
>>>> process to 'vcld 37:249 'teste''
>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:initialize|94|returning
>>>> 1
>>>> 2019-08-06
>>>> 10:00:14|15595|37||blockrequest|vcld:make_new_child|598|VCL::blockrequest
>>>> object created and initialized
>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:get_user_info|6696|UID
>>>> value is not configured for admin@Local, setting UID=501, setting
>>>> FEDERATED_LINUX_AUTHENTICATION=0
>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2191|database
>>>> requested (information_schema) does not match handle stored in $ENV{dbh}
>>>> (vcl:192.168.93.1)
>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2242|database
>>>> handle stored in $ENV{dbh}
>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2191|database
>>>> requested (vcl) does not match handle stored in $ENV{dbh}
>>>> (information_schema:192.168.93.1)
>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2242|database
>>>> handle stored in $ENV{dbh}
>>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:get_image_active_directory_domain_info|14622|image
>>>> 133 is not configured for Active Directory
>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|159|blockrequest
>>>> id: 37
>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|160|blockrequest
>>>> mode: expire
>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|161|blockrequest
>>>> image id: 133
>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|162|blockrequest
>>>> number machines: 10
>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|163|blockrequest
>>>> expire: 2019-08-02 23:59:59
>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|164|blocktime
>>>> id: 249
>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|165|blocktime
>>>> processed: 1
>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|166|blocktime
>>>> start: 2019-08-02 08:30:00
>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|167|owner
>>>> email: aaragao@di.uminho.pt
>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|168|help
>>>> address: divcl@di.uminho.pt
>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|326|Block
>>>> Request 37 has expired
>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|327|Updated
>>>> status of blockRequest id 37 to completed
>>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|337|Removed
>>>> processing flag on blockrequest_id 37
>>>> 2019-08-06
>>>> 10:00:14|15595|37||blockrequest|State.pm:DESTROY|1093|VCL::blockrequest
>>>> destructor called, address: a5a7e98
>>>> 2019-08-06
>>>> 10:00:14|15595|37||blockrequest|Module.pm:DESTROY|2391|destroying
>>>> VCL::blockrequest object, address: a5a7e98
>>>> 2019-08-06 10:00:15|15431|||vcld|vcld:REAPER|758|VCL process exited for
>>>> reservation <unknown>, PID: 15595, signal: CHLD
>>>>
>>>> Any clue ? I even try to reload a new image but it doesn't work.
>>>>
>>>> Thanks.
>>>>
>>>>
>>>> António Aragão <aa...@di.uminho.pt> escreveu no dia sexta, 2/08/2019
>>>> à(s) 16:36:
>>>>
>>>>> Thanks Mike. I will upgrade perl version and will try.
>>>>>
>>>>> Thanks.
>>>>>
>>>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia sexta, 2/08/2019
>>>>> à(s) 16:24:
>>>>>
>>>>>> I would suggest upgrading perl to be version 5.16.3 to see if that
>>>>>> works.  I don't get the errors you are seeing with that version.
>>>>>>
>>>>>> Mike
>>>>>>
>>>>>> On Fri, Aug 2, 2019 at 10:02 AM António Aragão <aa...@di.uminho.pt>
>>>>>> wrote:
>>>>>>
>>>>>>> Mike,
>>>>>>>
>>>>>>> it is v5.10.1.
>>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>> [root@vclnode1 ~]# perl -v
>>>>>>>
>>>>>>> This is perl, v5.10.1 (*) built for i386-linux-thread-multi
>>>>>>>
>>>>>>> Copyright 1987-2009, Larry Wall
>>>>>>>
>>>>>>> Perl may be copied only under the terms of either the Artistic
>>>>>>> License or the
>>>>>>> GNU General Public License, which may be found in the Perl 5 source
>>>>>>> kit.
>>>>>>>
>>>>>>> Complete documentation for Perl, including FAQ lists, should be
>>>>>>> found on
>>>>>>> this system using "man perl" or "perldoc perl".  If you have access
>>>>>>> to the
>>>>>>> Internet, point your browser at http://www.perl.org/, the Perl Home
>>>>>>> Page.
>>>>>>>
>>>>>>> [root@vclnode1 ~]#
>>>>>>>
>>>>>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia sexta, 2/08/2019
>>>>>>> à(s) 14:49:
>>>>>>>
>>>>>>>> Antonio,
>>>>>>>>
>>>>>>>> What version of perl are you running on your system?
>>>>>>>>
>>>>>>>> Mike
>>>>>>>>
>>>>>>>> On Fri, Aug 2, 2019 at 6:28 AM António Aragão <aa...@di.uminho.pt>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Good morning,
>>>>>>>>>
>>>>>>>>> a example of trying to make a reservation.
>>>>>>>>>
>>>>>>>>> Thanks.
>>>>>>>>>
>>>>>>>>> António Aragão <aa...@di.uminho.pt> escreveu no dia sexta,
>>>>>>>>> 2/08/2019 à(s) 10:58:
>>>>>>>>>
>>>>>>>>>> Good morning,
>>>>>>>>>>
>>>>>>>>>> after I upgraded from 2.5 to 2.5.1 I'm unable to use any
>>>>>>>>>> reservation. Looking to the vcld.log a lots for perl errors. Any clue ? I
>>>>>>>>>> attach the output file for:  /usr/local/vcl/bin/
>>>>>>>>>> install_perl_libs.pl
>>>>>>>>>>
>>>>>>>>>> Thanks.
>>>>>>>>>>
>>>>>>>>>> ---------- Forwarded message ---------
>>>>>>>>>> De: <ro...@vclnode1.apachevcl.di.uminho.pt>
>>>>>>>>>> Date: quinta, 1/08/2019 à(s) 08:35
>>>>>>>>>> Subject: PROBLEM --
>>>>>>>>>> vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596
>>>>>>>>>> To: <aa...@di.uminho.pt>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> reservation failed on mv76, process failed to initialize: failed
>>>>>>>>>> to create OS object
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>> time: 2019-08-01 08:30:22
>>>>>>>>>> caller: State.pm:reservation_failed(461)
>>>>>>>>>> ( 0) State.pm, reservation_failed (line: 461)
>>>>>>>>>> (-1) State.pm, initialize (line: 170)
>>>>>>>>>> (-2) Module.pm, new (line: 228)
>>>>>>>>>> (-3) vcld, (eval) (line: 594)
>>>>>>>>>> (-4) vcld, make_new_child (line: 593)
>>>>>>>>>> (-5) vcld, main (line: 353)
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>> management node: vclnode1.apachevcl.di.uminho.pt
>>>>>>>>>> reservation PID: 5308
>>>>>>>>>> parent vcld PID: 21274
>>>>>>>>>>
>>>>>>>>>> request ID: 870
>>>>>>>>>> reservation ID: 870
>>>>>>>>>> request state/laststate: new/new
>>>>>>>>>> request start time: 2019-08-01 08:30:00
>>>>>>>>>> request end time: 2019-08-01 12:30:00
>>>>>>>>>> for imaging: no
>>>>>>>>>> log ID: 729
>>>>>>>>>>
>>>>>>>>>> computer: mv76.apachevcl.di.uminho.pt
>>>>>>>>>> computer id: 135
>>>>>>>>>> computer type: virtualmachine
>>>>>>>>>> computer eth0 MAC address: 00:50:56:00:03:1e
>>>>>>>>>> computer eth1 MAC address: 00:50:56:00:03:1f
>>>>>>>>>> computer private IP address: 10.100.0.76
>>>>>>>>>> computer public IP address: 192.168.93.76
>>>>>>>>>> computer in block allocation: no
>>>>>>>>>> provisioning module: VCL::Module::Provisioning::VMware::VMware
>>>>>>>>>>
>>>>>>>>>> vm host: servidor13.di.uminho.pt
>>>>>>>>>> vm host ID: 4
>>>>>>>>>> vm host computer ID: 160
>>>>>>>>>> vm profile: s13vmhostprofile
>>>>>>>>>> vm profile VM path: /vmfs/volumes/IFT-block1/
>>>>>>>>>> vm profile repository path: /vmfs/volumes/vcl_images/
>>>>>>>>>> vm profile datastore path: /vmfs/volumes/IFT-block1/
>>>>>>>>>> vm profile disk type: shared
>>>>>>>>>>
>>>>>>>>>> image: vmwarewin7-WIN7_20190617133-v0
>>>>>>>>>> image display name: WIN7_20190617
>>>>>>>>>> image ID: 133
>>>>>>>>>> image revision ID: 133
>>>>>>>>>> image size: 48022 MB
>>>>>>>>>> use Sysprep: yes
>>>>>>>>>> root access: yes
>>>>>>>>>> image owner ID: 1
>>>>>>>>>> image owner affiliation: Local
>>>>>>>>>> image revision date created: 2019-06-17 16:17:33
>>>>>>>>>> image revision production: yes
>>>>>>>>>> OS module: VCL::Module::OS::Windows::Version_6::7
>>>>>>>>>>
>>>>>>>>>> user: a12596
>>>>>>>>>> user name:
>>>>>>>>>> user ID: 10
>>>>>>>>>> user affiliation: DIALUNOSLDAP
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>>> RECENT LOG ENTRIES FOR THIS PROCESS:
>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|vcld:make_new_child|571|vcld
>>>>>>>>>> environment variable set to 0 for this process
>>>>>>>>>> 2019-08-01
>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this
>>>>>>>>>> is the parent reservation
>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6112|reservation
>>>>>>>>>> count: 1
>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6139|renamed
>>>>>>>>>> process to 'vcld '|5308|870|870|new|' mv76>servidor13
>>>>>>>>>> vmwarewin7-WIN7_20190617133-v0 a12596'
>>>>>>>>>> 2019-08-01
>>>>>>>>>> 08:30:22|5308|870|870|new|vcld:make_new_child|589|loaded VCL::new module
>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|Module.pm:new|188|VCL::new
>>>>>>>>>> object created for state new, address: b10a268
>>>>>>>>>> 2019-08-01
>>>>>>>>>> 08:30:22|5308|870|870|new|State.pm:initialize|86|initializing
>>>>>>>>>> VCL::Module::State object
>>>>>>>>>> 2019-08-01
>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this
>>>>>>>>>> is the parent reservation
>>>>>>>>>> 2019-08-01
>>>>>>>>>> 08:30:22|5308|870|870|new|State.pm:initialize|103|obtained a database
>>>>>>>>>> handle for this state process, stored as $ENV{dbh}
>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_reservation_lastcheck|5499|updated
>>>>>>>>>> reservation.lastcheck to '2019-08-01 08:30:22' for reservation IDs: 870
>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_request_state|1439|request
>>>>>>>>>> 870 state updated to pending/new
>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| ---- WARNING
>>>>>>>>>> ----
>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| 2019-08-01
>>>>>>>>>> 08:30:22|5308|870|870|new|Module.pm:create_os_object|446|VCL::Module::OS::Windows::Version_6::7
>>>>>>>>>> module could not be loaded, error:
>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| CORE::state is
>>>>>>>>>> not a keyword at /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows.pm
>>>>>>>>>> line 14683.
>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation
>>>>>>>>>> failed in require at (eval 382) line 3.
>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|  ...propagated
>>>>>>>>>> at /usr/share/perl5/base.pm line 94.
>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>>>>>>> failed--compilation aborted at
>>>>>>>>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6.pm line 45.
>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation
>>>>>>>>>> failed in require at (eval 381) line 3.
>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|  ...propagated
>>>>>>>>>> at /usr/share/perl5/base.pm line 94.
>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>>>>>>> failed--compilation aborted at
>>>>>>>>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6/
>>>>>>>>>> 7.pm line 43.
>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation
>>>>>>>>>> failed in require at (eval 380) line 2.
>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>>>>>>> failed--compilation aborted at (eval 380) line 2.
>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| ( 0) Module.pm,
>>>>>>>>>> create_os_object (line: 446)
>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-1) State.pm,
>>>>>>>>>> initialize (line: 166)
>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-2) Module.pm,
>>>>>>>>>> new (line: 228)
>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-3) vcld,
>>>>>>>>>> (eval) (line: 594)
>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-4) vcld,
>>>>>>>>>> make_new_child (line: 593)
>>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-5) vcld, main
>>>>>>>>>> (line: 353)
>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>> ---- WARNING ----
>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>> 2019-08-01
>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|2
>>>>>>>>>> rows were returned from database select
>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>> ( 0) DataStructure.pm, get_computer_state_name (line: 2083)
>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>> (-1) State.pm, reservation_failed (line: 404)
>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>> (-2) State.pm, initialize (line: 170)
>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>> (-3) Module.pm, new (line: 228)
>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>> (-4) vcld, (eval) (line: 594)
>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>> (-5) vcld, make_new_child (line: 593)
>>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>>> (-6) vcld, main (line: 353)
>>>>>>>>>> 2019-08-01
>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_private_ip_address|1596|returning
>>>>>>>>>> private IP address of mv76.apachevcl.di.uminho.pt (135) already
>>>>>>>>>> stored in this DataStructure object: 10.100.0.76
>>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:is_inblockrequest|4926|zero
>>>>>>>>>> rows were returned from database select
>>>>>>>>>> 2019-08-01
>>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_image_affiliation_name|1704|image
>>>>>>>>>> owner id: 1
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> António Aragão
>>>>>>>>>> (Especialista de Informática)
>>>>>>>>>> Universidade do Minho
>>>>>>>>>> Departamento de Informática
>>>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>>>>>> Campus de Gualtar
>>>>>>>>>> Braga
>>>>>>>>>> Telefone: +351 253 6044 86
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> António Aragão
>>>>>>>>> (Especialista de Informática)
>>>>>>>>> Universidade do Minho
>>>>>>>>> Departamento de Informática
>>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>>>>> Campus de Gualtar
>>>>>>>>> Braga
>>>>>>>>> Telefone: +351 253 6044 86
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> António Aragão
>>>>>>> (Especialista de Informática)
>>>>>>> Universidade do Minho
>>>>>>> Departamento de Informática
>>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>>> Campus de Gualtar
>>>>>>> Braga
>>>>>>> Telefone: +351 253 6044 86
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>
>>>>> --
>>>>> António Aragão
>>>>> (Especialista de Informática)
>>>>> Universidade do Minho
>>>>> Departamento de Informática
>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>> Campus de Gualtar
>>>>> Braga
>>>>> Telefone: +351 253 6044 86
>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>> António Aragão
>>>> (Especialista de Informática)
>>>> Universidade do Minho
>>>> Departamento de Informática
>>>> Edificio 7 - 1.07 (DI-1.03)
>>>> Campus de Gualtar
>>>> Braga
>>>> Telefone: +351 253 6044 86
>>>>
>>>>
>>>>
>>
>> --
>> António Aragão
>> (Especialista de Informática)
>> Universidade do Minho
>> Departamento de Informática
>> Edificio 7 - 1.07 (DI-1.03)
>> Campus de Gualtar
>> Braga
>> Telefone: +351 253 6044 86
>>
>>
>>

-- 
António Aragão
(Especialista de Informática)
Universidade do Minho
Departamento de Informática
Edificio 7 - 1.07 (DI-1.03)
Campus de Gualtar
Braga
Telefone: +351 253 6044 86

Re: PROBLEM -- vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596

Posted by Mike Jennings <gm...@ncsu.edu>.
Antonio,

Did you also upgrade your cpan packages after doing the upgrade of the perl
module you are running?

We currently have Centos 7.6 x64 running with the new VCL code and have no
issues at all.

I am going to download a copy of your operating system and see what issues
I have getting this setup locally.

Mike Jennings

On Tue, Aug 6, 2019 at 9:22 AM António Aragão <aa...@di.uminho.pt> wrote:

> CentOS 6.10 32bits.
>
> Mike Jennings <gm...@ncsu.edu> escreveu no dia terça, 6/08/2019 à(s)
> 13:56:
>
>> Can you let me know what operating system you are currently using?
>>
>> Mike
>>
>> On Tue, Aug 6, 2019 at 5:04 AM António Aragão <aa...@di.uminho.pt>
>> wrote:
>>
>>> Hello,
>>>
>>> I upgrade perl version and now is 5.16.3, I'm unable to do any
>>> reservation and the vcld.log keeps logging:
>>>
>>>
>>> |15431|||vcld|vcld:warning_handler|646| ---- WARNING ----
>>> |15431|||vcld|vcld:warning_handler|646| 2019-08-06
>>> 10:00:14|15431|||vcld|vcld:warning_handler|646|Use of uninitialized value
>>> $reservation_id in concatenation (.) or string at /usr/local/vcl/bin/vcld
>>> line 541.
>>> |15431|||vcld|vcld:warning_handler|646| ( 0) vcld, warning_handler
>>> (line: 646)
>>> |15431|||vcld|vcld:warning_handler|646| (-1) vcld, make_new_child (line:
>>> 541)
>>> |15431|||vcld|vcld:warning_handler|646| (-2) vcld, main (line: 454)
>>>
>>> 2019-08-06 10:00:14|15431|||vcld|vcld:make_new_child|541|created child
>>> process 15595 for reservation , state: blockrequest, current number of
>>> forked kids: 1
>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:rename_vcld_process|6139|renamed
>>> process to 'vcld 37:249 'teste''
>>> 2019-08-06
>>> 10:00:14|15595|37||blockrequest|vcld:make_new_child|589|loaded
>>> VCL::blockrequest module
>>> 2019-08-06
>>> 10:00:14|15595|37||blockrequest|Module.pm:new|188|VCL::blockrequest object
>>> created for state available, address: a5a7e98
>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:initialize|84|obtained
>>> a database handle for this state process, stored as $ENV{dbh}
>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:rename_vcld_process|6139|renamed
>>> process to 'vcld 37:249 'teste''
>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:initialize|94|returning
>>> 1
>>> 2019-08-06
>>> 10:00:14|15595|37||blockrequest|vcld:make_new_child|598|VCL::blockrequest
>>> object created and initialized
>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:get_user_info|6696|UID
>>> value is not configured for admin@Local, setting UID=501, setting
>>> FEDERATED_LINUX_AUTHENTICATION=0
>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2191|database
>>> requested (information_schema) does not match handle stored in $ENV{dbh}
>>> (vcl:192.168.93.1)
>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2242|database
>>> handle stored in $ENV{dbh}
>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2191|database
>>> requested (vcl) does not match handle stored in $ENV{dbh}
>>> (information_schema:192.168.93.1)
>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2242|database
>>> handle stored in $ENV{dbh}
>>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:get_image_active_directory_domain_info|14622|image
>>> 133 is not configured for Active Directory
>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|159|blockrequest
>>> id: 37
>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|160|blockrequest
>>> mode: expire
>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|161|blockrequest
>>> image id: 133
>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|162|blockrequest
>>> number machines: 10
>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|163|blockrequest
>>> expire: 2019-08-02 23:59:59
>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|164|blocktime
>>> id: 249
>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|165|blocktime
>>> processed: 1
>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|166|blocktime
>>> start: 2019-08-02 08:30:00
>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|167|owner
>>> email: aaragao@di.uminho.pt
>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|168|help
>>> address: divcl@di.uminho.pt
>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|326|Block
>>> Request 37 has expired
>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|327|Updated
>>> status of blockRequest id 37 to completed
>>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|337|Removed
>>> processing flag on blockrequest_id 37
>>> 2019-08-06
>>> 10:00:14|15595|37||blockrequest|State.pm:DESTROY|1093|VCL::blockrequest
>>> destructor called, address: a5a7e98
>>> 2019-08-06
>>> 10:00:14|15595|37||blockrequest|Module.pm:DESTROY|2391|destroying
>>> VCL::blockrequest object, address: a5a7e98
>>> 2019-08-06 10:00:15|15431|||vcld|vcld:REAPER|758|VCL process exited for
>>> reservation <unknown>, PID: 15595, signal: CHLD
>>>
>>> Any clue ? I even try to reload a new image but it doesn't work.
>>>
>>> Thanks.
>>>
>>>
>>> António Aragão <aa...@di.uminho.pt> escreveu no dia sexta, 2/08/2019
>>> à(s) 16:36:
>>>
>>>> Thanks Mike. I will upgrade perl version and will try.
>>>>
>>>> Thanks.
>>>>
>>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia sexta, 2/08/2019
>>>> à(s) 16:24:
>>>>
>>>>> I would suggest upgrading perl to be version 5.16.3 to see if that
>>>>> works.  I don't get the errors you are seeing with that version.
>>>>>
>>>>> Mike
>>>>>
>>>>> On Fri, Aug 2, 2019 at 10:02 AM António Aragão <aa...@di.uminho.pt>
>>>>> wrote:
>>>>>
>>>>>> Mike,
>>>>>>
>>>>>> it is v5.10.1.
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>> [root@vclnode1 ~]# perl -v
>>>>>>
>>>>>> This is perl, v5.10.1 (*) built for i386-linux-thread-multi
>>>>>>
>>>>>> Copyright 1987-2009, Larry Wall
>>>>>>
>>>>>> Perl may be copied only under the terms of either the Artistic
>>>>>> License or the
>>>>>> GNU General Public License, which may be found in the Perl 5 source
>>>>>> kit.
>>>>>>
>>>>>> Complete documentation for Perl, including FAQ lists, should be found
>>>>>> on
>>>>>> this system using "man perl" or "perldoc perl".  If you have access
>>>>>> to the
>>>>>> Internet, point your browser at http://www.perl.org/, the Perl Home
>>>>>> Page.
>>>>>>
>>>>>> [root@vclnode1 ~]#
>>>>>>
>>>>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia sexta, 2/08/2019
>>>>>> à(s) 14:49:
>>>>>>
>>>>>>> Antonio,
>>>>>>>
>>>>>>> What version of perl are you running on your system?
>>>>>>>
>>>>>>> Mike
>>>>>>>
>>>>>>> On Fri, Aug 2, 2019 at 6:28 AM António Aragão <aa...@di.uminho.pt>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Good morning,
>>>>>>>>
>>>>>>>> a example of trying to make a reservation.
>>>>>>>>
>>>>>>>> Thanks.
>>>>>>>>
>>>>>>>> António Aragão <aa...@di.uminho.pt> escreveu no dia sexta,
>>>>>>>> 2/08/2019 à(s) 10:58:
>>>>>>>>
>>>>>>>>> Good morning,
>>>>>>>>>
>>>>>>>>> after I upgraded from 2.5 to 2.5.1 I'm unable to use any
>>>>>>>>> reservation. Looking to the vcld.log a lots for perl errors. Any clue ? I
>>>>>>>>> attach the output file for:  /usr/local/vcl/bin/
>>>>>>>>> install_perl_libs.pl
>>>>>>>>>
>>>>>>>>> Thanks.
>>>>>>>>>
>>>>>>>>> ---------- Forwarded message ---------
>>>>>>>>> De: <ro...@vclnode1.apachevcl.di.uminho.pt>
>>>>>>>>> Date: quinta, 1/08/2019 à(s) 08:35
>>>>>>>>> Subject: PROBLEM --
>>>>>>>>> vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596
>>>>>>>>> To: <aa...@di.uminho.pt>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> reservation failed on mv76, process failed to initialize: failed
>>>>>>>>> to create OS object
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>> time: 2019-08-01 08:30:22
>>>>>>>>> caller: State.pm:reservation_failed(461)
>>>>>>>>> ( 0) State.pm, reservation_failed (line: 461)
>>>>>>>>> (-1) State.pm, initialize (line: 170)
>>>>>>>>> (-2) Module.pm, new (line: 228)
>>>>>>>>> (-3) vcld, (eval) (line: 594)
>>>>>>>>> (-4) vcld, make_new_child (line: 593)
>>>>>>>>> (-5) vcld, main (line: 353)
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>> management node: vclnode1.apachevcl.di.uminho.pt
>>>>>>>>> reservation PID: 5308
>>>>>>>>> parent vcld PID: 21274
>>>>>>>>>
>>>>>>>>> request ID: 870
>>>>>>>>> reservation ID: 870
>>>>>>>>> request state/laststate: new/new
>>>>>>>>> request start time: 2019-08-01 08:30:00
>>>>>>>>> request end time: 2019-08-01 12:30:00
>>>>>>>>> for imaging: no
>>>>>>>>> log ID: 729
>>>>>>>>>
>>>>>>>>> computer: mv76.apachevcl.di.uminho.pt
>>>>>>>>> computer id: 135
>>>>>>>>> computer type: virtualmachine
>>>>>>>>> computer eth0 MAC address: 00:50:56:00:03:1e
>>>>>>>>> computer eth1 MAC address: 00:50:56:00:03:1f
>>>>>>>>> computer private IP address: 10.100.0.76
>>>>>>>>> computer public IP address: 192.168.93.76
>>>>>>>>> computer in block allocation: no
>>>>>>>>> provisioning module: VCL::Module::Provisioning::VMware::VMware
>>>>>>>>>
>>>>>>>>> vm host: servidor13.di.uminho.pt
>>>>>>>>> vm host ID: 4
>>>>>>>>> vm host computer ID: 160
>>>>>>>>> vm profile: s13vmhostprofile
>>>>>>>>> vm profile VM path: /vmfs/volumes/IFT-block1/
>>>>>>>>> vm profile repository path: /vmfs/volumes/vcl_images/
>>>>>>>>> vm profile datastore path: /vmfs/volumes/IFT-block1/
>>>>>>>>> vm profile disk type: shared
>>>>>>>>>
>>>>>>>>> image: vmwarewin7-WIN7_20190617133-v0
>>>>>>>>> image display name: WIN7_20190617
>>>>>>>>> image ID: 133
>>>>>>>>> image revision ID: 133
>>>>>>>>> image size: 48022 MB
>>>>>>>>> use Sysprep: yes
>>>>>>>>> root access: yes
>>>>>>>>> image owner ID: 1
>>>>>>>>> image owner affiliation: Local
>>>>>>>>> image revision date created: 2019-06-17 16:17:33
>>>>>>>>> image revision production: yes
>>>>>>>>> OS module: VCL::Module::OS::Windows::Version_6::7
>>>>>>>>>
>>>>>>>>> user: a12596
>>>>>>>>> user name:
>>>>>>>>> user ID: 10
>>>>>>>>> user affiliation: DIALUNOSLDAP
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>> RECENT LOG ENTRIES FOR THIS PROCESS:
>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|vcld:make_new_child|571|vcld
>>>>>>>>> environment variable set to 0 for this process
>>>>>>>>> 2019-08-01
>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this
>>>>>>>>> is the parent reservation
>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6112|reservation
>>>>>>>>> count: 1
>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6139|renamed
>>>>>>>>> process to 'vcld '|5308|870|870|new|' mv76>servidor13
>>>>>>>>> vmwarewin7-WIN7_20190617133-v0 a12596'
>>>>>>>>> 2019-08-01
>>>>>>>>> 08:30:22|5308|870|870|new|vcld:make_new_child|589|loaded VCL::new module
>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|Module.pm:new|188|VCL::new
>>>>>>>>> object created for state new, address: b10a268
>>>>>>>>> 2019-08-01
>>>>>>>>> 08:30:22|5308|870|870|new|State.pm:initialize|86|initializing
>>>>>>>>> VCL::Module::State object
>>>>>>>>> 2019-08-01
>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this
>>>>>>>>> is the parent reservation
>>>>>>>>> 2019-08-01
>>>>>>>>> 08:30:22|5308|870|870|new|State.pm:initialize|103|obtained a database
>>>>>>>>> handle for this state process, stored as $ENV{dbh}
>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_reservation_lastcheck|5499|updated
>>>>>>>>> reservation.lastcheck to '2019-08-01 08:30:22' for reservation IDs: 870
>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_request_state|1439|request
>>>>>>>>> 870 state updated to pending/new
>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| ---- WARNING
>>>>>>>>> ----
>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| 2019-08-01
>>>>>>>>> 08:30:22|5308|870|870|new|Module.pm:create_os_object|446|VCL::Module::OS::Windows::Version_6::7
>>>>>>>>> module could not be loaded, error:
>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| CORE::state is
>>>>>>>>> not a keyword at /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows.pm
>>>>>>>>> line 14683.
>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation
>>>>>>>>> failed in require at (eval 382) line 3.
>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|  ...propagated
>>>>>>>>> at /usr/share/perl5/base.pm line 94.
>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>>>>>> failed--compilation aborted at
>>>>>>>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6.pm line 45.
>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation
>>>>>>>>> failed in require at (eval 381) line 3.
>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|  ...propagated
>>>>>>>>> at /usr/share/perl5/base.pm line 94.
>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>>>>>> failed--compilation aborted at
>>>>>>>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6/
>>>>>>>>> 7.pm line 43.
>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation
>>>>>>>>> failed in require at (eval 380) line 2.
>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>>>>>> failed--compilation aborted at (eval 380) line 2.
>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| ( 0) Module.pm,
>>>>>>>>> create_os_object (line: 446)
>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-1) State.pm,
>>>>>>>>> initialize (line: 166)
>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-2) Module.pm,
>>>>>>>>> new (line: 228)
>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-3) vcld,
>>>>>>>>> (eval) (line: 594)
>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-4) vcld,
>>>>>>>>> make_new_child (line: 593)
>>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-5) vcld, main
>>>>>>>>> (line: 353)
>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>> ---- WARNING ----
>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>> 2019-08-01
>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|2
>>>>>>>>> rows were returned from database select
>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (
>>>>>>>>> 0) DataStructure.pm, get_computer_state_name (line: 2083)
>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>> (-1) State.pm, reservation_failed (line: 404)
>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>> (-2) State.pm, initialize (line: 170)
>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>> (-3) Module.pm, new (line: 228)
>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>> (-4) vcld, (eval) (line: 594)
>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>> (-5) vcld, make_new_child (line: 593)
>>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>>> (-6) vcld, main (line: 353)
>>>>>>>>> 2019-08-01
>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_private_ip_address|1596|returning
>>>>>>>>> private IP address of mv76.apachevcl.di.uminho.pt (135) already
>>>>>>>>> stored in this DataStructure object: 10.100.0.76
>>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:is_inblockrequest|4926|zero
>>>>>>>>> rows were returned from database select
>>>>>>>>> 2019-08-01
>>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_image_affiliation_name|1704|image
>>>>>>>>> owner id: 1
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> António Aragão
>>>>>>>>> (Especialista de Informática)
>>>>>>>>> Universidade do Minho
>>>>>>>>> Departamento de Informática
>>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>>>>> Campus de Gualtar
>>>>>>>>> Braga
>>>>>>>>> Telefone: +351 253 6044 86
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> António Aragão
>>>>>>>> (Especialista de Informática)
>>>>>>>> Universidade do Minho
>>>>>>>> Departamento de Informática
>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>>>> Campus de Gualtar
>>>>>>>> Braga
>>>>>>>> Telefone: +351 253 6044 86
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>
>>>>>> --
>>>>>> António Aragão
>>>>>> (Especialista de Informática)
>>>>>> Universidade do Minho
>>>>>> Departamento de Informática
>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>> Campus de Gualtar
>>>>>> Braga
>>>>>> Telefone: +351 253 6044 86
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>> --
>>>> António Aragão
>>>> (Especialista de Informática)
>>>> Universidade do Minho
>>>> Departamento de Informática
>>>> Edificio 7 - 1.07 (DI-1.03)
>>>> Campus de Gualtar
>>>> Braga
>>>> Telefone: +351 253 6044 86
>>>>
>>>>
>>>>
>>>
>>> --
>>> António Aragão
>>> (Especialista de Informática)
>>> Universidade do Minho
>>> Departamento de Informática
>>> Edificio 7 - 1.07 (DI-1.03)
>>> Campus de Gualtar
>>> Braga
>>> Telefone: +351 253 6044 86
>>>
>>>
>>>
>
> --
> António Aragão
> (Especialista de Informática)
> Universidade do Minho
> Departamento de Informática
> Edificio 7 - 1.07 (DI-1.03)
> Campus de Gualtar
> Braga
> Telefone: +351 253 6044 86
>
>
>

Re: PROBLEM -- vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596

Posted by António Aragão <aa...@di.uminho.pt>.
CentOS 6.10 32bits.

Mike Jennings <gm...@ncsu.edu> escreveu no dia terça, 6/08/2019 à(s)
13:56:

> Can you let me know what operating system you are currently using?
>
> Mike
>
> On Tue, Aug 6, 2019 at 5:04 AM António Aragão <aa...@di.uminho.pt>
> wrote:
>
>> Hello,
>>
>> I upgrade perl version and now is 5.16.3, I'm unable to do any
>> reservation and the vcld.log keeps logging:
>>
>>
>> |15431|||vcld|vcld:warning_handler|646| ---- WARNING ----
>> |15431|||vcld|vcld:warning_handler|646| 2019-08-06
>> 10:00:14|15431|||vcld|vcld:warning_handler|646|Use of uninitialized value
>> $reservation_id in concatenation (.) or string at /usr/local/vcl/bin/vcld
>> line 541.
>> |15431|||vcld|vcld:warning_handler|646| ( 0) vcld, warning_handler (line:
>> 646)
>> |15431|||vcld|vcld:warning_handler|646| (-1) vcld, make_new_child (line:
>> 541)
>> |15431|||vcld|vcld:warning_handler|646| (-2) vcld, main (line: 454)
>>
>> 2019-08-06 10:00:14|15431|||vcld|vcld:make_new_child|541|created child
>> process 15595 for reservation , state: blockrequest, current number of
>> forked kids: 1
>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:rename_vcld_process|6139|renamed
>> process to 'vcld 37:249 'teste''
>> 2019-08-06 10:00:14|15595|37||blockrequest|vcld:make_new_child|589|loaded
>> VCL::blockrequest module
>> 2019-08-06
>> 10:00:14|15595|37||blockrequest|Module.pm:new|188|VCL::blockrequest object
>> created for state available, address: a5a7e98
>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:initialize|84|obtained
>> a database handle for this state process, stored as $ENV{dbh}
>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:rename_vcld_process|6139|renamed
>> process to 'vcld 37:249 'teste''
>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:initialize|94|returning
>> 1
>> 2019-08-06
>> 10:00:14|15595|37||blockrequest|vcld:make_new_child|598|VCL::blockrequest
>> object created and initialized
>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:get_user_info|6696|UID
>> value is not configured for admin@Local, setting UID=501, setting
>> FEDERATED_LINUX_AUTHENTICATION=0
>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2191|database
>> requested (information_schema) does not match handle stored in $ENV{dbh}
>> (vcl:192.168.93.1)
>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2242|database
>> handle stored in $ENV{dbh}
>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2191|database
>> requested (vcl) does not match handle stored in $ENV{dbh}
>> (information_schema:192.168.93.1)
>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2242|database
>> handle stored in $ENV{dbh}
>> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:get_image_active_directory_domain_info|14622|image
>> 133 is not configured for Active Directory
>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|159|blockrequest
>> id: 37
>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|160|blockrequest
>> mode: expire
>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|161|blockrequest
>> image id: 133
>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|162|blockrequest
>> number machines: 10
>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|163|blockrequest
>> expire: 2019-08-02 23:59:59
>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|164|blocktime
>> id: 249
>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|165|blocktime
>> processed: 1
>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|166|blocktime
>> start: 2019-08-02 08:30:00
>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|167|owner
>> email: aaragao@di.uminho.pt
>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|168|help
>> address: divcl@di.uminho.pt
>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|326|Block
>> Request 37 has expired
>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|327|Updated
>> status of blockRequest id 37 to completed
>> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|337|Removed
>> processing flag on blockrequest_id 37
>> 2019-08-06
>> 10:00:14|15595|37||blockrequest|State.pm:DESTROY|1093|VCL::blockrequest
>> destructor called, address: a5a7e98
>> 2019-08-06
>> 10:00:14|15595|37||blockrequest|Module.pm:DESTROY|2391|destroying
>> VCL::blockrequest object, address: a5a7e98
>> 2019-08-06 10:00:15|15431|||vcld|vcld:REAPER|758|VCL process exited for
>> reservation <unknown>, PID: 15595, signal: CHLD
>>
>> Any clue ? I even try to reload a new image but it doesn't work.
>>
>> Thanks.
>>
>>
>> António Aragão <aa...@di.uminho.pt> escreveu no dia sexta, 2/08/2019
>> à(s) 16:36:
>>
>>> Thanks Mike. I will upgrade perl version and will try.
>>>
>>> Thanks.
>>>
>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia sexta, 2/08/2019 à(s)
>>> 16:24:
>>>
>>>> I would suggest upgrading perl to be version 5.16.3 to see if that
>>>> works.  I don't get the errors you are seeing with that version.
>>>>
>>>> Mike
>>>>
>>>> On Fri, Aug 2, 2019 at 10:02 AM António Aragão <aa...@di.uminho.pt>
>>>> wrote:
>>>>
>>>>> Mike,
>>>>>
>>>>> it is v5.10.1.
>>>>>
>>>>> Thanks.
>>>>>
>>>>> [root@vclnode1 ~]# perl -v
>>>>>
>>>>> This is perl, v5.10.1 (*) built for i386-linux-thread-multi
>>>>>
>>>>> Copyright 1987-2009, Larry Wall
>>>>>
>>>>> Perl may be copied only under the terms of either the Artistic License
>>>>> or the
>>>>> GNU General Public License, which may be found in the Perl 5 source
>>>>> kit.
>>>>>
>>>>> Complete documentation for Perl, including FAQ lists, should be found
>>>>> on
>>>>> this system using "man perl" or "perldoc perl".  If you have access to
>>>>> the
>>>>> Internet, point your browser at http://www.perl.org/, the Perl Home
>>>>> Page.
>>>>>
>>>>> [root@vclnode1 ~]#
>>>>>
>>>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia sexta, 2/08/2019
>>>>> à(s) 14:49:
>>>>>
>>>>>> Antonio,
>>>>>>
>>>>>> What version of perl are you running on your system?
>>>>>>
>>>>>> Mike
>>>>>>
>>>>>> On Fri, Aug 2, 2019 at 6:28 AM António Aragão <aa...@di.uminho.pt>
>>>>>> wrote:
>>>>>>
>>>>>>> Good morning,
>>>>>>>
>>>>>>> a example of trying to make a reservation.
>>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>> António Aragão <aa...@di.uminho.pt> escreveu no dia sexta,
>>>>>>> 2/08/2019 à(s) 10:58:
>>>>>>>
>>>>>>>> Good morning,
>>>>>>>>
>>>>>>>> after I upgraded from 2.5 to 2.5.1 I'm unable to use any
>>>>>>>> reservation. Looking to the vcld.log a lots for perl errors. Any clue ? I
>>>>>>>> attach the output file for:  /usr/local/vcl/bin/
>>>>>>>> install_perl_libs.pl
>>>>>>>>
>>>>>>>> Thanks.
>>>>>>>>
>>>>>>>> ---------- Forwarded message ---------
>>>>>>>> De: <ro...@vclnode1.apachevcl.di.uminho.pt>
>>>>>>>> Date: quinta, 1/08/2019 à(s) 08:35
>>>>>>>> Subject: PROBLEM --
>>>>>>>> vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596
>>>>>>>> To: <aa...@di.uminho.pt>
>>>>>>>>
>>>>>>>>
>>>>>>>> reservation failed on mv76, process failed to initialize: failed to
>>>>>>>> create OS object
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>> time: 2019-08-01 08:30:22
>>>>>>>> caller: State.pm:reservation_failed(461)
>>>>>>>> ( 0) State.pm, reservation_failed (line: 461)
>>>>>>>> (-1) State.pm, initialize (line: 170)
>>>>>>>> (-2) Module.pm, new (line: 228)
>>>>>>>> (-3) vcld, (eval) (line: 594)
>>>>>>>> (-4) vcld, make_new_child (line: 593)
>>>>>>>> (-5) vcld, main (line: 353)
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>> management node: vclnode1.apachevcl.di.uminho.pt
>>>>>>>> reservation PID: 5308
>>>>>>>> parent vcld PID: 21274
>>>>>>>>
>>>>>>>> request ID: 870
>>>>>>>> reservation ID: 870
>>>>>>>> request state/laststate: new/new
>>>>>>>> request start time: 2019-08-01 08:30:00
>>>>>>>> request end time: 2019-08-01 12:30:00
>>>>>>>> for imaging: no
>>>>>>>> log ID: 729
>>>>>>>>
>>>>>>>> computer: mv76.apachevcl.di.uminho.pt
>>>>>>>> computer id: 135
>>>>>>>> computer type: virtualmachine
>>>>>>>> computer eth0 MAC address: 00:50:56:00:03:1e
>>>>>>>> computer eth1 MAC address: 00:50:56:00:03:1f
>>>>>>>> computer private IP address: 10.100.0.76
>>>>>>>> computer public IP address: 192.168.93.76
>>>>>>>> computer in block allocation: no
>>>>>>>> provisioning module: VCL::Module::Provisioning::VMware::VMware
>>>>>>>>
>>>>>>>> vm host: servidor13.di.uminho.pt
>>>>>>>> vm host ID: 4
>>>>>>>> vm host computer ID: 160
>>>>>>>> vm profile: s13vmhostprofile
>>>>>>>> vm profile VM path: /vmfs/volumes/IFT-block1/
>>>>>>>> vm profile repository path: /vmfs/volumes/vcl_images/
>>>>>>>> vm profile datastore path: /vmfs/volumes/IFT-block1/
>>>>>>>> vm profile disk type: shared
>>>>>>>>
>>>>>>>> image: vmwarewin7-WIN7_20190617133-v0
>>>>>>>> image display name: WIN7_20190617
>>>>>>>> image ID: 133
>>>>>>>> image revision ID: 133
>>>>>>>> image size: 48022 MB
>>>>>>>> use Sysprep: yes
>>>>>>>> root access: yes
>>>>>>>> image owner ID: 1
>>>>>>>> image owner affiliation: Local
>>>>>>>> image revision date created: 2019-06-17 16:17:33
>>>>>>>> image revision production: yes
>>>>>>>> OS module: VCL::Module::OS::Windows::Version_6::7
>>>>>>>>
>>>>>>>> user: a12596
>>>>>>>> user name:
>>>>>>>> user ID: 10
>>>>>>>> user affiliation: DIALUNOSLDAP
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>> RECENT LOG ENTRIES FOR THIS PROCESS:
>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|vcld:make_new_child|571|vcld
>>>>>>>> environment variable set to 0 for this process
>>>>>>>> 2019-08-01
>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this
>>>>>>>> is the parent reservation
>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6112|reservation
>>>>>>>> count: 1
>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6139|renamed
>>>>>>>> process to 'vcld '|5308|870|870|new|' mv76>servidor13
>>>>>>>> vmwarewin7-WIN7_20190617133-v0 a12596'
>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|vcld:make_new_child|589|loaded
>>>>>>>> VCL::new module
>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|Module.pm:new|188|VCL::new
>>>>>>>> object created for state new, address: b10a268
>>>>>>>> 2019-08-01
>>>>>>>> 08:30:22|5308|870|870|new|State.pm:initialize|86|initializing
>>>>>>>> VCL::Module::State object
>>>>>>>> 2019-08-01
>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this
>>>>>>>> is the parent reservation
>>>>>>>> 2019-08-01
>>>>>>>> 08:30:22|5308|870|870|new|State.pm:initialize|103|obtained a database
>>>>>>>> handle for this state process, stored as $ENV{dbh}
>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_reservation_lastcheck|5499|updated
>>>>>>>> reservation.lastcheck to '2019-08-01 08:30:22' for reservation IDs: 870
>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_request_state|1439|request
>>>>>>>> 870 state updated to pending/new
>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| ---- WARNING ----
>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| 2019-08-01
>>>>>>>> 08:30:22|5308|870|870|new|Module.pm:create_os_object|446|VCL::Module::OS::Windows::Version_6::7
>>>>>>>> module could not be loaded, error:
>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| CORE::state is
>>>>>>>> not a keyword at /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows.pm
>>>>>>>> line 14683.
>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation
>>>>>>>> failed in require at (eval 382) line 3.
>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|  ...propagated at
>>>>>>>> /usr/share/perl5/base.pm line 94.
>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>>>>> failed--compilation aborted at
>>>>>>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6.pm line 45.
>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation
>>>>>>>> failed in require at (eval 381) line 3.
>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|  ...propagated at
>>>>>>>> /usr/share/perl5/base.pm line 94.
>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>>>>> failed--compilation aborted at
>>>>>>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6/
>>>>>>>> 7.pm line 43.
>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation
>>>>>>>> failed in require at (eval 380) line 2.
>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>>>>> failed--compilation aborted at (eval 380) line 2.
>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| ( 0) Module.pm,
>>>>>>>> create_os_object (line: 446)
>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-1) State.pm,
>>>>>>>> initialize (line: 166)
>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-2) Module.pm,
>>>>>>>> new (line: 228)
>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-3) vcld, (eval)
>>>>>>>> (line: 594)
>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-4) vcld,
>>>>>>>> make_new_child (line: 593)
>>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-5) vcld, main
>>>>>>>> (line: 353)
>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>> ---- WARNING ----
>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>> 2019-08-01
>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|2
>>>>>>>> rows were returned from database select
>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (
>>>>>>>> 0) DataStructure.pm, get_computer_state_name (line: 2083)
>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>> (-1) State.pm, reservation_failed (line: 404)
>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>> (-2) State.pm, initialize (line: 170)
>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>> (-3) Module.pm, new (line: 228)
>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>> (-4) vcld, (eval) (line: 594)
>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>> (-5) vcld, make_new_child (line: 593)
>>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>>> (-6) vcld, main (line: 353)
>>>>>>>> 2019-08-01
>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_private_ip_address|1596|returning
>>>>>>>> private IP address of mv76.apachevcl.di.uminho.pt (135) already
>>>>>>>> stored in this DataStructure object: 10.100.0.76
>>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:is_inblockrequest|4926|zero
>>>>>>>> rows were returned from database select
>>>>>>>> 2019-08-01
>>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_image_affiliation_name|1704|image
>>>>>>>> owner id: 1
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> António Aragão
>>>>>>>> (Especialista de Informática)
>>>>>>>> Universidade do Minho
>>>>>>>> Departamento de Informática
>>>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>>>> Campus de Gualtar
>>>>>>>> Braga
>>>>>>>> Telefone: +351 253 6044 86
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> António Aragão
>>>>>>> (Especialista de Informática)
>>>>>>> Universidade do Minho
>>>>>>> Departamento de Informática
>>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>>> Campus de Gualtar
>>>>>>> Braga
>>>>>>> Telefone: +351 253 6044 86
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>
>>>>> --
>>>>> António Aragão
>>>>> (Especialista de Informática)
>>>>> Universidade do Minho
>>>>> Departamento de Informática
>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>> Campus de Gualtar
>>>>> Braga
>>>>> Telefone: +351 253 6044 86
>>>>>
>>>>>
>>>>>
>>>
>>> --
>>> António Aragão
>>> (Especialista de Informática)
>>> Universidade do Minho
>>> Departamento de Informática
>>> Edificio 7 - 1.07 (DI-1.03)
>>> Campus de Gualtar
>>> Braga
>>> Telefone: +351 253 6044 86
>>>
>>>
>>>
>>
>> --
>> António Aragão
>> (Especialista de Informática)
>> Universidade do Minho
>> Departamento de Informática
>> Edificio 7 - 1.07 (DI-1.03)
>> Campus de Gualtar
>> Braga
>> Telefone: +351 253 6044 86
>>
>>
>>

-- 
António Aragão
(Especialista de Informática)
Universidade do Minho
Departamento de Informática
Edificio 7 - 1.07 (DI-1.03)
Campus de Gualtar
Braga
Telefone: +351 253 6044 86

Re: PROBLEM -- vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596

Posted by Mike Jennings <gm...@ncsu.edu>.
Can you let me know what operating system you are currently using?

Mike

On Tue, Aug 6, 2019 at 5:04 AM António Aragão <aa...@di.uminho.pt> wrote:

> Hello,
>
> I upgrade perl version and now is 5.16.3, I'm unable to do any reservation
> and the vcld.log keeps logging:
>
>
> |15431|||vcld|vcld:warning_handler|646| ---- WARNING ----
> |15431|||vcld|vcld:warning_handler|646| 2019-08-06
> 10:00:14|15431|||vcld|vcld:warning_handler|646|Use of uninitialized value
> $reservation_id in concatenation (.) or string at /usr/local/vcl/bin/vcld
> line 541.
> |15431|||vcld|vcld:warning_handler|646| ( 0) vcld, warning_handler (line:
> 646)
> |15431|||vcld|vcld:warning_handler|646| (-1) vcld, make_new_child (line:
> 541)
> |15431|||vcld|vcld:warning_handler|646| (-2) vcld, main (line: 454)
>
> 2019-08-06 10:00:14|15431|||vcld|vcld:make_new_child|541|created child
> process 15595 for reservation , state: blockrequest, current number of
> forked kids: 1
> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:rename_vcld_process|6139|renamed
> process to 'vcld 37:249 'teste''
> 2019-08-06 10:00:14|15595|37||blockrequest|vcld:make_new_child|589|loaded
> VCL::blockrequest module
> 2019-08-06
> 10:00:14|15595|37||blockrequest|Module.pm:new|188|VCL::blockrequest object
> created for state available, address: a5a7e98
> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:initialize|84|obtained
> a database handle for this state process, stored as $ENV{dbh}
> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:rename_vcld_process|6139|renamed
> process to 'vcld 37:249 'teste''
> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:initialize|94|returning
> 1
> 2019-08-06
> 10:00:14|15595|37||blockrequest|vcld:make_new_child|598|VCL::blockrequest
> object created and initialized
> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:get_user_info|6696|UID
> value is not configured for admin@Local, setting UID=501, setting
> FEDERATED_LINUX_AUTHENTICATION=0
> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2191|database
> requested (information_schema) does not match handle stored in $ENV{dbh}
> (vcl:192.168.93.1)
> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2242|database
> handle stored in $ENV{dbh}
> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2191|database
> requested (vcl) does not match handle stored in $ENV{dbh}
> (information_schema:192.168.93.1)
> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2242|database
> handle stored in $ENV{dbh}
> 2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:get_image_active_directory_domain_info|14622|image
> 133 is not configured for Active Directory
> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|159|blockrequest
> id: 37
> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|160|blockrequest
> mode: expire
> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|161|blockrequest
> image id: 133
> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|162|blockrequest
> number machines: 10
> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|163|blockrequest
> expire: 2019-08-02 23:59:59
> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|164|blocktime
> id: 249
> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|165|blocktime
> processed: 1
> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|166|blocktime
> start: 2019-08-02 08:30:00
> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|167|owner
> email: aaragao@di.uminho.pt
> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|168|help
> address: divcl@di.uminho.pt
> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|326|Block
> Request 37 has expired
> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|327|Updated
> status of blockRequest id 37 to completed
> 2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|337|Removed
> processing flag on blockrequest_id 37
> 2019-08-06
> 10:00:14|15595|37||blockrequest|State.pm:DESTROY|1093|VCL::blockrequest
> destructor called, address: a5a7e98
> 2019-08-06
> 10:00:14|15595|37||blockrequest|Module.pm:DESTROY|2391|destroying
> VCL::blockrequest object, address: a5a7e98
> 2019-08-06 10:00:15|15431|||vcld|vcld:REAPER|758|VCL process exited for
> reservation <unknown>, PID: 15595, signal: CHLD
>
> Any clue ? I even try to reload a new image but it doesn't work.
>
> Thanks.
>
>
> António Aragão <aa...@di.uminho.pt> escreveu no dia sexta, 2/08/2019
> à(s) 16:36:
>
>> Thanks Mike. I will upgrade perl version and will try.
>>
>> Thanks.
>>
>> Mike Jennings <gm...@ncsu.edu> escreveu no dia sexta, 2/08/2019 à(s)
>> 16:24:
>>
>>> I would suggest upgrading perl to be version 5.16.3 to see if that
>>> works.  I don't get the errors you are seeing with that version.
>>>
>>> Mike
>>>
>>> On Fri, Aug 2, 2019 at 10:02 AM António Aragão <aa...@di.uminho.pt>
>>> wrote:
>>>
>>>> Mike,
>>>>
>>>> it is v5.10.1.
>>>>
>>>> Thanks.
>>>>
>>>> [root@vclnode1 ~]# perl -v
>>>>
>>>> This is perl, v5.10.1 (*) built for i386-linux-thread-multi
>>>>
>>>> Copyright 1987-2009, Larry Wall
>>>>
>>>> Perl may be copied only under the terms of either the Artistic License
>>>> or the
>>>> GNU General Public License, which may be found in the Perl 5 source kit.
>>>>
>>>> Complete documentation for Perl, including FAQ lists, should be found on
>>>> this system using "man perl" or "perldoc perl".  If you have access to
>>>> the
>>>> Internet, point your browser at http://www.perl.org/, the Perl Home
>>>> Page.
>>>>
>>>> [root@vclnode1 ~]#
>>>>
>>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia sexta, 2/08/2019
>>>> à(s) 14:49:
>>>>
>>>>> Antonio,
>>>>>
>>>>> What version of perl are you running on your system?
>>>>>
>>>>> Mike
>>>>>
>>>>> On Fri, Aug 2, 2019 at 6:28 AM António Aragão <aa...@di.uminho.pt>
>>>>> wrote:
>>>>>
>>>>>> Good morning,
>>>>>>
>>>>>> a example of trying to make a reservation.
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>> António Aragão <aa...@di.uminho.pt> escreveu no dia sexta,
>>>>>> 2/08/2019 à(s) 10:58:
>>>>>>
>>>>>>> Good morning,
>>>>>>>
>>>>>>> after I upgraded from 2.5 to 2.5.1 I'm unable to use any
>>>>>>> reservation. Looking to the vcld.log a lots for perl errors. Any clue ? I
>>>>>>> attach the output file for:  /usr/local/vcl/bin/install_perl_libs.pl
>>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>> ---------- Forwarded message ---------
>>>>>>> De: <ro...@vclnode1.apachevcl.di.uminho.pt>
>>>>>>> Date: quinta, 1/08/2019 à(s) 08:35
>>>>>>> Subject: PROBLEM --
>>>>>>> vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596
>>>>>>> To: <aa...@di.uminho.pt>
>>>>>>>
>>>>>>>
>>>>>>> reservation failed on mv76, process failed to initialize: failed to
>>>>>>> create OS object
>>>>>>>
>>>>>>> ------------------------------------------------------------------------
>>>>>>> time: 2019-08-01 08:30:22
>>>>>>> caller: State.pm:reservation_failed(461)
>>>>>>> ( 0) State.pm, reservation_failed (line: 461)
>>>>>>> (-1) State.pm, initialize (line: 170)
>>>>>>> (-2) Module.pm, new (line: 228)
>>>>>>> (-3) vcld, (eval) (line: 594)
>>>>>>> (-4) vcld, make_new_child (line: 593)
>>>>>>> (-5) vcld, main (line: 353)
>>>>>>>
>>>>>>> ------------------------------------------------------------------------
>>>>>>> management node: vclnode1.apachevcl.di.uminho.pt
>>>>>>> reservation PID: 5308
>>>>>>> parent vcld PID: 21274
>>>>>>>
>>>>>>> request ID: 870
>>>>>>> reservation ID: 870
>>>>>>> request state/laststate: new/new
>>>>>>> request start time: 2019-08-01 08:30:00
>>>>>>> request end time: 2019-08-01 12:30:00
>>>>>>> for imaging: no
>>>>>>> log ID: 729
>>>>>>>
>>>>>>> computer: mv76.apachevcl.di.uminho.pt
>>>>>>> computer id: 135
>>>>>>> computer type: virtualmachine
>>>>>>> computer eth0 MAC address: 00:50:56:00:03:1e
>>>>>>> computer eth1 MAC address: 00:50:56:00:03:1f
>>>>>>> computer private IP address: 10.100.0.76
>>>>>>> computer public IP address: 192.168.93.76
>>>>>>> computer in block allocation: no
>>>>>>> provisioning module: VCL::Module::Provisioning::VMware::VMware
>>>>>>>
>>>>>>> vm host: servidor13.di.uminho.pt
>>>>>>> vm host ID: 4
>>>>>>> vm host computer ID: 160
>>>>>>> vm profile: s13vmhostprofile
>>>>>>> vm profile VM path: /vmfs/volumes/IFT-block1/
>>>>>>> vm profile repository path: /vmfs/volumes/vcl_images/
>>>>>>> vm profile datastore path: /vmfs/volumes/IFT-block1/
>>>>>>> vm profile disk type: shared
>>>>>>>
>>>>>>> image: vmwarewin7-WIN7_20190617133-v0
>>>>>>> image display name: WIN7_20190617
>>>>>>> image ID: 133
>>>>>>> image revision ID: 133
>>>>>>> image size: 48022 MB
>>>>>>> use Sysprep: yes
>>>>>>> root access: yes
>>>>>>> image owner ID: 1
>>>>>>> image owner affiliation: Local
>>>>>>> image revision date created: 2019-06-17 16:17:33
>>>>>>> image revision production: yes
>>>>>>> OS module: VCL::Module::OS::Windows::Version_6::7
>>>>>>>
>>>>>>> user: a12596
>>>>>>> user name:
>>>>>>> user ID: 10
>>>>>>> user affiliation: DIALUNOSLDAP
>>>>>>>
>>>>>>> ------------------------------------------------------------------------
>>>>>>> RECENT LOG ENTRIES FOR THIS PROCESS:
>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|vcld:make_new_child|571|vcld
>>>>>>> environment variable set to 0 for this process
>>>>>>> 2019-08-01
>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this
>>>>>>> is the parent reservation
>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6112|reservation
>>>>>>> count: 1
>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6139|renamed
>>>>>>> process to 'vcld '|5308|870|870|new|' mv76>servidor13
>>>>>>> vmwarewin7-WIN7_20190617133-v0 a12596'
>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|vcld:make_new_child|589|loaded
>>>>>>> VCL::new module
>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|Module.pm:new|188|VCL::new
>>>>>>> object created for state new, address: b10a268
>>>>>>> 2019-08-01
>>>>>>> 08:30:22|5308|870|870|new|State.pm:initialize|86|initializing
>>>>>>> VCL::Module::State object
>>>>>>> 2019-08-01
>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this
>>>>>>> is the parent reservation
>>>>>>> 2019-08-01
>>>>>>> 08:30:22|5308|870|870|new|State.pm:initialize|103|obtained a database
>>>>>>> handle for this state process, stored as $ENV{dbh}
>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_reservation_lastcheck|5499|updated
>>>>>>> reservation.lastcheck to '2019-08-01 08:30:22' for reservation IDs: 870
>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_request_state|1439|request
>>>>>>> 870 state updated to pending/new
>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| ---- WARNING ----
>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| 2019-08-01
>>>>>>> 08:30:22|5308|870|870|new|Module.pm:create_os_object|446|VCL::Module::OS::Windows::Version_6::7
>>>>>>> module could not be loaded, error:
>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| CORE::state is not
>>>>>>> a keyword at /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows.pm line
>>>>>>> 14683.
>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation failed
>>>>>>> in require at (eval 382) line 3.
>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|  ...propagated at
>>>>>>> /usr/share/perl5/base.pm line 94.
>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>>>> failed--compilation aborted at
>>>>>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6.pm line 45.
>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation failed
>>>>>>> in require at (eval 381) line 3.
>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|  ...propagated at
>>>>>>> /usr/share/perl5/base.pm line 94.
>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>>>> failed--compilation aborted at
>>>>>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6/7.pm
>>>>>>> line 43.
>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation failed
>>>>>>> in require at (eval 380) line 2.
>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>>>> failed--compilation aborted at (eval 380) line 2.
>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| ( 0) Module.pm,
>>>>>>> create_os_object (line: 446)
>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-1) State.pm,
>>>>>>> initialize (line: 166)
>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-2) Module.pm,
>>>>>>> new (line: 228)
>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-3) vcld, (eval)
>>>>>>> (line: 594)
>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-4) vcld,
>>>>>>> make_new_child (line: 593)
>>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-5) vcld, main
>>>>>>> (line: 353)
>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>> ---- WARNING ----
>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>> 2019-08-01
>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|2
>>>>>>> rows were returned from database select
>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (
>>>>>>> 0) DataStructure.pm, get_computer_state_name (line: 2083)
>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>> (-1) State.pm, reservation_failed (line: 404)
>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>> (-2) State.pm, initialize (line: 170)
>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>> (-3) Module.pm, new (line: 228)
>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>> (-4) vcld, (eval) (line: 594)
>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>> (-5) vcld, make_new_child (line: 593)
>>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>>> (-6) vcld, main (line: 353)
>>>>>>> 2019-08-01
>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_private_ip_address|1596|returning
>>>>>>> private IP address of mv76.apachevcl.di.uminho.pt (135) already
>>>>>>> stored in this DataStructure object: 10.100.0.76
>>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:is_inblockrequest|4926|zero
>>>>>>> rows were returned from database select
>>>>>>> 2019-08-01
>>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_image_affiliation_name|1704|image
>>>>>>> owner id: 1
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> António Aragão
>>>>>>> (Especialista de Informática)
>>>>>>> Universidade do Minho
>>>>>>> Departamento de Informática
>>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>>> Campus de Gualtar
>>>>>>> Braga
>>>>>>> Telefone: +351 253 6044 86
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> António Aragão
>>>>>> (Especialista de Informática)
>>>>>> Universidade do Minho
>>>>>> Departamento de Informática
>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>> Campus de Gualtar
>>>>>> Braga
>>>>>> Telefone: +351 253 6044 86
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>> --
>>>> António Aragão
>>>> (Especialista de Informática)
>>>> Universidade do Minho
>>>> Departamento de Informática
>>>> Edificio 7 - 1.07 (DI-1.03)
>>>> Campus de Gualtar
>>>> Braga
>>>> Telefone: +351 253 6044 86
>>>>
>>>>
>>>>
>>
>> --
>> António Aragão
>> (Especialista de Informática)
>> Universidade do Minho
>> Departamento de Informática
>> Edificio 7 - 1.07 (DI-1.03)
>> Campus de Gualtar
>> Braga
>> Telefone: +351 253 6044 86
>>
>>
>>
>
> --
> António Aragão
> (Especialista de Informática)
> Universidade do Minho
> Departamento de Informática
> Edificio 7 - 1.07 (DI-1.03)
> Campus de Gualtar
> Braga
> Telefone: +351 253 6044 86
>
>
>

Re: PROBLEM -- vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596

Posted by António Aragão <aa...@di.uminho.pt>.
Hello,

I upgrade perl version and now is 5.16.3, I'm unable to do any reservation
and the vcld.log keeps logging:


|15431|||vcld|vcld:warning_handler|646| ---- WARNING ----
|15431|||vcld|vcld:warning_handler|646| 2019-08-06
10:00:14|15431|||vcld|vcld:warning_handler|646|Use of uninitialized value
$reservation_id in concatenation (.) or string at /usr/local/vcl/bin/vcld
line 541.
|15431|||vcld|vcld:warning_handler|646| ( 0) vcld, warning_handler (line:
646)
|15431|||vcld|vcld:warning_handler|646| (-1) vcld, make_new_child (line:
541)
|15431|||vcld|vcld:warning_handler|646| (-2) vcld, main (line: 454)

2019-08-06 10:00:14|15431|||vcld|vcld:make_new_child|541|created child
process 15595 for reservation , state: blockrequest, current number of
forked kids: 1
2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:rename_vcld_process|6139|renamed
process to 'vcld 37:249 'teste''
2019-08-06 10:00:14|15595|37||blockrequest|vcld:make_new_child|589|loaded
VCL::blockrequest module
2019-08-06
10:00:14|15595|37||blockrequest|Module.pm:new|188|VCL::blockrequest object
created for state available, address: a5a7e98
2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:initialize|84|obtained
a database handle for this state process, stored as $ENV{dbh}
2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:rename_vcld_process|6139|renamed
process to 'vcld 37:249 'teste''
2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:initialize|94|returning
1
2019-08-06
10:00:14|15595|37||blockrequest|vcld:make_new_child|598|VCL::blockrequest
object created and initialized
2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:get_user_info|6696|UID
value is not configured for admin@Local, setting UID=501, setting
FEDERATED_LINUX_AUTHENTICATION=0
2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2191|database
requested (information_schema) does not match handle stored in $ENV{dbh}
(vcl:192.168.93.1)
2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2242|database
handle stored in $ENV{dbh}
2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2191|database
requested (vcl) does not match handle stored in $ENV{dbh}
(information_schema:192.168.93.1)
2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:getnewdbh|2242|database
handle stored in $ENV{dbh}
2019-08-06 10:00:14|15595|37||blockrequest|utils.pm:get_image_active_directory_domain_info|14622|image
133 is not configured for Active Directory
2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|159|blockrequest
id: 37
2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|160|blockrequest
mode: expire
2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|161|blockrequest
image id: 133
2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|162|blockrequest
number machines: 10
2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|163|blockrequest
expire: 2019-08-02 23:59:59
2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|164|blocktime
id: 249
2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|165|blocktime
processed: 1
2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|166|blocktime
start: 2019-08-02 08:30:00
2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|167|owner
email: aaragao@di.uminho.pt
2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|168|help
address: divcl@di.uminho.pt
2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|326|Block
Request 37 has expired
2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|327|Updated
status of blockRequest id 37 to completed
2019-08-06 10:00:14|15595|37||blockrequest|blockrequest.pm:process|337|Removed
processing flag on blockrequest_id 37
2019-08-06
10:00:14|15595|37||blockrequest|State.pm:DESTROY|1093|VCL::blockrequest
destructor called, address: a5a7e98
2019-08-06
10:00:14|15595|37||blockrequest|Module.pm:DESTROY|2391|destroying
VCL::blockrequest object, address: a5a7e98
2019-08-06 10:00:15|15431|||vcld|vcld:REAPER|758|VCL process exited for
reservation <unknown>, PID: 15595, signal: CHLD

Any clue ? I even try to reload a new image but it doesn't work.

Thanks.


António Aragão <aa...@di.uminho.pt> escreveu no dia sexta, 2/08/2019 à(s)
16:36:

> Thanks Mike. I will upgrade perl version and will try.
>
> Thanks.
>
> Mike Jennings <gm...@ncsu.edu> escreveu no dia sexta, 2/08/2019 à(s)
> 16:24:
>
>> I would suggest upgrading perl to be version 5.16.3 to see if that
>> works.  I don't get the errors you are seeing with that version.
>>
>> Mike
>>
>> On Fri, Aug 2, 2019 at 10:02 AM António Aragão <aa...@di.uminho.pt>
>> wrote:
>>
>>> Mike,
>>>
>>> it is v5.10.1.
>>>
>>> Thanks.
>>>
>>> [root@vclnode1 ~]# perl -v
>>>
>>> This is perl, v5.10.1 (*) built for i386-linux-thread-multi
>>>
>>> Copyright 1987-2009, Larry Wall
>>>
>>> Perl may be copied only under the terms of either the Artistic License
>>> or the
>>> GNU General Public License, which may be found in the Perl 5 source kit.
>>>
>>> Complete documentation for Perl, including FAQ lists, should be found on
>>> this system using "man perl" or "perldoc perl".  If you have access to
>>> the
>>> Internet, point your browser at http://www.perl.org/, the Perl Home
>>> Page.
>>>
>>> [root@vclnode1 ~]#
>>>
>>> Mike Jennings <gm...@ncsu.edu> escreveu no dia sexta, 2/08/2019 à(s)
>>> 14:49:
>>>
>>>> Antonio,
>>>>
>>>> What version of perl are you running on your system?
>>>>
>>>> Mike
>>>>
>>>> On Fri, Aug 2, 2019 at 6:28 AM António Aragão <aa...@di.uminho.pt>
>>>> wrote:
>>>>
>>>>> Good morning,
>>>>>
>>>>> a example of trying to make a reservation.
>>>>>
>>>>> Thanks.
>>>>>
>>>>> António Aragão <aa...@di.uminho.pt> escreveu no dia sexta,
>>>>> 2/08/2019 à(s) 10:58:
>>>>>
>>>>>> Good morning,
>>>>>>
>>>>>> after I upgraded from 2.5 to 2.5.1 I'm unable to use any reservation.
>>>>>> Looking to the vcld.log a lots for perl errors. Any clue ? I attach the
>>>>>> output file for:  /usr/local/vcl/bin/install_perl_libs.pl
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>> ---------- Forwarded message ---------
>>>>>> De: <ro...@vclnode1.apachevcl.di.uminho.pt>
>>>>>> Date: quinta, 1/08/2019 à(s) 08:35
>>>>>> Subject: PROBLEM --
>>>>>> vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596
>>>>>> To: <aa...@di.uminho.pt>
>>>>>>
>>>>>>
>>>>>> reservation failed on mv76, process failed to initialize: failed to
>>>>>> create OS object
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>> time: 2019-08-01 08:30:22
>>>>>> caller: State.pm:reservation_failed(461)
>>>>>> ( 0) State.pm, reservation_failed (line: 461)
>>>>>> (-1) State.pm, initialize (line: 170)
>>>>>> (-2) Module.pm, new (line: 228)
>>>>>> (-3) vcld, (eval) (line: 594)
>>>>>> (-4) vcld, make_new_child (line: 593)
>>>>>> (-5) vcld, main (line: 353)
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>> management node: vclnode1.apachevcl.di.uminho.pt
>>>>>> reservation PID: 5308
>>>>>> parent vcld PID: 21274
>>>>>>
>>>>>> request ID: 870
>>>>>> reservation ID: 870
>>>>>> request state/laststate: new/new
>>>>>> request start time: 2019-08-01 08:30:00
>>>>>> request end time: 2019-08-01 12:30:00
>>>>>> for imaging: no
>>>>>> log ID: 729
>>>>>>
>>>>>> computer: mv76.apachevcl.di.uminho.pt
>>>>>> computer id: 135
>>>>>> computer type: virtualmachine
>>>>>> computer eth0 MAC address: 00:50:56:00:03:1e
>>>>>> computer eth1 MAC address: 00:50:56:00:03:1f
>>>>>> computer private IP address: 10.100.0.76
>>>>>> computer public IP address: 192.168.93.76
>>>>>> computer in block allocation: no
>>>>>> provisioning module: VCL::Module::Provisioning::VMware::VMware
>>>>>>
>>>>>> vm host: servidor13.di.uminho.pt
>>>>>> vm host ID: 4
>>>>>> vm host computer ID: 160
>>>>>> vm profile: s13vmhostprofile
>>>>>> vm profile VM path: /vmfs/volumes/IFT-block1/
>>>>>> vm profile repository path: /vmfs/volumes/vcl_images/
>>>>>> vm profile datastore path: /vmfs/volumes/IFT-block1/
>>>>>> vm profile disk type: shared
>>>>>>
>>>>>> image: vmwarewin7-WIN7_20190617133-v0
>>>>>> image display name: WIN7_20190617
>>>>>> image ID: 133
>>>>>> image revision ID: 133
>>>>>> image size: 48022 MB
>>>>>> use Sysprep: yes
>>>>>> root access: yes
>>>>>> image owner ID: 1
>>>>>> image owner affiliation: Local
>>>>>> image revision date created: 2019-06-17 16:17:33
>>>>>> image revision production: yes
>>>>>> OS module: VCL::Module::OS::Windows::Version_6::7
>>>>>>
>>>>>> user: a12596
>>>>>> user name:
>>>>>> user ID: 10
>>>>>> user affiliation: DIALUNOSLDAP
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>> RECENT LOG ENTRIES FOR THIS PROCESS:
>>>>>> 2019-08-01 08:30:22|5308|870|870|new|vcld:make_new_child|571|vcld
>>>>>> environment variable set to 0 for this process
>>>>>> 2019-08-01
>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this
>>>>>> is the parent reservation
>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6112|reservation
>>>>>> count: 1
>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6139|renamed
>>>>>> process to 'vcld '|5308|870|870|new|' mv76>servidor13
>>>>>> vmwarewin7-WIN7_20190617133-v0 a12596'
>>>>>> 2019-08-01 08:30:22|5308|870|870|new|vcld:make_new_child|589|loaded
>>>>>> VCL::new module
>>>>>> 2019-08-01 08:30:22|5308|870|870|new|Module.pm:new|188|VCL::new
>>>>>> object created for state new, address: b10a268
>>>>>> 2019-08-01
>>>>>> 08:30:22|5308|870|870|new|State.pm:initialize|86|initializing
>>>>>> VCL::Module::State object
>>>>>> 2019-08-01
>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this
>>>>>> is the parent reservation
>>>>>> 2019-08-01 08:30:22|5308|870|870|new|State.pm:initialize|103|obtained
>>>>>> a database handle for this state process, stored as $ENV{dbh}
>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_reservation_lastcheck|5499|updated
>>>>>> reservation.lastcheck to '2019-08-01 08:30:22' for reservation IDs: 870
>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_request_state|1439|request
>>>>>> 870 state updated to pending/new
>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| ---- WARNING ----
>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| 2019-08-01
>>>>>> 08:30:22|5308|870|870|new|Module.pm:create_os_object|446|VCL::Module::OS::Windows::Version_6::7
>>>>>> module could not be loaded, error:
>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| CORE::state is not
>>>>>> a keyword at /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows.pm line
>>>>>> 14683.
>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation failed
>>>>>> in require at (eval 382) line 3.
>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|  ...propagated at
>>>>>> /usr/share/perl5/base.pm line 94.
>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>>> failed--compilation aborted at
>>>>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6.pm line 45.
>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation failed
>>>>>> in require at (eval 381) line 3.
>>>>>> |5308|870|870|new|Module.pm:create_os_object|446|  ...propagated at
>>>>>> /usr/share/perl5/base.pm line 94.
>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>>> failed--compilation aborted at
>>>>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6/7.pm
>>>>>> line 43.
>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation failed
>>>>>> in require at (eval 380) line 2.
>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>>> failed--compilation aborted at (eval 380) line 2.
>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| ( 0) Module.pm,
>>>>>> create_os_object (line: 446)
>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-1) State.pm,
>>>>>> initialize (line: 166)
>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-2) Module.pm, new
>>>>>> (line: 228)
>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-3) vcld, (eval)
>>>>>> (line: 594)
>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-4) vcld,
>>>>>> make_new_child (line: 593)
>>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-5) vcld, main
>>>>>> (line: 353)
>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| ----
>>>>>> WARNING ----
>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>>> 2019-08-01
>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|2
>>>>>> rows were returned from database select
>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| ( 0)
>>>>>> DataStructure.pm, get_computer_state_name (line: 2083)
>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-1)
>>>>>> State.pm, reservation_failed (line: 404)
>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-2)
>>>>>> State.pm, initialize (line: 170)
>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-3)
>>>>>> Module.pm, new (line: 228)
>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-4)
>>>>>> vcld, (eval) (line: 594)
>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-5)
>>>>>> vcld, make_new_child (line: 593)
>>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-6)
>>>>>> vcld, main (line: 353)
>>>>>> 2019-08-01
>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_private_ip_address|1596|returning
>>>>>> private IP address of mv76.apachevcl.di.uminho.pt (135) already
>>>>>> stored in this DataStructure object: 10.100.0.76
>>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:is_inblockrequest|4926|zero
>>>>>> rows were returned from database select
>>>>>> 2019-08-01
>>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_image_affiliation_name|1704|image
>>>>>> owner id: 1
>>>>>>
>>>>>>
>>>>>> --
>>>>>> António Aragão
>>>>>> (Especialista de Informática)
>>>>>> Universidade do Minho
>>>>>> Departamento de Informática
>>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>>> Campus de Gualtar
>>>>>> Braga
>>>>>> Telefone: +351 253 6044 86
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> António Aragão
>>>>> (Especialista de Informática)
>>>>> Universidade do Minho
>>>>> Departamento de Informática
>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>> Campus de Gualtar
>>>>> Braga
>>>>> Telefone: +351 253 6044 86
>>>>>
>>>>>
>>>>>
>>>
>>> --
>>> António Aragão
>>> (Especialista de Informática)
>>> Universidade do Minho
>>> Departamento de Informática
>>> Edificio 7 - 1.07 (DI-1.03)
>>> Campus de Gualtar
>>> Braga
>>> Telefone: +351 253 6044 86
>>>
>>>
>>>
>
> --
> António Aragão
> (Especialista de Informática)
> Universidade do Minho
> Departamento de Informática
> Edificio 7 - 1.07 (DI-1.03)
> Campus de Gualtar
> Braga
> Telefone: +351 253 6044 86
>
>
>

-- 
António Aragão
(Especialista de Informática)
Universidade do Minho
Departamento de Informática
Edificio 7 - 1.07 (DI-1.03)
Campus de Gualtar
Braga
Telefone: +351 253 6044 86

Re: PROBLEM -- vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596

Posted by António Aragão <aa...@di.uminho.pt>.
Thanks Mike. I will upgrade perl version and will try.

Thanks.

Mike Jennings <gm...@ncsu.edu> escreveu no dia sexta, 2/08/2019 à(s)
16:24:

> I would suggest upgrading perl to be version 5.16.3 to see if that works.
> I don't get the errors you are seeing with that version.
>
> Mike
>
> On Fri, Aug 2, 2019 at 10:02 AM António Aragão <aa...@di.uminho.pt>
> wrote:
>
>> Mike,
>>
>> it is v5.10.1.
>>
>> Thanks.
>>
>> [root@vclnode1 ~]# perl -v
>>
>> This is perl, v5.10.1 (*) built for i386-linux-thread-multi
>>
>> Copyright 1987-2009, Larry Wall
>>
>> Perl may be copied only under the terms of either the Artistic License or
>> the
>> GNU General Public License, which may be found in the Perl 5 source kit.
>>
>> Complete documentation for Perl, including FAQ lists, should be found on
>> this system using "man perl" or "perldoc perl".  If you have access to the
>> Internet, point your browser at http://www.perl.org/, the Perl Home Page.
>>
>> [root@vclnode1 ~]#
>>
>> Mike Jennings <gm...@ncsu.edu> escreveu no dia sexta, 2/08/2019 à(s)
>> 14:49:
>>
>>> Antonio,
>>>
>>> What version of perl are you running on your system?
>>>
>>> Mike
>>>
>>> On Fri, Aug 2, 2019 at 6:28 AM António Aragão <aa...@di.uminho.pt>
>>> wrote:
>>>
>>>> Good morning,
>>>>
>>>> a example of trying to make a reservation.
>>>>
>>>> Thanks.
>>>>
>>>> António Aragão <aa...@di.uminho.pt> escreveu no dia sexta, 2/08/2019
>>>> à(s) 10:58:
>>>>
>>>>> Good morning,
>>>>>
>>>>> after I upgraded from 2.5 to 2.5.1 I'm unable to use any reservation.
>>>>> Looking to the vcld.log a lots for perl errors. Any clue ? I attach the
>>>>> output file for:  /usr/local/vcl/bin/install_perl_libs.pl
>>>>>
>>>>> Thanks.
>>>>>
>>>>> ---------- Forwarded message ---------
>>>>> De: <ro...@vclnode1.apachevcl.di.uminho.pt>
>>>>> Date: quinta, 1/08/2019 à(s) 08:35
>>>>> Subject: PROBLEM --
>>>>> vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596
>>>>> To: <aa...@di.uminho.pt>
>>>>>
>>>>>
>>>>> reservation failed on mv76, process failed to initialize: failed to
>>>>> create OS object
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>> time: 2019-08-01 08:30:22
>>>>> caller: State.pm:reservation_failed(461)
>>>>> ( 0) State.pm, reservation_failed (line: 461)
>>>>> (-1) State.pm, initialize (line: 170)
>>>>> (-2) Module.pm, new (line: 228)
>>>>> (-3) vcld, (eval) (line: 594)
>>>>> (-4) vcld, make_new_child (line: 593)
>>>>> (-5) vcld, main (line: 353)
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>> management node: vclnode1.apachevcl.di.uminho.pt
>>>>> reservation PID: 5308
>>>>> parent vcld PID: 21274
>>>>>
>>>>> request ID: 870
>>>>> reservation ID: 870
>>>>> request state/laststate: new/new
>>>>> request start time: 2019-08-01 08:30:00
>>>>> request end time: 2019-08-01 12:30:00
>>>>> for imaging: no
>>>>> log ID: 729
>>>>>
>>>>> computer: mv76.apachevcl.di.uminho.pt
>>>>> computer id: 135
>>>>> computer type: virtualmachine
>>>>> computer eth0 MAC address: 00:50:56:00:03:1e
>>>>> computer eth1 MAC address: 00:50:56:00:03:1f
>>>>> computer private IP address: 10.100.0.76
>>>>> computer public IP address: 192.168.93.76
>>>>> computer in block allocation: no
>>>>> provisioning module: VCL::Module::Provisioning::VMware::VMware
>>>>>
>>>>> vm host: servidor13.di.uminho.pt
>>>>> vm host ID: 4
>>>>> vm host computer ID: 160
>>>>> vm profile: s13vmhostprofile
>>>>> vm profile VM path: /vmfs/volumes/IFT-block1/
>>>>> vm profile repository path: /vmfs/volumes/vcl_images/
>>>>> vm profile datastore path: /vmfs/volumes/IFT-block1/
>>>>> vm profile disk type: shared
>>>>>
>>>>> image: vmwarewin7-WIN7_20190617133-v0
>>>>> image display name: WIN7_20190617
>>>>> image ID: 133
>>>>> image revision ID: 133
>>>>> image size: 48022 MB
>>>>> use Sysprep: yes
>>>>> root access: yes
>>>>> image owner ID: 1
>>>>> image owner affiliation: Local
>>>>> image revision date created: 2019-06-17 16:17:33
>>>>> image revision production: yes
>>>>> OS module: VCL::Module::OS::Windows::Version_6::7
>>>>>
>>>>> user: a12596
>>>>> user name:
>>>>> user ID: 10
>>>>> user affiliation: DIALUNOSLDAP
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>> RECENT LOG ENTRIES FOR THIS PROCESS:
>>>>> 2019-08-01 08:30:22|5308|870|870|new|vcld:make_new_child|571|vcld
>>>>> environment variable set to 0 for this process
>>>>> 2019-08-01
>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this
>>>>> is the parent reservation
>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6112|reservation
>>>>> count: 1
>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6139|renamed
>>>>> process to 'vcld '|5308|870|870|new|' mv76>servidor13
>>>>> vmwarewin7-WIN7_20190617133-v0 a12596'
>>>>> 2019-08-01 08:30:22|5308|870|870|new|vcld:make_new_child|589|loaded
>>>>> VCL::new module
>>>>> 2019-08-01 08:30:22|5308|870|870|new|Module.pm:new|188|VCL::new object
>>>>> created for state new, address: b10a268
>>>>> 2019-08-01
>>>>> 08:30:22|5308|870|870|new|State.pm:initialize|86|initializing
>>>>> VCL::Module::State object
>>>>> 2019-08-01
>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this
>>>>> is the parent reservation
>>>>> 2019-08-01 08:30:22|5308|870|870|new|State.pm:initialize|103|obtained
>>>>> a database handle for this state process, stored as $ENV{dbh}
>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_reservation_lastcheck|5499|updated
>>>>> reservation.lastcheck to '2019-08-01 08:30:22' for reservation IDs: 870
>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_request_state|1439|request
>>>>> 870 state updated to pending/new
>>>>> |5308|870|870|new|Module.pm:create_os_object|446| ---- WARNING ----
>>>>> |5308|870|870|new|Module.pm:create_os_object|446| 2019-08-01
>>>>> 08:30:22|5308|870|870|new|Module.pm:create_os_object|446|VCL::Module::OS::Windows::Version_6::7
>>>>> module could not be loaded, error:
>>>>> |5308|870|870|new|Module.pm:create_os_object|446| CORE::state is not a
>>>>> keyword at /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows.pm line
>>>>> 14683.
>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation failed
>>>>> in require at (eval 382) line 3.
>>>>> |5308|870|870|new|Module.pm:create_os_object|446|  ...propagated at
>>>>> /usr/share/perl5/base.pm line 94.
>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>> failed--compilation aborted at
>>>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6.pm line 45.
>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation failed
>>>>> in require at (eval 381) line 3.
>>>>> |5308|870|870|new|Module.pm:create_os_object|446|  ...propagated at
>>>>> /usr/share/perl5/base.pm line 94.
>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>> failed--compilation aborted at
>>>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6/7.pm
>>>>> line 43.
>>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation failed
>>>>> in require at (eval 380) line 2.
>>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>>> failed--compilation aborted at (eval 380) line 2.
>>>>> |5308|870|870|new|Module.pm:create_os_object|446| ( 0) Module.pm,
>>>>> create_os_object (line: 446)
>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-1) State.pm,
>>>>> initialize (line: 166)
>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-2) Module.pm, new
>>>>> (line: 228)
>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-3) vcld, (eval)
>>>>> (line: 594)
>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-4) vcld,
>>>>> make_new_child (line: 593)
>>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-5) vcld, main
>>>>> (line: 353)
>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| ----
>>>>> WARNING ----
>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>>> 2019-08-01
>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|2
>>>>> rows were returned from database select
>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| ( 0)
>>>>> DataStructure.pm, get_computer_state_name (line: 2083)
>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-1)
>>>>> State.pm, reservation_failed (line: 404)
>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-2)
>>>>> State.pm, initialize (line: 170)
>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-3)
>>>>> Module.pm, new (line: 228)
>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-4)
>>>>> vcld, (eval) (line: 594)
>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-5)
>>>>> vcld, make_new_child (line: 593)
>>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-6)
>>>>> vcld, main (line: 353)
>>>>> 2019-08-01
>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_private_ip_address|1596|returning
>>>>> private IP address of mv76.apachevcl.di.uminho.pt (135) already
>>>>> stored in this DataStructure object: 10.100.0.76
>>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:is_inblockrequest|4926|zero
>>>>> rows were returned from database select
>>>>> 2019-08-01
>>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_image_affiliation_name|1704|image
>>>>> owner id: 1
>>>>>
>>>>>
>>>>> --
>>>>> António Aragão
>>>>> (Especialista de Informática)
>>>>> Universidade do Minho
>>>>> Departamento de Informática
>>>>> Edificio 7 - 1.07 (DI-1.03)
>>>>> Campus de Gualtar
>>>>> Braga
>>>>> Telefone: +351 253 6044 86
>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>> António Aragão
>>>> (Especialista de Informática)
>>>> Universidade do Minho
>>>> Departamento de Informática
>>>> Edificio 7 - 1.07 (DI-1.03)
>>>> Campus de Gualtar
>>>> Braga
>>>> Telefone: +351 253 6044 86
>>>>
>>>>
>>>>
>>
>> --
>> António Aragão
>> (Especialista de Informática)
>> Universidade do Minho
>> Departamento de Informática
>> Edificio 7 - 1.07 (DI-1.03)
>> Campus de Gualtar
>> Braga
>> Telefone: +351 253 6044 86
>>
>>
>>

-- 
António Aragão
(Especialista de Informática)
Universidade do Minho
Departamento de Informática
Edificio 7 - 1.07 (DI-1.03)
Campus de Gualtar
Braga
Telefone: +351 253 6044 86

Re: PROBLEM -- vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596

Posted by Mike Jennings <gm...@ncsu.edu>.
I would suggest upgrading perl to be version 5.16.3 to see if that works.
I don't get the errors you are seeing with that version.

Mike

On Fri, Aug 2, 2019 at 10:02 AM António Aragão <aa...@di.uminho.pt> wrote:

> Mike,
>
> it is v5.10.1.
>
> Thanks.
>
> [root@vclnode1 ~]# perl -v
>
> This is perl, v5.10.1 (*) built for i386-linux-thread-multi
>
> Copyright 1987-2009, Larry Wall
>
> Perl may be copied only under the terms of either the Artistic License or
> the
> GNU General Public License, which may be found in the Perl 5 source kit.
>
> Complete documentation for Perl, including FAQ lists, should be found on
> this system using "man perl" or "perldoc perl".  If you have access to the
> Internet, point your browser at http://www.perl.org/, the Perl Home Page.
>
> [root@vclnode1 ~]#
>
> Mike Jennings <gm...@ncsu.edu> escreveu no dia sexta, 2/08/2019 à(s)
> 14:49:
>
>> Antonio,
>>
>> What version of perl are you running on your system?
>>
>> Mike
>>
>> On Fri, Aug 2, 2019 at 6:28 AM António Aragão <aa...@di.uminho.pt>
>> wrote:
>>
>>> Good morning,
>>>
>>> a example of trying to make a reservation.
>>>
>>> Thanks.
>>>
>>> António Aragão <aa...@di.uminho.pt> escreveu no dia sexta, 2/08/2019
>>> à(s) 10:58:
>>>
>>>> Good morning,
>>>>
>>>> after I upgraded from 2.5 to 2.5.1 I'm unable to use any reservation.
>>>> Looking to the vcld.log a lots for perl errors. Any clue ? I attach the
>>>> output file for:  /usr/local/vcl/bin/install_perl_libs.pl
>>>>
>>>> Thanks.
>>>>
>>>> ---------- Forwarded message ---------
>>>> De: <ro...@vclnode1.apachevcl.di.uminho.pt>
>>>> Date: quinta, 1/08/2019 à(s) 08:35
>>>> Subject: PROBLEM --
>>>> vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596
>>>> To: <aa...@di.uminho.pt>
>>>>
>>>>
>>>> reservation failed on mv76, process failed to initialize: failed to
>>>> create OS object
>>>> ------------------------------------------------------------------------
>>>> time: 2019-08-01 08:30:22
>>>> caller: State.pm:reservation_failed(461)
>>>> ( 0) State.pm, reservation_failed (line: 461)
>>>> (-1) State.pm, initialize (line: 170)
>>>> (-2) Module.pm, new (line: 228)
>>>> (-3) vcld, (eval) (line: 594)
>>>> (-4) vcld, make_new_child (line: 593)
>>>> (-5) vcld, main (line: 353)
>>>> ------------------------------------------------------------------------
>>>> management node: vclnode1.apachevcl.di.uminho.pt
>>>> reservation PID: 5308
>>>> parent vcld PID: 21274
>>>>
>>>> request ID: 870
>>>> reservation ID: 870
>>>> request state/laststate: new/new
>>>> request start time: 2019-08-01 08:30:00
>>>> request end time: 2019-08-01 12:30:00
>>>> for imaging: no
>>>> log ID: 729
>>>>
>>>> computer: mv76.apachevcl.di.uminho.pt
>>>> computer id: 135
>>>> computer type: virtualmachine
>>>> computer eth0 MAC address: 00:50:56:00:03:1e
>>>> computer eth1 MAC address: 00:50:56:00:03:1f
>>>> computer private IP address: 10.100.0.76
>>>> computer public IP address: 192.168.93.76
>>>> computer in block allocation: no
>>>> provisioning module: VCL::Module::Provisioning::VMware::VMware
>>>>
>>>> vm host: servidor13.di.uminho.pt
>>>> vm host ID: 4
>>>> vm host computer ID: 160
>>>> vm profile: s13vmhostprofile
>>>> vm profile VM path: /vmfs/volumes/IFT-block1/
>>>> vm profile repository path: /vmfs/volumes/vcl_images/
>>>> vm profile datastore path: /vmfs/volumes/IFT-block1/
>>>> vm profile disk type: shared
>>>>
>>>> image: vmwarewin7-WIN7_20190617133-v0
>>>> image display name: WIN7_20190617
>>>> image ID: 133
>>>> image revision ID: 133
>>>> image size: 48022 MB
>>>> use Sysprep: yes
>>>> root access: yes
>>>> image owner ID: 1
>>>> image owner affiliation: Local
>>>> image revision date created: 2019-06-17 16:17:33
>>>> image revision production: yes
>>>> OS module: VCL::Module::OS::Windows::Version_6::7
>>>>
>>>> user: a12596
>>>> user name:
>>>> user ID: 10
>>>> user affiliation: DIALUNOSLDAP
>>>> ------------------------------------------------------------------------
>>>> RECENT LOG ENTRIES FOR THIS PROCESS:
>>>> 2019-08-01 08:30:22|5308|870|870|new|vcld:make_new_child|571|vcld
>>>> environment variable set to 0 for this process
>>>> 2019-08-01
>>>> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this
>>>> is the parent reservation
>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6112|reservation
>>>> count: 1
>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6139|renamed
>>>> process to 'vcld '|5308|870|870|new|' mv76>servidor13
>>>> vmwarewin7-WIN7_20190617133-v0 a12596'
>>>> 2019-08-01 08:30:22|5308|870|870|new|vcld:make_new_child|589|loaded
>>>> VCL::new module
>>>> 2019-08-01 08:30:22|5308|870|870|new|Module.pm:new|188|VCL::new object
>>>> created for state new, address: b10a268
>>>> 2019-08-01
>>>> 08:30:22|5308|870|870|new|State.pm:initialize|86|initializing
>>>> VCL::Module::State object
>>>> 2019-08-01
>>>> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this
>>>> is the parent reservation
>>>> 2019-08-01 08:30:22|5308|870|870|new|State.pm:initialize|103|obtained a
>>>> database handle for this state process, stored as $ENV{dbh}
>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_reservation_lastcheck|5499|updated
>>>> reservation.lastcheck to '2019-08-01 08:30:22' for reservation IDs: 870
>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_request_state|1439|request
>>>> 870 state updated to pending/new
>>>> |5308|870|870|new|Module.pm:create_os_object|446| ---- WARNING ----
>>>> |5308|870|870|new|Module.pm:create_os_object|446| 2019-08-01
>>>> 08:30:22|5308|870|870|new|Module.pm:create_os_object|446|VCL::Module::OS::Windows::Version_6::7
>>>> module could not be loaded, error:
>>>> |5308|870|870|new|Module.pm:create_os_object|446| CORE::state is not a
>>>> keyword at /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows.pm line
>>>> 14683.
>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation failed in
>>>> require at (eval 382) line 3.
>>>> |5308|870|870|new|Module.pm:create_os_object|446|  ...propagated at
>>>> /usr/share/perl5/base.pm line 94.
>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>> failed--compilation aborted at
>>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6.pm line 45.
>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation failed in
>>>> require at (eval 381) line 3.
>>>> |5308|870|870|new|Module.pm:create_os_object|446|  ...propagated at
>>>> /usr/share/perl5/base.pm line 94.
>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>> failed--compilation aborted at
>>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6/7.pm
>>>> line 43.
>>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation failed in
>>>> require at (eval 380) line 2.
>>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>>> failed--compilation aborted at (eval 380) line 2.
>>>> |5308|870|870|new|Module.pm:create_os_object|446| ( 0) Module.pm,
>>>> create_os_object (line: 446)
>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-1) State.pm,
>>>> initialize (line: 166)
>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-2) Module.pm, new
>>>> (line: 228)
>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-3) vcld, (eval)
>>>> (line: 594)
>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-4) vcld,
>>>> make_new_child (line: 593)
>>>> |5308|870|870|new|Module.pm:create_os_object|446| (-5) vcld, main
>>>> (line: 353)
>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| ----
>>>> WARNING ----
>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>>> 2019-08-01
>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|2
>>>> rows were returned from database select
>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| ( 0)
>>>> DataStructure.pm, get_computer_state_name (line: 2083)
>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-1)
>>>> State.pm, reservation_failed (line: 404)
>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-2)
>>>> State.pm, initialize (line: 170)
>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-3)
>>>> Module.pm, new (line: 228)
>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-4)
>>>> vcld, (eval) (line: 594)
>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-5)
>>>> vcld, make_new_child (line: 593)
>>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-6)
>>>> vcld, main (line: 353)
>>>> 2019-08-01
>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_private_ip_address|1596|returning
>>>> private IP address of mv76.apachevcl.di.uminho.pt (135) already stored
>>>> in this DataStructure object: 10.100.0.76
>>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:is_inblockrequest|4926|zero
>>>> rows were returned from database select
>>>> 2019-08-01
>>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_image_affiliation_name|1704|image
>>>> owner id: 1
>>>>
>>>>
>>>> --
>>>> António Aragão
>>>> (Especialista de Informática)
>>>> Universidade do Minho
>>>> Departamento de Informática
>>>> Edificio 7 - 1.07 (DI-1.03)
>>>> Campus de Gualtar
>>>> Braga
>>>> Telefone: +351 253 6044 86
>>>>
>>>>
>>>>
>>>
>>> --
>>> António Aragão
>>> (Especialista de Informática)
>>> Universidade do Minho
>>> Departamento de Informática
>>> Edificio 7 - 1.07 (DI-1.03)
>>> Campus de Gualtar
>>> Braga
>>> Telefone: +351 253 6044 86
>>>
>>>
>>>
>
> --
> António Aragão
> (Especialista de Informática)
> Universidade do Minho
> Departamento de Informática
> Edificio 7 - 1.07 (DI-1.03)
> Campus de Gualtar
> Braga
> Telefone: +351 253 6044 86
>
>
>

Re: PROBLEM -- vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596

Posted by António Aragão <aa...@di.uminho.pt>.
Mike,

it is v5.10.1.

Thanks.

[root@vclnode1 ~]# perl -v

This is perl, v5.10.1 (*) built for i386-linux-thread-multi

Copyright 1987-2009, Larry Wall

Perl may be copied only under the terms of either the Artistic License or
the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

[root@vclnode1 ~]#

Mike Jennings <gm...@ncsu.edu> escreveu no dia sexta, 2/08/2019 à(s)
14:49:

> Antonio,
>
> What version of perl are you running on your system?
>
> Mike
>
> On Fri, Aug 2, 2019 at 6:28 AM António Aragão <aa...@di.uminho.pt>
> wrote:
>
>> Good morning,
>>
>> a example of trying to make a reservation.
>>
>> Thanks.
>>
>> António Aragão <aa...@di.uminho.pt> escreveu no dia sexta, 2/08/2019
>> à(s) 10:58:
>>
>>> Good morning,
>>>
>>> after I upgraded from 2.5 to 2.5.1 I'm unable to use any reservation.
>>> Looking to the vcld.log a lots for perl errors. Any clue ? I attach the
>>> output file for:  /usr/local/vcl/bin/install_perl_libs.pl
>>>
>>> Thanks.
>>>
>>> ---------- Forwarded message ---------
>>> De: <ro...@vclnode1.apachevcl.di.uminho.pt>
>>> Date: quinta, 1/08/2019 à(s) 08:35
>>> Subject: PROBLEM --
>>> vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596
>>> To: <aa...@di.uminho.pt>
>>>
>>>
>>> reservation failed on mv76, process failed to initialize: failed to
>>> create OS object
>>> ------------------------------------------------------------------------
>>> time: 2019-08-01 08:30:22
>>> caller: State.pm:reservation_failed(461)
>>> ( 0) State.pm, reservation_failed (line: 461)
>>> (-1) State.pm, initialize (line: 170)
>>> (-2) Module.pm, new (line: 228)
>>> (-3) vcld, (eval) (line: 594)
>>> (-4) vcld, make_new_child (line: 593)
>>> (-5) vcld, main (line: 353)
>>> ------------------------------------------------------------------------
>>> management node: vclnode1.apachevcl.di.uminho.pt
>>> reservation PID: 5308
>>> parent vcld PID: 21274
>>>
>>> request ID: 870
>>> reservation ID: 870
>>> request state/laststate: new/new
>>> request start time: 2019-08-01 08:30:00
>>> request end time: 2019-08-01 12:30:00
>>> for imaging: no
>>> log ID: 729
>>>
>>> computer: mv76.apachevcl.di.uminho.pt
>>> computer id: 135
>>> computer type: virtualmachine
>>> computer eth0 MAC address: 00:50:56:00:03:1e
>>> computer eth1 MAC address: 00:50:56:00:03:1f
>>> computer private IP address: 10.100.0.76
>>> computer public IP address: 192.168.93.76
>>> computer in block allocation: no
>>> provisioning module: VCL::Module::Provisioning::VMware::VMware
>>>
>>> vm host: servidor13.di.uminho.pt
>>> vm host ID: 4
>>> vm host computer ID: 160
>>> vm profile: s13vmhostprofile
>>> vm profile VM path: /vmfs/volumes/IFT-block1/
>>> vm profile repository path: /vmfs/volumes/vcl_images/
>>> vm profile datastore path: /vmfs/volumes/IFT-block1/
>>> vm profile disk type: shared
>>>
>>> image: vmwarewin7-WIN7_20190617133-v0
>>> image display name: WIN7_20190617
>>> image ID: 133
>>> image revision ID: 133
>>> image size: 48022 MB
>>> use Sysprep: yes
>>> root access: yes
>>> image owner ID: 1
>>> image owner affiliation: Local
>>> image revision date created: 2019-06-17 16:17:33
>>> image revision production: yes
>>> OS module: VCL::Module::OS::Windows::Version_6::7
>>>
>>> user: a12596
>>> user name:
>>> user ID: 10
>>> user affiliation: DIALUNOSLDAP
>>> ------------------------------------------------------------------------
>>> RECENT LOG ENTRIES FOR THIS PROCESS:
>>> 2019-08-01 08:30:22|5308|870|870|new|vcld:make_new_child|571|vcld
>>> environment variable set to 0 for this process
>>> 2019-08-01
>>> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this
>>> is the parent reservation
>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6112|reservation
>>> count: 1
>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6139|renamed
>>> process to 'vcld '|5308|870|870|new|' mv76>servidor13
>>> vmwarewin7-WIN7_20190617133-v0 a12596'
>>> 2019-08-01 08:30:22|5308|870|870|new|vcld:make_new_child|589|loaded
>>> VCL::new module
>>> 2019-08-01 08:30:22|5308|870|870|new|Module.pm:new|188|VCL::new object
>>> created for state new, address: b10a268
>>> 2019-08-01 08:30:22|5308|870|870|new|State.pm:initialize|86|initializing
>>> VCL::Module::State object
>>> 2019-08-01
>>> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this
>>> is the parent reservation
>>> 2019-08-01 08:30:22|5308|870|870|new|State.pm:initialize|103|obtained a
>>> database handle for this state process, stored as $ENV{dbh}
>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_reservation_lastcheck|5499|updated
>>> reservation.lastcheck to '2019-08-01 08:30:22' for reservation IDs: 870
>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_request_state|1439|request
>>> 870 state updated to pending/new
>>> |5308|870|870|new|Module.pm:create_os_object|446| ---- WARNING ----
>>> |5308|870|870|new|Module.pm:create_os_object|446| 2019-08-01
>>> 08:30:22|5308|870|870|new|Module.pm:create_os_object|446|VCL::Module::OS::Windows::Version_6::7
>>> module could not be loaded, error:
>>> |5308|870|870|new|Module.pm:create_os_object|446| CORE::state is not a
>>> keyword at /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows.pm line
>>> 14683.
>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation failed in
>>> require at (eval 382) line 3.
>>> |5308|870|870|new|Module.pm:create_os_object|446|  ...propagated at
>>> /usr/share/perl5/base.pm line 94.
>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>> failed--compilation aborted at
>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6.pm line 45.
>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation failed in
>>> require at (eval 381) line 3.
>>> |5308|870|870|new|Module.pm:create_os_object|446|  ...propagated at
>>> /usr/share/perl5/base.pm line 94.
>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>> failed--compilation aborted at
>>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6/7.pm
>>> line 43.
>>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation failed in
>>> require at (eval 380) line 2.
>>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>>> failed--compilation aborted at (eval 380) line 2.
>>> |5308|870|870|new|Module.pm:create_os_object|446| ( 0) Module.pm,
>>> create_os_object (line: 446)
>>> |5308|870|870|new|Module.pm:create_os_object|446| (-1) State.pm,
>>> initialize (line: 166)
>>> |5308|870|870|new|Module.pm:create_os_object|446| (-2) Module.pm, new
>>> (line: 228)
>>> |5308|870|870|new|Module.pm:create_os_object|446| (-3) vcld, (eval)
>>> (line: 594)
>>> |5308|870|870|new|Module.pm:create_os_object|446| (-4) vcld,
>>> make_new_child (line: 593)
>>> |5308|870|870|new|Module.pm:create_os_object|446| (-5) vcld, main (line:
>>> 353)
>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| ----
>>> WARNING ----
>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>>> 2019-08-01
>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|2
>>> rows were returned from database select
>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| ( 0)
>>> DataStructure.pm, get_computer_state_name (line: 2083)
>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-1)
>>> State.pm, reservation_failed (line: 404)
>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-2)
>>> State.pm, initialize (line: 170)
>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-3)
>>> Module.pm, new (line: 228)
>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-4)
>>> vcld, (eval) (line: 594)
>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-5)
>>> vcld, make_new_child (line: 593)
>>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-6)
>>> vcld, main (line: 353)
>>> 2019-08-01
>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_private_ip_address|1596|returning
>>> private IP address of mv76.apachevcl.di.uminho.pt (135) already stored
>>> in this DataStructure object: 10.100.0.76
>>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:is_inblockrequest|4926|zero
>>> rows were returned from database select
>>> 2019-08-01
>>> 08:30:22|5308|870|870|new|DataStructure.pm:get_image_affiliation_name|1704|image
>>> owner id: 1
>>>
>>>
>>> --
>>> António Aragão
>>> (Especialista de Informática)
>>> Universidade do Minho
>>> Departamento de Informática
>>> Edificio 7 - 1.07 (DI-1.03)
>>> Campus de Gualtar
>>> Braga
>>> Telefone: +351 253 6044 86
>>>
>>>
>>>
>>
>> --
>> António Aragão
>> (Especialista de Informática)
>> Universidade do Minho
>> Departamento de Informática
>> Edificio 7 - 1.07 (DI-1.03)
>> Campus de Gualtar
>> Braga
>> Telefone: +351 253 6044 86
>>
>>
>>

-- 
António Aragão
(Especialista de Informática)
Universidade do Minho
Departamento de Informática
Edificio 7 - 1.07 (DI-1.03)
Campus de Gualtar
Braga
Telefone: +351 253 6044 86

Re: PROBLEM -- vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596

Posted by Mike Jennings <gm...@ncsu.edu>.
Antonio,

What version of perl are you running on your system?

Mike

On Fri, Aug 2, 2019 at 6:28 AM António Aragão <aa...@di.uminho.pt> wrote:

> Good morning,
>
> a example of trying to make a reservation.
>
> Thanks.
>
> António Aragão <aa...@di.uminho.pt> escreveu no dia sexta, 2/08/2019
> à(s) 10:58:
>
>> Good morning,
>>
>> after I upgraded from 2.5 to 2.5.1 I'm unable to use any reservation.
>> Looking to the vcld.log a lots for perl errors. Any clue ? I attach the
>> output file for:  /usr/local/vcl/bin/install_perl_libs.pl
>>
>> Thanks.
>>
>> ---------- Forwarded message ---------
>> De: <ro...@vclnode1.apachevcl.di.uminho.pt>
>> Date: quinta, 1/08/2019 à(s) 08:35
>> Subject: PROBLEM --
>> vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596
>> To: <aa...@di.uminho.pt>
>>
>>
>> reservation failed on mv76, process failed to initialize: failed to
>> create OS object
>> ------------------------------------------------------------------------
>> time: 2019-08-01 08:30:22
>> caller: State.pm:reservation_failed(461)
>> ( 0) State.pm, reservation_failed (line: 461)
>> (-1) State.pm, initialize (line: 170)
>> (-2) Module.pm, new (line: 228)
>> (-3) vcld, (eval) (line: 594)
>> (-4) vcld, make_new_child (line: 593)
>> (-5) vcld, main (line: 353)
>> ------------------------------------------------------------------------
>> management node: vclnode1.apachevcl.di.uminho.pt
>> reservation PID: 5308
>> parent vcld PID: 21274
>>
>> request ID: 870
>> reservation ID: 870
>> request state/laststate: new/new
>> request start time: 2019-08-01 08:30:00
>> request end time: 2019-08-01 12:30:00
>> for imaging: no
>> log ID: 729
>>
>> computer: mv76.apachevcl.di.uminho.pt
>> computer id: 135
>> computer type: virtualmachine
>> computer eth0 MAC address: 00:50:56:00:03:1e
>> computer eth1 MAC address: 00:50:56:00:03:1f
>> computer private IP address: 10.100.0.76
>> computer public IP address: 192.168.93.76
>> computer in block allocation: no
>> provisioning module: VCL::Module::Provisioning::VMware::VMware
>>
>> vm host: servidor13.di.uminho.pt
>> vm host ID: 4
>> vm host computer ID: 160
>> vm profile: s13vmhostprofile
>> vm profile VM path: /vmfs/volumes/IFT-block1/
>> vm profile repository path: /vmfs/volumes/vcl_images/
>> vm profile datastore path: /vmfs/volumes/IFT-block1/
>> vm profile disk type: shared
>>
>> image: vmwarewin7-WIN7_20190617133-v0
>> image display name: WIN7_20190617
>> image ID: 133
>> image revision ID: 133
>> image size: 48022 MB
>> use Sysprep: yes
>> root access: yes
>> image owner ID: 1
>> image owner affiliation: Local
>> image revision date created: 2019-06-17 16:17:33
>> image revision production: yes
>> OS module: VCL::Module::OS::Windows::Version_6::7
>>
>> user: a12596
>> user name:
>> user ID: 10
>> user affiliation: DIALUNOSLDAP
>> ------------------------------------------------------------------------
>> RECENT LOG ENTRIES FOR THIS PROCESS:
>> 2019-08-01 08:30:22|5308|870|870|new|vcld:make_new_child|571|vcld
>> environment variable set to 0 for this process
>> 2019-08-01
>> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this
>> is the parent reservation
>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6112|reservation
>> count: 1
>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6139|renamed
>> process to 'vcld '|5308|870|870|new|' mv76>servidor13
>> vmwarewin7-WIN7_20190617133-v0 a12596'
>> 2019-08-01 08:30:22|5308|870|870|new|vcld:make_new_child|589|loaded
>> VCL::new module
>> 2019-08-01 08:30:22|5308|870|870|new|Module.pm:new|188|VCL::new object
>> created for state new, address: b10a268
>> 2019-08-01 08:30:22|5308|870|870|new|State.pm:initialize|86|initializing
>> VCL::Module::State object
>> 2019-08-01
>> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this
>> is the parent reservation
>> 2019-08-01 08:30:22|5308|870|870|new|State.pm:initialize|103|obtained a
>> database handle for this state process, stored as $ENV{dbh}
>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_reservation_lastcheck|5499|updated
>> reservation.lastcheck to '2019-08-01 08:30:22' for reservation IDs: 870
>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_request_state|1439|request
>> 870 state updated to pending/new
>> |5308|870|870|new|Module.pm:create_os_object|446| ---- WARNING ----
>> |5308|870|870|new|Module.pm:create_os_object|446| 2019-08-01
>> 08:30:22|5308|870|870|new|Module.pm:create_os_object|446|VCL::Module::OS::Windows::Version_6::7
>> module could not be loaded, error:
>> |5308|870|870|new|Module.pm:create_os_object|446| CORE::state is not a
>> keyword at /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows.pm line
>> 14683.
>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation failed in
>> require at (eval 382) line 3.
>> |5308|870|870|new|Module.pm:create_os_object|446|  ...propagated at
>> /usr/share/perl5/base.pm line 94.
>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>> failed--compilation aborted at
>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6.pm line 45.
>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation failed in
>> require at (eval 381) line 3.
>> |5308|870|870|new|Module.pm:create_os_object|446|  ...propagated at
>> /usr/share/perl5/base.pm line 94.
>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>> failed--compilation aborted at
>> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6/7.pm
>> line 43.
>> |5308|870|870|new|Module.pm:create_os_object|446| Compilation failed in
>> require at (eval 380) line 2.
>> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
>> failed--compilation aborted at (eval 380) line 2.
>> |5308|870|870|new|Module.pm:create_os_object|446| ( 0) Module.pm,
>> create_os_object (line: 446)
>> |5308|870|870|new|Module.pm:create_os_object|446| (-1) State.pm,
>> initialize (line: 166)
>> |5308|870|870|new|Module.pm:create_os_object|446| (-2) Module.pm, new
>> (line: 228)
>> |5308|870|870|new|Module.pm:create_os_object|446| (-3) vcld, (eval)
>> (line: 594)
>> |5308|870|870|new|Module.pm:create_os_object|446| (-4) vcld,
>> make_new_child (line: 593)
>> |5308|870|870|new|Module.pm:create_os_object|446| (-5) vcld, main (line:
>> 353)
>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| ----
>> WARNING ----
>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
>> 2019-08-01
>> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|2
>> rows were returned from database select
>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| ( 0)
>> DataStructure.pm, get_computer_state_name (line: 2083)
>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-1)
>> State.pm, reservation_failed (line: 404)
>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-2)
>> State.pm, initialize (line: 170)
>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-3)
>> Module.pm, new (line: 228)
>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-4)
>> vcld, (eval) (line: 594)
>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-5)
>> vcld, make_new_child (line: 593)
>> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-6)
>> vcld, main (line: 353)
>> 2019-08-01
>> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_private_ip_address|1596|returning
>> private IP address of mv76.apachevcl.di.uminho.pt (135) already stored
>> in this DataStructure object: 10.100.0.76
>> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:is_inblockrequest|4926|zero
>> rows were returned from database select
>> 2019-08-01
>> 08:30:22|5308|870|870|new|DataStructure.pm:get_image_affiliation_name|1704|image
>> owner id: 1
>>
>>
>> --
>> António Aragão
>> (Especialista de Informática)
>> Universidade do Minho
>> Departamento de Informática
>> Edificio 7 - 1.07 (DI-1.03)
>> Campus de Gualtar
>> Braga
>> Telefone: +351 253 6044 86
>>
>>
>>
>
> --
> António Aragão
> (Especialista de Informática)
> Universidade do Minho
> Departamento de Informática
> Edificio 7 - 1.07 (DI-1.03)
> Campus de Gualtar
> Braga
> Telefone: +351 253 6044 86
>
>
>

Re: PROBLEM -- vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596

Posted by António Aragão <aa...@di.uminho.pt>.
Good morning,

a example of trying to make a reservation.

Thanks.

António Aragão <aa...@di.uminho.pt> escreveu no dia sexta, 2/08/2019 à(s)
10:58:

> Good morning,
>
> after I upgraded from 2.5 to 2.5.1 I'm unable to use any reservation.
> Looking to the vcld.log a lots for perl errors. Any clue ? I attach the
> output file for:  /usr/local/vcl/bin/install_perl_libs.pl
>
> Thanks.
>
> ---------- Forwarded message ---------
> De: <ro...@vclnode1.apachevcl.di.uminho.pt>
> Date: quinta, 1/08/2019 à(s) 08:35
> Subject: PROBLEM --
> vclnode1|870:870|new|State.pm|mv76>servidor13|vmwarewin7-WIN7_20190617133-v0|a12596
> To: <aa...@di.uminho.pt>
>
>
> reservation failed on mv76, process failed to initialize: failed to create
> OS object
> ------------------------------------------------------------------------
> time: 2019-08-01 08:30:22
> caller: State.pm:reservation_failed(461)
> ( 0) State.pm, reservation_failed (line: 461)
> (-1) State.pm, initialize (line: 170)
> (-2) Module.pm, new (line: 228)
> (-3) vcld, (eval) (line: 594)
> (-4) vcld, make_new_child (line: 593)
> (-5) vcld, main (line: 353)
> ------------------------------------------------------------------------
> management node: vclnode1.apachevcl.di.uminho.pt
> reservation PID: 5308
> parent vcld PID: 21274
>
> request ID: 870
> reservation ID: 870
> request state/laststate: new/new
> request start time: 2019-08-01 08:30:00
> request end time: 2019-08-01 12:30:00
> for imaging: no
> log ID: 729
>
> computer: mv76.apachevcl.di.uminho.pt
> computer id: 135
> computer type: virtualmachine
> computer eth0 MAC address: 00:50:56:00:03:1e
> computer eth1 MAC address: 00:50:56:00:03:1f
> computer private IP address: 10.100.0.76
> computer public IP address: 192.168.93.76
> computer in block allocation: no
> provisioning module: VCL::Module::Provisioning::VMware::VMware
>
> vm host: servidor13.di.uminho.pt
> vm host ID: 4
> vm host computer ID: 160
> vm profile: s13vmhostprofile
> vm profile VM path: /vmfs/volumes/IFT-block1/
> vm profile repository path: /vmfs/volumes/vcl_images/
> vm profile datastore path: /vmfs/volumes/IFT-block1/
> vm profile disk type: shared
>
> image: vmwarewin7-WIN7_20190617133-v0
> image display name: WIN7_20190617
> image ID: 133
> image revision ID: 133
> image size: 48022 MB
> use Sysprep: yes
> root access: yes
> image owner ID: 1
> image owner affiliation: Local
> image revision date created: 2019-06-17 16:17:33
> image revision production: yes
> OS module: VCL::Module::OS::Windows::Version_6::7
>
> user: a12596
> user name:
> user ID: 10
> user affiliation: DIALUNOSLDAP
> ------------------------------------------------------------------------
> RECENT LOG ENTRIES FOR THIS PROCESS:
> 2019-08-01 08:30:22|5308|870|870|new|vcld:make_new_child|571|vcld
> environment variable set to 0 for this process
> 2019-08-01
> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this
> is the parent reservation
> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6112|reservation
> count: 1
> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:rename_vcld_process|6139|renamed
> process to 'vcld '|5308|870|870|new|' mv76>servidor13
> vmwarewin7-WIN7_20190617133-v0 a12596'
> 2019-08-01 08:30:22|5308|870|870|new|vcld:make_new_child|589|loaded
> VCL::new module
> 2019-08-01 08:30:22|5308|870|870|new|Module.pm:new|188|VCL::new object
> created for state new, address: b10a268
> 2019-08-01 08:30:22|5308|870|870|new|State.pm:initialize|86|initializing
> VCL::Module::State object
> 2019-08-01
> 08:30:22|5308|870|870|new|DataStructure.pm:is_parent_reservation|1152|this
> is the parent reservation
> 2019-08-01 08:30:22|5308|870|870|new|State.pm:initialize|103|obtained a
> database handle for this state process, stored as $ENV{dbh}
> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_reservation_lastcheck|5499|updated
> reservation.lastcheck to '2019-08-01 08:30:22' for reservation IDs: 870
> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:update_request_state|1439|request
> 870 state updated to pending/new
> |5308|870|870|new|Module.pm:create_os_object|446| ---- WARNING ----
> |5308|870|870|new|Module.pm:create_os_object|446| 2019-08-01
> 08:30:22|5308|870|870|new|Module.pm:create_os_object|446|VCL::Module::OS::Windows::Version_6::7
> module could not be loaded, error:
> |5308|870|870|new|Module.pm:create_os_object|446| CORE::state is not a
> keyword at /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows.pm line
> 14683.
> |5308|870|870|new|Module.pm:create_os_object|446| Compilation failed in
> require at (eval 382) line 3.
> |5308|870|870|new|Module.pm:create_os_object|446|  ...propagated at
> /usr/share/perl5/base.pm line 94.
> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
> failed--compilation aborted at
> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6.pm line 45.
> |5308|870|870|new|Module.pm:create_os_object|446| Compilation failed in
> require at (eval 381) line 3.
> |5308|870|870|new|Module.pm:create_os_object|446|  ...propagated at
> /usr/share/perl5/base.pm line 94.
> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
> failed--compilation aborted at
> /usr/local/vcl-2.5.1/bin/../lib/VCL/Module/OS/Windows/Version_6/7.pm line
> 43.
> |5308|870|870|new|Module.pm:create_os_object|446| Compilation failed in
> require at (eval 380) line 2.
> |5308|870|870|new|Module.pm:create_os_object|446| BEGIN
> failed--compilation aborted at (eval 380) line 2.
> |5308|870|870|new|Module.pm:create_os_object|446| ( 0) Module.pm,
> create_os_object (line: 446)
> |5308|870|870|new|Module.pm:create_os_object|446| (-1) State.pm,
> initialize (line: 166)
> |5308|870|870|new|Module.pm:create_os_object|446| (-2) Module.pm, new
> (line: 228)
> |5308|870|870|new|Module.pm:create_os_object|446| (-3) vcld, (eval) (line:
> 594)
> |5308|870|870|new|Module.pm:create_os_object|446| (-4) vcld,
> make_new_child (line: 593)
> |5308|870|870|new|Module.pm:create_os_object|446| (-5) vcld, main (line:
> 353)
> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| ----
> WARNING ----
> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|
> 2019-08-01
> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_state_name|2083|2
> rows were returned from database select
> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| ( 0)
> DataStructure.pm, get_computer_state_name (line: 2083)
> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-1)
> State.pm, reservation_failed (line: 404)
> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-2)
> State.pm, initialize (line: 170)
> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-3)
> Module.pm, new (line: 228)
> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-4)
> vcld, (eval) (line: 594)
> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-5)
> vcld, make_new_child (line: 593)
> |5308|870|870|new|DataStructure.pm:get_computer_state_name|2083| (-6)
> vcld, main (line: 353)
> 2019-08-01
> 08:30:22|5308|870|870|new|DataStructure.pm:get_computer_private_ip_address|1596|returning
> private IP address of mv76.apachevcl.di.uminho.pt (135) already stored in
> this DataStructure object: 10.100.0.76
> 2019-08-01 08:30:22|5308|870|870|new|utils.pm:is_inblockrequest|4926|zero
> rows were returned from database select
> 2019-08-01
> 08:30:22|5308|870|870|new|DataStructure.pm:get_image_affiliation_name|1704|image
> owner id: 1
>
>
> --
> António Aragão
> (Especialista de Informática)
> Universidade do Minho
> Departamento de Informática
> Edificio 7 - 1.07 (DI-1.03)
> Campus de Gualtar
> Braga
> Telefone: +351 253 6044 86
>
>
>

-- 
António Aragão
(Especialista de Informática)
Universidade do Minho
Departamento de Informática
Edificio 7 - 1.07 (DI-1.03)
Campus de Gualtar
Braga
Telefone: +351 253 6044 86