[1767] in Moira
Re: proposed moira schema changes and queries for machine-container mapping
daemon@ATHENA.MIT.EDU (Garry Zacheiss)
Tue Apr 24 01:00:12 2001
Message-Id: <200104240500.BAA182243@oliver.mit.edu>
To: Qing Dong <dongq@MIT.EDU>
cc: moiradev@MIT.EDU
In-Reply-To: Your message of "Fri, 20 Apr 2001 17:30:35 EDT."
<200104202135.RAA20959@melbourne-city-street.mit.edu>
Date: Tue, 24 Apr 2001 01:00:04 -0400
From: Garry Zacheiss <zacheiss@MIT.EDU>
Hi Qing,
A read through this looks good. I'd like to ask for one
behavior change, though; currently, as you have things implemented,
deleting a container will remove all the machines from the container
without prompting and then delete the container. This seems like it
could be a nasty user interface if someone typos a name. I'd much
rather see the query return MR_IN_USE if there are machines still in a
container, and only allow you to delete empty containers. This is how
the deletion of cluster is currently handled. In the "moira" client, we
check if the query returned MR_IN_USE, and display a list of all the
machines in the cluster, and then ask the user if they'd like to remove
them all and then proceed. I'd like to see similar behavior for the
delete_container operation.
Garry