Page MenuHomePhabricator

Please create a Ganeti VM for Wikidough in ulsfo
Closed, ResolvedPublic

Description

Please create a Ganeti VM for Wikidough, with the following parameters in ulsfo.

Specifications:

Hostname: doh4002 (ulsfo)
vCPUs: 2
Memory: 8
Disk: 10G (15G per comments)
Network: Public

The last time we tried this, we realized we don't have any public IPs left but with the decommissioning of bast4002 in T288579, we can reuse its IP.

Event Timeline

sudo cookbook sre.ganeti.makevm --vcpus 2 --memory 8 --disk 10 --network public ulsfo doh4002
Ready to create Ganeti VM doh4002.wikimedia.org in the ganeti01.svc.ulsfo.wmnet cluster on row 1 with 2 vCPUs, 8GB of RAM, 10GB of disk in the public network.
>>> Is this correct?
Type "go" to proceed or "abort" to interrupt the execution
> go
START - Cookbook sre.ganeti.makevm for new host doh4002.wikimedia.org
Allocated IPv4 198.35.26.6/28
Set DNS name of IP 198.35.26.6/28 to doh4002.wikimedia.org
Allocated IPv6 2620:0:863:1:198:35:26:6/64 with DNS name doh4002.wikimedia.org

Please don't create new instances with 10G "disks", these tend to cause more work in the long term, e.g. by filing up the root partition with kernels etc. 15G or 20G is a good minimum.

2021-08-12 15:37:50,980 [ERROR] Failed to run
...
  File "/srv/deployment/netbox-extras/dns/generate_dns_snippets.py", line 166, in collect
    address.assigned_object = self.physical_interfaces[address.assigned_object_id]
KeyError: 20138

Could not reproduce this on a second attempt. It worked now.

Dzahn changed the task status from Open to Stalled.Aug 12 2021, 3:41 PM

Mentioned in SAL (#wikimedia-operations) [2021-08-12T15:49:29Z] <mutante> netbox - deleted 2620:0:863:1:198:35:26:6/64 (along with 198.35.26.6) due to the previous error when running makevm cookbook (T288630)

Please don't create new instances with 10G "disks", these tend to cause more work in the long term, e.g. by filing up the root partition with kernels etc. 15G or 20G is a good minimum.

ACK, I used 15G at the next attempt.

Change 712429 had a related patch set uploaded (by Dzahn; author: Dzahn):

[operations/puppet@production] DHCP: add MAC for doh4002

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

Change 712429 merged by Dzahn:

[operations/puppet@production] DHCP: add MAC for doh4002

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

Dzahn claimed this task.
  • VM created
  • added to DHCP
  • installed OS
  • ran puppet (insetup)
  • verified SSH access works