dell / omnia

An open-source toolkit for deploying and managing high performance clusters for HPC, AI, and data analytics workloads.
https://omnia-doc.readthedocs.io/en/latest/index.html
Apache License 2.0
227 stars 119 forks source link

prereq.sh fails to install python3-pip on clean Rocky9.3 #2356

Open nthorne-dell opened 1 month ago

nthorne-dell commented 1 month ago

Describe the bug prereq.sh uses python's pip module to install ansible. If running it on Rocky Linux version 9.3 (Dell reasons why that version is picked)

To Reproduce Steps to reproduce the behavior:

  1. Request PXE image from internal network - should be a reasonably vanilla Rocky9.3
  2. git clone https://github.com/dell/omnia.git
  3. ensure correct permissions on directories
  4. run prereq.sh
  5. See error [root@controlplane omnia]# ./prereq.sh

    [SNIP]


    UPGRADING PIP:

    /usr/bin/python3.9: No module named pip

    INSTALLING ANSIBLE:

    /usr/bin/python3.9: No module named pip /usr/bin/python3.9: No module named pip Waiting for process with pid 11608 to finish.

    [SNIP]

    For more information: https://omnia-doc.readthedocs.io/en/latest/InstallationGuides/InstallingProvisionTool/index.html

Expected behavior script completes and ansible is installed successfully via python-pip Or script halts on error

system snapshot

abhishek-sa1 commented 3 weeks ago

@nthorne-dell Omnia does not support rocky 9.3