git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e01bd14
)
Bug fix for incomplete Eucalyptus metadata in DB
author
Andy Bavier
<acb@cs.princeton.edu>
Thu, 29 Sep 2011 21:30:01 +0000
(17:30 -0400)
committer
Andy Bavier
<acb@cs.princeton.edu>
Thu, 29 Sep 2011 21:30:01 +0000
(17:30 -0400)
sfa/managers/aggregate_manager_eucalyptus.py
patch
|
blob
|
history
diff --git
a/sfa/managers/aggregate_manager_eucalyptus.py
b/sfa/managers/aggregate_manager_eucalyptus.py
index
2b86b58
..
ea8f2af
100644
(file)
--- a/
sfa/managers/aggregate_manager_eucalyptus.py
+++ b/
sfa/managers/aggregate_manager_eucalyptus.py
@@
-681,6
+681,8
@@
def updateMeta():
logger.debug('[update process] dbResults: %s' % dbResults)
instids = []
for r in dbResults:
+ if not r.instance:
+ continue
instids.append(r.instance.instance_id)
logger.debug('[update process] Instance Id: %s' % ', '.join(instids))