User is an optional attribute for ipmi systems

Bug #1715787 reported by Tony Breeds
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Tony Breeds

Bug Description

Some IPMI based systems do not require a username and authentication fails when given one.

eg:

# ipmitool -I lanplus -H 192.168.0.1 -U admin -f /tmp/pw chassis status
Error: Unable to establish IPMI v2 / RMCP+ session
# ipmitool -I lanplus -H 192.168.0.1 -f /tmp/pw chassis status
System Power : off
Power Overload : false
Power Interlock : inactive
Main Power Fault : false
Power Control Fault : false
Power Restore Policy : always-off
Last Power Event :
Chassis Intrusion : inactive
Front-Panel Lockout : inactive
Drive Fault : false
Cooling/Fan Fault : false

Currently tripleo mandates that there must be a pm_user key in instackenv.json making it impossible to use the system above

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to python-tripleoclient (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/501935

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-common (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/501937

Changed in tripleo:
milestone: none → queens-1
importance: Undecided → Medium
status: New → Triaged
assignee: nobody → Tony Breeds (o-tony)
Changed in tripleo:
milestone: queens-1 → queens-2
Changed in tripleo:
milestone: queens-2 → queens-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-tripleoclient (master)

Change abandoned by Tony Breeds (<email address hidden>) on branch: master
Review: https://review.openstack.org/501935
Reason: Abandoned in favor of https://review.openstack.org/528602

Changed in tripleo:
milestone: queens-3 → queens-rc1
Changed in tripleo:
milestone: queens-rc1 → rocky-1
Changed in tripleo:
milestone: rocky-1 → rocky-2
Changed in tripleo:
milestone: rocky-2 → rocky-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-common (master)

Reviewed: https://review.openstack.org/501937
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=ca290cf4afcfcabd3e678fdba9e0099cc477739d
Submitter: Zuul
Branch: master

commit ca290cf4afcfcabd3e678fdba9e0099cc477739d
Author: Tony Breeds <email address hidden>
Date: Thu Aug 31 15:21:45 2017 +1000

    IPMI doesn't mandate a username or password so tripleo shouldn't either

    Give driver types a little more flexibility in defining which fields are
    mandated.

    Blueprint: multiarch-support
    Related-Bug: 1715787
    Change-Id: I6c72b03512a0815326a1b62bc88231b17340c45f

Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Changed in tripleo:
milestone: rocky-rc1 → stein-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-common (stable/queens)

Related fix proposed to branch: stable/queens
Review: https://review.openstack.org/587328

Changed in tripleo:
milestone: stein-1 → stein-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-common (stable/queens)

Reviewed: https://review.openstack.org/587328
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=8c0676fe33e7b253d68a8a1798beafd5d864d540
Submitter: Zuul
Branch: stable/queens

commit 8c0676fe33e7b253d68a8a1798beafd5d864d540
Author: Tony Breeds <email address hidden>
Date: Thu Aug 31 15:21:45 2017 +1000

    IPMI doesn't mandate a username or password so tripleo shouldn't either

    Give driver types a little more flexibility in defining which fields are
    mandated.

    Blueprint: multiarch-support
    Related-Bug: 1715787
    Change-Id: I6c72b03512a0815326a1b62bc88231b17340c45f
    (cherry picked from commit ca290cf4afcfcabd3e678fdba9e0099cc477739d)

tags: added: in-stable-queens
Changed in tripleo:
milestone: stein-2 → stein-3
Changed in tripleo:
status: Triaged → Fix Released
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.