Allow users to view reserved System VM IPs, if they're already allocated to user#5902
Conversation
…llocated to any user VM
…are-already-allocated-to-user
|
@blueorangutan package |
|
@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 2582 |
|
@blueorangutan test |
|
@nvazquez a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian Build Failed (tid-3307) |
|
@blueorangutan test |
|
@nvazquez a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian Build Failed (tid-3309) |
…are-already-allocated-to-user
|
@blueorangutan test |
|
@nvazquez a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-3342)
|
|
Hi @${author}, your pull request has merge conflicts. Can you fix the conflicts and sync your branch with the base branch? |
…ready-allocated-to-user'
|
@blueorangutan package |
|
@weizhouapache a Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result: ✖️ el7 ✖️ el8 ✖️ debian ✖️ suse15. SL-JID 3165 |
|
@blueorangutan package |
|
@weizhouapache a Jenkins job has been kicked to build packages. It will be bundled with SystemVM template(s). I'll keep you posted as I make progress. |
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 3170 |
|
@blueorangutan test |
|
@weizhouapache a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-3909)
|
|
@SadiJr I have made some changes to your code. see weizhouapache@18137e1
other than that, I change the global configuration to dynamic, so it is not required to restart management server when you change the value. Could you please test it ? If it works, please advise if you add the commit to your PR or I create a new PR which including all changes. |
|
@weizhouapache thanks for yours tests and your help. I will implement your suggestions and test them. If all goes well, I'll add a new commit with your changes. |
Credits to @weizhouapache, and my sincere thanks for the help.
|
I did some more tests, and everything is working good. I also checked that, with the setting as Again, thank you very much for your testing and your help. |
|
Found UI changes, kicking a new UI QA build |
|
Found Java/XML changes, kicking packaging job |
|
@acs-robot a Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
PR Coverage Report
|
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 3203 |
|
@blueorangutan test |
|
@weizhouapache a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
@SadiJr |
|
Trillian test result (tid-3929)
|
Description
The default behavior of ACS is to try to use all available public IPs, including those reserved for system VMs; by default when a public IP is reserved to System VM, they are used as preferred to be allocated to system VMs, but not restricted to these type of VMs. This behavior can be changed by changing the value of the global setting
system.vm.public.ip.reservation.mode.strictnessfrom false to true. However, if an IP reserved for system VMs is already in use for a user VR, the parameter change will make the IP to be hidden from the user, which can lead to all sorts of confusion. Therefore, this PR is intended to address these situations.Types of changes
Feature/Enhancement Scale or Bug Severity
Bug Severity
How Has This Been Tested?
It was tested in a local lab:
system.vm.public.ip.reservation.mode.strictnessas false;system.vm.public.ip.reservation.mode.strictnessto true;Also, I added new unit tests.