Jarrod Johnson
b0b5493ff7
Cancel retry if we become leader
...
If an instance is first to start, it's retry should be canceled
when other members prod it to become leader.
2018-10-01 15:29:18 -04:00
Jarrod Johnson
326f56219b
Fix /networking/macs/by-mac
...
The module apimacmap was not correctly scoped.
2018-10-01 14:40:02 -04:00
Jarrod Johnson
e098c0ba91
Fix missing tenant argument on user management function
...
The tenant was omitted preventing those particular rpc calls from
working correctly.
2018-10-01 14:04:03 -04:00
Jarrod Johnson
61e7c90ad1
Do not restart on intentional kill
...
Additionally, add some output to help filter events log
2018-10-01 10:32:55 -04:00
Jarrod Johnson
e57cdf9a7b
Add more collective event log handling
...
More detail to analyze how the collective membership is handled.
2018-09-27 15:15:05 -04:00
Jarrod Johnson
10ce7a9de9
Add more logging to collective process
2018-09-27 10:51:06 -04:00
Jarrod Johnson
0724ad812b
Add logging to the assimilation phase of collective
...
When attempting assimilation, provide logging about the attempt.
2018-09-27 10:51:01 -04:00
Jarrod Johnson
a3b0b0240d
Abort assimilation attempt on non-member cleanly
...
If a confluent instance has forgotten the collective, more cleanly
handle the situation, and abort the assimilation rather than assuming
the peer should be leader, unless txcount specifically is called out
as the reason.
2018-09-27 10:50:54 -04:00
Jarrod Johnson
99fdb20f87
Add nodemedia specific completion
2018-09-21 14:22:46 -04:00
Jarrod Johnson
60bb4c89fb
Add specific completions for nodeboot and nodesetboot
2018-09-21 14:09:49 -04:00
Jarrod Johnson
5d52fd2fc1
Add nodeidentify specific completion
...
Additionally refactor common code into a function
2018-09-21 13:54:43 -04:00
Jarrod Johnson
18bebde337
Disable gssapi in paramiko
...
It is just plain broken, workaround by tanking calls to gssapi prior
to pulling in paramiko.
2018-09-21 13:46:07 -04:00
Jarrod Johnson
c68c4d8cf7
Fix the 'list' subcommand of nodefirmware
...
nodefirmware did not properly set up if 'list' was given
2018-09-21 10:41:15 -04:00
Jarrod Johnson
1de84f0417
Add missing nodesupport man page
2018-09-21 09:57:34 -04:00
Jarrod Johnson
44bf2872b7
Provide more tailored completion for some commands
...
Additionally, modify the nodefirmware command to have a `list`
subcommand, so that tab completion doesn't aggressively send
someone to update.
2018-09-21 09:57:17 -04:00
Jarrod Johnson
c209010126
Add tab completion for bash
...
For interactive bash use, have some completions
2018-09-20 16:02:45 -04:00
Jarrod Johnson
21b4a2f6f3
Merge branch 'master' of github.com:jjohnson42/confluent
2018-09-20 11:05:24 -04:00
Jarrod Johnson
36fc23d692
Avoid VT control codes on exit through pipe
...
Piped commands were subjected to terminal control sequences that
could interfere with desired operation.
2018-09-20 11:05:00 -04:00
Jarrod Johnson
f601032a66
Fix everything group missing if nodegroup created before node
...
everything group was not making it to disk unless a node is created
first. Correctly mark the need for disk sync to fix.
2018-09-14 16:50:20 -04:00
Jarrod Johnson
7c550bd68e
Fix prefix fixup
...
It was not allowing same label across nodes.
2018-09-10 15:09:50 -04:00
Jarrod Johnson
db5f861dc5
Fix introduced typo in error message
2018-09-10 14:25:04 -04:00
Jarrod Johnson
d04be19ae5
Preferentially use a 'name' subfield as 'name'
...
Pyghmi now may suggest a more useful name. The component name
is unique, but 'name' can indicate the common name of things with
multiple instances.
2018-09-07 14:37:02 -04:00
Jarrod Johnson
07532e2a3f
Have nodeinventory disambiguate duplicate labels.
...
The data is still there for putting identical cards together, but
the prefix is unique, particularly important for json mode.
2018-09-07 11:49:13 -04:00
Jarrod Johnson
e7be24d478
Revert "Fix non-unique name for similar inventory items."
...
This reverts commit 47a53a51e4
.
2018-09-07 11:44:01 -04:00
Jarrod Johnson
34b7abcb2d
Change systemd unit to not have PIDFile
...
systemctl restart *always* prints a worrying message
with pidfile.
2018-09-07 11:27:43 -04:00
Jarrod Johnson
47a53a51e4
Fix non-unique name for similar inventory items.
2018-09-07 11:16:09 -04:00
Jarrod Johnson
abc15974da
Merge branch 'master' of github.com:jjohnson42/confluent
2018-09-07 11:11:26 -04:00
Jarrod Johnson
b3bf6929df
Add replacement logic for another generic variant
...
In IMM, PCeGen3 x8 and similar is also possible.
2018-09-06 16:16:26 -04:00
Jarrod Johnson
2a8d61ecf6
Enrich the less than useful 'Adapter' inventory items
...
We can provide DNS provided info about such generic items to
make them look more fleshed out.
2018-09-06 16:10:48 -04:00
Jarrod Johnson
cf3e9037ab
Provide 'discovery.passwordrules'
...
This provides an ability to designate the desired rules that
are applied in the wake of automatic discovery. The most popular
would be 'expiry=no,loginfailures=0'
2018-09-05 15:50:36 -04:00
Jarrod Johnson
03135543a6
Add 'switchuser' and 'switchpass' aliases
2018-09-05 13:51:19 -04:00
Jarrod Johnson
38228ebc9b
Fix the prompting code changes
2018-09-04 11:09:26 -04:00
Jarrod Johnson
d6110c7118
Add -p to nodegroupattrib
...
Also modify the man pages to reflect the updates.
2018-09-04 09:56:51 -04:00
Jarrod Johnson
f92b1ed4a3
Implement ability to prompt for nodeattrib options.
...
For certain attributes, notably passwords, it is sometimes desirable
to prompt interactively to help facilitate keeping such data out of
bash_history, screen sharing, and ps output. -e enables this if the
user is aware of how to use 'read', -p is a quicker way to enable this.
2018-09-04 09:38:01 -04:00
Jarrod Johnson
368087fb51
Have nodeattrib and nodeconfig accept wildcard to select values
2018-08-30 10:14:03 -04:00
Jarrod Johnson
46d62e67de
Do not include advanced in comparedefault by default
...
Advanced settings may do unusual things, only check if explicitly
requested to do so.
2018-08-30 09:58:15 -04:00
Jarrod Johnson
118d1aec0d
Allow nodeboot to harmlessly take -u
...
It doesn't actually change behavior, but request for compatibility
is being honored.
2018-08-30 09:39:20 -04:00
Jarrod Johnson
7c9089c87d
Change nodeconfig -r to take a parameter
...
This opens up for future ability to control the restore to default.
2018-08-30 09:35:16 -04:00
Jarrod Johnson
ba18b9936f
Fix mistakes in previous commit
2018-08-29 15:15:34 -04:00
Jarrod Johnson
3b7ecd0095
Add ability to clear system configuration
...
This provides a method to request the system firmware be restored to
factory defaults.
2018-08-29 14:49:19 -04:00
Jarrod Johnson
19e9583b47
Fix formatting on node*define man page sources
2018-08-28 15:08:03 -04:00
Jarrod Johnson
8352007570
Limit to one active scan at a time
...
Additionally, provide read access to rescan for discovery.
2018-08-28 11:25:48 -04:00
Jarrod Johnson
f7965d235a
Improve /networking/macs API behavior
...
For the 'by-mac', only remove the structure when it is ready for API
view without changing internal view.
For the 'by-switch', do the update per switch and after it's done.
Provide ability to check scan status through reading
/networking/macs/rescan
2018-08-28 11:10:32 -04:00
Jarrod Johnson
6aec9534e7
Fixes for nodesupport
2018-08-23 16:56:40 -04:00
Jarrod Johnson
3ee6334db2
Fix transfer owner argument for servicedata
2018-08-23 16:48:10 -04:00
Jarrod Johnson
582a4de62d
Add CLI and directory support for nodesupport
2018-08-23 16:36:41 -04:00
Jarrod Johnson
c9959d4082
More of the service data retrieval api
...
More progress is made toward the goal
2018-08-23 16:14:49 -04:00
Jarrod Johnson
fa11fb54cb
Add API support for getting service data
...
Service data retrieval is a common activity required
for interacting with support.
2018-08-23 15:39:25 -04:00
Jarrod Johnson
ee3b824870
Add /description to nodes api
2018-08-23 08:44:41 -04:00
Jarrod Johnson
55f5b30369
Merge branch '21'
2018-08-22 16:29:58 -04:00