sumaform icon indicating copy to clipboard operation
sumaform copied to clipboard

Use "salt-ssh" to provisioning instead of installing Salt inside the sumaform machines

Open meaksh opened this issue 7 years ago • 5 comments

This is an enhancement.

Currently sumaform needs salt to be installed on vm (also the entire sumaform file_root) in order to provision them and apply the sumaform states.

We can use salt-ssh instead to make provisoning cleaner and prevent salt from being installed on the deployed machines.

meaksh avatar Jun 22 '17 15:06 meaksh

@meaksh @moio, i'm not sure if this is really an enhancement.

If is an enhancement, then on "cleaness" of vms, but we loose definetely on performance, afaik

Consider following scenario (like we have in production)

sumaform control-node --> KVM-SERVER -> vms(salt-inside)

This will imply that we loose extra-time, when applying the salt-ssh state.

Could we maybe mesure how much time for creating vms we will need before switching to salt-ssh?

MalloZup avatar Jun 22 '17 18:06 MalloZup

Just bouncing here to say: if we don't install salt* packages on the minion, less disk space is required

mbologna avatar Jun 23 '17 07:06 mbologna

Just bouncing here to say: with salt-ssh "The Tarball" is copied over to the minion at apply time, and that will consume bandwidth some (maybe not much) disk space.

A hackotype (hack/prototype) would be interesting!

moio avatar Jun 23 '17 07:06 moio

I'm basically a fun for salt-ssh, regarding also the efford made by duncan: https://github.com/saltstack/salt/pull/39754

is a good move imho, but as moio say, we should need an hackotype, to see how much we loose in term of performance. (If we loose like 30 min) i'm still ok, i just don't want that we need like 20h for doing it 2H

MalloZup avatar Jun 23 '17 08:06 MalloZup

@meaksh it might be cool from you to have a benchmark for this if you want this feature.

adding this label later

MalloZup avatar Jun 08 '18 08:06 MalloZup