summaryrefslogtreecommitdiffstats
path: root/roles/rhel_subscribe
Commit message (Collapse)AuthorAgeFilesLines
* Remove oo_option facts.Andrew Butcher2017-09-292-5/+5
|
* Fix deprecated subscription-manager commandBenjamin Affolter2017-09-211-1/+1
|
* Cleanup old deployment typesMichael Gugino2017-09-202-8/+5
| | | | | | | | | | | Previously, openshift-ansible supported various types of deployments using the variable "openshift_deployment_type" Currently, openshift-ansible only supports two deployment types, "origin" and "openshift-enterprise". This commit removes all logic and references to deprecated deployment types.
* Merge pull request #3778 from lhuard1A/rh_subscription_resilientOpenShift Merge Robot2017-09-191-0/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue Make RH subscription more resilient to temporary failures subscription-manager can sometimes fail because of server side errors. Manually replaying the command usually works. So, let’s make openshift-ansible more resilient to temporary failures of subscription-manager by retrying the failed commands with a maximum of 3 retries. Here is an example of such sporadic errors: ``` TASK [rhel_subscribe : Retrieve the OpenShift Pool ID] ************************* ok: [lenaic-node-compute-c96e7] ok: [lenaic-master-bbe09] ok: [lenaic-node-compute-2976a] fatal: [lenaic-node-infra-47ba5]: FAILED! => {"changed": false, "cmd": ["subscription-manager", "list", "--available", "--matches=Red Hat OpenShift Container Platform, Premium*", "--pool-only"], "delta": "0:00:07.152650", "end": "2017-04-04 11:24:59.729405", "failed": true, "rc": 70, "start": "2017-04-04 11:24:52.576755", "stderr": "Unable to verify server's identity: (104, 'Connection reset by peer')", "stdout": "", "stdout_lines": [], "warnings": []} TASK [rhel_subscribe : Determine if OpenShift Pool Already Attached] *********** skipping: [lenaic-master-bbe09] skipping: [lenaic-node-compute-2976a] skipping: [lenaic-node-compute-c96e7] TASK [rhel_subscribe : fail] *************************************************** skipping: [lenaic-node-compute-2976a] skipping: [lenaic-master-bbe09] skipping: [lenaic-node-compute-c96e7] TASK [rhel_subscribe : Attach to OpenShift Pool] ******************************* fatal: [lenaic-node-compute-c96e7]: FAILED! => {"changed": true, "cmd": ["subscription-manager", "subscribe", "--pool", "8a85f9814ff0134a014ff43b44095513"], "delta": "0:00:21.421300", "end": "2017-04-04 11:25:20.655873", "failed": true, "rc": 70, "start": "2017-04-04 11:24:59.234573", "stderr": "Unable to verify server's identity: (104, 'Connection reset by peer')", "stdout": "Successfully attached a subscription for: Red Hat OpenShift Container Platform, Premium (1-2 Sockets)", "stdout_lines": ["Successfully attached a subscription for: Red Hat OpenShift Container Platform, Premium (1-2 Sockets)"], "warnings": []} changed: [lenaic-master-bbe09] changed: [lenaic-node-compute-2976a] ``` In this example, subscription-manager was failing on some nodes, but not all. Retrying on the failed nodes would have avoided to abandon those nodes.
| * Make RH subscription more resilient to temporary failuresLénaïc Huard2017-05-021-0/+6
| | | | | | | | | | | | | | | | subscription-manager can sometimes fail because of server side errors. Manually replaying the command usually works. So, let’s make openshift-ansible more resilient to temporary failures of subscription-manager by retrying the failed commands with a maximum of 3 retries.
* | Enable version 3.6 for OSEVasily Chekalkin2017-08-171-2/+2
| |
* | Get rid of openshift_facts dep in rhel_subscribeScott Dodson2017-06-232-4/+9
|/ | | | Because you can't install PyYAML before you subscribe
* Make the rhel_subscribe role subscribe to OSE 3.5 channel by defaultLénaïc Huard2017-04-191-3/+6
|
* Allow RHEL subscription for OSE 3.4Lénaïc Huard2017-01-251-2/+2
|
* Removed trailing spaces from line #34Kunal2017-01-181-1/+1
| | | Cause Travis build to fail
* Install subscription-manager to fix issue-3102Kunal Limaye2017-01-181-0/+5
|
* YAML LintingRussell Teague2016-12-121-1/+2
| | | | | * Added checks to make ci for yaml linting * Modified y(a)ml files to pass lint checks
* Make rhel_subscribe role default to OpenShift Container Platform 3.3Lénaïc Huard2016-09-282-3/+3
|
* Role dependency cleanupAndrew Butcher2016-07-081-1/+1
|
* Bump rhel subscribe default version.Andrew Butcher2016-06-301-1/+1
|
* Make rhel_subscribe role able to subscribe for OSE 3.2Lénaïc Huard2016-05-231-1/+1
|
* Check consumed pools prior to attaching.Andrew Butcher2016-03-311-0/+11
|
* Move the `is_atomic` check from `update_repos_and_packages.yml` to ↵Lénaïc Huard2016-01-122-1/+4
| | | | `rhel_subscribe`
* Merge pull request #1128 from lhuard1A/bin_cluster_ose_3.1Thomas Wiest2016-01-112-2/+18
|\ | | | | Make bin/cluster able to spawn an OSE 3.1 cluster
| * Make bin/cluster able to spawn OSE 3.1 clustersLénaïc Huard2016-01-082-2/+18
| |
* | Fix RHN subscription by explicitly attaching to the right poolLénaïc Huard2016-01-061-1/+9
|/
* RH subscription: optional satellite and pkg updatePep Turró Mauri2015-10-191-2/+9
| | | | | Add an optional rhel_subscription_server fact to configure RHSM registration to a Red Hat Satellite server.
* Remove the 'optional' repositoryPep Turró Mauri2015-08-121-1/+0
|
* Fine tune RHEL reposPep Turró Mauri2015-08-021-0/+5
| | | | | | | | Disable all repos before explicitly enabling the expected ones: sometimes active repos might be polluted (e.g. depending on the result of rhsm auto-attach). Enable Extras and Optional repos.
* Implement RHEL subscription for enterprise deployment typeLénaïc Huard2015-07-172-0/+34