-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
server: update template to another template type #3945
server: update template to another template type #3945
Conversation
this contains other changes (1) add isrouting field for vm templates on UI (2) show register URL of template/iso on UI (3) set 'Bootable' field to changable for existing ISO
@weizhouapache marking for 4.14.1 |
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Packaging result: ✖centos7 ✖debian. JID-1367 |
@ustcweizhou do we want to restrict this to root admin only? |
@rhtyd
however, when I tested with normal user or domain admin, the api succeed without templatetype change.
without this change, I got following error which looks better.
|
@blueorangutan package |
@DaanHoogland a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Packaging result: ✔centos7 ✖centos8 ✔debian. JID-2213 |
@blueorangutan test |
@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
Trillian test result (tid-3017)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code looks good. there are UI changes, can you refer to a primate ticket or pr?
ping @ustcweizhou , I created apache/cloudstack-primate#835. Can you add details there? |
ping @PaulAngus @rhtyd merge this? |
I see small enhanacement/improvement, tests have passed. We probably can get away with this. |
Description
this contains other changes
(1) add isrouting field for vm templates on UI
(2) show register URL of template/iso on UI
(3) set 'Bootable' field to changable for existing ISO
Types of changes
Screenshots (if appropriate):
How Has This Been Tested?
this provides a easy way to upload systemvm template
(1) register template
(2) update template type from USER to SYSTEM
(3) destroy ssvm/cpvm, new systemvms will be created from the new template (latest template with type=SYSTEM)
(4) change global setting router.template.kvm (or other hypervisor) to the name of new template, new VRs will be created from the new template.