XMLRPC Woes

2009-10-21 Thread Brian Bouterse
I am trying to drive VCL via XMLRPC and am having a lot of trouble.  I  
have correctly attached the X-User, X-Pass, and X-APIVERSION headers  
along with my HTTP transport, with the following values:


X-User:  ad...@local
X-Pass:  thecorrectpassword
X-APIVERSION is correct

I know most of it's working because the error message I get is:   
xmlrpclib.Fault: Fault 6: 'Unable to authenticate passed in X-User'


Which line of code verifies this value?
Any ideas why this isn't working?

Thanks!
Brian

Brian Bouterse
NEXT Services
919.698.8796



Reservation Timeout Problems

2009-10-21 Thread Brian Bouterse
Here's what I experience:  I will make a reservation, it will load  
successfully, I will NOT click on the 'Connect' button, wait 10  
minutes, and the reseration goes to Reservation has timed out  
although the computer it was loaded on shows that it is available  
under 'Manage Computers.'


Basically I want to provision VM's but not connect into them.  For the  
image I am reserving, I have gone through as set Check for logged in  
user: to No under Manage Images-Profiles-Edit-Advanced.


How can I make these reservations not time out?

Thanks!
Brian


Brian Bouterse
NEXT Services
919.698.8796



Re: XMLRPC Woes

2009-10-21 Thread Josh Thompson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Brian,

You're hitting printXMLRPCerror(6); in utils.php, function checkAccess.  
That makes me think one of 2 things:

(1) in conf.php, for your Local Account entry in $authMechs, type is not 
set to local (case important)

or

(2) the foreach loop a little higher in the function, right 
after elseif($apiver == 2) is completing without setting $authtype.  For 
some reason, I have a commented out check to see if it isn't set.  I'll 
create a JIRA issue to correct that.  To debug this case, you can add an 
entry to $XMLRPCERRORS in errors.php, then uncomment those few lines and 
change the print statement to printXMLRPCerror passing it the id of the new 
line you added in errors.php.

Josh

On Wednesday October 21, 2009, Brian Bouterse wrote:
 I am trying to drive VCL via XMLRPC and am having a lot of trouble.  I
 have correctly attached the X-User, X-Pass, and X-APIVERSION headers
 along with my HTTP transport, with the following values:

 X-User:  ad...@local
 X-Pass:  thecorrectpassword
 X-APIVERSION is correct

 I know most of it's working because the error message I get is:
 xmlrpclib.Fault: Fault 6: 'Unable to authenticate passed in X-User'

 Which line of code verifies this value?
 Any ideas why this isn't working?

 Thanks!
 Brian

 Brian Bouterse
 NEXT Services
 919.698.8796
- -- 
- ---
Josh Thompson
Systems Programmer
Advanced Computing | VCL Developer
North Carolina State University

josh_thomp...@ncsu.edu
919-515-5323

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

iD8DBQFK3zNrV/LQcNdtPQMRAtqyAJ4kgFODY+2qvN4seHSIPe++TRWftACeN3N1
Qef9npY3zSroKSGv+CXNzNo=
=DTve
-END PGP SIGNATURE-


[VOTE] release VCL 2.1

2009-10-21 Thread Josh Thompson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I created a release artifact based off of trunk.  I copied trunk to a tag 
under the tags area of the repo that is named release-2.1-RC1:

http://svn.apache.org/repos/asf/incubator/vcl/tags/release-2.1-RC1/

The artifact is an export from that tag.  The artifact, MD5 and SHA1 sums, and 
my GPG signature of it are available from my space on people.a.o:

http://people.apache.org/~jfthomps/apache-VCL-2.1-RC1-incubating/

The list of resolved JIRA issues associated with this release can be found on 
the VCL 2.1 release page:

http://cwiki.apache.org/VCL/vcl-21-unreleased.html#VCL2.1%2528unreleased%2529-ChangeLog

Installation instructions are on the Confluence site and in the INSTALLATION 
file included in the artifact.

Aaron, Andy, and I have completed a test install of all parts and were able to 
successfully create and capture a base image.

Please vote to publish this release.

(Question to mentors: Do I need to vote in a successive email in this thread, 
or is this post an implicit vote?)
- -- 
- ---
Josh Thompson
Systems Programmer
Advanced Computing | VCL Developer
North Carolina State University

josh_thomp...@ncsu.edu
919-515-5323

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

iD8DBQFK30SGV/LQcNdtPQMRAhk8AJsGL4m0J1v0DC7U9Yyc31TIRjKXFACdE0bM
827++1u0XH9c2GqKP/pAE80=
=QrMV
-END PGP SIGNATURE-


Re: [VOTE] release VCL 2.1

2009-10-21 Thread Aaron Peeler
Since I was part of packaging and went through due-diligence with a 3rd 
party. I feel this is ready.


+1

Aaron

--On October 21, 2009 1:27:34 PM -0400 Josh Thompson 
josh_thomp...@ncsu.edu wrote:



-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I created a release artifact based off of trunk.  I copied trunk to a tag
under the tags area of the repo that is named release-2.1-RC1:

http://svn.apache.org/repos/asf/incubator/vcl/tags/release-2.1-RC1/

The artifact is an export from that tag.  The artifact, MD5 and SHA1
sums, and  my GPG signature of it are available from my space on
people.a.o:

http://people.apache.org/~jfthomps/apache-VCL-2.1-RC1-incubating/

The list of resolved JIRA issues associated with this release can be
found on  the VCL 2.1 release page:

http://cwiki.apache.org/VCL/vcl-21-unreleased.html#VCL2.1%2528unreleased%
2529-ChangeLog

Installation instructions are on the Confluence site and in the
INSTALLATION  file included in the artifact.

Aaron, Andy, and I have completed a test install of all parts and were
able to  successfully create and capture a base image.

Please vote to publish this release.

(Question to mentors: Do I need to vote in a successive email in this
thread,  or is this post an implicit vote?)
- --
- ---
Josh Thompson
Systems Programmer
Advanced Computing | VCL Developer
North Carolina State University

josh_thomp...@ncsu.edu
919-515-5323

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

iD8DBQFK30SGV/LQcNdtPQMRAhk8AJsGL4m0J1v0DC7U9Yyc31TIRjKXFACdE0bM
827++1u0XH9c2GqKP/pAE80=
=QrMV
-END PGP SIGNATURE-




Aaron Peeler
OIT Advanced Computing
College of Engineering-NCSU
919.513.4571
http://vcl.ncsu.edu