wiki:GENIRacksHome/InstageniRacks/XenTestStatus/IG-XN-5

Version 8 (modified by lnevers@bbn.com, 6 years ago) (diff)

--

IG-XN-5: Xen Single Rack Resources Tests

This test case verifies various Xen resources allocation scenarios in the Utah InstaGENI rack. For overall status see the InstaGENI Xen Virtualization Test Status page.

Test Status

This section captures the status for each step in the acceptance test plan.

Scenario State Ticket Notes
1. 2 Xen exclusive hosts with 1 link
2. 3 Xen non-exclusive hosts 1 link
3. 1 Xen exclusive host and 1 Xen non-exclusive host with 1 link
4. 1 Xen exclusive host and 1 OpenVZ exclusive host with 1 link
5. 1 Xen non-exclusive host and 1 OpenVZ non-exclusive host with 1 link
6. 2 Xen host connected by 2 links


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.


Test Execution Details

This testing is executed with GENI Clearinghouse Credentials. No assumptions are made.

Using the following RSpec request two exclusive hosts:

...
  <node client_id="xen1" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="true">
    <sliver_type name="emulab-xen"/>
    <interface client_id="xen1:if0">
      <ip address="192.168.1.2" netmask="255.255.255.0" type="ipv4"/>
    </interface>
  </node>
  <node client_id="xen2" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="true">
    <sliver_type name="emulab-xen"/>
    <interface client_id="xen2:if0">
      <ip address="192.168.1.1" netmask="255.255.255.0" type="ipv4"/>
    </interface>
  </node> 
  <link client_id="link1">
    <component_manager name="urn:publicid:IDN+utah.geniracks.net+authority+cm"/>
    <interface_ref client_id="xen1:if0"/>
    <interface_ref client_id="xen2:if0"/>
    <link_type name="lan"/>
  </link>
...

Create slice:

$ omni.py createslice IG-XN-5-1
...
  Result Summary: Created slice with Name IG-XN-5-1, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-5-1, Expiration 2013-08-20 00:54:05

Create a sliver:

$ omni.py -a ig-utah createsliver IG-XN-5-1 ./IG-XN-5-1.rspec 
20:59:48 INFO     omni: Loading config file /home/lnevers/.gcf/omni_config
20:59:48 INFO     omni: Using control framework portal
20:59:48 INFO     omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm
20:59:49 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-5-1 expires on 2013-08-20 00:54:05 UTC
20:59:49 INFO     omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm
20:59:49 INFO     omni: Substituting AM nickname ig-utah with URL https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0, URN urn:publicid:IDN+utah.geniracks.net+authority+cm
20:59:49 INFO     omni: Creating sliver(s) from rspec file ./IG-XN-5-1.rspec for slice urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-5-1
21:00:07 INFO     omni:  (PG log url - look here for details on any failures: https://boss.utah.geniracks.net/spewlogfile.php3?logfile=b72293eb095aad0474cc8c28042f18f4)
21:00:07 INFO     omni: Got return from CreateSliver for slice IG-XN-5-1 at https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0:
21:00:07 INFO     omni: <!-- Reserved resources for:
	Slice: IG-XN-5-1
	at AM:
	URN: urn:publicid:IDN+utah.geniracks.net+authority+cm
	URL: https://boss.utah.geniracks.net:12369/protogeni/xmlrpc/am/2.0
 -->
21:00:07 INFO     omni: <rspec xmlns="http://www.protogeni.net/resources/rspec/2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.protogeni.net/resources/rspec/2 http://www.protogeni.net/resources/rspec/2/manifest.xsd" type="manifest">
  <node client_id="xen1" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="true" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc2" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24779">
    <sliver_type name="emulab-xen"/>
    <interface client_id="xen1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc2:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24783" mac_address="021bd7cba5f4">
      <ip address="192.168.1.2" netmask="255.255.255.0" type="ipv4"/>
    </interface>
  <rs:vnode xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1" name="pcvm2-1"/><host name="xen1.IG-XN-5-1.ch-geni-net.utah.geniracks.net"/><services><login authentication="ssh-keys" hostname="pc2.utah.geniracks.net" port="33850" username="lnevers"/></services></node>
  <node client_id="xen2" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="true" component_id="urn:publicid:IDN+utah.geniracks.net+node+pc2" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24780">
    <sliver_type name="emulab-xen"/>
    <interface client_id="xen2:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc2:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24784" mac_address="02b2001ba66f">
      <ip address="192.168.1.1" netmask="255.255.255.0" type="ipv4"/>
    </interface>
  <rs:vnode xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1" name="pcvm2-2"/><host name="xen2.IG-XN-5-1.ch-geni-net.utah.geniracks.net"/><services><login authentication="ssh-keys" hostname="pc2.utah.geniracks.net" port="33851" username="lnevers"/></services></node> 
  <link client_id="link1" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24782">
    <component_manager name="urn:publicid:IDN+utah.geniracks.net+authority+cm"/>
    <interface_ref client_id="xen1:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc2:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24783"/>
    <interface_ref client_id="xen2:if0" component_id="urn:publicid:IDN+utah.geniracks.net+interface+pc2:lo0" sliver_id="urn:publicid:IDN+utah.geniracks.net+sliver+24784"/>
    <link_type name="lan"/>
  </link>

</rspec>
21:00:07 INFO     omni:  ------------------------------------------------------------
21:00:07 INFO     omni:  Completed createsliver:

  Options as run:
		aggregate: ['ig-utah']
		framework: portal
		project: ln-prj

  Args: createsliver IG-XN-5-1 ./IG-XN-5-1.rspec

  Result Summary: Got Reserved resources RSpec from utah-geniracks-net 
21:00:07 INFO     omni:  ============================================================

Login to each host and exchange traffic:

$ readyToLogin.py -a ig-utah  IG-XN-5-1   
...
User lnevers logs in to xen2 using:
	ssh -p 33851  -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@pc2.utah.geniracks.net
User lnevers logs in to xen1 using:
	ssh -p 33850  -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@pc2.utah.geniracks.net
....

$ ssh -p 33851  -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@pc2.utah.geniracks.net

$ ssh -p 33850  -i /home/lnevers/.ssh/geni_cert_portal_key lnevers@pc2.utah.geniracks.net

XXX

Create slice:

$ omni.py createslice IG-XN-5-2
...
Result Summary: Created slice with Name IG-XN-5-2, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-5-2, Expiration 2013-08-20 00:54:07

Create a sliver:


Create slice:

$ omni.py createslice IG-XN-5-3
...
Result Summary: Created slice with Name IG-XN-5-3, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-5-3, Expiration 2013-08-20 00:54:08

Create a sliver:


Create slice:

$ omni.py createslice IG-XN-5-4
...
Result Summary: Created slice with Name IG-XN-5-4, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-5-4, Expiration 2013-08-20 00:54:10

Create a sliver:


Create slice:

$ omni.py createslice IG-XN-5-5
...
Result Summary: Created slice with Name IG-XN-5-5, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-5-5, Expiration 2013-08-20 00:54:12

Create a sliver:


Create slice:

$ omni.py createslice IG-XN-5-6
...
Result Summary: Created slice with Name IG-XN-5-6, URN urn:publicid:IDN+ch.geni.net:ln-prj+slice+IG-XN-5-6, Expiration 2013-08-20 00:54:14

Create a sliver: