tripleo containers for technical services lack package "less"

Bug #1723051 reported by Damien Ciabrini
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Won't Fix
Low
Unassigned

Bug Description

All containerized Openstack services come with the utility "less" in the container image.

But this is not the case for technical services like redis, mariadb, swift, rabbitmq...

There is no explicit inclusion of "less" in tripleo_kolla_template_overrides.j2, and after some digging, it seems that "less" is included in Openstack containers only because of a package dependency. Excerpt from kolla-build mistral:

[...]
INFO:kolla.image.build.openstack-base:Resolving Dependencies
INFO:kolla.image.build.openstack-base:--> Running transaction check
INFO:kolla.image.build.openstack-base:---> Package git.x86_64 0:1.8.3.1-12.el7_4 will be installed
INFO:kolla.image.build.openstack-base:--> Processing Dependency: perl-Git = 1.8.3.1-12.el7_4 for package: git-1.8.3.1-12.el7_4.x86_64
INFO:kolla.image.build.openstack-base:--> Processing Dependency: perl >= 5.008 for package: git-1.8.3.1-12.el7_4.x86_64
INFO:kolla.image.build.openstack-base:--> Processing Dependency: perl(warnings) for package: git-1.8.3.1-12.el7_4.x86_64
INFO:kolla.image.build.openstack-base:--> Processing Dependency: perl(vars) for package: git-1.8.3.1-12.el7_4.x86_64
INFO:kolla.image.build.openstack-base:--> Processing Dependency: perl(strict) for package: git-1.8.3.1-12.el7_4.x86_64
INFO:kolla.image.build.openstack-base:--> Processing Dependency: perl(lib) for package: git-1.8.3.1-12.el7_4.x86_64
INFO:kolla.image.build.openstack-base:--> Processing Dependency: perl(Term::ReadKey) for package: git-1.8.3.1-12.el7_4.x86_64
INFO:kolla.image.build.openstack-base:--> Processing Dependency: perl(Git) for package: git-1.8.3.1-12.el7_4.x86_64
INFO:kolla.image.build.openstack-base:--> Processing Dependency: perl(Getopt::Long) for package: git-1.8.3.1-12.el7_4.x86_64
INFO:kolla.image.build.openstack-base:--> Processing Dependency: perl(File::stat) for package: git-1.8.3.1-12.el7_4.x86_64
INFO:kolla.image.build.openstack-base:--> Processing Dependency: perl(File::Temp) for package: git-1.8.3.1-12.el7_4.x86_64
INFO:kolla.image.build.openstack-base:--> Processing Dependency: perl(File::Spec) for package: git-1.8.3.1-12.el7_4.x86_64
INFO:kolla.image.build.openstack-base:--> Processing Dependency: perl(File::Path) for package: git-1.8.3.1-12.el7_4.x86_64
INFO:kolla.image.build.openstack-base:--> Processing Dependency: perl(File::Find) for package: git-1.8.3.1-12.el7_4.x86_64
INFO:kolla.image.build.openstack-base:--> Processing Dependency: perl(File::Copy) for package: git-1.8.3.1-12.el7_4.x86_64
INFO:kolla.image.build.openstack-base:--> Processing Dependency: perl(File::Basename) for package: git-1.8.3.1-12.el7_4.x86_64
INFO:kolla.image.build.openstack-base:--> Processing Dependency: perl(Exporter) for package: git-1.8.3.1-12.el7_4.x86_64
INFO:kolla.image.build.openstack-base:--> Processing Dependency: perl(Error) for package: git-1.8.3.1-12.el7_4.x86_64
INFO:kolla.image.build.openstack-base:--> Processing Dependency: openssh-clients for package: git-1.8.3.1-12.el7_4.x86_64
INFO:kolla.image.build.openstack-base:--> Processing Dependency: less for package: git-1.8.3.1-12.el7_4.x86_64
[...]

The technical services don't build on top of openstack-base, so less is never included in those images.

It would be grand if all images could come with "less" built-in.

Tags: containers
Changed in tripleo:
assignee: nobody → Damien Ciabrini (dciabrin)
status: New → In Progress
Changed in tripleo:
milestone: queens-2 → queens-3
Changed in tripleo:
milestone: queens-3 → queens-rc1
Changed in tripleo:
milestone: queens-rc1 → rocky-1
Changed in tripleo:
milestone: rocky-1 → rocky-2
Changed in tripleo:
milestone: rocky-2 → rocky-3
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Changed in tripleo:
milestone: rocky-rc1 → stein-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-common (master)

Change abandoned by Alex Schultz (<email address hidden>) on branch: master
Review: https://review.openstack.org/511455
Reason: Abandoning this patch per the TripleO Patch Abandonment guidelines (https://specs.openstack.org/openstack/tripleo-specs/specs/policy/patch-abandonment.html). If you wish to have this restored and cannot do so yourself, please reach out via #tripleo on freenode or the OpenStack Dev mailing list.

Changed in tripleo:
status: In Progress → Triaged
assignee: Damien Ciabrini (dciabrin) → nobody
Changed in tripleo:
importance: Medium → Low
Changed in tripleo:
status: Triaged → Won't Fix
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.