Page MenuHomePhabricator

labvirt1021: reallocate from eqiad1 as cloudvirt1021
Closed, ResolvedPublic

Description

Move the labvirt1021 physical server from the main deployment to the eqiad1 one.

@chasemp suggested the new name is cloudvirt1021 instead of cloudvirt1001.

Event Timeline

aborrero triaged this task as Normal priority.Jul 9 2018, 1:09 PM
aborrero created this task.

Change 444581 had a related patch set uploaded (by Arturo Borrero Gonzalez; owner: Arturo Borrero Gonzalez):
[operations/puppet@production] cloudvps: reimage and rename labvirt1021 to cloudvirt1001

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

Change 444584 had a related patch set uploaded (by Arturo Borrero Gonzalez; owner: Arturo Borrero Gonzalez):
[operations/dns@master] cloudvps: rename labvirt1021.eqiad.wmnet to cloudvirt1001.eqiad.wmnet

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

aborrero renamed this task from labvirt1021: reallocate from eqiad1 as cloudvirt1001 to labvirt1021: reallocate from eqiad1 as cloudvirt1021.Jul 9 2018, 1:26 PM
aborrero updated the task description. (Show Details)

@Volans adviced we need to use this cmdline: wmf-auto-reimage-host --rename cloudvirt1021.eqiad.wmnet [...]
Also @RobH pointed a task should be filled for DCops to relabel the physical servers. The racktables entry should be updated as well by the time of the reimage+rename.

aborrero added a comment.EditedJul 9 2018, 5:36 PM

My timeline for tomorrow:

  • disable puppet in labvirt1021
  • merge patches (including partial DNS patch with double mgmt FQDN)
  • run the wmf-auto-reimage-host script
  • merge DNS cleanup patch
  • racktables/netbox update
  • get the physical relabeling done (T199132)
  • done

Change 444584 merged by Arturo Borrero Gonzalez:
[operations/dns@master] cloudvps: rename labvirt1021.eqiad.wmnet to cloudvirt1021.eqiad.wmnet

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

Change 444581 merged by Arturo Borrero Gonzalez:
[operations/puppet@production] cloudvps: reimage and rename labvirt1021 to cloudvirt1021

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

Script wmf-auto-reimage was launched by aborrero on neodymium.eqiad.wmnet for hosts:

labvirt1021.eqiad.wmnet

The log can be found in /var/log/wmf-auto-reimage/201807100922_aborrero_17857_labvirt1021_eqiad_wmnet.log.

I used this cmdline:

aborrero@neodymium:~$ sudo wmf-auto-reimage-host -p T199107 --rename cloudvirt1021.eqiad.wmnet --rename-mgmt cloudvirt1021.mgmt.eqiad.wmnet labvirt1021.eqiad.wmnet labvirt1021.mgmt.eqiad.wmnet

Completed auto-reimage of hosts:

['cloudvirt1021.eqiad.wmnet']

Of which those FAILED:

['cloudvirt1021.eqiad.wmnet']

Script wmf-auto-reimage was launched by aborrero on neodymium.eqiad.wmnet for hosts:

labvirt1021.eqiad.wmnet

The log can be found in /var/log/wmf-auto-reimage/201807100940_aborrero_16366_labvirt1021_eqiad_wmnet.log.

Trying again, since the puppet change wasn't present in the TFTP servers. Trying now:

aborrero@neodymium:~$ sudo cumin 'P:installserver::tftp' 'run-puppet-agent -q'
aborrero@neodymium:~$ sudo wmf-auto-reimage-host --no-verify --no-downtime -p T199107 --rename cloudvirt1021.eqiad.wmnet --rename-mgmt cloudvirt1021.mgmt.eqiad.wmnet labvirt1021.eqiad.wmnet labvirt1021.mgmt.eqiad.wmnet

(thanks @Volans )

Completed auto-reimage of hosts:

['cloudvirt1021.eqiad.wmnet']

Of which those FAILED:

['cloudvirt1021.eqiad.wmnet']

Script wmf-auto-reimage was launched by aborrero on neodymium.eqiad.wmnet for hosts:

cloudvirt1021.eqiad.wmnet

The log can be found in /var/log/wmf-auto-reimage/201807100951_aborrero_23273_cloudvirt1021_eqiad_wmnet.log.

Again the debian installer prompt.

Since the new names can be reached, trying again with:

aborrero@neodymium:~$ sudo wmf-auto-reimage-host --no-verify --no-downtime -p T199107 cloudvirt1021.eqiad.wmnet cloudvirt1021.mgmt.eqiad.wmnet

Completed auto-reimage of hosts:

['cloudvirt1021.eqiad.wmnet']

Of which those FAILED:

['cloudvirt1021.eqiad.wmnet']

Script wmf-auto-reimage was launched by aborrero on neodymium.eqiad.wmnet for hosts:

cloudvirt1021.eqiad.wmnet

The log can be found in /var/log/wmf-auto-reimage/201807101026_aborrero_4568_cloudvirt1021_eqiad_wmnet.log.

Completed auto-reimage of hosts:

['cloudvirt1021.eqiad.wmnet']

and were ALL successful.

aborrero closed this task as Resolved.Jul 10 2018, 11:03 AM

Change 445100 had a related patch set uploaded (by Arturo Borrero Gonzalez; owner: Arturo Borrero Gonzalez):
[operations/dns@master] cloudvps: clean labvirt1021 resources

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

Change 445100 merged by Arturo Borrero Gonzalez:
[operations/dns@master] cloudvps: clean labvirt1021 resources

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