Page MenuHomeSoftware Heritage
Feed Advanced Search

Oct 19 2020

vsellier closed T2691: Test and select a software router as Resolved.

The test phase is achieved. OPNSense seems to have a consensus with no blocking points.
Let's start the real implementation now.

Oct 19 2020, 5:57 PM · System administration
vsellier updated the diff for D4308: wip - poc network configuration in markdown.

formating (fat finger)

Oct 19 2020, 5:29 PM
vsellier updated the diff for D4308: wip - poc network configuration in markdown.

formating

Oct 19 2020, 5:27 PM
vsellier updated the diff for D4308: wip - poc network configuration in markdown.

formating

Oct 19 2020, 5:26 PM
vsellier created D4308: wip - poc network configuration in markdown.
Oct 19 2020, 5:24 PM
vsellier updated the diff for D4293: Build the proxmox templates with packer.

rollback the network configuration commit (should be a new diff)

Oct 19 2020, 5:23 PM
vsellier updated the diff for D4293: Build the proxmox templates with packer.

poc network configuration in markdown

Oct 19 2020, 5:20 PM

Oct 16 2020

vsellier created D4293: Build the proxmox templates with packer.
Oct 16 2020, 5:57 PM
vsellier added a revision to T2707: The VMs cloned from the debian10 templates considered as physical servers by facter: D4293: Build the proxmox templates with packer.
Oct 16 2020, 5:57 PM · System administration

Oct 15 2020

vsellier added a comment to T2707: The VMs cloned from the debian10 templates considered as physical servers by facter.

There is a proxmox builder [1] for packer, I will give it a try to check if we can benefit of the work done for vagrant on puppet and have a common base between the real vms and the local vms used to test.

Oct 15 2020, 6:27 PM · System administration
vsellier updated the task description for T2707: The VMs cloned from the debian10 templates considered as physical servers by facter.
Oct 15 2020, 5:21 PM · System administration
vsellier updated the task description for T2707: The VMs cloned from the debian10 templates considered as physical servers by facter.
Oct 15 2020, 5:20 PM · System administration
vsellier changed the status of T2707: The VMs cloned from the debian10 templates considered as physical servers by facter from Open to Work in Progress.
Oct 15 2020, 5:19 PM · System administration
vsellier accepted D4197: proxmox/terraform: Align production nodes declaration with current module version.

👍 it looks synchronized

Oct 15 2020, 9:34 AM

Oct 14 2020

vsellier reopened T2691: Test and select a software router, a subtask of T2650: Network refactoring - step 1, as Work in Progress.
Oct 14 2020, 5:41 PM · System administration
vsellier reopened T2691: Test and select a software router as "Work in Progress".

fix the wrong status change embedded with the previous comment

Oct 14 2020, 5:41 PM · System administration
vsellier closed T2691: Test and select a software router, a subtask of T2650: Network refactoring - step 1, as Resolved.
Oct 14 2020, 5:40 PM · System administration
vsellier closed T2691: Test and select a software router as Resolved.

@olasd / @ardumont , IMO the tests seem to confirm OPNsense can be a viable solution or at worst, it deserves to be tested with the staging infrastructure.

Oct 14 2020, 5:40 PM · System administration
vsellier updated the task description for T2691: Test and select a software router.
Oct 14 2020, 5:20 PM · System administration
vsellier added a comment to T2691: Test and select a software router.

A prometheus exporter is available as an additional plugin.

Oct 14 2020, 5:20 PM · System administration
vsellier added a comment to T2691: Test and select a software router.

The open vpn configuration support a certificat authority and csr stuff currently manually managed on louvre.

Oct 14 2020, 4:57 PM · System administration
vsellier updated the task description for T2691: Test and select a software router.
Oct 14 2020, 3:40 PM · System administration
vsellier added a comment to T2691: Test and select a software router.
  1. IPSec / Azure configuration
Oct 14 2020, 3:40 PM · System administration
vsellier updated the task description for T2691: Test and select a software router.
Oct 14 2020, 3:00 PM · System administration
vsellier added a comment to T2691: Test and select a software router.

I was not able to test the git backup plugin as it seems it's not yet released and it doesn't appear on the installable plugin list.
The commit for the version 1.0 was done 6 days ago : https://github.com/opnsense/plugins/commit/87c4c96fe1d1dc881f72f91ee67b6a84c9dea42a
I have also tested with the development version of pfsense but it also does not appear.

Oct 14 2020, 2:57 PM · System administration
vsellier updated the task description for T2691: Test and select a software router.
Oct 14 2020, 11:44 AM · System administration
vsellier added a comment to T2691: Test and select a software router.

