Opened 10 years ago

Last modified 10 years ago

#200 new

Request for bare metal to local SM should fail, as bare metal is only available via ExoSM

Reported by: lnevers@bbn.com Owned by: somebody
Priority: major Milestone:
Component: Experiment Version: SPIRAL6
Keywords: confirmation tests Cc:
Dependencies:

Description

Incorrectly submitted an RSpec that requested a bare metal node to the local FIU SM. This is not a valid request because the bare metal nodes are only available via the ExoSM.

The request to the local SM was not rejected and the sliver was created and became "ready"

}}} $ omni.py createsliver EG-CT-2 -a fiu-eg ./EG-CT-2-fiu.rspec 14:50:38 INFO : Loading agg_nick_cache file '/home/lnevers/.gcf/agg_nick_cache' 14:50:38 INFO : Loading config file /home/lnevers/.gcf/omni_config 14:50:38 INFO : Using control framework portal 14:50:38 INFO : Member Authority is https://ch.geni.net/MA (from config) 14:50:38 INFO : Slice Authority is https://ch.geni.net/SA (from config) 14:50:38 INFO : Substituting AM nickname fiu-eg with URL https://fiu-hn.exogeni.net:11443/orca/xmlrpc, URN urn:publicid:IDN+exogeni.net:fiuvmsite+authority+am 14:50:38 INFO : Slice urn:publicid:IDN+ch.geni.net:Luisa_Nevers-Test-Proj_01+slice+EG-CT-2 expires on 2014-06-11 18:49:56 UTC 14:50:38 INFO : Creating sliver(s) from rspec file ./EG-CT-2-fiu.rspec for slice urn:publicid:IDN+ch.geni.net:Luisa_Nevers-Test-Proj_01+slice+EG-CT-2 14:50:47 INFO : Got return from CreateSliver? for slice EG-CT-2 at fiu-eg: 14:50:47 INFO : <?xml version="1.0" ?> 14:50:47 INFO : <!-- Reserved resources for:

Slice: EG-CT-2 at AM: URN: urn:publicid:IDN+exogeni.net:fiuvmsite+authority+am URL: https://fiu-hn.exogeni.net:11443/orca/xmlrpc

-->

14:50:47 INFO : <rspec type="manifest" xmlns="http://www.geni.net/resources/rspec/3" xmlns:ns2="http://hpn.east.isi.edu/rspec/ext/stitch/0.1/" xmlns:ns3="http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/slice-info/1" xmlns:ns4="http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/sliver-info/1" xmlns:ns5="http://www.geni.net/resources/rspec/ext/postBootScript/1" xmlns:ns6="http://www.geni.net/resources/rspec/ext/color/2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/manifest.xsd http://hpn.east.isi.edu/rspec/ext/stitch/0.1/ http://hpn.east.isi.edu/rspec/ext/stitch/0.1/stitch-schema.xsd http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/slice-info/1 http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/slice-info/1/slice_info.xsd?format=raw http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/sliver-info/1 http://groups.geni.net/exogeni/attachment/wiki/RspecExtensions/sliver-info/1/sliver_info.xsd?format=raw http://www.geni.net/resources/rspec/ext/postBootScript/1 http://www.geni.net/resources/rspec/ext/postBootScript/1/request.xsd http://www.geni.net/resources/rspec/ext/color/2 http://www.geni.net/resources/rspec/ext/color/2/color.xsd">

<node client_id="BM-1" component_id="urn:publicid:IDN+exogeni.net:fiuvmsite+node+orca-xcat-cloud" component_manager_id="urn:publicid:IDN+exogeni.net:fiuvmsite+authority+am" component_name="orca-xcat-cloud" exclusive="true" sliver_id="urn:publicid:IDN+exogeni.net:fiuvmsite+sliver+8b8a07f0-d413-45f3-b189-2ae25738a21e:BM-1">

<sliver_type name="ExoGENI-M4">

