Re: block allocations failing

2011-06-02 Thread James Patrick Sigmon
Thanks Josh!  That did the trick.

-Patrick

On Jun 2, 2011, at 1:38 PM, Josh Thompson wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Patrick,
> 
> I forgot to mention that the user you use for xmlrpc_username also needs to 
> be 
> set in conf.php.  You have to enter the userid from the user table for that 
> user in the $xmlrpcBlockAPIUsers array.  It comes default to allow the 
> vclsystem user access.
> 
> Josh
> 
> On Thursday June 02, 2011, James Patrick Sigmon wrote:
>> Josh,
>> 
>> Yes I did:
>> 
>> xmlrpc_username=admin
>> xmlrpc_pass=
>> xmlrpc_url=https:///vcl/index.php?mode=xmlrpccall
>> 
>> I also made sure to restart vcld after the change (/etc/init.d/vcld
>> restart).
>> 
>> -Patrick
>> 
>> On Jun 2, 2011, at 12:51 PM, Josh Thompson wrote:
>>> -BEGIN PGP SIGNED MESSAGE-
>>> Hash: SHA1
>>> 
>>> Patrick,
>>> 
>>> Did you set the xmlrpc_* variables in /etc/vcl/vcld.conf?
>>> 
>>> Josh
>>> 
>>> On Thursday June 02, 2011, James Patrick Sigmon wrote:
 Hey Guys,
 
 My Block Allocations are failing to go through.  It looks to be some
 sort of access issue (see below).
 
 Any ideas?
 
 -Patrick Sigmon
 
 WARNING - The block allocation for test was not successfully processed
 for the following session.
 
 REASON: machines allocated were less than requested
 
 Block allocation name   = test
 Machines allocated  = 0
 Machines requested  = 2
 Block Start time= 2011-06-02 14:30:00
 Block End time  = 2011-06-02 16:00:00
 User Group  = adminUsers
 Environment name= Windows 7 (No Apps)
 
 Here is the vcld.log output:
 
 2011-06-02 12:13:56|30716|utils.pm:check_blockrequest_time(1026)|block
 request start time is within start window (136 minutes from now),
 returning 'start' 2011-06-02
 12:13:56|30716|DataStructure.pm:_automethod(835)|data structure updated:
 $self->blockrequest_data->{8}{MODE}
 
 |30716| blockrequest_mode = start
 
 2011-06-02 12:13:56|30716|vcld:main(445)|block request 8 'test'
 processing set to 1 2011-06-02
 12:13:56|30716|vcld:make_new_child(515)|loaded VCL::blockrequest module
 2011-06-02
 12:13:56|30720|vcld:make_new_child(555)|vcld environment variable set to
 0 for this process 2011-06-02
 12:13:56|30720|blockrequest|Module.pm:new(161)|VCL::blockrequest object
 created for state , address: 546f670 2011-06-02
 12:13:56|30716|vcld:make_new_child(539)|current number of forked kids: 1
 2011-06-02
 12:13:56|30720|blockrequest|blockrequest.pm:initialize(84)|obtained a
 database handle for this state process, stored as $ENV{dbh} 2011-06-02
 12:13:56|30720|blockrequest|utils.pm:rename_vcld_process(7120)|renamed
 process to 'vcld 8:13 'test'' 2011-06-02
 12:13:56|30720|blockrequest|blockrequest.pm:initialize(94)|returning 1
 2011-06-02
 12:13:56|30720|blockrequest|vcld:make_new_child(565)|VCL::blockrequest
 object created and initialized 2011-06-02
 12:13:56|30720|blockrequest|blockrequest.pm:process(159)|blockrequest
 id: 8 2011-06-02
 12:13:56|30720|blockrequest|blockrequest.pm:process(160)|blockrequest
 mode: start 2011-06-02
 12:13:56|30720|blockrequest|blockrequest.pm:process(161)|blockrequest
 image id: 23 2011-06-02
 12:13:56|30720|blockrequest|blockrequest.pm:process(162)|blockrequest
 number machines: 2 2011-06-02
 12:13:56|30720|blockrequest|blockrequest.pm:process(163)|blockrequest
 expire: 2011-06-08 23:59:59 2011-06-02
 12:13:56|30720|blockrequest|blockrequest.pm:process(164)|blocktime id:
 13 2011-06-02
 12:13:56|30720|blockrequest|blockrequest.pm:process(165)|blocktime
 processed: 0 2011-06-02
 12:13:56|30720|blockrequest|blockrequest.pm:process(166)|blocktime
 start: 2011-06-02 14:30:00 2011-06-02
 12:13:56|30720|blockrequest|blockrequest.pm:process(167)|owner email:
 jpsig...@ncsu.edu 2011-06-02
 12:13:56|30720|blockrequest|blockrequest.pm:process(168)|help address:
 www.testing.com 2011-06-02
 12:13:56|30720|blockrequest|blockrequest.pm:process(173)|updated process
 flag on blocktime_id= 13 2011-06-02
 12:13:56|30720|blockrequest|blockrequest.pm:process(193)|processing
 blocktime_id= 13 pass 1 2011-06-02
 12:13:56|30720|blockrequest|utils.pm:xmlrpc_call(9090)|argument_string=
 XMLRPCprocessBlockTime 13 1 2011-06-02
 12:13:56|30720|blockrequest|blockrequest.pm:process(217)|xmlrpc error on
 blockrequest_id=8 blocktime_id=13 : access denied for managing block
 allocations 2011-06-02 12:14:01|30716|vcld:main(167)|lastcheckin time
 updated for management node 1: 2011-06-02 12:14:01 2011-06-02
 12:14:01|30720|blockrequest|blockrequest.pm:process(193)|processing
 blocktime_id= 13 pass 2 2011-06-02
 12:14:01|30720|blockrequest|utils.pm:xmlrpc_call(9090)|argument_string=
 XMLRPCprocessBl

