On Mon, 2010-05-17 at 12:54 +0100, [email protected] wrote:
> * Had to rename the driver (rimu/rimu_hosting_driver -->
> rimuhosting/rimuhosting_driver) due to the name we parse arguments and
> instantiate drivers in drivers.rb ... it was either this or changing
> drivers.rb but that is already used by all other drivers...

Ugh .. very much needed.

> * Issue with the way credentials were being used which caused thin to
> explode ('credentials.provided?' was failing so made it
> 'credentials.nil?')

The two test for different things: credentials.nil? tests if a
credentials object (defined in lib/sinatra/lazy_auth.rb) was passed,
whereas credentials.provided? tests if we received a user/password as
part of the request.

In a driver, credentials should never be nil - if anything fails becuse
of that, we have a bug in server.rb or similar.

> * The driver was not grabbing the public IP address of a given
> instance from the rimuhosting response (this will be needed for the
> firewalling stuff later). 

Good fix.

David


_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel

Reply via email to