Project

General

Profile

Feature #40824

Add --no-fog to `teuthology-lock`

Added by David Galloway over 4 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:

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

Also available in: Atom PDF