Conversation
|
@DaanHoogland a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
|
UI build: ✔️ |
Codecov Report
@@ Coverage Diff @@
## 4.18 #7739 +/- ##
=========================================
Coverage 13.02% 13.02%
- Complexity 9026 9027 +1
=========================================
Files 2719 2719
Lines 256867 256867
Branches 40051 40051
=========================================
+ Hits 33445 33447 +2
Misses 219233 219233
+ Partials 4189 4187 -2 see 6 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
@DaanHoogland Shouldn't we also fix the api call as well? In my view, those templates shouldn't be visible in the front end at all. |
No, i don´t see why @soreana. The user has rights to see those templates, it is just that these are not applicable for restoring the VM. |
|
So
Yeah I agree that this is a default behaviour and user can see those. My question is what would be the point of showing those templates to user while they can't use them :D |
none, that is why this PR (and why #7560 was reported) . Not sure I get your comment @soreana . to be extra clear: |
|
@blueorangutan package |
|
@kiranchavala a [SF] 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 [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 6514 |
kiranchavala
left a comment
There was a problem hiding this comment.
LGTM
Tested manually and only the zone specific templates are visible when you try to reinstall a vm
|
@weizhouapache can you review? |
|
second test verification reported at #7560 (comment) |
|
code lgtm |
* 4.18: UI: Filter templates by zone and hypervisor type when reinstall a VM (#7739) KVM: fix SSVM starting when overprovisioning memory (#7663) pom.xml: add property project.systemvm.template.location (#7706) cloudutils: fix adding rocky9 host failure due to missing /etc/sysconfig/libvirtd (#7779) server: get id from persisted object ReservationVO (#7785) search in (too) large result sets (#7766) ui: fix 404 error when list volumes of system vms (#7772) packaging: install tzdata-java on centos7/centos8 (#7768)
|
@DaanHoogland |
|
see #7792
|
Description
This PR...
Fixes: #7560
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Tested manually in the UI on and environment with two zones with different hypervisors.
An alternative way of testing could be testing in a single zone with two different hypervisor types or in two zones with the same hypervisor type. In both cases the list of available templates to choose from should be restricted to the current zone and hypervisor type. I.E. and template that is of a different hypervisortype or not available in the zone the VM is in should not be offered as a choice in the drop-down.