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

Added 6.12 version #425

Merged
merged 4 commits into from
Aug 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
31 changes: 17 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ Throughout this documentation, ensure that you understand the following terminol
- 6.9
- 6.10
- 6.11
- 6.12

#### What you need: ####
- A blank (vanilla install) RHEL 7 server (target server). You will run the setup commands here.
- A backup from a Satellite server (source server) created with `satellite-maintain`. This backup can be with or without pulp data, and can be from a RHEL 6 or 7 machine.
- A blank (vanilla install) RHEL 7 or RHEL 8 (Satellite 6.11+) machine (target server). You will run the setup commands here.
- A backup from a Satellite server (source server) created with `satellite-maintain`. This backup can be with or without pulp data, and can be from a RHEL 7 or 8 machine.
- You will need a Satellite 6 subscription for the cloned machine. With the new Satellite Infrastructure [subscription model](https://access.redhat.com/solutions/3382781) you should have multiple Satellite subscriptions available.

#### Setup ####
Expand All @@ -29,28 +30,30 @@ On the target server:
# yum install git
# git clone https://github.com/RedHatSatellite/satellite-clone.git
```
2. Enable the Ansible repository corresponding to your Satellite version
|Satellite Version|RHEL 7 Ansible Repository |RHEL 8 Ansible Repository |
|-----------------|------------------------------|----------------------------------|
|6.11 |rhel-7-server-ansible-2.9-rpms|ansible-2.9-for-rhel-8-x86_64-rpms|
|6.10 |rhel-7-server-ansible-2.9-rpms|N/A |
|6.9 |rhel-7-server-ansible-2.9-rpms|N/A |
|6.8 |rhel-7-server-ansible-2.9-rpms|N/A |
|6.7 |rhel-7-server-ansible-2.8-rpms|N/A |
|6.6 |rhel-7-server-ansible-2.8-rpms|N/A |
2. When deploying on RHEL 7, enable the Ansible repository corresponding to your Satellite version
|Satellite Version|RHEL 7 Ansible Repository |
|-----------------|------------------------------|
|6.11 |rhel-7-server-ansible-2.9-rpms|
|6.10 |rhel-7-server-ansible-2.9-rpms|
|6.9 |rhel-7-server-ansible-2.9-rpms|
|6.8 |rhel-7-server-ansible-2.9-rpms|
|6.7 |rhel-7-server-ansible-2.8-rpms|
|6.6 |rhel-7-server-ansible-2.8-rpms|

```console
# subscription-manager repos --enable REPO_NAME
```

3. Install the `ansible` package:
3. Install the `ansible` package on RHEL 7, or `ansible-core` on RHEL 8:
```console
# yum install ansible
```
```console
# dnf install ansible-core
```

Proceed to performing the [cloning process](docs/satellite-clone.md). Please check our [FAQ section](docs/faqs.md) for frequently asked questions.

## Development ##

To make a contribution, please fork the repository and open up a pull request with your branch. All pull requests need to have a corresponding issue, you can comment the issue that your are fixing by putting `Fixes #302` (where 302 is the issue number) in the commit message. If there is no issue yet for your problem, just open one up! Community issues and contributions are always appreciated.

To make a contribution, please fork the repository and open up a pull request with your branch. All pull requests need to have a corresponding issue, you can comment the issue that your are fixing by putting `Fixes #302` (where 302 is the issue number) in the commit message. If there is no issue yet for your problem, just open one up! Community issues and contributions are always appreciated.
2 changes: 1 addition & 1 deletion library/parse_backup_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# - Full path (including file name) to metadata.yml
# required: true

SUPPORTED_VERSIONS = ["6.6", "6.7", "6.8", "6.9", "6.10", "6.11"]
SUPPORTED_VERSIONS = ["6.6", "6.7", "6.8", "6.9", "6.10", "6.11", "6.12"]

def find_rpm(rpms, pattern):
rpm_pattern = re.compile(pattern)
Expand Down
14 changes: 14 additions & 0 deletions roles/satellite-clone/vars/satellite_6.12.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
# See the following issues for installer options
# https://github.com/RedHatSatellite/satellite-clone/issues/268
# https://github.com/RedHatSatellite/satellite-clone/issues/349
satellite_installer_options: "--foreman-ipa-authentication false --reset-puppet-server-ssl-chain-filepath --disable-system-checks"
satellite_upgrade_options: "--disable-system-checks"
verify_rake_task: reimport
selinux_packages:
- foreman-selinux
- katello-selinux
- pulpcore-selinux
db_packages:
- "{{ postgresql_package_name }}"
satellite_maintenance_version: '6.12'