Feature #40824
Add --no-fog to `teuthology-lock`
0%
Description
Sometimes I just want to lock a machine or two without reprovisioning it with an OS using FOG.
I comment out fog:\n machine_types:
in teuthology.yaml currently to do this but it'd be nice to not have to do that.
History
#1 Updated by Kyrylo Shatskyy almost 4 years ago
Since we could have different ways of provisioning a node, there make sense to work out something smarter rather than just `--no-fog`.
#2 Updated by Kyrylo Shatskyy almost 4 years ago
Also, in the light of lame locking in teuthology, it would be cool to isolate locking from any kind of provisioning.
#3 Updated by Kyrylo Shatskyy over 3 years ago
Since the fog is not only provisioning system maybe to use some neutral option. Like --no-reimage, --no-provision, or --lock-only.
As for me, it would be better to make the default behavior to lock without provisioning, because it looks as overkill the command like:
teuthology-lock --lock-many 1 --lock-only :-)
#4 Updated by David Galloway over 3 years ago
I like --no-reimage