For Gen 10 servers we are getting inconsistent response for redfish system call.

Bug #1764395 reported by M V P Nitesh
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
proliantutils
Fix Released
High
M V P Nitesh

Bug Description

For Gen 10 servers we are not able to receive consistent response for redfish system call.

DEBUG proliantutils.redfish.redfish req-7a2606ca-6fb2-4dd3-a25a-ca50c04160f7 None None[iLO 172.17.1.89] The Redfish System "1" was not found. Error HTTP GET https://172.17.1.89/redfish/v1/Systems/1 returned code 401.

Error: iLO get_power_status failed, error: [iLO 172.17.1.89] The Redfish System "1" was not found. Error HTTP GET https://172.17.1.89/redfish/v1/Systems/1 returned code 401. iLO.0.10.ExtendedInfo: See @Message.ExtendedInfo for more information.: IloOperationError: iLO get_power_status failed, error: [iLO 172.17.1.89] The Redfish System "1" was not found. Error HTTP GET https://172.17.1.89/redfish/v1/Systems/1 returned code 401.

M V P Nitesh (m-nitesh)
Changed in proliantutils:
assignee: nobody → M V P Nitesh (m-nitesh)
Changed in proliantutils:
status: New → In Progress
deray (debayan-ray)
Changed in proliantutils:
importance: Undecided → High
milestone: none → future
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to proliantutils (master)

Reviewed: https://review.openstack.org/561191
Committed: https://git.openstack.org/cgit/openstack/proliantutils/commit/?id=da0c7b3db906f375f1f09a31433f46b1c553c95f
Submitter: Zuul
Branch: master

commit da0c7b3db906f375f1f09a31433f46b1c553c95f
Author: mvpnitesh <email address hidden>
Date: Fri Apr 13 10:26:54 2018 +0000

    Fixes session issue for Gen10 servers

    For HPE Gen10 servers we are not able to receive consistent response
    while accessing the System with id: "/redfish/v1/Systems/1".
    The reason was related to multiple Sushy object creation which in
    turn will create multiple active sessions for the same Redfish
    controller at any given point.

    Instead of using session based authentication (the default behaviour
    in Sushy) we use basic authentication at the time of Sushy object
    creation. This fixes the session issue for Gen10 servers.

    Change-Id: Ic13da26a77863f8c383fa8ba185e05a8fc2e9fcf
    Closes-Bug: #1764395

Changed in proliantutils:
status: In Progress → Fix Released
Revision history for this message
Govardhan Chintha (cgovardhan) wrote :

Does Sushy terminate the session once the session usage is completed ?

Owais Aamir (owaisaamir)
no longer affects: centos
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to proliantutils (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.opendev.org/656561

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to proliantutils (stable/queens)

Reviewed: https://review.opendev.org/656561
Committed: https://git.openstack.org/cgit/x/proliantutils/commit/?id=5bdde1ba8910436beaf973c0d86509d1dc86015e
Submitter: Zuul
Branch: stable/queens

commit 5bdde1ba8910436beaf973c0d86509d1dc86015e
Author: mvpnitesh <email address hidden>
Date: Fri Apr 13 10:26:54 2018 +0000

    Fixes session issue for Gen10 servers

    For HPE Gen10 servers we are not able to receive consistent response
    while accessing the System with id: "/redfish/v1/Systems/1".
    The reason was related to multiple Sushy object creation which in
    turn will create multiple active sessions for the same Redfish
    controller at any given point.

    Instead of using session based authentication (the default behaviour
    in Sushy) we use basic authentication at the time of Sushy object
    creation. This fixes the session issue for Gen10 servers.

    Change-Id: Ic13da26a77863f8c383fa8ba185e05a8fc2e9fcf
    Closes-Bug: #1764395
    (cherry picked from commit da0c7b3db906f375f1f09a31433f46b1c553c95f)

tags: added: in-stable-queens
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.