Skip to content

Commit

Permalink
Merge pull request #3452 from cjloader/newton-ceph-fix
Browse files Browse the repository at this point in the history
Remove bad Ceph repos and add new Grafana repo
  • Loading branch information
prometheanfire authored Jan 18, 2019
2 parents b55806f + eab06c6 commit 72c4094
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 238 deletions.
12 changes: 0 additions & 12 deletions ansible-role-requirements.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
- name: ceph.ceph-common
scm: git
src: https://github.com/ceph/ansible-ceph-common.git
version: 1c623611a1d43b4c9116d1a0c21f0bdbdd87a0e7
- name: ceph.ceph-mon
scm: git
src: https://github.com/ceph/ansible-ceph-mon.git
version: 01d3d6f0b06125b33b1e25745c06fa1d7137f7e9
- name: ceph.ceph-osd
scm: git
src: https://github.com/ceph/ansible-ceph-osd.git
version: 434a13f4d3ee3f60c410052d2670d5dfea034bf8
# Note (Frank) - RLM-322:
# this is a forked ansible role for removing
# hardcoded period mark from hostname template.
Expand Down
2 changes: 1 addition & 1 deletion gating/generate_release_notes/run
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export REPO_URL=${RE_HOOK_REPO_HTTP_URL}

apt-get install -y pandoc

pip install osa_differ==0.3.10 rpc_differ==0.3.10 reno==2.5.1
pip install osa_differ==0.3.10 rpc_differ==0.3.11 reno==2.5.1

gating/generate_release_notes/generate_release_notes.sh

Expand Down
70 changes: 0 additions & 70 deletions group_vars/all/ceph.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
deprecations:
- |
Because RPC-O utilizes RPC-Ceph, we are removing the native ceph-ansible
related roles. Ceph has removed the repos that we clone down.
17 changes: 0 additions & 17 deletions rpcd/playbooks/ceph-all.yml

This file was deleted.

88 changes: 0 additions & 88 deletions rpcd/playbooks/ceph-mon.yml

This file was deleted.

46 changes: 0 additions & 46 deletions rpcd/playbooks/ceph-osd.yml

This file was deleted.

26 changes: 22 additions & 4 deletions scripts/artifacts-building/apt/aptly-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ rpc_series: "{{ rpc_release.split('.')[0] }}"

# Prepare for aptly, repos to clone.
aptly_clone_this_first:
- repo: "https://github.com/evrardjp/ansible-role-aptly.git"
- repo: "https://github.com/rcbops/ansible-role-aptly.git"
dest: "{{ ansible_roles_folder }}/infOpen.aptly"
version: "rax"
version: "master"

aptly_custom_gpg_key_file: "{{ artifacts_root_folder }}/aptly.private.key"
aptly_custom_gpg_pubkey_file: "{{ artifacts_root_folder }}/aptly.public.key"
Expand Down Expand Up @@ -69,7 +69,7 @@ aptly_miko_mapping:
- "slushie-{{ rpc_release }}-elastic-es-1.7-ALL"
- "slushie-{{ rpc_release }}-elastic-es-2.x-ALL"
- "slushie-{{ rpc_release }}-influxdata-trusty"
- "slushie-{{ rpc_release }}-grafana-jessie-ALL"
- "slushie-{{ rpc_release }}-grafana-stable-ALL"
xenial:
- "slushie-{{ rpc_release }}-ubuntu-updates-xenial"
- "slushie-{{ rpc_release }}-uca-newton-updates-xenial"
Expand All @@ -83,7 +83,7 @@ aptly_miko_mapping:
- "slushie-{{ rpc_release }}-elastic-es-1.7-ALL"
- "slushie-{{ rpc_release }}-elastic-es-2.x-ALL"
- "slushie-{{ rpc_release }}-influxdata-xenial"
- "slushie-{{ rpc_release }}-grafana-jessie-ALL"
- "slushie-{{ rpc_release }}-grafana-stable-ALL"

# mapping for N (NOT MERGE) snapshots
# This is a list of the repo/mirror snapshots (slushies) that will be published separately.
Expand Down Expand Up @@ -499,6 +499,24 @@ aptly_mirrors:
- "-keyring='trustedkeys.gpg'"
update_flags:
- "-keyring='trustedkeys.gpg'"
do_update: no

- name: grafana-stable-ALL
archive_url: https://packages.grafana.com/oss/deb
distribution: stable
component1:
- main
state: "present"
gpg:
key: "8c8c34c524098cb6"
server: "hkp://keyserver.ubuntu.com:80"
keyring: "trustedkeys.gpg"
create_flags:
- "-keyring='trustedkeys.gpg'"
- "-architectures=amd64"
update_flags:
- "-keyring='trustedkeys.gpg'"
- "-architectures=amd64"
do_update: "{{ aptly_mirror_do_updates }}"

## TODO
Expand Down

0 comments on commit 72c4094

Please sign in to comment.