Page MenuHomePhabricator

codfw1dev: we lost the PDNS database content
Closed, ResolvedPublic

Description

It seems we lost the PDNS database content with the recent reimages of cloudservices2004-dev/2005-dev nodes into Debian 12 Bookworm.

There should be at least two procedures to restore the data:

  • have designate force-recreate it. The data is originally stored in the openstack BD (galera), but designate wont inject it into PDNS unless there is an update in the records. How to force-do-it is unknown at the moment
  • restore a pdns database backup. Given the hosts were reimaged, restoration might a be a bit trickier.

Event Timeline

aborrero created this task.

False, the data seems to be there. In particular:

1MariaDB [pdns]> select * from domains where name like 'bastion%';
2+----+----------------------------------------------+------------------------------------+------------+-------+-----------------+---------+--------------+---------+---------+
3| id | name | master | last_check | type | notified_serial | account | designate_id | catalog | options |
4+----+----------------------------------------------+------------------------------------+------------+-------+-----------------+---------+--------------+---------+---------+
5| 56 | bastioninfra-codfw1dev.codfw1dev.wmcloud.org | 172.20.5.6:5354 185.15.56.162:5354 | 1695934592 | SLAVE | NULL | | NULL | NULL | NULL |
6+----+----------------------------------------------+------------------------------------+------------+-------+-----------------+---------+--------------+---------+---------+
71 row in set (0.001 sec)

fnegri changed the task status from Invalid to Resolved.Oct 3 2023, 6:00 PM
fnegri moved this task from Backlog to Done on the cloud-services-team (FY2023/2024-Q1-Q2) board.