-----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=<adminaccount'spassword>
> xmlrpc_url=https://<website>/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 <not set>, 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.pm:process(217)|xmlrpc error on
> >> blockrequest_id=8 blocktime_id=13 : access denied for managing block
> >> allocations 2011-06-02 12:14:16|30716|vcld:main(167)|lastcheckin time
> >> updated for management node 1: 2011-06-02 12:14:16 2011-06-02
> >> 12:14:17|30720|blockrequest|blockrequest.pm:process(193)|processing
> >> blocktime_id= 13 pass 5 2011-06-02
> >> 12:14:17|30720|blockrequest|utils.pm:xmlrpc_call(9090)|argument_string=
> >> XMLRPCprocessBlockTime 13 1 2011-06-02
> >> 12:14:17|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:21|30716|vcld:main(167)|lastcheckin time
> >> updated for management node 1: 2011-06-02 12:14:21 2011-06-02
> >> 12:14:22|30720|blockrequest|blockrequest.pm:process(193)|processing
> >> blocktime_id= 13 pass 6 2011-06-02
> >> 12:14:22|30720|blockrequest|utils.pm:xmlrpc_call(9090)|argument_string=
> >> XMLRPCprocessBlockTime 13 1 2011-06-02
> >> 12:14:22|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:26|30716|vcld:main(167)|lastcheckin time
> >> updated for management node 1: 2011-06-02 12:14:26 2011-06-02
> >> 12:14:27|30720|blockrequest|blockrequest.pm:process(198)|attempted 6
> >> passes to complete block_request 8
> >> 
> >> |30720|blockrequest| allocated= 0
> >> |30720|blockrequest| blockrequest_number_machines= 2
> >> 
> >> 2011-06-02 12:14:27|30720|blockrequest|utils.pm:mail(1268)|SUCCESS --
> >> Sending mail To: 0, PROBLEM -- blockrequest.pm:process(244)|test
> > 
> > - --
> > - -------------------------------
> > Josh Thompson
> > VCL Developer
> > North Carolina State University
> > 
> > my GPG/PGP key can be found at pgp.mit.edu
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v2.0.17 (GNU/Linux)
> > 
> > iEYEARECAAYFAk3nv54ACgkQV/LQcNdtPQMaJACZAY1Inn33w7XaaManvaq2yL3c
> > /DIAnRS/06SsTNEPJA6WgeTM0OK71OWd
> > =BQoT
> > -----END PGP SIGNATURE-----
- -- 
- -------------------------------
Josh Thompson
VCL Developer
North Carolina State University

my GPG/PGP key can be found at pgp.mit.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)

iEYEARECAAYFAk3nyoEACgkQV/LQcNdtPQNh+wCfT78H3TCJSGFD+APH+maCeMw6
GtMAnjdnn0u5z3tM6VY7fgGoBLhkgi2t
=bQzC
-----END PGP SIGNATURE-----

Reply via email to