<disk_image name="http://geni-images.renci.org/images/standard/debian/deb6.v1.0.10.xml" version="c120b9d79d3f3882114c0e59cce14f671ef9b0db"/>

</sliver_type> <services/> <ns4:geni_sliver_info creation_time="2014-06-04T18:50:40.000Z" creator_urn="lnevers@bbn.com, urn:publicid:IDN+ch.geni.net+user+lnevers" expiration_time="2014-06-11T18:49:56.000Z" start_time="2014-06-04T18:50:40.000Z"/>

</node> <node client_id="VM-1" component_id="urn:publicid:IDN+exogeni.net:fiuvmsite+node+orca-vm-cloud" component_manager_id="urn:publicid:IDN+exogeni.net:fiuvmsite+authority+am" component_name="orca-vm-cloud" exclusive="false" sliver_id="urn:publicid:IDN+exogeni.net:fiuvmsite+sliver+8b8a07f0-d413-45f3-b189-2ae25738a21e:VM-1">

<location country="Unspecified" latitude="25.757292" longitude="-80.37404"/> <sliver_type name="m1.small"> </sliver_type> <services/> <interface client_id="VM-1:if0" mac_address="fe:16:3e:00:58:d6">

<ip address="172.16.1.2" netmask="255.255.255.0" type="ipv4"/>

</interface> <ns4:geni_sliver_info creation_time="2014-06-04T18:50:40.000Z" creator_urn="lnevers@bbn.com, urn:publicid:IDN+ch.geni.net+user+lnevers" expiration_time="2014-06-11T18:49:56.000Z" start_time="2014-06-04T18:50:40.000Z" state="configuring"/>

</node> <link client_id="lan0" sliver_id="urn:publicid:IDN+exogeni.net:fiuvmsite+sliver+8b8a07f0-d413-45f3-b189-2ae25738a21e:lan0" vlantag="unknown">

<interface_ref client_id="VM-1:if0"/> <ns4:geni_sliver_info creation_time="2014-06-04T18:50:40.000Z" creator_urn="lnevers@bbn.com, urn:publicid:IDN+ch.geni.net+user+lnevers" expiration_time="2014-06-11T18:49:56.000Z" start_time="2014-06-04T18:50:40.000Z" state="configuring"/>

</link> <ns3:geni_slice_info state="configuring" urn="urn:publicid:IDN+ch.geni.net:Luisa_Nevers-Test-Proj_01+slice+EG-CT-2" uuid="fc326136-f372-455d-af79-a7a1a84fd977"/>

</rspec> 14:50:47 INFO : ------------------------------------------------------ 14:50:47 INFO : Completed createsliver:

Options as run:

aggregate: fiu-eg? framework: portal project: Luisa_Nevers-Test-Proj_01

Args: createsliver EG-CT-2 ./EG-CT-2-fiu.rspec

Result Summary: Got Reserved resources RSpec from exogeni-net-fiuvmsite

14:50:47 INFO : ====================================================== }}}

Attachments (1)

EG-CT-2-fiu.rspec (1.4 KB) - added by lnevers@bbn.com 10 years ago.

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by lnevers@bbn.com

Attachment: EG-CT-2-fiu.rspec added

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

RSpec has been attached to ticket.

comment:2 Changed 10 years ago by ibaldin@renci.org

The resulting slice doesn't actually contain the baremetal node - it only contains the vlan and the vm. This is a bug that will most likely be fixed in ORCA 5.0. For now if the baremetal node isn't bound to a domain, the request is rejected as expected.

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

My request rspec was bound:

<node client_id="BM-1" component_manager_id="urn:publicid:IDN+fiuvmsite+authority+cm" >
...
<node client_id="VM-1" component_manager_id="urn:publicid:IDN+fiuvmsite+authority+cm" >
...

So if I had an unbound request it would have been rejected?

comment:4 Changed 10 years ago by ibaldin@renci.org

Yes, but that's not a solution. It typically would be bound, so that's not really a fix.

Note: See TracTickets for help on using tickets.