Open mmguero opened 1 day ago
@mmguero commented on 2024-02-13:
During a normal startup without any live capture, no running enrichment, etc., I have 2930 device types. We do consistently have a few errors:
netbox-1 | ... "POST /netbox/api/dcim/device-types/ HTTP/1.1" 400 47 ... netbox-1 | ... "POST /netbox/api/dcim/device-types/ HTTP/1.1" 400 47 ... netbox-1 | ... "POST /netbox/api/dcim/device-types/ HTTP/1.1" 400 47 ... netbox-1 | ... "POST /netbox/api/dcim/device-types/ HTTP/1.1" 400 47 ... netbox-1 | ... "POST /netbox/api/dcim/device-types/ HTTP/1.1" 400 47 ... netbox-1 | ... "POST /netbox/api/dcim/device-types/ HTTP/1.1" 400 47 ...
However I don't think this is due to anything we're doing, and it is consistently reproducible. I think these are errors in the source data itself.
So seeing that there are 6 device types that got error 400s on them, and I ended up with exactly 6 less than what I counted as a "full" complement, this seems reasonable.
We also get some errors for some other records:
netbox-1 | 127.0.0.1 - - [13/Feb/2024:22:05:20 +0000] "POST /netbox/api/dcim/power-outlet-templates/ HTTP/1.1" 400 1089 "-" "python-requests/2.31.0" netbox-1 | 127.0.0.1 - - [13/Feb/2024:22:18:34 +0000] "POST /netbox/api/dcim/module-types/ HTTP/1.1" 400 76 "-" "python-requests/2.31.0" netbox-1 | 127.0.0.1 - - [13/Feb/2024:22:18:34 +0000] "POST /netbox/api/dcim/module-types/ HTTP/1.1" 400 76 "-" "python-requests/2.31.0" netbox-1 | 127.0.0.1 - - [13/Feb/2024:22:18:37 +0000] "POST /netbox/api/dcim/module-types/ HTTP/1.1" 400 76 "-" "python-requests/2.31.0"
Again, I don't have an indication that this is really a problem, but is more likely an issue with the data.
I'm going to try this a few more times but if I get the same results (2930) I don't know what else we'd do about this.
@mmguero cloned issue idaholab/Malcolm#397 on 2024-01-30: