HewlettPackard / oneview-chef

This project is no longer being developed and has limited support. In the near future this repository will be fully deprecated. Please consider using other OneView projects, such as Terraform and Ansible Collection
https://supermarket.chef.io/cookbooks/oneview
Apache License 2.0
17 stars 15 forks source link

Example sas_logical_interconnect_group.rb not working #394

Closed DungKHoang closed 3 years ago

DungKHoang commented 5 years ago

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

sijeesh commented 5 years ago

@DungKHoang , You have to install and configure OneView Ruby SDK .

DungKHoang commented 5 years ago

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

yuvirani commented 3 years ago

This SDK has limited support and will not be actively developed for the foreseeable future.