Remove requirement for variants on OS API v15+
authorIustin Pop <iustin@google.com>
Wed, 27 Jul 2011 15:18:48 +0000 (17:18 +0200)
committerIustin Pop <iustin@google.com>
Thu, 28 Jul 2011 11:08:54 +0000 (13:08 +0200)
commit35007011815c83ee244f85803f87c411f5bbe87d
tree24ac3da724fffc128a84886400009f88f0155695
parent4474f11290d5f3ca0e013013a8cf6a9f1ce54293
Remove requirement for variants on OS API v15+

This removes:

- the check in backend that such OSes have a variants file or if it
  exists that is non-empty; in order for this to work, we also rework
  the logic in backend._TryOSFromDisk to allow for optional OS files
- the check in cluster verify such OSes to have a non-empty variant
  list (the check for consistent variants is still kept)

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
lib/backend.py
lib/cmdlib.py
man/ganeti-os-interface.rst