Page MenuHomePhabricator

Convert makevm to spicerack cookbook
Open, NormalPublic

Description

makevm[1] is a small shell script that while very useful, one needs to know it's existence, login into a ganeti cluster master, execute it, answer questions and obtain the required VM. It would be beneficial, at the very least for conformity's sake to create an alternative spicerack cookbook that does at least that but also

[1] https://github.com/wikimedia/puppet/blob/production/modules/profile/files/ganeti/makevm.sh

Event Timeline

akosiaris renamed this task from Convert makevm το spicerack cookbook to Convert makevm to spicerack cookbook.Sep 10 2018, 3:54 PM
MoritzMuehlenhoff triaged this task as Normal priority.Sep 25 2018, 9:46 AM
akosiaris updated the task description. (Show Details)Dec 17 2018, 3:04 PM

Is it okay to use rapi for this or is there a compelling reason to use cumin+ganeti-* commands?

Is it okay to use rapi for this or is there a compelling reason to use cumin+ganeti-* commands?

It probably is easier to do it via cumin+ganeti-* commands as there are some security aspects that don't have to be considered in this case as they are implicit (depending on being able to ssh to ganeti master) like the population of the rapi username+password on the spicerack host, the opening of firewalls, as well as a lot of scaffolding already existing in the spicerack cookbooks etc. Aside from it being (potentially) less work, I can't think of a compelling reason to force cumin usage.

elukey added a subscriber: elukey.Mar 5 2019, 12:18 PM
crusnov claimed this task.Mar 14 2019, 8:34 PM
crusnov added a project: User-crusnov.

Change 496527 had a related patch set uploaded (by CRusnov; owner: CRusnov):
[operations/cookbooks@master] Port MakeVM to cookbook.

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

crusnov moved this task from Backlog to Pending on the User-crusnov board.Mar 14 2019, 8:36 PM
crusnov moved this task from Pending to In Progress on the User-crusnov board.

Change 496527 had a related patch set uploaded (by CRusnov; owner: CRusnov):
[operations/cookbooks@master] Port MakeVM to cookbook.

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

crusnov moved this task from In Progress to Pending on the User-crusnov board.Mar 19 2019, 5:44 PM

Change 496527 merged by CRusnov:
[operations/cookbooks@master] Port MakeVM to a cookbook

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

crusnov moved this task from Pending to Complete on the User-crusnov board.Wed, May 1, 6:47 PM