remove '--force' cmdline option
AbandonedPublic

Authored by kparal on Jul 14 2016, 11:48 AM.

Details

Reviewers
lbrabec
tflink
mkrizek
Group Reviewers
testcloud
Summary

Now with automatic VM stop during remove operation, the --force option
is not needed anymore.

Unless we want to keep it to safeguard against mistakes in CLI. See
discussion in D933. Note that --force was added a few months back and
was not yet part of a stable testcloud release, so this is not a UI
change.

Test Plan

start an instance, have it running, and try to remove it. It should be stopped and removed. Without this patch, you should see an error asking you to stop the instance first.

Diff Detail

Repository
rTCLOUD testcloud
Branch
feature/noforce (branched from dev)
Lint
Lint OK
Unit
Unit Tests OK
Build Status
Buildable 727
Build 727: arc lint + arc unit
kparal retitled this revision from to remove '--force' cmdline option.Jul 14 2016, 11:48 AM
kparal updated this object.
kparal edited the test plan for this revision. (Show Details)
kparal added reviewers: testcloud, mkrizek, tflink, lbrabec.
tflink added a subscriber: roshi.Jul 15 2016, 3:25 PM

I'm slightly on the "keep --force" side of this but I'm not overly attached to it. If most folks want to remove it, I'm not going to say "no".

IIRC, @roshi was the one who wanted the "don't delete stuff by default" behavior, though.

kparal abandoned this revision.Aug 11 2016, 10:54 AM

There seems to be little support for this change, abandoning.