[[PageOutline]] = CG-EXP-2: Resource Allocation = This test allocated resources in both NCSU2 and NCSU Cisco racks. Note the following Omni nick names are used: {{{ ncsu2-eg=urn:publicid:IDN+exogeni.net:ncsu2vmsite+authority+am,https://ncsu2-hn.exogeni.net:11443/orca/xmlrpc ncsu-eg=urn:publicid:IDN+exogeni.net:ncsuvmsite+authority+am,https://ncsu-hn.exogeni.net:11443/orca/xmlrpc }}} == Test Status == This section captures the status for each step in the acceptance test plan. || '''Test''' ||'''State''' || ''' !Tickets/Comments''' || ||[wiki:GENIRacksHome/CiscoGENIRacks/AcceptanceTestStatus/CG-EXP-2#NCSU2TwoVMSliver NCSU2 Resources] ||[[Color(green,Pass)]]||2014-12-08|| ||[wiki:GENIRacksHome/CiscoGENIRacks/AcceptanceTestStatus/CG-EXP-2#NCSUTwoVMSliver NCSU Resources] ||[[Color(green,Pass)]]||2014-12-08|| ||[wiki:GENIRacksHome/CiscoGENIRacks/AcceptanceTestStatus/CG-EXP-2#NCSUBareMetalNodes NCSU Bare Metal Nodes]||[[Color(red,Fail)]]||Embedding workflow error || [[BR]] || '''State Legend''' || '''Description''' || || [[Color(green,Pass)]] || Test completed and met all criteria || || [[Color(#98FB98,Pass: most criteria)]] || Test completed and met most criteria. Exceptions documented || || [[Color(red,Fail)]] || Test completed and failed to meet criteria. || || [[Color(yellow,Complete)]] || Test completed but will require re-execution due to expected changes || || [[Color(orange,Blocked)]] || Blocked by ticketed issue(s). || || [[Color(#63B8FF,In Progress)]] || Currently under test. || [[BR]] = NCSU2 Two VM Sliver = Create a 2 VM sliver via the local SM using [http://groups.geni.net/geni/browser/trunk/GENIRacks/CiscoGENI/RSpecs/AcceptanceTests/cisco-2vm-unbound.rspec cisco-2vm-unbound.rspec]: {{{ $ omni createsliver ln-cisco2 -a ncsu2-eg ./cisco-2vm-unbound.rspec 11:03:22 INFO : Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache' 11:03:22 INFO : Loading config file '/home/lnevers/.gcf/omni_config' 11:03:22 INFO : Using control framework portal 11:03:22 INFO : Member Authority is https://ch.geni.net/MA (from config) 11:03:22 INFO : Slice Authority is https://ch.geni.net/SA (from config) 11:03:22 INFO : Substituting AM nickname ncsu2-eg with URL https://ncsu2-hn.exogeni.net:11443/orca/xmlrpc, URN urn:publicid:IDN+exogeni.net:ncsu2vmsite+authority+am 11:03:22 INFO : Slice urn:publicid:IDN+ch.geni.net:ln-test+slice+ln-cisco2 expires on 2014-12-15 16:03:21 UTC 11:03:22 INFO : Creating sliver(s) from rspec file ./cisco-2vm-unbound.rspec for slice urn:publicid:IDN+ch.geni.net:ln-test+slice+ln-cisco2 11:03:27 INFO : Got return from CreateSliver for slice ln-cisco2 at ncsu2-eg: 11:03:27 INFO : 11:03:27 INFO : 11:03:27 INFO : 11:03:27 INFO : ------------------------------------------------------ 11:03:27 INFO : Completed createsliver: Options as run: aggregate: ['ncsu2-eg'] framework: portal project: ln-test Args: createsliver ln-cisco2 ./cisco-2vm-unbound.rspec Result Summary: Got Reserved resources RSpec from exogeni-net-ncsu2vmsite 11:03:27 INFO : ====================================================== }}} Validate sliver manifest: {{{ $ omni listresources -a ncsu2-eg ln-cisco2 -o 11:20:59 INFO : Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache' 11:20:59 INFO : Loading config file '/home/lnevers/.gcf/omni_config' 11:20:59 INFO : Using control framework portal 11:20:59 INFO : Member Authority is https://ch.geni.net/MA (from config) 11:20:59 INFO : Slice Authority is https://ch.geni.net/SA (from config) 11:20:59 INFO : Substituting AM nickname ncsu2-eg with URL https://ncsu2-hn.exogeni.net:11443/orca/xmlrpc, URN urn:publicid:IDN+exogeni.net:ncsu2vmsite+authority+am 11:20:59 INFO : Saving output to a file. 11:21:00 INFO : Slice urn:publicid:IDN+ch.geni.net:ln-test+slice+ln-cisco2 expires on 2014-12-15 16:03:21 UTC 11:21:00 INFO : Gathering resources reserved for slice ln-cisco2. 11:21:01 INFO : Listed reserved resources on 1 out of 1 possible aggregates. 11:21:01 INFO : Writing to 'ln-cisco2-manifest-rspec-exogeni-net-ncsu2vmsite.xml' 11:21:01 INFO : Reservation at urn:publicid:IDN+exogeni.net:ncsu2vmsite+authority+am in slice ln-cisco2 expires at 2014-12-15 16:03:21 (UTC). 11:21:01 INFO : ------------------------------------------------------ 11:21:01 INFO : Completed listresources: Options as run: aggregate: ['ncsu2-eg'] framework: portal output: True project: ln-test Args: listresources ln-cisco2 Result Summary: Queried resources for slice ln-cisco2 from 1 of 1 aggregate(s). Wrote rspecs from 1 aggregate(s) to 1 file(s) Saved listresources RSpec from 'urn:publicid:IDN+exogeni.net:ncsu2vmsite+authority+am' (url 'https://ncsu2-hn.exogeni.net:11443/orca/xmlrpc') to file ln-cisco2-manifest-rspec-exogeni-net-ncsu2vmsite.xml; . Reservation at urn:publicid:IDN+exogeni.net:ncsu2vmsite+authority+am in slice ln-cisco2 expires at 2014-12-15 16:03:21 (UTC). 11:21:01 INFO : ====================================================== $ rspeclint ln-cisco2-manifest-rspec-exogeni-net-ncsu2vmsite.xml Failed to load schema for namespace http://www.geni.net/resources/rspec/ext/color/2 from location http://www.geni.net/resources/rspec/ext/color/2/color.xsdhttp://www.geni.net/resources/rspec/ext/storage/1 : Schemas parser error : Failed to locate the main schema resource at 'http://www.geni.net/resources/rspec/ext/color/2/color.xsdhttp://www.geni.net/resources/rspec/ext/storage/1'. }}} '''Note: Sliver manifest does not pass rspeclint''' Verify traffic exchange between the end-points: {{{ $ readyToLogin -a ncsu2-eg ln-cisco2 ... ================================================================================ LOGIN INFO for AM: https://ncsu2-hn.exogeni.net:11443/orca/xmlrpc ================================================================================ geni1's geni_status is: ready User lnevers logs in to geni1 using: ssh -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@152.48.13.193 geni2's geni_status is: ready User lnevers logs in to geni2 using: ssh -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@152.48.13.194 }}} Login to geni1 host and send traffic to remote: {{{ Could not load list of meta packages: [Errno 12] Cannot allocate memory Could not load list of meta packages: [Errno 12] Cannot allocate memory ... lnevers@geni1:~$ ping 172.16.1.2 -c 60 -q PING 172.16.1.2 (172.16.1.2) 56(84) bytes of data. --- 172.16.1.2 ping statistics --- 60 packets transmitted, 60 received, 0% packet loss, time 59024ms rtt min/avg/max/mdev = 0.832/0.997/2.145/0.169 ms lnevers@geni1:~$ }}} ''' Note: Login errors for NCSU2 host reported''' = NCSU Two VM Sliver = Create a 2 VM sliver via the local SM using the [http://groups.geni.net/geni/browser/trunk/GENIRacks/CiscoGENI/RSpecs/AcceptanceTests/cisco-2vm-unbound.rspec cisco-2vm-unbound.rspec] {{{ $ omni createsliver ln-cisco1 -a ncsu-eg ./cisco-2vm-unbound.rspec 11:03:04 INFO : Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache' 11:03:04 INFO : Loading config file '/home/lnevers/.gcf/omni_config' 11:03:04 INFO : Using control framework portal 11:03:04 INFO : Member Authority is https://ch.geni.net/MA (from config) 11:03:04 INFO : Slice Authority is https://ch.geni.net/SA (from config) 11:03:04 INFO : Substituting AM nickname ncsu-eg with URL https://ncsu-hn.exogeni.net:11443/orca/xmlrpc, URN urn:publicid:IDN+exogeni.net:ncsuvmsite+authority+am 11:03:05 INFO : Slice urn:publicid:IDN+ch.geni.net:ln-test+slice+ln-cisco1 expires on 2014-12-15 16:03:04 UTC 11:03:05 INFO : Creating sliver(s) from rspec file ./cisco-2vm-unbound.rspec for slice urn:publicid:IDN+ch.geni.net:ln-test+slice+ln-cisco1 11:03:08 INFO : Got return from CreateSliver for slice ln-cisco1 at ncsu-eg: 11:03:08 INFO : 11:03:08 INFO : 11:03:08 INFO : 11:03:09 INFO : ------------------------------------------------------ 11:03:09 INFO : Completed createsliver: Options as run: aggregate: ['ncsu-eg'] framework: portal project: ln-test Args: createsliver ln-cisco1 ./cisco-2vm-unbound.rspec Result Summary: Got Reserved resources RSpec from exogeni-net-ncsuvmsite 11:03:09 INFO : ====================================================== }}} Validate sliver manifest: {{{ $ omni listresources -a ncsu-eg ln-cisco1 -o 11:19:27 INFO : Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache' 11:19:27 INFO : Loading config file '/home/lnevers/.gcf/omni_config' 11:19:27 INFO : Using control framework portal 11:19:27 INFO : Member Authority is https://ch.geni.net/MA (from config) 11:19:27 INFO : Slice Authority is https://ch.geni.net/SA (from config) 11:19:27 INFO : Substituting AM nickname ncsu-eg with URL https://ncsu-hn.exogeni.net:11443/orca/xmlrpc, URN urn:publicid:IDN+exogeni.net:ncsuvmsite+authority+am 11:19:27 INFO : Saving output to a file. 11:19:27 INFO : Slice urn:publicid:IDN+ch.geni.net:ln-test+slice+ln-cisco1 expires on 2014-12-15 16:03:04 UTC 11:19:27 INFO : Gathering resources reserved for slice ln-cisco1. 11:19:28 INFO : Listed reserved resources on 1 out of 1 possible aggregates. 11:19:28 INFO : Writing to 'ln-cisco1-manifest-rspec-exogeni-net-ncsuvmsite.xml' 11:19:28 INFO : Reservation at urn:publicid:IDN+exogeni.net:ncsuvmsite+authority+am in slice ln-cisco1 expires at 2014-12-15 16:03:04 (UTC). 11:19:28 INFO : ------------------------------------------------------ 11:19:28 INFO : Completed listresources: Options as run: aggregate: ['ncsu-eg'] framework: portal output: True project: ln-test Args: listresources ln-cisco1 Result Summary: Queried resources for slice ln-cisco1 from 1 of 1 aggregate(s). Wrote rspecs from 1 aggregate(s) to 1 file(s) Saved listresources RSpec from 'urn:publicid:IDN+exogeni.net:ncsuvmsite+authority+am' (url 'https://ncsu-hn.exogeni.net:11443/orca/xmlrpc') to file ln-cisco1-manifest-rspec-exogeni-net-ncsuvmsite.xml; . Reservation at urn:publicid:IDN+exogeni.net:ncsuvmsite+authority+am in slice ln-cisco1 expires at 2014-12-15 16:03:04 (UTC). 11:19:28 INFO : ====================================================== $ rspeclint ln-cisco1-manifest-rspec-exogeni-net-ncsuvmsite.xml Failed to load schema for namespace http://www.geni.net/resources/rspec/ext/color/2 from location http://www.geni.net/resources/rspec/ext/color/2/color.xsdhttp://www.geni.net/resources/rspec/ext/storage/1 : Schemas parser error : Failed to locate the main schema resource at 'http://www.geni.net/resources/rspec/ext/color/2/color.xsdhttp://www.geni.net/resources/rspec/ext/storage/1'. lnevers@sendaria:~/gcf-2.7/cisco$ }}} '''Note: sliver manifest does not pass rspeclint ''' Verify traffic exchange between the end-points: {{{ $ readyToLogin -a ncsu-eg ln-cisco1 ... ================================================================================ LOGIN INFO for AM: https://ncsu-hn.exogeni.net:11443/orca/xmlrpc ================================================================================ geni1's geni_status is: ready User lnevers logs in to geni1 using: ssh -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@152.48.13.14 geni2's geni_status is: ready User lnevers logs in to geni2 using: ssh -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@152.48.13.15 }}} Login to geni1 host and send traffic to remote: {{{ lnevers@geni1:~$ ping 172.16.1.2 -c 60 -q PING 172.16.1.2 (172.16.1.2) 56(84) bytes of data. --- 172.16.1.2 ping statistics --- 60 packets transmitted, 60 received, 0% packet loss, time 59064ms rtt min/avg/max/mdev = 0.889/1.083/3.015/0.258 ms }}} = NCSU Bare Metal Nodes = Created a slice and a sliver requesting two bare metal nodes via the ExoSM using [http://groups.geni.net/geni/browser/trunk/GENIRacks/CiscoGENI/RSpecs/AcceptanceTests/cisco-2bare-ncsu.rspec cisco-2bare-ncsu.rspec]: {{{ $ omni createsliver 2bare -a ncsu-eg cisco-2bare-ncsu.rspec 15:05:55 INFO : Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache' 15:05:55 INFO : Loading config file '/home/lnevers/.gcf/omni_config' 15:05:55 INFO : Using control framework portal 15:05:55 INFO : Member Authority is https://ch.geni.net/MA (from config) 15:05:55 INFO : Slice Authority is https://ch.geni.net/SA (from config) 15:05:55 INFO : Substituting AM nickname ncsu-eg with URL https://ncsu-hn.exogeni.net:11443/orca/xmlrpc, URN urn:publicid:IDN+exogeni.net:ncsuvmsite+authority+am 15:05:56 INFO : Slice urn:publicid:IDN+ch.geni.net:ln-test+slice+2bare expires on 2014-12-15 20:05:54 UTC 15:05:56 INFO : Creating sliver(s) from rspec file cisco-2bare-ncsu.rspec for slice urn:publicid:IDN+ch.geni.net:ln-test+slice+2bare 15:05:59 WARNING : Failed CreateSliver for slice 2bare at ncsu-eg. Error from Aggregate: code 2: Embedding workflow ERROR: 1:No available resources in domain: http://geni-orca.renci.org/owl/ncsuvmsite.rdf#ncsuvmsite/Domain/baremetalce:baremetalce; Requested: baremetalce:2. Please see https://geni-orca.renci.org/trac/wiki/orca-errors for possible solutions. 15:05:59 INFO : ------------------------------------------------------ 15:05:59 INFO : Completed createsliver: Options as run: aggregate: ['ncsu-eg'] framework: portal project: ln-test Args: createsliver 2bare cisco-2bare-ncsu.rspec Result Summary: Failed CreateSliver for slice 2bare at ncsu-eg. Error from Aggregate: code 2: Embedding workflow ERROR: 1:No available resources in domain: http://geni-orca.renci.org/owl/ncsuvmsite.rdf#ncsuvmsite/Domain/baremetalce:baremetalce; Requested: baremetalce:2. Please see https://geni-orca.renci.org/trac/wiki/orca-errors for possible solutions. }}}