Bug 1349375

Summary: Cockpit pulls in docker by default
Product: Red Hat Enterprise Linux 7 Reporter: Fabian Deutsch <fdeutsch>
Component: cockpitAssignee: Dominik Perpeet <dperpeet>
Status: CLOSED ERRATA QA Contact: Jan Ščotka <jscotka>
Severity: unspecified Docs Contact:
Priority: urgent    
Version: 7.2CC: bmcclain, fdeutsch, huzhao, mgoldboi, rbarry, ycui
Target Milestone: rcKeywords: Extras
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cockpit-0.114-2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1365206 (view as bug list) Environment:
Last Closed: 2016-08-04 13:48:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1309887, 1329957, 1365206    
Attachments:
Description Flags
Log of yum remove docker none

Description Fabian Deutsch 2016-06-23 10:51:05 UTC
Description of problem:
In bug 1297797 a separate subpackage for docker integration was created to allow installing Cockpit without pulling in docker.

But now the cockpit main page is indirectly pulling in docker again!

This leads to problems with RH insights, because docker is not configured on RHEV-H: bug 1309887

Version-Release number of selected component (if applicable):
RHEL 7.2
cockpit-shell.noarch 0:0.108-1.el7

How reproducible:
Always

Steps to Reproduce:
1. yum install cockpit-shell
2.
3.

Actual results:
docker will be installed

Expected results:


Additional info:

Comment 1 Fabian Deutsch 2016-06-23 10:51:50 UTC
Created attachment 1171413 [details]
Log of yum remove docker

Comment 2 Fabian Deutsch 2016-06-23 10:53:27 UTC
Raising to urgent, because this affects RHEV-H and we are approaching our beta2 release

Comment 3 Ying Cui 2016-07-06 07:42:46 UTC
It affects RHVH 4.0, we would like to escalate this. Thanks.

Comment 4 Dominik Perpeet 2016-07-06 07:59:21 UTC
This will be fixed in Cockpit 0.113.

Comment 5 Bronce McClain 2016-07-07 18:53:37 UTC
(In reply to Dominik Perpeet from comment #4)
> This will be fixed in Cockpit 0.113.

Thanks Dominik, do you know the date of it's release?

Comment 6 Dominik Perpeet 2016-07-07 23:37:46 UTC
Upstream 0.113 has been released: https://github.com/cockpit-project/cockpit/releases/tag/0.113

Comment 11 errata-xmlrpc 2016-08-04 13:48:41 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-1442.html

Comment 12 Fabian Deutsch 2016-08-05 13:07:30 UTC
I suppose we are still seeing this, cockpit is pulling in cockpit-docker by default.

Comment 13 Dominik Perpeet 2016-08-05 20:43:17 UTC
(In reply to Fabian Deutsch from comment #12)
> I suppose we are still seeing this, cockpit is pulling in cockpit-docker by
> default.

Can you confirm this still happens with cockpit >= 0.114-2? It should be fixed, jscotka even added a test.

Comment 14 Ryan Barry 2016-08-10 15:04:23 UTC
(In reply to Dominik Perpeet from comment #13)
> (In reply to Fabian Deutsch from comment #12)
> > I suppose we are still seeing this, cockpit is pulling in cockpit-docker by
> > default.
> 
> Can you confirm this still happens with cockpit >= 0.114-2? It should be
> fixed, jscotka even added a test.

Yes:

[root@localhost ~]# rpm -q cockpit
cockpit-0.114-2.el7.x86_64
[root@localhost ~]# rpm -q --requires cockpit
cockpit-bridge = 0.114-2.el7
cockpit-docker = 0.114-2.el7
cockpit-networkmanager = 0.114-2.el7
cockpit-shell = 0.114-2.el7
cockpit-storaged = 0.114-2.el7
cockpit-ws = 0.114-2.el7
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1
[root@localhost ~]# rpm -q --requires cockpit-docker
cockpit-bridge >= 0.114
cockpit-shell >= 0.114
docker >= 1.3.0
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1