Page MenuHomePhabricator

Implement a staging setup for the IDM
Closed, ResolvedPublic

Description

An IDM is the kind of setup we cannot easily test in Cloud VPS since some of the workflows are tied to other production setups. We can however mimic setups which face the same issues, namely the IDPs and Netbox, which both have staging host(s) within production.

We could have an additional DNS name idm-next.w.o which points to an additional VM running the same Puppet setup (and the same deb), e.g. running on idm-test1001.wikimedia.org. This would allow us to:

  • Deploy a more recent version of the deb first on the idm-next instance
  • Apply idm-test-specific Hiera settings first to the test instance (which would e.g. enable a new module/feature which isn’t live for the main test instance)

To prevent users from accidentally using the -next version we could implement a filter which e.g. validates that the user logging in is part of the cn=ops or cn=idm-testers LDAP groups.

Related Objects

StatusSubtypeAssignedTask
OpenNone
OpenNone
OpenNone
OpenSLyngshede-WMF
ResolvedNone
OpenNone
ResolvedMarostegui
ResolvedAndrew
ResolvedMarostegui
ResolvedAndrew
DeclinedAndrew
ResolvedAndrew
ResolvedAndrew
ResolvedLadsgroup
DuplicateNone
Resolved Bstorm
DeclinedNone
Resolved taavi
ResolvedJdforrester-WMF
DeclinedNone
Openjijiki
OpenNone
OpenFeatureNone
StalledFeatureNone
OpenFeatureSLyngshede-WMF
OpenNone
OpenAndrew
OpenSLyngshede-WMF
ResolvedABran-WMF
Resolved taavi
OpenNone
In ProgressSLyngshede-WMF
ResolvedPRODUCTION ERRORTgr
OpenNone
Resolvedbd808
Resolvedyuvipanda
Resolvedbd808
Resolvedbd808
Resolvedbd808
Open taavi
Resolved taavi
DeclinedNone
OpenNone
ResolvedSLyngshede-WMF
ResolvedSLyngshede-WMF
OpenNone
Open taavi

Event Timeline

Dzahn renamed this task from Implement a staging setup to Implement a staging setup for the IDM.Nov 4 2022, 7:42 PM

Change 877122 had a related patch set uploaded (by Slyngshede; author: Slyngshede):

[operations/puppet@production] role:IDM assign IDM role to test VM.

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

Change 877122 merged by Slyngshede:

[operations/puppet@production] role:IDM assign IDM role to test VM.

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

Change 878928 had a related patch set uploaded (by Slyngshede; author: Slyngshede):

[operations/puppet@production] C:idm::deployment Add missing package

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

Change 878928 merged by Slyngshede:

[operations/puppet@production] C:idm::deployment Add missing package

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