OK, I have a try, thanks!

 

 

From: Asaf Rachmani <arachman@redhat.com>
Sent: Sunday, January 17, 2021 8:01 PM
To: tommy <sz_cuitao@163.com>
Cc: oVirt development list <devel@ovirt.org>
Subject: Re: [ovirt-devel] About Update oVirt from 4.4.3 to 4.4.4 and the ovirt-node-ng-image-update rpm file.

 

 

 

On Fri, Jan 15, 2021 at 6:13 AM tommy <sz_cuitao@163.com> wrote:

Hi, everyone:

 

I meet a question when I update ovirt from 4.4.3 to 4.4.4.

 

First, I update my ovirt engine vm using yum update, the using hosted-engine reconfigure system.

 

But, then I found that others hosts (including engine vms hosts and other KVM hosts) show need update. Then I checked the yum update info, I found these hosts needs to download and install this rpm file:

 

[root@host1 ~]# yum update

Last metadata expiration check: 2:05:17 ago on Fri 15 Jan 2021 09:39:58 AM CST.

Dependencies resolved.

===============================================================================================================================================================

Package                                            Architecture                   Version                             Repository                         Size

===============================================================================================================================================================

Installing:

ovirt-node-ng-image-update                         noarch                         4.4.4-1.el8                         ovirt-4.4                         819 M

     replacing  ovirt-node-ng-image-update-placeholder.noarch 4.4.3-2.el8

 

Transaction Summary

===============================================================================================================================================================

Install  1 Package

 

Total download size: 819 M

Is this ok [y/N]: n

 

So, I just download the rpm file and unpack it, I found that it includes two files:

 

[root@oeng image]# ll

total 838416

-rw-r--r--. 1 root root 858533888 Jan 15 11:23 ovirt-node-ng-image-update-4.4.4-1.el8.squashfs.img

-rw-r--r--. 1 root root      3962 Jan 15 11:23 product.img

 

 

Then, I unpack the squashfs.img files, and mount the file, I found its a linux rootfs:

 

[root@oeng rootfs]# ll

total 92

lrwxrwxrwx.   1 root root     7 Nov  3 23:22 bin -> usr/bin

dr-xr-xr-x.   6 root root  4096 Dec 21 18:37 boot

drwxr-xr-x.   3 root root  4096 Dec 21 18:57 data

drwxr-xr-x.   2 root root  4096 Dec 21 17:42 dev

drwxr-xr-x. 131 root root 12288 Dec 21 19:00 etc

drwxr-xr-x.   2 root root  4096 Nov  3 23:22 home

lrwxrwxrwx.   1 root root     7 Nov  3 23:22 lib -> usr/lib

lrwxrwxrwx.   1 root root     9 Nov  3 23:22 lib64 -> usr/lib64

drwx------.   2 root root 16384 Dec 21 17:41 lost+found

drwxr-xr-x.   2 root root  4096 Nov  3 23:22 media

drwxr-xr-x.   2 root root  4096 Nov  3 23:22 mnt

drwxr-xr-x.   2 root root  4096 Nov  3 23:22 opt

drwxr-xr-x.   2 root root  4096 Dec 21 17:42 proc

drwxr-xr-x.   3 root root  4096 Dec 21 18:57 rhev

dr-xr-x---.   2 root root  4096 Dec 21 19:28 root

drwxr-xr-x.   2 root root  4096 Dec 21 17:42 run

lrwxrwxrwx.   1 root root     8 Nov  3 23:22 sbin -> usr/sbin

drwxr-xr-x.   2 root root  4096 Nov  3 23:22 srv

drwxr-xr-x.   2 root root  4096 Dec 21 17:42 sys

drwxrwxrwt.   2 root root  4096 Dec 21 19:00 tmp

drwxr-xr-x.  12 root root  4096 Dec 21 17:47 usr

drwxr-xr-x.  20 root root  4096 Dec 21 17:53 var

[root@oeng rootfs]#

 

 

 

But the product.img file cannot be mounted,it raese error:

 

[root@oeng image]# mount -o loop ./product.img  /mnt/product/

mount: /mnt/product: wrong fs type, bad option, bad superblock on /dev/loop1, missing codepage or helper program, or other error.

 

I feel that this rpm is for making engine vm. But I have updated my engine vm, then should I continue using yum update to update my hosts ?

 

The product.img rpm is used for ovirt-node iso.

You can update the hosts via UI or using yum update as you described.

 

 

Thanks!

 

 

 

 

 

 

 

 

_______________________________________________
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/UJI5D6EAINNMDDNQW7NW4JIG4Z4HGQ65/