diff options
| -rw-r--r-- | inventory/byo/hosts.origin.example | 2 | ||||
| -rw-r--r-- | inventory/byo/hosts.ose.example | 2 | ||||
| -rw-r--r-- | roles/openshift_master/tasks/main.yml | 6 | ||||
| -rw-r--r-- | roles/openshift_metrics/README.md | 1 | 
4 files changed, 10 insertions, 1 deletions
| diff --git a/inventory/byo/hosts.origin.example b/inventory/byo/hosts.origin.example index 52ffb736b..8b3a6e403 100644 --- a/inventory/byo/hosts.origin.example +++ b/inventory/byo/hosts.origin.example @@ -367,6 +367,8 @@ openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true',  #  # Override metricsPublicURL in the master config for cluster metrics  # Defaults to https://hawkular-metrics.{{openshift_master_default_subdomain}}/hawkular/metrics +# Currently, you may only alter the hostname portion of the url, alterting the +# `/hawkular/metrics` path will break installation of metrics.  #openshift_hosted_metrics_public_url=https://hawkular-metrics.example.com/hawkular/metrics  # Configure the multi-tenant SDN plugin (default is 'redhat/openshift-ovs-subnet') diff --git a/inventory/byo/hosts.ose.example b/inventory/byo/hosts.ose.example index 15647efc8..af653f850 100644 --- a/inventory/byo/hosts.ose.example +++ b/inventory/byo/hosts.ose.example @@ -366,6 +366,8 @@ openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true',  #  # Override metricsPublicURL in the master config for cluster metrics  # Defaults to https://hawkular-metrics.{{openshift_master_default_subdomain}}/hawkular/metrics +# Currently, you may only alter the hostname portion of the url, alterting the +# `/hawkular/metrics` path will break installation of metrics.  #openshift_hosted_metrics_public_url=https://hawkular-metrics.example.com/hawkular/metrics diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml index 6259fd996..d8a4aa9bb 100644 --- a/roles/openshift_master/tasks/main.yml +++ b/roles/openshift_master/tasks/main.yml @@ -202,6 +202,10 @@    when: openshift_master_ha | bool and openshift.master.cluster_method == 'native' and inventory_hostname == openshift_master_hosts[0]    register: start_result +- set_fact: +    master_api_service_status_changed: "{{ start_result | changed }}" +  when: openshift_master_ha | bool and openshift.master.cluster_method == 'native' and inventory_hostname == openshift_master_hosts[0] +  - pause:      seconds: 15    when: openshift_master_ha | bool and openshift.master.cluster_method == 'native' @@ -216,7 +220,7 @@  - set_fact:      master_api_service_status_changed: "{{ start_result | changed }}" -  when: openshift_master_ha | bool and openshift.master.cluster_method == 'native' +  when: openshift_master_ha | bool and openshift.master.cluster_method == 'native' and inventory_hostname != openshift_master_hosts[0]  # A separate wait is required here for native HA since notifies will  # be resolved after all tasks in the role. diff --git a/roles/openshift_metrics/README.md b/roles/openshift_metrics/README.md index 7f95a2a40..30a0a608d 100644 --- a/roles/openshift_metrics/README.md +++ b/roles/openshift_metrics/README.md @@ -16,6 +16,7 @@ From this role:  | Name                                            | Default value         |                                                             |  |-------------------------------------------------|-----------------------|-------------------------------------------------------------|  | openshift_hosted_metrics_deploy                 | `False`               | If metrics should be deployed                               | +| openshift_hosted_metrics_public_url             | null                  | Hawkular metrics public url                                 |  | openshift_hosted_metrics_storage_nfs_directory  | `/exports`            | Root export directory.                                      |  | openshift_hosted_metrics_storage_volume_name    | `metrics`             | Metrics volume within openshift_hosted_metrics_volume_dir   |  | openshift_hosted_metrics_storage_volume_size    | `10Gi`                | Metrics volume size                                         | | 
