Bug 1580282 - unnecessary rpm packages are still installed even switch off those rpm package install.
Summary: unnecessary rpm packages are still installed even switch off those rpm packag...
Keywords:
Status: CLOSED DUPLICATE of bug 1576349
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.10.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.10.z
Assignee: Scott Dodson
QA Contact: Johnny Liu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-21 07:20 UTC by Johnny Liu
Modified: 2018-08-02 20:18 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-08-02 20:18:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
installation log with inventory file embedded (1.37 MB, text/plain)
2018-05-21 07:20 UTC, Johnny Liu
no flags Details

Description Johnny Liu 2018-05-21 07:20:44 UTC
Created attachment 1439420 [details]
installation log with inventory file embedded

Description of problem:

Version-Release number of the following components:
openshift-ansible-3.10.0-0.47.0.git.0.c018c8f.el7.noarch

How reproducible:
Always

Steps to Reproduce:
1. Setting osn_storage_plugin_deps=[] to trigger an installation
2.
3.

Actual results:
After installation, the following storage plugin packages are still installed.
[root@ip-172-18-3-166 ~]# rpm -q ceph-common
ceph-common-0.94.5-2.el7.x86_64
[root@ip-172-18-3-166 ~]# rpm -q iscsi-initiator-utils
iscsi-initiator-utils-6.2.0.874-7.el7.x86_64
[root@ip-172-18-3-166 ~]# rpm -q glusterfs-fuse
glusterfs-fuse-3.8.4-53.el7.x86_64


Expected results:
No GlusterFS/Ceph/iSCSI storage plugin rpm packages are installed when osn_storage_plugin_deps is set to empty

Additional info:
Checked the whole install log, these storage plugins are installed by "install needed rpm" task. That is because "ceph-common, iscsi-initiator-utils, glusterfs-fuse" are set by default for "default_r_openshift_node_image_prep_packages" var in roles/openshift_node/defaults/main.yml, all the packages are listed in "default_r_openshift_node_image_prep_packages" var would be installed at "install needed rpm" task.

This does not happen with 3.9.

Comment 1 Scott Dodson 2018-05-21 13:55:04 UTC
This is a regression in 3.10 due to how we're installing all packages during a set of tasks that are related to image building where it makes sense to install all packages.

I don't think this is going to cause any actual problems in a working environment so marking 3.10.z

Comment 2 Johnny Liu 2018-06-19 11:04:33 UTC
Not only storage plugin, cockpit rpm packages are also installed by node bootstap playbook even I set osm_use_cockpit=false.

cockpit-ws
cockpit-system
cockpit-docker
cockpit-bridge

There is an individual role - in roles/cockpit/tasks/main.yml to run cockpit install.

Comment 3 Scott Dodson 2018-08-02 20:18:30 UTC

*** This bug has been marked as a duplicate of bug 1576349 ***


Note You need to log in before you can comment on or make changes to this bug.