Jarrod Johnson
ffe9606de1
Auto-repair 'login process died' condition
...
The cause is still unknown, but we should be able to at least
repair automatically.
2019-06-24 16:34:56 -04:00
Jarrod Johnson
3501b3c347
Add state info to all licenses
...
The all resource was not retrieving the licenses.
2019-06-21 15:52:24 -04:00
Jarrod Johnson
e55314d759
Add display of inactive licenses
...
Inactive licenses are also an issue.
2019-06-21 10:17:52 -04:00
Jarrod Johnson
27410a9b6b
Fix discover of XCC
...
Incorrect module path was indicated.
2019-06-20 10:56:09 -04:00
Jarrod Johnson
2db01746d5
Support deletion of licenses from XCC
2019-06-19 16:35:24 -04:00
Jarrod Johnson
208be0beef
Implement nodelicense save
...
Add ability to save licenses from
the XCC.
2019-06-19 15:43:45 -04:00
Jarrod Johnson
d34f8af798
Rework redfish support for user management
...
The redfish user management api couldn't quite be identical,
adjust to the changes.
2019-06-13 15:02:53 -04:00
Jarrod Johnson
b2013e93c5
Mitigate performance impact of oem sensors
...
The sensormap was being regenerated each time a sensor
was asked for. Make the sensor map
a more perisstent fixture.
2019-06-12 14:47:28 -04:00
Jarrod Johnson
2a72a6184d
Fix confluent-wide pauses during redfish
...
The lenovo OEM module was unpatched in import and
thus it inflicted a confluent-wide sleep instead of
a patched time.sleep.
2019-06-12 10:16:19 -04:00
Jarrod Johnson
0869669ef6
Better isolate system config fault
...
System configuration fault will now be contained to node.
2019-06-07 16:57:03 -04:00
Jarrod Johnson
6a77a13539
Improve error for unserializable collective data
...
XML errors turn out to be unserializable. Catch this general
class of problems and provide a less devastating behavior.
Doing an xml.fromstring('') is an example of how to trigger it.
2019-06-07 16:47:17 -04:00
Jarrod Johnson
56e9a67ef8
Fix boundary issue on oversize file
...
If the logfile is large enough to cause
a struct.error, just force a size
roll and continue.
Also unconditionally unlock the file.
2019-06-07 15:54:12 -04:00
Jarrod Johnson
52d5eb9876
Add stripsize to the redfish plugin
...
Storage creation was not passing through the stripsize parameter.
2019-06-07 09:34:29 -04:00
Jarrod Johnson
b819a488f1
Mirror hotspare handling from ipmi to redfish
...
The redfish plugin should handle the same disk information as ipmi plugin.
2019-06-06 15:13:19 -04:00
Jarrod Johnson
3fc31f7332
Add dedicated hot spare information
...
If an array contains dedicated hot spare, properly
report it alongside the member disks.
2019-06-06 11:37:30 -04:00
Jarrod Johnson
21c3579287
Add setdisk and stripsize
...
More nodestorage improvements.
2019-06-05 15:54:29 -04:00
Jarrod Johnson
67eecffd29
Force stripsize to numeric
...
This should be a numeric value, even if it came in as a string.
2019-06-05 11:22:35 -04:00
Jarrod Johnson
e288e8bad5
Add stripsize to the input on volume
...
Explictly ensure a stripsize key.
2019-06-05 11:16:44 -04:00
Jarrod Johnson
a8cad7a70f
Add stripsize to API
...
Allow the caller to select a custom stripsize if desired.
2019-06-04 16:33:10 -04:00
Jarrod Johnson
6de605c298
Switch to python2/3 agnostic lower
...
The string.lower is not in python3
2019-06-04 16:27:20 -04:00
Jarrod Johnson
509f8c30d5
Remove use of IPMI in XCC config
...
The XCC configuration is now entirely
over https and well suited for an ipmi disabled scenario.
2019-05-31 08:50:36 -04:00
Jarrod Johnson
c63c8076bb
Use https to set network on XCC
...
This quite nearly completes the removal
of IPMI requirement during bootstrap.
2019-05-29 16:36:13 -04:00
Jarrod Johnson
6800c8055c
Implement IPMI-free xcc config (work in progress)
2019-05-29 14:31:39 -04:00
Jarrod Johnson
ffc55b1594
Reduce concurrency to redfish targets
...
Some redfish implementations did
not handle a relatively open ended barrage
of concurrent requests. Try limitting to 4 concurrent
requests to evaluate how the implementations handle it.
2019-05-20 11:03:26 -04:00
Jarrod Johnson
d33c6be758
Fix forwarder over custom https ports
2019-05-16 14:36:39 -04:00
Jarrod Johnson
5ac0a6e650
Fix raid configuration for operator
...
Operator was not allowed to create arrays.
2019-05-14 10:42:42 -04:00
Jarrod Johnson
9ac83665c6
Isolate redfish node errors
...
If code experiences an issue specific to a node, isolate that fault to the node.
2019-05-13 14:37:47 -04:00
Jarrod Johnson
30f9d28c2c
Merge branch 'master' of github.com:jjohnson42/confluent
2019-05-13 13:36:17 -04:00
Jarrod Johnson
0168e46f24
Isolate individual node errors in ipmi plugin
...
If an individual node experiences an unexpected error,
isolate the fallout to that specific node.
2019-05-13 13:35:03 -04:00
Jarrod Johnson
ad828e609d
Reduce bad default login tries
...
For an SD530 XCC, we would incur 4 attempts at default:
-To pre-config enable SMM, we try once
-Due to pyghmi auto-degrade, try again as oper
-Then during the actual config phase, try again
-Again, try again as oper
Now with pyghmi opt-out, we will force to try only as admin, eliminating the second try.
The SD530 code will now mark that the default creds failed so that
the config phase will know to skip that.
2019-05-10 14:34:39 -04:00
Jarrod Johnson
cc5a5c9972
Fix operator add and delete of nodes
...
This permits operators to run nodedefine and noderemove.
2019-05-10 13:15:19 -04:00
Jarrod Johnson
cd2361b80b
Fix nodediscover clear for operators
...
Operators should be allowed to delete discovery data.
2019-05-10 13:11:04 -04:00
Jarrod Johnson
2b86c878a8
Cleanly handle bad credentials in redfish
...
Provide a similar experience to the ipmi plugin.
2019-05-07 16:19:30 -04:00
Jarrod Johnson
3564de8c6d
Fix web consoles/shells for operators
...
Operator role needed more permissions to act as expected.
2019-05-07 15:58:34 -04:00
Jarrod Johnson
7b5361a019
Add expressions to Operator role
...
noderun/nodeshell would not work for operators without this.
2019-05-03 09:06:20 -04:00
Jarrod Johnson
a6809aae98
Add Monitor role
...
Add a monitor role that is only viable for monitoring relevant
tasks.
2019-05-02 10:04:40 -04:00
Jarrod Johnson
4d5bfb13bf
Add support for Operator role
...
Support a reduced privilege user that can still perform
most operations, but cannot modify, delete, or add
users/groups to confluent or to BMCs.
2019-05-01 16:57:15 -04:00
Jarrod Johnson
93e9a54e86
Relay redfish error strings to client
...
This provides a much better experience than 'unexpected'
error.
2019-05-01 11:46:02 -04:00
Jarrod Johnson
8fbd99cf5c
Fix misakes in usergroups
...
Deletion was incorrect and restore from json did not work.
2019-04-30 16:18:12 -04:00
Jarrod Johnson
d78adc334d
Fix overly verbose log on client close
...
When a client would close (e.g. an unathenticated nodelist),
a large trace be logged. Fix by returning silently in such a case.
2019-04-30 15:03:55 -04:00
Jarrod Johnson
31f2161b57
Add user groups to confluent
...
This allows a system/ldap group to be used instead of directly
specifying individual authorized users.
2019-04-30 14:55:54 -04:00
Jarrod Johnson
571a34cba2
Module to assist with advanced user manipulation
...
Currently holds the logic to ascertain the system groups
for a system user.
2019-04-30 13:23:26 -04:00
Jarrod Johnson
c6516f9d62
Support redfish event logs
2019-04-22 12:54:49 -04:00
Jarrod Johnson
6290c169f5
Disable MIB resolution for raw requests
...
MIB resolution turns out to be rather CPU intensive, and the
current SNMP consumers don't want the resolution anyway.
2019-04-16 08:46:50 -04:00
Jarrod Johnson
d6097ca706
Merge branch 'master' of github.com:jjohnson42/confluent
2019-04-08 10:15:10 -04:00
Jarrod Johnson
c3eed19309
Fix adequate check on inadequate IMMs
2019-04-08 10:14:49 -04:00
Jarrod Johnson
d7d3ae344c
Skip empty nodes list
...
A noderange based nodegroup would have
the empty nodes list cluttering the output.
Skip empty nodes list in current settings.
2019-04-05 09:17:45 -04:00
Jarrod Johnson
6e26b19c67
Autofill collective.manager on discovery if not set
...
To improve the ease of use, if an administrator has a collective but
does not designate a collective.manager for a node being discovered,
default to the collective member that executes the discovery.
2019-04-04 09:49:02 -04:00
Jarrod Johnson
5d572f17f9
Enhance collective usage output
...
Collective usage output provided no hints as to how to access more detailed
help. Amend the wording to make this more clear/obvious.
2019-04-03 14:23:30 -04:00
Jarrod Johnson
dce25d802e
Fix SLP hangs on bad targets
...
Have SLP timeout if there are endpoints that can half-hang
a connection.
2019-04-03 08:34:42 -04:00