All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 0a1f2ab5 authored by David Johnson's avatar David Johnson

Fix up some AddNodes/DeleteNodes caching issues; should close #11.

parent 2ba02e68
Pipeline #2001 passed with stages
in 19 seconds
......@@ -2612,9 +2612,9 @@ class ProtoGeniServer(object):
rval,manifest = self.do_method_retry(
"cm","AddNodes",params,version="2.0",cm=cm,URI=URI,
cache_destroy_extra=[dict(uri=None,module='cm',method='Resolve',
urn=myslice['urn']),
version="2.0",urn=myslice['urn']),
dict(uri=None,module='cm',method='SliverStatus',
slice_urn=myslice['urn'])])
version="2.0",slice_urn=myslice['urn'])])
if rval:
LOG.error("AddNodes: %s, %s"
% (str(rval),str(manifest),))
......@@ -2663,9 +2663,9 @@ class ProtoGeniServer(object):
rval,response = self.do_method_retry(
"cm","DeleteNodes",params,version="2.0",cm=cm,URI=URI,
cache_destroy_extra=[dict(uri=None,module='cm',method='Resolve',
urn=myslice['urn']),
version="2.0",urn=myslice['urn']),
dict(uri=None,module='cm',method='SliverStatus',
slice_urn=myslice['urn'])])
version="2.0",slice_urn=myslice['urn'])])
if rval:
self.__put_lock()
raise exc.RPCError("cm::DeleteNodes",rval,response)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment