Staging instance, all changes can be removed at any time

Skip to content

Vagrantfile: Explicit the mount point should happen with rsync

Otherwise, puppet fails to mount nfs volumes (using nfs v3 badly supported with bullseye node [1]).

Related to T3833

Test Plan

Without this diff, see [1]

With it, the vm is mounted without issues:

vagrant reload dali
==> dali: Attempting graceful shutdown of VM...
==> dali: Starting domain.
==> dali: Waiting for domain to get an IP address...
==> dali: Waiting for machine to boot. This may take a few minutes...
    dali: SSH address: 192.168.121.226:22
    dali: SSH username: vagrant
    dali: SSH auth method: private key
==> dali: Machine booted and ready!
==> dali: Creating shared folders metadata...
==> dali: Exporting NFS shared folders...
==> dali: Preparing to edit /etc/exports. Administrator privileges will be required...
[sudo] password for tony:
Sorry, try again.
[sudo] password for tony:
==> dali: Mounting NFS shared folders...
==> dali: Installing rsync to the VM...
==> dali: Rsyncing folder: /tmp/puppet/environments/ => /tmp/vagrant-puppet/environments
==> dali: Rsyncing folder: /home/tony/work/inria/repo/swh/puppet-environment/swh-site/manifests/ => /tmp/vagrant-puppet/manifests-158062c63b8270a305072fe9a8eecc79
==> dali: Running provisioner: shell...
    dali: Running: /tmp/vagrant-shell20220111-598805-yiwcv.sh
    dali: + DEPLOYMENT=admin
    dali: + SUBNET=vagrant
    dali: + FACTS_D=/etc/facter/facts.d
    dali: + '[' '!' -d /etc/facter/facts.d ']'
    dali: + mkdir -p /etc/facter/facts.d
    dali: + echo deployment=admin
    dali: + echo subnet=vagrant
==> dali: Running provisioner: puppet...
==> dali: Running Puppet with environment production...
==> dali: Info: Loading facts
==> dali: Info: Loading facts
==> dali: Info: Loading facts
...

Migrated from D6920 (view on Phabricator)

Merge request reports

Loading