Jarrod Johnson
22503e7e11
Inject blank lines in ansible hosts file
...
This looks a bit more like a natural hosts file.
2018-11-29 15:21:37 -05:00
Jarrod Johnson
01d73308ed
Pull back spurious blank lines
2018-11-29 15:04:56 -05:00
Jarrod Johnson
cb16385ddb
Add confluent2ansible
...
Utility that wil take a noderange and generate an appropriate
ansible hosts file, including carrying over pertinent groups.
2018-11-29 15:04:27 -05:00
Jarrod Johnson
853585f942
Have nodeattrib output be sorted
...
This make nodelist and nodeattrib output much easier to follow.
2018-11-29 10:02:37 -05:00
Jarrod Johnson
53996a1e9d
Increase likelihood of IPMI results being sorted
...
Without incurring execution penalty, endeavor to sort available
data in an opportunistic way. This certainly does not guarantee order,
but it makes it highly likely for quick queries to appear orderly.
2018-11-29 09:43:53 -05:00
Jarrod Johnson
558171124c
Fix nodediscover man page formatting
2018-11-27 16:14:15 -05:00
Jarrod Johnson
05d028e9e9
Fix formatting of nodediscover man page
...
The list of fields could not be nicely nested in ronn,
give up but have hard line breaks as a compromise.
2018-11-27 15:36:36 -05:00
Jarrod Johnson
b0a3bb18fe
Add terminal resizing to http api
...
This enables javascript clients to submit terminal changes.
2018-11-27 09:12:53 -05:00
Jarrod Johnson
7207013abc
Have httpapi be able to accept initial size on consoles
...
consoles and shells can now put into the body parameters including
the width and height.
2018-11-26 16:43:52 -05:00
Jarrod Johnson
b511a02f20
Have correct size on connect for shell session
...
In addition to resize, also support initial size being set
2018-11-26 16:21:31 -05:00
Jarrod Johnson
c60cb3a027
Implement resize from CLI client
...
The CLI resize is wired up for ssh usage. At the time of this commit,
initial size is not handled.
2018-11-26 15:31:36 -05:00
Jarrod Johnson
9f137fa6d4
Begin work to send resize to remote
...
While we do not have a path forward for auto-resize in SOL consoles,
we can provide the capability for ssh consoles. The CLI being enabled
is of course nice, but running ssh directly is still suggested in such
a context and ultimately the Web GUI will be the most prominent
consumer of the information.
2018-11-20 16:01:36 -05:00
Jarrod Johnson
aa92898249
Have nodestorage create optionally read names from args
...
This is more symmetric with the way delete works.
2018-11-19 15:32:03 -05:00
Jarrod Johnson
2cb694b374
Update man page of nodediscover
2018-11-19 14:46:47 -05:00
Jarrod Johnson
24fd1e72e1
Expose advertised, not valided IPs in discovery
...
There are circumstances where the advertised IP is
useful information, even if that IP cannot be validated.
It is also the case that most of the time the advertised IP
is useless if not validated, so it is an optional field.
2018-11-19 14:39:56 -05:00
Jarrod Johnson
5b21a5b2c3
Fix spreadsheet support for the BMC gateway
...
The spreadsheet support used incorrect attribute name.
2018-11-19 09:50:04 -05:00
Jarrod Johnson
c8ad94313e
Provide useful error when trying to delete a volume that doesn't exist
2018-11-16 11:54:46 -05:00
Jarrod Johnson
f71d51769b
Provide clean print of created volumes
...
This presents the returned data in a manner consistent
with nodestorage show
2018-11-16 11:27:26 -05:00
Jarrod Johnson
b5213e6972
Show data about created volumes upon volume completion.
...
Provide concrete feedback as to the results of the creation operation.
2018-11-16 11:19:27 -05:00
Jarrod Johnson
8d72f4d64a
Fix volume name creation
...
The volume names were not being honored, fix passing the arguments.
2018-11-15 16:25:03 -05:00
Jarrod Johnson
fcd46c7b72
Provide cleaner output for nodestorage delete
...
Rather than dumping the structure of the response, provide a consistent
plain text output.
2018-11-15 16:18:24 -05:00
Jarrod Johnson
6efb8ff1b7
Add globbing protection to nodestorage command
...
This mitigates risk of mistargeting a nodestorage command due to
unfortunate bash glob match.
2018-11-15 16:15:01 -05:00
Jarrod Johnson
c227c2353b
Provide better error on nodediscover assign
...
Rather than the rather useless unexpected error, actually
describe specific cases of wrong username or password.
2018-11-15 13:41:48 -05:00
Jarrod Johnson
cb2133e871
Change strategy for pam.d entry
...
The symbolic link did not stay a symbolic link.
Use %post in rpm instead.
2018-11-14 15:11:05 -05:00
Jarrod Johnson
c56c1948a9
Add confluent pam to packaging
...
This enables PAM passwords to work by default,
rather than requiring user to perform more
configuration.
2018-11-14 14:55:26 -05:00
Jarrod Johnson
34b30a1bd8
Rework password authentication
...
Have the cache operate against the sha256 of the passphrase rather
than the passhprase directly (mitigate presence of password in memory).
Pull PAM into the cache behavior to accelerate PAM based usage.
Rearrange things so that both built in confluent and PAM passwords
can be used.
2018-11-14 14:52:03 -05:00
Jarrod Johnson
0e7bfe4f40
Use scanning status to control rescan behaviors
...
This causes the manual assignment to sleep less and for the rescan
command to meaningfully slow down shell requests to provide better sense
of when scan completes.
2018-11-14 14:17:12 -05:00
Jarrod Johnson
a93a759b72
Make /networking/macs data available through nodediscover
...
This will help combine the data together more easily.
2018-11-14 14:11:03 -05:00
Jarrod Johnson
cba514692c
Bring the XCC check fix to IMM
...
The same check that works for XCC should be applied to IMM
2018-11-13 16:17:39 -05:00
Jarrod Johnson
2bb0a70a24
Provide an xid if one is not preserved
...
The SLP xid may be gone in a recheck, default to 42 in such a case.
2018-11-13 16:09:37 -05:00
Jarrod Johnson
1b84cd43fe
Fix the auto-healing support
...
There was a mismatch between the handlers signature and expectation by
the discovery core.
2018-11-13 15:55:24 -05:00
Jarrod Johnson
39839a9f2a
Add auto-healing of incomplete SLP data
...
If a device handler indicates an SLP data as incomplete, schedule a
attempt to fixup that specific one.
2018-11-13 15:37:41 -05:00
Jarrod Johnson
8473cb1cf8
Survive SLP values with =
...
If the slp parsing produces = in the value, ignore it and do best
effort to get the viable data out.
2018-11-09 15:38:40 -05:00
Jarrod Johnson
1a10b5d747
Have confluent2lxca use current config for address
...
In a confluent2lxca scenario, it is highly probably that confluent's
attribute is not viable for LXCA usage (link local address).
Give the current configuration the opportunity to replace the
confluent reference with the current IPv4 of the host.
2018-11-09 08:53:10 -05:00
Jarrod Johnson
82a7012527
Add a command to generate xClarity Administrator import
...
This will generate a bulk import file for use with the xClarity
Administrator appliance.
2018-11-09 08:33:04 -05:00
Jarrod Johnson
199a948b33
Fix ordering without custom field list
...
The order argument only had any meaning when used in custom fields.
Add a loop in the custom field agnostic section of the code to correct
the behavior.
2018-11-09 08:32:28 -05:00
Jarrod Johnson
6fc305d6a0
Add ordering by field to nodediscover list
...
This provides single column sort for more managable listing of
nodediscover items.
2018-11-06 16:34:22 -05:00
Jarrod Johnson
75b6221dcf
Allow requesting custom columns
...
This allows for more data to be presented and some useless data
to be pruned.
2018-11-06 15:52:20 -05:00
Jarrod Johnson
bd5032268e
Fix csv output mode of nodediscover list
...
The changes made for tabulator broke csv output, fix that back.
2018-11-06 15:33:04 -05:00
Jarrod Johnson
0aa0289b06
Clean out dead code
...
There is some dead and commented code to be cleaned out.
2018-11-06 15:30:18 -05:00
Jarrod Johnson
96df7871cb
Convert nodediscover to use Tabulator
...
This opens the path to more customized output and have the appropriate
formatting. Also revise the Tabulator code to more closely match
the original nodediscover list output.
2018-11-06 15:28:27 -05:00
Jarrod Johnson
82ee69b56c
Age out macmap on node database changes
...
This mitigates problems where automation fails to quickly
react to changes/fixes in the net attributes.
2018-11-06 08:18:37 -05:00
Jarrod Johnson
37899ad39e
Do not inject 'None' into builddesc
...
If such data came from remote system, do not cause a stack trace.
2018-11-05 10:43:36 -05:00
Jarrod Johnson
43fb4467b7
Add error if chain goes off into non-existent nodes
...
Various behaviors break if the administrator declares a chain goes
to nowhere, throw up an error and hopefully see it caught to detect
this misconfiguration.
2018-11-02 15:56:34 -04:00
Jarrod Johnson
f5f9403eff
Fix incorrect variable name in nodediscover
...
The field name was incorrectly referencing the last field
rather than the current.
2018-11-02 15:50:02 -04:00
Jarrod Johnson
78e7381442
Add implicit rescan on unmatched csv data
...
If the csv file contains criteria we can't match, implicitly
try a rescan automatically to try to catch it.
2018-11-02 15:18:55 -04:00
Jarrod Johnson
005cefc914
Add volume creation and deletion to nodestorage
2018-11-01 16:59:42 -04:00
Jarrod Johnson
5f38cce51e
Finish nodestorage show
...
It now shows the pertinent details of storage on a node.
2018-11-01 10:43:28 -04:00
Jarrod Johnson
5d358eaeb0
Switch to output format more like nodeinventory
...
Other confluent commands (apart from nodediscovery) set a particular
convention. Go by that convention (at least by default)
2018-10-30 16:28:59 -04:00
Jarrod Johnson
115a6e9dd1
Add helper for tabular output
...
Provide a quick class for auto-sizing tabular output.
2018-10-30 16:23:34 -04:00