Page MenuHomeSoftware Heritage

Inventory of the swh infrastructure
Started, Work in Progress, NormalPublic

Description

In order to prepare the networks refactoring to isolate the different environments (staging, production and possibly an additional admin vlan), an exhaustive list of all the running services is needed.

An inventory app will be used to have a live and up to date vision of the infrastructure.
After a quick poc, netbox seems to do the job by supporting, hardware, virtualisation, networks, services, .... and being configurable by api.

List of the tasks to perform :

  • Add the support of netbox in puppet
  • Provision and install a server to run netbox
  • Reference the physical and virtual servers
  • Reference the current networks and ips
  • Reference the running services

The next step (refactoring) will be described in another task after the analysis of the current state.

Event Timeline

vsellier changed the task status from Open to Work in Progress.Sep 21 2020, 5:54 PM
vsellier claimed this task.
vsellier triaged this task as Normal priority.
vsellier created this task.
vsellier added a revision: Restricted Differential Revision.Sep 24 2020, 9:59 AM
vsellier updated the task description. (Show Details)Thu, Oct 1, 7:39 PM
vsellier updated the task description. (Show Details)Fri, Oct 2, 4:42 PM

The service is up and runnig at https://inventory.internal.softwareheritage.org
I will add the admin password on the credentials.

The initial import of the puppet fact was done with the quick and dirty import script[1]. Each imported ressource is tagged with the tag `puppet-import` to keep the information for later.

Now the time to the manual work of categorization is coming.

[1]: https://forge.softwareheritage.org/source/snippets/browse/master/sysadmin/netbox-importer/