Ganeti 2.1 ========== For installation instructions, read the INSTALL and the doc/install.html files. For a brief introduction, read the ganeti(7) manpage and the other pages it suggests.
Iustin Pop
authored
Multiple LUs require that an instance is not running while they operate on the instance (reinstall, rename, modify, recreate disks, deactivate disks). The code to do this check is duplicate many times, and not very consistent (some use call_instance_list, some call_instance_info). The patch moves this check into a separate function that is then reused. The only drawback is that _SafeShutdowInstanceDisks now raises an OpPrereqError (even though it is run during Exec()), but this use case is fine (there are no other modifications in that Exec). Signed-off-by:Iustin Pop <iustin@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
Name | Last commit | Last update |
---|---|---|
autotools | ||
daemons | ||
devel | ||
doc | ||
lib | ||
man | ||
qa | ||
scripts | ||
test | ||
tools | ||
.gitignore | ||
COPYING | ||
INSTALL | ||
Makefile.am | ||
NEWS | ||
README | ||
autogen.sh | ||
configure.ac | ||
epydoc.conf | ||
pylintrc |