Project

General

Profile

Feature #10520

As a user i like to install a 2nd system exactly like a reference system

Added by Anonymous over 4 years ago. Updated about 1 year ago.

Status:
Need more information
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Example:
One system has some obscure packages installed and i have to recreate a 2nd system to troubleshoot any issues.
I like to install the 2nd system to the exact state of the first system.

There is already a installed packages list in Katello/Pulp. Get this list and install all the required packages on the
2nd system.

Would be cool if you could select a reference system in "Hosts => New Host"

History

#1 Updated by Eric Helms over 4 years ago

  • Status changed from New to Need more information
  • Triaged changed from No to Yes

So this would be more than using a hostgroup definition to try and replicate a 'system' you are wanting to take the current state of a system and replicate it like a snapshot? Would https://github.com/theforeman/foreman_snapshot solve your problem or be a starting place to evolve a solution?

#2 Updated by Anonymous over 4 years ago

Eric Helms wrote:

So this would be more than using a hostgroup definition to try and replicate a 'system' you are wanting to take the current state of a system and replicate it like a snapshot? Would https://github.com/theforeman/foreman_snapshot solve your problem or be a starting place to evolve a solution?

This would be more in connection to Feature #10519 (Compare Package Profile of 2 system to see differences).

#3 Updated by Anonymous over 4 years ago

Stefan Meyer wrote:

Eric Helms wrote:

So this would be more than using a hostgroup definition to try and replicate a 'system' you are wanting to take the current state of a system and replicate it like a snapshot? Would https://github.com/theforeman/foreman_snapshot solve your problem or be a starting place to evolve a solution?

This would be more in connection to Feature #10519 (Compare Package Profile of 2 system to see differences).

As a clarification:
Based on the available information of the reference system which are
- VM configuration (CPU, Memory, Disks, Network)
- OS (via the applied activation key)
- installed packages (via Pulp)
- Configuration (Puppet classes, module, parameters)
you already have all informations required to recreate a 2nd system.

A snapshot is not always possible and might need some more time consuming reconfigurations.

#4 Updated by Eric Helms over 4 years ago

- installed packages (via Pulp)

I think this is the only part that we are missing (that a hostgroup doesn't already handle) and would be the tricky part to replicate the exact package state. Sounds like Spacewalk does handle this (I'm not sure how well) so we might be able to learn from their implementation.

#5 Updated by Bryan Kearney about 4 years ago

  • Bugzilla link set to 1238607

#6 Updated by Eric Helms over 3 years ago

  • Legacy Backlogs Release (now unused) set to 114

Also available in: Atom PDF