Closed DungKHoang closed 3 years ago
@DungKHoang , You have to install and configure OneView Ruby SDK .
OneView Ruby SDK is installed. and other examples like ethernetnetwork.rb or networkset.rb are working
On Sun, Feb 3, 2019 at 9:17 AM Sijeesh Kattumunda notifications@github.com wrote:
@DungKHoang https://github.com/DungKHoang , You have to install and configure OneView Ruby SDK .
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/HewlettPackard/oneview-chef/issues/394#issuecomment-460070110, or mute the thread https://github.com/notifications/unsubscribe-auth/AIxTqLSmp8GSVl4rZmODJ67jwY9ZvUQ0ks5vJxmggaJpZM4agM_G .
-- Dung K Hoang
This SDK has limited support and will not be actively developed for the foreseeable future.
Scenario/Intent
Execute example sas_logical_interconnect_group.rb cookbook
Environment Details
Steps to Reproduce
Execute example sas_logical_interconnect_group.rb cookbook
Expected Result
sas LIG created
Actual Result
FATAL: OneviewSDK::NotFound: oneview_sas_logical_interconnect_group[SAS LIG] (my_oneview::ov-test-sas2 line 26) had an error: OneviewSDK::NotFound: 404 NOT FOUND {"errorSource":null,"nestedErrors":[],"errorCode":"GENERIC_HTTP_404","data":{},"recommendedActions":["Check the request URI, then resend the request."],"details":"The requested resource could not be found.","message":"Not Found"}
Solution
Have to add api_version: 300 and api_variant: 'Synergy' in my_client definition