diff options
| -rw-r--r-- | .tito/packages/openshift-ansible | 2 | ||||
| -rw-r--r-- | openshift-ansible.spec | 31 | ||||
| -rw-r--r-- | playbooks/adhoc/uninstall.yml | 14 | ||||
| -rwxr-xr-x | roles/openshift_facts/library/openshift_facts.py | 2 | ||||
| -rw-r--r-- | roles/os_zabbix/vars/template_os_linux.yml | 6 | 
5 files changed, 49 insertions, 6 deletions
| diff --git a/.tito/packages/openshift-ansible b/.tito/packages/openshift-ansible index 1a77715d2..92f545b25 100644 --- a/.tito/packages/openshift-ansible +++ b/.tito/packages/openshift-ansible @@ -1 +1 @@ -3.0.5-1 ./ +3.0.6-1 ./ diff --git a/openshift-ansible.spec b/openshift-ansible.spec index a9e0fbde6..8d79c80c6 100644 --- a/openshift-ansible.spec +++ b/openshift-ansible.spec @@ -5,7 +5,7 @@  }  Name:           openshift-ansible -Version:        3.0.5 +Version:        3.0.6  Release:        1%{?dist}  Summary:        Openshift and Atomic Enterprise Ansible  License:        ASL 2.0 @@ -138,7 +138,29 @@ Ansible Inventories used with the openshift-ansible scripts and playbooks.  %config(noreplace) /etc/ansible/*  %dir %{_datadir}/ansible/inventory  %{_datadir}/ansible/inventory/multi_ec2.py* + +%package inventory-aws +Summary:       Openshift and Atomic Enterprise Ansible Inventories for AWS +Requires:      %{name}-inventory +Requires:      python-boto +BuildArch:     noarch + +%description inventory-aws +Ansible Inventories for AWS used with the openshift-ansible scripts and playbooks. + +%files inventory-aws  %{_datadir}/ansible/inventory/aws/ec2.py* + +%package inventory-gce +Summary:       Openshift and Atomic Enterprise Ansible Inventories for GCE +Requires:      %{name}-inventory +Requires:      python-libcloud >= 0.13 +BuildArch:     noarch + +%description inventory-gce +Ansible Inventories for GCE used with the openshift-ansible scripts and playbooks. + +%files inventory-gce  %{_datadir}/ansible/inventory/gce/gce.py* @@ -225,6 +247,13 @@ Atomic OpenShift Utilities includes  %changelog +* Fri Oct 30 2015 Kenny Woodson <kwoodson@redhat.com> 3.0.6-1 +- Adding python-boto and python-libcloud to openshift-ansible-inventory +  dependency (kwoodson@redhat.com) +- Use more specific enterprise version for version_greater_than_3_1_or_1_1. +  (abutcher@redhat.com) +- Conditionalizing the support for the v1beta3 api (bleanhar@redhat.com) +  * Thu Oct 29 2015 Kenny Woodson <kwoodson@redhat.com> 3.0.5-1  - Updating multi_ec2 to support extra_vars and extra_groups    (kwoodson@redhat.com) diff --git a/playbooks/adhoc/uninstall.yml b/playbooks/adhoc/uninstall.yml index 7d1544be8..0503b7cd4 100644 --- a/playbooks/adhoc/uninstall.yml +++ b/playbooks/adhoc/uninstall.yml @@ -22,6 +22,11 @@      - set_fact:          is_atomic: "{{ ostree_output.rc == 0 }}" +    - name: Remove br0 interface +      shell: ovs-vsctl del-br br0 +      changed_when: False +      failed_when: False +      - service: name={{ item }} state=stopped        with_items:          - atomic-enterprise-master @@ -69,6 +74,15 @@          - tuned-profiles-openshift-node          - tuned-profiles-origin-node +    - name: Remove linux interfaces +      shell: ip link del "{{ item }}" +      changed_when: False +      failed_when: False +      with_items: +        - lbr0 +        - vlinuxbr +        - vovsbr +      - shell: systemctl reset-failed        changed_when: False diff --git a/roles/openshift_facts/library/openshift_facts.py b/roles/openshift_facts/library/openshift_facts.py index 748cc59cf..e5aeb9244 100755 --- a/roles/openshift_facts/library/openshift_facts.py +++ b/roles/openshift_facts/library/openshift_facts.py @@ -535,7 +535,7 @@ def set_deployment_facts_if_unset(facts):              if deployment_type == 'origin':                  version_gt_3_1_or_1_1 = LooseVersion(version) > LooseVersion('1.0.6')              else: -                version_gt_3_1_or_1_1 = LooseVersion(version) > LooseVersion('3.0.2') +                version_gt_3_1_or_1_1 = LooseVersion(version) > LooseVersion('3.0.2.900')          else:              version_gt_3_1_or_1_1 = True          facts['common']['version_greater_than_3_1_or_1_1'] = version_gt_3_1_or_1_1 diff --git a/roles/os_zabbix/vars/template_os_linux.yml b/roles/os_zabbix/vars/template_os_linux.yml index 3ae1500bc..aeeec4b8d 100644 --- a/roles/os_zabbix/vars/template_os_linux.yml +++ b/roles/os_zabbix/vars/template_os_linux.yml @@ -246,15 +246,15 @@ g_template_os_linux:      #  CPU Utilization #    - name: 'CPU idle less than 5% on {HOST.NAME}' -    expression: '{Template OS Linux:kernel.all.cpu.idle.last()}<5 and {Template OS Linux:kernel.all.cpu.idle.last(#2)}<5' +    expression: '{Template OS Linux:kernel.all.cpu.idle.max(#5)}<5'      url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/check_cpu_idle.asciidoc'      priority: average      description: 'CPU is less than 5% idle'    - name: 'CPU idle less than 10% on {HOST.NAME}' -    expression: '{Template OS Linux:kernel.all.cpu.idle.last()}<10 and {Template OS Linux:kernel.all.cpu.idle.last(#2)}<10' +    expression: '{Template OS Linux:kernel.all.cpu.idle.max(#5)}<10'      url: 'https://github.com/openshift/ops-sop/blob/master/V3/Alerts/check_cpu_idle.asciidoc' -    priority: warn +    priority: average      description: 'CPU is less than 10% idle'      dependencies:      - 'CPU idle less than 5% on {HOST.NAME}' | 
