Fix template registration error#4008
Conversation
|
@blueorangutan package |
|
@blueorangutan package |
|
@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos7 ✔debian. JID-1116 |
|
@blueorangutan test |
|
@nvazquez a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
@andrijapanicsb this is most definitely a merge booboo. needs to go in. |
|
yes @DaanHoogland, need to poke the author on his first master-down accomplishment :))) cc @Spaceman1984 ;) |
|
Trillian test result (tid-1345)
|
|
@andrijapanicsb I've checked into the logs for failing CKS test and it seems an intermittent issue while performing the upgrade on a k8s cluster. It fails to upgrade one of the cluster nodes in the desired time. I'm sure this has nothing to do with PR changes. |
andrijapanicsb
left a comment
There was a problem hiding this comment.
LGTM
tested manually registering vmware/xs templates (single compressed/uncompressed variations) and also KVM with both qcow2.bz2 and qcow2.
.img extension is still accepted for RAW templates only, although i.e. Canonical distributes their qcow2 images with that (weird) .img extension. We can leave this improvement for later.
|
@andrijapanicsb img extension added for qcow2 format in the last commit |
|
@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✖centos7 ✖debian. JID-1120 |
bae444b to
367d076
Compare
|
@andrijapanicsb reverted |
|
@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
the last commit reverted, so nothing to test again - previous tests are valid (we need new packages, since old ones are wiped). Merging based on 3 x LGTMs/Approvals, manual functional testing and automated regression testing (the single failing test is not related to the PR). |
|
Packaging result: ✔centos7 ✔debian. JID-1122 |
Description
After forward merge from branch 4.13 template registration fails with NPE:
The data structure for supported formats does not include
imgas a key, it is instead a value for keyraw:Types of changes
Screenshots (if appropriate):
How Has This Been Tested?
Before:
Register template -> Failure
After the fix:
Templates registered properly