Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #6323 from tomassedovic/rhel-subscribe | Michael Gugino | 2017-12-08 | 1 | -18/+11 |
|\ | | | | | Remove reading shell environment in rhel_subscribe | ||||
| * | Don't check for the deployment_type | Tomas Sedovic | 2017-12-05 | 1 | -1/+0 |
| | | |||||
| * | Remove reading shell environment in rhel_subscribe | Tomas Sedovic | 2017-12-01 | 1 | -17/+11 |
| | | | | | | | | | | | | | | | | The rhel_subscribe role used to read the shell environment variables for its input with a broken fallback to Ansible variables. This updates the role to only use Ansible vars. If the user wants to do an env lookup, they can do so when calling the role. | ||||
* | | Include Deprecation: Convert to include_tasks | Russell Teague | 2017-12-06 | 1 | -1/+1 |
| | | |||||
* | | retry package operations | Luke Meyer | 2017-11-30 | 1 | -0/+2 |
|/ | | | | | | When a package install/update fails due to network blips or other spotty availability, retry it. If the failure is a real failure (e.g. package is really not there) it still fails after 3 tries (Ansible default). | ||||
* | Remove oo_option facts. | Andrew Butcher | 2017-09-29 | 1 | -4/+4 |
| | |||||
* | Fix deprecated subscription-manager command | Benjamin Affolter | 2017-09-21 | 1 | -1/+1 |
| | |||||
* | Cleanup old deployment types | Michael Gugino | 2017-09-20 | 1 | -1/+1 |
| | | | | | | | | | | | 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_resilient | OpenShift Merge Robot | 2017-09-19 | 1 | -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 failures | Lénaïc Huard | 2017-05-02 | 1 | -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. | ||||
* | | Get rid of openshift_facts dep in rhel_subscribe | Scott Dodson | 2017-06-23 | 1 | -2/+8 |
|/ | | | | Because you can't install PyYAML before you subscribe | ||||
* | Removed trailing spaces from line #34 | Kunal | 2017-01-18 | 1 | -1/+1 |
| | | | Cause Travis build to fail | ||||
* | Install subscription-manager to fix issue-3102 | Kunal Limaye | 2017-01-18 | 1 | -0/+5 |
| | |||||
* | Make rhel_subscribe role default to OpenShift Container Platform 3.3 | Lénaïc Huard | 2016-09-28 | 1 | -1/+1 |
| | |||||
* | Check consumed pools prior to attaching. | Andrew Butcher | 2016-03-31 | 1 | -0/+11 |
| | |||||
* | Move the `is_atomic` check from `update_repos_and_packages.yml` to ↵ | Lénaïc Huard | 2016-01-12 | 1 | -1/+2 |
| | | | | `rhel_subscribe` | ||||
* | Merge pull request #1128 from lhuard1A/bin_cluster_ose_3.1 | Thomas Wiest | 2016-01-11 | 1 | -1/+1 |
|\ | | | | | Make bin/cluster able to spawn an OSE 3.1 cluster | ||||
| * | Make bin/cluster able to spawn OSE 3.1 clusters | Lénaïc Huard | 2016-01-08 | 1 | -1/+1 |
| | | |||||
* | | Fix RHN subscription by explicitly attaching to the right pool | Lénaïc Huard | 2016-01-06 | 1 | -1/+9 |
|/ | |||||
* | RH subscription: optional satellite and pkg update | Pep Turró Mauri | 2015-10-19 | 1 | -2/+9 |
| | | | | | Add an optional rhel_subscription_server fact to configure RHSM registration to a Red Hat Satellite server. | ||||
* | Implement RHEL subscription for enterprise deployment type | Lénaïc Huard | 2015-07-17 | 1 | -0/+29 |