← centrs docs

cmr/empty-selection

The --labels expression of execute --cmr matched no device in the controller's /cmr/device inventory, so nothing ran.

The same code is a warning on a CMR fleet command run directly with execute or api, such as /cmr/vlan/add labels=EDGE or /cmr/device/reboot labels=Edge: by the controller's inventory now, its selection reaches no device. RouterOS refuses an empty selection for a /cmr/device command itself; it accepts a rule whose labels match nothing, and the rule applies to devices that get the label later.

Typical trigger

Fix

Check the labels on the controller (/cmr/device print shows labels and auto-labels) and re-run. --labels all selects every device, including the controller.