Jarrod Johnson
2863c58264
Fix core to return invalidargument exception on bad input data
2014-05-08 14:39:44 -04:00
Jarrod Johnson
6c7aaf8bc3
Refine packaging issues
2014-05-06 16:45:51 -04:00
Jarrod Johnson
2f5dede1b4
Add bits and pieces to facilitate pypi packaging
2014-05-06 15:01:35 -04:00
Jarrod Johnson
c5cb5649d5
Begin reorganizing content for packaging
2014-05-06 13:37:31 -04:00
Jarrod Johnson
785148ad07
Rename pluginapi module to be more indicative of what the module represents
2014-05-06 10:48:29 -04:00
Jarrod Johnson
4ef60d3106
Have persistent ipmi command objects break selves on reconfig
...
When any reconfiguration happens, break a command object (and the session that lies beneath).
This does cause needless churn in response to some changes that wouldn't matter, but it's a
small price to pay for the simplicity of not bothering to be fancier.
2014-05-06 10:06:33 -04:00
Jarrod Johnson
23aac5dab7
Rework error reporting for errors.
...
For now, the only live path is the one that
gets struck by exception. However, the exception
only happens on 'strip_node', meaning for
multi-node resources, things should be sane when
the time comes.
2014-05-05 19:53:57 -04:00
Jarrod Johnson
811ee5eeda
Change ipmi console closure to only close SOL
...
Previously, was pulling the cord on a perfectly servicable IPMI
session object. Change to just deactivating the SOL portion
of an IPMI connection if the console closes.
2014-05-05 18:40:28 -04:00
Jarrod Johnson
4db53fd00e
Implement honoring of console.logging=none and fix reuse of broken ipmi command objects
2014-05-03 11:59:35 -04:00
Jarrod Johnson
ecd12c6c0f
Extend extension coverage to include the 'self' relation in html case
2014-04-30 15:58:31 -04:00
Jarrod Johnson
934ea4bd5f
Preserve file extensions when client requests data by extension
...
Previously, following links in the output would not work correctly. Have caller preference
for extension denoted type propogate into link targets.
2014-04-30 15:54:22 -04:00
Jarrod Johnson
6069eceb23
Provide better trace capture for AttributeErrors under ipmi
...
The ipmi plugin would erroneously treat all AttributeErrors following from
'next()' as indicating the top level was not a generator/iterator.
2014-04-30 13:07:31 -04:00
jbjohnso
c514c2c121
Implement offload of compute-intensive authentication.
...
With this change, an instance under pressure from new or bad authentication attempts
will continue to be viable to authenticated sessions and clients with tokens (e.g. any
http client that honors cookies).
2014-04-24 13:00:07 -04:00
jbjohnso
7d9b355bed
Allow passing server, user, passphrase via environment variables and comand via argv
2014-04-23 16:19:22 -04:00
jbjohnso
5067ea7110
Rework output format in confetty to accomodate non-optimal health nodes
2014-04-23 16:11:26 -04:00
jbjohnso
5e8b8b31d7
Implement server certificate validation.
...
Use CA if available, else use a 'known_hosts' type scheme.
2014-04-23 15:12:26 -04:00
jbjohnso
ecbf2e95f9
Provide more specific details to client about reason for being unconnected
2014-04-23 14:04:26 -04:00
jbjohnso
eacf28db69
Manager to get more traces into trace log instead of the stderr log
2014-04-23 11:14:17 -04:00
jbjohnso
e41140e24f
Fix problem where only one notifier would fire when many nodes would be hooked for the information.
2014-04-23 10:59:22 -04:00
jbjohnso
02243958d2
Avoid blank entries when acting like a file object and something does 'write('\n')'
2014-04-23 10:38:11 -04:00
jbjohnso
bd3f6a2f42
Check correct value for a line terminator
2014-04-23 10:22:12 -04:00
jbjohnso
dc401d6c3a
Fix mistake in trying to log stdout and stderr and clean up formatting
2014-04-23 10:18:45 -04:00
jbjohnso
0cb5b4370b
Start logging what would be stdout and stderr if not daemonized
2014-04-23 10:06:31 -04:00
jbjohnso
2db5004c54
Fix clearing of a group attribute not clearing inherited values
2014-04-23 09:38:42 -04:00
jbjohnso
fb87555776
Remove redundant key deletion and gracefully tolerate deletion of non-existant key
2014-04-22 17:11:44 -04:00
jbjohnso
371262a2f3
Fix group attribute clear persistence
2014-04-22 17:05:20 -04:00
jbjohnso
a5bc50017e
Do not claim to be in 'connecting' state until certain an attempt will actually be made
2014-04-22 17:03:24 -04:00
jbjohnso
71a0e63800
Fix configmanager to tolerate string/unicode argument instead of list/tuple/whatever
2014-04-22 16:38:09 -04:00
jbjohnso
d269be6f8b
Implement 'unset' on group attributes
2014-04-22 16:23:33 -04:00
jbjohnso
d854383be5
Provide a clear_group_attributes so that code may 'unset' attributes on a group
2014-04-22 16:17:47 -04:00
jbjohnso
00e3ec07ac
Provi
2014-04-22 16:01:42 -04:00
jbjohnso
e2395be10a
Log disconnection when a console session is closed
2014-04-22 11:23:17 -04:00
jbjohnso
3e6d405abf
Fix node collection notification code
2014-04-22 10:52:52 -04:00
jbjohnso
640a6ece45
Correct configmanager registration failures with no tenants
2014-04-21 17:01:25 -04:00
jbjohnso
e0f6bfeec2
Actually invoke the attempt at console autostart
2014-04-21 16:42:01 -04:00
jbjohnso
2a9c58ca72
Correct mistake in cleanup activity
2014-04-21 16:40:14 -04:00
jbjohnso
4706a4283d
First pass at implementing console auto start
2014-04-21 16:37:33 -04:00
jbjohnso
a93c14df4c
Add some notes about security related design
2014-04-21 16:01:14 -04:00
jbjohnso
49074bec74
General code cleanup
2014-04-21 10:48:18 -04:00
jbjohnso
a1ca028029
Cleanup the confetty client code
2014-04-21 10:17:13 -04:00
jbjohnso
5e79db5ca4
More style tweaks for PEP8
2014-04-18 17:22:08 -04:00
jbjohnso
1fc7a0716a
Address a number of style and other issues
2014-04-18 17:13:50 -04:00
jbjohnso
b3bc558bbe
Clean up warnings on messages
2014-04-18 16:11:18 -04:00
jbjohnso
2b086b9424
Style cleanup on several files
2014-04-18 15:52:29 -04:00
Jarrod Johnson
5152759270
Provide correct response when a node does not exist
2014-04-18 14:50:43 -04:00
Jarrod Johnson
b9f4e14170
Fix list_* functions to correctly handle non-existent collections
2014-04-18 14:42:35 -04:00
Jarrod Johnson
cf4e8713ff
Daemonize and honor pid file lock for exclusive execution
2014-04-18 14:34:16 -04:00
Jarrod Johnson
f509bc5db9
Rework most of the logging so that the output is no longer interesting
2014-04-18 10:36:51 -04:00
Jarrod Johnson
f3bd9569fd
Log when a console connection is established and lost
2014-04-16 15:45:05 -04:00
Jarrod Johnson
db456dd9e5
Have consoles meaningfully retried to see if the target is reconfigured
...
Previously, if a username or password was bad, retry would not occur.
Correct this such that every so often or right when someone connects,
the target is checked to see if the user/password is now considered good.
2014-04-16 10:18:59 -04:00