Jarrod Johnson
22d79867c8
Reorganize builddeb to preserve git tree
...
The git tree is needed to successfully build
2019-02-11 15:16:24 -05:00
Jarrod Johnson
52d25d563b
Correct spelling error in builddeb
2019-02-11 14:47:22 -05:00
Jarrod Johnson
68eeb95ea3
Ensure directory exists prior to use
2019-02-11 14:06:28 -05:00
Jarrod Johnson
95d5ff6a4c
Have builddeb move to tmp
...
This avoids build trampling current working tree.
2019-02-11 13:54:49 -05:00
Jarrod Johnson
b42114bea0
Actually apply sed to file
...
The sed was failing to save result to disk.
2019-02-11 11:20:59 -05:00
Jarrod Johnson
e0877bc0b1
Workaround older python lack of SSLEOFError
...
Older python does nat have this exception,
stub it out for older python.
2019-02-11 11:00:47 -05:00
Jarrod Johnson
5289d34206
Fix the exception name in previous commit.
2019-02-11 10:56:29 -05:00
Jarrod Johnson
f7f8247d02
Fallback to older eventlet signature
...
Older eventlet did not understand some arguments
on wsgi. Fallback to not using those arguments
if unavailable.
2019-02-11 10:51:56 -05:00
Jarrod Johnson
57e23a6f52
Add missing dependencies to debian builds
...
Debian builds currently lean on py2dsc, but misses a few key
dependencies.
2019-02-11 10:09:02 -05:00
Jarrod Johnson
73b234d29e
Support pre-cryptography paramiko
...
Older paraiko may be in use that does
not have cryptography requirement, address
error by only conditionally checking cryptography.
2019-02-08 14:43:20 -05:00
Jarrod Johnson
bfe55e276d
Do not try to delete a node if not in discovery data
...
This could produce undesired traces
2019-02-06 09:19:55 -05:00
Jarrod Johnson
44bcca99b6
Delete discovery entries related to deleted node
...
On node deletion, it can be confusing if a stale discovery
entry persists. Delete such entries upon deletion.
2019-02-06 09:15:51 -05:00
Jarrod Johnson
4cb595684e
Fix debian package name
2019-02-05 15:41:03 -05:00
Jarrod Johnson
b153a14ff3
Have builddeb build names consistent with RPM
...
The deb package names and locations were inconsistent
with the RPM based distributions. Correct this behavior.
2019-02-05 13:12:35 -05:00
Jarrod Johnson
b620838189
Move rather than copy output debs
2019-02-05 10:36:06 -05:00
Jarrod Johnson
4540354ff2
Add optional location for builddeb
2019-02-05 10:29:31 -05:00
Jarrod Johnson
74963a73cc
Do cd in the correct location
2019-02-04 15:35:55 -05:00
Jarrod Johnson
9fe200b525
Make sure builddeb goes to top of dir before cleanup
2019-02-04 15:16:52 -05:00
Jarrod Johnson
b07d4e9736
Clean up extracted directory on successful deb
2019-02-04 15:14:39 -05:00
Jarrod Johnson
f649efa110
Add script to build .deb
...
Easier support for debian and ubuntu.
2019-02-04 15:05:36 -05:00
Jarrod Johnson
521013e50a
Implement SMM password policy configuration
...
The discovery.passwordrules is extended to support the SMM
2019-02-01 15:42:44 -05:00
Jarrod Johnson
25c8f93336
Provide error in the console when console.method is unset
...
This was a common mistake, and warranted a more blatantly obvious
output.
2019-02-01 12:49:00 -05:00
Jarrod Johnson
59f00dd10b
Set password before access
...
In at least one scenario, we want the password to be squared away
before we start manipulating the user access level.
2019-01-31 15:59:49 -05:00
Jarrod Johnson
2e93af9b5e
Treat '' same as None for plugin specification
...
From the CLI, both are the same and there is no good reason to
treat them differently from each other.
2019-01-31 15:58:57 -05:00
Jarrod Johnson
337ab3b1a0
Merge branch 'master' of github.com:jjohnson42/confluent
2019-01-31 14:29:03 -05:00
Jarrod Johnson
f4cf74b699
Fix modifying dictionary while iterating
...
Need to make a stable value before iterating to delete.
2019-01-31 14:28:45 -05:00
Jarrod Johnson
085981f74c
Remove spurious debug output
...
Some spurious debug output was injected by mistake.
2019-01-30 13:45:38 -05:00
Jarrod Johnson
8a5f1c6dc5
Parse string arguments to nodes attributes as noderange
...
Since everywhere else accepts noderange, it is a reasonable
expectation for the nodes attribute on nodegroups to also
take a noderange. Correct this inconsistency.
2019-01-30 09:55:38 -05:00
Jarrod Johnson
188feec0b4
Repair if transactioncount exists but wrong size
...
If filesystem is full, this could be a side effect that would impact
a later start in a collective context. This mechanism induces repair
from a collective peer.
2019-01-28 16:20:07 -05:00
Jarrod Johnson
1902a333ae
Rework audit on unix socket
...
Capture root in audit and be consistent about audit skipping between
socket and http.
2019-01-28 15:03:45 -05:00
Jarrod Johnson
f6c46ddcb8
Fix checking causing breaking of setting empty
...
Empty values are always valid, do not check those.
2019-01-24 11:18:40 -05:00
Jarrod Johnson
e23253815c
Fix checking code with custom fields
...
For custom fields, do not cause an unexpected errors. The lookup on the
validattrs will now default to nothing found instead of error.
2019-01-24 11:07:58 -05:00
Jarrod Johnson
d979d29b0b
Implement checking of input attributes
...
For attributes that have a well known set of inputs, provide the
data to the messages layer to provide a useful error to the user.
2019-01-22 16:02:17 -05:00
Jarrod Johnson
deed8b4b9b
Fix behavior of SSDP discovery handler
...
It was not tracking multiple peers and it was also
extending the scan longer than needed.
2019-01-17 11:37:09 -05:00
Jarrod Johnson
2c94a10e23
Add complexity and reuse rules to discovery
...
Discovery can now relax two more common policies that have users
wanting to disable them.
2019-01-17 11:02:05 -05:00
Jarrod Johnson
6588ac0990
Fix nodereseat false success message
...
nodereseat was reporting success when failure was actually encountered.
Address by injecting the node specific error.
2019-01-15 11:51:43 -05:00
Jarrod Johnson
5f52ee9578
Support unique filenames through attribute expansion
...
Particularly in trying to support license keys, serial number
handling is at least required. Easiest and most powerful and most
consistent path is to use the same attribute expansion as everywhere
else.
2019-01-14 15:41:17 -05:00
Jarrod Johnson
88275f5110
Fix xcc handler on incomplete data
...
A datum may come in without an attribute member at all. Treat
this as 'false', obviously.
2019-01-14 15:37:04 -05:00
Jarrod Johnson
55c5bff0f9
Add support for uploading a license key
...
This provides the most important piece of license key management.
2019-01-14 15:09:49 -05:00
Jarrod Johnson
3782127590
Implement retrieving license info from XCC
...
With changes to pyghmi, we can now get license data. Prepare
API to provide information about the licenses.
2019-01-14 14:55:03 -05:00
Jarrod Johnson
2d63e68494
Enable support for TCP_FASTOPEN
...
It might matter in some context.
2019-01-10 15:17:34 -05:00
Jarrod Johnson
ceba3ff34f
Fix remote collective console
...
The changes to support size data for ssh was not carried fully
through the proxyconsole object. Fix this support.
2019-01-09 11:34:19 -05:00
Jarrod Johnson
334ec00f3f
Properly report client use of bad async id
...
Previously an expired async id would trigger unexpected error. Now
it returns an error to client and avoids the trace log.
2019-01-08 15:43:41 -05:00
Jarrod Johnson
35380e5bac
Add missing import
...
errno was erroneously omitted from previous commit
2018-12-12 10:15:33 -05:00
Jarrod Johnson
66471624bc
Support caching SDR for pyghmi versions that support it
...
This will improve performance across confluent restarts for commands
like nodesensors, nodehealth, and nodeinventory.
2018-12-12 09:53:36 -05:00
Jarrod Johnson
8a03bc48de
Tentatively store certutil
...
Commit to repository, even though not yet used. It is likely to
be renamed. The purpose is to help generate an appropriate self signed
cert for https including all the ip addresses as subject alternative
names so that names or addresses may be used with installers that
have had the cert injected.
2018-12-11 13:51:46 -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
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