You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/12/12 18:19:07 UTC
[GitHub] [cloudstack] rohityadavcloud opened a new pull request, #6981: schema: Add upgrade path from 4.17.1.0 to 4.17.2.0
rohityadavcloud opened a new pull request, #6981:
URL: https://github.com/apache/cloudstack/pull/6981
This implements a blank/noop upgrade path from 4.17.1.0 to 4.17.2.0 which implements DbUpgradeSystemVmTemplate to kick the systemvm template upgrade.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] rohityadavcloud merged pull request #6981: schema: Add upgrade path from 4.17.1.0 to 4.17.2.0
Posted by GitBox <gi...@apache.org>.
rohityadavcloud merged PR #6981:
URL: https://github.com/apache/cloudstack/pull/6981
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6981: schema: Add upgrade path from 4.17.1.0 to 4.17.2.0
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6981:
URL: https://github.com/apache/cloudstack/pull/6981#issuecomment-1347073642
Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 4866
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] rohityadavcloud commented on pull request #6981: schema: Add upgrade path from 4.17.1.0 to 4.17.2.0
Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on PR #6981:
URL: https://github.com/apache/cloudstack/pull/6981#issuecomment-1347101680
@blueorangutan test
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] rohityadavcloud commented on pull request #6981: schema: Add upgrade path from 4.17.1.0 to 4.17.2.0
Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on PR #6981:
URL: https://github.com/apache/cloudstack/pull/6981#issuecomment-1347002774
I tested RC1, the DB upgrade path doesn't kick it :( I'll need to cut RC2 tomorrow and we'll need this (or something similar).
@blueorangutan package
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6981: schema: Add upgrade path from 4.17.1.0 to 4.17.2.0
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6981:
URL: https://github.com/apache/cloudstack/pull/6981#issuecomment-1347833221
<b>Trillian test result (tid-5482)</b>
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 40316 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6981-t5482-kvm-centos7.zip
Smoke tests completed. 101 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:
Test | Result | Time (s) | Test File
--- | --- | --- | ---
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] codecov[bot] commented on pull request #6981: schema: Add upgrade path from 4.17.1.0 to 4.17.2.0
Posted by GitBox <gi...@apache.org>.
codecov[bot] commented on PR #6981:
URL: https://github.com/apache/cloudstack/pull/6981#issuecomment-1347247707
# [Codecov](https://codecov.io/gh/apache/cloudstack/pull/6981?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
> Merging [#6981](https://codecov.io/gh/apache/cloudstack/pull/6981?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (e1eb6c4) into [4.17](https://codecov.io/gh/apache/cloudstack/commit/5516f74fcefa7b67fa56e1a10d78c1369993c191?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (5516f74) will **increase** coverage by `0.00%`.
> The diff coverage is `21.05%`.
```diff
@@ Coverage Diff @@
## 4.17 #6981 +/- ##
=========================================
Coverage 10.36% 10.36%
- Complexity 6629 6633 +4
=========================================
Files 2452 2453 +1
Lines 242367 242385 +18
Branches 37927 37927
=========================================
+ Hits 25123 25130 +7
- Misses 214141 214151 +10
- Partials 3103 3104 +1
```
| [Impacted Files](https://codecov.io/gh/apache/cloudstack/pull/6981?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
|---|---|---|
| [...ava/com/cloud/upgrade/dao/Upgrade41710to41720.java](https://codecov.io/gh/apache/cloudstack/pull/6981/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZW5naW5lL3NjaGVtYS9zcmMvbWFpbi9qYXZhL2NvbS9jbG91ZC91cGdyYWRlL2Rhby9VcGdyYWRlNDE3MTB0bzQxNzIwLmphdmE=) | `11.76% <11.76%> (ø)` | |
| [...java/com/cloud/upgrade/DatabaseUpgradeChecker.java](https://codecov.io/gh/apache/cloudstack/pull/6981/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZW5naW5lL3NjaGVtYS9zcmMvbWFpbi9qYXZhL2NvbS9jbG91ZC91cGdyYWRlL0RhdGFiYXNlVXBncmFkZUNoZWNrZXIuamF2YQ==) | `46.66% <100.00%> (+0.25%)` | :arrow_up: |
| [...ava/com/cloud/upgrade/dao/Upgrade41700to41710.java](https://codecov.io/gh/apache/cloudstack/pull/6981/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZW5naW5lL3NjaGVtYS9zcmMvbWFpbi9qYXZhL2NvbS9jbG91ZC91cGdyYWRlL2Rhby9VcGdyYWRlNDE3MDB0bzQxNzEwLmphdmE=) | `4.76% <100.00%> (ø)` | |
| [...dstack/network/contrail/model/ModelObjectBase.java](https://codecov.io/gh/apache/cloudstack/pull/6981/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGx1Z2lucy9uZXR3b3JrLWVsZW1lbnRzL2p1bmlwZXItY29udHJhaWwvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2Nsb3Vkc3RhY2svbmV0d29yay9jb250cmFpbC9tb2RlbC9Nb2RlbE9iamVjdEJhc2UuamF2YQ==) | `28.84% <0.00%> (+7.69%)` | :arrow_up: |
:mega: We’re building smart automated test selection to slash your CI/CD build times. [Learn more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6981: schema: Add upgrade path from 4.17.1.0 to 4.17.2.0
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6981:
URL: https://github.com/apache/cloudstack/pull/6981#issuecomment-1347105822
@rohityadavcloud a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] sonarcloud[bot] commented on pull request #6981: schema: Add upgrade path from 4.17.1.0 to 4.17.2.0
Posted by GitBox <gi...@apache.org>.
sonarcloud[bot] commented on PR #6981:
URL: https://github.com/apache/cloudstack/pull/6981#issuecomment-1347158333
SonarCloud Quality Gate failed. [![Quality Gate failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/failed-16px.png 'Quality Gate failed')](https://sonarcloud.io/dashboard?id=apache_cloudstack&pullRequest=6981)
[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6981&resolved=false&types=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6981&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6981&resolved=false&types=BUG)
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6981&resolved=false&types=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6981&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6981&resolved=false&types=VULNERABILITY)
[![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6981&resolved=false&types=SECURITY_HOTSPOT) [![E](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/E-16px.png 'E')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6981&resolved=false&types=SECURITY_HOTSPOT) [3 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6981&resolved=false&types=SECURITY_HOTSPOT)
[![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6981&resolved=false&types=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6981&resolved=false&types=CODE_SMELL) [4 Code Smells](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6981&resolved=false&types=CODE_SMELL)
[![10.8%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/0-16px.png '10.8%')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6981&metric=new_coverage&view=list) [10.8% Coverage](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6981&metric=new_coverage&view=list)
[![37.3%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/20plus-16px.png '37.3%')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6981&metric=new_duplicated_lines_density&view=list) [37.3% Duplication](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6981&metric=new_duplicated_lines_density&view=list)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] rohityadavcloud commented on pull request #6981: schema: Add upgrade path from 4.17.1.0 to 4.17.2.0
Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on PR #6981:
URL: https://github.com/apache/cloudstack/pull/6981#issuecomment-1347103686
@blueorangutan test
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] rohityadavcloud commented on pull request #6981: schema: Add upgrade path from 4.17.1.0 to 4.17.2.0
Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on PR #6981:
URL: https://github.com/apache/cloudstack/pull/6981#issuecomment-1347029150
Manually tested upgrading a 4.17.1.0 kvm env with this patch:
```
2022-12-12 23:58:24,251 INFO [c.c.u.DatabaseUpgradeChecker] (main:null) (logid:) DB version = 4.17.1.0 Code Version = 4.17.2.0
2022-12-12 23:58:24,252 INFO [c.c.u.DatabaseUpgradeChecker] (main:null) (logid:) Database upgrade must be performed from 4.17.1.0 to 4.17.2.0
2022-12-12 23:58:24,259 DEBUG [c.c.u.DatabaseUpgradeChecker] (main:null) (logid:) Running upgrade Upgrade41710to41720 to upgrade from 4.17.1.0-4.17.2.0 to 4.17.2.0
2022-12-12 23:58:24,274 INFO [c.c.u.DatabaseUpgradeChecker] (main:null) (logid:) Cleanup upgrade Upgrade41710to41720 to upgrade from 4.17.1.0-4.17.2.0 to 4.17.2.0
2022-12-12 23:58:24,289 DEBUG [c.c.u.DatabaseUpgradeChecker] (main:null) (logid:) Upgrade completed for version 4.17.2.0
2022-12-12 23:58:24,290 DEBUG [c.c.u.d.Upgrade41710to41720] (main:null) (logid:) Updating System Vm template IDs
2022-12-12 23:58:24,355 DEBUG [c.c.u.SystemVmTemplateRegistration] (main:null) (logid:) Updating System Vm template IDs
2022-12-12 23:58:24,357 DEBUG [c.c.u.SystemVmTemplateRegistration] (main:null) (logid:) Updating XenServer System Vms
2022-12-12 23:58:24,359 WARN [c.c.u.SystemVmTemplateRegistration] (main:null) (logid:) 4.17.2 XenServer SystemVm template not found. Cannot upgrade system Vms hypervisor is not used, so not failing upgrade
2022-12-12 23:58:24,370 DEBUG [c.c.u.SystemVmTemplateRegistration] (main:null) (logid:) Updating Hyperv System Vms
2022-12-12 23:58:24,372 WARN [c.c.u.SystemVmTemplateRegistration] (main:null) (logid:) 4.17.2 Hyperv SystemVm template not found. Cannot upgrade system Vms hypervisor is not used, so not failing upgrade
2022-12-12 23:58:24,374 DEBUG [c.c.u.SystemVmTemplateRegistration] (main:null) (logid:) Updating Ovm3 System Vms
2022-12-12 23:58:24,375 WARN [c.c.u.SystemVmTemplateRegistration] (main:null) (logid:) 4.17.2 Ovm3 SystemVm template not found. Cannot upgrade system Vms hypervisor is not used, so not failing upgrade
2022-12-12 23:58:24,379 DEBUG [c.c.u.SystemVmTemplateRegistration] (main:null) (logid:) Updating VMware System Vms
2022-12-12 23:58:24,380 WARN [c.c.u.SystemVmTemplateRegistration] (main:null) (logid:) 4.17.2 VMware SystemVm template not found. Cannot upgrade system Vms hypervisor is not used, so not failing upgrade
2022-12-12 23:58:24,387 DEBUG [c.c.u.SystemVmTemplateRegistration] (main:null) (logid:) Updating LXC System Vms
2022-12-12 23:58:24,388 WARN [c.c.u.SystemVmTemplateRegistration] (main:null) (logid:) 4.17.2 LXC SystemVm template not found. Cannot upgrade system Vms hypervisor is not used, so not failing upgrade
2022-12-12 23:58:24,392 DEBUG [c.c.u.SystemVmTemplateRegistration] (main:null) (logid:) Updating KVM System Vms
2022-12-12 23:58:24,394 INFO [c.c.u.SystemVmTemplateRegistration] (main:null) (logid:) Grabbing lock to register templates.
2022-12-12 23:58:25,943 DEBUG [c.c.u.s.Script] (main:null) (logid:) Executing: /bin/bash -c sudo mount -t nfs 192.168.1.10:/export/cloudstack/secondary /tmp/tmp8410995799525833327
2022-12-12 23:58:25,945 DEBUG [c.c.u.s.Script] (main:null) (logid:) Executing while with timeout : 3600000
2022-12-12 23:58:26,007 DEBUG [c.c.u.s.Script] (main:null) (logid:) Execution is successful.
2022-12-12 23:58:26,056 DEBUG [c.c.u.s.Script] (main:null) (logid:) Looking for setup-sysvm-tmplt in the classpath
2022-12-12 23:58:26,056 DEBUG [c.c.u.s.Script] (main:null) (logid:) System resource: null
2022-12-12 23:58:26,057 DEBUG [c.c.u.s.Script] (main:null) (logid:) Classpath resource: file:/usr/share/cloudstack-common/scripts/storage/secondary/setup-sysvm-tmplt
2022-12-12 23:58:26,057 DEBUG [c.c.u.s.Script] (main:null) (logid:) Absolute path = /usr/share/cloudstack-common/scripts/storage/secondary/setup-sysvm-tmplt
2022-12-12 23:58:26,057 DEBUG [c.c.u.SystemVmTemplateRegistration] (main:null) (logid:) Executing: /usr/share/cloudstack-common/scripts/storage/secondary/setup-sysvm-tmplt -u 00dcf0ed-00f4-448f-a5b9-8dec5fd7e122 -f /usr/share/cloudstack-management/templates/systemvm/systemvmtemplate-4.17.2-kvm.qcow2.bz2 -h kvm -d /tmp/tmp8410995799525833327/template/tmpl/1/218
2022-12-12 23:58:26,058 DEBUG [c.c.u.SystemVmTemplateRegistration] (main:null) (logid:) Executing while with timeout : 1800000
2022-12-12 23:58:50,470 DEBUG [c.c.u.SystemVmTemplateRegistration] (main:null) (logid:) Execution is successful.
2022-12-12 23:58:50,473 DEBUG [c.c.u.SystemVmTemplateRegistration] (main:null) (logid:) + [[ ! -u 00dcf0ed-00f4-448f-a5b9-8dec5fd7e122 -f /usr/share/cloudstack-management/templates/systemvm/systemvmtemplate-4.17.2-kvm.qcow2.bz2 -h kvm -d /tmp/tmp8410995799525833327/template/tmpl/1/218 =~ ^-.+ ]]
+ OPTERR=0
+ DISKSPACE=2120000
+ getopts h:f:d:u::# OPTION
+ case $OPTION in
+ uflag=1
+ uuid=00dcf0ed-00f4-448f-a5b9-8dec5fd7e122
+ getopts h:f:d:u::# OPTION
+ case $OPTION in
+ fflag=1
+ tmpltimg=/usr/share/cloudstack-management/templates/systemvm/systemvmtemplate-4.17.2-kvm.qcow2.bz2
+ getopts h:f:d:u::# OPTION
+ case $OPTION in
+ hyper=kvm
+ getopts h:f:d:u::# OPTION
+ case $OPTION in
+ destdir=/tmp/tmp8410995799525833327/template/tmpl/1/218
+ getopts h:f:d:u::# OPTION
+ [[ kvm == \k\v\m ]]
+ ext=qcow2
++ which qemu-img
+ qemuimgcmd=/usr/bin/qemu-img
+ localfile=00dcf0ed-00f4-448f-a5b9-8dec5fd7e122.qcow2
+ sudo mkdir -p /tmp/tmp8410995799525833327/template/tmpl/1/218
+ [[ 0 -ne 0 ]]
+ [[ -f /tmp/tmp8410995799525833327/template/tmpl/1/218/template.properties ]]
++ find /tmp/tmp8410995799525833327/template/tmpl/1/218 -name '*.qcow2'
+ destfiles=
+ [[ '' != '' ]]
+ tmpfolder=/tmp/cloud/templates/
+ mkdir -p /tmp/cloud/templates/
+ tmplfile=/tmp/cloud/templates//00dcf0ed-00f4-448f-a5b9-8dec5fd7e122.qcow2
+ sudo touch /tmp/cloud/templates//00dcf0ed-00f4-448f-a5b9-8dec5fd7e122.qcow2
+ [[ 0 -ne 0 ]]
++ df -P /tmp/tmp8410995799525833327/template/tmpl/1/218
++ awk '{print $4}'
++ tail -1
+ destcap=451352576
+ '[' 451352576 -lt 2120000 ']'
++ df -P /tmp/cloud/templates/
++ awk '{print $4}'
++ tail -1
+ localcap=34434924
+ '[' 34434924 -lt 2120000 ']'
+ [[ 1 == \1 ]]
+ sudo cp /usr/share/cloudstack-management/templates/systemvm/systemvmtemplate-4.17.2-kvm.qcow2.bz2 /tmp/cloud/templates//00dcf0ed-00f4-448f-a5b9-8dec5fd7e122.qcow2
+ [[ 0 -ne 0 ]]
+++ dirname /usr/share/cloudstack-common/scripts/storage/secondary/setup-sysvm-tmplt
++ /usr/share/cloudstack-common/scripts/storage/secondary/createtmplt.sh -s 2 -d 'SystemVM Template ( kvm )' -n 00dcf0ed-00f4-448f-a5b9-8dec5fd7e122.qcow2 -t /tmp/tmp8410995799525833327/template/tmpl/1/218/ -f /tmp/cloud/templates//00dcf0ed-00f4-448f-a5b9-8dec5fd7e122.qcow2 -u -v -c
Uncompressing to /tmp/cloud/templates//00dcf0ed-00f4-448f-a5b9-8dec5fd7e122.qcow2.tmp (type bz2)...could take a long time
Copying to /tmp/tmp8410995799525833327/template/tmpl/1/218//00dcf0ed-00f4-448f-a5b9-8dec5fd7e122.qcow2...could take a while
+ installrslt=
+ [[ 0 -ne 0 ]]
+ tmpdestdir=/tmp/cloud/templates/
+ '[' qcow2 == ova ']'
+ rm -rf /tmp/cloud/templates//00dcf0ed-00f4-448f-a5b9-8dec5fd7e122.qcow2.tmp
+ tmpltfile=/tmp/tmp8410995799525833327/template/tmpl/1/218/00dcf0ed-00f4-448f-a5b9-8dec5fd7e122.qcow2
++ ls -l /tmp/tmp8410995799525833327/template/tmpl/1/218/00dcf0ed-00f4-448f-a5b9-8dec5fd7e122.qcow2
++ awk '-F ' '{print $5}'
+ tmpltsize=461307904
+ [[ qcow2 == \q\c\o\w\2 ]]
++ /usr/bin/qemu-img info /tmp/tmp8410995799525833327/template/tmpl/1/218/00dcf0ed-00f4-448f-a5b9-8dec5fd7e122.qcow2
++ grep -i 'virtual size'
++ sed -ne 's/.*(\([0-9]*\).*/\1/p'
++ xargs
+ vrtmpltsize=5242880000
+ templateId=218
+ sudo touch /tmp/tmp8410995799525833327/template/tmpl/1/218/template.properties
+ echo qcow2=true
+ echo id=218
+ echo public=true
+ echo qcow2.filename=00dcf0ed-00f4-448f-a5b9-8dec5fd7e122.qcow2
+ echo uniquename=routing-218
+ echo qcow2.virtualsize=5242880000
+ echo virtualsize=5242880000
+ echo qcow2.size=461307904
+ sudo cp /tmp/cloud/templates//template.properties /tmp/tmp8410995799525833327/template/tmpl/1/218/template.properties
+ '[' -f /tmp/cloud/templates//template.properties ']'
+ rm -rf /tmp/cloud/templates//template.properties
+ echo 'Successfully installed system VM template /usr/share/cloudstack-management/templates/systemvm/systemvmtemplate-4.17.2-kvm.qcow2.bz2 and template.properties to /tmp/tmp8410995799525833327/template/tmpl/1/218'
Successfully installed system VM template /usr/share/cloudstack-management/templates/systemvm/systemvmtemplate-4.17.2-kvm.qcow2.bz2 and template.properties to /tmp/tmp8410995799525833327/template/tmpl/1/218
+ exit 0
2022-12-12 23:58:50,490 INFO [c.c.u.SystemVmTemplateRegistration] (main:null) (logid:) Unmounting store
2022-12-12 23:58:50,491 DEBUG [c.c.u.s.Script] (main:null) (logid:) Executing: /bin/bash -c sudo umount /tmp/tmp8410995799525833327
2022-12-12 23:58:50,493 DEBUG [c.c.u.s.Script] (main:null) (logid:) Executing while with timeout : 3600000
2022-12-12 23:58:50,569 DEBUG [c.c.u.s.Script] (main:null) (logid:) Execution is successful.
2022-12-12 23:58:50,571 DEBUG [c.c.u.SystemVmTemplateRegistration] (main:null) (logid:) Updating System Vm Template IDs Complete
2
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6981: schema: Add upgrade path from 4.17.1.0 to 4.17.2.0
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6981:
URL: https://github.com/apache/cloudstack/pull/6981#issuecomment-1347005779
@rohityadavcloud a Jenkins job has been kicked to build packages. It will be bundled with SystemVM template(s). I'll keep you posted as I make progress.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org