Closed maximyep closed 4 years ago
From the very beginning of your logs:
Setting up Redfish Service Check Tool Revision: 01.05.17 : OpenBmc:127.0.0.1:5000
OPERATIONAL ERROR: GET Request for /redfish FAILED with exeption: <class 'ssl.SSLError'>
The default scheme for the conformance check tool is HTTPS, but the profile simulator only supports HTTP.
To configure the conformance check tool to use HTTP, add "UseHttp": "yes"
to your SUTs section in properties.json:
...
"Password": "password123456",
"LoginName": "root",
"DnsName": "127.0.0.1:5000",
"UseHttp": "yes",
...
It is strange, but the execution fails with: (HTTP status 401) tried with
seems error somewhere inside emulator.
I'm not sure for 100% but if following is done:
max@myepanes-bmc:~/redfish/Redfish-Service-Conformance-Check$ git diff rf_sut.py
test started to work
That looks like a bug in the Redfish-Profile-Simulator. Per the Redfish spec, the "/redfish/v1/odata" resource shall not require authentication. It appears the Profile-Simulator is requiring authn for that resource.
Shell a I raise a bug into Profile-Simulator?
@maximyep - Yes, please, that would be great.
Closing; this issue has been open a while and should be addressed with a fix in the Redfish Profile Simulator. Please reopen if the issue still persists.
Notes:
Currently, I've observed another problem. Please take look:
Steps to reproduce:
Install (if not installed) python3 -m pip install openpyxl python3 -m pip install requests python3 -m pip install beautifulsoup4
Download DMTF-Simulator from git@github.com:DMTF/Redfish-Service-Conformance-Check.git and start chmod +x start.sh ./start.sh redfishProfileSimulator Version: 0.9.6 Starting redfishProfileSimulator at: hostIP=127.0.0.1, port=5000
Configure properties file with: cat properties.json ... "Password": "password123456", "LoginName": "root", "DnsName": "127.0.0.1:5000",
Start test with: python3 sample_run.py
Test fails with:
Full logs: DMTF-Redfish-Service-Conformance-Check-logs-with-fixed-issue-161.txt