Staging instance, all changes can be removed at any time

Skip to content

staging: Activate swh-search-journal-client@indexed

Renaming the consumer group as it's not necessary they share it. That will surely ease the maintenance when some offset reset is needed (at least at first).

Related to T2780

Test Plan

octocatalog-diff

bin/octocatalog-diff --octocatalog-diff-args --no-truncate-details --to staging search0.internal.staging.swh.network
Found host search0.internal.staging.swh.network
WARN     -> Environment "wip-pg-hba-rules-in-yaml" contained non-word characters, correcting name to wip_pg_hba_rules_in_yaml
Cloning into '/tmp/swh-ocd.aYuxZasV/environments/production/data/private'...
done.
Cloning into '/tmp/swh-ocd.aYuxZasV/environments/staging/data/private'...
done.
*** Running octocatalog-diff on host search0.internal.staging.swh.network
I, [2021-02-09T18:43:01.263201 #25414]  INFO -- : Catalogs compiled for search0.internal.staging.swh.network
I, [2021-02-09T18:43:02.558149 #25414]  INFO -- : Diffs computed for search0.internal.staging.swh.network
diff origin/production/search0.internal.staging.swh.network current/search0.internal.staging.swh.network
*******************************************
+ File[/etc/softwareheritage/search/journal_client_indexed.yml] =>
   parameters =>
      "ensure": "present"
      "group": "swhstorage"
      "mode": "0644"
      "notify": "Service[swh-search-journal-client@indexed]"
      "owner": "swhstorage"
      "content": >>>
---
search:
  cls: elasticsearch
  hosts:
  - host: search-esnode0.internal.staging.swh.network
    port: 9200
journal:
  brokers:
  - journal0.internal.staging.swh.network
  group_id: swh.search.journal_client.indexed
  prefix: swh.journal.indexed
  object_types:
  - origin_intrinsic_metadata
<<<
*******************************************
+ Profile::Swh::Deploy::Search::Journal_client_instance[indexed] =>
   parameters =>
      "ensure": "running"
      "instance_name": "indexed"
*******************************************
+ Service[swh-search-journal-client@indexed] =>
   parameters =>
      "enable": true
      "ensure": "running"
*******************************************
*** End octocatalog-diff on search0.internal.staging.swh.network

Migrated from D5053 (view on Phabricator)

Merge request reports

Loading