Page MenuHomePhabricator

(Need By: TBD) rack/setup/install cloudnet2004-dev
Closed, ResolvedPublic

Description

This task will track the racking, setup, and OS installation of cloudnet2004-dev

Hostname / Racking / Installation Details

Hostnames: cloudnet2004-dev
Racking Proposal: codfw row b, can share rack with cloudnet2003-dev (it replaces it) but not other cloudnet-devs.
Networking/Subnet/VLAN/IP: First 1g port to cloud-hosts1-b-codfw, second 1g port to cloud-virt-instance-trunk
Partitioning/Raid: sw raid 1 of dual ssd
OS Distro: Buster

Per host setup checklist

cloudnet2004-dev: Rack B1 U20 ge-1/0/14 and ge-1/0/27

  • - receive in system on procurement task T264677 & in coupa
  • - rack system with proposed racking plan (see above) & update netbox (include all system info plus location, state of planned)
  • - bios/drac/serial setup/testing
  • - add mgmt dns (asset tag and hostname) and production dns entries in netbox, run cookbook sre.dns.netbox.
  • - network port setup via netbox, run homer to commit
    • end on-site specific steps
  • - operations/puppet update - this should include updates to install_server dhcp and netboot, and site.pp role(insetup) or cp systems use role(insetup::nofirm).
  • - OS installation & initital puppet run via wmf-auto-reimage or wmf-auto-reimage-host
  • - host state in netbox set to staged

Once the system(s) above have had all checkbox steps completed, this task can be resolved.

Event Timeline

RobH mentioned this in Unknown Object (Task).
RobH added a parent task: Unknown Object (Task).
RobH moved this task from Backlog to Racking Tasks on the ops-codfw board.
RobH moved this task from Backlog to Racking / Decom on the cloud-services-team (Hardware) board.
RobH removed a subscriber: RobH.

Change 681499 had a related patch set uploaded (by Papaul; author: Papaul):

[operations/puppet@production] Add cloudnet2004-dev MAC address, partman recipe and to site.pp

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

Change 681499 merged by Papaul:

[operations/puppet@production] Add cloudnet2004-dev MAC address, partman recipe and to site.pp

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

Script wmf-auto-reimage was launched by pt1979 on cumin2001.codfw.wmnet for hosts:

cloudnet2004-dev.codfw.wmnet

The log can be found in /var/log/wmf-auto-reimage/202104210022_pt1979_10346_cloudnet2004-dev_codfw_wmnet.log.

Completed auto-reimage of hosts:

['cloudnet2004-dev.codfw.wmnet']

and were ALL successful.

@Andrew @aborrero it said that the second interface needs to be in cloud-virt-instance-trunk vlan, I have no such vlan in codfw in the B row. can you please double check .

Thanks

I think you can copy the configuration from the server this is replacing (cloudnet2003-dev). The dataplane interface for that server is: https://netbox.wikimedia.org/dcim/interfaces/16122/

Basically a trunk with:

  • vlan 2107 cloud-gw-transport-codfw
  • vlan 2120 cloud-instance-transport1-b-codfw
  • vlan 2105 cloud-instances2-b-codfw

@aborrero this complete

[edit interfaces]
+   ge-1/0/27 {
+       description cloudnet2004-dev;
+       mtu 9192;
+       unit 0 {
+           family ethernet-switching {
+               interface-mode trunk;
+               vlan {
+                   members [ cloud-gw-transport-codfw cloud-instance-transport1-b-codfw cloud-instances2-b-codfw ];
+               }
+           }
+       }
+   }

hey @Papaul could you please clarify the secondary interface in netbox?

I see this:

image.png (250×2 px, 42 KB)

I guess when it says "SECONDARY" it should be "eno2" instead, no?

does this affect in any way when installing the server?

Hi @aborrero - just a heads up, Papaul is on paternity leave and is scheduled to return on the 24th. Thanks, Willy

@aborrero it doesn't affect in any way when installing the server . I also change it to eno2