Verified Commit 98679e5d authored by anarcat's avatar anarcat 💥
Browse files

added fabric task to resize VMs

parent 76ac5d87
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -332,6 +332,12 @@ using the [gnt-instance modify](http://docs.ganeti.org/docs/ganeti/3.0/html/man-
    gnt-instance modify -B vcpus=4,memory=8g test1.torproject.org
    gnt-instance reboot test1.torproject.org

Note that this can be more easily done with a Fabric task which will
handle wall warnings, delays, silences and so on, using the standard
reboot procedures:

    fab -H idle-fsn-01.torproject.org ganeti.modify vcpus=4,memory=8g

If you get a cryptic failure (TODO: add sample output) about policy
being violated while you're *not* actually violating the stated
policy, it's possible this VM was *already* violating the policy and