machine_action_provision
hook and Vagrant::Action::Builtin::Provision
action after
Triggers run before provisioning
#13468
Labels
TLDR:
machine_action_provision
after
hook andVagrant::Action::Builtin::Provision
after
action triggers run before provisioning (butprovisioner_run
hook works as intended).Note: I apologize if this is actually two issues... I did some code diving and I think it might be the same issue. I suspect a missing lock or the provisioning process being spawned incorrectly. I'd be more than interested in helping get the PR up for it, but I need someone who is familiar with the code base to confirm the issue and the location.
Debug output
vagrant up
vagrant provision
vagrant up --debug
vagrant provision --debug
Expected behavior
vagrant up
should execute triggers/provisioning in the following order:Vagrant::Action::Builtin::Provision
Vagrant::Action::Builtin::Provision
vagrant provision
should execute triggers/provisioning in the following order:machine_actiton_provision
Vagrant::Action::Builtin::Provision
Vagrant::Action::Builtin::Provision
machine_actiton_provision
Actual behavior
vagrant up
executes before AND after triggers before provisioning:Vagrant::Action::Builtin::Provision
Vagrant::Action::Builtin::Provision
vagrant provision
executes before AND after triggers before provisioning:machine_actiton_provision
Vagrant::Action::Builtin::Provision
Vagrant::Action::Builtin::Provision
machine_actiton_provision
Reproduction information
Vagrant version
Host operating system
EndeavourOS (rolling, up to date)
Guest operating system
debian/bookworm64
Steps to reproduce
vagrant up
(Replicates: AfterVagrant::Action::Builtin::Provision
action trigger issue)vagrant provision
(Replicates: Aftermachine_action_provision
hook andVagrant::Action::Builtin::Provision
action trigger issue)Vagrantfile
The text was updated successfully, but these errors were encountered: