You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run the OneviewSDK::Rack's method add_rack_resource to add a new resource to the rack.
Environment Details
OneView Appliance Version: 300/C7000
Steps to Reproduce
I've used the example and added the add_rack_resource method expecting it to work, but got issues.
Follows the updated example:
item=OneviewSDK::API300::C7000::Rack.new(@client,options)item.addputs"Rack #{item['name']} was added with uri='#{item['uri']}'"enc=OneviewSDK::API300::C7000::Enclosure.find_by(@client,{}).firstitem.add_rack_resource(enc)item.update#fails at this point with the NOMATCHING_ETAG_MESSAGE messageputs"Rack #{item['name']} was updated with new enclosure '#{enc['name']}'"## We don't really get here
Expected Result
The enclosure would've been added to the rack
Actual Result
NOMATCHING_ETAG_MESSAGE raised
The text was updated successfully, but these errors were encountered:
Scenario/Intent
Run the
OneviewSDK::Rack
's methodadd_rack_resource
to add a new resource to the rack.Environment Details
Steps to Reproduce
I've used the example and added the add_rack_resource method expecting it to work, but got issues.
Follows the updated example:
Expected Result
The enclosure would've been added to the rack
Actual Result
NOMATCHING_ETAG_MESSAGE raised
The text was updated successfully, but these errors were encountered: