Jarrod Johnson
deb2c3a94a
Correct some minor potential issues and add restart on failure
2017-08-25 16:41:22 -04:00
Jarrod Johnson
0e708f4b26
Back off https recheck
...
With various fixes, it does not make as much sense to be so aggressive
with rechecking https assuming we sense something prior to https
being up.
2017-08-25 09:24:21 -04:00
Jarrod Johnson
5c93976bdb
Fix errant certificate handling
...
Non-replacement detection was being treated as replacement. Correct
that mistake.
2017-08-24 16:57:06 -04:00
Jarrod Johnson
312af72d9f
Fix policy handling if not set
2017-08-24 16:34:57 -04:00
Jarrod Johnson
19f75474fc
Fix db restore reliability if replacing existing
...
If there is an existing DB, there were race conditions in loading the
restore. Fix by clearing the existing DB once the viability of the
restore dataset has been established
2017-08-24 16:04:04 -04:00
Jarrod Johnson
695e038ced
Skip attempt to fixup custom attributes
2017-08-24 16:01:00 -04:00
Jarrod Johnson
a98d8dc43c
Provide capture of PXE mac addresses to net*.hwaddr
...
This provides a persistent store of PXE mac addresses for consumption
by other provisioning systems that are generally MAC centric.
2017-08-24 15:42:40 -04:00
Jarrod Johnson
69cbeecf1b
Correct fixup for untyped data
2017-08-24 13:44:21 -04:00
Jarrod Johnson
5cd461c6ad
Add understanding of net.* attributes to fixup
...
net.* are special, add them to the fxup so that the bootable attribute
is correctly amended.
2017-08-24 13:26:38 -04:00
Jarrod Johnson
de30c53d21
Add net.*.bootable
...
Provide a flag to indicate that a nic entry is meant to hold
a bootable network interface, for purpose of holding a PXE detected
mac.
2017-08-24 13:15:32 -04:00
Jarrod Johnson
a599c346f8
Add support for boolean attributes
...
Normalize likely textual input to a boolean, but otherwise treat such
data in the same manner as a string.
2017-08-24 13:14:23 -04:00
Jarrod Johnson
1e88ce2d41
Flesh out pxe client info if matching discovery data found
...
While we cannot get serial number and model number in a PXE request,
if there is a matching uuid, fill in the data from the match. Also
provide info on the related macs so that info can be correlated in more
complex ways (e.g. which mac is pxe, which mac is BMC, which IP goes
where, etc.)
2017-08-24 10:23:43 -04:00
Jarrod Johnson
d337de671e
Add missing uuid list generator link
...
The UUID mapping was not connected fully to the API.
2017-08-23 15:52:20 -04:00
Jarrod Johnson
68c7ab4c90
Add ability to group discovery by uuid
...
API adds 'by-uuid', which helps group BMC and PXE together to make
relationship clear.
2017-08-23 15:41:16 -04:00
Jarrod Johnson
4af5e2d615
Correct uuid retrieval mistake
2017-08-23 13:17:18 -04:00
Jarrod Johnson
299c5c4e71
Add UUID to returned discovery data when available
2017-08-23 12:57:34 -04:00
Jarrod Johnson
e5c330bb1c
Be less verbose about non-viable data in periodic recheck
...
If we have a device that has aged out of usable addresses, do not pester
log about this incessantly.
2017-08-23 12:47:44 -04:00
Jarrod Johnson
e1eafa46f9
Be robust in handler init withotu addresses set
2017-08-23 11:16:07 -04:00
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
54f25cfa9e
Implement access to other banks
...
Provide backend support for other banks than primary.
2017-08-16 17:30:18 -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
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
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
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
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
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
Jarrod Johnson
9e44087047
Breakup logentries exceeding 65k
...
The data length of a log entry must not exceed 65k. If an attempt is
made to log that much, break it up and duplicate the records. It may make
sense to indicate a continuation explicitly, but for now just extend.
2017-07-28 15:53:07 -04:00
Jarrod Johnson
4a929eb9b5
Merge branch 'master' of github.com:jjohnson42/confluent
2017-07-27 09:03:53 -04:00
Jarrod Johnson
858647bb6d
Change to str for exception message
...
str will tend to present a more normal looking error string. Use
that so that a user does not have the impression there is a code
issue on expected errors.
2017-07-27 09:03:36 -04:00
Jarrod Johnson
8a416ccc5e
Correct mistake in core formatting
2017-07-26 16:57:06 -04:00
Jarrod Johnson
b5f016ad50
Provide support for removing update
...
This allows for cancelling and cleanup after reporting.
2017-07-26 14:10:04 -04:00
Jarrod Johnson
eb3f5a8bbc
Provide update status through API
...
Give visibility into the process.
2017-07-26 11:39:27 -04:00
Jarrod Johnson
a40f015076
Phase 1 of firmware update support
...
Provide ability to launch firmware updates.
Next will be ability to enumerate, monitor, and
delete.
2017-07-25 17:01:32 -04:00
Jarrod Johnson
0bf21238aa
Add bay number to IMM and XCC
...
The bay number can be opportunisticly grabbed, provide
that info in the discovery api. In future, should add 'by-bay'
once we have enclosure data as well.
2017-07-25 12:07:18 -04:00
Jarrod Johnson
577456d999
Merge branch 'master' of github.com:jjohnson42/confluent
2017-07-20 11:05:19 -04:00