<div dir="ltr">Hey Sergey -<div><br></div><div>If you check "lvs" and ensure that there's not actually a new LV from the update, you can cleanly 'rpm -e ovirt-node-ng-image-update', and be ok without redeploying.</div><div><br></div><div>Unfortunately, it's hard to tell from the logs (and '--justdb' hanging) what's happening here, but I'll try to reproduce.</div><div><br></div><div>NetworkManager disablement should "stick" across upgrades, but it's possible that iscsi roots are doing something here. I'll check for a dracut flag, also...</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 6, 2017 at 1:14 PM, Sandro Bonazzola <span dir="ltr"><<a href="mailto:sbonazzo@redhat.com" target="_blank">sbonazzo@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Adding Douglas and Ryan</div><div class="gmail_extra"><br><div class="gmail_quote">Il 06/Feb/2017 13:32, "Sergey Kulikov" <<a href="mailto:serg_k@msm.ru" target="_blank">serg_k@msm.ru</a>> ha scritto:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
1) I've updated from 4.0.6 to 4.1.0 (on Feb 01 node-ng was at version 4.1.0-0)<br>
After some time engine alerted, that this node have updates to ovirt-node-ng-image-4.1.0-1,<br>
but update from engine timed out, there were hanging processes in ps on this node:<br>
<br>
root 36309 0.0 0.0 113120 1564 ? Ss 19:04 0:00 bash -c umask 0077; MYTMP="$(TMPDIR="${OVIRT_TMPDI<wbr>R}" mktemp -d -t ovirt-XXXXXXXXXX)"; trap "chmod -R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr \"${MYTMP}\" > /dev/null 2>&1" 0; tar --warning=no-timestamp -C "${MYTMP}" -x && "${MYTMP}"/ovirt-host-mgmt DIALOG/dialect=str:machine DIALOG/customization=bool:True<br>
root 36339 0.2 0.0 496700 94208 ? S 19:04 0:21 /bin/python /tmp/ovirt-GCmVusccfe/pythonli<wbr>b/otopi/__main__.py "BASE/pluginPath=str:/tmp/ovir<wbr>t-GCmVusccfe/otopi-plugins" APPEND:BASE/pluginGroups=str:o<wbr>virt-host-common:ovirt-host-mg<wbr>mt DIALOG/dialect=str:machine DIALOG/customization=bool:True<br>
root 37498 0.0 0.0 113124 1452 ? S 19:09 0:00 /bin/sh /var/tmp/rpm-tmp.4UqJ4e 1<br>
root 37560 0.0 0.0 0 0 ? S< 21:42 0:00 [kworker/21:2H]<br>
root 37626 0.0 0.0 174516 5996 ? S 19:09 0:00 rpm -Uvh --quiet --justdb /usr/share/imgbased/ovirt-node<wbr>-ng-image-update-4.1.0-1.el7.<wbr>centos.noarch.rpm<br>
<br>
they were hanging forever, I ended up with rebooting the node, no errors in log, it was just hanging at:<br>
<br>
2017-02-03 19:09:16 DEBUG otopi.plugins.otopi.dialog.mac<wbr>hine dialog.__logString:204 DIALOG:SEND ***CONFIRM GPG_KEY Confirm use of GPG Key userid=oVirt <<a href="mailto:infra@ovirt.org" target="_blank">infra@ovirt.org</a>> hexkeyid=FE590CB7<br>
2017-02-03 19:09:16 DEBUG otopi.plugins.otopi.dialog.mac<wbr>hine dialog.__logString:204 DIALOG:SEND ###<br>
2017-02-03 19:09:16 DEBUG otopi.plugins.otopi.dialog.mac<wbr>hine dialog.__logString:204 DIALOG:SEND ### Please confirm 'GPG_KEY' Confirm use of GPG Key userid=oVirt <<a href="mailto:infra@ovirt.org" target="_blank">infra@ovirt.org</a>> hexkeyid=FE590CB7<br>
2017-02-03 19:09:16 DEBUG otopi.plugins.otopi.dialog.mac<wbr>hine dialog.__logString:204 DIALOG:SEND ### Response is CONFIRM GPG_KEY=yes|no or ABORT GPG_KEY<br>
2017-02-03 19:09:16 DEBUG otopi.plugins.otopi.dialog.mac<wbr>hine dialog.__logString:204 DIALOG:RECEIVE CONFIRM GPG_KEY=yes<br>
2017-02-03 19:09:16 INFO otopi.plugins.otopi.packagers.<wbr>yumpackager <a href="http://yumpackager.info:80" rel="noreferrer" target="_blank">yumpackager.info:80</a> Yum Status: Running Test Transaction<br>
Running Transaction Check<br>
2017-02-03 19:09:16 INFO otopi.plugins.otopi.packagers.<wbr>yumpackager <a href="http://yumpackager.info:80" rel="noreferrer" target="_blank">yumpackager.info:80</a> Yum Status: Running Transaction<br>
2017-02-03 19:09:16 INFO otopi.plugins.otopi.packagers.<wbr>yumpackager <a href="http://yumpackager.info:80" rel="noreferrer" target="_blank">yumpackager.info:80</a> Yum install: 1/2: ovirt-node-ng-image-4.1.0-1.el<wbr>7.centos.noarch<br>
2017-02-03 19:09:20 DEBUG otopi.plugins.otopi.packagers.<wbr>yumpackager yumpackager.verbose:76 Yum Done: ovirt-node-ng-image-4.1.0-1.el<wbr>7.centos.noarch<br>
2017-02-03 19:09:20 INFO otopi.plugins.otopi.packagers.<wbr>yumpackager <a href="http://yumpackager.info:80" rel="noreferrer" target="_blank">yumpackager.info:80</a> Yum install: 2/2: ovirt-node-ng-image-update-4.1<wbr>.0-1.el7.centos.noarch<br>
<br>
now my node have this layout:<br>
# imgbase layout<br>
ovirt-node-ng-4.1.0-0.20170201<wbr>.0<br>
+- ovirt-node-ng-4.1.0-0.20170201<wbr>.0+1<br>
(so update failed)<br>
but 4.1.0-1 rpms are marked as "installed" and yum can't find any updates, can I rollback to base layout without installed 4.1.0-1 rms ?<br>
imgbase rollback needs at least 2 layers over base.<br>
<br>
Or maybe the only way is to reinstall this node?<br>
<br>
2) And another question, how can I disable NetworkManger permanently, or exclude some interfaces permanently?<br>
I've tried to disable NetworkManger by systemctl, but after update from 4.0 to 4.1 it was re-enabled(so it's not persistent between updates).<br>
I've an issue with iscsi root and enabled NetworkManger, because NM tries to bring down\up my iscsi interfaces on boot, and sometimes FS remounting RO<br>
because of IO errors, I can't put NM_CONTROLLED=no in ifcfg, because ifcfg is generated by dracut at every boot.<br>
<br>
<br>
-<br>
<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
</blockquote></div></div>
</blockquote></div><br></div>