Re: block allocations failing

2011-06-02 Thread Josh Thompson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Patrick,

I forgot to mention that the user you use for xmlrpc_username also needs to be 
set in conf.php.  You have to enter the userid from the user table for that 
user in the $xmlrpcBlockAPIUsers array.  It comes default to allow the 
vclsystem user access.

Josh

On Thursday June 02, 2011, James Patrick Sigmon wrote:
> Josh,
> 
> Yes I did:
> 
> xmlrpc_username=admin
> xmlrpc_pass=
> xmlrpc_url=https:///vcl/index.php?mode=xmlrpccall
> 
> I also made sure to restart vcld after the change (/etc/init.d/vcld
> restart).
> 
> -Patrick
> 
> On Jun 2, 2011, at 12:51 PM, Josh Thompson wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> > 
> > Patrick,
> > 
> > Did you set the xmlrpc_* variables in /etc/vcl/vcld.conf?
> > 
> > Josh
> > 
> > On Thursday June 02, 2011, James Patrick Sigmon wrote:
> >> Hey Guys,
> >> 
> >> My Block Allocations are failing to go through.  It looks to be some
> >> sort of access issue (see below).
> >> 
> >> Any ideas?
> >> 
> >> -Patrick Sigmon
> >> 
> >> WARNING - The block allocation for test was not successfully processed
> >> for the following session.
> >> 
> >> REASON: machines allocated were less than requested
> >> 
> >> Block allocation name   = test
> >> Machines allocated  = 0
> >> Machines requested  = 2
> >> Block Start time= 2011-06-02 14:30:00
> >> Block End time  = 2011-06-02 16:00:00
> >> User Group  = adminUsers
> >> Environment name= Windows 7 (No Apps)
> >> 
> >> Here is the vcld.log output:
> >> 
> >> 2011-06-02 12:13:56|30716|utils.pm:check_blockrequest_time(1026)|block
> >> request start time is within start window (136 minutes from now),
> >> returning 'start' 2011-06-02
> >> 12:13:56|30716|DataStructure.pm:_automethod(835)|data structure updated:
> >> $self->blockrequest_data->{8}{MODE}
> >> 
> >> |30716| blockrequest_mode = start
> >> 
> >> 2011-06-02 12:13:56|30716|vcld:main(445)|block request 8 'test'
> >> processing set to 1 2011-06-02
> >> 12:13:56|30716|vcld:make_new_child(515)|loaded VCL::blockrequest module
> >> 2011-06-02
> >> 12:13:56|30720|vcld:make_new_child(555)|vcld environment variable set to
> >> 0 for this process 2011-06-02
> >> 12:13:56|30720|blockrequest|Module.pm:new(161)|VCL::blockrequest object
> >> created for state , address: 546f670 2011-06-02
> >> 12:13:56|30716|vcld:make_new_child(539)|current number of forked kids: 1
> >> 2011-06-02
> >> 12:13:56|30720|blockrequest|blockrequest.pm:initialize(84)|obtained a
> >> database handle for this state process, stored as $ENV{dbh} 2011-06-02
> >> 12:13:56|30720|blockrequest|utils.pm:rename_vcld_process(7120)|renamed
> >> process to 'vcld 8:13 'test'' 2011-06-02
> >> 12:13:56|30720|blockrequest|blockrequest.pm:initialize(94)|returning 1
> >> 2011-06-02
> >> 12:13:56|30720|blockrequest|vcld:make_new_child(565)|VCL::blockrequest
> >> object created and initialized 2011-06-02
> >> 12:13:56|30720|blockrequest|blockrequest.pm:process(159)|blockrequest
> >> id: 8 2011-06-02
> >> 12:13:56|30720|blockrequest|blockrequest.pm:process(160)|blockrequest
> >> mode: start 2011-06-02
> >> 12:13:56|30720|blockrequest|blockrequest.pm:process(161)|blockrequest
> >> image id: 23 2011-06-02
> >> 12:13:56|30720|blockrequest|blockrequest.pm:process(162)|blockrequest
> >> number machines: 2 2011-06-02
> >> 12:13:56|30720|blockrequest|blockrequest.pm:process(163)|blockrequest
> >> expire: 2011-06-08 23:59:59 2011-06-02
> >> 12:13:56|30720|blockrequest|blockrequest.pm:process(164)|blocktime id:
> >> 13 2011-06-02
> >> 12:13:56|30720|blockrequest|blockrequest.pm:process(165)|blocktime
> >> processed: 0 2011-06-02
> >> 12:13:56|30720|blockrequest|blockrequest.pm:process(166)|blocktime
> >> start: 2011-06-02 14:30:00 2011-06-02
> >> 12:13:56|30720|blockrequest|blockrequest.pm:process(167)|owner email:
> >> jpsig...@ncsu.edu 2011-06-02
> >> 12:13:56|30720|blockrequest|blockrequest.pm:process(168)|help address:
> >> www.testing.com 2011-06-02
> >> 12:13:56|30720|blockrequest|blockrequest.pm:process(173)|updated process
> >> flag on blocktime_id= 13 2011-06-02
> >> 12:13:56|30720|blockrequest|blockrequest.pm:process(193)|processing
> >> blocktime_id= 13 pass 1 2011-06-02
> >> 12:13:56|30720|blockrequest|utils.pm:xmlrpc_call(9090)|argument_string=
> >> XMLRPCprocessBlockTime 13 1 2011-06-02
> >> 12:13:56|30720|blockrequest|blockrequest.pm:process(217)|xmlrpc error on
> >> blockrequest_id=8 blocktime_id=13 : access denied for managing block
> >> allocations 2011-06-02 12:14:01|30716|vcld:main(167)|lastcheckin time
> >> updated for management node 1: 2011-06-02 12:14:01 2011-06-02
> >> 12:14:01|30720|blockrequest|blockrequest.pm:process(193)|processing
> >> blocktime_id= 13 pass 2 2011-06-02
> >> 12:14:01|30720|blockrequest|utils.pm:xmlrpc_call(9090)|argument_string=
> >> XMLRPCprocessBlockTime 13 1 2011-06-02
> >> 12:14:01|30720|blockrequest|blockrequest.pm:process(217)|xmlrpc error on
> >> blockrequest_id=8 blocktime_id=