The HA was quite simple to configure with the documentation [1] and an additional blog post which helps with the nat section not very explicit in the official documentation [2]
It's recommended to have a dedicated network link between the 2 firewalls used to the synchronization. In the tests I have done, I configured the sync on the admin network (VLAN442). It works but it's not the optimal configuration.

Oct 14 2020, 11:41 AM · System administration

Oct 13 2020

vsellier added a comment to T2691: Test and select a software router.

Well, I let this problem aside for the moment as there is nothing special configured for the interface on the VLAN1300 and I have no idea of what can be the source of the problem. Perhaps the "illumination" will come later...

Oct 13 2020, 4:57 PM · System administration
vsellier added a comment to T2691: Test and select a software router.

Having the WAN gateway declared on the VLAN1330 is working well.
Changing the default gateway to 128.93.166.62 force to declare an additional route for the vpn connections (192.168.101.0/24 => gw 192.168.100.1).

Oct 13 2020, 4:12 PM · System administration
vsellier added inline comments to D4197: proxmox/terraform: Align production nodes declaration with current module version.
Oct 13 2020, 12:15 PM
vsellier added a comment to T2691: Test and select a software router.

PFSense and OPNsense were tested.

Oct 13 2020, 11:24 AM · System administration
vsellier changed the status of T2650: Network refactoring - step 1 from Open to Work in Progress.
Oct 13 2020, 9:52 AM · System administration
vsellier changed the status of T2691: Test and select a software router from Open to Work in Progress.
Oct 13 2020, 9:52 AM · System administration
vsellier accepted D4236: Vagrant/Packer: Increase the template disk size to 20Gb.
Oct 13 2020, 9:43 AM

Oct 12 2020

vsellier added a comment to T2650: Network refactoring - step 1.

@olasd I looked at the swh-docs repository to store the sources of the diagrams as you have suggested but I'm not sure this is the better place to store them as the goal is not to display them on the doc site.

Oct 12 2020, 6:56 PM · System administration
vsellier accepted D4238: Vagrantfile: Migrate vms to use libvirt.

LGTM (not tested)

Oct 12 2020, 6:03 PM
vsellier accepted D4239: README: Focus the vagrant setup around the libvirt provider.
Oct 12 2020, 5:52 PM
vsellier renamed T2689: swh-fuse tests are failing on the DENV/tests jenkins job from swh-fuse tests are failing on the DENV/tests jobs to swh-fuse tests are failing on the DENV/tests jenkins job.
Oct 12 2020, 4:07 PM · Software Heritage filesystem, System administration
vsellier triaged T2689: swh-fuse tests are failing on the DENV/tests jenkins job as High priority.
Oct 12 2020, 4:06 PM · Software Heritage filesystem, System administration
vsellier accepted D4226: Vagrantfile: Reference the remote qcow2 box url.
Oct 12 2020, 3:37 PM
vsellier accepted D4138: Vagrantfile: Allow libvirt vm build.
Oct 12 2020, 3:37 PM
vsellier accepted D4137: packer: Add template to build qemu/libvirt images.

Thanks, it's really great.
I have tested locally the qemutest vm and converted the staging-webapp and staging-deposit vms, everything looks good.
The virtualbox and libvirt networks (with the same ip range) can't cohabit together but after a cleanup on the virtualbox side, everything works as expected.

Oct 12 2020, 3:36 PM
vsellier added inline comments to D4138: Vagrantfile: Allow libvirt vm build.
Oct 12 2020, 12:35 PM
vsellier claimed T2650: Network refactoring - step 1.
Oct 12 2020, 11:38 AM · System administration
vsellier committed rSPSITE6c48816e6d06: netbox: fix the monitoring by avoiding the redirection to add the trailing / (authored by vsellier).
netbox: fix the monitoring by avoiding the redirection to add the trailing /
Oct 12 2020, 8:43 AM
vsellier closed D4229: netbox: fix the monitoring by avoiding the redirection to add the trailing /.
Oct 12 2020, 8:43 AM
vsellier created D4229: netbox: fix the monitoring by avoiding the redirection to add the trailing /.
Oct 12 2020, 8:21 AM

Oct 8 2020

vsellier accepted D4196: node/module: Allow more provisioning steps and align staging gateway.
Oct 8 2020, 5:27 PM
vsellier accepted D4167: Disable network profile for vagrant..
Oct 8 2020, 3:50 PM
vsellier accepted D4195: Allow multiple networks declaration.
Oct 8 2020, 2:00 PM
vsellier accepted D4192: terraform/proxmox/staging: Actually use the right storage type.

Thanks, no changes are detected by terraform after this diff

