Page MenuHomePhabricator

Create a Ganeti VM for Wikidough
Closed, ResolvedPublic

Description

Please create a Ganeti VM for Wikidough; see T252132 for more information.

Specifications:

Hostname: malmok (codfw)
vCPUs: 2-4
Memory: 8/12G
Disk: 100G (even less than 100 works)
Network: Public

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Is the requested hostname "homer" a copy/paste error?

Does this need to be in eqiad or would codfw work just as well?

Is the requested hostname "homer" a copy/paste error?

(Updated so as not to confuse with the existing service)

Does this need to be in eqiad or would codfw work just as well?

Either is fine and there is no preference! Thanks.

Updated the task description as we have decided to go with codfw. For the disk, we can start with 30G and then add an additional one if required. (In case we decide to use the disk as a cache).

Change 597295 had a related patch set uploaded (by Dzahn; owner: Dzahn):
[operations/dns@master] add malmok.codfw.wmnet

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

Change 597295 merged by Dzahn:
[operations/dns@master] add malmok.codfw.wmnet

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

Ready to create Ganeti VM malmok.codfw.wmnet in the ganeti01.svc.codfw.wmnet cluster on row A with 2 vCPUs, 8GB of RAM, 30GB of disk in the private network.

Change 597477 had a related patch set uploaded (by Dzahn; owner: Dzahn):
[operations/puppet@production] DHCP: add malmok.codfw.wmnet

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

Change 597477 merged by Dzahn:
[operations/puppet@production] DHCP: add malmok.codfw.wmnet

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

Change 597479 had a related patch set uploaded (by Dzahn; owner: Dzahn):
[operations/puppet@production] install_server: add malmok partman recipe line

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

Change 597479 merged by Dzahn:
[operations/puppet@production] install_server: add malmok partman recipe line

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

Change 597512 had a related patch set uploaded (by Dzahn; owner: Dzahn):
[operations/puppet@production] site: add malmok.codfw.wmnet

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

Change 597512 merged by Dzahn:
[operations/puppet@production] site: add malmok.codfw.wmnet

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

Change 597523 had a related patch set uploaded (by Dzahn; owner: Dzahn):
[operations/dns@master] convert malmok from private to public IPs

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

Change 597528 had a related patch set uploaded (by Dzahn; owner: Dzahn):
[operations/dns@master] convert malmok from private to public IP

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

Change 597528 merged by Dzahn:
[operations/dns@master] convert malmok from private to public IP

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

cookbooks.sre.hosts.decommission executed by dzahn@cumin1001 for hosts: malmok.codfw.wmnet

  • malmok.codfw.wmnet (FAIL)
    • Failed downtime host on Icinga (likely already removed)
    • Found Ganeti VM
    • VM shutdown
    • Started forced sync of VMs in Ganeti cluster ganeti01.svc.codfw.wmnet to Netbox
    • Removed from DebMonitor
    • Removed from Puppet master and PuppetDB
    • VM removed

ERROR: some step on some host failed, check the bolded items above

Change 597542 had a related patch set uploaded (by Dzahn; owner: Dzahn):
[operations/puppet@production] site: change FQDN of malmok to public IP

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

Change 597542 merged by Dzahn:
[operations/puppet@production] site: change FQDN of malmok to public IP

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

@ssingh The VM has been created (now with public IP).

It has been added to site.pp with the role(insetup) and the first puppet ran that creates users and installs all the standard packages has happened.

You should now be able to ssh to malmok.wikimedia.org.

Next you can replace the role with your own role.

root@malmok:~# gen_fingerprints
 +---------+---------+-----------------------------------------------------+
 | Cipher  | Algo    | Fingerprint                                         |
 +---------+---------+-----------------------------------------------------+
 | RSA     | SHA-256 | SHA256:sTJzjnXuMTOhvqUdA2YpO5ps8yOgjdJbe/qPmDIIKY0  |
 +---------+---------+-----------------------------------------------------+
 | ECDSA   | SHA-256 | SHA256:n9Q7OwjPvuhzoKF+kfGWxVfzgRA25abfSciyaEudEh0  |
 +---------+---------+-----------------------------------------------------+
 | ED25519 | SHA-256 | SHA256:V4X+L1wrDepISQKLfP6cGxGJk5PDLg59DuN8eG8Uh/M  |
 +---------+---------+-----------------------------------------------------+

 +---[RSA 2048]----+ +---[ECDSA 256]---+ +--[ED25519 256]--+
 |                 | |           =+..  | |             ..  |
 |                 | |          . o.o. | |    . + .   ..   |
 |        .        | |         . E + o.| |     X o.  ..    |
 |         +       | |      .   +.* . .| |  o o *+.. ..    |
 | +    = S o      | |       +S+.=.o . | | . B = oS..  .   |
 |E o    & = .     | |      + *o+.=.o .| |  = X  .+E.  .. .|
 |o* .. + o X      | |     . = Xo=o. o | |   = =.. o  ..oo.|
 |= =o+*o+ = B     | |    . o +.B .o   | |    o +.+ .. .oo.|
 |. .=OB+o=.o      | |   ... .o=o...   | |      .*....  .. |
 +----[SHA256]-----+ +----[SHA256]-----+ +----[SHA256]-----+