Jarrod Johnson
814209385c
Fix another use of async name
...
For better python 3 compatibility,
stop using async as a variable name.
2020-04-10 12:08:55 -04:00
Jarrod Johnson
3b3475e073
Merge branch 'master' into osdeploy
2020-04-10 11:59:04 -04:00
Jarrod Johnson
ed050b37e1
Fix httpapi with python3
...
async is now particularly special,
rename variable to fix it
2020-04-10 11:58:45 -04:00
Jarrod Johnson
331d10140a
Fix httpapi with python3
...
async is now particularly special,
rename variable to fix it
2020-04-10 11:57:59 -04:00
Jarrod Johnson
2bd2946e9f
Add time sync option to copernicus
...
Since we are dealing in TLS certificates,
the easiest thing is to have copernicus sync
time. It is not as robust as ntp,
but it'll do as a stopgap
until the real time utilities
kick in.
2020-04-10 11:23:12 -04:00
Jarrod Johnson
a3f7fc12b5
Include fe80 in cert
...
fe80 is needed and a valid
thing to assert.
2020-04-10 09:59:53 -04:00
Jarrod Johnson
5fb4f2b36c
Add CAs from site to install
...
Preserve the CA situation into the installer
2020-04-09 16:18:39 -04:00
Jarrod Johnson
3ddeb4bcd0
A basic hook to force network bringup
...
initqueue must be satisfied by a udev rule. We don't
know which network until iniqueue phase, but the hook
needs to install earlier. This change induces
udev rule generation.
2020-04-09 16:14:30 -04:00
Jarrod Johnson
1722ad941b
Add a starting sample of initqueue dracut hook
...
For rhel8, this initqueu hook is useful
2020-04-09 16:13:33 -04:00
Jarrod Johnson
d18c0a576d
Fix ProxyDHCP reply
...
Use the memoryview instead
of the bytearray for correct
use.
2020-04-09 09:20:34 -04:00
Jarrod Johnson
acda061710
Merge branch 'master' into osdeploy
2020-04-09 08:21:24 -04:00
Jarrod Johnson
8d1d19d9a8
Fix nodelicense save with expansion
...
Client side checking will not suffice. Move it server side.
Additionally ,fix ownership of downloaded files.
2020-04-09 08:20:55 -04:00
Jarrod Johnson
fdd9c0953c
Fix numerous python2 issues
...
python2 needs tobytes rather
than bytes of a memoryview.
2020-04-08 17:28:29 -04:00
Jarrod Johnson
137e35217b
Implement UDP checksum
...
Properly implement checksum
on ACK.
2020-04-07 17:36:51 -04:00
Jarrod Johnson
fe3d9da5aa
Have a workable static PXE behavior
...
All but the checksum is now
functioning.
2020-04-07 17:07:07 -04:00
Jarrod Johnson
d76c576b4e
Merge branch 'master' into osdeploy
2020-04-07 11:35:03 -04:00
Jarrod Johnson
017f3fb372
Switch CP storage to SSDP from SLP
...
The SLP behavior on CP storage BMC is problematic.
Switch to SSDP to see if that provides more robust
behavior.
2020-04-07 11:32:52 -04:00
Jarrod Johnson
f58b943cfe
Fix mistakes in pxe handler
...
stringify was passed a string, fix
that input.
Fix mispelling of isinstance.
2020-04-06 17:11:23 -04:00
Jarrod Johnson
86628929de
Merge branch 'master' into osdeploy
2020-04-06 14:51:01 -04:00
Jarrod Johnson
46518f890b
Fix nodediscover assign
...
The feature request for -n was
implemented in a way that broke
nodediscover assign.
2020-04-06 14:50:24 -04:00
Jarrod Johnson
b0a0bad635
Merge branch 'master' into osdeploy
2020-04-03 12:34:05 -04:00
Jarrod Johnson
7e86a72872
Pass along unavailable info to client
2020-04-03 12:33:55 -04:00
Jarrod Johnson
1cfeed3f9d
Merge branch 'master' into osdeploy
2020-04-03 11:02:14 -04:00
Jarrod Johnson
2567503662
Handle both types of CP reply
...
The CP storage may reply with
one of two distinct forms. Recognize
either and treat them the same.
2020-04-03 11:01:55 -04:00
Jarrod Johnson
061e12beeb
Merge branch 'master' into osdeploy
2020-04-02 11:43:32 -04:00
Jarrod Johnson
6b56181a52
Fix attrib add code
...
It was failing due to automatic pathing in python3
2020-04-02 11:42:54 -04:00
Jarrod Johnson
323be19f21
Fix typo in the legacy boot support
2020-04-02 11:34:42 -04:00
Jarrod Johnson
0983cacb20
Merge branch 'master' into osdeploy
2020-04-02 11:01:57 -04:00
Jarrod Johnson
c18ce50138
Integrate attributes into man pages
2020-04-02 11:01:42 -04:00
Jarrod Johnson
b3c878462f
Integrate attributes into man pages
2020-04-02 11:00:45 -04:00
Jarrod Johnson
8e8e17a34e
Merge branch 'master' into osdeploy
2020-04-02 10:26:28 -04:00
Jarrod Johnson
a0684520d8
Add documentation for some parameter default
2020-04-02 10:25:57 -04:00
Jarrod Johnson
e78b4e9f17
Merge branch 'master' into osdeploy
2020-04-02 10:18:11 -04:00
Jarrod Johnson
374aa49016
Add man page for nodersync
2020-04-02 10:17:44 -04:00
Jarrod Johnson
ea537b1a1f
Add branch to support legacy
...
Legacy boot gets into ipxe
through a kkpxe executable.
2020-04-02 09:41:17 -04:00
Jarrod Johnson
bc7dc50388
Switch filename for iPXE
...
This offers the real iPXE script to
ipxe.
2020-04-01 17:19:23 -04:00
Jarrod Johnson
2da5bebf46
Fix iPXE recognition of our offer
...
iPXE requires that next-server
be set, unlike UEFI firmware
which did not care.
2020-04-01 16:59:43 -04:00
Jarrod Johnson
0fe136d4ee
Extend a proxydhcpack
...
This is one stage of actually
providing download over
PXE.
2020-04-01 16:40:47 -04:00
Jarrod Johnson
b573ffa897
Reduce log noise
...
Stop logging frequently occuring
events that are generally ignored.
2020-04-01 10:33:42 -04:00
Jarrod Johnson
0986853e6e
Merge branch 'master' into osdeploy
2020-03-30 10:59:56 -04:00
Jarrod Johnson
0b95daa30d
Add msgpack to explicit dependencies
...
This will pull in msgpack for debian derivatives.
2020-03-30 10:58:08 -04:00
Jarrod Johnson
96b5d3aa91
Actually populate the file field
...
Thankfully, it turns out that HTTPBoot carries the same flexibility
as PXE with respect to no-ip answer being merged with an IP answer.
As a bonus, it actually is simpler than PXE, allowing skipping of udp
port 4011. Of course, we still want to support PXE boot, so that will
need to be implemented.
2020-03-27 16:17:51 -04:00
Jarrod Johnson
6cc0fd20a0
Merge branch 'master' into osdeploy
2020-03-27 12:14:56 -04:00
Jarrod Johnson
d33365195b
Have nodediscover list filter by -n
...
It is a reasonable expectation and useful feature to provide.
2020-03-27 12:14:41 -04:00
Jarrod Johnson
85c648925f
Merge branch 'master' into osdeploy
2020-03-27 11:05:38 -04:00
Jarrod Johnson
3429173c27
nodeconsole changes to specifically target tmux
...
tmux needs more direction to avoid ambiguous results.
2020-03-27 10:57:14 -04:00
Jarrod Johnson
44836cabbe
Prepare for http boot
...
HTTP boot does not seem to support proxy dhcp.
2020-03-27 10:56:38 -04:00
Jarrod Johnson
92e657b987
Fix UDP checksum of odd-length packets
...
Odd length packets were incorrectly handled, fix
the packet construction.
2020-03-26 16:59:58 -04:00
Jarrod Johnson
16209bc3d6
Merge branch 'master' into osdeploy
2020-03-26 14:11:03 -04:00
Jarrod Johnson
f6c44922f8
Add support for forced password change
...
ThinkAgile CP storage BMC firmware now requires
a password change be navigated prior to operation.
2020-03-26 14:10:17 -04:00