<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Dec 23, 2017 at 11:18 AM, Gianluca Cecchi <span dir="ltr">&lt;<a href="mailto:gianluca.cecchi@gmail.com" target="_blank">gianluca.cecchi@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><span class="gmail-"><div class="gmail_extra"><div class="gmail_quote">On Fri, Dec 22, 2017 at 10:22 PM, Sandro Bonazzola <span dir="ltr">&lt;<a href="mailto:sbonazzo@redhat.com" target="_blank">sbonazzo@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><span class="gmail-m_-7610157186537121709gmail-"><div><br><div class="gmail_extra"><br><div class="gmail_quote">Il 22 Dic 2017 10:12 PM, &quot;Yaniv Kaul&quot; &lt;<a href="mailto:ykaul@redhat.com" target="_blank">ykaul@redhat.com</a>&gt; ha scritto:<br type="attribution"><blockquote class="gmail-m_-7610157186537121709gmail-m_-7204618760161936258quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div class="gmail-m_-7610157186537121709gmail-m_-7204618760161936258elided-text"><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Dec 22, 2017 7:33 PM, &quot;Gianluca Cecchi&quot; &lt;<a href="mailto:gianluca.cecchi@gmail.com" target="_blank">gianluca.cecchi@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail-m_-7610157186537121709gmail-m_-7204618760161936258m_6654239614441438449quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Hello, after upgrading engine and then  plain CentOS 7.4 host from 4.1 to 4.2, I see in host section if I select line for the host, right click and host console... That tries to go to the typical 9090 cockpit Port of node-ng...<div dir="auto">Is this an error or in 4.2 the access to host console is for plain OS nodes too?</div><div dir="auto">In that case is there any service I have to enable on host?</div><div dir="auto">It seems indeed my host is not currently listening on 9090 Port....</div></div></blockquote></div></div></div><div dir="auto"><br></div></div><div dir="auto">Cockpit + firewall settings to enable to get to it. </div></div></blockquote></div></div></div><div dir="auto"><br></div></span><div dir="auto">Cockpit service should be up and running after the upgrade. Ovirt hist depliy takes care of it. Firewall is configured by the engine unless you disabled firewall config on the host configuration dialog.</div><div dir="auto"><br></div><div dir="auto">Didi, can you help here? Gianluca, can you share host upgrade logs?</div><span class="gmail-m_-7610157186537121709gmail-"><div dir="auto"><br></div><div dir="auto"><br></div></span></div>
</blockquote></div></div><div class="gmail_extra"><br></div></span><div class="gmail_extra">Hello,</div><div class="gmail_extra">this is a plain CentOS, not ovirt-node-ng one, that was upgraded from 4.1.7 to 4.2<br></div><div class="gmail_extra">So the upgrade path has been to put the host into maintenance, yum update, reboot.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Indeed cockpit has been installed as part of the yum update part:</div><div class="gmail_extra"><br></div><div class="gmail_extra">Dec 22 10:40:07 Installed: cockpit-bridge-155-1.el7.<wbr>centos.x86_64<br>Dec 22 10:40:07 Installed: cockpit-system-155-1.el7.<wbr>centos.noarch<br>Dec 22 10:40:40 Installed: cockpit-networkmanager-155-1.<wbr>el7.centos.noarch<br>Dec 22 10:40:42 Installed: cockpit-ws-155-1.el7.centos.<wbr>x86_64<br>Dec 22 10:40:43 Installed: cockpit-155-1.el7.centos.x86_<wbr>64<br>Dec 22 10:40:52 Installed: cockpit-storaged-155-1.el7.<wbr>centos.noarch<br>Dec 22 10:40:57 Installed: cockpit-dashboard-155-1.el7.<wbr>centos.x86_64<br>Dec 22 10:41:35 Installed: cockpit-ovirt-dashboard-0.11.<wbr>3-0.1.el7.centos.noarch<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">I also see that there is a systemd cockpit.service unit that is configured as static and requires a cockpit.socket unit, that in turn is WantedBy sockets.target</div><div class="gmail_extra"><br></div><div class="gmail_extra">But if I run <br></div><div class="gmail_extra"><br></div><div class="gmail_extra">[root@ovirt01 ~]# remotectl certificate<br>remotectl: No certificate found in dir: /etc/cockpit/ws-certs.d<br>[root@ovirt01 ~]# <br></div><div class="gmail_extra"><br></div><div class="gmail_extra">So it seems that the cockpit.service ExecStartPre has not been ever run... <br></div><div class="gmail_extra">ExecStartPre=/usr/sbin/<wbr>remotectl certificate --ensure --user=root --group=cockpit-ws --selinux-type=etc_t</div><div class="gmail_extra"><br></div><div class="gmail_extra">[root@ovirt01 ~]# systemctl status cockpit.service<br>● cockpit.service - Cockpit Web Service<br>   Loaded: loaded (/usr/lib/systemd/system/<wbr>cockpit.service; static; vendor preset: disabled)<br>   Active: inactive (dead)<br>     Docs: man:cockpit-ws(8)<br>[root@ovirt01 ~]# <br><span class="gmail-HOEnZb"><font color="#888888"><br></font></span></div><span class="gmail-HOEnZb"><font color="#888888"><div class="gmail_extra">Gianluca<br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div></font></span></div>
</blockquote></div></div><div class="gmail_extra"><br></div><div class="gmail_extra">I see these lines in /var/log/messages (on host I have no iptables and no firewalld active and selinux is permissive):</div><div class="gmail_extra"><br></div><div class="gmail_extra">Dec 22 10:40:40 ovirt01 yum[116794]: Installed: cockpit-networkmanager-155-1.el7.centos.noarch<br>Dec 22 10:40:41 ovirt01 systemd: Reloading.<br>Dec 22 10:40:41 ovirt01 vdsm-tool: module dump_volume_chains could not load to vdsm-tool: Traceback (most recent call last):#012  File &quot;/usr/bin/vdsm-tool&quot;, line 91, in load_modules#012    mod_absp, mod_desc)#012  File &quot;/usr/lib/python2.7/site-packages/vdsm/tool/dump_volume_chains.py&quot;, line 26, in &lt;module&gt;#012    from vdsm import client#012  File &quot;/usr/lib/python2.7/site-packages/vdsm/client.py&quot;, line 106, in &lt;module&gt;#012    from vdsm.api import vdsmapi#012  File &quot;/usr/lib/python2.7/site-packages/vdsm/api/vdsmapi.py&quot;, line 29, in &lt;module&gt;#012    from vdsm.common.logutils import Suppressed#012ImportError: No module named logutils<br>Dec 22 10:40:41 ovirt01 systemd: [/usr/lib/systemd/system/ip6tables.service:3] Failed to add dependency on syslog.target,iptables.service, ignoring: Invalid argument<br>Dec 22 10:40:41 ovirt01 systemd: Binding to IPv6 address not available since kernel does not support IPv6.<br>...<br>Dec 22 10:40:43 ovirt01 yum[116794]: Installed: cockpit-155-1.el7.centos.x86_64<br>Dec 22 10:40:43 ovirt01 yum[116794]: Updated: libmount-2.23.2-43.el7_4.2.x86_64<br>Dec 22 10:40:43 ovirt01 vdsmd_init_common.sh: vdsm: Running upgraded_version_check<br>Dec 22 10:40:43 ovirt01 vdsmd_init_common.sh: vdsm: Running check_is_configured<br>Dec 22 10:40:43 ovirt01 vdsm-tool: module dump_volume_chains could not load to vdsm-tool: Traceback (most recent call last):#012  File &quot;/usr/bin/vdsm-tool&quot;, line 91, in load_modules#012    mod_absp, mod_desc)#012  File &quot;/usr/lib/python2.7/site-packages/vdsm/tool/dump_volume_chains.py&quot;, line 26, in &lt;module&gt;#012    from vdsm import client#012  File &quot;/usr/lib/python2.7/site-packages/vdsm/client.py&quot;, line 106, in &lt;module&gt;#012    from vdsm.api import vdsmapi#012  File &quot;/usr/lib/python2.7/site-packages/vdsm/api/vdsmapi.py&quot;, line 29, in &lt;module&gt;#012    from vdsm.common.logutils import Suppressed#012ImportError: No module named logutils<br>...<br>Dec 22 10:40:57 ovirt01 yum[116794]: Installed: cockpit-dashboard-155-1.el7.centos.x86_64<br>Dec 22 10:40:57 ovirt01 vdsm-tool: module dump_volume_chains could not load to vdsm-tool: Traceback (most recent call last):#012  File &quot;/usr/bin/vdsm-tool&quot;, line 91, in load_modules#012    mod_absp, mod_desc)#012  File &quot;/usr/lib/python2.7/site-packages/vdsm/tool/dump_volume_chains.py&quot;, line 26, in &lt;module&gt;#012    from vdsm import client#012  File &quot;/usr/lib/python2.7/site-packages/vdsm/client.py&quot;, line 106, in &lt;module&gt;#012    from vdsm.api import vdsmapi#012  File &quot;/usr/lib/python2.7/site-packages/vdsm/api/vdsmapi.py&quot;, line 29, in &lt;module&gt;#012    from vdsm.common.logutils import Suppressed#012ImportError: No module named logutils</div><div class="gmail_extra"><br></div></div>