GithubHelp home page GithubHelp logo

ovirt / ovirt-node-ng-image Goto Github PK

View Code? Open in Web Editor NEW
18.0 15.0 12.0 206 KB

The source for oVirt Node NG installer ISO and RPM image

License: GNU General Public License v2.0

Makefile 10.27% Shell 74.91% M4 5.47% Python 3.80% Jinja 5.55%
releng distribution hypervisor virtualization ovirt

ovirt-node-ng-image's Introduction

oVirt Node NG Image

Welcome to the oVirt oVirt Node NG Image source repository. This repository is hosted on GitHub:oVirt Node NG Image.

oVirt Node NG is a minimal operating system based on CentOS Stream (but can be based on any derivative) that is designed to provide a simple method for setting up a physical machine to act as a hypervisor in an oVirt environment. The minimal operating system contains only the packages required for the machine to act as a hypervisor and features a Cockpit user interface for monitoring the host and performing administrative tasks.

Due to this minimalistic approach, oVirt Node NG is not recommended if you need to customize the configuration of your virtualization hosts with multiple additional packages or third party software.

Built images of oVirt Node NG are available on oVirt website

How to contribute

All contributions are welcome - patches, bug reports, and documentation issues.

You can find more details about how to develop and build oVirt Node NG in Development documentation.

Submitting patches

Please submit patches to GitHub:oVirt Node NG Image. If you are not familiar with the process, you can read about collaborating with pull requests on the GitHub website.

Found a bug or documentation issue?

To submit a bug or suggest an enhancement for oVirt Node NG Image please use oVirt Bugzilla.

If you don't have a Bugzilla account, you can still report issues. If you find a documentation issue on the oVirt website, please navigate to the page footer and click "Report an issue on GitHub".

Still need help?

If you have any other questions or suggestions, you can join and contact us on the oVirt Users forum / mailing list.

ovirt-node-ng-image's People

Contributors

arachmani avatar didib avatar eedri avatar lveyde avatar michalskrivanek avatar sandrobonazzola avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ovirt-node-ng-image's Issues

/var/lib/nfs/rpc_pipefs mounted during initram boot before pivotroot - ovirt 4.5.3.1

I need to publish a part of filesystem in a ovirt-4.5.3.1 node to the other nodes via NFS so I use nfs-server service to accomplish.
I noticed that since some version, idmapd daemon didn't came up because /var/lib/nfs/rpc_pipefs/nfsd not found
In effect the virtual fs seem to be mounted:
[root@ovirt-node3 rpc_pipefs]# mount | grep rpc_pipe
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)

[root@ovirt-node3 rpc_pipefs]# systemctl status var-lib-nfs-rpc_pipefs.mount
● var-lib-nfs-rpc_pipefs.mount - RPC Pipe File System
Loaded: loaded (/proc/self/mountinfo; static; vendor preset: disabled)
Active: active (mounted)
Where: /var/lib/nfs/rpc_pipefs
What: rpc_pipefs
Tasks: 0 (limit: 820134)
Memory: 0B
CGroup: /system.slice/var-lib-nfs-rpc_pipefs.mount

Oct 25 16:45:16 localhost systemd[1]: var-lib-nfs-rpc_pipefs.mount: Succeeded.

but if I try to unmount it:
[root@ovirt-node3 rpc_pipefs]# umount /var/lib/nfs/rpc_pipefs
umount: /var/lib/nfs/rpc_pipefs: not mounted.

This is the symptom of the issue.
I restarted the node bringing it in emergency shell with "rb.break" parameter:
in the shell:
mount | grep rpc_pipe
sunrpc on /sysroot/var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)

this is the issue

The (manual) solution I found is to:

  1. step into emergency shell
  2. umount /sysroot/var/lib/nfs/rpc_pipefs
  3. continue the boot

This solve the issue, but this is not viable in a production environment

Dell R710 on oVirt 4.5.4 el8 Crashes Network

Describe the bug
On oVirt Node 4.5.4 el8 installed on a Dell R710 on a separate drive from the PERC controller, disabled, and on the PERC controller with elrepo driver, after hosted engine is deployed. Upon starting a VM with network attached to ovirtmgmt bridge or restarting a VM the network completely locks up to the point iDRAC IP isn't pingable. Error produced below over and over until it restarts.

dracut-initqueue[xxxx]: cat: /sys/class/net/bonding_masters/ifindex: Not a directory

To reproduce
Install on Dell R710.
Deploy Hosted-Engine
Try to install Ubuntu or Windows VM and intermittently during startup/reboot/just running the network will lockup.
Changing the profile to empty allows it to work. I added it back to the Ubuntu VM while running and it caused it to immediately crash at reboot.

Expected behavior
The expected behaviour should be that the networking should not cause the entire R710 to be completely inaccessible with iDRAC even unable to be pinged or accessed.

Screenshots
Screenshot of the error from the display.
oVirt Crash

Additional context
Tried with builtin network card "Broadcom Inc. and subsidiaries NetXtreme II BCM5709 Gigabit Ethernet (PowerEdge R710 BCM5709 Gigabit Ethernet) bnx2" as the bridged ovirtmgmt and tried a whole new install with the Broadcom disabled in oVirt Node cockpit and used the PCI network card "Intel Corporation 82576 Gigabit Network Connection (Gigabit ET Dual Port Server Adapter) igb', which has the same issue.

I also tried creating a separate network bridge tied to the other Intel port on the Dual Port card and that causes the same error.

The only way it boots without some of the above issues is by setting the network to empty or being just lucky at that boot time as it doesn't happen every time, but happens often enough I cannot rely on the VMs to work.

imgbased dependency causes upgrade issues

Describe the bug
Due to commit 14f48fd#diff-3f9a3ce4da7091038e7c311b59edcfb4a38e0fe8015590d79d345dd1d5aabfacL18

A newer version of imgbased is required. But this causes issues when upgrading from 4.4.X versions.

To reproduce
Have a ovirt-node running 4.4.10 for example. And then upgrade it:
Error:
Problem: package ovirt-node-ng-image-update-4.5.0.2-1.el8.noarch requires imgbased >= 1.2.24, but none of the providers can be installed

  • cannot install the best update candidate for package ovirt-node-ng-image-update-4.4.10.2-1.el8.noarch
  • package imgbased-1.2.24-1.el8.noarch is filtered out by exclude filtering

Expected behavior
The imgbased version is already in the update package, so no need for a dependency so upgrade works fine? :)

el9 build failure due to missing packages

Describe the bug
Building for el9 fails with:

16:56:00,737 INFO anaconda:program: No match for argument: ovirt-release-host-node
16:56:00,737 INFO anaconda:program: No match for argument: ovirt-node-ng-image-update-placeholder
16:56:00,737 INFO anaconda:program: Error: Unable to find a match: ovirt-release-host-node ovirt-node-ng-image-update-placeholder

Build oVirt Node 9 based on AlmaLinux OS 9

Hey oVirt Team,

Since you are considering producing oVirt Node builds based on a more stable distribution than CentOS Stream 9. As a member of the AlmaLinux OS Virt SIG, I'd like to add another option to this decision:

The AlmaLinux OS 9.0 Beta 1 is available with its cloud images from 18th April 2022. We also expect the 9.0 stable in a couple of days. As AlmaLinux OS Virt SIG, we would love and be honoured to help.

Build oVirt Node 9 based on Rocky Linux

While we are introducing support to RHEL 9.0 for oVirt hosts we are considering to produce oVirt Node builds based on a more stable distribution than CentOS Stream 9. Rocky Linux Virt SIG agreed helping on this.

imgbased:init fails on CentOS Stream 9 check-iso setup test

Describe the bug
check-iso test fails due to:

