Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1883896

Summary: Redfish virtual media not working with sushy-tools in dev-scripts
Product: OpenShift Container Platform Reporter: Stephen Benjamin <stbenjam>
Component: Bare Metal Hardware ProvisioningAssignee: Dmitry Tantsur <dtantsur>
Bare Metal Hardware Provisioning sub component: ironic QA Contact: Amit Ugol <augol>
Status: CLOSED ERRATA Docs Contact:
Severity: urgent    
Priority: urgent CC: beth.white, derekh, rbartal
Version: 4.6Keywords: OtherQA, Triaged, UpcomingSprint
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 16:47:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
sushy-tools logs
none
ironic logs
none
conductor log none

Description Stephen Benjamin 2020-09-30 13:23:58 UTC
Description of problem:

Trying to use dev-scripts with virtual media, ironic has the nodes stuck in enroll with the error "Failed to get power state for node 8896be72-2a21-429e-a0ea-e6d196fa0bfe. Error: HTTP GET http://192.168.111.1:8000/redfish/v1/Systems/19e67c5c-18bf-46dc-b990-1ecd183695a2 returned code 500. Base.1.0.GeneralError: Dict is not yet persistent"


Version-Release number of selected component (if applicable):

4.6 latest ci builds

How reproducible:

Always

Steps to Reproduce:
1. Create a new dev-scripts deployment with:

export PROVISIONING_NETWORK_PROFILE="Disabled"
export IP_STACK="v4"


2. Run make


Actual results:

See nodes get stuff in enroll/verifiying forever

Expected results:

Nodes get provisioned


Additional info:


sushy-tools reports:


[root@stbenjam-dfw2-m2 dev-scripts]# curl http://192.168.111.1:8000/redfish/v1/Systems/19e67c5c-18bf-46dc-b990-1ecd183695a2
{
  "error": {
    "code": "Base.1.0.GeneralError",
    "message": "Dict is not yet persistent",
    "@Message.ExtendedInfo": [
      {
        "@odata.type": "/redfish/v1/$metadata#Message.1.0.0.Message",
        "MessageId": "Base.1.0.GeneralError"
      }
    ]
  }
}

Comment 1 Stephen Benjamin 2020-09-30 13:25:50 UTC
Created attachment 1717875 [details]
sushy-tools logs

Comment 2 Stephen Benjamin 2020-09-30 13:26:46 UTC
Created attachment 1717876 [details]
ironic logs

gzipped because they're too large

Comment 3 Stephen Benjamin 2020-09-30 13:27:39 UTC
Created attachment 1717877 [details]
conductor log

Comment 4 Stephen Benjamin 2020-09-30 13:28:18 UTC
This is affecting the e2e-metal-ipi-virtualmedia CI job. To help pinpoint what happened, this started failing around 9/6.

Comment 8 Stephen Benjamin 2020-10-01 13:26:38 UTC
Fixes have landed. Hopefully we'll see the impact on CI soon.

Comment 12 errata-xmlrpc 2020-10-27 16:47:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (OpenShift Container Platform 4.6 GA Images), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:4196