[
https://issues.apache.org/jira/browse/DTACLOUD-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13576533#comment-13576533
]
Marios Andreou commented on DTACLOUD-466:
-----------------------------------------
OK - after discussion with michal (irc) the empty patch @
http://tracker.deltacloud.org/patch/2bc1f8fb (set 311 patch 2/2) is a non-issue
WRT patch 1/2: ACK... but I'm wondering about this line:
Thread.current[:driver] || ENV['API_DRIVER'] || 'mock'
is there ever a case where Thread.current[:driver] or ENV['API_DRIVER'] isn't
set?
marios
> Undefined method 'default_frontend' when using the Provider.lookup outside
> Deltacloud server
> --------------------------------------------------------------------------------------------
>
> Key: DTACLOUD-466
> URL: https://issues.apache.org/jira/browse/DTACLOUD-466
> Project: DeltaCloud
> Issue Type: Bug
> Reporter: Michal Fojtik
> Assignee: Michal Fojtik
> Priority: Critical
>
> The 'lookup' method access the Deltacloud driver helper named
> 'driver_symbol'. However this helper call
> 'Deltacloud.default_frontend.default_driver' which is set in
> 'deltacloud_rack' and exists only in Deltacloud server context.
> As a result, this method will error out in CIMI tests or in CIMI client:
> NoMethodError - undefined method `default_frontend' for Deltacloud:Module:
>
> /home/martha/openSource/deltacloud/server/lib/deltacloud/helpers/driver_helper.rb:32:in
> `driver_name'
>
> /home/martha/openSource/deltacloud/server/lib/deltacloud/helpers/driver_helper.rb:28:in
> `driver_symbol'
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira