projects
/
osm
/
RO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix bug 1572 - Reading availability-zone-hint for neutron from config
[osm/RO.git]
/
NG-RO
/
osm_ng_ro
/
ns_thread.py
diff --git
a/NG-RO/osm_ng_ro/ns_thread.py
b/NG-RO/osm_ng_ro/ns_thread.py
index
2efdbc0
..
578d50f
100644
(file)
--- a/
NG-RO/osm_ng_ro/ns_thread.py
+++ b/
NG-RO/osm_ng_ro/ns_thread.py
@@
-596,7
+596,7
@@
class VimInteractionImage(VimInteractionBase):
)
elif len(vim_images) > 1:
raise NsWorkerException(
)
elif len(vim_images) > 1:
raise NsWorkerException(
- "More than one
network
found with this criteria: '{}'".format(
+ "More than one
image
found with this criteria: '{}'".format(
task["find_params"]
)
)
task["find_params"]
)
)
@@
-1758,6
+1758,11
@@
class NsWorker(threading.Thread):
next_check_at = min(
next_check_at, dependency_ro_task["to_check_at"]
)
next_check_at = min(
next_check_at, dependency_ro_task["to_check_at"]
)
+ # must allow dependent task to be processed first
+ # to do this set time after last_task_processed
+ next_check_at = max(
+ self.time_last_task_processed, next_check_at
+ )
break
elif dependency_task["status"] == "FAILED":
error_text = "Cannot {} {} because depends on failed {} {} id={}): {}".format(
break
elif dependency_task["status"] == "FAILED":
error_text = "Cannot {} {} because depends on failed {} {} id={}): {}".format(