Comment 7 for bug 1532823

Revision history for this message
Aleksey Kasatkin (alekseyk-ru) wrote :

For some reason, at once, nailgun received from agent wrong IP and pxe interface:

2016-01-22 01:54:29.549 DEBUG [7f6c93c44880] (logger) Request PUT /api/nodes/agent/ from 10.109.12.9:42529 {"mac":"64:14:58:D0:F6:3E","ip":"10.109.13.5",

2016-01-22 01:54:29.718 WARNING [7f6c93c44880] (manager) PXE interface info is not consistent for node "slave-02_controller (id=1, mac=64:14:58:d0:f6:3e)"

After that, info from nailgun agent did not contain IP address for particular NIC (as before wrong IP was received), just IP for node (that had right value).

BTW, pxe flag is never calculated correctly by nailgun agent (always false for all interfaces)

So,
1. there is a problem in network info acquisition in nailgun agent or on earlier stage.
2. nailgun could have more reliable algorithm (but more sophisticated) for calculation of pxe interface.
3. wrong info started to come after deployment was started so it should have been skipped in normal situation. probably, node was in 'provisioned' status. we could prohibit network info changes for this status also.
4. log of nailgun receiverd was not found. probably it is not saved into snpshot. it must be added then.