Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

OneView version requires credentials #401

Open
gzecchi opened this issue Feb 14, 2019 · 1 comment
Open

OneView version requires credentials #401

gzecchi opened this issue Feb 14, 2019 · 1 comment

Comments

@gzecchi
Copy link
Contributor

gzecchi commented Feb 14, 2019

Scenario/Intent

I'm trying to get OneView Appliance Version as indicated in this blog post.
As per documentation OneView version should be accessible without a login sessions (or login credential), however this SDK requires credentials dict in order to init OneViewClient instance.

Environment Details

  • OneView SDK Version: 4.8.0 (Unreleased - Master)
  • OneView Appliance Version: 4.10.04-0370820
  • OneView Client API Version: 800
  • Python Version: 2.7.15
  • Platform: MacOS Mojave 10.14.0

Steps to Reproduce

Execute version.py inside examples folder.

Expected Result

{u'currentVersion': 800, u'minimumVersion': 120}

Actual Result

Traceback (most recent call last):
File "test_versions.py", line 35, in
oneview_client = OneViewClient(config)
File "/Code/GitHub/python-hpOneView/hpOneView/oneview_client.py", line 128, in init
self.__connection.login(config["credentials"])
KeyError: u'credentials'

@sijeesh
Copy link
Collaborator

sijeesh commented Jul 23, 2019

@gzecchi , Sorry for the late replay and Thank you for pointing out this.
We will take this as an enhancement and work on it

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

No branches or pull requests

2 participants