Fix iallocator for nodegroups with no tags
authorDimitris Aragiorgis <dimara@grnet.gr>
Thu, 20 Dec 2012 14:16:39 +0000 (16:16 +0200)
committerMichael Hanselmann <hansmi@google.com>
Fri, 21 Dec 2012 09:24:43 +0000 (10:24 +0100)
commitf1222089337321144a26bfaeb6e7d7f125f8040f
tree77dbc691f75d5d1c6269325273b063f11f0f047c
parent37dfcacbebc6d176b5f79b9437ae314b1738b3d2
Fix iallocator for nodegroups with no tags

_ComputeNodeGroupData() raises error if a group has no tags
when list(gdata.tags) is invoked. Use “gdata.GetTags()” instead.

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
lib/masterd/iallocator.py