Upgrading to raas 8.18.x causes error Failed dependencies: python3-devel is needed by raas
search cancel

Upgrading to raas 8.18.x causes error Failed dependencies: python3-devel is needed by raas

book

Article ID: 418401

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite) VMware SaltStack

Issue/Introduction

Users report seeing an error message similar to the following when attempting to upgrade to the 8.18.x version of the RaaS daemon.

Failed dependencies: python3-devel is needed by raas

 

Environment

  • VCF Salt
  • Formerly VMware Aria Automation Config / Tanzu Guardrails for Workloads / SaltStack Enterprise

Cause

The required package is not available in any configured repository on the operating system, or the repositories themselves are not available (ie the appliance lacks Internet connectivity) causing the package manager to not be able to resolve the dependency declared the RaaS software package.

Resolution

Please contact support for a solution to this issue.

Additional Information

NOTE: The steps outlined below will be added to the documentation when ready.

Prerequisites

Upgrade Steps

  1. Stop masters - on each salt-master, run this command:
    • systemctl stop salt-master
  2. Stop RaaS service on this server:
    • systemctl stop raas
  3. Backup /etc/raas directory, for example:
    • cp -a /etc/raas /root/raas_pre-upgrade_backup
  4. Upgrade the RaaS server software package:
    • rpm -Uvh raas-8.18.2.14.rpm
  5. Restore /etc/raas directory from backup, for example:
    • mv /etc/raas /root/raas_post-upgrade_backup
    • cp -a /root/raas_pre-upgrade_backup /etc/raas
  6. Generate a new default config file and copy your settings from /etc/raas/raas to make use of changes to configs included with this version:
    1. su - raas -c "raas genconfig /tmp/raas-config"
    2. Edit this new config file /tmp/raas-config with reference to your existing config at /etc/raas/raas.
    3. mv /etc/raas/raas /etc/raas/raas_8.17-backup
    4. mv /tmp/raas-config /etc/raas/raas
  7. Upgrade the RaaS database:
    • su - raas -c "raas -l debug upgrade"
  8. Start RaaS service:
    • systemctl start raas
  9. Start master service on each salt master:
    • systemctl start salt-master

Once complete, log into the RaaS GUI and navigate to Administration > Master Plugins to download and install the new master plugin on your salt masters.