]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
remove references to Inktank Ceph Storage 906/head
authorKen Dreyer <kdreyer@redhat.com>
Tue, 26 Jul 2016 19:57:32 +0000 (13:57 -0600)
committerKen Dreyer <kdreyer@redhat.com>
Tue, 26 Jul 2016 19:57:32 +0000 (13:57 -0600)
ICE is beyond end-of-life, and this Inktank GPG key is considered
untrusted (https://access.redhat.com/blogs/766093/posts/2176181)

RIP ICE, we will not miss you.

group_vars/all.sample
roles/ceph-common/README.md
roles/ceph-common/defaults/main.yml
roles/ceph-common/files/cephstableice.asc [deleted file]
roles/ceph-common/tasks/checks/check_mandatory_vars.yml
roles/ceph-common/tasks/installs/debian_ceph_repository.yml
roles/ceph-common/tasks/installs/install_on_redhat.yml
roles/ceph-common/tasks/installs/redhat_ceph_repository.yml
roles/ceph-common/tasks/main.yml
roles/ceph-common/tasks/pre_requisites/prerequisite_ice.yml [deleted file]
roles/ceph-common/templates/redhat_ice_repo.j2 [deleted file]

index d197e40122be4b0878abf600dd6cc00fe7038f1c..04ba5434b104f41d4fcf7fd3514a4e9d253d1155 100644 (file)
@@ -44,7 +44,7 @@ dummy:
 # is not needed for versions after infernalis.
 #use_server_package_split: true
 
-# /!\ EITHER ACTIVE ceph_stable OR ceph_stable_ice OR ceph_stable_uca OR ceph_dev OR ceph_custom /!\
+# /!\ EITHER ACTIVE ceph_stable OR ceph_stable_uca OR ceph_dev OR ceph_custom /!\
 
 #debian_package_dependencies:
 #  - python-pycurl
@@ -120,20 +120,6 @@ dummy:
 # # for supported distros, see http://download.ceph.com/rpm-{{ ceph_stable_release }}/
 #ceph_stable_redhat_distro: el7
 
-# ENTERPRISE VERSION ICE (old, prior to the 1.3)
-#ceph_stable_ice: false # use Inktank Ceph Enterprise
-#ceph_stable_ice_url: https://download.inktank.com/enterprise
-# these two variables are used in `with_items` and starting
-# with ansible 2.0 these need to be defined even if the tasks's
-# `when` clause doesn't evaluate to true
-#ceph_stable_ice_temp_path: /opt/ICE/ceph-repo/
-#ceph_stable_ice_kmod: 3.10-0.1.20140702gitdc9ac62.el7.x86_64
-#ceph_stable_ice_distro: rhel7 # Please check the download website for the supported versions.
-#ceph_stable_ice_version: 1.2.2
-#ceph_stable_ice_kmod_version: 1.2
-#ceph_stable_ice_user: # htaccess user
-#ceph_stable_ice_password: # htaccess password
-
 # ENTERPRISE VERSION RED HAT STORAGE (from 1.3)
 # This version is only supported on RHEL >= 7.1
 # As of RHEL 7.1, libceph.ko and rbd.ko are now included in Red Hat's kernel
index 0270c3bcc67938ae605def05096814c59aa8b324..6c1b81fd106272e3e3815d7e9cf787a3e558939c 100644 (file)
@@ -25,7 +25,6 @@ Have a look at `defaults/main.yml`.
 * Install source, choose one of these:
   * `ceph_stable`
   * `ceph_dev`
-  * `ceph_stable_ice`
   * `ceph_stable_rh_storage`
   * `ceph_custom`
 * `journal_size`
index c40eb20645f232a9e283e4950625c9695af73baa..9f15acf855981551d6b2fc32ed54d137b938b557 100644 (file)
@@ -36,7 +36,7 @@ upgrade_ceph_packages: False
 # is not needed for versions after infernalis.
 use_server_package_split: true
 
-# /!\ EITHER ACTIVE ceph_stable OR ceph_stable_ice OR ceph_stable_uca OR ceph_dev OR ceph_custom /!\
+# /!\ EITHER ACTIVE ceph_stable OR ceph_stable_uca OR ceph_dev OR ceph_custom /!\
 
 debian_package_dependencies:
   - python-pycurl
@@ -112,20 +112,6 @@ ceph_stable_releases:
 # # for supported distros, see http://download.ceph.com/rpm-{{ ceph_stable_release }}/
 ceph_stable_redhat_distro: el7
 
-# ENTERPRISE VERSION ICE (old, prior to the 1.3)
-ceph_stable_ice: false # use Inktank Ceph Enterprise
-#ceph_stable_ice_url: https://download.inktank.com/enterprise
-# these two variables are used in `with_items` and starting
-# with ansible 2.0 these need to be defined even if the tasks's
-# `when` clause doesn't evaluate to true
-ceph_stable_ice_temp_path: /opt/ICE/ceph-repo/
-ceph_stable_ice_kmod: 3.10-0.1.20140702gitdc9ac62.el7.x86_64
-#ceph_stable_ice_distro: rhel7 # Please check the download website for the supported versions.
-#ceph_stable_ice_version: 1.2.2
-#ceph_stable_ice_kmod_version: 1.2
-#ceph_stable_ice_user: # htaccess user
-#ceph_stable_ice_password: # htaccess password
-
 # ENTERPRISE VERSION RED HAT STORAGE (from 1.3)
 # This version is only supported on RHEL >= 7.1
 # As of RHEL 7.1, libceph.ko and rbd.ko are now included in Red Hat's kernel
diff --git a/roles/ceph-common/files/cephstableice.asc b/roles/ceph-common/files/cephstableice.asc
deleted file mode 100644 (file)
index 21a6db1..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
------BEGIN PGP PUBLIC KEY BLOCK-----
-Version: GnuPG v1.4.11 (GNU/Linux)
-
-mQINBFJxnXIBEAC4QhhJgpTJFeZ9pHLuGseS2C/MQwYzcSyJEoJoEnbooS8uwNZt
-fMHBwcacML/Yq7CkVCXYbMM1tQVTTU31wnAZIb5nrvYHL4MNWoTzEFIEjAD0VHZW
-bRmydFa9aDNjwrVE4xXhvMClmrv51we4qW+Ht5s3I8nn+hJRc6oeFKw7FhYqAsyL
-htYRzNg0Ji+MiqBgeAC6IEwmKK/lsmz4FK/5RLnu9tKMJhziQZNQbHvv5pntVcnI
-M4UJdUtepaf/GUk256MmFW1Qmfv2KxUlEcms1fPusBFjQDnCZi+qRuezTjpPsLAx
-ramqc8Dj6NfylSm374CKnkpQSB6Mn+78cwr2SzUB3mUoXq/IgZ3RRhNhVV6NzZpM
-u9IvHE+xL80c/eGXgIx/q8uP8Mmi3PJxt+WS+X0m5pvbIEFZ305vya6ovlUK+kIV
-MnWj8jcMIgFO2LM+UM51W5jrFjmgB/GcIof2G3iddM6r+ZGCqqzw/8blGwOy+sny
-FsOQ1wwb4/ew2ehxU7fDSH/3Ohujs+2qVOsQUUSx6upm5cGLyJzF8YgqRz7NkPG/
-7d9XA3OaO8tV5NtwU2jKInOeUUA56iAqQbY/StJIKMTCBe9263sHGIw2B1QnEHce
-ALgQ5rxajBs2qfkweFYhax5LjRkMmtmpJ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A07
-PweRzqCUKZuXYmbaZ8DzalrNL7a8btCHfzII8ohj+br1WeynFMpYqhgKfitlM/Ie
-KlnNRKxeDgU6NN27y6DKIzzrdpz36yNaFtdn3O0XcNzayj80qJTLNA96nI0bcpoy
-xvbSx50M7NRbYugFLkz54bo8U3fOXKdw7qC2eLqhq1RvQEt05qz1EvwA9Is=
-=0eqL
------END PGP PUBLIC KEY BLOCK-----
index 2a84c9ff869e4b47a5d2b223f83e94ac12119fcb..c8cedd937d010280303e17b94e986466a85a0ce3 100644 (file)
@@ -15,7 +15,6 @@
     - ceph_origin == 'upstream'
     - not ceph_stable
     - not ceph_dev
-    - not ceph_stable_ice
     - not ceph_stable_rh_storage
     - not ceph_stable_uca
   tags:
index 48eb7d5793c89ba6614f5f9c87ec2b152be42d0d..9730c10f84a9dad63d71255fdcfd5fd7132a40ae 100644 (file)
     state: present
   when: ceph_dev
 
-- name: install intank ceph enterprise repository key
-  apt_key:
-    data: "{{ lookup('file', role_path+'/files/cephstableice.asc') }}"
-    state: present
-  when: ceph_stable_ice
-
 - name: add ceph stable repository
   apt_repository:
     repo: "deb {{ ceph_stable_repo }} {{ ceph_stable_distro_source | default(ansible_lsb.codename) }} main"
   changed_when: false
   when: ceph_dev
 
-- name: add inktank ceph enterprise repository
-  apt_repository:
-    repo: "deb file://{{ ceph_stable_ice_temp_path }} {{ ansible_lsb.codename }} main"
-    state: present
-  changed_when: false
-  when: ceph_stable_ice
-
 - name: add ubuntu cloud archive key package
   apt:
     pkg: ubuntu-cloud-keyring
index 3a8f3730fe03283ecdc4d24229e3870eec0e0e66..93e6d045da08155ddd7d5a36e8e6c2fad62bdc55 100644 (file)
     - ceph_test
     - ansible_pkg_mgr == "dnf"
 
-- name: install Inktank Ceph Enterprise RBD Kernel modules
-  yum:
-    name: "{{ item }}"
-  with_items:
-    - "{{ ceph_stable_ice_temp_path }}/kmod-libceph-{{ ceph_stable_ice_kmod }}.rpm"
-    - "{{ ceph_stable_ice_temp_path }}/kmod-rbd-{{ ceph_stable_ice_kmod }}.rpm"
-  when:
-    - ceph_stable_ice
-    - ansible_pkg_mgr == "yum"
-
-- name: install Inktank Ceph Enterprise RBD Kernel modules
-  dnf:
-    name: "{{ item }}"
-  with_items:
-    - "{{ ceph_stable_ice_temp_path }}/kmod-libceph-{{ ceph_stable_ice_kmod }}.rpm"
-    - "{{ ceph_stable_ice_temp_path }}/kmod-rbd-{{ ceph_stable_ice_kmod }}.rpm"
-  when:
-    - ceph_stable_ice
-    - ansible_pkg_mgr == "dnf"
-
 - name: install rados gateway
   yum:
     name: ceph-radosgw
index f02bbf9962209d65b661763dcdd8e0ac8ceabac6..927d1d0361fdce086c09ab2a80d901172dacf16d 100644 (file)
     state: present
   when: ceph_dev
 
-- name: install inktank ceph enterprise repository key
-  rpm_key:
-    key: "{{ ceph_stable_ice_temp_path }}/release.asc"
-    state: present
-  when: ceph_stable_ice
-
 - name: add ceph stable repository
   yum:
     name: http://download.ceph.com/rpm-{{ ceph_stable_release }}/{{ ceph_stable_redhat_distro }}/noarch/ceph-release-1-0.{{ ceph_stable_redhat_distro|replace('rhel', 'el') }}.noarch.rpm
     - ceph_dev
     - ansible_pkg_mgr == "dnf"
 
-- name: add inktank ceph enterprise repository
-  template:
-    src: "{{ role_path }}/templates/redhat_ice_repo.j2"
-    dest: /etc/yum.repos.d/ice.repo
-    owner: root
-    group: root
-    mode: 0644
-  when: ceph_stable_ice
-
 - name: add custom repo
   get_url:
     url: "{{ ceph_custom_repo }}"
index c68267d49cdf97d0355e1f3bb630cf034901e597..cd87f5e7029e4880f84d6e345b971aaa790f1681 100644 (file)
@@ -9,11 +9,6 @@
 - include: ./misc/system_tuning.yml
   when: osd_group_name in group_names
 
-- include: ./pre_requisites/prerequisite_ice.yml
-  when: ceph_stable_ice
-  tags:
-    - package-install
-
 - include: ./pre_requisites/prerequisite_rh_storage_iso_install.yml
   when:
     - ceph_stable_rh_storage
diff --git a/roles/ceph-common/tasks/pre_requisites/prerequisite_ice.yml b/roles/ceph-common/tasks/pre_requisites/prerequisite_ice.yml
deleted file mode 100644 (file)
index bd92bbf..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
----
-- name: create ice package directory
-  file:
-    path: "{{ ceph_stable_ice_temp_path }}"
-    state: directory
-    owner: root
-    group: root
-    mode: 0644
-  when: ceph_stable_ice
-
-- name: get ice packages
-  get_url:
-    url_username: "{{ ceph_stable_ice_user }}"
-    url_password: "{{ ceph_stable_ice_password }}"
-    url: "{{ ceph_stable_ice_url }}/{{ ceph_stable_ice_version }}/ICE-{{ ceph_stable_ice_version }}-{{ ceph_stable_ice_distro }}.tar.gz"
-    dest: "{{ ceph_stable_ice_temp_path }}/ICE-{{ ceph_stable_ice_version }}-{{ ceph_stable_ice_distro }}.tar.gz"
-  when: ceph_stable_ice
-
-- name: get ice Kernel Modules
-  get_url:
-    url_username: "{{ ceph_stable_ice_user }}"
-    url_password: "{{ ceph_stable_ice_password }}"
-    url: "{{ ceph_stable_ice_url }}/{{ ceph_stable_ice_kmod_version }}/{{ item }}"
-    dest: "{{ ceph_stable_ice_temp_path }}"
-  with_items:
-    - kmod-libceph-{{ ceph_stable_ice_kmod }}.rpm
-    - kmod-rbd-{{ ceph_stable_ice_kmod }}.rpm
-  when:
-    - ceph_stable_ice
-    - ansible_os_family == 'RedHat'
-
-- name: stat extracted ice repo files
-  stat:
-    path: "{{ ceph_stable_ice_temp_path }}/ice_setup.py"
-  register: repo_exist
-  when: ceph_stable_ice
-
-- name: extract ice packages
-  shell: tar -xzf ICE-{{ ceph_stable_ice_version }}-{{ ceph_stable_ice_distro }}.tar.gz
-  args:
-    chdir: "{{ ceph_stable_ice_temp_path }}"
-  changed_when: false
-  when:
-    - ceph_stable_ice
-    - repo_exist.stat.exists == False
-
-- name: move ice extracted packages
-  shell: "mv {{ ceph_stable_ice_temp_path }}/ceph/*/* {{ ceph_stable_ice_temp_path }}"
-  changed_when: false
-  when:
-    - ceph_stable_ice
-    - repo_exist.stat.exists == False
diff --git a/roles/ceph-common/templates/redhat_ice_repo.j2 b/roles/ceph-common/templates/redhat_ice_repo.j2
deleted file mode 100644 (file)
index 9600dcb..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-# {{ ansible_managed }}
-[ice]
-name=Inktank Ceph Enterprise - local packages for Ceph
-baseurl=file://{{ ceph_stable_ice_temp_path }}
-enabled=1
-gpgcheck=1
-type=rpm-md
-priority=1
-gpgkey=file://{{ ceph_stable_ice_temp_path }}/release.asc