Re: block allocations failing

2011-06-02 Thread James Patrick Sigmon
Josh,

Yes I did:

xmlrpc_username=admin
xmlrpc_pass=
xmlrpc_url=https:///vcl/index.php?mode=xmlrpccall

I also made sure to restart vcld after the change (/etc/init.d/vcld restart).

-Patrick

On Jun 2, 2011, at 12:51 PM, Josh Thompson wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Patrick,
> 
> Did you set the xmlrpc_* variables in /etc/vcl/vcld.conf?
> 
> Josh
> 
> On Thursday June 02, 2011, James Patrick Sigmon wrote:
>> Hey Guys,
>> 
>> My Block Allocations are failing to go through.  It looks to be some sort
>> of access issue (see below).
>> 
>> Any ideas?
>> 
>> -Patrick Sigmon
>> 
>> WARNING - The block allocation for test was not successfully processed for
>> the following session.
>> 
>> REASON: machines allocated were less than requested
>> 
>> Block allocation name   = test
>> Machines allocated  = 0
>> Machines requested  = 2
>> Block Start time= 2011-06-02 14:30:00
>> Block End time  = 2011-06-02 16:00:00
>> User Group  = adminUsers
>> Environment name= Windows 7 (No Apps)
>> 
>> Here is the vcld.log output:
>> 
>> 2011-06-02 12:13:56|30716|utils.pm:check_blockrequest_time(1026)|block
>> request start time is within start window (136 minutes from now),
>> returning 'start' 2011-06-02
>> 12:13:56|30716|DataStructure.pm:_automethod(835)|data structure updated:
>> $self->blockrequest_data->{8}{MODE}
>> 
>> |30716| blockrequest_mode = start
>> 
>> 2011-06-02 12:13:56|30716|vcld:main(445)|block request 8 'test' processing
>> set to 1 2011-06-02 12:13:56|30716|vcld:make_new_child(515)|loaded
>> VCL::blockrequest module 2011-06-02
>> 12:13:56|30720|vcld:make_new_child(555)|vcld environment variable set to 0
>> for this process 2011-06-02
>> 12:13:56|30720|blockrequest|Module.pm:new(161)|VCL::blockrequest object
>> created for state , address: 546f670 2011-06-02
>> 12:13:56|30716|vcld:make_new_child(539)|current number of forked kids: 1
>> 2011-06-02
>> 12:13:56|30720|blockrequest|blockrequest.pm:initialize(84)|obtained a
>> database handle for this state process, stored as $ENV{dbh} 2011-06-02
>> 12:13:56|30720|blockrequest|utils.pm:rename_vcld_process(7120)|renamed
>> process to 'vcld 8:13 'test'' 2011-06-02
>> 12:13:56|30720|blockrequest|blockrequest.pm:initialize(94)|returning 1
>> 2011-06-02
>> 12:13:56|30720|blockrequest|vcld:make_new_child(565)|VCL::blockrequest
>> object created and initialized 2011-06-02
>> 12:13:56|30720|blockrequest|blockrequest.pm:process(159)|blockrequest id:
>> 8 2011-06-02
>> 12:13:56|30720|blockrequest|blockrequest.pm:process(160)|blockrequest
>> mode: start 2011-06-02
>> 12:13:56|30720|blockrequest|blockrequest.pm:process(161)|blockrequest
>> image id: 23 2011-06-02
>> 12:13:56|30720|blockrequest|blockrequest.pm:process(162)|blockrequest
>> number machines: 2 2011-06-02
>> 12:13:56|30720|blockrequest|blockrequest.pm:process(163)|blockrequest
>> expire: 2011-06-08 23:59:59 2011-06-02
>> 12:13:56|30720|blockrequest|blockrequest.pm:process(164)|blocktime id: 13
>> 2011-06-02
>> 12:13:56|30720|blockrequest|blockrequest.pm:process(165)|blocktime
>> processed: 0 2011-06-02
>> 12:13:56|30720|blockrequest|blockrequest.pm:process(166)|blocktime start:
>> 2011-06-02 14:30:00 2011-06-02
>> 12:13:56|30720|blockrequest|blockrequest.pm:process(167)|owner email:
>> jpsig...@ncsu.edu 2011-06-02
>> 12:13:56|30720|blockrequest|blockrequest.pm:process(168)|help address:
>> www.testing.com 2011-06-02
>> 12:13:56|30720|blockrequest|blockrequest.pm:process(173)|updated process
>> flag on blocktime_id= 13 2011-06-02
>> 12:13:56|30720|blockrequest|blockrequest.pm:process(193)|processing
>> blocktime_id= 13 pass 1 2011-06-02
>> 12:13:56|30720|blockrequest|utils.pm:xmlrpc_call(9090)|argument_string=
>> XMLRPCprocessBlockTime 13 1 2011-06-02
>> 12:13:56|30720|blockrequest|blockrequest.pm:process(217)|xmlrpc error on
>> blockrequest_id=8 blocktime_id=13 : access denied for managing block
>> allocations 2011-06-02 12:14:01|30716|vcld:main(167)|lastcheckin time
>> updated for management node 1: 2011-06-02 12:14:01 2011-06-02
>> 12:14:01|30720|blockrequest|blockrequest.pm:process(193)|processing
>> blocktime_id= 13 pass 2 2011-06-02
>> 12:14:01|30720|blockrequest|utils.pm:xmlrpc_call(9090)|argument_string=
>> XMLRPCprocessBlockTime 13 1 2011-06-02
>> 12:14:01|30720|blockrequest|blockrequest.pm:process(217)|xmlrpc error on
>> blockrequest_id=8 blocktime_id=13 : access denied for managing block
>> allocations 2011-06-02 12:14:06|30716|vcld:main(167)|lastcheckin time
>> updated for management node 1: 2011-06-02 12:14:06 2011-06-02
>> 12:14:06|30720|blockrequest|blockrequest.pm:process(193)|processing
>> blocktime_id= 13 pass 3 2011-06-02
>> 12:14:06|30720|blockrequest|utils.pm:xmlrpc_call(9090)|argument_string=
>> XMLRPCprocessBlockTime 13 1 2011-06-02
>> 12:14:06|30720|blockrequest|blockrequest.pm:process(217)|xmlrpc error on
>> blockrequest_id=8 blocktime_id=13 : access denied for managing block
>> allocations 2011-06-02 12:14:11|30716|vc