Oct 8 2020, 9:49 AM
vsellier accepted D4191: terraform/proxmox: Centralize versions into one versions.tf file.
Oct 8 2020, 9:39 AM

Oct 7 2020

vsellier committed rSPREb3c6d45f6add: Allow to pass several storage declarations to the node template (authored by vsellier).
Allow to pass several storage declarations to the node template
Oct 7 2020, 5:06 PM
vsellier closed D4185: Allow to pass several storage declarations to the node template.
Oct 7 2020, 5:06 PM
vsellier updated the diff for D4185: Allow to pass several storage declarations to the node template.

rebase

Oct 7 2020, 5:05 PM
vsellier committed rSPREd6cc10b98a12: Fix terraform 0.13 initialisation (authored by vsellier).
Fix terraform 0.13 initialisation
Oct 7 2020, 5:02 PM
vsellier closed D4175: Fix terraform 0.13 initialisation.
Oct 7 2020, 5:02 PM
vsellier updated the diff for D4175: Fix terraform 0.13 initialisation.

rebase

Oct 7 2020, 5:02 PM
vsellier updated the diff for D4185: Allow to pass several storage declarations to the node template.

Link to a diff, not a task

Oct 7 2020, 4:44 PM
vsellier updated the diff for D4185: Allow to pass several storage declarations to the node template.

fix a typo on the commit message

Oct 7 2020, 4:42 PM
vsellier retitled D4185: Allow to pass several storage declarations to the node template from Allow to pass several storage declaration to the node template to Allow to pass several storage declarations to the node template.
Oct 7 2020, 4:41 PM
vsellier created D4185: Allow to pass several storage declarations to the node template.
Oct 7 2020, 4:40 PM
vsellier created P808 terraform for_each .
Oct 7 2020, 2:55 PM
vsellier accepted D4071: terraform/staging: Align proxmox and staging declaration.

lgtm, with this, we will be able to update the staging environment without impacting the rest of the infra

Oct 7 2020, 2:02 PM
vsellier created D4175: Fix terraform 0.13 initialisation.
Oct 7 2020, 11:39 AM

Oct 6 2020

vsellier accepted D4165: Split subnet-specific settings and deployment-specific settings.

looks good to me.

i don't see vagrant in there but i gather that's what you said about making the network part in vagrant a noop or something.

Oct 6 2020, 7:42 PM
vsellier accepted D4164: Rename the `location` variable to `subnet`.
Oct 6 2020, 7:39 PM
vsellier added inline comments to D4168: Update Vagrantfile to match recent changes to swh-site.
Oct 6 2020, 7:29 PM
vsellier added a comment to D4167: Disable network profile for vagrant..

WDYT to add a variable like profile::network::[activated|managed|whatever] to activate or not the network profile application ? It would avoid to introduce some vagrant specifics in the manifests

Oct 6 2020, 7:25 PM
vsellier accepted D4166: Improve hierarchy comments.

this one is easy ;)

Oct 6 2020, 7:20 PM
vsellier accepted D4163: Move hiera default values to a common directory.
Oct 6 2020, 7:15 PM
vsellier committed rSENVa2e6095f38b9: vagrant: simulate the behavior of the puppet master for the ssl certificates (authored by vsellier).
vagrant: simulate the behavior of the puppet master for the ssl certificates
Oct 6 2020, 2:03 PM
vsellier closed D4150: vagrant: simulate the behavior of the puppet master for the ssl certificates.
Oct 6 2020, 2:03 PM
vsellier added a comment to D4150: vagrant: simulate the behavior of the puppet master for the ssl certificates.

If i'm understanding this correctly, this will allow us to generate self-signed certificates when we want to create a service in our stack that needs a certificate.
Just generate it with the script within (generate-certificate) and commit into this repository.
Then trigger back the vagrant provisision <vm-with-desired-service>.
Then everything should run smoothly within that provision step.
correct?

Yes exactly, it's correct. It remains only the icinga part to remove the last errors during the provisioning. I still haven't a simple way to do it as it uses a certificate named with the vm's fqdn and should be generated after the vm creation if we want it to be automatised.

Another question is i'm just wondering whether it should be named netbox-vagrant instead of netbox given what we have in the defaults.yaml [1]

[1] https://forge.softwareheritage.org/source/puppet-swh-site/browse/production/data/defaults.yaml$820-822

good remark. There must be a mistake somewhere on this override of this property as when I provision the vm locally, it searches for netbox. I will remove this declaration because it's not necessary and it will allow to remove a property for vagrant on the defaults.yaml file.

Oct 6 2020, 12:16 PM
vsellier updated the diff for D4150: vagrant: simulate the behavior of the puppet master for the ssl certificates.

