Jarrod Johnson
b81e5fb3ce
Fix python3 issues with noderun and nodeshell
2019-10-11 09:53:01 -04:00
Jarrod Johnson
5353b479d9
More python3 fixes
2019-10-08 13:46:44 -04:00
Jarrod Johnson
dbc6747c38
Fix nodebmcreset for python3
2019-10-08 13:43:53 -04:00
Jarrod Johnson
c1953bdad3
Another set of python 3 compatibility
...
Numerous issues arose, particularly
when participating in a mixed
collective.
2019-10-08 10:45:43 -04:00
Jarrod Johnson
74f18d5571
Client side py3 changes
2019-10-04 10:37:48 -04:00
Jarrod Johnson
44d6bde3ff
Make /usr/bin/env python point to python2
...
Same as before, more RHEL8 compatibility changes
2019-09-23 11:04:52 -04:00
Jarrod Johnson
56fa13279e
Explicitly indicate use of python2
...
RHEL8 will no longer tolerate implicit use of python.
For now relent to being python2, though ideally one day
it could be either.
Unfortunately, this means once code is ready for python3, we have to
probably implement build time changes for python3 enabled distros
to have different shebangs than python2 distros.
2019-09-23 10:59:00 -04:00
Jarrod Johnson
f03bb36dbe
Fix nodeconfig treatment of bmc attributes
...
Make bmc behave like other categories/settings.
2019-08-29 15:24:14 -04:00
Jarrod Johnson
65629548c9
Add support for new BMC config capabilities
...
This enables nodeconfig -r bmc and nodeconfig bmc.<attr> function.
2019-08-27 14:56:19 -04:00
Jarrod Johnson
c3176ab86a
Add blink and identify reporting to redfish
2019-08-05 16:22:50 -04:00
Jarrod Johnson
af025f7304
Present log name when provided in nodeeventlog
...
Some managers combine logs, allow disambiguation through including in output.
2019-07-25 13:09:52 -04:00
Jarrod Johnson
64cc2416d1
Fix list argument
2019-07-24 15:37:01 -04:00
Jarrod Johnson
2787e1d862
Present more data about missing entries from assign csv
...
When doing an assign on csv, present all the missing entries
rather than stopping on the first.
2019-07-23 11:57:35 -04:00
Jarrod Johnson
514a121c15
Print license install errors when provided
...
When the service gives errors installing keys,
relay them to the user.
2019-07-22 11:21:31 -04:00
Jarrod Johnson
00ce48b046
Fix behavior for bad nodelicense arguments
...
Correctly show help and exit if unrecognized
parameter.
2019-07-22 09:27:31 -04:00
Jarrod Johnson
44929e7975
Fix printing of unicode to pipe
...
nodesensors would have a unicode error on pipe output.
2019-07-19 15:36:43 -04:00
Jarrod Johnson
efcac0b181
Fix nodesensors -n with csv
2019-07-19 14:12:40 -04:00
Jarrod Johnson
a77b65737e
Suppress usage on nodefirmware error
...
It is very bizarre to have the usage output
after an error.
2019-07-12 12:10:22 -04:00
Jarrod Johnson
a0ea8eeae3
Fix nodediscover support of bmc_gateway
...
The command expected spaces, but documentation
said underscore, support both old csvs and doc
compliant csvs.
2019-07-11 15:36:31 -04:00
Jarrod Johnson
6cc0eb0797
Add reassign to nodediscover
...
Allow nodediscover to do 'reassign' to repeat discovery process for a discovered
node, without requiring an additional identifier.
2019-07-09 13:53:30 -04:00
Jarrod Johnson
fbc4fc6846
Make unexpected error more specific
...
Often a usable summary message is obfuscated. Assume the subject line
is safe to relay, but continue to do a more verbose trace.
2019-07-08 14:28:56 -04:00
Jarrod Johnson
81c0adbbe3
More python 3 compatibility fixes
...
Improve more commands and modules to parse and execute under python 3.
2019-06-28 08:51:57 -04:00
Jarrod Johnson
ba113d6445
Fix various python2-isms
...
This is far from a complete python3 support, but it lets a significant volume
of remote commands run under python3
2019-06-27 15:28:59 -04:00
Jarrod Johnson
ae181b7753
Improve nodelicense error messages
...
Check and exit should the file or directory not exist.
2019-06-26 13:24:24 -04:00
Jarrod Johnson
ef2b324eed
Flush csv output per row
...
Improve responsiveness of csv output when piping
2019-06-25 11:03:50 -04:00
Jarrod Johnson
ffe9606de1
Auto-repair 'login process died' condition
...
The cause is still unknown, but we should be able to at least
repair automatically.
2019-06-24 16:34:56 -04:00
Jarrod Johnson
8ed2d5a551
Fix confulent2xcat usage text
...
It was incorrectly referencing ansible.
2019-06-24 14:17:32 -04:00
Jarrod Johnson
e55314d759
Add display of inactive licenses
...
Inactive licenses are also an issue.
2019-06-21 10:17:52 -04:00
Jarrod Johnson
2db01746d5
Support deletion of licenses from XCC
2019-06-19 16:35:24 -04:00
Jarrod Johnson
208be0beef
Implement nodelicense save
...
Add ability to save licenses from
the XCC.
2019-06-19 15:43:45 -04:00
Jarrod Johnson
b2013e93c5
Mitigate performance impact of oem sensors
...
The sensormap was being regenerated each time a sensor
was asked for. Make the sensor map
a more perisstent fixture.
2019-06-12 14:47:28 -04:00
Jarrod Johnson
ee82831370
Do not flag file: as insecure
...
Locally hosted media should not be considered
insecure.
2019-06-11 11:06:59 -04:00
Jarrod Johnson
21c3579287
Add setdisk and stripsize
...
More nodestorage improvements.
2019-06-05 15:54:29 -04:00
Jarrod Johnson
481342340e
Fix potential nodesensors crash
...
There is a tiny chance that time will tick between two
calls. This fixes it.
2019-05-16 14:37:18 -04:00
Jarrod Johnson
c042583a64
Add support for CSV formatted data
...
Presume CSV semantics for input.
2019-05-10 11:08:12 -04:00
Jarrod Johnson
e32d3cf4cc
Add auto-index determination to stats
...
This allows it to auto-skip over units, for example.
2019-05-10 10:34:56 -04:00
Jarrod Johnson
65e1dfcc57
Fix nodesensors with redfish plugin
...
redfish plugin does not produce the same data as ipmi,
tolerate that difference.
2019-05-02 10:54:15 -04:00
Jarrod Johnson
ba039e9e3e
Fix nodeeventlog on ipmi devices
...
Changes for redfish broke against ipmi plugin
2019-05-02 10:21:24 -04:00
Jarrod Johnson
52fa5158f6
Fix display of final bin members in verbose
2019-04-26 16:51:44 -04:00
Jarrod Johnson
907f66ae8b
Have the range be more precise on verbose
2019-04-26 16:43:53 -04:00
Jarrod Johnson
c8c275f804
Fix indentation error
2019-04-26 16:40:47 -04:00
Jarrod Johnson
7a08fee4b5
Actually fix the verbose range
2019-04-26 16:29:33 -04:00
Jarrod Johnson
36f0d888cd
Fix the verbose output boundaries.
2019-04-26 16:17:28 -04:00
Jarrod Johnson
81451a6451
Add options to stats
...
Implement verbose, text plot, and custom select bins
2019-04-26 16:04:01 -04:00
Jarrod Johnson
02eb195e3f
Change topline of script to be consistent
2019-04-25 14:47:20 -04:00
Jarrod Johnson
87e7a90c37
Move stats into the client
...
stats is good enough to be promoted from prototype to a confluent
client component.
2019-04-25 14:46:18 -04:00
Jarrod Johnson
c6516f9d62
Support redfish event logs
2019-04-22 12:54:49 -04:00
Jarrod Johnson
2c9c778ca7
Fix compatibility without module_type
...
Some vendors do not provide module_type
value. For such vendors, simply omit
the information rather than fail.
2019-04-15 11:08:56 -04:00
Jarrod Johnson
89cf255ae7
Add '-n' option to nodeshell and noderun
...
Provide ability to suppress node prefix for nodeshell.
This for example can be a quick 'makehosts' substituted and
similar.
2019-04-11 09:17:38 -04:00
Jarrod Johnson
2c8681a9f3
Opportunisticly start mac rescan on rescan
...
While the network rescan might be too slow to hold up
general rescan, at least begin a rescan of switches
when a rescan is requested.
2019-03-29 14:01:36 -04:00