Jarrod Johnson
d1bafa98bb
Merge branch 'master' of github.com:jjohnson42/confluent
2017-08-22 16:50:20 -04:00
Jarrod Johnson
2cdfa8fcae
Do not let a single node error stop all pending node
...
Isolate faults to single node for better robust behavior.
2017-08-22 16:50:04 -04:00
Jarrod Johnson
b93a2e60d2
Be more selective in IP pruning
...
Only prune known bad IPs, not the whole list
2017-08-22 16:47:56 -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
54f25cfa9e
Implement access to other banks
...
Provide backend support for other banks than primary.
2017-08-16 17:30:18 -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
f7b964b2ce
Implement feedback on final state of firmware
...
Some things on update are active immediately, others are pending reboot.
Documentation needs to use this to let users know what they need to do
or not need to do after the firmware update.
2017-08-14 10:04:19 -04:00
Jarrod Johnson
da0941c229
Suppress noise of sysctl command
2017-08-11 16:37:09 -04:00
Jarrod Johnson
7cec311b22
Fix sysctl packaging info
2017-08-11 16:11:05 -04:00
Jarrod Johnson
8ada0e7cf4
Read in sysctl tune on install
...
This ensures that the value is ready for slp plugin
2017-08-11 15:45:56 -04:00
Jarrod Johnson
87e2e481c2
Tune the UDP receive buffer
...
We have a sysctl tune file and option to
go higher so that we get more SLP responses.
2017-08-11 15:43:44 -04:00
Jarrod Johnson
38546514e2
Pull UUID into info for rackmount
...
UUID was erroneously not pulled. The block on dense/blade should
only apply to enclosure bay.
2017-08-11 10:07:42 -04:00
Jarrod Johnson
1e54abd29b
Implement reverse noderange
...
This is the library feature. A remote API call will be addded
so that the likes of collate can use it.
2017-08-10 16:45:38 -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
87da7b62ae
Correct mistake in the model attribute name
...
The info calls it 'modelnumber' rather than 'model'
2017-08-09 14:55:27 -04:00
Jarrod Johnson
8d02d7cc7f
Store serial and model number in id attributes on discovery
2017-08-09 14:31:29 -04:00
Jarrod Johnson
5f1f41b975
Add serial and model number to the id attributes
...
Lay groundwork for pulling this sort of data in on discovery. The plan is that *if* serial numbers will
be used as a cue for discovery, it would be in the context of a nodediscover command.
2017-08-08 15:51:27 -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
3bf84ee1e7
Merge branch 'master' of github.com:jjohnson42/confluent
2017-08-08 10:39:49 -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
9ac7158bdd
Fix SMM enablement on XCC in SD530
...
The form factor is, at least in one test, an array, not a string. Just in case, tolerate
either way.
2017-08-07 13:46:14 -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
efe3db11ce
Add trigger for restarting on pyghmi updates
...
Often times, a pyghmi update carries the substance of
a patch. Instead of a person having to remember to
manually restart, try to trigger an update to restart
confluent automatically.
2017-08-07 09:51:04 -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
085a9fed37
Do not error if debug or usr1 handling is impossible
...
Windows is a limited platform, let it run regardless.
2017-08-02 16:43:08 -04:00
Jarrod Johnson
659c4e4217
Avoid trace on deleted node
...
If a node is deleted, act similar to if it were defined with no console.method, to avoid
superfluous trace output. In the future, it may make sense to filter out nodes with no
console.method earlier, since a fair amount of startup work is done that is ultimately ignored
for situations where console is not enabled.
2017-08-02 10:00:16 -04:00
Jarrod Johnson
28ba40ccfa
Replace SOL locknig with NullLock
...
Again, eventlet monkeypatching of pyghmi seems to be messing up
use of RLocks...
2017-07-31 10:05:50 -04:00
Jarrod Johnson
e2b7440a5c
Put id of thread in the trace
...
When looking at the traces, handy to have ids for each thread for various
purposes.
2017-07-31 10:02:05 -04:00
Jarrod Johnson
a55ba02d11
Merge remote-tracking branch 'upstream/master'
2017-07-28 16:05:45 -04:00
Jarrod Johnson
2ef549c2ae
Correct the NullLock
...
NullLock was not what util.protect was expecting, provide more function calls, all of which do nothing.
2017-07-28 16:05:10 -04:00
Jarrod Johnson
8123a77451
Merge branch 'master' of github.com:jjohnson42/confluent
2017-07-28 15:53:25 -04:00