Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add basic monitoring tools to the base image #628

Closed
rtsisyk opened this issue Sep 22, 2020 · 7 comments
Closed

Add basic monitoring tools to the base image #628

rtsisyk opened this issue Sep 22, 2020 · 7 comments

Comments

@rtsisyk
Copy link

rtsisyk commented Sep 22, 2020

It would be nice to have some extra command-line monitoring tools in the base image.
My favourite list is:

rpm-ostree install \
    strace \
    nc \
    telnet \
    tcpdump \
    atop \
    iotop \
    ioping \
    iftop \
    htop \
    iperf \
    sysstat \
    dmidecode \
    smartmontools \
    numactl \
    lshw \
    pciutils \
    ipmitool \
    vim-enhanced

Some items can be controversial, but let's agree on some necessary minimum. Yes, I understand that it is possible to run a privileged container with required tools, but these tools are really necessary on the host system for troubleshooting, especially on the bare metal. AFAIK, all these packages consume less than 50Mb of space.

@dustymabe
Copy link
Member

Thanks @rtsisyk. I added the meeting label so we'll discuss it in the next meeting (next Wednesday).

@dustymabe dustymabe added the meeting topics for meetings label Sep 23, 2020
@jlebon
Copy link
Member

jlebon commented Sep 23, 2020

Oh those, I think strace is a big one which could be worth shipping by default. It's easy to run in a --pid=host container, though it can help break the "debug bootstrapping problem". For comparison, note RHCOS does ship strace.

@rtsisyk
Copy link
Author

rtsisyk commented Sep 23, 2020

I see that htop requires python, which should not be included.

Without htop:

Transaction Summary
=========================================================================================================================
Install  51 Packages

Total download size: 23 M
Installed size: 83 M

Without vim-enhanced:

Install  46 Packages

Total download size: 14 M
Installed size: 50 M

@travier
Copy link
Member

travier commented Sep 25, 2020

To prepare for the meeting, I would recommend that you give at least one use case per tool that would benefit with the tool being installed on the host rather than used from a container.

@dustymabe
Copy link
Member

We discussed this in last week's meeting.

We started to discuss each tool individually, but then took a step back and decided to define a set of questions to answer when we propose adding new packages to the base layer.

* ACTION: we'll file a tracker ticket to come up with rough criteria
    for adding packages  (dustymabe, 17:28:12)

The tracker ticket was created by micah at: #641

@dustymabe dustymabe removed the meeting topics for meetings label Oct 7, 2020
@dustymabe
Copy link
Member

hey @rtsisyk do you mind creating a new ticket for each item you'd like to include in the host? We have a new issue template that you can select for proposing a new package for inclusion. The issue template has a lot of questions. Some will be relevant, some might not be. Either way, more information helps us make a decision about the qualifications of each package. Recently we went through this exercise with kexec-tools.

@travier
Copy link
Member

travier commented Mar 27, 2023

As mentioned above, each tool would have to be considered independently to assess its usefulness and use cases for inclusion. This will be better done via independent issues for each tool so I'll close this issue.

@travier travier closed this as not planned Won't fix, can't repro, duplicate, stale Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants