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

Snapshot deletion will fail with mis match etags error #432

Closed
nabhajit-ray opened this issue Jun 3, 2020 · 0 comments
Closed

Snapshot deletion will fail with mis match etags error #432

nabhajit-ray opened this issue Jun 3, 2020 · 0 comments

Comments

@nabhajit-ray
Copy link
Collaborator

nabhajit-ray commented Jun 3, 2020

Scenario/Intent

[What you are trying to achieve but can't?]

Environment Details

  • OneView SDK Version: 5.12.0
  • OneView Appliance Version: OV 5.20
  • OneView Client API Version: 1600
  • Ruby Version: [2.4.1]
  • Platform: [Linux]

Steps to Reproduce

  1. run the volume example file

ruby example/api500/volume.rb

snapshot delete operation will fail

Expected Result

[What do you expect to happen after taking the steps above?]
snapshot delete should be successful.

Actual Result

Removing a snapshot...
Traceback (most recent call last):
3: from examples/api500//volume.rb:167:in <main>' 2: from /root/oneview/lib/oneview-sdk/resource/api200/volume.rb:127:in delete_snapshot'
1: from /root/oneview/lib/oneview-sdk/rest.rb:236:in response_handler' /root/oneview/lib/oneview-sdk/exceptions.rb:28:in raise!': 412 {"errorSource":null,"nestedErrors":[],"errorCode":"STRM_ETAG_MISMATCH","data":{},"recommendedActions":["Refresh the resource and try again."],"details":null,"message":"The resource is out of date. It may have been modified in the background or by someone else."} (OneviewSDK::RequestError)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant