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

resource block errors after VCF upgrades #586

Open
rehbeinc opened this issue Feb 8, 2021 · 0 comments
Open

resource block errors after VCF upgrades #586

rehbeinc opened this issue Feb 8, 2021 · 0 comments

Comments

@rehbeinc
Copy link

rehbeinc commented Feb 8, 2021

I have only been able to get the VCF composability to work running VCF 3.8.1. After an upgrade I am still able to connect to OneView but the error in SDDC says "Unable to fetch resource details from the translation layer. Possible reasons could be translation layer going down or resource blocks being in corrupt state. Please retry after resolving the issue."

If I go back to VCF 3.8.1 it works fine. I have tried this in VCF 3.9, 4 and 4.1 with same errors. Redfish toolkit (.3.3 and .4) gives me this

2021-02-08 14:01:21,390 - root - ERROR - Thread 140050484332288 - 'available'
2021-02-08 14:01:21,514 - flask.app - ERROR - Thread 140050484332288 - Exception on /redfish/v1/CompositionService/ResourceBlocks/269f3e49-3f4d-4835-83e0-368c96b2e4e2 [GET]
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.5/dist-packages/flask/_compat.py", line 35, in reraise
raise value
File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functionsrule.endpoint
File "/usr/local/lib/python3.5/dist-packages/oneview_redfish_toolkit/single_oneview_context.py", line 34, in new_function
return original_func(*args, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/oneview_redfish_toolkit/blueprints/resource_block.py", line 87, in get_resource_block
resource, drive_index_trees, zone_ids, None)
File "/usr/local/lib/python3.5/dist-packages/oneview_redfish_toolkit/api/storage_resource_block.py", line 57, in init
if storage_resource["attributes"]["available"] == "yes":
KeyError: 'available'
2021-02-08 14:01:21,515 - root - ERROR - Thread 140050484332288 - 'available'

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