Collector-side deployment logs: log/agents/<hostname>/deployment.log; device-side: /var/log/cvt_deployment.log (Service logs).
Common Issues
|
Symptom / message |
Cause and fix |
|---|---|
|
|
Wrong credentials — fix in Run Validation > Step 2; for hosts, check SSH key configuration |
|
|
Slow/blocked path — increase |
|
|
User lacks sudo, sudo requires a password, or user is not in the Docker group |
|
|
SFTP issue — verify |
|
SSH key not found (hosts) |
|
|
|
Install and start Docker on the device (Installation Notes) |
|
|
Device cannot reach the collector — fix reachability/NAT (Verify the deployment) and port 8251 |
|
|
Corrupted image transfer — the script retries automatically; persistent failures point to network issues |
For general debugging: test SSH manually to the device with the same credentials/keys, review both log locations above, and confirm the device prerequisites (Installation Notes).
MLNX-OS Specific Issues
-
% Failed to load image ... operation cancelled— usually insufficient space on the switch for the agent image. Free space and retry. -
% Rule numbers must be consecutive: cannot have 40 without 39 (chain INPUT)— the switch rejected the IP-filter rule CVT adds for port 8251.
-
CVT only adds the rule when IP filtering is enabled (
show ip filter; enable withip filter enable). If filtering is enabled without the default rules, restore them withip filter reset-to-default-rules; CVT then inserts the rule permitting TCP 8251. With filtering disabled, all ports are allowed and no rule is needed.
-
EDR switches are not supported — they run older software that lacks the required IP-filter support.
Security Best Practices
Use dedicated credentials/keys for CVT, rotate them regularly, keep key file permissions restrictive, and prefer credential profiles over per-device entries. Network-side, restrict SSH and 8251 to the management network and the collector address where possible.
Last updated: