1656 | | The stitcher tool does not directly negotiate bandwidth. Bandewidth can be requested in the property on a link and possibly some aggregates along the network path may refuse your request if you can't get it and allocate some other amount. |
1657 | | |
1658 | | VLAN Negotiation is accomplished by the stitcher.py trying to request a VLAN in the available range, and if requested VLAN is not available, then the next VLAN in the range is tried. This is repeated until a requested VLAN is available. |
| 1656 | The stitcher tool does not directly negotiate bandwidth. Bandwidth can be requested in the link property element. Some aggregates along the network path may refuse the bandwidth request and allocate some other amount. |
| 1657 | |
| 1658 | VLAN Negotiation is accomplished by the stitcher.py trying to request a VLAN in the available range, and if requested VLAN is not available, then the next VLAN in the range is tried. This is repeated until a requested VLAN is available. Following is a capture that show stitcher going through available range of VLANs: |
| 1659 | {{{ |
| 1660 | py createsliver ln-ext-2l ./stitch-ig-gpo-ig-utah-2links-capacity.rspec |
| 1661 | INFO:stitcher:Loading config file /home/lnevers/.gcf/omni_config |
| 1662 | INFO:stitcher:Using control framework portal |
| 1663 | INFO:stitcher:<Aggregate urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm> speaks AM API v3, but sticking with v2 |
| 1664 | INFO:stitcher:<Aggregate urn:publicid:IDN+emulab.net+authority+cm> speaks AM API v3, but sticking with v2 |
| 1665 | INFO:stitcher:<Aggregate urn:publicid:IDN+utah.geniracks.net+authority+cm> speaks AM API v3, but sticking with v2 |
| 1666 | INFO:stitch.Aggregate:Writing to '/tmp/ln-ext-2l-createsliver-request-11-instageni-gpolab-bbn-com.xml' |
| 1667 | INFO:stitch.Aggregate: |
| 1668 | Stitcher doing createsliver at https://boss.instageni.gpolab.bbn.com:12369/protogeni/xmlrpc/am |
| 1669 | INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 1670 | INFO:omni:Using control framework portal |
| 1671 | INFO:omni:Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+ln-ext-2l expires within 1 day on 2013-06-07 19:23:37 UTC |
| 1672 | INFO:omni:Creating sliver(s) from rspec file /tmp/ln-ext-2l-createsliver-request-11-instageni-gpolab-bbn-com.xml for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+ln-ext-2l |
| 1673 | ERROR:omni: {'output': 'vlan tag for link2 not available', 'code': {'protogeni_error_log': 'urn:publicid:IDN+instageni.gpolab.bbn.com+log+a73a5adbbee7517a5b08b44c235970a3', 'am_type': 'protogeni', 'geni_code': 1, 'am_code': 1, 'protogeni_error_url': 'https://boss.instageni.gpolab.bbn.com/spewlogfile.php3?logfile=a73a5adbbee7517a5b08b44c235970a3'}, 'value': 0} |
| 1674 | INFO:stitch.Aggregate:Got AMAPIError doing createsliver ln-ext-2l at <Aggregate urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm>: AMAPIError: Error from Aggregate: code 1. protogeni AM code: 1: vlan tag for link2 not available. |
| 1675 | INFO:stitch.launcher:Will put <Aggregate urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm> back in the pool to allocate. Got Retry <Aggregate urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm> 2th time with new suggested VLANs |
| 1676 | INFO:stitch.launcher:Pausing for 10 seconds for Aggregates to free up resources... |
| 1677 | |
| 1678 | |
| 1679 | INFO:stitch.Aggregate:Writing to '/tmp/ln-ext-2l-createsliver-request-11-emulab-net.xml' |
| 1680 | INFO:stitch.Aggregate: |
| 1681 | Stitcher doing createsliver at https://www.emulab.net:12369/protogeni/xmlrpc/am |
| 1682 | INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 1683 | INFO:omni:Using control framework portal |
| 1684 | INFO:omni:Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+ln-ext-2l expires within 1 day on 2013-06-07 19:23:37 UTC |
| 1685 | INFO:omni:Creating sliver(s) from rspec file /tmp/ln-ext-2l-createsliver-request-11-emulab-net.xml for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+ln-ext-2l |
| 1686 | INFO:omni: (PG log url - look here for details on any failures: https://www.emulab.net/spewlogfile.php3?logfile=4357c82f20118d7093a53adcf0af8598) |
| 1687 | INFO:omni:Got return from CreateSliver for slice ln-ext-2l at https://www.emulab.net:12369/protogeni/xmlrpc/am: |
| 1688 | INFO:omni:Writing to 'ln-ext-2l-manifest-rspec-www-emulab-net-protogeni.xml' |
| 1689 | INFO:omni:<!-- Reserved resources for: |
| 1690 | Slice: ln-ext-2l |
| 1691 | at AM: |
| 1692 | URN: unspecified_AM_URN |
| 1693 | URL: https://www.emulab.net:12369/protogeni/xmlrpc/am |
| 1694 | --> |
| 1695 | INFO:omni:Wrote result of createsliver for slice: ln-ext-2l at AM: https://www.emulab.net:12369/protogeni/xmlrpc/am to file ln-ext-2l-manifest-rspec-www-emulab-net-protogeni.xml |
| 1696 | INFO:stitch.Aggregate:Allocation at <Aggregate urn:publicid:IDN+emulab.net+authority+cm> complete. |
| 1697 | INFO:stitch.Aggregate:Writing to '/tmp/ln-ext-2l-createsliver-request-12-instageni-gpolab-bbn-com.xml' |
| 1698 | INFO:stitch.Aggregate: |
| 1699 | Stitcher doing createsliver at https://boss.instageni.gpolab.bbn.com:12369/protogeni/xmlrpc/am |
| 1700 | INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 1701 | INFO:omni:Using control framework portal |
| 1702 | INFO:omni:Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+ln-ext-2l expires within 1 day on 2013-06-07 19:23:37 UTC |
| 1703 | INFO:omni:Creating sliver(s) from rspec file /tmp/ln-ext-2l-createsliver-request-12-instageni-gpolab-bbn-com.xml for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+ln-ext-2l |
| 1704 | ERROR:omni: {'output': 'vlan tag for link2 not available', 'code': {'protogeni_error_log': 'urn:publicid:IDN+instageni.gpolab.bbn.com+log+a4afda955fc28fa5c8c95e9b9ba303d0', 'am_type': 'protogeni', 'geni_code': l, 'am_code': 1, 'protogeni_error_url': 'https://boss.instageni.gpolab.bbn.com/spewlogfile.php3?logfile=a4afda955fc28fa5c8c95e9b9ba303d0'}, 'value': 0} |
| 1705 | INFO:stitch.Aggregate:Got AMAPIError doing createsliver ln-ext-2l at <Aggregate urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm>: AMAPIError: Error from Aggregate: code 1. protogeni AM code: 1: vlan tag for link2 not available. |
| 1706 | INFO:stitch.launcher:Will put <Aggregate urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm> back in the pool to allocate. Got Retry <Aggregate urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm> 3th time with new suggested VLANs |
| 1707 | INFO:stitch.launcher:Pausing for 10 seconds for Aggregates to free up resources... |
| 1708 | |
| 1709 | |
| 1710 | INFO:stitch.Aggregate:Writing to '/tmp/ln-ext-2l-createsliver-request-11-utah-geniracks-net.xml' |
| 1711 | INFO:stitch.Aggregate: |
| 1712 | Stitcher doing createsliver at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am |
| 1713 | INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 1714 | INFO:omni:Using control framework portal |
| 1715 | INFO:omni:Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+ln-ext-2l expires within 1 day on 2013-06-07 19:23:37 UTC |
| 1716 | INFO:omni:Creating sliver(s) from rspec file /tmp/ln-ext-2l-createsliver-request-11-utah-geniracks-net.xml for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+ln-ext-2l |
| 1717 | INFO:omni: (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=9bd8416e4b9d5eb1c153925cd6b5cd5f) |
| 1718 | INFO:omni:Got return from CreateSliver for slice ln-ext-2l at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am: |
| 1719 | INFO:omni:Writing to 'ln-ext-2l-manifest-rspec-utah-geniracks-net-protogeni.xml' |
| 1720 | INFO:omni:<!-- Reserved resources for: |
| 1721 | Slice: ln-ext-2l |
| 1722 | at AM: |
| 1723 | URN: unspecified_AM_URN |
| 1724 | URL: https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am |
| 1725 | --> |
| 1726 | INFO:omni:Wrote result of createsliver for slice: ln-ext-2l at AM: https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am to file ln-ext-2l-manifest-rspec-utah-geniracks-net-protogeni.xml |
| 1727 | INFO:stitch.Aggregate:Allocation at <Aggregate urn:publicid:IDN+utah.geniracks.net+authority+cm> complete. |
| 1728 | INFO:stitch.Aggregate:Writing to '/tmp/ln-ext-2l-createsliver-request-13-instageni-gpolab-bbn-com.xml' |
| 1729 | INFO:stitch.Aggregate: |
| 1730 | Stitcher doing createsliver at https://boss.instageni.gpolab.bbn.com:12369/protogeni/xmlrpc/am |
| 1731 | INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 1732 | INFO:omni:Using control framework portal |
| 1733 | INFO:omni:Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+ln-ext-2l expires within 1 day on 2013-06-07 19:23:37 UTC |
| 1734 | INFO:omni:Creating sliver(s) from rspec file /tmp/ln-ext-2l-createsliver-request-13-instageni-gpolab-bbn-com.xml for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+ln-ext-2l |
| 1735 | ERROR:omni: {'output': 'vlan tag for link2 not available', 'code': {'protogeni_error_log': 'urn:publicid:IDN+instageni.gpolab.bbn.com+log+6bdb7562233197a6ac4626385e34bf91', 'am_type': 'protogeni', 'geni_code': 1, 'am_code': 1, 'protogeni_error_url': 'https://boss.instageni.gpolab.bbn.com/spewlogfile.php3?logfile=6bdb7562233197a6ac4626385e34bf91'}, 'value': 0} |
| 1736 | INFO:stitch.Aggregate:Got AMAPIError doing createsliver ln-ext-2l at <Aggregate urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm>: AMAPIError: Error from Aggregate: code 1. protogeni AM code: 1: vlan tag for link2 not available. |
| 1737 | INFO:stitch.Aggregate:Cannot redo request locally: <Hop u'urn:publicid:IDN+instageni.gpolab.bbn.com+interface+procurve2:5.24' on path u'link2'> available VLAN range too small: 3747. VLANs unavailable: 3747-3749 |
| 1738 | WARNING:stitcher:Stitching failed with an error: Stitching failed trying createsliver at <Aggregate urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm>: AMAPIError: Error from Aggregate: code 1. protogeni AM code: 1: vlan tag for link2 not available. |
| 1739 | WARNING:stitcher:Had reservation at https://www.emulab.net:12369/protogeni/xmlrpc/am |
| 1740 | INFO:stitch.Aggregate:Doing deletesliver at https://www.emulab.net:12369/protogeni/xmlrpc/am |
| 1741 | INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 1742 | INFO:omni:Using control framework portal |
| 1743 | INFO:omni:Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+ln-ext-2l expires within 1 day on 2013-06-07 19:23:37 UTC |
| 1744 | INFO:omni.pgch:Detected busy result for DeleteSliver urn:publicid:IDN+ch.geni.net:ln-prj+slice+ln-ext-2l at https://www.emulab.net:12369/protogeni/xmlrpc/am. Retrying in 10 seconds. |
| 1745 | INFO:omni: (PG log url - look here for details on any failures: https://www.emulab.net/spewlogfile.php3?logfile=5f4ed7194b73a5327a6c2c24a6d21b5e) |
| 1746 | INFO:omni:Deleted sliver urn:publicid:IDN+ch.geni.net:ln-prj+slice+ln-ext-2l on unspecified_AM_URN at https://www.emulab.net:12369/protogeni/xmlrpc/am |
| 1747 | WARNING:stitcher:Deleted reservation at https://www.emulab.net:12369/protogeni/xmlrpc/am |
| 1748 | WARNING:stitcher:Had reservation at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am |
| 1749 | INFO:stitch.Aggregate:Doing deletesliver at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am |
| 1750 | INFO:omni:Loading config file /home/lnevers/.gcf/omni_config |
| 1751 | INFO:omni:Using control framework portal |
| 1752 | INFO:omni:Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+ln-ext-2l expires within 1 day on 2013-06-07 19:23:37 UTC |
| 1753 | INFO:omni: (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=8a181235b7fa80872551670c62357df9) |
| 1754 | INFO:omni:Deleted sliver urn:publicid:IDN+ch.geni.net:ln-prj+slice+ln-ext-2l on unspecified_AM_URN at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am |
| 1755 | WARNING:stitcher:Deleted reservation at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am |
| 1756 | Stitching failed trying createsliver at <Aggregate urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm>: AMAPIError: Error from Aggregate: code 1. protogeni AM code: 1: vlan tag for link2 not available. |
| 1757 | }}} |