
On Wed, Jun 19, 2019 at 8:24 PM <zachary.winter@witsconsult.com> wrote:
I am receiving the following error when attempting to update a Node manually that will not update through the administration portal:
error: %pre(ovirt-node-ng-image-update-4.3.4-1.el7.noarch) scriptlet failed, exit status 1 Error in PREIN scriptlet in rpm package ovirt-node-ng-image-update-4.3.4-1.el7.noarch
Software OS Version: RHEL - 7 - 6.1810.2.el7.centos OS Description: oVirt Node 4.3.3.1 Kernel Version: 3.10.0 - 957.10.1.el7.x86_64 KVM Version: 2.12.0 - 18.el7_6.3.1 LIBVIRT Version: libvirt-4.5.0-10.el7_6.6 VDSM Version: vdsm-4.30.13-1.el7 SPICE Version: 0.14.0 - 6.el7_6.1 GlusterFS Version: glusterfs-5.5-1.el7 CEPH Version: librbd1-10.2.5-4.el7 Open vSwitch Version: openvswitch-2.10.1-3.el7 Kernel Features: PTI: 1, IBRS: 0, RETP: 1, SSBD: 3 VNC Encryption: Enabled
Any advice?
Perhaps try to find out what exactly failed? IIRC you might find stuff in the logs (/var/log/ovirt-engine/host-deploy/*). If not, you can try checking 'yum history' and 'yum history info $ID', or if you want to try again: yum --rpmverbosity=debug update $PACKAGE (and either also '-y' and redirect to a file, or be prepared for a very long output in your terminal to copy/paste later). If you fail to get more info, 'rpm -q --scripts $PACKAGE' should should you the scripts it runs. In the case of ovirt-node-ng-update-image, the %pre script is [1]: ================================================================= local_sds=($(find / -xdev -name "__DIRECT_IO_TEST__")) if [ "$local_sds" ]; then echo "Local storage domains were found on the same filesystem as / ! Please migrate the data to a new LV before upgrading, or you will lose the VMs" echo "See: https://bugzilla.redhat.com/show_bug.cgi?id=1550205#c3" echo "Storage domains were found in:" for sd in "${local_sds[@]}"; do echo -e "\t$(dirname $sd)" done exit 1 fi ================================================================= I can see mainly two ways in which it can fail - either the 'find' command failed for whatever reason (unintendedly), or local storage domains were found (and then the failure is intended) and you should get somewhere the output - did you? Best regards, [1] https://github.com/oVirt/ovirt-node-ng/blob/master/packaging/ovirt-node-ng.s... -- Didi