Revert "Extract systemvm.iso using bsdtar (#3536)"#3800
Conversation
This reverts commit 8a55c93.
|
@blueorangutan package |
|
@anuragaw a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Why revert it @anuragaw - instead can we fix it to make it work? |
|
@rhtyd - This is for testing purposes for @borisstoyanov only we will close it after testing without merge once he is done. |
|
Packaging result: ✖centos6 ✔centos7 ✔debian. JID-566 |
|
@blueorangutan test |
|
@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
@rhtyd @andrijapanicsb @anuragaw @borisstoyanov I do not knw what caused it. The issue is not happening now but I have no idea how it was fixed. |
|
@weizhouapache - are you observing this issue on master on this branch with reverted commit? |
@anuragaw this issue never happened before 2019 Dec. it only happened with latest master |
|
Trillian test result (tid-744)
|
|
I don't see this and other errors with master and with this PR, the only case that I can think of this appearing is when cloudstack-common is upgraded and management restarted. let me try to find a way to test it and will get back. |
|
Confirmed, on upgrade the following error appears: Perhaps we'll need to fix this in a separate PR? @anuragaw @andrijapanicsb |
|
@cl-k-takahashi we will have to revert the original PR #3536 , since it causes failures in the during upgrades. Please test by having i.e. 4.13 installation, and then upgrading to the version built from your PR. The problem seems to be in the existance (from the previous version) of "systemvm_mnt" folder, owned by root:root, so the script can't write it's files:
See below more details on the failure please: [root@trl-163-k-M7-bstoyanov-mgmt1 ~]# runuser -l cloud -c "/bin/bash /usr/share/cloudstack-common/scripts/vm/systemvm/injectkeys.sh /var/cloudstack/management/.ssh/id_rsa.pub /var/cloudstack/management/.ssh/id_rsa /usr/share/cloudstack-common/vms/systemvm.iso"
|
|
@cl-k-takahashi kindly fix this and submit a new PR, we can make it for 4.14 again. Thank you! |
|
@anuragaw @andrijapanicsb Thank you for finding out this problem and reverting the commit. |
|
The further testing show, that this error will happen only once, and on next run of the script it would be fine (since the same folder /var/cloudstack/management/systemvm_mnt is removed at the end of the script) |
This reverts commit 8a55c93.
This reverts commit 8a55c93.
This reverts commit 8a55c93.
Description
Types of changes
Screenshots (if appropriate):
How Has This Been Tested?