Namespace(command='layout', debug=True, experimental=False, stream='Image', free_space=False, bases=False, layers=False, init=True, init_nvr=None, size=None, source='/', units='m')
2022-03-07 15:08:32,162 [INFO] (MainThread) Trying to create a manageable base from '/'
2022-03-07 15:08:32,162 [DEBUG] (MainThread) Trying to find LV for: /
2022-03-07 15:08:32,162 [DEBUG] (MainThread) Calling: (['findmnt', '-no', 'SOURCE', '/'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:32,165 [DEBUG] (MainThread) Returned: b'/dev/mapper/onn_node--iso--8042-root'
2022-03-07 15:08:32,165 [DEBUG] (MainThread) Calling: (['lvs', '--noheadings', '--ignoreskippedcluster', '-ovg_name,lv_name', '/dev/mapper/onn_node--iso--8042-root'],) {'stderr': <_io.TextIOWrapper name='/dev/null' mode='w'encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:32,199 [DEBUG] (MainThread) Returned: b'onn_node-iso-8042 root'
2022-03-07 15:08:32,199 [DEBUG] (MainThread) Found LV for path /dev/mapper/onn_node--iso--8042-root: onn_node-iso-8042 root
2022-03-07 15:08:32,199 [DEBUG] (MainThread) Calling: (['vgs', '--noheadings', '--ignoreskippedcluster', '-ovg_tags', 'onn_node-iso-8042'],) {'stderr': <_io.TextIOWrapper name='/dev/null' mode='w' encoding='UTF-8'>, 'close_fds': imgbased:init || lv_tags = imgbased:base || lv_tags = imgbased:layer || lv_tags = imgbased:volume'],) {'stderr': <_io.TextIOWrapper name='/dev/null' mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:32,291 [DEBUG] (MainThread) All LV names: []
2022-03-07 15:08:32,291 [DEBUG] (MainThread) All LVS: []
2022-03-07 15:08:32,291 [DEBUG] (MainThread) Tagging LV: <LV 'onn_node-iso-8042/root' />
2022-03-07 15:08:32,291 [DEBUG] (MainThread) Calling: (['lvchange', '--addtag', 'imgbased:init', 'onn_node-iso-8042/root'],) {'stderr': <_io.TextIOWrapper name='/dev/null' mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:32,334 [DEBUG] (MainThread) Returned: b'Logical volume onn_node-iso-8042/root changed.'
2022-03-07 15:08:32,335 [DEBUG] (MainThread) Tagging VG: <VG 'onn_node-iso-8042' />
2022-03-07 15:08:32,335 [DEBUG] (MainThread) Calling: (['vgchange', '--addtag', 'imgbased:vg', 'onn_node-iso-8042'],) {'stderr': <_io.TextIOWrapper name='/dev/null' mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:32,363 [DEBUG] (MainThread) Returned: b'Volume group "onn_node-iso-8042" successfully changed'
2022-03-07 15:08:32,364 [DEBUG] (MainThread) Calling: (['lvs', '--noheadings', '--ignoreskippedcluster', '-opool_lv', 'onn_node-iso-8042/root'],) {'stderr': name='/dev/null' mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:32,431 [DEBUG] (MainThread) Returned: b'Logical volume onn_node-iso-8042/pool00 changed.'
2022-03-07 15:08:32,432 [INFO] (MainThread) Initial base will be <Base ovirt- node-ng-4.5.0-0.20220307.0 [] />
2022-03-07 15:08:32,432 [DEBUG] (MainThread) Finding next layer based on <Base ovirt-node-ng-4.5.0-0.20220307.0 [] />
2022-03-07 15:08:32,432 [DEBUG] (MainThread) Suggesting for layer for base ovirt-node-ng-4.5.0-0.20220307.0
2022-03-07 15:08:32,432 [DEBUG] (MainThread) ... without layers
2022-03-07 15:08:32,432 [INFO] (MainThread) Initial layer will be <Layer ovirt-node-ng-4.5.0-0.20220307.0+1 />
2022-03-07 15:08:32,432 [INFO] (MainThread) Creating an initial base <Base ovirt-node-ng-4.5.0-0.20220307.0 [] /> for <LV 'onn_node-iso-8042/root' />
2022-03-07 15:08:32,432 [DEBUG] (MainThread) Calling: (['lvchange', '--activate', 'y', 'onn_node-iso-8042/root', '--ignoreactivationskip'],) {'stderr':<_io.TextIOWrapper name='/dev/null' mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:32,463 [DEBUG] (MainThread) Calling: (['lvcreate', '--snapshot', '--name', 'ovirt-node-ng-4.5.0-0.20220307.0', 'onn_node-iso-8042/root'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:32,570 [DEBUG] (MainThread) Calling: (['lvchange', '--activate', 'y', 'onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0', '--ignoreactivationskip'],) {'stderr': <_io.TextIOWrapper name='/dev/null' mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:32,660 [DEBUG] (MainThread) Calling: (['lvchange', '--addtag', 'imgbased:layer', 'onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0'],) {'stderr': <_io.TextIOWrapper name='/dev/null' mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:32,707 [DEBUG] (MainThread) Returned: b'Logical volume onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0 changed.'
2022-03-07 15:08:32,708 [DEBUG] (MainThread) Calling: (['lvs', '--noheadings', '--ignoreskippedcluster', '-olv_path', 'onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0'],) {'stderr': <_io.TextIOWrapper name='/dev/null' mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:32,741 [DEBUG] (MainThread) Returned: b'/dev/onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0'
2022-03-07 15:08:32,747 [DEBUG] (MainThread) Calling: (['mktemp', '-d', '--tmpdir', 'mnt.XXXXX'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:32,750 [DEBUG] (MainThread) Returned: b'/tmp/mnt.Rbx0m'
2022-03-07 15:08:32,750 [DEBUG] (MainThread) Calling: (['mount', '-onouuid', '/dev/onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0', '/tmp/mnt.Rbx0m'],)
2022-03-07 15:08:32,844 [DEBUG] (MainThread) Calling: (['xfs_admin', '-U', 'generate', '/dev/onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0'],) {'stderr': -2, 'close_fds': True}
2022-03-07 15:08:32,907 [DEBUG] (MainThread) Calling: (['lvchange', '--setactivationskip', 'y', 'onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0'],) {'stderr': <_io.TextIOWrapper name='/dev/null' mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:32,958 [DEBUG] (MainThread) Returned: b'Logical volume onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0 changed.'
2022-03-07 15:08:32,958 [DEBUG] (MainThread) Failed to set activationskip on
prev_lv
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/imgbased/naming.py", line 278, in parse

    nvrtuple = re.match("^(^.*)-([^-]*)-([^-]*)$", nvr).groups()
AttributeError: 'NoneType' object has no attribute 'groups'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/imgbased/imgbase.py", line 248, in return Base(nvr)
  File "/usr/lib/python3.9/site-packages/imgbased/naming.py", line 402, in __init__
    self.nvr = NVR.parse(nvr)  # For convenience: Parse if necessary
  File "/usr/lib/python3.9/site-packages/imgbased/naming.py", line 280, in parse
    raise RuntimeError("Failed to parse NVR: %s" % nvr)
RuntimeError: Failed to parse NVR: root
2022-03-07 15:08:32,959 [INFO] (MainThread) Creating initial layer <Layer ovirt-
node-ng-4.5.0-0.20220307.0+1 /> for initial base
2022-03-07 15:08:32,959 [INFO] (MainThread) Adding a new layer after <Base
ovirt-node-ng-4.5.0-0.20220307.0 [] />
2022-03-07 15:08:32,959 [INFO] (MainThread) Adding a new layer after <Base
ovirt-node-ng-4.5.0-0.20220307.0 [] />
2022-03-07 15:08:32,959 [DEBUG] (MainThread) Basing new layer on previous: <Base
ovirt-node-ng-4.5.0-0.20220307.0 [] />
2022-03-07 15:08:32,959 [INFO] (MainThread) New layer will be: <Layer ovirt-
node-ng-4.5.0-0.20220307.0+1 />
2022-03-07 15:08:32,959 [DEBUG] (MainThread) Calling: (['vgs', '--noheadings', '--ignoreskippedcluster', '--select', 'vg_tags = imgbased:vg', '-o', 'vg_name'],) {'stderr': <_io.TextIOWrapper name='/dev/null' mode='w' encoding='UTF-8'>, iso-8042/pool00'
2022-03-07 15:08:33,029 [DEBUG] (MainThread) Calling: (['lvs', '--noheadings', '--ignoreskippedcluster', '--nosuffix', '--units', 'm', '-o', 'metadata_percent,lv_metadata_size', 'onn_node-iso-8042/pool00'],) {'stderr': <_io.TextIOWrapper name='/dev/null' mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:33,058 [DEBUG] (MainThread) Returned: b'12.21  52.00'
2022-03-07 15:08:33,058 [DEBUG] (MainThread) Pool: onn_node-iso-8042/pool00, metadata size=52.0M (12.21%)
2022-03-07 15:08:33,058 [DEBUG] (MainThread) Calling: (['vgs', '--noheading', '--ignoreskippedcluster', '--nosuffix', '-o', 'free', '--units', 'm', 'onn_node-iso-8042'],) {'stderr': <_io.TextIOWrapper name='/dev/null' mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:33,089 [DEBUG] (MainThread) Returned: b'13160.00'
2022-03-07 15:08:33,089 [DEBUG] (MainThread) Calling: (['lvextend', '--poolmetadatasize', '+972.0m', 'onn_node-iso-8042/pool00'],) {'stderr': <_io.TextIOWrapper name='/dev/null' mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:33,217 [DEBUG] (MainThread) Returned: b'Size of logical volume onn_node-iso-8042/pool00_tmeta changed from 52.00 MiB (13 extents) to 1.00 GiB (256 extents).\n  WARNING: You have not turned on protection against thin pools 2022-03-07 15:08:33,247 [DEBUG] (MainThread) Calling: (['lvcreate', '--snapshot', '--name', 'ovirt-node-ng-4.5.0-0.20220307.0+1', 'onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:33,323 [DEBUG] (MainThread) Returned: b'WARNING: Sum of all thin volume sizes (<72.99 GiB) exceeds the size of thin pool onn_node-iso-8042/pool00 and the size of whole volume group (<64.00 GiB).\n  WARNING: You have not turned on protection against thin pools running out of space.\n WARNING: Set activation/thin_pool_autoextend_threshold below 100 to trigger automatic extension of thin pools before they get full.\n  Logical volume "ovirt-node-ng-4.5.0-0.20220307.0+1" created.'
2022-03-07 15:08:33,323 [DEBUG] (MainThread) Calling: (['lvchange', '--activate', 'y', 'onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1', '--ignoreactivationskip'],) {'stderr': <_io.TextIOWrapper name='/dev/null' mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:33,411 [DEBUG] (MainThread) Calling: (['lvchange', '--addtag', 'imgbased:layer', 'onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1'],) {'stderr': <_io.TextIOWrapper name='/dev/null' mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:33,461 [DEBUG] (MainThread) Returned: b'Logical volume onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1 changed.'
2022-03-07 15:08:33,462 [DEBUG] (MainThread) Calling: (['lvs', '--noheadings', '
2022-03-07 15:08:33,505 [DEBUG] (MainThread) Returned: b'/tmp/mnt.nQKQg'
2022-03-07 15:08:33,506 [DEBUG] (MainThread) Calling: (['mount', '-onouuid', '/dev/onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1', '/tmp/mnt.nQKQg'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:33,563 [DEBUG] (MainThread) Calling: (['umount', '-l', '/tmp/mnt.nQKQg'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:33,579 [DEBUG] (MainThread) Calling: (['rmdir', '/tmp/mnt.nQKQg'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:33,581 [DEBUG] (MainThread) Running: ['xfs_admin', '-U', 'generate', '/dev/onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1']
2022-03-07 15:08:33,581 [DEBUG] (MainThread) Calling: (['xfs_admin', '-U', 'generate', '/dev/onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1'],) {'stderr': -2, 'close_fds': True}
2022-03-07 15:08:33,645 [DEBUG] (MainThread) Calling: (['lvchange', '--setactivationskip', 'n', 'onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1'],) {'stderr': <_io.TextIOWrapper name='/dev/null' mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:33,701 [DEBUG] (MainThread) Returned: b'Logical volume onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1 changed.'
2022-03-07 15:08:33,702 [DEBUG] (MainThread) Calling: (['lvchange', '--
setactivationskip', 'y', 'onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0'],)
2022-03-07 15:08:33,758 [DEBUG] (MainThread) Calling: (['mount', '--make-
rprivate', '/var'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:33,762 [DEBUG] (MainThread) Calling: (['systemctl', 'is-
active', 'vdsmd'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:33,766 [DEBUG] (MainThread) Returned: b"Running in chroot,
ignoring command 'is-active'"
2022-03-07 15:08:33,766 [DEBUG] (MainThread) Calling: (['systemctl', 'stop',
'vdsmd'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:33,771 [DEBUG] (MainThread) Returned: b"Running in chroot,
ignoring command 'stop'"
2022-03-07 15:08:33,771 [DEBUG] (MainThread) Calling: (['systemctl', 'stop',
'supervdsmd'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:33,777 [DEBUG] (MainThread) Returned: b"Running in chroot,
ignoring command 'stop'"
2022-03-07 15:08:33,777 [DEBUG] (MainThread) Calling: (['systemctl', 'stop',
'vdsm-network'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:33,781 [DEBUG] (MainThread) Returned: b"Running in chroot,
ignoring command 'stop'"
2022-03-07 15:08:33,781 [DEBUG] (MainThread) Calling: (['vgchange', '-ay', '--
select', 'vg_tags = imgbased:vg'],) {'stderr': <_io.TextIOWrapper
name='/dev/null' mode='w' encoding='UTF-8'>, 'close_fds': True}
iso-8042/ovirt-node-ng-4.5.0-0.20220307.0  \n  onn_node-iso-8042/ovirt-node-
ng-4.5.0-0.20220307.0+1'
2022-03-07 15:08:33,852 [DEBUG] (MainThread) All LV names: ['onn_node-
iso-8042/ovirt-node-ng-4.5.0-0.20220307.0', 'onn_node-iso-8042/ovirt-node-
ng-4.5.0-0.20220307.0+1']
2022-03-07 15:08:33,852 [DEBUG] (MainThread) All LVS: [<LV 'onn_node-
iso-8042/ovirt-node-ng-4.5.0-0.20220307.0' />, <LV 'onn_node-iso-8042/ovirt-
node-ng-4.5.0-0.20220307.0+1' />]
2022-03-07 15:08:33,852 [DEBUG] (MainThread) Calling: (['lvs', '--noheadings', '
--ignoreskippedcluster', '-olv_tags', 'onn_node-iso-8042/ovirt-node-
ng-4.5.0-0.20220307.0'],) {'stderr': <_io.TextIOWrapper name='/dev/null'
mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:33,884 [DEBUG] (MainThread) Returned: b'imgbased:layer'
2022-03-07 15:08:33,884 [DEBUG] (MainThread) Calling: (['lvs', '--noheadings', '
--ignoreskippedcluster', '-olv_tags', 'onn_node-iso-8042/ovirt-node-
ng-4.5.0-0.20220307.0'],) {'stderr': <_io.TextIOWrapper name='/dev/null'
mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:33,913 [DEBUG] (MainThread) Returned: b'imgbased:layer'
2022-03-07 15:08:33,913 [DEBUG] (MainThread) Calling: (['lvs', '--noheadings', '
--ignoreskippedcluster', '-olv_tags', 'onn_node-iso-8042/ovirt-node-
ng-4.5.0-0.20220307.0+1'],) {'stderr': <_io.TextIOWrapper name='/dev/null'
2022-03-07 15:08:33,982 [DEBUG] (MainThread) Our LVS: [<LV 'onn_node-
iso-8042/ovirt-node-ng-4.5.0-0.20220307.0' />, <LV 'onn_node-iso-8042/ovirt-
node-ng-4.5.0-0.20220307.0+1' />]
2022-03-07 15:08:33,982 [DEBUG] (MainThread) Names: ['ovirt-node-
ng-4.5.0-0.20220307.0', 'ovirt-node-ng-4.5.0-0.20220307.0+1']
2022-03-07 15:08:33,982 [DEBUG] (MainThread) Images: [<Base ovirt-node-
ng-4.5.0-0.20220307.0 [] />, <Layer ovirt-node-ng-4.5.0-0.20220307.0+1 />]
2022-03-07 15:08:33,982 [DEBUG] (MainThread) Bases: dict_values([<Base ovirt-
node-ng-4.5.0-0.20220307.0 [<Layer ovirt-node-ng-4.5.0-0.20220307.0+1 />] />])
2022-03-07 15:08:33,983 [DEBUG] (MainThread) Calling: (['vgs', '--noheadings', '
--ignoreskippedcluster', '--select', 'vg_tags = imgbased:vg', '-o', 'vg_name'],)
{'stderr': <_io.TextIOWrapper name='/dev/null' mode='w' encoding='UTF-8'>,
'close_fds': True}
2022-03-07 15:08:34,019 [DEBUG] (MainThread) Returned: b'onn_node-iso-8042'
2022-03-07 15:08:34,019 [DEBUG] (MainThread) Fetching image for '/'
2022-03-07 15:08:34,019 [DEBUG] (MainThread) Calling: (['findmnt', '-no',
'SOURCE', '/'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,023 [DEBUG] (MainThread) Returned: b'/dev/mapper/onn_node--
iso--8042-root'
2022-03-07 15:08:34,023 [DEBUG] (MainThread) Found '/dev/mapper/onn_node--iso--
8042-root'
/dev/mapper/onn_node--iso--8042-root: onn_node-iso-8042 root
2022-03-07 15:08:34,066 [DEBUG] (MainThread) Found LV 'root' for path
'/dev/mapper/onn_node--iso--8042-root'
2022-03-07 15:08:34,066 [ERROR] (MainThread) The root volume does not look like
an image
2022-03-07 15:08:34,066 [DEBUG] (MainThread) Calling: (['vgs', '--noheadings', '
--ignoreskippedcluster', '@imgbased:pool', '-o', 'lv_full_name'],) {'stderr':
<_io.TextIOWrapper name='/dev/null' mode='w' encoding='UTF-8'>, 'close_fds':
True}
2022-03-07 15:08:34,110 [DEBUG] (MainThread) Returned: b'onn_node-
iso-8042/pool00'
2022-03-07 15:08:34,110 [DEBUG] (MainThread) Calling: (['lvs', '--noheadings', '
--ignoreskippedcluster', '--separator', '$', '-o', 'lv_profile', 'onn_node-
iso-8042/pool00'],) {'stderr': <_io.TextIOWrapper name='/dev/null' mode='w'
encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:34,143 [DEBUG] (MainThread) Calling: (['lvs', '--noheadings', '
--ignoreskippedcluster', '-olv_path', 'onn_node-iso-8042/ovirt-node-
ng-4.5.0-0.20220307.0+1'],) {'stderr': <_io.TextIOWrapper name='/dev/null'
mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:34,175 [DEBUG] (MainThread) Returned: b'/dev/onn_node-
iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1'
/>: setting profile to imgbased-pool
2022-03-07 15:08:34,236 [DEBUG] (MainThread) Calling: (['lvchange', '--config',
'config {profile_dir = "/tmp/mnt.kPFzI//etc/lvm/profile"}', '--metadataprofile',
'imgbased-pool', 'onn_node-iso-8042/pool00'],) {'stderr': <_io.TextIOWrapper
name='/dev/null' mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:34,304 [DEBUG] (MainThread) Returned: b'Logical volume
onn_node-iso-8042/pool00 changed.'
2022-03-07 15:08:34,304 [DEBUG] (MainThread) Calling: (['umount', '-l',
'/tmp/mnt.kPFzI'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,319 [DEBUG] (MainThread) Calling: (['rmdir',
'/tmp/mnt.kPFzI'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,321 [DEBUG] (MainThread) Calling: (['lvs', '--noheadings', '
--ignoreskippedcluster', '-olv_path', 'onn_node-iso-8042/ovirt-node-
ng-4.5.0-0.20220307.0+1'],) {'stderr': <_io.TextIOWrapper name='/dev/null'
mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:34,349 [DEBUG] (MainThread) Returned: b'/dev/onn_node-
iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1'
2022-03-07 15:08:34,349 [DEBUG] (MainThread) Calling: (['mktemp', '-d', '--
tmpdir', 'mnt.XXXXX'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,352 [DEBUG] (MainThread) Returned: b'/tmp/mnt.EjLE9'
2022-03-07 15:08:34,352 [DEBUG] (MainThread) Calling: (['mount', '/dev/onn_node-
2022-03-07 15:08:34,403 [DEBUG] (MainThread) Calling: (['rmdir',
'/tmp/mnt.EjLE9'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,406 [DEBUG] (migrate_var) Syncing items from the new /var
2022-03-07 15:08:34,407 [DEBUG] (migrate_var) Calling: (['lvs', '--noheadings',
'--ignoreskippedcluster', '-olv_path', 'onn_node-iso-8042/ovirt-node-
ng-4.5.0-0.20220307.0+1'],) {'stderr': <_io.TextIOWrapper name='/dev/null'
mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:34,439 [DEBUG] (migrate_var) Returned: b'/dev/onn_node-
iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1'
2022-03-07 15:08:34,439 [DEBUG] (migrate_var) Calling: (['mktemp', '-d', '--
tmpdir', 'mnt.XXXXX'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,442 [DEBUG] (migrate_var) Returned: b'/tmp/mnt.ejySE'
2022-03-07 15:08:34,442 [DEBUG] (migrate_var) Calling: (['mount',
'/dev/onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1', '/tmp/mnt.ejySE'],)
{'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,471 [DEBUG] (migrate_var) No rpm files to migrate
2022-03-07 15:08:34,471 [DEBUG] (migrate_var) Calling: (['umount', '-l',
'/tmp/mnt.ejySE'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,488 [DEBUG] (migrate_var) Calling: (['rmdir',
'/tmp/mnt.ejySE'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,491 [DEBUG] (migrate_etc) Migrating etc (<LV 'onn_node-
image to the new image
2022-03-07 15:08:34,493 [DEBUG] (migrate_state) Calling: (['lvs', '--
noheadings', '--ignoreskippedcluster', '-olv_path', 'onn_node-iso-8042/ovirt-
node-ng-4.5.0-0.20220307.0+1'],) {'stderr': <_io.TextIOWrapper name='/dev/null'
mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:34,494 [DEBUG] (migrate_state) Migrating /usr/share/rhn/ from
the old image to the new image
2022-03-07 15:08:34,494 [DEBUG] (migrate_state) Calling: (['lvs', '--
noheadings', '--ignoreskippedcluster', '-olv_path', 'onn_node-iso-8042/ovirt-
node-ng-4.5.0-0.20220307.0+1'],) {'stderr': <_io.TextIOWrapper name='/dev/null'
mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:34,531 [DEBUG] (migrate_state) Returned: b'/dev/onn_node-
iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1'
2022-03-07 15:08:34,531 [DEBUG] (migrate_state) Calling: (['mktemp', '-d', '--
tmpdir', 'mnt.XXXXX'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,533 [DEBUG] (migrate_etc) Returned: b'/dev/onn_node-
iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1'
2022-03-07 15:08:34,533 [DEBUG] (migrate_etc) Calling: (['mktemp', '-d', '--
tmpdir', 'mnt.XXXXX'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,534 [DEBUG] (migrate_state) Returned: b'/dev/onn_node-
iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1'
2022-03-07 15:08:34,539 [DEBUG] (migrate_state) Calling: (['mount',
'/dev/onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1', '/tmp/mnt.kQJmu'],)
{'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,542 [DEBUG] (migrate_state) Returned: b'/tmp/mnt.qVZeM'
2022-03-07 15:08:34,542 [DEBUG] (migrate_state) Calling: (['mount',
'/dev/onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1', '/tmp/mnt.qVZeM'],)
{'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,573 [DEBUG] (migrate_state) Calling: (['lvs', '--
noheadings', '--ignoreskippedcluster', '-olv_path', 'onn_node-iso-8042/ovirt-
node-ng-4.5.0-0.20220307.0+1'],) {'stderr': <_io.TextIOWrapper name='/dev/null'
mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:34,574 [DEBUG] (migrate_state) Calling: (['lvs', '--
noheadings', '--ignoreskippedcluster', '-olv_path', 'onn_node-iso-8042/ovirt-
node-ng-4.5.0-0.20220307.0+1'],) {'stderr': <_io.TextIOWrapper name='/dev/null'
mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:34,574 [DEBUG] (migrate_etc) Calling: (['lvs', '--noheadings',
'--ignoreskippedcluster', '-olv_path', 'onn_node-iso-8042/ovirt-node-
ng-4.5.0-0.20220307.0+1'],) {'stderr': <_io.TextIOWrapper name='/dev/null'
mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:34,613 [DEBUG] (migrate_state) Returned: b'/dev/onn_node-
iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1'
iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1'
2022-03-07 15:08:34,622 [DEBUG] (migrate_state) Calling: (['mktemp', '-d', '--
tmpdir', 'mnt.XXXXX'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,625 [DEBUG] (migrate_etc) Returned: b'/dev/onn_node-
iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1'
2022-03-07 15:08:34,625 [DEBUG] (migrate_etc) Calling: (['mktemp', '-d', '--
tmpdir', 'mnt.XXXXX'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,627 [DEBUG] (migrate_state) Calling: (['umount', '-l',
'/tmp/mnt.quu2p'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,629 [DEBUG] (migrate_state) Returned: b'/tmp/mnt.HqRia'
2022-03-07 15:08:34,629 [DEBUG] (migrate_state) Calling: (['mount',
'/dev/onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1', '/tmp/mnt.HqRia'],)
{'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,631 [DEBUG] (migrate_etc) Returned: b'/tmp/mnt.mBh93'
2022-03-07 15:08:34,631 [DEBUG] (migrate_etc) Calling: (['mount',
'/dev/onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1', '/tmp/mnt.mBh93'],)
{'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,638 [DEBUG] (migrate_state) Calling: (['rmdir',
'/tmp/mnt.quu2p'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,640 [DEBUG] (migrate_state) Calling: (['umount', '-l',
'/tmp/mnt.qVZeM'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,646 [DEBUG] (migrate_state) Calling: (['rmdir',
'/tmp/mnt.qVZeM'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,650 [DEBUG] (migrate_state) Running: ['rsync', '-pAXlHrx',
'-SWc', '--no-i-r', '-og', '-t', '--exclude', 'mnt.*/*',
'/tmp/mnt.HqRia//root//', '/tmp/mnt.kQJmu//root/']
2022-03-07 15:08:34,650 [DEBUG] (migrate_state) Calling: (['rsync', '-pAXlHrx',
'-SWc', '--no-i-r', '-og', '-t', '--exclude', 'mnt.*/*',
'/tmp/mnt.HqRia//root//', '/tmp/mnt.kQJmu//root/'],) {'close_fds': True,
'stderr': -2}
2022-03-07 15:08:34,654 [DEBUG] (migrate_etc) No drift detected
2022-03-07 15:08:34,654 [INFO] (migrate_etc) Migrating /etc (from <LV 'onn_node-
iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1' />)
2022-03-07 15:08:34,715 [DEBUG] (migrate_state) Calling: (['umount', '-l',
'/tmp/mnt.HqRia'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,724 [DEBUG] (migrate_state) Calling: (['rmdir',
'/tmp/mnt.HqRia'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,727 [DEBUG] (migrate_state) Calling: (['umount', '-l',
'/tmp/mnt.kQJmu'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,732 [DEBUG] (migrate_state) Calling: (['rmdir',
'/tmp/mnt.kQJmu'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,745 [DEBUG] (migrate_etc) /etc/passwd not in required_files,
2022-03-07 15:08:34,745 [DEBUG] (migrate_etc) /etc/iscsi/initiatorname.iscsi not
in required_files, adding
2022-03-07 15:08:34,745 [DEBUG] (migrate_etc) /etc/systemd/system/multi-
user.target.wants/chronyd.service not in required_files, adding
2022-03-07 15:08:34,746 [INFO] (migrate_etc) Configuring versionlock for
/dev/onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1
2022-03-07 15:08:34,907 [INFO] (migrate_etc) Migrating /root
2022-03-07 15:08:34,907 [DEBUG] (migrate_ntp_to_chrony) Calling: (['systemctl',
'status', 'ntpd.service'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,909 [DEBUG] (run_rpm_perms) Calling: (['lvs', '--
noheadings', '--ignoreskippedcluster', '-olv_path', 'onn_node-iso-8042/ovirt-
node-ng-4.5.0-0.20220307.0+1'],) {'stderr': <_io.TextIOWrapper name='/dev/null'
mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:34,911 [INFO] (fix_systemd_services) Syncing systemd levels
2022-03-07 15:08:34,913 [DEBUG] (run_rpm_selinux_post) Calling:
(['getenforce'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,915 [DEBUG] (migrate_ntp_to_chrony) Returned: b"Running in
chroot, ignoring command 'status'"
2022-03-07 15:08:34,915 [DEBUG] (migrate_ntp_to_chrony) Calling: (['lvs', '--
noheadings', '--ignoreskippedcluster', '-olv_path', 'onn_node-iso-8042/ovirt-
node-ng-4.5.0-0.20220307.0+1'],) {'stderr': <_io.TextIOWrapper name='/dev/null'
iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1'
2022-03-07 15:08:34,951 [DEBUG] (run_rpm_perms) Calling: (['mktemp', '-d', '--
tmpdir', 'mnt.XXXXX'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,954 [DEBUG] (migrate_ntp_to_chrony) Returned:
b'/dev/onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1'
2022-03-07 15:08:34,954 [DEBUG] (migrate_ntp_to_chrony) Calling: (['mktemp',
'-d', '--tmpdir', 'mnt.XXXXX'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,956 [DEBUG] (run_rpm_perms) Returned: b'/tmp/mnt.ECnkT'
2022-03-07 15:08:34,956 [DEBUG] (run_rpm_perms) Calling: (['mount',
'/dev/onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1', '/tmp/mnt.ECnkT'],)
{'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,958 [DEBUG] (run_rpm_selinux_post) Returned:
b'/dev/onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1'
2022-03-07 15:08:34,958 [DEBUG] (run_rpm_selinux_post) Calling: (['mktemp',
'-d', '--tmpdir', 'mnt.XXXXX'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,960 [DEBUG] (migrate_ntp_to_chrony) Returned:
b'/tmp/mnt.FGd4Y'
2022-03-07 15:08:34,960 [DEBUG] (migrate_ntp_to_chrony) Calling: (['mount',
'/dev/onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1', '/tmp/mnt.FGd4Y'],)
{'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,962 [DEBUG] (run_rpm_selinux_post) Returned:
2022-03-07 15:08:34,967 [DEBUG] (run_rpm_perms) Calling: (['mount', '-orbind',
'/var', '/tmp/mnt.ECnkT//var'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,970 [DEBUG] (run_rpm_selinux_post) Checking whether any
%post scripts from the new image must be run
2022-03-07 15:08:34,971 [DEBUG] (migrate_ntp_to_chrony) Calling: (['rmdir',
'/tmp/mnt.FGd4Y'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,971 [DEBUG] (run_rpm_selinux_post) Calling: (['rpm', '-qa',
'--queryformat', '%{NAME} @@ %{POSTIN}\\n', '--root', '/tmp/mnt.XVcCB//'],)
{'close_fds': True, 'stderr': -2}
2022-03-07 15:08:34,976 [DEBUG] (run_rpm_perms) Executing: ['nsenter', '--
root=/tmp/mnt.ECnkT//', '--wd=/tmp/mnt.ECnkT//', 'rpm', '--verify', '-qa', '--
nodeps', '--nodigest', '--nofiledigest', '--noscripts', '--nosignature']
2022-03-07 15:08:35,010 [DEBUG] (run_rpm_selinux_post) Calling: (['rpm', '-qa',
'--queryformat', '%{NAME} @@ %{POSTTRANS}\\n', '--root', '/tmp/mnt.XVcCB//'],)
{'close_fds': True, 'stderr': -2}
2022-03-07 15:08:35,026 [DEBUG] (run_rpm_selinux_post) Calling: (['mount',
'-obind,private', '/proc', '/tmp/mnt.XVcCB/proc'],) {'close_fds': True,
'stderr': -2}
2022-03-07 15:08:35,029 [DEBUG] (run_rpm_selinux_post) Calling: (['mount',
'-obind,private', '/dev', '/tmp/mnt.XVcCB/dev'],) {'close_fds': True, 'stderr':
-2}
2022-03-07 15:08:35,034 [DEBUG] (run_rpm_selinux_post) Calling: (['mount',
'-l', '/tmp/mnt.XVcCB/sys'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:35,051 [DEBUG] (run_rpm_selinux_post) Calling: (['umount',
'-l', '/tmp/mnt.XVcCB/dev'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:35,053 [DEBUG] (run_rpm_selinux_post) Done!
2022-03-07 15:08:35,053 [DEBUG] (run_rpm_selinux_post) Calling: (['umount',
'-l', '/tmp/mnt.XVcCB/proc'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:35,061 [DEBUG] (run_rpm_selinux_post) Done!
2022-03-07 15:08:35,065 [DEBUG] (run_rpm_selinux_post) Calling: (['umount',
'-l', '/tmp/mnt.XVcCB'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:35,068 [DEBUG] (run_rpm_selinux_post) Calling: (['rmdir',
'/tmp/mnt.XVcCB'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:36,250 [DEBUG] (run_rpm_perms) Result: b'....L....
/usr/lib/os-release\nS......T.  c /etc/yum.repos.d/centos-addons.repo\nS......T.
c /etc/yum.repos.d/centos.repo\nmissing   c /run/motd\nmissing
/run/motd.d\n.M....G..  g /var/log/lastlog\n.M.......    /boot\n.M.......  g
/proc\n.M.......  g /sys\n....L....  c /etc/nsswitch.conf\nmissing
/run/setrans\n....L....  c /etc/pam.d/fingerprint-auth\n....L....  c
/etc/pam.d/password-auth\n....L....  c /etc/pam.d/postlogin\n....L....  c
/etc/pam.d/smartcard-auth\n....L....  c /etc/pam.d/system-auth\nmissing
/run/motd.d\nmissing     /var/run/console\nmissing
/var/run/faillock\nmissing     /var/run/sepermit\n.M....G..  g
/var/spool/anacron/cron.monthly\n.M.......  g
/var/spool/anacron/cron.weekly\n.M.......  g /etc/udev/hwdb.bin\n.M.......  g
/var/lib/systemd/random-seed\nmissing     /boot/loader/entries\nmissing
/var/run/sanlock\nmissing     /boot/efi\nmissing     /boot/efi/EFI\nmissing
/boot/efi/EFI/BOOT\nmissing     /boot/efi/EFI/centos\nmissing
/run/rpcbind\nmissing     /run/mdadm\nmissing
/boot/efi/EFI/centos/grubx64.efi\nmissing     /boot/grub2/fonts\nmissing
/boot/grub2/fonts/unicode.pf2\nmissing   c /boot/grub2/grubenv\nmissing
/boot/loader/entries\nmissing     /run/lock/lvm\nmissing     /run/lvm\nmissing
/run/certmonger\nmissing     /run/gluster\nmissing     /boot/elf-
memtest86+-5.31\nmissing     /boot/memtest86+-5.31\nmissing     /var/run/net-
snmp\nmissing     /run/pluto\n.M.......  g
/var/lib/selinux/targeted/active/modules/200/ipa\n.M.......  g
/var/lib/selinux/targeted/active/modules/200/glusterd\nmissing
/run/tuned\nS......T.  c /etc/dnf/plugins/versionlock.conf\nS......T.  c
/etc/dnf/plugins/versionlock.list\nmissing     /boot/extlinux\nmissing
/boot/extlinux/cat.c32\nmissing     /boot/extlinux/chain.c32\nmissing
/boot/extlinux/cmd.c32\nmissing     /boot/extlinux/cmenu.c32\nmissing
/boot/extlinux/config.c32\nmissing     /boot/extlinux/cptime.c32\nmissing
/boot/extlinux/cpu.c32\nmissing     /boot/extlinux/cpuid.c32\nmissing
/boot/extlinux/cpuidtest.c32\nmissing     /boot/extlinux/debug.c32\nmissing
/boot/extlinux/ifmemdsk.c32\nmissing     /boot/extlinux/ifplop.c32\nmissing
/boot/extlinux/kbdmap.c32\nmissing     /boot/extlinux/kontron_wdt.c32\nmissing
/boot/extlinux/ldlinux.c32\nmissing     /boot/extlinux/lfs.c32\nmissing
/boot/extlinux/libcom32.c32\nmissing     /boot/extlinux/libgpl.c32\nmissing
/boot/extlinux/liblua.c32\nmissing     /boot/extlinux/libmenu.c32\nmissing
/boot/extlinux/libutil.c32\nmissing     /boot/extlinux/linux.c32\nmissing
/boot/extlinux/ls.c32\nmissing     /boot/extlinux/lua.c32\nmissing
/boot/extlinux/mboot.c32\nmissing     /boot/extlinux/memdisk\nmissing
/boot/extlinux/meminfo.c32\nmissing     /boot/extlinux/menu.c32\nmissing
/boot/extlinux/pci.c32\nmissing     /boot/extlinux/pcitest.c32\nmissing
/boot/extlinux/pmload.c32\nmissing     /boot/extlinux/poweroff.c32\nmissing
/boot/extlinux/prdhcp.c32\nmissing     /boot/extlinux/pwd.c32\nmissing
/boot/extlinux/pxechn.c32\nmissing     /boot/extlinux/reboot.c32\nmissing
/boot/extlinux/rosh.c32\nmissing     /boot/extlinux/sanboot.c32\nmissing
/boot/extlinux/sdi.c32\nmissing     /boot/extlinux/sysdump.c32\nmissing
/boot/extlinux/syslinux.c32\nmissing     /boot/extlinux/vesa.c32\nmissing
/boot/extlinux/vesainfo.c32\nmissing     /boot/extlinux/vesamenu.c32\nmissing
/boot/extlinux/vpdtest.c32\nmissing     /boot/extlinux/whichsys.c32\nmissing
/boot/extlinux/zzjson.c32\nmissing     /boot/efi/EFI/BOOT/BOOTX64.EFI\nmissing
/boot/efi/EFI/BOOT/fbx64.efi\nmissing
/boot/efi/EFI/centos/BOOTX64.CSV\nmissing
2022-03-07 15:08:36,250 [DEBUG] (run_rpm_perms) Executing: ['nsenter', '--
root=/tmp/mnt.ECnkT//', '--wd=/tmp/mnt.ECnkT//', 'rpm', '-qf', '--queryformat',
'%{NAME}\n']
2022-03-07 15:08:36,258 [DEBUG] (run_rpm_perms) Result: b''
2022-03-07 15:08:36,258 [DEBUG] (run_rpm_perms) Executing: ['nsenter', '--
root=/tmp/mnt.ECnkT//', '--wd=/tmp/mnt.ECnkT//', 'rpm', '-qf', '--queryformat',
'%{NAME}\n']
2022-03-07 15:08:36,266 [DEBUG] (run_rpm_perms) Result: b''
2022-03-07 15:08:36,266 [DEBUG] (run_rpm_perms) Calling: (['umount', '-R', '-l',
'/tmp/mnt.ECnkT//var'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:36,281 [DEBUG] (run_rpm_perms) Done!
2022-03-07 15:08:36,281 [DEBUG] (run_rpm_perms) Calling: (['umount', '-l',
'/tmp/mnt.ECnkT'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:36,285 [DEBUG] (run_rpm_perms) Calling: (['rmdir',
'/tmp/mnt.ECnkT'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:36,290 [DEBUG] (migrate_etc) Calling: (['umount', '-l',
'/tmp/mnt.mBh93'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:36,294 [DEBUG] (migrate_etc) Calling: (['rmdir',
'/tmp/mnt.mBh93'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:36,296 [DEBUG] (migrate_etc) Calling: (['umount', '-l',
'/tmp/mnt.bD5XM'],) {'close_fds': True, 'stderr': -2}

iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1'
2022-03-07 15:08:36,531 [DEBUG] (MainThread) Calling: (['mktemp', '-d', '--
tmpdir', 'mnt.XXXXX'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:36,534 [DEBUG] (MainThread) Returned: b'/tmp/mnt.JNVzX'
2022-03-07 15:08:36,534 [DEBUG] (MainThread) Calling: (['mount', '/dev/onn_node-
iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1', '/tmp/mnt.JNVzX'],) {'close_fds':
True, 'stderr': -2}
2022-03-07 15:08:36,564 [DEBUG] (MainThread) Calling: (['mount',
'-obind,private', '/proc', '/tmp/mnt.JNVzX/proc'],) {'close_fds': True,
'stderr': -2}
2022-03-07 15:08:36,568 [DEBUG] (MainThread) Calling: (['mount',
'-obind,private', '/run', '/tmp/mnt.JNVzX/run'],) {'close_fds': True, 'stderr':
-2}
2022-03-07 15:08:36,571 [DEBUG] (MainThread) Calling: (['mount',
'-obind,private', '/sys', '/tmp/mnt.JNVzX/sys'],) {'close_fds': True, 'stderr':
-2}
2022-03-07 15:08:36,575 [DEBUG] (MainThread) Calling: (['mount',
'-obind,private', '/dev', '/tmp/mnt.JNVzX/dev'],) {'close_fds': True, 'stderr':
-2}
2022-03-07 15:08:36,579 [DEBUG] (MainThread) Executing: ['nsenter', '--
root=/tmp/mnt.JNVzX//', '--wd=/tmp/mnt.JNVzX//', 'vdsm-tool', 'config-lvm-

imported:\n    \n onn_node-iso-8042\n\nConfiguration completed
successfully!\n\nPlease reboot to verify the configuration.\n    \n'
2022-03-07 15:08:37,378 [DEBUG] (MainThread) Calling: (['umount', '-l',
'/tmp/mnt.JNVzX/dev'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:37,384 [DEBUG] (MainThread) Done!
2022-03-07 15:08:37,384 [DEBUG] (MainThread) Calling: (['umount', '-l',
'/tmp/mnt.JNVzX/sys'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:37,390 [DEBUG] (MainThread) Done!
2022-03-07 15:08:37,390 [DEBUG] (MainThread) Calling: (['umount', '-l',
'/tmp/mnt.JNVzX/run'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:37,395 [DEBUG] (MainThread) Done!
2022-03-07 15:08:37,395 [DEBUG] (MainThread) Calling: (['umount', '-l',
'/tmp/mnt.JNVzX/proc'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:37,399 [DEBUG] (MainThread) Done!
2022-03-07 15:08:37,399 [DEBUG] (MainThread) Calling: (['mount',
'-obind,private', '/proc', '/tmp/mnt.JNVzX/proc'],) {'close_fds': True,
'stderr': -2}
2022-03-07 15:08:37,402 [DEBUG] (MainThread) Calling: (['mount',
'-obind,private', '/run', '/tmp/mnt.JNVzX/run'],) {'close_fds': True, 'stderr':
-2}
2022-03-07 15:08:37,405 [DEBUG] (MainThread) Calling: (['mount',
force']
2022-03-07 15:08:37,870 [DEBUG] (MainThread) Result: b'\nChecking configuration
status...\n\n'
2022-03-07 15:08:37,870 [DEBUG] (MainThread) Calling: (['umount', '-l',
'/tmp/mnt.JNVzX/sys/fs/selinux'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:37,874 [DEBUG] (MainThread) Done!
2022-03-07 15:08:37,874 [DEBUG] (MainThread) Calling: (['umount', '-l',
'/tmp/mnt.JNVzX/sys'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:37,877 [DEBUG] (MainThread) Done!
2022-03-07 15:08:37,877 [DEBUG] (MainThread) Calling: (['umount', '-l',
'/tmp/mnt.JNVzX/run'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:37,881 [DEBUG] (MainThread) Done!
2022-03-07 15:08:37,881 [DEBUG] (MainThread) Calling: (['umount', '-l',
'/tmp/mnt.JNVzX/proc'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:37,884 [DEBUG] (MainThread) Done!
2022-03-07 15:08:37,886 [INFO] (MainThread) No SCAP evaluation found, skipping
2022-03-07 15:08:37,887 [DEBUG] (MainThread) Running ldconfig on new layer
2022-03-07 15:08:37,887 [DEBUG] (MainThread) Calling: (['ldconfig', '-r',
'/tmp/mnt.JNVzX//'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:38,022 [DEBUG] (MainThread) Calling: (['umount', '-l',
'/tmp/mnt.JNVzX'],) {'close_fds': True, 'stderr': -2}
ng-4.5.0-0.20220307.0+1 and ovirt-node-ng-4.5.0-0.20220307.0+1
2022-03-07 15:08:38,097 [DEBUG] (MainThread) Calling: (['vgs', '--noheadings', '
--ignoreskippedcluster', '--select', 'vg_tags = imgbased:vg', '-o', 'vg_name'],)
{'stderr': <_io.TextIOWrapper name='/dev/null' mode='w' encoding='UTF-8'>,
'close_fds': True}
2022-03-07 15:08:38,134 [DEBUG] (MainThread) Returned: b'onn_node-iso-8042'
2022-03-07 15:08:38,134 [DEBUG] (MainThread) Calling: (['vgs', '--noheadings', '
--ignoreskippedcluster', '--select', 'vg_tags = imgbased:vg', '-o', 'vg_name'],)
{'stderr': <_io.TextIOWrapper name='/dev/null' mode='w' encoding='UTF-8'>,
'close_fds': True}
2022-03-07 15:08:38,170 [DEBUG] (MainThread) Returned: b'onn_node-iso-8042'
2022-03-07 15:08:38,170 [DEBUG] (MainThread) Calling: (['lvs', '--noheadings', '
--ignoreskippedcluster', '-o', 'lv_full_name', '--select', 'lv_tags =
imgbased:base || lv_tags = imgbased:layer'],) {'stderr': <_io.TextIOWrapper
name='/dev/null' mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:38,206 [DEBUG] (MainThread) Returned: b'onn_node-
iso-8042/ovirt-node-ng-4.5.0-0.20220307.0  \n  onn_node-iso-8042/ovirt-node-
ng-4.5.0-0.20220307.0+1'
2022-03-07 15:08:38,206 [DEBUG] (MainThread) All LV names: ['onn_node-
iso-8042/ovirt-node-ng-4.5.0-0.20220307.0', 'onn_node-iso-8042/ovirt-node-
ng-4.5.0-0.20220307.0+1']
2022-03-07 15:08:38,206 [DEBUG] (MainThread) All LVS: [<LV 'onn_node-
2022-03-07 15:08:38,242 [DEBUG] (MainThread) Calling: (['lvs', '--noheadings', '
--ignoreskippedcluster', '-olv_tags', 'onn_node-iso-8042/ovirt-node-
ng-4.5.0-0.20220307.0'],) {'stderr': <_io.TextIOWrapper name='/dev/null'
mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:38,279 [DEBUG] (MainThread) Returned: b'imgbased:layer'
2022-03-07 15:08:38,279 [DEBUG] (MainThread) Calling: (['lvs', '--noheadings', '
--ignoreskippedcluster', '-olv_tags', 'onn_node-iso-8042/ovirt-node-
ng-4.5.0-0.20220307.0+1'],) {'stderr': <_io.TextIOWrapper name='/dev/null'
mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:38,313 [DEBUG] (MainThread) Returned: b'imgbased:layer'
2022-03-07 15:08:38,313 [DEBUG] (MainThread) Calling: (['lvs', '--noheadings', '
--ignoreskippedcluster', '-olv_tags', 'onn_node-iso-8042/ovirt-node-
ng-4.5.0-0.20220307.0+1'],) {'stderr': <_io.TextIOWrapper name='/dev/null'
mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:38,352 [DEBUG] (MainThread) Returned: b'imgbased:layer'
2022-03-07 15:08:38,352 [DEBUG] (MainThread) Our LVS: [<LV 'onn_node-
iso-8042/ovirt-node-ng-4.5.0-0.20220307.0' />, <LV 'onn_node-iso-8042/ovirt-
node-ng-4.5.0-0.20220307.0+1' />]
2022-03-07 15:08:38,352 [DEBUG] (MainThread) Names: ['ovirt-node-
ng-4.5.0-0.20220307.0', 'ovirt-node-ng-4.5.0-0.20220307.0+1']
2022-03-07 15:08:38,352 [DEBUG] (MainThread) Images: [<Base ovirt-node-

2022-03-07 15:08:38,391 [DEBUG] (MainThread) Returned: b'onn_node-iso-8042'
2022-03-07 15:08:38,391 [INFO] (MainThread) Not reinstalling RPMs during system
installation
2022-03-07 15:08:38,391 [DEBUG] (MainThread) Calling: (['lvs', '--noheadings', '
--ignoreskippedcluster', '-olv_path', 'onn_node-iso-8042/ovirt-node-
ng-4.5.0-0.20220307.0+1'],) {'stderr': <_io.TextIOWrapper name='/dev/null'
mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:38,425 [DEBUG] (MainThread) Returned: b'/dev/onn_node-
iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1'
2022-03-07 15:08:38,425 [DEBUG] (MainThread) Calling: (['mktemp', '-d', '--
tmpdir', 'mnt.XXXXX'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:38,428 [DEBUG] (MainThread) Returned: b'/tmp/mnt.Gq4e4'
2022-03-07 15:08:38,428 [DEBUG] (MainThread) Calling: (['mount', '/dev/onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1', '/tmp/mnt.Gq4e4'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:38,461 [DEBUG] (MainThread) Calling: (['mount', '-orbind', '/var', '/tmp/mnt.Gq4e4/var'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:38,464 [DEBUG] (MainThread) Calling: (['lvs', '--noheadings', '--ignoreskippedcluster', '-olv_path', 'onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1'],) {'stderr': <_io.TextIOWrapper name='/dev/null' mode='w' encoding='UTF-8'>, 'close_fds': True} True, 'stderr': -2}
2022-03-07 15:08:38,505 [DEBUG] (MainThread) Found old fstab: <Fstab /tmp/mnt.7ayba//etc/fstab>
2022-03-07 15:08:38,506 [DEBUG] (MainThread) Found old rootentry: <Entry / /dev/mapper/onn_node--iso--8042-root / xfs ['defaults'] />
2022-03-07 15:08:38,506 [DEBUG] (MainThread) Old root source: /dev/mapper/onn_node--iso--8042-root
2022-03-07 15:08:38,507 [DEBUG] (MainThread) Trying to find LV for: /dev/mapper/onn_node--iso--8042-root 2022-03-07 15:08:38,507 [DEBUG] (MainThread) Calling: (['lvs', '--noheadings', '--ignoreskippedcluster', '-ovg_name,lv_name', '/dev/mapper/onn_node--iso--8042-root'],) {'stderr': <_io.TextIOWrapper name='/dev/null' mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:38,534 [DEBUG] (MainThread) Returned: b'onn_node-iso-8042 root'
2022-03-07 15:08:38,535 [DEBUG] (MainThread) Found LV for path /dev/mapper/onn_node--iso--8042-root: onn_node-iso-8042 root
2022-03-07 15:08:38,536 [DEBUG] (MainThread) Previous GRUB_CMDLINE_LINUX: crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=/dev/mapper/onn_node--iso--8042-swap rd.lvm.lv=onn_node-iso-8042/root rd.lvm.lv=onn_node-iso-8042/swap console=ttyS0
2022-03-07 15:08:38,543 [INFO] (MainThread) Updating fstab of new layer
2022-03-07 15:08:38,545 [DEBUG] (MainThread) Calling: (['lvs', '--noheadings', '--ignoreskippedcluster', '-olv_path', 'onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1'],) {'stderr': <_io.TextIOWrapper name='/dev/null' mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:38,571 [DEBUG] (MainThread) Returned: b'/dev/onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1'
2022-03-07 15:08:38,571 [DEBUG] (MainThread) Got new fstab entry: <Entry / /dev/onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1 / xfs ['defaults'] />
2022-03-07 15:08:38,574 [DEBUG] (MainThread) Got new fstab entry: <Entry /var /dev/mapper/onn_node--iso--8042-var /var xfs ['defaults', 'discard'] />
2022-03-07 15:08:38,577 [DEBUG] (MainThread) Got new fstab entry: <Entry /var/crash /dev/mapper/onn_node--iso--8042-var_crash /var/crash xfs ['defaults', 'discard'] />
2022-03-07 15:08:38,579 [DEBUG] (MainThread) Got new fstab entry: <Entry /var/log /dev/mapper/onn_node--iso--8042-var_log /var/log xfs ['defaults', 'discard'] />
2022-03-07 15:08:38,581 [DEBUG] (MainThread) Got new fstab entry: <Entry /var/log/audit /dev/mapper/onn_node--iso--8042-var_log_audit /var/log/audit xfs ['defaults', 'discard'] />
2022-03-07 15:08:38,583 [DEBUG] (MainThread) Got new fstab entry: <Entry /dev/onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1 / xfs ['defaults', 'discard'] />
2022-03-07 15:08:38,591 [DEBUG] (MainThread) Relabeling selinux
2022-03-07 15:08:38,591 [DEBUG] (MainThread) Calling: (['getenforce'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:38,594 [DEBUG] (MainThread) Returned: b'Permissive'
2022-03-07 15:08:38,595 [DEBUG] (MainThread) Calling: (['runcon', '-t',
'setfiles_t', '--', 'chroot', '/tmp/mnt.Gq4e4', 'setfiles', '-v',
'/etc/selinux/targeted/contexts/files/file_contexts', '-e',
'/usr/share/factory', '-e', '/var/cache/app-info', '/etc', '/usr/bin',
'/usr/libexec', '/usr/sbin', '/usr/share', '/var'],) {'close_fds': True,
'stderr': -2}
2022-03-07 15:08:44,295 [DEBUG] (MainThread) Returned: b'Can\'t stat exclude
path "/var/cache/app-info", No such file or directory - ignoring.\nRelabeled
/etc/resolv.conf from system_u:object_r:root_t:s0 to
system_u:object_r:net_conf_t:s0\nRelabeled /etc/X11/xorg.conf.d/00-keyboard.conf
from system_u:object_r:mock_var_lib_t:s0 to
system_u:object_r:xserver_etc_t:s0\nRelabeled /usr/share/dnf from
system_u:object_r:rpm_var_lib_t:s0 to system_u:object_r:usr_t:s0\nRelabeled
/usr/share/rpm from system_u:object_r:rpm_var_lib_t:s0 to
system_u:object_r:usr_t:s0\nRelabeled /usr/share/rpm/.rpm.lock from
syst'
2022-03-07 15:08:44,295 [DEBUG] (MainThread) Calling: (['runcon', '-t',
'setfiles_t', '--', 'chroot', '/tmp/mnt.Gq4e4', 'setfiles', '-v',
'/etc/selinux/targeted/contexts/files/file_contexts.homedirs', '-e',
'/usr/share/factory', '-e', '/var/cache/app-info', '/etc', '/usr/bin',
'/usr/libexec', '/usr/sbin', '/usr/share', '/var'],) {'close_fds': True,
'stderr': -2}
2022-03-07 15:08:44,373 [DEBUG] (MainThread) Returned: b'Can\'t stat exclude
path "/var/cache/app-info", No such file or directory - ignoring.\nWarning no
default label for /etc\nWarning no default label for /usr/bin\nWarning no
default label for /usr/libexec\nWarning no default label for /usr/sbin\nWarning
no default label for /usr/share\nWarning no default label for /var'
2022-03-07 15:08:44,373 [DEBUG] (MainThread) Calling: (['runcon', '-t',
'setfiles_t', '--', 'chroot', '/tmp/mnt.Gq4e4', 'setfiles', '-v',
'/etc/selinux/targeted/contexts/files/file_contexts.local', '-e',
'/usr/share/factory', '-e', '/var/cache/app-info', '/etc', '/usr/bin',
'/usr/libexec', '/usr/sbin', '/usr/share', '/var'],) {'close_fds': True,
'stderr': -2}
2022-03-07 15:08:44,433 [DEBUG] (MainThread) Returned: b'Can\'t stat exclude
path "/var/cache/app-info", No such file or directory - ignoring.\nWarning no
default label for /etc\nWarning no default label for /usr/bin\nWarning no

iso--8042-ovirt--node--ng--4.5.0--0.20220307.0+1'
2022-03-07 15:08:44,438 [DEBUG] (MainThread) Calling: (['lvs', '--noheadings', '
--ignoreskippedcluster', '-ovg_name,lv_name', '/dev/mapper/onn_node--iso--
8042-ovirt--node--ng--4.5.0--0.20220307.0+1'],) {'stderr': <_io.TextIOWrapper
name='/dev/null' mode='w' encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:44,469 [DEBUG] (MainThread) Returned: b'onn_node-iso-8042
ovirt-node-ng-4.5.0-0.20220307.0+1'
2022-03-07 15:08:44,469 [DEBUG] (MainThread) Found LV for path
/dev/mapper/onn_node--iso--8042-ovirt--node--ng--4.5.0--0.20220307.0+1:
onn_node-iso-8042 ovirt-node-ng-4.5.0-0.20220307.0+1
2022-03-07 15:08:44,469 [DEBUG] (MainThread) BLS enabled, regenerating grub
config file
2022-03-07 15:08:44,471 [DEBUG] (MainThread) Calling: (['grub2-mkconfig', '-o',
'/boot/grub2/grub.cfg'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:46,334 [DEBUG] (MainThread) Returned: b'Generating grub
configuration file ...\nAdding boot menu entry for UEFI Firmware Settings
...\ndone'
2022-03-07 15:08:46,334 [DEBUG] (MainThread) Calling: (['findmnt', '-no',
'UUID', '/boot'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:46,339 [DEBUG] (MainThread) Returned:
b'09257280-c1bb-4b1f-a8b7-165e8ff6b663'
$tuned_initrd"\ntitle="CentOS Stream (5.14.0-70.el9.x86_64)
9"\nid="778f2e9cbdda48d6b6f9a37d7da3948a-5.14.0-70.el9.x86_64"'
2022-03-07 15:08:46,374 [DEBUG] (MainThread) Found valid entries: {}
2022-03-07 15:08:46,374 [DEBUG] (MainThread) Found other entries:
[<imgbased.bootloader.Grubby.GrubbyEntry object at 0x7f06007f4d00>]
2022-03-07 15:08:46,374 [DEBUG] (MainThread) Calling: (['rpm', '-q', '--qf',
'%{name}-%{version}-%{release}.%{arch}\\n', '--whatprovides', 'kernel', '--
dbpath', '/tmp/mnt.Gq4e4/usr/share/rpm'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:46,399 [DEBUG] (MainThread) Calling: (['rpm', '-ql', 'kernel-
core-5.14.0-70.el9.x86_64', '--dbpath', '/tmp/mnt.Gq4e4/usr/share/rpm'],)
{'close_fds': True, 'stderr': -2}
2022-03-07 15:08:46,436 [DEBUG] (MainThread) Calling: (['rpm', '-ql',
'kernel-5.14.0-70.el9.x86_64', '--dbpath', '/tmp/mnt.Gq4e4/usr/share/rpm'],)
{'close_fds': True, 'stderr': -2}
2022-03-07 15:08:46,451 [DEBUG] (MainThread) kfiles={'kernel-
core-5.14.0-70.el9.x86_64': ['/boot/.vmlinuz-5.14.0-70.el9.x86_64.hmac',
'/boot/System.map-5.14.0-70.el9.x86_64', '/boot/config-5.14.0-70.el9.x86_64',
'/boot/initramfs-5.14.0-70.el9.x86_64.img',
'/boot/symvers-5.14.0-70.el9.x86_64.gz', '/boot/vmlinuz-5.14.0-70.el9.x86_64']}
2022-03-07 15:08:46,451 [DEBUG] (MainThread) Checking if /boot/ovirt-node-
ng-4.5.0-0.20220307.0+1/vmlinuz-5.14.0-70.el9.x86_64 is listed in []

ng-4.5.0-0.20220307.0+1
2022-03-07 15:08:46,454 [DEBUG] (MainThread) safe_copy_file: /boot/config-5.14.0-70.el9.x86_64 to /boot/ovirt-node-ng-4.5.0-0.20220307.0+1
2022-03-07 15:08:46,454 [DEBUG] (MainThread) safe_copy_file: /boot/initramfs-5.14.0-70.el9.x86_64.img to /boot/ovirt-node-ng-4.5.0-0.20220307.0+1
2022-03-07 15:08:46,477 [DEBUG] (MainThread) safe_copy_file: /boot/symvers-5.14.0-70.el9.x86_64.gz to /boot/ovirt-node-ng-4.5.0-0.20220307.0+1
2022-03-07 15:08:46,478 [DEBUG] (MainThread) safe_copy_file: /boot/vmlinuz-5.14.0-70.el9.x86_64 to /boot/ovirt-node-ng-4.5.0-0.20220307.0+1
2022-03-07 15:08:46,482 [DEBUG] (MainThread) safe_copy_file: /boot/.vmlinuz-5.14.0-70.el9.x86_64.hmac to /boot/
2022-03-07 15:08:46,482 [DEBUG] (MainThread) safe_copy_file: /boot/vmlinuz-5.14.0-70.el9.x86_64 to /boot/
2022-03-07 15:08:46,487 [INFO] (MainThread) Adding bootloader entry ovirt-node-ng-4.5.0-0.20220307.0 (/boot/ovirt-node-ng-4.5.0-0.20220307.0+1/vmlinuz-5.14.0-70.el9.x86_64, /boot/ovirt-node-ng-4.5.0-0.20220307.0+1/initramfs-5.14.0-70.el9.x86_64.img)
2022-03-07 15:08:46,487 [DEBUG] (MainThread) Adding entry: ovirt-node-ng-4.5.0-0.20220307.0+1

node-ng-4.5.0-0.20220307.0+1 rd.lvm.lv=onn_node-iso-8042/swap console=ttyS0
root=/dev/onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1
boot=UUID=09257280-c1bb-4b1f-a8b7-165e8ff6b663 rootflags=discard
img.bootid=ovirt-node-ng-4.5.0-0.20220307.0+1', '--title', 'ovirt-node-
ng-4.5.0-0.20220307.0 (5.14.0-70.el9.x86_64)', '--bls-directory', '/tmp/tmp9e7k8dre', '--bad-image-okay'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:46,538 [INFO] (MainThread) Removing other boot entries
2022-03-07 15:08:46,538 [DEBUG] (MainThread) Calling: (['grubby', '--info=ALL',
'--bad-image-okay'],) {'stderr': <_io.TextIOWrapper name='/dev/null' mode='w'
encoding='UTF-8'>, 'close_fds': True}
2022-03-07 15:08:46,597 [DEBUG] (MainThread) Returned: b'index=0\nkernel="/boot/
vmlinuz-5.14.0-70.el9.x86_64"\nargs="inst.ks=file:///node-iso-install.ks
inst.sshd=1 console=ttyS0
$tuned_params"\ninitrd="/boot/initramfs-5.14.0-70.el9.x86_64.img
$tuned_initrd"\ntitle="CentOS Stream (5.14.0-70.el9.x86_64) 9"\nid="778f2e9cbdda
48d6b6f9a37d7da3948a-5.14.0-70.el9.x86_64"\nindex=1\nkernel="/boot//ovirt-node-n
g-4.5.0-0.20220307.0+1/vmlinuz-5.14.0-70.el9.x86_64"\nargs="crashkernel=1G-4G:19
2M,4G-64G:256M,64G-:512M resume=/dev/mapper/onn_node--iso--8042-swap
rd.lvm.lv=onn_node-iso-8042/ovirt-node-ng-4.5.0-0.20220307.0+1
rd.lvm.lv=onn_node-iso-8042/swap console=ttyS0
boot=UUID=09257280-c1bb-4b1f-a8b7-165e8ff6b663 rootflags=discard
img.bootid=ovirt-node-ng-4.5.0-0.20220307.0+1"\nroot="/dev/onn_node-

rd.lvm.lv=onn_node-iso-8042/swap console=ttyS0
boot=UUID=09257280-c1bb-4b1f-a8b7-165e8ff6b663 rootflags=discard
img.bootid=ovirt-node-ng-4.5.0-0.20220307.0+1
2022-03-07 15:08:46,598 [DEBUG] (MainThread) Found valid entries: {'ovirt-node-ng-4.5.0-0.20220307.0+1': [<imgbased.bootloader.Grubby.GrubbyEntry object at 0x7f06007f48e0>]}
2022-03-07 15:08:46,598 [DEBUG] (MainThread) Found other entries: [<imgbased.bootloader.Grubby.GrubbyEntry object at 0x7f06007f4b50>]
2022-03-07 15:08:46,598 [DEBUG] (MainThread) Removing other boot entry: id="778f2e9cbdda48d6b6f9a37d7da3948a-5.14.0-70.el9.x86_64
2022-03-07 15:08:46,598 [DEBUG] (MainThread) Calling: (['umount', '-R', '-l', '/tmp/mnt.Gq4e4/var'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:46,607 [DEBUG] (MainThread) Calling: (['umount', '-l', '/tmp/mnt.Gq4e4'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:46,702 [DEBUG] (MainThread) Calling: (['rmdir', '/tmp/mnt.Gq4e4'],) {'close_fds': True, 'stderr': -2}
2022-03-07 15:08:46,704 [ERROR] (MainThread) Failed to update OS
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/imgbased/plugins/osupdater.py", line 264, in migrate_boot
    adjust_mounts_and_boot(imgbase, new_lv, previous_layer_lv)

remove_other_entries
    return self.bootloader.remove_other_entries()
  File "/usr/lib/python3.9/site-packages/imgbased/bootloader.py", line 355, in remove_other_entries
    self._remove_entry(e)
  File "/usr/lib/python3.9/site-packages/imgbased/bootloader.py", line 251, in _remove_entry
    os.unlink(entry.bls_conf_path())
  File "/usr/lib/python3.9/site-packages/imgbased/bootloader.py", line 186, in bls_conf_path
    raise RuntimeError("Missing bls id for %s" % self)
RuntimeError: Missing bls id for <imgbased.bootloader.Grubby.GrubbyEntry object at 0x7f06007f4b50>
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/imgbased/plugins/osupdater.py", line 264, in migrate_boot
    adjust_mounts_and_boot(imgbase, new_lv, previous_layer_lv)
  File "/usr/lib/python3.9/site-packages/imgbased/plugins/osupdater.py", line 1047, in adjust_mounts_and_boot
    BootSetupHandler(
  File "/usr/lib/python3.9/site-packages/imgbased/bootsetup.py", line 104, in self._remove_entry(e)
  File "/usr/lib/python3.9/site-packages/imgbased/bootloader.py", line 251, in _remove_entry
    os.unlink(entry.bls_conf_path())
  File "/usr/lib/python3.9/site-packages/imgbased/bootloader.py", line 186, in bls_conf_path
    raise RuntimeError("Missing bls id for %s" % self)
RuntimeError: Missing bls id for <imgbased.bootloader.Grubby.GrubbyEntry object at 0x7f06007f4b50>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib64/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib64/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3.9/site-packages/imgbased/__main__.py", line 53, in <module>
    CliApplication()
  File "/usr/lib/python3.9/site-packages/imgbased/__init__.py", line 82, in post_argparse
    layout.initialize(args.source, args.init_nvr)
  File "/usr/lib/python3.9/site-packages/imgbased/plugins/core.py", line 216, in initialize
    self.app.imgbase.init_layout_from(source, init_nvr)
  File "/usr/lib/python3.9/site-packages/imgbased/imgbase.py", line 314, in init_layout_from
    self.add_layer(initial_base, new_layer)
  File "/usr/lib/python3.9/site-packages/imgbased/imgbase.py", line 213, in add_layer
    self.hooks.emit("new-layer-added", prev_lv, new_lv)
  File "/usr/lib/python3.9/site-packages/imgbased/hooks.py", line 120, in emit
    cb(self.context, *args)
  File "/usr/lib/python3.9/site-packages/imgbased/plugins/osupdater.py", line 119, in on_new_layer
    migrate_boot(imgbase, new_lv, previous_layer_lv)
  File "/usr/lib/python3.9/site-packages/imgbased/plugins/osupdater.py", line 268, in migrate_boot
    raise BootSetupError()
imgbased.plugins.osupdater.BootSetupError

To reproduce
On CentOS Stream 9:

export SUPERMIN_MODULES="/usr/lib/modules/$(uname -r)"
export CHECK_ISO="True"
./build.sh

When the VM is up, connect with virsh console and watch the installation

oVirt Node boots into ermergency mode after adding in Engine

Describe the bug

  • oVirt Node boots into emergency mode after adding it to the Engine (Installation in Engine is successful)
  • the reboot after the installation from ISO is successful, it fails only after adding it to the Engine
  • The failure is LVM on several /var Volumes

To reproduce

  • Install oVirt Node, Reboot, add it to Engine, fails to boot

Expected behavior

  • Install oVirt Node, Reboot, add it to Engine, boot successfully

Screenshots

  • I will add some if they help

Additional context

  • tried several options:
    ovirt-node-ng-installer-4.5.2-2022081013.el8.iso -> does not boot after adding
    ovirt-node-ng-installer-4.5.2-2022081013.el9.iso -> does boot after adding
    Centos Stream 8 -> does boot after adding
    Rocky Linux 8.6 -> does boot after adding

  • The Server is a Supermicro 1024US-TRT, 2 Sockets, 2TB Ram

  • Boot is from FC SAN! HBA: Qlogic qle2672

  • Storage is a IBM Storwize Fabric attached (also tried a old DS3500 direct and Fabric attached, same result)

  • Boot from a internal Disk works!

I'm a little bit lost in which logs I should provide? Thanks!

I reported an error when using the image installation

Describe the bug
An error occurred while the system installation was complete

Screenshots
安装报错

After exiting the installation, you can enter the system normally, but the following error message is displayed

This error occurred when I tried to install the following versions
ovirt-node-ng-installer-4.3.10-2020060117.el7.iso
ovirt-node-ng-installer-4.4.10-2022030308.el8.iso

Traceback (most recent call last): File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/usr/lib/python2.7/site-packages/nodectl/__main__.py", line 42, in <module> CliApplication() File "/usr/lib/python2.7/site-packages/nodectl/__init__.py", line 200, in CliApplication return cmdmap.command(args) File "/usr/lib/python2.7/site-packages/nodectl/__init__.py", line 118, in command return self.commands[command](**kwargs) File "/usr/lib/python2.7/site-packages/nodectl/__init__.py", line 101, in motd Motd(Status(Health(self.imgbased).status(), File "/usr/lib/python2.7/site-packages/imgbased/plugins/core.py", line 358, in status status.results.append(group().run()) File "/usr/lib/python2.7/site-packages/imgbased/plugins/core.py", line 385, in check_thin pool = self.app.imgbase._thinpool() File "/usr/lib/python2.7/site-packages/imgbased/imgbase.py", line 120, in _thinpool return LVM.Thinpool.from_tag(self.thinpool_tag) File "/usr/lib/python2.7/site-packages/imgbased/lvm.py", line 227, in from_tag assert len(lvs) == 1 AssertionError Admin Console: https://10.11.1.16:9090/

Deprecated API usage in scripts/renderks.py

Describe the bug

scripts/renderks.py:17:
  YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe.
  Please read https://msg.pyyaml.org/load for full details.

To reproduce

export SUPERMIN_MODULES="/usr/lib/modules/$(uname -r)"
export CHECK_ISO="True"
./build.sh

Expected behavior
Deprecated API shouldn't be used

Engine deployment on oVirt Node NG 4.5.3 (Stream 9) fails due to missing gpg key

Hello,

i try to deploy a new oVirt Cluster by using a fresh node installed with "ovirt-node-ng-installer-latest-el9.iso" (4.5.3, secureboot disabled). This works fine, but trying to deploy hosted engine with "hosted-engine --deploy" it fails after some time because the gpg key for the ovirt-engine-appliance is missing, this leads to a failed deployment.

[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Install ovirt-engine-appliance rpm] [ ERROR ] fatal: [localhost]: FAILED! => {"attempts": 10, "changed": false, "msg": "Failed to validate GPG signature for ovirt-engine-appliance-4.5-20221026100609.1.el9.x86_64: Public key for ovirt-engine-appliance-4.5-20221026100609.1.el9.x86_64.rpm is not installed"}

Anyone know a quick workaround for this issue?

automation: failing to detect IP address while testing the built ISO

Describe the bug
check_iso step is failing to detect the local IP address while running on GitHub actions
:

ISO_INSTALL_TIMEOUT=40
+ ./scripts/node-setup/setup-node-appliance.sh -i ovirt-node-ng-installer-4.5.0-2022022318.el8.iso -p ovirt
+ setup_rc=1
++ grep available setup-iso.log
++ cut -d: -f1
+ local name=
++ grep -Po '(?<=at ).*' setup-iso.log
+ local addr=
++ grep -Po '(?<=WORKDIR: ).*' setup-iso.log
+ local wrkdir=/github/home/ovirt-node
+ local sshkey=/github/home/ovirt-node/sshkey-
+ fetch_remote /github/home/ovirt-node/sshkey- '' /tmp init_tmp 1
+ local sshkey=/github/home/ovirt-node/sshkey-
+ local addr=
+ local path=/tmp
+ local dest=init_tmp
+ local compress=1
+ scp -o 'UserKnownHostsFile /dev/null' -o 'StrictHostKeyChecking no' -i /github/home/ovirt-node/sshkey- -r root@:/tmp init_tmp
Warning: Identity file /github/home/ovirt-node/sshkey- not accessible: No such file or directory.
ssh: Could not resolve hostname : Name or service not known

Failure to deploy oVirt node with security profile (PCI-DSS)

As reported on ovirt users mailing list:

I tried with el8 & el9 oVirt Node 4.5.4 isos,
But in both cases, the installation failed when selecting the PCI-DSS security profile. Please see screenshots attached

According to 4.5.0 release note this is a supported feature :

BZ 2030226 [RFE] oVirt hypervisors should support running on hosts with the PCI-DSS security profile applied
The oVirt Hypervisor is now capable of running on machine with PCI-DSS security profile.

https://bugzilla.redhat.com/show_bug.cgi?id=2030226

As the RFE says that deployment works, I guess this is a regression somewhere between 4.5.0 & 4.5.4

On the mailing list, @sandrobonazzola answered :

In the screenshot I see ssg-onn4-ds being selected, I would have expected it to be ssg-onn45-ds.xml as that's the one being created in https://github.com/oVirt/ovirt-node-ng-image.
This one should be an easy fix, just changing the name of the file to match what's expected by anaconda.

Screenshot from 2023-04-03 15-41-15
Screenshot from 2023-04-03 15-56-03
Screenshot from 2023-04-03 15-56-18
Screenshot from 2023-04-03 15-56-31
Screenshot from 2023-04-03 15-56-55
Screenshot from 2023-04-03 15-57-11

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.