- This topic has 4 replies, 3 voices, and was last updated 5 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Home › Forums › FABRIC General Questions and Discussion › No candidate nodes found error
Hi,
I am trying to run my port-mirroring experiment, and on some sites I get the following error:
Slice Exception: Slice Name: Traffic Listening Demo GATECH, Slice ID: 84b0bc73-8fe7-4e32-962f-2c8fccc47b76: Slice Exception: Slice Name: Traffic Listening Demo GATECH, Slice ID: 84b0bc73-8fe7-4e32-962f-2c8fccc47b76: Node: GATECH_node0, Site: GATECH, State: Closed, Insufficient resources: No candidates nodes found to serve res: #3d425fc6-0f44-4e98-a0cc-d9ee9358cb8f slice: [Traffic Listening Demo GATECH(84b0bc73-8fe7-4e32-962f-2c8fccc47b76) Owner:<email_address>] state:[Nascent,Ticketing] # |
Could someone explain what exactly is the error here? Which resource is failing to be allocated?
“No candidates nodes found to serve” – there aren’t enough resources in the site to serve your request. It could be there are not enough cores or RAM in the workers because the site is too busy.
Hi Nishant,
VM requested on GATECH identified by ID: 3d425fc6-0f44-4e98-a0cc-d9ee9358cb8f
cannot be allocated. Looks like you are requesting CX6 there which are only available on GATECH-w3
which is currently under maintenance. Hence, CF is unable to find any nodes to serve this reservation.
Hope this helps!
Thanks,
Komal
Thanks for the info. Is there some way to get the maintenance status of a site through some API , or must the user just keep track of it through forum updates?
Hi Nishanth,
We just added support for users to query host level information as well. Examples for this would be available in a couple of days. I am sharing a snippet below on how this can be done:
fablib.list_hosts()
resources = fablib.get_resources()
site = resources.get_site("MAX")
all_hosts = site.get_hosts()
host = site.get_host(name="max-w1.fabric-testbed.net")
print(host)
Please checkout our documentation here to find more details. Please let us know if you have more questions/concerns.
https://fabric-fablib.readthedocs.io/en/latest/resources.html
https://fabric-fablib.readthedocs.io/en/latest/site.html
Thanks,
Komal