GabrielBrascher opened a new issue #5616:
URL: https://github.com/apache/cloudstack/issues/5616
<!--
Verify first that your issue/request is not already reported on GitHub.
Also test if the latest release and main branch are affected too.
Always add information AFTER of these HTML comments, but no need to delete
the comments.
-->
##### ISSUE TYPE
<!-- Pick one below and delete the rest -->
* Bug Report
##### COMPONENT NAME
<!--
Categorize the issue, e.g. API, VR, VPN, UI, etc.
-->
~~~
API
~~~
##### CLOUDSTACK VERSION
<!--
New line separated list of affected versions, commit ID for issues on main
branch.
-->
~~~
It looks to be an old issue, but it was found and reproduced on 4.15.X,
4.16.X
~~~
##### CONFIGURATION
<!--
Information about the configuration if relevant, e.g. basic network,
advanced networking, etc. N/A otherwise
-->
- KVM
- Advanced Networking
- Security groups enabled
- Shared network with IPv6 address
##### OS / ENVIRONMENT
<!--
Information about the environment if relevant, N/A otherwise
-->
N/A
##### SUMMARY
<!-- Explain the problem/feature briefly -->
When assigning a VM to another user the VM's IPv6 address changed, even when
staying in the same network. This leads to undesirable changes for the user.
The IPv6 is changed due to the VM's NIC is being removed and replaced by a
new one.
By replacing the NIC, the MAC address of the replaced NIC is different, and
therefore the NIC's IPv6 address also changes.
This looks like a bug, considering that the VMs stays in the same
network/security group.
Note that the IPv4 address stays the same, and there is no reasonable
explanation to change the IPv6 address when assigning the VM to another user.
##### STEPS TO REPRODUCE
<!--
For bugs, show exactly how to reproduce the problem, using a minimal
test-case. Use Screenshots if accurate.
For new features, show how the feature would be used.
-->
<!-- Paste example playbooks or commands between quotes below -->
Example when using CloudMonkey API syntax:
~~~
assign virtualmachine virtualmachineid=<vmID> account=name domainid=<domID>
networkids=<netID> securitygroupids=<sgID>
~~~
<!-- You can also paste gist.github.com links for larger files -->
##### EXPECTED RESULTS
<!-- What did you expect to happen when running the steps above? -->
~~~
VM assigned to a different account/domain but remains with the same IP
addresses as it stays assigned to the same guest/shared network than it was
before.
~~~
##### ACTUAL RESULTS
<!-- What actually happened? -->
<!-- Paste verbatim command output between quotes below -->
~~~
NIC is deleted, a new one is created, and the VM IPv6 address is changed.
~~~
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]