Page MenuHomePhabricator

Migrate Ganeti installations in drmrs to a fixed KVM machine type
Closed, ResolvedPublic

Description

As a preparation for the Bullseye update we need to switch the KVM machine type for the Ganeti cluster to pc-i440fx-3.1 (the "hardware" provided by qemu 3.1). Otherwise we wouldn't be able to migrate machines between Bullseye (which would default to pc-i440fx-5.0) and Buster nodes.

This requires the following steps:

  • sudo gnt-cluster modify --hypervisor-parameters kvm:machine_version=pc-i440fx-5.2

Restart all instances of the cluster. A reboot from within the OS isn't sufficient, this needs to be rebooted on the Ganeti level so that the KVM instance gets restarted (kind of comparable to resetting a computer with the power button). There's a cookbook for this:

  • bast6001.wikimedia.org
  • doh6001.wikimedia.org
  • doh6002.wikimedia.org
  • durum6001.drmrs.wmnet
  • durum6002.drmrs.wmnet
  • install6001.wikimedia.org
  • ncredir6001.drmrs.wmnet
  • ncredir6002.drmrs.wmnet
  • netflow6001.drmrs.wmnet
  • prometheus6001.drmrs.wmnet

Event Timeline

MoritzMuehlenhoff updated the task description. (Show Details)

VM doh6001.wikimedia.org rebooted by sukhe@cumin2002 with reason: None

VM doh6001.wikimedia.org rebooted by sukhe@cumin2002 with reason: None

VM doh6002.wikimedia.org rebooted by sukhe@cumin2002 with reason: None

Mentioned in SAL (#wikimedia-operations) [2022-05-09T19:04:37Z] <sukhe> depool durum6001.drmrs.wmnet (as part of T307427)

VM durum6001.drmrs.wmnet rebooted by sukhe@cumin2002 with reason: None

Mentioned in SAL (#wikimedia-operations) [2022-05-09T19:17:06Z] <sukhe> depool durum6002.drmrs.wmnet (as part of T307427)

VM durum6002.drmrs.wmnet rebooted by sukhe@cumin2002 with reason: None

MoritzMuehlenhoff claimed this task.

This is complete