|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 04/24] ts-hosts-allocate-Executive: tolerate lack of hostflags
Jobs generated by make-hosts-flight do not need to (and therefore do
not) set any hostflags: they set a `host' runvar instead, for the
specific host. Do not pointlessly bomb out in this situation.
Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
ts-hosts-allocate-Executive | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ts-hosts-allocate-Executive b/ts-hosts-allocate-Executive
index 9417226..0987e2b 100755
--- a/ts-hosts-allocate-Executive
+++ b/ts-hosts-allocate-Executive
@@ -232,7 +232,8 @@ sub compute_hids () {
print DEBUG "HID $ident OVERRIDE $hid->{OverrideUse}\n";
}
my @flags= get_hostflags($ident);
- die "no hostflags?!" unless @flags;
+ die "no hostflags?!" unless @flags or
+ $hid->{OverrideUse} or $r{$ident};
print DEBUG "HID $ident FLAGS @flags\n";
$hid->{Ident}= $ident;
my %flags;
--
2.1.4
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |