Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing Network settings from Template default doesn't apply settings during VM instantiation #5130

Closed
7 tasks
TreZc0 opened this issue Oct 14, 2020 · 5 comments
Assignees
Milestone

Comments

@TreZc0
Copy link

TreZc0 commented Oct 14, 2020

Description
In a freshly deployed ON (set up on 5.12.0.1 CE), instantiating a VM based on a template with a default network selected will cause this VM to always be created in this network, even if a different network (and IP address) was applied.

To Reproduce

  1. Create two different virtual networks
  2. Create a template with a default network
  3. Instantiate VM and change the network to use to the one not in the template. Optional: Define a custom IP address within the range of this network.

Expected behavior
The VM is created with an IP lease from the network defined during instantiation, not the default. The Force IPv4 field is taken into account and the VM is created with an virtual network interface holding the provided IP.
(Actual Behavior:) Instead, it is created within the default network of the base template. The custom IP address is not applied.

Details

  • Affected Component: Sunstone
  • Hypervisor: KVM
  • Version: 5.12.0.2

Additional context
The instance was created on 5.12.0.1 and was updated to 5.12.0.2 this morning. The issue existed on 5.12.0.1 as well. A third network was created for testing purposes, same result. Creating a separate template with the desired network and instantiating a VM off that template works for the network, but custom IP addresses are still not applied.

Progress Status

  • Branch created
  • Code committed to development branch
  • Testing - QA
  • Documentation
  • Release notes - resolved issues, compatibility, known issues
  • Code committed to upstream release/hotfix branches
  • Documentation committed to upstream release/hotfix branches
@TreZc0
Copy link
Author

TreZc0 commented Oct 14, 2020

Related? #4409
Was this ported back to 5.12.0.2?

@tinova
Copy link
Member

tinova commented Oct 14, 2020

#4409 was included 5.12.0 CE

@TreZc0
Copy link
Author

TreZc0 commented Oct 14, 2020

Not related then I imagine. It seems consistent though.

@TreZc0
Copy link
Author

TreZc0 commented Oct 19, 2020

After diving deeper, it seems the bug i found is related to this:
#5061

Any specific reason why this wasn't cherry picked for 5.12.0.3? Or was it just forgotten unfortunately?

@FrederickBor
Copy link
Contributor

Can't reproduce this issue in one-6.2 or one-5.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants