Opened 12 years ago

Closed 12 years ago

#2 closed (fixed)

create sliver for incorrect component manager fails with exception

Reported by: lnevers@bbn.com Owned by: ibaldin@renci.org
Priority: major Milestone:
Component: AM Version: SPIRAL4
Keywords: SM Cc:
Dependencies:

Description

Using version??? on 04/25/2012.

While creating a sliver at the BBN SM using an RSpec that includes a resource from the component_manager_id "urn:publicid:IDN+rcivmsite+authority+cm"(RENCI Aggregate), an exception was reported, which does not give a good insight into the source of the problem. Here is the error:

$ ./src/omni.py -a https://bbn-hn.exogeni.gpolab.bbn.com:11443/orca/xmlrpc createsliver lnevers6orca orca-2site.rspec        
INFO:omni:Loading config file omni_config
INFO:omni:Using control framework pgeni
INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca expires within 1 day on 2012-04-25 22:43:34 UTC
INFO:omni:Creating sliver(s) from rspec file orca-2site.rspec for slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca
INFO:omni:Asked https://bbn-hn.exogeni.gpolab.bbn.com:11443/orca/xmlrpc to reserve resources. Result:
INFO:omni:<!-- Reserved resources for:
	Slice: lnevers6orca
	At AM:
	URL: https://bbn-hn.exogeni.gpolab.bbn.com:11443/orca/xmlrpc
 -->
INFO:omni: ------------------------------------------------------------
INFO:omni: Completed createsliver:

  Options as run:
		aggregate: https://bbn-hn.exogeni.gpolab.bbn.com:11443/orca/xmlrpc
		framework: pgeni
		native: True

  Args: createsliver lnevers6orca orca-2site.rspec

  Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca expires within 1 day(s) on 2012-04-25 22:43:34 UTC
Asked https://bbn-hn.exogeni.gpolab.bbn.com:11443/orca/xmlrpc to reserve resources. No manifest Rspec returned. Other Exception: java.lang.Exception: ERROR: Unknown slice urn urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnevers6orca 
INFO:omni: ============================================================

Replacing the component_manager_id "urn:publicid:IDN+rcivmsite+authority+cm" with the correct one "urn:publicid:IDN+bbnvmsite+authority+cm" resolves the failure.

The exception should be handled more gracefully.

Change History (2)

comment:1 Changed 12 years ago by ibaldin@renci.org

Owner: changed from somebody to ibaldin@renci.org
Status: newassigned

comment:2 Changed 12 years ago by lnevers@bbn.com

Resolution: fixed
Status: assignedclosed

The current version reports the following when a request is submitted to the wrong SM:

Asked https://bbn-hn.exogeni.net:11443/orca/xmlrpc to reserve resources. No manifest 
Rspec returned. Request id: f3d8101f-c5f2-4a19-b05e-7e0691becc0a
Embedding workflow ERROR: 1:Insufficient resources or Unknown domain: 
http://geni-orca.renci.org/owl/rcivmsite.rdf#rcivmsite/Domain/vlan:vlan:0! 
Requested: vlan:1 

This reflects that an unknown domain rcivmsite is being used.

Note: See TracTickets for help on using tickets.