[LMA] the installation of the collectd package fails when the node has no Internet connectivity

Bug #1494186 reported by Simon Pasquier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel Plugins
Fix Committed
High
guillaume thouvenin

Bug Description

Tested with MOS 7.0 RC2.

It happens sometimes that the compute nodes have no Internet connectivity (this is a separate bug to be filled in Fuel). The end result for the LMA collector is that the installation of the collectd package because it tries to install the recommended dependencies [1] which aren't included in the plugin package.

We need to make sure that:
1/ the list of dependencies that are required to install collectd is reduced to the minimum (eg do not install the recommended packages).
2/ all dependent packages are embedded in the plugin package.

[1] http://paste.openstack.org/show/454632/

Tags: lma
Revision history for this message
guillaume thouvenin (guillaume-thouvenin) wrote :

Two comments:
- We will start with a minimal list like this: collectd-core, libdbi1, librrd4, collectd
- We need to prevent apt-get to install recommended packages. So we maybe need to add a task in our plugin that configure apt to not install recommended packages. For example create a file /etc/apt/apt.conf.d/99norecommands that contains:

APT::Install-Suggests "0";
APT::Install-Recommends "0";

Changed in fuel-plugins:
assignee: LMA-Toolchain Fuel Plugins (mos-lma-toolchain) → guillaume thouvenin (guillaume-thouvenin)
Revision history for this message
Simon Pasquier (simon-pasquier) wrote :

FWIW I can only reproduce the bug when deploying environments with one controller. Any deployment with 3 or more controllers succeeds.

Revision history for this message
guillaume thouvenin (guillaume-thouvenin) wrote :

I will use fuel-createmirror to check. So we will not access to internet and we will embed all needed packages into the plugin.

Revision history for this message
guillaume thouvenin (guillaume-thouvenin) wrote :
Changed in fuel-plugins:
status: Confirmed → Fix Committed
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.