fakebmc broken in pyghmi

Bug #1509098 reported by Ben Nemec
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Invalid
Undecided
Unassigned
pyghmi
Fix Released
Undecided
Jarrod Johnson

Bug Description

Commit 02c058ee065c5c21e5af11ad2eec461533e4a50a to pyghmi seems to have broken the fakebmc functionality. Prior to that, fakebmc starts fine. With that commit, fakebmc exits with the following stack trace:

Traceback (most recent call last):
  File "./fakebmc", line 82, in <module>
    mybmc = FakeBmc({'admin': 'password'}, port=args.port)
  File "./fakebmc", line 36, in __init__
    super(FakeBmc, self).__init__(authdata, port)
  File "/home/fedora/pyghmi/pyghmi/ipmi/private/serversession.py", line 266, in __init__
    ('::', port, 0, 0))
  File "/home/fedora/pyghmi/pyghmi/ipmi/private/session.py", line 311, in _assignsocket
    tmpsocket.bind(server)
  File "/usr/lib64/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
socket.error: [Errno 22] Invalid argument

This also affects other bmc implementations based on pyghmi, but fakebmc is the easiest one to test.

Revision history for this message
Dmitry Tantsur (divius) wrote :

Hi! I'm sorry, but the ironic project does not track pyghmi bugs, and I'm not even aware where it happens. You may want to contact its maintainer.

Changed in ironic:
status: New → Invalid
Revision history for this message
Jim Rollenhagen (jim-rollenhagen) wrote :

pyghmi has a bug tracker now, moved there \o/

Revision history for this message
Jarrod Johnson (jbjohnso) wrote :

1.0.2 fixes this

Changed in pyghmi:
assignee: nobody → Jarrod Johnson (jbjohnso)
status: New → 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.