Page MenuHomePhabricator

Migrate Ganeti installations in esams 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-3.1

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: sre.ganeti.reboot-vm FQDN

  • bast3005.wikimedia.org
  • doh3001.wikimedia.org
  • doh3002.wikimedia.org
  • durum3001.esams.wmnet
  • durum3002.esams.wmnet
  • install3001.wikimedia.org
  • ncredir3001.esams.wmnet
  • ncredir3002.esams.wmnet
  • netflow3002.esams.wmnet
  • ping3002.esams.wmnet
  • prometheus3001.esams.wmnet

Event Timeline

Mentioned in SAL (#wikimedia-operations) [2022-05-06T13:39:31Z] <sukhe> depool Wikidough and durum in esams for T307424

VM durum3002.esams.wmnet rebooted by sukhe@cumin2002 with reason: None

VM durum3001.esams.wmnet rebooted by sukhe@cumin2002 with reason: None

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

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

MoritzMuehlenhoff updated the task description. (Show Details)
MoritzMuehlenhoff claimed this task.
MoritzMuehlenhoff updated the task description. (Show Details)

This is complete