In order to support large-scale production-side testing of certain automations and similar things, we need an independent instance of Netbox so as to not potentially harm live production data with breaking changes before they are tested. This needs to be in production-side context because of the need to access external resources such as PuppetDB.
Description
Details
Event Timeline
Just my 2 cents, we should simply create a ganeti instance, make the IP assigned to netbox-next.wikimedia.org and setup a mechanism to periodically mirror the live database by pulling a dump. Some minor changes may have to be applied to the puppet since there are some assumptions made but they should be almost entirely parameterized in ways we need for this.
Change 601893 had a related patch set uploaded (by CRusnov; owner: CRusnov):
[operations/puppet@production] netbox: Configure for netbox-dev hosts
Change 601893 merged by CRusnov:
[operations/puppet@production] netbox: Configure for netbox-dev hosts
Mentioned in SAL (#wikimedia-operations) [2020-06-16T23:43:33Z] <crusnov@deploy1001> Started deploy [netbox/deploy@5251cf1]: Deploying Netbox to netbox-dev T253140
Mentioned in SAL (#wikimedia-operations) [2020-06-16T23:43:38Z] <crusnov@deploy1001> Finished deploy [netbox/deploy@5251cf1]: Deploying Netbox to netbox-dev T253140 (duration: 00m 05s)
Change 606040 had a related patch set uploaded (by CRusnov; owner: CRusnov):
[operations/puppet@production] acme_chief: Add netbox-dev keys
Change 606040 merged by CRusnov:
[operations/puppet@production] acme_chief: Add netbox-dev keys
@crusnov The following backups are configured but have been alerting for over a week as failing, as they are currently backing up nothing.
netbox-dev2001.wikimedia.org-Monthly-1st-Wed-production-netbox netbox-dev2001.wikimedia.org-Monthly-1st-Wed-production-netbox-postgres
They should be either disabled or filled in with data to backup.
This is causing alert spam.
Change 607310 had a related patch set uploaded (by CRusnov; owner: CRusnov):
[operations/puppet@production] profile::netbox::postgres: Parameterize backups
Change 607310 merged by CRusnov:
[operations/puppet@production] profile::netbox: Parameterize backups