Skip to content. | Skip to navigation

Personal tools

Navigation

You are here: Home / Wiki / Kb204

Kb204

Emulab FAQ: Testbed Operations: Problem with "Assign Failed" error message?

Emulab FAQ: Testbed Operations: Problem with "Assign Failed" error message?

> ASSIGN FAILED:
>   *** No physical nodes of type pc found
> Type precheck failed!
> *** /usr/testbed/libexec/assign_wrapper:
>     Unretriable error. Giving up.
> *** Failed (65) to map to reality.
>
> I set the node type as "pc3200" in the database, but why is it saying
> that no physical nodes of type "pc" found?  Where is it getting the
> "pc" type from?

When you do this in your ns file:

  set mypc [$ns node]

The type of mypc automatically gets set to "pc" - because the class field of the node_types entry for pc3200 is pc, this means you can get a pc3200 if you ask (implicitly in this case) for a pc. There's a tb-set-hardware command that lets you be more specific, like specifically requesting a pc3200.

This message is coming up because when a node fails during swapin, we try to replace it with another node and swap in again. But, in this case, pc1 had been deemed to be down, so there were no free PCs left. This manifests itself with the message you got - because the resource allocator, assign, is only told about free nodes, and there are no free pcs, it thinks there are no PCs at all.