On Fri, Aug 19, 2011 at 03:46:41PM -0400, Scott Seago wrote:
From: Scott Seago sseago@redhat.com Subject: [PATCH conductor 0/8] revised patchset In-Reply-To:
I'm unable to add provider accounts, but I can't rule out the possibility of it being a local error.
I applied your 8 patches, started deltacloud-core on :3002, and modified the auto-created mock provider to include an 'X-Deltacloud-Driver' value of 'mock'. It saved properly, but I am unable to add a provider account.
When I try, I get this flash message: "Account Mockery could not be added:" with no further error text.
/var/log/deltacloud-core/ec2.log shows this:
RuntimeError - Please set either the DELTACLOUD_MOCK_STORAGE or USER environment variable: ././lib/deltacloud/drivers/mock/mock_driver.rb:97:in `initialize' ././lib/drivers.rb:62:in `new' ././lib/drivers.rb:62:in `driver' ././server.rb:89:in `GET /api/?'
It's entirely possible that this issue is unrelated to your patch, but in any case, it prevents me from testing further.
-- Matt