Skip to content

server: allow copy cross-zone templates to other zone#4804

Merged
yadvr merged 1 commit into
apache:4.15from
ustcweizhou:4.15-allow-copy-cross-zone-templates
Apr 1, 2021
Merged

server: allow copy cross-zone templates to other zone#4804
yadvr merged 1 commit into
apache:4.15from
ustcweizhou:4.15-allow-copy-cross-zone-templates

Conversation

@ustcweizhou

Copy link
Copy Markdown
Contributor

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

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

@DaanHoogland

Copy link
Copy Markdown
Contributor

right, that has definately had some heads scratching. clgtm

@shwstppr

Copy link
Copy Markdown
Contributor

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@shwstppr a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. [S]

@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔️ centos7 ✖️ centos8 ✔️ debian. SL-JID 151

@shwstppr

Copy link
Copy Markdown
Contributor

@blueorangutan test

@blueorangutan

Copy link
Copy Markdown

@shwstppr a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests [S]

@Pearl1594

Copy link
Copy Markdown
Contributor

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@Pearl1594 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔️ centos7 ✔️ centos8 ✔️ debian. SL-JID 296

@Pearl1594

Copy link
Copy Markdown
Contributor

@blueorangutan test

@blueorangutan

Copy link
Copy Markdown

@Pearl1594 a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@blueorangutan

Copy link
Copy Markdown

Trillian Build Failed (tid-308)

@Pearl1594

Copy link
Copy Markdown
Contributor

@blueorangutan test

@blueorangutan

Copy link
Copy Markdown

@Pearl1594 a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@Pearl1594 Pearl1594 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified behavior. LGTM

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-316)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 37312 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4804-t316-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_clusters.py
Intermittent failure detected: /marvin/tests/smoke/test_vm_life_cycle.py
Smoke tests completed. 84 look OK, 2 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
ContextSuite context=TestKubernetesCluster>:teardown Error 79.52 test_kubernetes_clusters.py
test_01_migrate_VM_and_root_volume Error 69.28 test_vm_life_cycle.py
test_02_migrate_VM_with_two_data_disks Error 50.19 test_vm_life_cycle.py

@yadvr yadvr merged commit 02abb87 into apache:4.15 Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants