You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and the dhcp behaviour is used
and in the log is visible the message
Waiting for domain to get an IP address... ... INFO wait_till_up: Got IP address 192.168.121.127
and a random ip is used, 192.168.121.xxx, instead of the static ip configured
could be related to fog/fog-libvirt@97450dd and is needed a different way to configure a static ip ?
To Reproduce
Configure a private network with an ip, the vagrant instance will receive a different ip
Expected behavior
Is expected to honor the configuration with the static ip configured
instead in the log:
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::SetBootOrder:0x00007f2d5335df68>
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::StartDomain:0x00007f2d53777fe0>
INFO start_domain: Using vagrant-libvirt at 192.168.121.0/24 as the management network nat is the mode
DEBUG start_domain: In config found network type private_network options {:ip=>"192.168.121.60", :protocol=>"tcp", :id=>"541f3de1-b474-4c9a-83c4-e0c31c596af7"}
DEBUG start_domain: In config found network type forwarded_port options {:guest=>80, :host=>8080, :protocol=>"tcp", :id=>"tcp8080"}
DEBUG start_domain: In config found network type forwarded_port options {:guest=>22, :host=>2222, :host_ip=>"127.0.0.1", :id=>"ssh", :auto_correct=>true, :protocol=>"tcp"}
DEBUG start_domain: Adapter not specified so found slot 0
DEBUG start_domain: Found network by name
DEBUG start_domain: Adapter not specified so found slot 1
DEBUG start_domain: Found network by ip
....
==> prototype: Waiting for domain to get an IP address...
INFO wait_till_up: Got IP address 192.168.121.127
Screenshots
If applicable, add screenshots to help explain your problem.
Versions (please complete the following information)::
Describe the bug
A clear and concise description of what the bug is.
With
On Fedora 41 with
Vagrant Version: 2.4.3
Vagrant-libvirt (0.12.2)
libvirt 10.6.0
a configuration network in the vagrant file like this:
main_server.vm.box = "generic-x64/rhel9" main_server.vm.network "private_network", address: "192.168.121.60"
and the dhcp behaviour is used
and in the log is visible the message
Waiting for domain to get an IP address... ... INFO wait_till_up: Got IP address 192.168.121.127
and a random ip is used, 192.168.121.xxx, instead of the static ip configured
could be related to fog/fog-libvirt@97450dd and is needed a different way to configure a static ip ?
To Reproduce
Configure a private network with an ip, the vagrant instance will receive a different ip
Expected behavior
Is expected to honor the configuration with the static ip configured
instead in the log:
Screenshots
If applicable, add screenshots to help explain your problem.
Versions (please complete the following information)::
vagrant-registration (1.3.4, global)]:
Debug Log
Attach Output of
VAGRANT_LOG=debug vagrant ... --provider=libvirt >vagrant.log 2>&1
vagrant.log
A Vagrantfile to reproduce the issue:
The text was updated successfully, but these errors were encountered: