]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
Allow os_version and os_type to be None when locking bare metal nodes.
authorAndrew Schoen <aschoen@redhat.com>
Fri, 19 Dec 2014 16:58:18 +0000 (10:58 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Fri, 19 Dec 2014 17:28:04 +0000 (11:28 -0600)
commit02b7d28a5eb7e797ed9e39019a2cf03a51712761
tree4d500aa574e6d9761ae9ba2473d3ede4966ddd40
parent35124d74657777ace33da7d17ae15510ff703e96
Allow os_version and os_type to be None when locking bare metal nodes.

This fixes a bug that was defaulting os_version to 12.04 and os_type to
ubuntu when locking bare metal machines.  We don't want to default the
os_version or os_type when locking bare metal so that the locking code
can pick whichever node is available.

VPS nodes will get proper defaults in provision.create_if_vm if they
aren't explicitly defined by either the config yaml or the cli flags.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
teuthology/lock.py
teuthology/task/internal.py