Opened 10 years ago

Closed 10 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)

rspec-boss-utah-geniracks-net-protogeni-xmlrpc-am-2-0.xml (41.1 KB) - added by lnevers@bbn.com 10 years ago.

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by lnevers@bbn.com

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

On 4/27/12 2:41 PM, Leigh Stoller wrote:

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.

This is is how ProtoGeni? works; The results of ListResources? is a snapshot in time. It just so happened that I grabbed those nodes right afterwards (I saw you request go by while watching the logs).

Lbs

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?

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

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 10 years ago by lnevers@bbn.com

Resolution: fixed
Status: newclosed

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.

Note: See TracTickets for help on using tickets.