Remove GCC package

Bug #1674583 reported by Alexander Rubtsov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Sergii Rizvan
Nominated for Ocata by Sergii Rizvan
Nominated for Pike by Sergii Rizvan
Mitaka
Fix Released
High
Sergii Rizvan

Bug Description

Release: Mirantis OpenStack 9.2

In order to keep the environment clean and for security reasons, please remove GCC packages both from the Fuel master node and Slave nodes

I had noticed that GCC was a dependency for the only package - pysaml2, however it was eliminated: https://bugs.launchpad.net/mos/+bug/1672769

Revision history for this message
Alexander Rubtsov (arubtsov) wrote :

sla1 for 9.0-updates

tags: added: customer-found sla1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/448079

Revision history for this message
Sergii Rizvan (srizvan) wrote :

I agree that we can easily remove GCC package from Fuel Master. But can't do the same on slave nodes, because GCC is needed in order to support DKMS. Here is the output of 'apt-cache showpkg dkms' command: http://paste.openstack.org/show/603643/
From that output we can see that gcc package mentioned in the dependencies for dkms package.

Changed in fuel:
milestone: none → 10.1
assignee: nobody → Sergii Rizvan (srizvan)
importance: Undecided → High
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (master)

Fix proposed to branch: master
Review: https://review.openstack.org/449228

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (stable/mitaka)

Reviewed: https://review.openstack.org/448079
Committed: https://git.openstack.org/cgit/openstack/fuel-main/commit/?id=c1a3e2a1538344901c81caa1dccb2b0d02c90309
Submitter: Jenkins
Branch: stable/mitaka

commit c1a3e2a1538344901c81caa1dccb2b0d02c90309
Author: Sergii Rizvan <email address hidden>
Date: Tue Mar 21 14:53:38 2017 +0200

    Remove unused gcc package

    Change-Id: Ia0b7ea220c7662f121248d355e13ed95219b07a3
    Closes-Bug: #1674583

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/451327

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/451328

Revision history for this message
Ekaterina Shutova (eshutova) wrote :

Verified in scope of 9.2 mu1 updates.
Iso was generated using fuel-main stable/mitaka branch.
Gcc package isn't installed on master node:
[root@nailgun ~]# rpm -qa | grep gcc
libgcc-4.8.5-11.el7.x86_64

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (master)

Reviewed: https://review.openstack.org/449228
Committed: https://git.openstack.org/cgit/openstack/fuel-main/commit/?id=07a98dfa881b548fdae819dda22370a0d930e330
Submitter: Jenkins
Branch: master

commit 07a98dfa881b548fdae819dda22370a0d930e330
Author: Sergii Rizvan <email address hidden>
Date: Tue Mar 21 14:53:38 2017 +0200

    Remove unused gcc package

    Change-Id: Ia0b7ea220c7662f121248d355e13ed95219b07a3
    Closes-Bug: #1674583

Changed in fuel:
status: In Progress → Fix Committed
tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (stable/ocata)

Reviewed: https://review.openstack.org/451328
Committed: https://git.openstack.org/cgit/openstack/fuel-main/commit/?id=262dcc96b48cd6d459600061f135060fda83bef8
Submitter: Jenkins
Branch: stable/ocata

commit 262dcc96b48cd6d459600061f135060fda83bef8
Author: Sergii Rizvan <email address hidden>
Date: Tue Mar 21 14:53:38 2017 +0200

    Remove unused gcc package

    Change-Id: Ia0b7ea220c7662f121248d355e13ed95219b07a3
    Closes-Bug: #1674583
    (cherry picked from commit c1a3e2a1538344901c81caa1dccb2b0d02c90309)

Revision history for this message
Vladimir Khlyunev (vkhlyunev) wrote :

Verified for master node

[root@nailgun ~]# fuel2 fuel-version
+-------------------+-------------+
| Field | Value |
+-------------------+-------------+
| api | 1 |
| auth_required | True |
| feature_groups | [] |
| openstack_version | newton-10.0 |
| release | 10.0 |
+-------------------+-------------+
[root@nailgun ~]# rpm -qa | grep gcc
libgcc-4.8.5-11.el7.x86_64
[root@nailgun ~]# cat /etc/fuel_build_number
1566

Slaves still contains gcc package

[root@nailgun ~]# ssh node-1 dpkg -l| grep gcc
Warning: Permanently added 'node-1' (ECDSA) to the list of known hosts.
ii gcc 4:5.3.1-1ubuntu1 amd64 GNU C compiler
ii gcc-5 5.4.0-6ubuntu1~16.04.4 amd64 GNU C compiler
ii gcc-5-base:amd64 5.4.0-6ubuntu1~16.04.4 amd64 GCC, the GNU Compiler Collection (base package)
ii gcc-6-base:amd64 6.0.1-0ubuntu1 amd64 GCC, the GNU Compiler Collection (base package)
ii libgcc-5-dev:amd64 5.4.0-6ubuntu1~16.04.4 amd64 GCC support library (development files)
ii libgcc1:amd64 1:6.0.1-0ubuntu1 amd64 GCC support library

tags: added: on-verification
Changed in fuel:
status: Fix Committed → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (stable/newton)

Reviewed: https://review.openstack.org/451327
Committed: https://git.openstack.org/cgit/openstack/fuel-main/commit/?id=eaef60512a2c40c9d9773e9882340a7c52ad1bcb
Submitter: Jenkins
Branch: stable/newton

commit eaef60512a2c40c9d9773e9882340a7c52ad1bcb
Author: Sergii Rizvan <email address hidden>
Date: Tue Mar 21 14:53:38 2017 +0200

    Remove unused gcc package

    Change-Id: Ia0b7ea220c7662f121248d355e13ed95219b07a3
    Closes-Bug: #1674583
    (cherry picked from commit c1a3e2a1538344901c81caa1dccb2b0d02c90309)

tags: added: in-stable-newton
Sergii Rizvan (srizvan)
Changed in fuel:
status: Confirmed → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-main ocata-eol

This issue was fixed in the openstack/fuel-main ocata-eol release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.