Re: block allocations failing

2011-06-02 Thread Josh Thompson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Patrick,

Did you set the xmlrpc_* variables in /etc/vcl/vcld.conf?

Josh

On Thursday June 02, 2011, James Patrick Sigmon wrote:
> Hey Guys,
> 
> My Block Allocations are failing to go through.  It looks to be some sort
> of access issue (see below).
> 
> Any ideas?
> 
> -Patrick Sigmon
> 
> WARNING - The block allocation for test was not successfully processed for
> the following session.
> 
> REASON: machines allocated were less than requested
> 
> Block allocation name   = test
> Machines allocated  = 0
> Machines requested  = 2
> Block Start time= 2011-06-02 14:30:00
> Block End time  = 2011-06-02 16:00:00
> User Group  = adminUsers
> Environment name= Windows 7 (No Apps)
> 
> Here is the vcld.log output:
> 
> 2011-06-02 12:13:56|30716|utils.pm:check_blockrequest_time(1026)|block
> request start time is within start window (136 minutes from now),
> returning 'start' 2011-06-02
> 12:13:56|30716|DataStructure.pm:_automethod(835)|data structure updated:
> $self->blockrequest_data->{8}{MODE}
> 
> |30716| blockrequest_mode = start
> 
> 2011-06-02 12:13:56|30716|vcld:main(445)|block request 8 'test' processing
> set to 1 2011-06-02 12:13:56|30716|vcld:make_new_child(515)|loaded
> VCL::blockrequest module 2011-06-02
> 12:13:56|30720|vcld:make_new_child(555)|vcld environment variable set to 0
> for this process 2011-06-02
> 12:13:56|30720|blockrequest|Module.pm:new(161)|VCL::blockrequest object
> created for state , address: 546f670 2011-06-02
> 12:13:56|30716|vcld:make_new_child(539)|current number of forked kids: 1
> 2011-06-02
> 12:13:56|30720|blockrequest|blockrequest.pm:initialize(84)|obtained a
> database handle for this state process, stored as $ENV{dbh} 2011-06-02
> 12:13:56|30720|blockrequest|utils.pm:rename_vcld_process(7120)|renamed
> process to 'vcld 8:13 'test'' 2011-06-02
> 12:13:56|30720|blockrequest|blockrequest.pm:initialize(94)|returning 1
> 2011-06-02
> 12:13:56|30720|blockrequest|vcld:make_new_child(565)|VCL::blockrequest
> object created and initialized 2011-06-02
> 12:13:56|30720|blockrequest|blockrequest.pm:process(159)|blockrequest id:
> 8 2011-06-02
> 12:13:56|30720|blockrequest|blockrequest.pm:process(160)|blockrequest
> mode: start 2011-06-02
> 12:13:56|30720|blockrequest|blockrequest.pm:process(161)|blockrequest
> image id: 23 2011-06-02
> 12:13:56|30720|blockrequest|blockrequest.pm:process(162)|blockrequest
> number machines: 2 2011-06-02
> 12:13:56|30720|blockrequest|blockrequest.pm:process(163)|blockrequest
> expire: 2011-06-08 23:59:59 2011-06-02
> 12:13:56|30720|blockrequest|blockrequest.pm:process(164)|blocktime id: 13
> 2011-06-02
> 12:13:56|30720|blockrequest|blockrequest.pm:process(165)|blocktime
> processed: 0 2011-06-02
> 12:13:56|30720|blockrequest|blockrequest.pm:process(166)|blocktime start:
> 2011-06-02 14:30:00 2011-06-02
> 12:13:56|30720|blockrequest|blockrequest.pm:process(167)|owner email:
> jpsig...@ncsu.edu 2011-06-02
> 12:13:56|30720|blockrequest|blockrequest.pm:process(168)|help address:
> www.testing.com 2011-06-02
> 12:13:56|30720|blockrequest|blockrequest.pm:process(173)|updated process
> flag on blocktime_id= 13 2011-06-02
> 12:13:56|30720|blockrequest|blockrequest.pm:process(193)|processing
> blocktime_id= 13 pass 1 2011-06-02
> 12:13:56|30720|blockrequest|utils.pm:xmlrpc_call(9090)|argument_string=
> XMLRPCprocessBlockTime 13 1 2011-06-02
> 12:13:56|30720|blockrequest|blockrequest.pm:process(217)|xmlrpc error on
> blockrequest_id=8 blocktime_id=13 : access denied for managing block
> allocations 2011-06-02 12:14:01|30716|vcld:main(167)|lastcheckin time
> updated for management node 1: 2011-06-02 12:14:01 2011-06-02
> 12:14:01|30720|blockrequest|blockrequest.pm:process(193)|processing
> blocktime_id= 13 pass 2 2011-06-02
> 12:14:01|30720|blockrequest|utils.pm:xmlrpc_call(9090)|argument_string=
> XMLRPCprocessBlockTime 13 1 2011-06-02
> 12:14:01|30720|blockrequest|blockrequest.pm:process(217)|xmlrpc error on
> blockrequest_id=8 blocktime_id=13 : access denied for managing block
> allocations 2011-06-02 12:14:06|30716|vcld:main(167)|lastcheckin time
> updated for management node 1: 2011-06-02 12:14:06 2011-06-02
> 12:14:06|30720|blockrequest|blockrequest.pm:process(193)|processing
> blocktime_id= 13 pass 3 2011-06-02
> 12:14:06|30720|blockrequest|utils.pm:xmlrpc_call(9090)|argument_string=
> XMLRPCprocessBlockTime 13 1 2011-06-02
> 12:14:06|30720|blockrequest|blockrequest.pm:process(217)|xmlrpc error on
> blockrequest_id=8 blocktime_id=13 : access denied for managing block
> allocations 2011-06-02 12:14:11|30716|vcld:main(167)|lastcheckin time
> updated for management node 1: 2011-06-02 12:14:11 2011-06-02
> 12:14:11|30720|blockrequest|blockrequest.pm:process(193)|processing
> blocktime_id= 13 pass 4 2011-06-02
> 12:14:11|30720|blockrequest|utils.pm:xmlrpc_call(9090)|argument_string=
> XMLRPCprocessBlockTime 13 1 2011-06-02
> 12:14:12|30720|blockrequest|blockrequest.