26 Commits

Author SHA1 Message Date
liyuanr
a8500bf39a KubeOS:fix usage does not print when an error occurs in the upgrade image creation
Fix the bug that the usage does not print
when the upgrade image has parameter errors

Signed-off-by: liyuanr <liyuanrong1@huawei.com>
(cherry picked from commit 192d36586a4533a75f4fe63e0eba8e09d5fc5dc7)
2022-12-08 17:16:28 +08:00
openeuler-ci-bot
49a6e63884
!38 [sync] PR-37: KubeOS: remove grub2 legacy install, add error handling for opstype and add entry for unit test in Makefile
From: @openeuler-sync-bot 
Reviewed-by: @duguhaotian 
Signed-off-by: @duguhaotian
2022-11-29 14:13:25 +00:00
liyuanr
b579e10e74 KubeOS: remove grub2 legacy install, add error handling for opstype and add entry for unit test in Makefile
Remove grub2 install for legacy setup to fix failure of x86
vm images building. Add the error handling of the abnormal value
of the opstype. Add an entry for unit testing in Makefile.

Signed-off-by: liyuanr <liyuanrong1@huawei.com>
(cherry picked from commit 8e409873a9e5d1157ea012bfb09b5f20b50f1d0b)
2022-11-29 21:05:59 +08:00
openeuler-ci-bot
b7f94e4802
!35 sync from branch openEuler-22.09
From: @li-yuanrong 
Reviewed-by: @duguhaotian 
Signed-off-by: @duguhaotian
2022-10-28 06:46:34 +00:00
liyuanr
f1f028839d KubeOS:add the configuration of /etc/resolv.conf and change the VM disk to gpt.
Add the user-defined /etc/resolv.conf file and change the VM disk to gpt
to be the same as that on the physical machine.

Signed-off-by: liyuanr <liyuanrong1@huawei.com>
2022-10-28 10:47:01 +08:00
liyuanr
7fb0cd2a17 KubeOS:add the clearing of space before the upgrade and rectifying the rollback failure.
The pre-upgrade space clearance function is added to resolve the problem that the upgrade
fails due to residual resources when the upgrade is performed again after a power failure.
Fix the rollback failure when the upgrade fails due to the upgrade using different architectures.

Signed-off-by: liyuanr <liyuanrong1@huawei.com>
2022-10-28 10:46:40 +08:00
liyuanr
f592a17ea5 KubeOS: fixed the issue of VMs images and add check of Global.cfg.
Modify the docker image creation method to fix the problem that /etc/hosts is
empty in the VM created using the docker image and that the /sys directory is
mounted abnormally.
Add checks whether configuration in the Global.cfg file are empty and whether
the IP address is valid.

Signed-off-by: liyuanr <liyuanrong1@huawei.com>
2022-10-28 10:46:17 +08:00
liyuanr
899a7939aa KubeOS:fix the kbimg.sh exception and pxe installation problem.
Fixed the issue of abnormal usage printing of the kbimg.sh parameter,
no verification of the -b parameter, and environment clearance in
the concurrent scenario.
Fix the problem that disks and network adapters cannot be found
due to disk and network adapter verification during PXE installation.
Fix the problem that os-proxy does not transfer imagetype and dockerimage
to the os-agent.

Signed-off-by: liyuanr <liyuanrong1@huawei.com>
2022-10-28 10:45:55 +08:00
liyuanr
018752e5ea KubeOS:update to 1.0.2-2
Update version to 1.0.2-2

Signed-off-by: liyuanr <liyuanrong1@huawei.com>
2022-10-28 10:44:58 +08:00
liyuanr
81a2b3bd71 KubeOS:update to 1.0.1-8
update version to 1.0.1-8 to stay in sync with 22.03-LTS

Signed-off-by: liyuanr <liyuanrong1@huawei.com>
2022-10-28 10:44:36 +08:00
openeuler-ci-bot
c854c3184a
!24 fix the problem that the ARM architecture is not built by synchronizing code from 20.03-LTS-SP3
From: @li-yuanrong 
Reviewed-by: @duguhaotian 
Signed-off-by: @duguhaotian
2022-02-18 06:32:42 +00:00
liyuanr
ac6ccd5035 KubeOS:add arm architecture support to the OS image
Signed-off-by: liyuanr <liyuanrong1@huawei.com>
(cherry picked from commit 230b157db00cd15d21ccb6edff7cd38e72bd426b)
2022-02-17 20:43:13 +08:00
linxiaoxu
4fe81715e6 change generate argument from isopath to repopath
(cherry picked from commit 34799ba67450f5ad7914574ce62db2675efda8e4)
2022-02-17 20:42:54 +08:00
openeuler-ci-bot
1b6611e447 !15 update version to v1.0.1
From: @li-yuanrong
Reviewed-by: @duguhaotian
Signed-off-by: @duguhaotian
2021-11-22 06:35:25 +00:00
liyuanr
6097205829 KubeOS:fix bugs of checks in generate.sh and change module path
Signed-off-by: liyuanr <liyuanrong1@huawei.com>
2021-11-16 08:19:06 +00:00
liyuanr
8c304e14cf update compressed package
Signed-off-by: liyuanr <liyuanrong1@huawei.com>
2021-11-02 08:31:32 +00:00
linxiaoxu
5473e6319f update version to v1.0.1 2021-11-02 08:29:40 +00:00
openeuler-ci-bot
f0aa7a3e52 !8 [sync] PR-7: change generate argument check range
From: @openeuler-sync-bot
Reviewed-by: @jianminw
Signed-off-by: @jianminw
2021-10-20 23:10:36 +00:00
linxiaoxu
bf4cf72125 change generate argument check range
(cherry picked from commit 5e5934d89ec78d6622857605ae39cf9eb82feb05)
2021-10-20 16:17:26 +08:00
openeuler-ci-bot
305f81b256 !4 update spec
From: @li-yuanrong
Reviewed-by: @yaqiangchen,@georgecao
Signed-off-by: @yaqiangchen,@georgecao
2021-09-30 15:00:07 +00:00
liyuanr
d3894cc5c0 update spec
Signed-off-by: liyuanr <liyuanrong1@huawei.com>
2021-09-30 22:41:03 +08:00
openeuler-ci-bot
058ece55b7 !2 add Arch to Spec
From: @li-yuanrong
Reviewed-by: @yaqiangchen,@georgecao
Signed-off-by: @yaqiangchen,@georgecao
2021-09-30 12:39:36 +00:00
liyuanr
e83fbd30f7 add Arch to Spec
Signed-off-by: liyuanr <liyuanrong1@huawei.com>
2021-09-30 20:28:46 +08:00
openeuler-ci-bot
1ffb396b23 !1 add spec and tar to v1.0.0 version
From: @li-yuanrong
Reviewed-by: @caihaomin
Signed-off-by: @caihaomin
2021-09-30 12:06:21 +00:00
liyuanr
e0bdb89040 add spec and tar to v1.0.0 version
Signed-off-by: liyuanr <liyuanrong1@huawei.com>
2021-09-30 19:43:09 +08:00
openeuler-ci-bot
c0aff5515e Initial commit 2021-09-30 09:17:16 +00:00