All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 0c23eada authored by Leigh B Stoller's avatar Leigh B Stoller

Instance must be in the ready state when cloning it, but only the

user needs to see the error.
parent 140ff457
......@@ -321,6 +321,10 @@ if ($snap) {
if (!defined($instance)) {
fatal("Could not look up instance $uuid");
if ($instance->status() ne "ready") {
$errors{"error"} = "Instance must be in the ready state for cloning";
if ($instance->AggregateList() != 1) {
$errors{"error"} = "Must be only one aggregate to snapshot";
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment