Page MenuHomePhabricator

Site: 1 VM for codfw1dev bitu deployment
Open, MediumPublic

Description

As we move account management off of wikitech, we need to do the same for the test/dev accounts managed by labtestwikitech. Because labtestwikitech uses a different ldap db from production, we need an equivalent bitu host to manage those accounts. I propose that the server itself be named 'idm2001-dev.codfw.wmnet' and the service endpoint be at 'cloudtestidm.wikimedia.org'

Cloud VPS Project Tested: already deployed in production
Site/Location: codfw
Number of systems: 1
Service: bitu (labtest)
Networking Requirements: internal
Processor Requirements: 2
Memory: 4 GB
Disks: 20 GB
Other Requirements:

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

You don't need 4G of RAM, 2 should be perfectly fine.

Also, let's not use idm2001-dev, that's too confusin with the already existing IDM staging server. After all, this specifically for the cloud environment, so rather something like cloudidm2001-dev e.g.

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

[operations/puppet@production] R:idm Prepare for Bitu installation for labtestwikitech.

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

Change #1020085 merged by Slyngshede:

[operations/puppet@production] R:idm, prepare for Bitu installation for labtestwikitech.

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

Cookbook cookbooks.sre.hosts.reimage was started by slyngshede@cumin1002 for host cloudidm2001-dev.codfw.wmnet with OS bookworm

Cookbook cookbooks.sre.hosts.reimage started by slyngshede@cumin1002 for host cloudidm2001-dev.codfw.wmnet with OS bookworm completed:

  • cloudidm2001-dev (PASS)
    • Removed from Puppet and PuppetDB if present and deleted any certificates
    • Removed from Debmonitor if present
    • Forced PXE for next reboot
    • Host rebooted via gnt-instance
    • Host up (Debian installer)
    • Add puppet_version metadata to Debian installer
    • Set boot media to disk
    • Host up (new fresh bookworm OS)
    • Generated Puppet certificate
    • Signed new Puppet certificate
    • Run Puppet in NOOP mode to populate exported resources in PuppetDB
    • Found Nagios_host resource for this host in PuppetDB
    • Downtimed the new host on Icinga/Alertmanager
    • First Puppet run completed and logged in /var/log/spicerack/sre/hosts/reimage/202404160905_slyngshede_2920324_cloudidm2001-dev.out
    • configmaster.wikimedia.org updated with the host new SSH public key for wmf-update-known-hosts-production
    • Rebooted
    • Automatic Puppet run was successful
    • Forced a re-check of all Icinga services for the host
    • Icinga status is optimal
    • Icinga downtime removed
    • Updated Netbox data from PuppetDB
    • Cleared switch DHCP cache and MAC table for the host IP and MAC (EVPN Switch)

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

[operations/puppet@production] CloudIDM, Install Bitu for labtest

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

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

[labs/private@master] Add dummy secrets for idmcloud role.

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

Change #1021472 merged by Slyngshede:

[labs/private@master] Add dummy secrets for idmcloud role.

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

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

[operations/puppet@production] P:idm Make some parameters optional.

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

Change #1021866 merged by Slyngshede:

[operations/puppet@production] P:idm Make some parameters optional.

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