Regarding resource allocation on AM supporting V 3

14 views
Skip to first unread message

akshay

unread,
Jun 2, 2014, 3:10:04 PM6/2/14
to geni-...@googlegroups.com
Hi All,
I am trying to allocate resource on aggregate manager supporting
version 3 but running into error. please find the details

- AM : uky3-pg =
https://www.uky.emulab.net:12369/protogeni/xmlrpc/am/3.0
- tool : omni
- slice URN : urn:publicid:IDN+ch.geni.net:netlogistics+slice
+HelloWorld.
- rspec :
http://www.protogeni.net/wiki/ProtoGeni/wiki/RSpecRequestUnboundExample

i am able to allocate resource. but while provisioning it throwing an
error. I am new to GENI so i am unsure what is happening. Can somebody
guide me on this ?


Regards,
Akshay Dorwat

Hussamuddin Nasir

unread,
Jun 2, 2014, 3:17:36 PM6/2/14
to geni-...@googlegroups.com
Can you please provide the log url displays or any other information
that omni throws when you get this error ?

cheers,

Hussam
(Hussamuddin Nasir)

Netlab Operations Team

-------------------------------------------------------------------
Laboratory for Adv. Networking Phone : (859)218-0059
James F Hardymon Building Fax : (859)323-3740
301 Rose Street, Rm 237 E-mail : na...@netlab.uky.edu
Lexington, KY 40506-0495 Web : http://www.netlab.uky.edu

University of Kentucky
**********************
-------------------------------------------------------------------

AxaY Dorwat

unread,
Jun 2, 2014, 11:15:31 PM6/2/14
to geni-...@googlegroups.com, na...@netlab.uky.edu
Please find below logs for allocate and provision =>

[vagrant@vagrant-centos65 dms]$ omni -V 3 -a pg-uky3 allocate HelloWorld ../rspec/pg_spec.xml
20:42:35 INFO     omni: Loading agg_nick_cache file '/home/vagrant/.gcf/agg_nick_cache'
20:42:35 INFO     omni: Loading config file /home/vagrant/.gcf/omni_config
20:42:35 INFO     omni: Using control framework portal
20:42:35 INFO     omni: Substituting AM nickname pg-uky3 with URL https://www.uky.emulab.net:12369/protogeni/xmlrpc/am/3.0, URN urn:publicid:IDN+uky.emulab.net+authority+cm
20:42:52 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:netlogistics+slice+HelloWorld expires on 2014-06-09 18:54:22 UTC
20:42:52 INFO     omni: Allocate slivers in slice urn:publicid:IDN+ch.geni.net:netlogistics+slice+HelloWorld at uky3-pg:
20:43:09 INFO     omni:  (PG log url - look here for details on any failures: https://www.uky.emulab.net/spewlogfile.php3?logfile=701ef7db2044b5e20320a24271010985)
20:43:09 INFO     omni: {
  "geni_rspec": "<?xml version=\"1.0\" ?>
20:43:09 INFO     omni:   <!-- Reserved resources for:
Slice: HelloWorld
at AM:
URN: urn:publicid:IDN+uky.emulab.net+authority+cm
 -->
20:43:09 INFO     omni:   <rspec type=\"request\" 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/request.xsd\">  \n    <node client_id=\"my-node\" component_id=\"urn:publicid:IDN+uky.emulab.net+node+pc9\" component_manager_id=\"urn:publicid:IDN+uky.emulab.net+authority+cm\" exclusive=\"true\" sliver_id=\"urn:publicid:IDN+uky.emulab.net+sliver+98876\">    \n        <sliver_type name=\"raw-pc\"/>    \n      <rs:vnode name=\"pc9\" xmlns:rs=\"http://www.protogeni.net/resources/rspec/ext/emulab/1\"/>  </node>  \n</rspec>", 
  "geni_slivers": [
    {
      "geni_expires": "2014-06-02T16:50:14Z", 
      "geni_allocation_status": "geni_allocated", 
      "geni_sliver_urn": "urn:publicid:IDN+uky.emulab.net+sliver+98876"
    }
  ]
}
20:43:09 INFO     omni: All slivers expire on '2014-06-02T16:50:14'
20:43:09 INFO     omni:  ------------------------------------------------------
20:43:09 INFO     omni:  Completed allocate:
Args: allocate HelloWorld ../rspec/pg_spec.xml

  Result Summary: Slice urn:publicid:IDN+ch.geni.net:netlogistics+slice+HelloWorld expires on 2014-06-09 18:54:22 UTC
Allocated slivers in slice urn:publicid:IDN+ch.geni.net:netlogistics+slice+HelloWorld at uky3-pg. 
 Next sliver expiration: 2014-06-02T16:50:14 
20:43:09 INFO     omni:  ======================================================





[vagrant@vagrant-centos65 dms]$ omni -V 3 -a pg-uky3 provision HelloWorld
20:44:17 INFO     omni: Loading agg_nick_cache file '/home/vagrant/.gcf/agg_nick_cache'
20:44:17 INFO     omni: Loading config file /home/vagrant/.gcf/omni_config
20:44:17 INFO     omni: Using control framework portal
20:44:17 INFO     omni: Substituting AM nickname pg-uky3 with URL https://www.uky.emulab.net:12369/protogeni/xmlrpc/am/3.0, URN urn:publicid:IDN+uky.emulab.net+authority+cm
20:44:34 INFO     omni: Slice urn:publicid:IDN+ch.geni.net:netlogistics+slice+HelloWorld expires on 2014-06-09 18:54:22 UTC
20:44:34 INFO     omni: Provision slivers in slice urn:publicid:IDN+ch.geni.net:netlogistics+slice+HelloWorld at uky3-pg
20:44:42 WARNING  omni: Provision of slivers in slice urn:publicid:IDN+ch.geni.net:netlogistics+slice+HelloWorld at uky3-pg failed: Error from Aggregate: code 3. protogeni AM code: 3: This is not your ticket (PG log url - look here for details on any failures: https://www.uky.emulab.net/spewlogfile.php3?logfile=095388d072a9412910604650edf33fb8).
20:44:42 INFO     omni:  ------------------------------------------------------
20:44:42 INFO     omni:  Completed provision:
Args: provision HelloWorld

  Result Summary: Provision of slivers in slice urn:publicid:IDN+ch.geni.net:netlogistics+slice+HelloWorld at uky3-pg failed: Error from Aggregate: code 3. protogeni AM code: 3: This is not your ticket (PG log url - look here for details on any failures: https://www.uky.emulab.net/spewlogfile.php3?logfile=095388d072a9412910604650edf33fb8).
Provision slivers in slice urn:publicid:IDN+ch.geni.net:netlogistics+slice+HelloWorld failed at https://www.uky.emulab.net:12369/protogeni/xmlrpc/am/3.0 
20:44:42 INFO     omni:  ======================================================

Aaron Helsinger

unread,
Jun 3, 2014, 9:55:35 AM6/3/14
to geni-...@googlegroups.com
This appears to be a bug in the server code. Developers are discussing ways to identify and fix the bug.

In the meantime, consider using AM API v2, and simply calling 'createsliver' (no allocate and provision). EG:
$ omni -a pg-uky2 createsliver HelloWorld ../rspec/pg_spec.xml

Aaron
--
GENI Users is a community supported mailing list, so please help by responding to questions you know the answer to.
 
If this is your first time posting a question to this list, please review http://groups.geni.net/geni/wiki/GENIExperimenter/CommunityMailingList
---
You received this message because you are subscribed to the Google Groups "GENI Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geni-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages