<div dir="ltr"><div><div><div><div>Hi<br></div><br></div><div>As you can see from the systemctl status, the difference is caused due to the preset rule for cockpit.socket, which is enabled on the node-ng based system, and disabled on your regular centos based system.<br></div>If you take a look at the cockpit postinstall script, you&#39;d see something like:<br><br>systemctl --no-reload preset cockpit.socket...<br></div><div><br></div><div>This sets the cockpit.socket according to its preset rule.</div><div><br></div>Thanks,<br></div>Yuval.<br><div><div><br><br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 26, 2017 at 3:35 PM, 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="">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></span><div><div class="h5"><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="m_-1648998988394951126gmail-"><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="m_-1648998988394951126gmail-m_-2249562557521163007gmail-"><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="m_-1648998988394951126gmail-m_-2249562557521163007gmail-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="m_-1648998988394951126gmail-m_-2249562557521163007gmail-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="m_-1648998988394951126gmail-m_-2249562557521163007gmail-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="m_-1648998988394951126gmail-m_-2249562557521163007gmail-"><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.cento<wbr>s.x86_64<br>Dec 22 10:40:07 Installed: cockpit-system-155-1.el7.cento<wbr>s.noarch<br>Dec 22 10:40:40 Installed: cockpit-networkmanager-155-1.e<wbr>l7.centos.noarch<br>Dec 22 10:40:42 Installed: cockpit-ws-155-1.el7.centos.x8<wbr>6_64<br>Dec 22 10:40:43 Installed: cockpit-155-1.el7.centos.x86_6<wbr>4<br>Dec 22 10:40:52 Installed: cockpit-storaged-155-1.el7.cen<wbr>tos.noarch<br>Dec 22 10:40:57 Installed: cockpit-dashboard-155-1.el7.ce<wbr>ntos.x86_64<br>Dec 22 10:41:35 Installed: cockpit-ovirt-dashboard-0.11.3<wbr>-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/remotec<wbr>tl 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/cockp<wbr>it.service; static; vendor preset: disabled)<br>   Active: inactive (dead)<br>     Docs: man:cockpit-ws(8)<br>[root@ovirt01 ~]# <br><span class="m_-1648998988394951126gmail-HOEnZb"><font color="#888888"><br></font></span></div><span class="m_-1648998988394951126gmail-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></div><div class="gmail_extra"><br></div><div class="gmail_extra">At the end I compared my CentOS 7.4 oVirt 4.2 configuration with the configuration of a RHEV 4.1 RHV-H environment and there I see this kind of config</div><div class="gmail_extra"><br></div><div class="gmail_extra">[root@rhevora1 ~]# systemctl status cockpit.socket<br>● cockpit.socket - Cockpit Web Service Socket<br>   Loaded: loaded (/usr/lib/systemd/system/<wbr>cockpit.socket; enabled; vendor preset: enabled)<br>   Active: active (listening) since Fri 2017-10-27 17:02:30 CEST; 1 months 29 days ago<br>     Docs: man:cockpit-ws(8)<br>   Listen: [::]:9090 (Stream)<br><br>Oct 27 17:02:30 rhevora1.mydomain systemd[1]: Listening on Cockpit Web Service Socket.<br>Oct 27 17:02:30 rhevora1.mydomain systemd[1]: Starting Cockpit Web Service Socket.<br>[root@rhevora1 ~]# <br></div><div class="gmail_extra"><br></div><div class="gmail_extra">So there is basically the difference that on RHEV RHV-H the cockpit.socket systemd unit is enabled by default (cockpit-ws-148-1.el7.x86_64), while on this just updated to 4.2 oVirt host on plain CentOS we have</div><div class="gmail_extra"><br></div><div class="gmail_extra">[root@ovirt01 etc]# systemctl status cockpit.socket<br>● cockpit.socket - Cockpit Web Service Socket<br>   Loaded: loaded (/usr/lib/systemd/system/<wbr>cockpit.socket; disabled; vendor preset: disabled)<span class=""><br>   Active: inactive (dead)<br>     Docs: man:cockpit-ws(8)<br></span>   Listen: <a href="http://0.0.0.0:9090" target="_blank">0.0.0.0:9090</a> (Stream)<br>[root@ovirt01 etc]# <br></div><div class="gmail_extra"><br></div><div class="gmail_extra">On oVirt 4.2 the version is currently cockpit-ws-155-1.el7.centos.<wbr>x86_64</div><div class="gmail_extra"><br></div><div class="gmail_extra">What I&#39;ve done has been</div><div class="gmail_extra">systemctl enable cockpit.socket</div><div class="gmail_extra">systemctl start cockpit.socket</div><div class="gmail_extra"><br></div><div class="gmail_extra">and now I have the ovirt01 host correctly listening on 9090 port and I&#39;m able to web connect and enjoy...</div><div class="gmail_extra"><br></div><div class="gmail_extra">Let me know if this is a sort of regression of cockpit-ws package or what...</div><span class="HOEnZb"><font color="#888888"><div class="gmail_extra"><br></div><div class="gmail_extra">Gianluca<br></div></font></span></div>
<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>
<br></blockquote></div><br></div>