Refactor virtualbox images declarations

Oct 6 2020, 12:03 PM
vsellier updated the diff for D4150: vagrant: simulate the behavior of the puppet master for the ssl certificates.

Remove useless empty lines

Oct 6 2020, 11:37 AM
vsellier created D4150: vagrant: simulate the behavior of the puppet master for the ssl certificates.
Oct 6 2020, 11:31 AM
vsellier committed rSENVf7abd13b9302: vagrant: fix bojimans ip (authored by vsellier).
vagrant: fix bojimans ip
Oct 6 2020, 11:08 AM
vsellier committed rCJSWH5ade7a89a66b: swh-fuse: add a privileged and device option to the docker container to allow… (authored by vsellier).
swh-fuse: add a privileged and device option to the docker container to allow…
Oct 6 2020, 9:47 AM
vsellier closed D4144: swh-fuse: add privileged and device options to the docker container to allow mount to work.
Oct 6 2020, 9:47 AM
vsellier retitled D4144: swh-fuse: add privileged and device options to the docker container to allow mount to work from swh-fuse: add a privileged and device option to the docker container to allow mount to work to swh-fuse: add privileged and device options to the docker container to allow mount to work.
Oct 6 2020, 9:30 AM

Oct 5 2020

vsellier added inline comments to D4144: swh-fuse: add privileged and device options to the docker container to allow mount to work.
Oct 5 2020, 5:53 PM
vsellier added a comment to T2654: modprobe fuse on the CI build machine.

I failed to successfully execute mount on the container without the privileged option so I finally configured the swh-fuse job with this option.

Oct 5 2020, 4:06 PM · Software Heritage filesystem, System administration
vsellier created D4144: swh-fuse: add privileged and device options to the docker container to allow mount to work.
Oct 5 2020, 4:04 PM
vsellier added a revision to T2654: modprobe fuse on the CI build machine: D4144: swh-fuse: add privileged and device options to the docker container to allow mount to work.
Oct 5 2020, 4:04 PM · Software Heritage filesystem, System administration
vsellier added a comment to T2654: modprobe fuse on the CI build machine.

In fact after others tests, only the device and the --privileged option are necessary as runnin in privileged mode completely disable seccomp.

Oct 5 2020, 2:30 PM · Software Heritage filesystem, System administration
vsellier added a comment to T2654: modprobe fuse on the CI build machine.

I made some test locally, adding the options --privileged, --device /dev/fuse and --cap-add SYS_ADMIN is working :

Oct 5 2020, 9:48 AM · Software Heritage filesystem, System administration

Oct 2 2020

vsellier changed the status of T2654: modprobe fuse on the CI build machine from Open to Work in Progress.
Oct 2 2020, 5:06 PM · Software Heritage filesystem, System administration
vsellier changed the status of T2654: modprobe fuse on the CI build machine, a subtask of T1926: FUSE filesystem to navigate the archive, from Open to Work in Progress.
Oct 2 2020, 5:06 PM · Software Heritage filesystem
vsellier added a comment to T2620: Inventory of the swh infrastructure.

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

Oct 2 2020, 4:59 PM · System administration
vsellier updated the task description for T2620: Inventory of the swh infrastructure.
Oct 2 2020, 4:42 PM · System administration
vsellier committed rSPSITE07afbf78d9cd: netbox: fix apache configuration (authored by vsellier).
netbox: fix apache configuration
Oct 2 2020, 3:55 PM
vsellier committed rSPSITE1c11933d5629: vagrant: don't apply real environment routes (authored by vsellier).
vagrant: don't apply real environment routes
Oct 2 2020, 3:55 PM
vsellier committed rSPSITE21ef14d42b81: netbox: fix typo on certificates configuration (authored by vsellier).
netbox: fix typo on certificates configuration
Oct 2 2020, 9:32 AM

Oct 1 2020

vsellier updated the task description for T2620: Inventory of the swh infrastructure.
Oct 1 2020, 7:39 PM · System administration
vsellier committed rSPSITEe3866b5d00c8: Add netbox inventory tool support (authored by vsellier).
Add netbox inventory tool support
Oct 1 2020, 7:38 PM
vsellier closed D4025: Add netbox inventory tool support.
Oct 1 2020, 7:38 PM
vsellier committed rSPPRIVC3096c8805ca2: Add netbox passwords (authored by vsellier).
Add netbox passwords
Oct 1 2020, 7:37 PM
vsellier committed rSPPRIVC4699252ae7cb: Add vsellier's password (authored by vsellier).
Add vsellier's password
Oct 1 2020, 7:37 PM
vsellier closed D4027: Add netbox password.
Oct 1 2020, 7:37 PM