Opened 12 years ago
Closed 12 years ago
#3 closed (fixed)
listresources state mismatch for available nodes
Reported by: | lnevers@bbn.com | Owned by: | somebody |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | AM | Version: | SPIRAL4 |
Keywords: | AM API | Cc: | |
Dependencies: |
Description
Based on the listresources, the aggregate shows all nodes as available, but creating a sliver with two node of sliver_type "raw-pc" results in a failure that stated the the nodes requested are not available.
The full listresources output will be attached to the ticket, and the sliver creation error is shown here:
lnevers@sendaria:~/gcf-1.6.1$ ./src/omni.py -a insta-utah createsliver lnrawv2 instageni-v2.rspec --api-version 2 INFO:omni:Loading config file omni_config INFO:omni:Using control framework pgeni INFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnrawv2 expires within 1 day on 2012-04-27 23:51:54 UTC INFO:omni:Substituting AM nickname insta-utah with URL https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0, URN unspecified_AM_URN INFO:omni:Substituting AM nickname insta-utah with URL https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0, URN unspecified_AM_URN INFO:omni:Creating sliver(s) from rspec file instageni-v2.rspec for slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnrawv2 INFO:omni:Asked https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 to reserve resources. Result: INFO:omni:<!-- Reserved resources for: Slice: lnrawv2 At AM: URL: https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 --> INFO:omni: ------------------------------------------------------------ INFO:omni: Completed createsliver: Options as run: aggregate: insta-utah api_version: 2 framework: pgeni native: True Args: createsliver lnrawv2 instageni-v2.rspec Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnrawv2 expires within 1 day(s) on 2012-04-27 23:51:54 UTC Asked https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 to reserve resources. No manifest Rspec returned. *** Fixed physical node: pc2 not available.*** Fixed physical node: pc5 not available.*** Some fixed nodes failed to map*** Fixed physical node: pc2 not available.*** Fixed physical node: pc5 not available.*** Some fixed nodes failed to map*** ERROR: mapper: Unretriable error. Giving up. seed = 1335573845 Physical Graph: 4 Calculating shortest paths on switch fabric. Virtual Graph: 3 Generating physical equivalence classes:3 Type precheck: Type precheck passed. Node mapping precheck: Node mapping precheck succeeded Pruning pclasses. pclass pruning complete: removed 2 pclasses, 1 remain. Type precheck: Type precheck passed. Policy precheck: Policy precheck succeeded Annealing. *** Fixed physical node: pc2 not available. *** Fixed physical node: pc5 not available. *** Some fixed nodes failed to map ASSIGN FAILED: Type precheck passed. Node mapping precheck succeeded Pruning pclasses. pclass pruning complete: removed 2 pclasses, 1 remain. Type precheck passed. Policy precheck succeeded Annealing. *** Fixed physical node: pc2 not available. *** Fixed physical node: pc5 not available. *** Some fixed nodes failed to map INFO:omni: ============================================================
Attachments (1)
Change History (4)
Changed 12 years ago by
Attachment: | rspec-boss-utah-geniracks-net-protogeni-xmlrpc-am-2-0.xml added |
---|
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
I just re-execute the same procedure (within seconds of verifying availability) the createsliver now reports:
$ ./src/omni.py -a insta-utah createsliver lnrawv2 instageni-v2.rspec --api-version 2 INFO:omni: ------------------------------------------------------------ INFO:omni: Completed createsliver: Options as run: aggregate: insta-utah api_version: 2 framework: pgeni native: True Args: createsliver lnrawv2 instageni-v2.rspec Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+lnrawv2 expires within 1 day(s) on 2012-04-27 23:51:54 UTC Asked https://boss.utah.geniracks.net/protogeni/xmlrpc/am/2.0 to reserve resources. No manifest Rspec returned. Mapper inserted nodes you did not want INFO:omni: ============================================================
The sliver does not seem to exist when I followup with a sliver status:
comment:3 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
On 4/27/12 4:02 PM, Leigh Stoller wrote:
I ran the list resources just before and immediately after the
createslivers and the nodes were still all listed as available. So how can I figure out what is available to me if the listresource show all available, before and after the createsliver?
Hi. In the current API/rspec version, you need to look for this tag:
<available now="false" />
or true ...
Lbs
I had been grepping for "node component|available" from the listresources output rspec, and just realized that because of wraparound in the window I mistook the "true" from the "exclusive" element for the "available now" status. Sorry about the confusion.
In general the majority of my test effort has been spent on trying to get nodes and failing. I am going to delay my testing to some late hour when the node are less busy.
On 4/27/12 2:41 PM, Leigh Stoller wrote:
I ran the list resources just before and immediately after the createslivers and the nodes were still all listed as available. So how can I figure out what is available to me if the listresource show all available, before and after the createsliver?