mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-10-06 17:46:55 +00:00
9da497cac4
Three things the wire cases turned up, only the first of which is xCAT answering a client wrongly -- the other two never got as far as an answer. kea-dhcp4 would not start at all. The ONIE class named option "www-server", which xCAT's dhcpd.conf declares as code 114 = string but which means the standard option 72 to Kea -- a list of IPv4 addresses, so an installer URL in one is a configuration error and the whole Kea pass of the wire cases never ran. Naming the code instead says the same thing to both. ISC answered a request for an address on a network it has never heard of with silence, where the spec says DHCPNAK, because "authoritative" was written into each subnet declaration and read from the subnet the requested address belongs to -- which, for this case, is none of them. It is now global as well, which is what Kea's authoritative:true already covered. The remaining two were the cases asking the wrong question. ISC sends an option when the client asks for it, so an ONIE case that never put 114 in its parameter request list could not see it however the class was written; and the common-option case announced a PXEClient vendor class while asserting the cluster's lease time, which is the ten-minute firmware lease of S-51 rather than S-50. S-50 now says which clients it is about.