Bug 1704278

Summary: [RFE] Hosed-Engine Add option to enable Cockpit service on RHEL based ha-hosts from UI.
Product: [oVirt] ovirt-engine Reporter: Nikolai Sednev <nsednev>
Component: Frontend.WebAdminAssignee: bugs <bugs>
Status: CLOSED WONTFIX QA Contact: Lukas Svaty <lsvaty>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.3.3CC: bugs, michal.skrivanek
Target Milestone: ---Keywords: FutureFeature
Target Release: ---Flags: pm-rhel: planning_ack?
pm-rhel: devel_ack?
pm-rhel: testing_ack?
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-02 14:50:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nikolai Sednev 2019-04-29 13:15:26 UTC
Description of problem:
Currently its not possible to enable Cockpit on ha-hosts from UI of the engine. 
Cockpit service comes installed on clean ha-hosts after installation of hosted-engine components, but its not loaded by default.
In order to enable Cockpit, customer has to connect to each ha-host and run as follows:
systemctl enable cockpit.socket
systemctl start cockpit
systemctl status cockpit
systemctl status cockpit.service

firewall-cmd --permanent --add-port=9090/tcp
irewall-cmd --permanent --add-port=9090/udp
firewall-cmd --reload

Engine has ssh connectivity to all hosts, hence enabling cockpit service shouldn't be something hard to do from the engine.

Version-Release number of selected component (if applicable):
cockpit-system-173.2-1.el7.noarch
cockpit-dashboard-176-4.el7.x86_64
cockpit-173.2-1.el7.x86_64
cockpit-storaged-176-4.el7.noarch
cockpit-bridge-173.2-1.el7.x86_64
cockpit-machines-ovirt-176-4.el7.noarch
cockpit-ovirt-dashboard-0.12.8-1.el7ev.noarch
cockpit-ws-173.2-1.el7.x86_64
ovirt-hosted-engine-ha-2.3.1-1.el7ev.noarch
ovirt-hosted-engine-setup-2.3.7-1.el7ev.noarch


How reproducible:
100%

Steps to Reproduce:
1.Deploy hosted engine.
2.Enable Cockpit on hosts from UI.

Actual results:
Currently its not possible to enable Cockpit on ha-hosts from UI of the engine.

Expected results:
It would be much easier to be able to enable Cockpit service on all ha-hosts from UI of the engine.

Additional info:
Please also see https://bugzilla.redhat.com/show_bug.cgi?id=1495506

Comment 1 Michal Skrivanek 2019-04-30 10:04:25 UTC
why did you file it downstream? I do not see anything RHV specific. Please change to upstream bug and move to Integration

Comment 2 Nikolai Sednev 2019-05-01 17:01:53 UTC
Because I found it on downstream product and not on the upstream, its for the HE deployment, so its RHEV related.

Comment 3 Michal Skrivanek 2019-05-02 14:19:56 UTC
you're finding all bugs on downstream, but unless it's a RHV specific functionality/branding the bugs are opened upstream. I do not see anything RHV-related here

Comment 4 Sandro Bonazzola 2019-05-02 14:50:09 UTC
We are supposed to enable cockpit on all hosts, not only those running hosted engine. No need for UI changes.