Nodeletd Restart Failing At Phase 2
Problem
- Restarting nodeletd fails on phase 2 with below error:
Environment
- Platform9 Managed Kubernetes - v5.2 and below version
- Nodeletd
Cause
The /opt/pf9/pf9-kube/os_centos.sh script contains a typo for python path:
local storage_cfg_backup=/etc/sysconfig/docker-storage.rpmsave
if [ ! -f $storage_cfg ] && [ -f $storage_cfg_backup ] ; then
echo "configure_docker_storage: restoring $storage_cfg"
mv -f $storage_cfg_backup $storage_cfg
fi # Ensure backward compatibility with hosts where docker storage
# is already configured
if [ -f $storage_cfg ]; then
echo "configure_docker_storage: deriving configuration from $storage_cfg"
local PYTHON=*/opt/pf9/python/pf9/python*
Resolution
- Correct python path from /opt/pf9/python/pf9/python to /opt/pf9/python/bin/python of /opt/pf9/pf9-kube/os_centos.sh script
- The issue is fixed from Platform9 Managed Kubernetes v5.3 onwards.
Was this page helpful?