Skip to content

Troubleshooting 6.10.0 upgrades

The following procedures can be used to correct issues with your Resource Manager 6.10.0 upgrade.

Collectors keep using old device configurations

After the update, device configurations that were built before the update stay current. Collectors keep using objects that the old ZenPack code built, until each device changes. For example, CiscoMonitor status thresholds fail.

To resolve this issue, expire all device configurations. Follow Rebuilding device configurations. Configurations rebuild within a minute.

Error messages that don't indicate a failure

The update log can show the following messages. Neither one means that the update failed, and you don't need to act on them.

  • A message like the following one:

    ERROR relstorage.storage.tpc.vote.timing: Function tpc_finish took 24.5s
    

    The database layer logs every call that takes longer than about 20 seconds at the ERROR level. The commit still completes.

  • The following message, which can appear many times:

    sync.go:85: ERR Failed to publish events caused by: EOF
    

    The log shipper in the service container lost its connection to the log server for a moment, and it retries.

Missing monitoring templates on new installs

In some cases, the model catalog may be improperly initialized and missing entries for some of the base objects in the product. You can detect if base objects are missing by navigating to Advanced->Monitoring Templates and verifying that no templates are listed.

To resolve this issue, rebuild the catalog with the following command that you can run from the CC master host:

serviced service run zope rebuild-catalog

Device monitoring fails with connection or DNS errors

On some versions of RHEL and related Linux distributions, the DNS configuration used for Docker is not required and causes DNS failures. You can see this error when monitoring an AWS or Azure device, for example:

AWS: During processing 1 from 1 datapoints in EC2Instance/NetworkOut an error occured: Could not connect to the endpoint URL: "https://monitoring.us-east-1.amazonaws.com/"

Azure: Unexpected error: DNSLookupError: DNS lookup failed: Couldn't find the hostname 'login.microsoftonline.com'

To resolve this issue, remove the --dns option from the /etc/sysconf/docker file.

Locate the following code:

OPTIONS="-s devicemapper --storage-opt dm.basesize=45G --storage-opt dm.thinpooldev=/dev/mapper/docker-docker--pool --storage-opt dm.mountopt=discard --exec-opt native.cgroupdriver=cgroupfs --log-level=error --insecure-registry 10.88.122.5:5000 --dns=172.17.0.1 --bip=172.17.0.1/24"

Then change this snippet to the following code with the --dns option removed:

OPTIONS="-s devicemapper --storage-opt dm.basesize=45G --storage-opt dm.thinpooldev=/dev/mapper/docker-docker--pool --storage-opt dm.mountopt=discard --exec-opt native.cgroupdriver=cgroupfs --log-level=error --insecure-registry 10.88.122.5:5000 --bip=172.17.0.1/24"

Warning message about RabbitMQ running on a delegate host

When upgrading multi-host deployments, an upgrade step to remove an unused RabbitMQ queue might not run properly and a warning message is sent to the upgrade log, for example:

WARNING. RabbitMQ is running on a delegate host, to remove deprecated queues from exchange run the command on that host.

If you encounter this warning, follow the instructions and run the provided command on the delegate host that is currently running the RabbitMQ service.