Are we're going to migrate the analytics DAGs to airflow-main, we can safely decommission airflow-analytics.wikimedia.org, as it's not being used.
Description
Details
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | brouberol | T362788 Migrate Airflow to the dse-k8s cluster | |||
| Resolved | brouberol | T364389 Migrate the airflow scheduler components to Kubernetes | |||
| Resolved | brouberol | T380619 Migrate the airflow-analytics scheduler to Kubernetes | |||
| Resolved | amastilovic | T386282 Migrate analytics Airflow DAGs to k8s Airflow deployment | |||
| Resolved | brouberol | T389172 Decommission airflow-analytics |
Event Timeline
Change #1128785 had a related patch set uploaded (by Brouberol; author: Brouberol):
[operations/dns@master] Drop airflow-analytics DNS records
Change #1128786 had a related patch set uploaded (by Brouberol; author: Brouberol):
[operations/puppet@production] Remove airflow-analytics from the ATS and cache configuration
Change #1128787 had a related patch set uploaded (by Brouberol; author: Brouberol):
[operations/puppet@production] Remove airflow-analytics from the IDP configuration
Change #1128788 had a related patch set uploaded (by Brouberol; author: Brouberol):
[operations/puppet@production] Remove the airflow-analytics kubeconfigs
Change #1128789 had a related patch set uploaded (by Brouberol; author: Brouberol):
[operations/deployment-charts@master] Remove the airflow-analytics namespace from the operators tenant ns list
Change #1128790 had a related patch set uploaded (by Brouberol; author: Brouberol):
[operations/deployment-charts@master] Remove the airflow-analytics deployemnt helmfile and values
Change #1128791 had a related patch set uploaded (by Brouberol; author: Brouberol):
[operations/deployment-charts@master] Remove the airflow-analytics namespace
Change #1128785 merged by Brouberol:
[operations/dns@master] Drop airflow-analytics DNS records
Change #1128786 merged by Brouberol:
[operations/puppet@production] Remove airflow-analytics from the ATS and cache configuration
Change #1128787 merged by Brouberol:
[operations/puppet@production] Remove airflow-analytics from the IDP configuration
Change #1128789 merged by jenkins-bot:
[operations/deployment-charts@master] Remove the airflow-analytics namespace from the operators tenant ns list
Change #1128790 merged by Brouberol:
[operations/deployment-charts@master] Remove the airflow-analytics deployemnt helmfile and values
Change #1128791 merged by Brouberol:
[operations/deployment-charts@master] Remove the airflow-analytics namespace
Change #1128788 merged by Brouberol:
[operations/puppet@production] Remove the airflow-analytics kubeconfigs
brouberol@stat1008:~$ s3cmd --access_key=$access_key --secret_key=$secret_key --host=rgw.eqiad.dpe.anycast.wmnet --region=dpe --host-bucket=no rb s3://postgresql-airflow-analytics.dse-k8s-eqiad/ Bucket 's3://postgresql-airflow-analytics.dse-k8s-eqiad/' removed brouberol@stat1008:~$ s3cmd --access_key=$access_key --secret_key=$secret_key --host=rgw.eqiad.dpe.anycast.wmnet --region=dpe --host-bucket=no rb --recursive s3://logs.airflow-analytics.dse-k8s-eqiad WARNING: Bucket is not empty. Removing all the objects from it first. This may take some time... ....
Switching the last command to the much faster
brouberol@an-launcher1002:~$ rclone --s3-access-key-id $access_key --s3-secret-access-key $secret_key purge s3dpe://logs.airflow-analytics.dse-k8s-eqiad
brouberol@cephosd1001:~$ sudo radosgw-admin user list
[
"airflow-research",
"mw-content-history-reconcile-enrich",
"airflow-search",
"btullis",
"postgresql-airflow-ml",
"airflow-main",
"airflow-analytics-product",
"airflow-ml",
"research",
"airflow-wmde",
"airflow-analytics-test",
"postgresql-airflow-wmde",
"mw-content-history-reconcile-enrich-next",
"postgresql-airflow-analytics",
"postgresql-test-k8s",
"airflow-analytics",
"postgresql-airflow-analytics-product",
"postgresql-airflow-main",
"postgresql-airflow-analytics-test",
"postgresql-airflow-platform-eng",
"airflow-test-k8s",
"postgresql-airflow-search",
"airflow-platform-eng"
]
brouberol@cephosd1001:~$ sudo radosgw-admin user rm --uid airflow-analytics
brouberol@cephosd1001:~$ sudo radosgw-admin user rm --uid postgresql-airflow-analytics
brouberol@cephosd1001:~$ sudo radosgw-admin user list
[
"airflow-research",
"mw-content-history-reconcile-enrich",
"airflow-search",
"btullis",
"postgresql-airflow-ml",
"airflow-main",
"airflow-analytics-product",
"airflow-ml",
"research",
"airflow-wmde",
"airflow-analytics-test",
"postgresql-airflow-wmde",
"mw-content-history-reconcile-enrich-next",
"postgresql-test-k8s",
"postgresql-airflow-analytics-product",
"postgresql-airflow-main",
"postgresql-airflow-analytics-test",
"postgresql-airflow-platform-eng",
"airflow-test-k8s",
"postgresql-airflow-search",
"airflow-platform-eng"
]
brouberol@cephosd1001:~$