Skip to content

Commit

Permalink
remove chainwatch
Browse files Browse the repository at this point in the history
chainwatch has been removed by lotus filecoin-project/lotus#6912
  • Loading branch information
travisperson authored and ognots committed Sep 9, 2021
1 parent 4d8b2ba commit 7e452a3
Show file tree
Hide file tree
Showing 20 changed files with 0 additions and 216 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

7 changes: 0 additions & 7 deletions ansible/inventories/testnet.fildev.network/hosts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ all:
children:
faucet:
stats:
chainwatch:
pcr:

####
Expand All @@ -126,12 +125,6 @@ all:
children:
toolshed2:

chainwatch:
vars:
ssh_keys_access: "{{ ssh_ops + ssh_lotus + ssh_sentinel | unique }}"
children:
toolshed3:

pcr:
vars:
ssh_keys_access: "{{ ssh_ops }}"
Expand Down
2 changes: 0 additions & 2 deletions ansible/inventories/vagrant/group_vars/chainwatch/vars.yml

This file was deleted.

8 changes: 0 additions & 8 deletions ansible/inventories/vagrant/group_vars/chainwatch/vault.yml

This file was deleted.

5 changes: 0 additions & 5 deletions ansible/inventories/vagrant/hosts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ all:
children:
faucet:
stats:
chainwatch:

faucet:
children:
Expand All @@ -49,10 +48,6 @@ all:
children:
toolshed0:

chainwatch:
children:
toolshed0:

preminer:
children:
t01000:
Expand Down
2 changes: 0 additions & 2 deletions ansible/lotus_devnet_provision.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@
when: "'faucet' in group_names"
- include_role: name=stats
when: "'stats' in group_names"
- include_role: name=chainwatch
when: "'chainwatch' in group_names"
- include_role: name=lotus_pcr
when: "'pcr' in group_names"

Expand Down
11 changes: 0 additions & 11 deletions ansible/lotus_devnet_start.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,6 @@
state: started
when: start_services|bool

- hosts: chainwatch
become: true
vars:
start_services: true
tasks:
- name: Ensure chainwatch started
service:
name: "chainwatch"
state: started
when: start_services|bool

- hosts: faucet
become: true
vars:
Expand Down
7 changes: 0 additions & 7 deletions ansible/roles/chainwatch/defaults/main.yml

This file was deleted.

3 changes: 0 additions & 3 deletions ansible/roles/chainwatch/handlers/main.yml

This file was deleted.

88 changes: 0 additions & 88 deletions ansible/roles/chainwatch/tasks/main.yml

This file was deleted.

23 changes: 0 additions & 23 deletions ansible/roles/chainwatch/templates/chainwatch.service.j2

This file was deleted.

3 changes: 0 additions & 3 deletions ansible/roles/chainwatch/vars/main.yml

This file was deleted.

14 changes: 0 additions & 14 deletions ansible/roles/filebeat_logz_io/templates/filebeat.yml.j2
Original file line number Diff line number Diff line change
@@ -1,20 +1,6 @@
############################# Filebeat #####################################

filebeat.inputs:
{% if 'chainwatch' in group_names %}
- encoding: utf-8
type: log
fields:
logzio_codec: plain
token: "{{ logz_io_shared_token }}"
type: lotus-chainwatch
paths:
- "{{ chainwatch_golog_file }}"
fields_under_root: true
json.keys_under_root: true
json.message_key: msg
ignore_older: 3h
{% endif %}
{% if 'pcr' in group_names %}
- encoding: utf-8
type: log
Expand Down
7 changes: 0 additions & 7 deletions ansible/roles/telegraf/templates/telegraf.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@
{% if 'stats' in group_names %}
lotus_stats = "true"
{% endif %}
{% if 'chainwatch' in group_names %}
lotus_chainwatch = "true"
{% endif %}
{% if 'pcr' in group_names %}
lotus_pcr = "true"
{% endif %}
Expand Down Expand Up @@ -259,10 +256,6 @@
[[inputs.procstat]]
systemd_unit = "stats.service"
{% endif %}
{% if 'chainwatch' in group_names %}
[[inputs.procstat]]
systemd_unit = "chainwatch.service"
{% endif %}
{% if 'pcr' in group_names %}
[[inputs.procstat]]
systemd_unit = "lotus-pcr.service"
Expand Down
2 changes: 0 additions & 2 deletions ansible/setup_fildev_network.bash
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,7 @@ ansible-playbook -i $hostfile lotus_devnet_provision.yml
-e lotus_pcr_binary_src="$GOPATH/src/github.com/filecoin-project/lotus/lotus-pcr" \
-e lotus_fountain_binary_src="$GOPATH/src/github.com/filecoin-project/lotus/lotus-fountain" \
-e stats_binary_src="$GOPATH/src/github.com/filecoin-project/lotus/lotus-stats" \
-e chainwatch_binary_src="$GOPATH/src/github.com/filecoin-project/lotus/lotus-chainwatch" \
-e lotus_reset=yes -e lotus_miner_reset=yes -e stats_reset=yes -e lotus_pcr_reset=yes \
-e chainwatch_db_reset=no -e chainwatch_reset=yes \
-e certbot_create_certificate=${create_certificate} \
--diff "${ansible_args[@]}"

Expand Down

0 comments on commit 7e452a3

Please sign in to comment.