Opened 10 years ago

Closed 10 years ago

#1141 closed (fixed)

Submitting a sliver request that fail does not generate any user-visible errors

Reported by: lnevers@bbn.com Owned by: luke@grnoc.iu.edu
Priority: major Milestone:
Component: STITCHING Version: SPIRAL6
Keywords: oess Cc: matt@internet2.edu, eboyd@internet2.edu
Dependencies:

Description

In an error scenario where the user submits a request for a VLAN which is already in use, no error is reported for the sliver creation. Also no error can be seen in the sliver status.

Following is a capture of the failure scenario in which a sliver already exists that uses the same request rspec (and VLANs) as the slice below.

$ omni.py createsliver lndupvlan -a oess ./oess-atla-2-losa-nobkup.rspec
11:36:41 INFO     omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
11:36:41 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
11:36:41 INFO     omni: Using control framework portal
11:36:41 INFO     omni: Substituting AM nickname oess with URL https://foam-oess-stage.grnoc.iu.edu:3626/foam/gapi/2, URN unspecified_AM_URN
11:36:42 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lndupvlan expires on 2013-10-16 15:36:23 UTC
11:36:42 INFO     omni: Creating sliver(s) from rspec file ./oess-atla-2-losa-nobkup.rspec for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lndupvlan
11:36:43 INFO     omni: Got return from CreateSliver for slice lndupvlan at https://foam-oess-stage.grnoc.iu.edu:3626/foam/gapi/2:
11:36:43 INFO     omni: <!-- Reserved resources for:
	Slice: lndupvlan
	at AM:
	URN: unspecified_AM_URN
	URL: https://foam-oess-stage.grnoc.iu.edu:3626/foam/gapi/2
 -->
11:36:43 INFO     omni: <rspec  xmlns="http://www.geni.net/resources/rspec/3"
      xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:oess="http://bssoftworks.com/geni/ext/circuit/1"
      xs:schemaLocation="http://www.geni.net/rspec/3/manifest.xsd
          http://www.geni.net/resources/rspec/3/manifest.xsd
          http://bssoftworks.com/geni/ext/circuit/1
          http://geni.bssoftworks.com/rspec/ext/circuit/1/request.xsd"
      type="manifest">

<oess:circuit>
  <oess:description>LN atla-2-losa</oess:description>
  <oess:bandwidth mbps="100" />
  <oess:primaryPath>
    <oess:link urn="urn:publicid:IDN+oess:foam:nddi+link+I2-ELPA-HOUH-100GE-07749" />
    <oess:link urn="urn:publicid:IDN+oess:foam:nddi+link+I2-ATLA-JACK-100GE-07739" />
    <oess:link urn="urn:publicid:IDN+oess:foam:nddi+link+I2-HOUH-JACK-100GE-08860" />
    <oess:link urn="urn:publicid:IDN+oess:foam:nddi+link+I2-LOSA-PHOE-100GE-09190" />
    <oess:link urn="urn:publicid:IDN+oess:foam:nddi+link+I2-ELPA-PHOE-100GE-07750" />
  </oess:primaryPath>
  <oess:endpoints>
    <oess:interface urn="urn:publicid:IDN+oess:foam:nddi+sdn-sw.atla.net.internet2.edu+e15/3" vlan="3000" />
    <oess:interface urn="urn:publicid:IDN+oess:foam:nddi+sdn-sw.losa.net.internet2.edu+e15/3" vlan="3000" />
  </oess:endpoints>
</oess:circuit>

</rspec>

11:36:43 INFO     omni:  ------------------------------------------------------------
11:36:43 INFO     omni:  Completed createsliver:
Args: createsliver lndupvlan ./oess-atla-2-losa-nobkup.rspec

  Result Summary: Got Reserved resources RSpec from foam-oess-stage-grnoc-iu-edu-3626-foam-gapi-2 
11:36:43 INFO     omni:  ============================================================

$ omni.py sliverstatus lndupvlan -a oess 
11:39:43 INFO     omni: Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache'
11:39:43 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
11:39:43 INFO     omni: Using control framework portal
11:39:43 INFO     omni: Substituting AM nickname oess with URL https://foam-oess-stage.grnoc.iu.edu:3626/foam/gapi/2, URN unspecified_AM_URN
11:39:45 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lndupvlan expires on 2013-10-16 15:36:23 UTC
11:39:45 INFO     omni: Status of Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lndupvlan:
11:39:45 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lndupvlan at AM https://foam-oess-stage.grnoc.iu.edu:3626/foam/gapi/2 has overall SliverStatus: configuring
11:39:45 INFO     omni: Sliver status for Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lndupvlan at AM URL https://foam-oess-stage.grnoc.iu.edu:3626/foam/gapi/2
11:39:45 INFO     omni: {
  "geni_status": "configuring", 
  "geni_urn": "urn:publicid:IDN+ch.geni.net:ln-prj+slice+lndupvlan:92a6ced5-9dc8-42ca-ae28-cdf510c37ad4", 
  "foam_pend_reason": [], 
  "foam_expires": "2013-10-16 15:36:23+00:00", 
  "geni_resources": [
    {
      "geni_urn": "urn:publicid:IDN+ch.geni.net:ln-prj+slice+lndupvlan:92a6ced5-9dc8-42ca-ae28-cdf510c37ad4", 
      "geni_error": "", 
      "geni_status": "configuring"
    }
  ], 
  "foam_status": "approved"
}
11:39:45 INFO     omni:  ------------------------------------------------------------
11:39:45 INFO     omni:  Completed sliverstatus:
Args: sliverstatus lndupvlan

  Result Summary: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lndupvlan expires on 2013-10-16 15:36:23 UTC
Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lndupvlan at AM https://foam-oess-stage.grnoc.iu.edu:3626/foam/gapi/2 has overall SliverStatus: configuring.
 Returned status of slivers on 1 of 1 possible aggregates. 
11:39:45 INFO     omni:  ============================================================

Change History (4)

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

In a scenario where the interface was incorrectly specified for a sliver, there was no indication of failure for createsliver. Sliver status did not indicate failure. The OESS web interface did not show any information for the failed sliver, and no OESS notifications were received.

Incorrect interface defined "“sdn-sw.hous” rather than the expected “sdn-sw.houh”

comment:2 Changed 10 years ago by lnevers@bbn.com

This problem still exists in the current version (2014-01-28).

comment:3 Changed 10 years ago by lnevers@bbn.com

There are still no indications for failures. Success and failure show the same status.

comment:4 Changed 10 years ago by lnevers@bbn.com

Resolution: fixed
Status: newclosed

Verified:

  • submitting a duplicate slice name generate an error.
  • submitting a new slice name with an already in use VLAN now show "foam_status": "rejected"

Problem is resolved, closing ticket.

Note: See TracTickets for help on using tickets.