Michal Fojtik created DTACLOUD-466:
--------------------------------------

             Summary: 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

Reply via email to