Fix deployed with https://gerrit.wikimedia.org/r/531763
Mon, Aug 19
Wed, Aug 14
At least the first one i
Tue, Aug 13
There is an undocumented API which creates a new IP address for a given prefix:
I have spent time looking at adding the API required for this functionality. I believe I have figured out how to do it and will produce a patch shortly.
this has been fully deployed now and tested. It is automated.
FWIW there was no mgmt DNS information for some hosts:
Script has completed running. Several edge cases worked out with Arzhel (frack, etc). MGMT interfaces should be largely correct now.
Tue, Aug 6
Okay after some finagling, uploading (and downloading) images should work. A particularity of swift storage is that they download instead of viewing, but they work!
Thu, Aug 1
Wed, Jul 31
Tue, Jul 30
Netbox has been deployed with the change that should enable this. We're testing.
Obviously some finagling happened, but in the end the upgrade is good.
Mon, Jul 29
Fri, Jul 26
Thu, Jul 25
Jul 24 2019
To update this ticket with current situation.
Jul 22 2019
Jul 8 2019
Jul 1 2019
Interesting, it sure does take a while for the disk to build, and the tool will wait.
Jun 26 2019
After looking into this a bit, the details of how this would be done are a bit involved; since internally cumin uses a NodeSet from clustershell, which acts like a set(), the order is 'unspecified' (semi-random). If we want it to be more random, we'd have to I think convert it into a list and randomize it before batching. If we want to apply sorting, the same is true. I am told this is a relatively unimportant change, but it doesn't seem super complicated to implement if there is demand or this would reduce toil.
Jun 25 2019
Jun 24 2019
Just closing the loop here, the backend is up for review, but there is apparently a pylint bug preventing CI from passing (or there was last week).
Roger, it might be best to wait on the upgrade until the split to Ganeti is done (maybe early next week) as using Redis was part of the spec for that.
Jun 18 2019
Jun 17 2019
Jun 12 2019
Jun 11 2019
Jun 7 2019
okay so this works, mostly, in labs when manually configured to operate against the deployment-prep Swift cluster. Netbox lets me upload images and shows them associated with the object in question - except that viewing fails because they are served from a URL in the swift cluster that is unavailable. We'll look at this part more next week no doubt.
Jun 6 2019
Jun 5 2019
Jun 3 2019
I agree that from the perspective of more closely modelling the devices between the various tools that the domain name for the VC name thing is necessary. I'm not completely clear on how that would make the matching better? Currently the by-serial matching seems to be working correctly, the complexities are mostly in lining up vendor and model information at this point, unless I'm mistaken - and this appears to be approachable either by matching things more loosely or creating a map between what's in LibreNMS and what's in Netbox. Separately, there are only a few inventory items which don't appear to line up, but I believe it's because they are builtin so they are left out of the librenms query.
Alerts are alerting and in production.
May 29 2019
After a discussion with Faidon, I think the general consensus is that DRAC (and ILO) should be an acceptable termination name for managament interfaces, in addition to, going forward, the normal default being mgmt\d? (enumerated in the case of tehre being multiple interfaces).
May 28 2019
Hello here is the sample output. There are several inconsistencies that I can see the fix for that I'd already attempted to mitigate (but not successfully apparently) such as devices like Netbox devtype=Juniper EX4600-40F, LibreNMS devtype=Juniper Networks, Inc. ex4600-40f Ethernet Switch, kernel JUNOS 14.1X53-D45.3, Build date: 2017-07-28 01:39:39 UTC Copyright (c) 1996-2017 Juniper Networks, Inc. or Juniper EX4600 where the information is there it's just not lined up the same. Other things seem less obvious, like duplicated serial numbers and similar.
May 22 2019
Just to follow up on this. I did spend some time trying to figure out how to initiate a template-based export from hitting a URL. It seems as though there's no API-way, and hitting the URL endpoint doesn't work with a token authentication as far as I can tell.
I'm definitely in favor or allowing a failed state to basically come from any other state.
May 21 2019
Merged the change and deployed which uses admin_state instead.
May 14 2019
It was pointed out to me that the vendor name in entPhysical is there, so we could hypothetically check that (for inventory items only) - the devices table remains complex.
May 13 2019
After digging and discussing I believe the way forward since the mapping is slightly ... weird between LibreNMS and Netbox:
Hello, process question about this. The current flowchart for states doesn't allow Spare->Failed to happen, so there are some implicit assumptions inside of f or example the PuppetDB netbox report about that (Failed state is expected to be in Puppet since it implicitly comes from a production state). Is it the preference that boxes like this go through a Failed state (and thus never appear in Puppet? Thanks.