Page MenuHomePhabricator

[NFS] Automate creation of the NFS VM and the cinder volume to attach to it
Closed, ResolvedPublic

Description

This is the next iteration of https://phabricator.wikimedia.org/T291406

What

Create the <code>cloudinfra-nfs</code> project.

Define what the NFS server volume name pattern is (ex. <nfs_server_name>_share_data)

Create a cookbook that does:

  • Checks if a matching volume existis, if not create it
  • Creates a new NFS VM in the project <code>cloudinfra-nfs</code>
  • Link the volume to the VM
  • Provision the VM and if needed the volume

Event Timeline

Change 752805 had a related patch set uploaded (by Andrew Bogott; author: Andrew Bogott):

[operations/puppet@production] All nfs-exportd to make public mounts actually public

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

Change 752805 merged by Andrew Bogott:

[operations/puppet@production] cloudnfs: allow nfs-exportd to make public mounts actually public

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

Change 752810 had a related patch set uploaded (by Andrew Bogott; author: Andrew Bogott):

[operations/cookbooks@wmcs] nfs/add_server.py: one last puppet run after everthing is configured

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

Change 752810 merged by jenkins-bot:

[operations/cookbooks@wmcs] nfs/add_server.py: one last puppet run after everthing is configured

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

Change 753206 had a related patch set uploaded (by Andrew Bogott; author: Andrew Bogott):

[operations/cookbooks@wmcs] nfs/add_server: include the option to create and attach a service ip/fqdn

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

Change 753611 had a related patch set uploaded (by Andrew Bogott; author: Andrew Bogott):

[operations/puppet@production] nfs::standalone: Don't attach network interface unless volume is attached

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

Change 753611 merged by Andrew Bogott:

[operations/puppet@production] nfs::standalone: Don't attach network interface unless volume is attached

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

Change 753612 had a related patch set uploaded (by Andrew Bogott; author: Andrew Bogott):

[operations/cookbooks@wmcs] Added nfs/migrate_service.py

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

Change 753206 merged by Andrew Bogott:

[operations/cookbooks@wmcs] nfs/add_server: include the option to create and attach a service ip/fqdn

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

Change 753612 merged by jenkins-bot:

[operations/cookbooks@wmcs] Added nfs/migrate_service.py

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

Change 762951 had a related patch set uploaded (by Andrew Bogott; author: Andrew Bogott):

[operations/puppet@production] profile::wmcs::nfs::standalone: use host-prefix for the service name

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

Change 762951 merged by Andrew Bogott:

[operations/puppet@production] profile::wmcs::nfs::standalone: use host-prefix for the service name

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

Change 762958 had a related patch set uploaded (by Andrew Bogott; author: Andrew Bogott):

[operations/cookbooks@wmcs] nfs cookbooks: Better support for arbitrary prefixes and volume names

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

Change 762958 merged by Andrew Bogott:

[operations/cookbooks@wmcs] nfs cookbooks: Better support for arbitrary prefixes and volume names

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