Commit Graph

8 Commits

Author SHA1 Message Date
Ghanshyam Mann 340d059ee5 Retire Tripleo: remove repo content
TripleO project is retiring
- https://review.opendev.org/c/openstack/governance/+/905145

this commit remove the content of this project repo

Change-Id: I6b367027aff77f4bf9810903e62ccb59bca0ff38
2024-02-24 11:41:15 -08:00
Cédric Jeanneret eefe501923 Update rhsm_disable_container_check default value
Following [1], the right way to disable the feature is to set the env
var value to an empty string.
Until now, whatever the value was (even False), it was enabled, because
the var was in the env.

[1] https://github.com/candlepin/subscription-manager/pull/3097

Change-Id: I54e1452dc4bb6e2e25fa9567335b62b730000e83
2022-08-11 13:14:55 +02:00
David Vallee Delisle 0f7ac2a553 Adding option to disable container validation
subscription-manager will fail if run from within a container. Since
some nodes are bindmounting /run, a .containerenv file is exposed
inside /run on the hosts and this breaks subscription-manager on
overcloud nodes.

We can bypass this validation from subscription-manager by enabling the
SMDEV_CONTAINER_OFF environment boolean as described here [1].

We need to give the hability to operators to bypass this check as well
on all subscription-manager calls.

Related: https://bugzilla.redhat.com/show_bug.cgi?id=2058540
[1] https://github.com/candlepin/subscription-manager/pull/2652/files

Change-Id: If564089fb1cb77366fa6d6f8e4086691a4dfcf37
2022-03-03 11:20:39 -05:00
Emilien Macchi dba48a0531 sat6: pull & deploy katello certs
For a node to communicate correctly with Katello, it needs the right SSL
certificates in place, and facts configured in RHSM.

It is provided by katello-ca-consumer-latest.noarch.rpm with
katello-rhsm-consumer script.

This patch installs the rpm and runs the script.

Change-Id: I180eb65a01832da76d5c433d9b13f8e410e24d04
Closes-Bug: #1805249
2018-11-27 13:44:38 -05:00
Sam Doran 079c041a63 Fix pem file name
Change-Id: I206e9e453de6f223759e9673ffeec4acb643bbce
2018-11-12 10:16:12 -05:00
Sam Doran f2385c2aa2 Configure Satellite using Ansible instead of a script
- remove rhsm_repository module since it is included with Ansible 2.5
- improve test environment
- convert katello-rhsm-consumer script to Ansible tasks
- gather service and package facts
- use ansible_facts dictionary for facts rather than ansible_[fact]
- set rhsm_server_prefix, rhsm_repo_ca_cert, and rhsm_full_refresh_on_yum
  based on portal or satellite registration

Change-Id: Ifdbcc3b23d5f6ea68dcf904e40a7f44c4b61622e
2018-10-22 17:27:21 -04:00
Sam Doran 00defe7fc2 Update RHSM role to allow Satellite or Portal registration
- Fix line widths in rhsm_repository.py
- Unify variable names: they all have rhsm_ prefix now

Change-Id: I64e8d7ee201ec9b21ef7c513cf2231994b31c6a6
2018-02-07 16:53:01 -05:00
Sam Doran 5fbd676974 Initial commit 2016-06-09 17:31:41 -04:00