Package failed to install or upgrade

You might see an error in the log file about being unable to upgrade a resource.

Symptoms

The error might be similar to the following example:
================================================================================
Error executing action `upgrade` on resource 'package[python-openstackclient]'
================================================================================

Resolving the problem

The node might be unable to connect to or use the Chef server or the operating system or IBM® Cloud Manager with OpenStack package repositories. Log in to the node and attempt to install or upgrade the package manually. Start by clearing the expired package cache by running yum clean expire-cache, then attempt to install the failed package (for example, yum install python-openstackclient). If the package installs successfully, try the topology deployment or update again.  If the package installation fails, the command output provides more information about why the error occurred and how to resolve it.