Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'retrieve!' and 'exists?' methods return false for existing Volumes on API500 #273

Closed
aalexmonteiro opened this issue Sep 26, 2017 · 0 comments
Assignees

Comments

@aalexmonteiro
Copy link
Contributor

Scenario/Intent

On Volumes for API500, it is not possible to use methods that retrieve! and exists? passing the name attribute before creating it, because the property name is inside the properties

Environment Details

  • **OneView SDK Version: current master repo
  • **OneView Appliance Version: Any
  • **OneView Client API Version: Any
  • **Ruby Version: 2.2.3+
  • **Platform: Any

Steps to Reproduce

Try to use the methods retrieve! and exists using the name attribute.

Expected Result

A error message with more information about the error.

Actual Result

An exception occurs: OneviewSDK::IncompleteResource: Must set resource name or uri before trying to retrieve.

@aalexmonteiro aalexmonteiro self-assigned this Sep 26, 2017
@aalexmonteiro aalexmonteiro changed the title Find a volume using the retrieve! and exists? methods on the API500 before a post The 'retrieve!' and 'exists?' methods return false for existing Volumes on API500 Sep 27, 2017
@aalexmonteiro aalexmonteiro changed the title The 'retrieve!' and 'exists?' methods return false for existing Volumes on API500 'retrieve!' and 'exists?' methods return false for existing Volumes on API500 Sep 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant