Jarrod Johnson
fd27835424
Remove thread aspect of ipmi.py
...
This is a work in progress, trying to make ipmi.py theoretically look better.
2014-02-05 09:20:39 -05:00
Jarrod Johnson
131e64ef0e
Fix cval assignment exception
...
For SOL sessions, the queue could be touched without anything in ipmiq.
Have cval be set to something benign in those cases to avoid a trace in
debug.
2014-02-01 19:43:28 -05:00
Jarrod Johnson
9749c173ac
Have command errors raised in the context of the calling code
...
Errors were not being raised in a manner to actually affect the request
threads. Address it by having the exceptions raise in the correct context.
2014-02-01 19:41:15 -05:00
Jarrod Johnson
170e7934ca
Restructure ipmi plugin logon errors
...
Make it so that logon errors are raised in the context
of the request(s) that actually care.
2014-02-01 19:28:31 -05:00
Jarrod Johnson
50891f235e
Implement session loss recovery
...
When a console object reports disconnect, have mechanism to get back in.
2014-02-01 18:49:36 -05:00
Jarrod Johnson
dae131d40f
Fix race condition on console connect
...
When data was coming in during logon, it was possible for
the handler to be called before rcpts member was initialized.
Correct by initializing rcpts prior to taking any other action.
2014-02-01 09:39:57 -05:00
Jarrod Johnson
086c18c641
Have ipmi plugin print out traceback data when exceptions would be encountered
...
For now, see the errors even as they are tolerated. This allows problems to be fixed
as best as possible. Ultimately, this will be logged.
2014-01-30 09:47:06 -05:00
Jarrod Johnson
b944677f85
Fix ipmi events if pyghmi spins in an eventloop
...
If circumstances inside pyghmi cause it to be looping in
an event loop, confluent was getting work done, but
the code to wake up the eventlet greenthreads wouldn't get tickled.
Address this by also waking up waiters in the function that is
invited to the pyghmi event loop party.
2014-01-29 22:08:48 -05:00
Jarrod Johnson
55ef78fc64
Correct issues in trying to keep ipmi worker alive
2014-01-29 12:52:57 -05:00
Jarrod Johnson
1b6c258934
Last change made exit fail badly, correct that
2014-01-28 17:48:59 -05:00
Jarrod Johnson
7709a52eda
Better isolate faults in the ipmi plugin
...
Previously, one ipmi failure would tank all consoles and commands.
Now, at least console failures are isolated.
Next stop is to isolate command failures, then fix up session recovery.
2014-01-28 17:41:01 -05:00
Jarrod Johnson
343600c2aa
Rework the 'update' button for clearer use alongside other buttons
2013-11-22 18:27:15 -05:00
Jarrod Johnson
6947f98d62
Rework some messages details, make boot device work
2013-11-07 16:33:48 -05:00
Jarrod Johnson
215acdf4a7
Have rest explorer actually mostly work as expected
2013-11-07 14:39:34 -05:00
Jarrod Johnson
ada6302c2d
Provide common entry point for input processing
2013-11-03 09:52:43 -05:00
Jarrod Johnson
51c80cdd74
Include some feedback in rest explorer on input data
2013-11-03 09:05:50 -05:00
Jarrod Johnson
3fa61dc8f9
Wire up input to plugins for create/read
2013-11-02 19:45:10 -04:00
Jarrod Johnson
3caafa063b
Change to plugin subdirectories to better organize plugins
2013-11-02 17:45:55 -04:00