Project

General

Profile

Feature #12543

better package resolution with --rgw, --common, etc

Added by Travis Rhoden almost 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:

Description

Just like is done in the SUSE module (https://github.com/ceph/ceph-deploy/blob/master/ceph_deploy/hosts/suse/install.py#L8-L20), it would beneficial if all distros only installed the packages that were asked for.

We can maintain the default behavior of installing MDS and RGW when "all" is asked for, but if we receive "common" or "rgw", we have the package splits in place already to be able to install "only" those packages. We just add some logic that handles "if osd is asked for, we install 'ceph', which brings in mon too".

Pretty simple all around.

Associated revisions

Revision 8780a7f1 (diff)
Added by Travis Rhoden almost 6 years ago

[RM-12543] Add map_components() for sorting out split pkgs

Refs: #12543

Signed-off-by: Travis Rhoden <>

Revision 39dc7741 (diff)
Added by Travis Rhoden almost 6 years ago

[RM-12543] debian: only install requested packages

Refs: #12543

Signed-off-by: Travis Rhoden <>

Revision 13d88c1d (diff)
Added by Travis Rhoden almost 6 years ago

[RM-12543] centos: only install requested packages

Refs: #12543

Signed-off-by: Travis Rhoden <>

Revision 93fb1312 (diff)
Added by Travis Rhoden almost 6 years ago

[RM-12543] fedora: only install requested packages

Refs: #12543

Signed-off-by: Travis Rhoden <>

Revision 38e7d29d (diff)
Added by Travis Rhoden almost 6 years ago

[RM-12543] suse: use common map_components()

Update the SUSE tests to use the right pieces as well.

Removed the "invalid" test because the common map_components()
does not have a whitelist of packages (though it could). It
doesn't police what package names go through it, it just modifies
specific ones that you ask it to.

Refs: #12543

Signed-off-by: Travis Rhoden <>

History

#1 Updated by Travis Rhoden almost 6 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to Travis Rhoden

#2 Updated by Travis Rhoden almost 6 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF