3568 | | __Part 2:__Once the part 1 fails, switch to the following definition: |
3569 | | |
3570 | | Utah PG if0 <-ION-> GPO IG if0 [[BR]] |
3571 | | Utah PG if1 <-ION-> GPO IG if1 [[BR]] |
3572 | | |
3573 | | |
3574 | | Part 1 test run output: |
3575 | | |
3576 | | Using the following link definition: |
3577 | | {{{ |
3578 | | <link client_id="link"> |
3579 | | <component_manager name="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm"/> |
3580 | | <component_manager name="urn:publicid:IDN+ion.internet2.edu+authority+am"/><component_manager name="urn:publicid:IDN+emulab.net+authority+cm"/> |
3581 | | <interface_ref client_id="ig-gpo:if0"/> |
3582 | | <interface_ref client_id="pg-utah:if0"/> |
3583 | | <property dest_id="pg-utah:if0" source_id="ig-gpo:if0"/> |
3584 | | <property dest_id="ig-gpo:if0" source_id="pg-utah:if0"/> |
3585 | | </link> |
3586 | | <link client_id="link2"> |
3587 | | <component_manager name="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm"/> |
3588 | | <component_manager name="urn:publicid:IDN+ion.internet2.edu+authority+am"/><component_manager name="urn:publicid:IDN+emulab.net+authority+cm"/> |
3589 | | <interface_ref client_id="ig-gpo:if0"/> |
3590 | | <interface_ref client_id="pg-utah:if1"/> |
3591 | | <property dest_id="pg-utah:if1" source_id="ig-gpo:if0"/> |
3592 | | <property dest_id="ig-gpo:if0" source_id="pg-utah:if1"/> |
3593 | | </link> |
3594 | | }}} |
3595 | | |
3596 | | Created a sliver: |
3597 | | |
3598 | | {{{ |
3599 | | $ stitcher.py createsliver lnloop ./stitch-loop-bad.rspec |
3600 | | |
3601 | | TODO capture |
3602 | | }}} |
3603 | | |
3604 | | |
3605 | | '''Results''': ??? |
3606 | | |
3607 | | |
3608 | | Part 2 test run output: |
3609 | | |
3610 | | Modified RSpec linkd to: |
| 3575 | |
| 3576 | |
| 3577 | __Part 1:__ Loop topology test run output: |
| 3578 | |
| 3579 | Used RSpec links shown here: |
| 3951 | |
| 3952 | |
| 3953 | __Part 2:__ Invalid loop topology test run output: |
| 3954 | |
| 3955 | First deleted the sliver from part 1 which releases VLANs for this test case. Used the following link definition: |
| 3956 | {{{ |
| 3957 | <link client_id="link"> |
| 3958 | <component_manager name="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm"/> |
| 3959 | <component_manager name="urn:publicid:IDN+ion.internet2.edu+authority+am"/><component_manager name="urn:publicid:IDN+emulab.net+authority+cm"/> |
| 3960 | <interface_ref client_id="ig-gpo:if0"/> |
| 3961 | <interface_ref client_id="pg-utah:if0"/> |
| 3962 | <property dest_id="pg-utah:if0" source_id="ig-gpo:if0"/> |
| 3963 | <property dest_id="ig-gpo:if0" source_id="pg-utah:if0"/> |
| 3964 | </link> |
| 3965 | <link client_id="link2"> |
| 3966 | <component_manager name="urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm"/> |
| 3967 | <component_manager name="urn:publicid:IDN+ion.internet2.edu+authority+am"/><component_manager name="urn:publicid:IDN+emulab.net+authority+cm"/> |
| 3968 | <interface_ref client_id="ig-gpo:if0"/> |
| 3969 | <interface_ref client_id="pg-utah:if1"/> |
| 3970 | <property dest_id="pg-utah:if1" source_id="ig-gpo:if0"/> |
| 3971 | <property dest_id="ig-gpo:if0" source_id="pg-utah:if1"/> |
| 3972 | </link> |
| 3973 | }}} |
| 3974 | |
| 3975 | Created a sliver: |
| 3976 | |
| 3977 | {{{ |
| 3978 | $ stitcher.py createsliver lnloop ./stitch-loop-bad.rspec |
| 3979 | 13:30:20 INFO stitcher: Loading config file /home/lnevers/.gcf/omni_config |
| 3980 | 13:30:20 INFO stitcher: Using control framework portal |
| 3981 | 13:30:20 INFO stitcher: Checking that slice lnloop is valid... |
| 3982 | 13:30:21 INFO stitcher: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+lnloop expires on 2013-08-06 13:23:18 UTC |
| 3983 | 13:30:22 INFO stitcher: <Aggregate urn:publicid:IDN+instageni.gpolab.bbn.com+authority+cm> speaks AM API v3, but sticking with v2 |
| 3984 | 13:30:22 INFO stitcher: <Aggregate urn:publicid:IDN+emulab.net+authority+cm> speaks AM API v3, but sticking with v2 |
| 3985 | 13:30:22 INFO stitch.Aggregate: Writing to '/tmp/lnloop-createsliver-request-11-instageni-gpolab-bbn-com.xml' |
| 3986 | 13:30:22 INFO stitch.Aggregate: |
| 3987 | Stitcher doing createsliver at https://boss.instageni.gpolab.bbn.com:12369/protogeni/xmlrpc/am |
| 3988 | 13:30:46 ERROR omni: {'output': 'vlan tag for link2 not available', 'code': {'protogeni_error_log': 'urn:publicid:IDN+instageni.gpolab.bbn.com+log+de3039a253a842a1520ef5c76ec2aa81', 'am_type': 'protogeni', 'geni_code': 1, 'am_code': 1, 'protogeni_error_url': 'https://boss.instageni.gpolab.bbn.com/spewlogfile.php3?logfile=de3039a253a842a1520ef5c76ec2aa81'}, 'value': 0} |
| 3989 | 13:32:01 INFO stitch.Aggregate: Allocation at <Aggregate urn:publicid:IDN+emulab.net+authority+cm> complete. |
| 3990 | 13:32:01 INFO stitch.Aggregate: Writing to '/tmp/lnloop-createsliver-request-12-instageni-gpolab-bbn-com.xml' |
| 3991 | 13:32:01 INFO stitch.Aggregate: |
| 3992 | Stitcher doing createsliver at https://boss.instageni.gpolab.bbn.com:12369/protogeni/xmlrpc/am |
| 3993 | 13:32:12 ERROR omni: {'output': 'vlan tag for link not available', 'code': {'protogeni_error_log': 'urn:publicid:IDN+instageni.gpolab.bbn.com+log+ace961e67954a0d30b548e3217f0f1d4', 'am_type': 'protogeni', 'geni_code': 1, 'am_code': 1, 'protogeni_error_url': 'https://boss.instageni.gpolab.bbn.com/spewlogfile.php3?logfile=ace961e67954a0d30b548e3217f0f1d4'}, 'value': 0} |
| 3994 | 13:33:02 ERROR omni: {'output': 'vlan tag for link2 not available', 'code': {'protogeni_error_log': 'urn:publicid:IDN+instageni.gpolab.bbn.com+log+7c67eee645a70304088b1d202d8cd81f', 'am_type': 'protogeni', 'geni_code': 1, 'am_code': 1, 'protogeni_error_url': 'https://boss.instageni.gpolab.bbn.com/spewlogfile.php3?logfile=7c67eee645a70304088b1d202d8cd81f'}, 'value': 0} |
| 3995 | 13:33:02 ERROR 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. |
| 3996 | 13:33:02 WARNING stitcher: Had reservation at https://www.emulab.net:12369/protogeni/xmlrpc/am |
| 3997 | 13:33:38 ERROR omni: {'output': 'resource is busy; try again later', 'code': {'protogeni_error_log': 'urn:publicid:IDN+emulab.net+log+8d84ebff55fde5759ab274fac874d455', 'am_type': 'protogeni', 'geni_code': 14, 'am_code': 14, 'protogeni_error_url': 'https://www.emulab.net/spewlogfile.php3?logfile=8d84ebff55fde5759ab274fac874d455'}, 'value': 0} |
| 3998 | 13:35:40 WARNING stitcher: Deleted reservation at https://www.emulab.net:12369/protogeni/xmlrpc/am |
| 3999 | 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. |
| 4000 | |
| 4001 | |
| 4002 | }}} |
| 4003 | |
| 4004 | |
| 4005 | '''Results''': ??? |