The propose plan looks too naive as some zk configuration also needs to be updated.
A recommended way is to add a new node on the cluster, migrate the partitions on the new node and shutdown the old one.
Doing like this ensure all the data and configuration will be correctly migrated, and without downtime, which is not negligible as the mirror tests of enea are in progress.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
All Stories
Oct 6 2021
@vsellier Feel free to commandeer the diff and adapt it if you want/need.
Trvial bugfix https://forge.softwareheritage.org/D6417
Build has FAILED
- Unit tests for mongo backend
- stubs
- small change
- more
- missing test stubs
The loader were finally stabilized. It was due to a wrong celery configuration.
Changing the pool configuration from solo to prefork solved the problem even if the concurrency is kept to one.
Solo looked indicated in environment like the POC but for obvious reasons, it was not working as expected:
Oct 5 2021
Trigger other runs with memory-profiler instead. [1]
It's not perfect though. I cannot find the proper way to actually have the
legends as they described in their documentation. [2]
I'm actually not sure yet.
So i gave a spin to [1] triggering a run on the most heavy and problematic origins with it (on
production nodes keybase/client and CocoaPods/Specs).
Let's see what result that gives (ongoing).
Build is green
Rebase
Build is green
credentials added on the credential database under the refs:
- operations/kafka/credentials/staging/swh-enea
- operations/kafka/credentials/production/swh-enea
Production credentials created:
+ export zookeeper_servers=kafka1.internal.softwareheritage.org:2181 + zookeeper_servers=kafka1.internal.softwareheritage.org:2181 + export bootstrap_servers=kafka1.internal.softwareheritage.org:9092 + bootstrap_servers=kafka1.internal.softwareheritage.org:9092 + '[' -z swh-enea -o -z redacted ']' + set -eu + /opt/kafka/bin/kafka-configs.sh --zookeeper kafka1.internal.softwareheritage.org:2181/kafka/softwareheritage --alter --add-config 'SCRAM-SHA-256=[iterations=8192,password=redacted],SCRAM-SHA-512=[password=redacted]' --entity-type users --entity-name swh-enea Warning: --zookeeper is deprecated and will be removed in a future version of Kafka. Use --bootstrap-server instead to specify a broker to connect to. Completed updating config for entity: user-principal 'swh-enea'. + /opt/kafka/bin/kafka-acls.sh --bootstrap-server kafka1.internal.softwareheritage.org:9092 --add --resource-pattern-type PREFIXED --topic swh.journal.objects. --allow-principal User:swh-enea --operation READ Adding ACLs for resource `ResourcePattern(resourceType=TOPIC, name=swh.journal.objects., patternType=PREFIXED)`: (principal=User:swh-enea, host=*, operation=READ, permissionType=ALLOW)
Build is green
Fix test after rebase
thanks!
Build has FAILED
Rebase
Rebase
Credentials create in stagingd:
ACLs for principal `User:swh-enea` Current ACLs for resource `ResourcePattern(resourceType=TOPIC, name=swh.journal.objects., patternType=PREFIXED)`: (principal=User:swh-enea, host=*, operation=DESCRIBE, permissionType=ALLOW) (principal=User:swh-enea, host=*, operation=READ, permissionType=ALLOW)
export username=swh-enea export password=XXXXX
token for the prod will be needed after that as well, thanks
yes, that's my guess too
In D6409#166428, @vlorentz wrote:Thanks!
Sorry, I meant to do this myself, but didn't get around it yet.
Sorry, I meant to do this myself, but didn't get around it yet.
Build is green
fix rabbitmq configuration
Aggregated stats at the moment:
as @vlorentz pointed out [1], this change should be irrelevant though...
Maybe using task_track_started to False will be even better [1]