server: allow copy cross-zone templates to other zone#4804
Conversation
|
right, that has definately had some heads scratching. clgtm |
|
@blueorangutan package |
|
@shwstppr a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. [S] |
|
Packaging result: ✔️ centos7 ✖️ centos8 ✔️ debian. SL-JID 151 |
|
@blueorangutan test |
|
@shwstppr a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests [S] |
|
@blueorangutan package |
|
@Pearl1594 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔️ centos7 ✔️ centos8 ✔️ debian. SL-JID 296 |
|
@blueorangutan test |
|
@Pearl1594 a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian Build Failed (tid-308) |
|
@blueorangutan test |
|
@Pearl1594 a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
Pearl1594
left a comment
There was a problem hiding this comment.
Verified behavior. LGTM
|
Trillian test result (tid-316)
|
Description
This PR fixes the issue that cross-zone templates cannot be copied to new zone.
steps to reproduce the issue
(1) register a cross-zone template
(2) when it is done, remote it from http server
(3) create a new zone
(4) template cannot be downloaded to new zone, as it has been removed from http server
(5) copy template from first zone to new zone
Expected result: succeed
Actual result: API succeed, but nothing changed, logs: "Template 300 is cross-zone, don't need to copy"
Types of changes
Feature/Enhancement Scale or Bug Severity
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?