Jarrod Johnson
0db2e1cea6
Add clarification on what noderange is for
2017-09-12 15:29:59 -04:00
Jarrod Johnson
2a0b038c30
Merge pull request #83 from aduffy19/noderange
...
Add noderange man page
2017-08-25 16:42:12 -04:00
Amanda Duffy
3f1bb1c151
Add noderange man page
2017-08-25 16:39:07 -04:00
Jarrod Johnson
9798f30ef8
Remove codecs getwriter unicode from nodesensors
...
In nodesensors, things are made into binary strings explicitly,
which causes the codecs.getwriter to choke
2017-08-22 16:54:25 -04:00
Jarrod Johnson
e478f8aef3
Add --backup to nodefirmware man page
2017-08-16 17:38:52 -04:00
Jarrod Johnson
b35463e594
Implement argument to nodefirmware to backup
2017-08-16 17:33:23 -04:00
Jarrod Johnson
9ff7829373
Fix typo in confetty
...
Strings do not have a startswitch method...
2017-08-16 15:06:48 -04:00
Jarrod Johnson
f3b56cf187
Add abbreviate to man page
...
abbreviate was not in the man page for collate.
2017-08-16 11:34:36 -04:00
Jarrod Johnson
783837b9be
Further collate page formatting fixes
2017-08-16 10:42:44 -04:00
Jarrod Johnson
1b18edcccb
Fix formatting issues in collate man page
2017-08-16 10:31:58 -04:00
Jarrod Johnson
d972e2c12c
Fix man page for section 1
2017-08-16 10:12:03 -04:00
Jarrod Johnson
c5cf829117
Avoid stacktrace on pipe on non-ascii
...
Various commands may (accidentally or intentionally) encounter
non-ascii data. While python stdout without pipe is fine, when piping
it assumes ascii. Fix this to always assume utf-8 explicitly.
2017-08-16 09:57:57 -04:00
Jarrod Johnson
2f55a251cd
Provide more graceful behavior when input has no ': '
...
Rather than do a stacktrace, place such data into an 'UNKNOWN' output
group, like xcoll did.
2017-08-16 09:44:22 -04:00
Jarrod Johnson
d63f6ec9f0
Fix install of collate man page
2017-08-16 09:42:30 -04:00
Jarrod Johnson
9d582262e6
Update man page information
...
Document use of collate and firmware update
2017-08-15 16:17:28 -04:00
Jarrod Johnson
2063436ccc
Reduce context of collate diff
...
diff mode is less useful with superfluous context.
Suppress context to focus more on differences.
2017-08-15 16:11:38 -04:00
Jarrod Johnson
6addd05de2
Stop firmware when 'pending', which is another 'completion'
2017-08-14 17:10:42 -04:00
Jarrod Johnson
28259511ed
Add abbreviate to collate
...
Also, perform natural sort on 'nodenames' when not abbreviating
2017-08-14 15:06:57 -04:00
Jarrod Johnson
0393e55eb1
Implement API for reverse noderange
...
Provide reverse noderange through special
/noderange//abbreviate location. This should enable
collate to abbreviate noderanges.
2017-08-14 14:41:43 -04:00
Jarrod Johnson
a571faa215
Implement collate command
...
Also adjust output to be less buffered for sake of '-w' and other
pipe commands.
2017-08-09 17:08:52 -04:00
Jarrod Johnson
7c1bbe1618
Fix error in the usage text of nodeinventory
2017-08-08 15:45:53 -04:00
Jarrod Johnson
76e6f2dd17
Update online usage message for nodeinventory
2017-08-08 11:56:06 -04:00
Jarrod Johnson
67f2282cc4
Update nodeinventory page with new usage info
2017-08-08 11:55:31 -04:00
Jarrod Johnson
b98eea81ad
Add filtering to nodeinventory
...
Allow filtering output by various parameters.
2017-08-08 11:49:50 -04:00
Jarrod Johnson
498803f70a
Fix line wrap in nodebmcreset example
...
Again, the curious behavior of markdown for line break
to be two spaces at the end bites some documentation.
2017-08-08 08:36:21 -04:00
Jarrod Johnson
4110d18f43
Fix exitcode init in noderun
...
The order was incorrect in the code.
2017-08-07 11:42:58 -04:00
Jarrod Johnson
c8fbb58ae9
Correct overzealous deletion
...
Selection error caused if statement to have syntax error.
2017-08-03 09:41:21 -04:00
Jarrod Johnson
05715c6826
Fix noderun in same way as nodeshell
...
noderun had a similar issue about error handling.
2017-08-03 08:40:58 -04:00
Jarrod Johnson
5d7df6dceb
Fix error handling in nodeshell
...
nodeshell needed to process errors correctly, and not assume databynode would be there.
2017-08-03 08:39:04 -04:00
Jarrod Johnson
dbcc33629a
Fix nodeshell overeager parsing
...
In the case of execing to ssh, preserve literal argumants since
ssh is going to parse them. Pre-parsing will cause ssh to strip out spaces, for example.
2017-08-03 08:33:29 -04:00
Jarrod Johnson
6e51e02e1b
Merge pull request #81 from aduffy19/nodebmcreset
...
Nodebmcreset
2017-07-27 15:03:08 -04:00
Amanda Duffy
3e90dd6462
Pass sys.exit() an argument
...
Change sys.exit() to sys.exit(success)
2017-07-27 14:31:37 -04:00
Jarrod Johnson
12d0fe21cd
Only show error message when errors exist
2017-07-26 16:37:09 -04:00
Jarrod Johnson
7a88a2825d
Add 'update' to nodefirmware
...
nodefirmware can now execute updates on a file by file basis.
2017-07-26 15:54:21 -04:00
Jarrod Johnson
bc9a498683
Provide a library for compact text node data
...
Some processes (e.g. nodefirmware update) warrant a different sort of
strategy to try to abbreviate, where collation falls short. For this,
provide a columnar output that changes to line by line if stdout is not
a terminal.
2017-07-26 15:09:56 -04:00
Amanda Duffy
1d0b78267d
Add nodebmcreset command and man page
2017-07-25 17:10:52 -04:00
Jarrod Johnson
577456d999
Merge branch 'master' of github.com:jjohnson42/confluent
2017-07-20 11:05:19 -04:00
Jarrod Johnson
2795dfe7b9
Only mod noderange if bad nodes detected
...
This was triggering a defect in noderange. The
defect should be fixed, but in the meantime,
avoid tripping over it and looking weird anyway.
2017-07-18 15:37:37 -04:00
Jarrod Johnson
a922de2ed6
Have nodeboot continue on non-failed nodes
...
If even one of a noderange failed to complete the
set boot device step, none would progress. Change
the behavior so that exit code still happens and
processing does stop on timed out nodes, but go
ahead and reboot those that were fine.
2017-07-18 14:17:46 -04:00
Jarrod Johnson
5a2e4a669b
Add a library for confluent version of 'xcoll'
...
Add a diff function with colorized intra-line diff info
2017-06-29 16:58:02 -04:00
Jarrod Johnson
a3c06a00bf
Fix confetty behavior when TERM not set
...
Particularly in non-interactive ssh, TERM is not set.
Assume empty string if TERM is not set.
2017-06-27 14:04:26 -04:00
Jarrod Johnson
8fab1ce9eb
Fix permissions on buildindex.sh
2017-06-26 08:46:22 -04:00
Jarrod Johnson
9078fb01c4
Fix missing data from 1.5.0 merge
2017-06-23 08:45:34 -04:00
Jarrod Johnson
e4186841b4
Correct the stub functions to work
2017-06-22 15:50:24 -04:00
Jarrod Johnson
1526a9b92d
Add functions to stub out globbing
...
noderanges use [], and bash can do undesirable things.
Since these commands by and large do not reference files,
or at least files likely to be globbed, disable globbing.
2017-06-22 15:42:30 -04:00
Jarrod Johnson
bc1b1a9676
Update nodeshell documentation on stdout/stderr
2017-06-21 14:30:54 -04:00
Jarrod Johnson
f4267e6013
Add missing files from the ThinkSystem merge
2017-06-21 14:02:59 -04:00
Jarrod Johnson
e0cc67f57a
Implement Lenovo Thinksystem and discovery support
2017-06-20 14:56:24 -04:00
michael.du
2055c6d698
Update MANIFEST.in
...
fix the issue which failed to compile the confluent_client, it is due to the add confluent_env.csh in profile, but not add it in MANIFEST
2017-05-09 13:28:57 +08:00
812e34f59b
Add csh/tcsh profile in /etc/profile.d
2017-05-03 13:21:36 +01:00