Hide Forgot
Description of problem: The following error is displayed when accessing the deltacloud API (Entry page in the GUI and from server:portNumber/api from the API): NoMethodError - undefined method `keys' for nil:NilClass Version-Release number of selected component (if applicable): deltacloud-core-0.5.0 How reproducible: Steps to Reproduce: 1. On RHEL 6, install Deltacloud from http://people.apache.org/~lutter/deltacloud/0.5.0/rc1/ 2. Start a server : API_PROVIDER=providerURL ./bin/deltacloudd -i vsphere -r serverName -p 3006 3.Execute: curl -X GET --user 'Username:pwd' "http://server:3006/api?format=xml" or access the GUI Entry page http://server:3006/api Actual results: curl -X GET --user 'Username:pwd' "http://server:3006/api?format=xml" <error status='500' url='/api?format=xml'> <kind>backend_error</kind> <backend driver='vsphere'> <code>500</code> </backend> <message><![CDATA[undefined method `keys' for nil:NilClass]]></message> </error> Expected results: The collections available for Vsphere provider should be listed or displayed. Additional info:
This has been fixed in: http://people.apache.org/~lutter/deltacloud/0.5.0/rc1/. See: https://issues.apache.org/jira/browse/DTACLOUD-124 >> curl -X GET --user 'username:password' "http://server:3006/api?format=xml" <api driver='vsphere' version='0.5.0'> <link href='http://server:3006/api/realms' rel='realms'> </link> <link href='http://server.com:3006/api/storage_snapshots' rel='storage_snapshots'> </link> <link href='http://server:3006/api/images' rel='images'> </link> <link href='http://server:3006/api/instances' rel='instances'> <feature name='user_iso'> </feature> <feature name='user_data'> </feature> <feature name='user_name'> </feature> </link> <link href='http://server:3006/api/storage_volumes' rel='storage_volumes'> </link> <link href='http://server:3006/api/hardware_profiles' rel='hardware_profiles'> </link> <link href='http://server:3006/api/instance_states' rel='instance_states'> </link> <link href='http://server:3006/api/drivers' rel='drivers'> </link> </api>
moving to on_qa based on Ronelle's comments
Created attachment 551879 [details] Screenshot of API Entry page
Verified according to attached screenshot and and API output copied in Comment 1 above.
bugs in verified or on_qa moving off tracker