Page MenuHomePhabricator

puppet: interface::route resource does not persists settings
Closed, ResolvedPublic

Description

We are using a bunch of interface::route puppet resources for the cloudlb POC in T324992: cloudlb: create PoC on codfw but I just found out that it is internally implemented as an exec and therefore it does not persists in any way the setting.

That means that if a server reboots, it wont have the routes until the next puppet run adds them again. That's undesirable.

Event Timeline

aborrero triaged this task as Medium priority.May 30 2023, 3:32 PM
aborrero created this task.
aborrero changed the task status from Open to In Progress.Jun 2 2023, 8:50 AM
aborrero added a project: User-aborrero.
aborrero moved this task from Backlog to Doing on the User-aborrero board.
aborrero added a subscriber: jbond.

Change 926433 had a related patch set uploaded (by Arturo Borrero Gonzalez; author: Arturo Borrero Gonzalez):

[operations/puppet@production] interface::route: add persist option

https://gerrit.wikimedia.org/r/926433

Change 926433 merged by Arturo Borrero Gonzalez:

[operations/puppet@production] interface::route: add persist option

https://gerrit.wikimedia.org/r/926433

Change 927210 had a related patch set uploaded (by Arturo Borrero Gonzalez; author: Arturo Borrero Gonzalez):

[operations/puppet@production] cloud_private_subnet: persist static routes

https://gerrit.wikimedia.org/r/927210

Change 927210 merged by Arturo Borrero Gonzalez:

[operations/puppet@production] cloud_private_subnet: persist static routes

https://gerrit.wikimedia.org/r/927210