<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">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_<wbr>TMPDIR}" 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/<wbr>pythonlib/otopi/__main__.py "BASE/pluginPath=str:/tmp/<wbr>ovirt-GCmVusccfe/otopi-<wbr>plugins" APPEND:BASE/pluginGroups=str:<wbr>ovirt-host-common:ovirt-host-<wbr>mgmt 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-<wbr>node-ng-image-update-4.1.0-1.<wbr>el7.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.<wbr>machine dialog.__logString:204 DIALOG:SEND ***CONFIRM GPG_KEY Confirm use of GPG Key userid=oVirt <<a href="mailto:infra@ovirt.org">infra@ovirt.org</a>> hexkeyid=FE590CB7<br>
2017-02-03 19:09:16 DEBUG otopi.plugins.otopi.dialog.<wbr>machine dialog.__logString:204 DIALOG:SEND ###<br>
2017-02-03 19:09:16 DEBUG otopi.plugins.otopi.dialog.<wbr>machine dialog.__logString:204 DIALOG:SEND ### Please confirm 'GPG_KEY' Confirm use of GPG Key userid=oVirt <<a href="mailto:infra@ovirt.org">infra@ovirt.org</a>> hexkeyid=FE590CB7<br>
2017-02-03 19:09:16 DEBUG otopi.plugins.otopi.dialog.<wbr>machine 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.<wbr>machine 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.<wbr>el7.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.<wbr>el7.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.<wbr>1.0-1.el7.centos.noarch<br>
<br>
now my node have this layout:<br>
# imgbase layout<br>
ovirt-node-ng-4.1.0-0.<wbr>20170201.0<br>
+- ovirt-node-ng-4.1.0-0.<wbr>20170201.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">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
</blockquote></div></div>