Opened 7 years ago

Last modified 7 years ago

#136 new

AM API V3 Describe reports internal error for slice that does not exist at aggregate

Reported by: lnevers@bbn.com Owned by: somebody
Priority: major Milestone:
Component: AM Version: SPIRAL6
Keywords: AM API V3 Cc: duerig@flux.utah.edu
Dependencies:

Description

The AM API V3 describe command causes an internal error when executed at an aggregate that does not have any resources for the slice:

$ omni.py describe nonexist -V3 -a nysernet-ig
08:37:37 INFO     omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
08:37:37 INFO     omni: Loading config file omni_config
08:37:37 INFO     omni: Using control framework portal
08:37:37 INFO     omni: Member Authority is https://ch.geni.net/MA (from config)
08:37:37 INFO     omni: Slice Authority is https://ch.geni.net/SA (from config)
08:37:37 INFO     omni: Substituting AM nickname nysernet-ig with URL https://instageni.nysernet.org:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+instageni.nysernet.org+authority+cm
08:37:37 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-test+slice+nonexist expires on 2014-05-29 12:37:26 UTC
08:37:37 INFO     omni: Describe Slice urn:publicid:IDN+ch.geni.net:ln-test+slice+nonexist:
08:37:37 WARNING  omni: Requested API version 3, but AM https://instageni.nysernet.org:12369/protogeni/xmlrpc/am/2.0 uses version 2. Same aggregate talks API v3 at a different URL: https://boss.instageni.nysernet.org:12369/protogeni/xmlrpc/am/3.0
08:37:38 INFO     omni: Switching AM URL to match requested version
08:37:40 ERROR    omni: Call for Describe slice urn:publicid:IDN+ch.geni.net:ln-test+slice+nonexist at https://instageni.nysernet.org:12369/protogeni/xmlrpc/am/2.0 failed. Server says: <Fault -32600: 'Internal Error executing Describe'>
08:37:40 WARNING  omni: Got no resource listing from AM nysernet-ig3
08:37:40 INFO     omni:  ------------------------------------------------------
08:37:40 INFO     omni:  Completed describe:
Args: describe nonexist

  Result Summary: Slice urn:publicid:IDN+ch.geni.net:ln-test+slice+nonexist expires on 2014-05-29 12:37:26 UTC

Failed to Describe slice urn:publicid:IDN+ch.geni.net:ln-test+slice+nonexist at AM nysernet-ig3: <Fault -32600: 'Internal Error executing Describe'> (missing result)
Found description of slivers on 0 of 1 possible aggregates. 
08:37:40 INFO     omni:  ======================================================

Change History (1)

comment:1 Changed 7 years ago by lnevers@bbn.com

The same internal error occurs for status and delete operations:

$ omni.py delete nonexist -V3 -a nysernet-ig
08:41:07 INFO     omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
08:41:07 INFO     omni: Loading config file omni_config
08:41:07 INFO     omni: Using control framework portal
08:41:07 INFO     omni: Member Authority is https://ch.geni.net/MA (from config)
08:41:07 INFO     omni: Slice Authority is https://ch.geni.net/SA (from config)
08:41:07 INFO     omni: Substituting AM nickname nysernet-ig with URL https://instageni.nysernet.org:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+instageni.nysernet.org+authority+cm
08:41:08 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-test+slice+nonexist expires on 2014-05-29 12:37:26 UTC
08:41:08 WARNING  omni: Requested API version 3, but AM https://instageni.nysernet.org:12369/protogeni/xmlrpc/am/2.0 uses version 2. Same aggregate talks API v3 at a different URL: https://boss.instageni.nysernet.org:12369/protogeni/xmlrpc/am/3.0
08:41:08 INFO     omni: Switching AM URL to match requested version
08:41:09 ERROR    omni: Call for Delete of slivers in slice urn:publicid:IDN+ch.geni.net:ln-test+slice+nonexist at https://instageni.nysernet.org:12369/protogeni/xmlrpc/am/2.0 failed. Server says: <Fault -32600: 'Internal Error executing Delete'>
08:41:09 WARNING  omni: Failed to delete slivers in slice urn:publicid:IDN+ch.geni.net:ln-test+slice+nonexist at nysernet-ig3: <Fault -32600: 'Internal Error executing Delete'> (missing result)
08:41:09 INFO     omni:  ------------------------------------------------------
08:41:09 INFO     omni:  Completed delete:
Args: delete nonexist

  Result Summary: Failed to delete slivers in slice urn:publicid:IDN+ch.geni.net:ln-test+slice+nonexist at nysernet-ig3: <Fault -32600: 'Internal Error executing Delete'> (missing result) 
08:41:09 INFO     omni:  ======================================================

$ omni.py status nonexist -V3 -a nysernet-ig
08:41:18 INFO     omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
08:41:18 INFO     omni: Loading config file omni_config
08:41:18 INFO     omni: Using control framework portal
08:41:18 INFO     omni: Member Authority is https://ch.geni.net/MA (from config)
08:41:18 INFO     omni: Slice Authority is https://ch.geni.net/SA (from config)
08:41:18 INFO     omni: Substituting AM nickname nysernet-ig with URL https://instageni.nysernet.org:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+instageni.nysernet.org+authority+cm
08:41:18 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-test+slice+nonexist expires on 2014-05-29 12:37:26 UTC
08:41:18 INFO     omni: Status of Slice urn:publicid:IDN+ch.geni.net:ln-test+slice+nonexist:
08:41:18 WARNING  omni: Requested API version 3, but AM https://instageni.nysernet.org:12369/protogeni/xmlrpc/am/2.0 uses version 2. Same aggregate talks API v3 at a different URL: https://boss.instageni.nysernet.org:12369/protogeni/xmlrpc/am/3.0
08:41:18 INFO     omni: Switching AM URL to match requested version
08:41:21 ERROR    omni: Call for Status of slivers in slice urn:publicid:IDN+ch.geni.net:ln-test+slice+nonexist at https://instageni.nysernet.org:12369/protogeni/xmlrpc/am/2.0 failed. Server says: <Fault -32600: 'Internal Error executing Status'>
08:41:21 INFO     omni:  ------------------------------------------------------
08:41:21 INFO     omni:  Completed status:
Args: status nonexist

  Result Summary: Slice urn:publicid:IDN+ch.geni.net:ln-test+slice+nonexist expires on 2014-05-29 12:37:26 UTC

Failed to get Status on slivers in slice urn:publicid:IDN+ch.geni.net:ln-test+slice+nonexist at AM nysernet-ig3: <Fault -32600: 'Internal Error executing Status'> (missing result)
Returned status of slivers on 0 of 1 possible aggregates. 
08:41:21 INFO     omni:  ======================================================
Note: See TracTickets for help on using tickets.