-1

I am doing a presentation on Openstack for a training course. I would like to install a light version of Openstack to test the tool and understand how it works. I tried to install Packstack on Fedora. I followed instructions from a book and websites. The commands indicated are the following:

sudo yum update -y
sudo yum install -y http://rdo.fedorapeople.org/rdo-release.rpm
sudo yum install -y openstack-packstack

Then, I get the following error:

    Erreur : 
 Problème: requêtes conflictuelles
  - rien de fournit PyYAML rendu nécessaire par openstack-packstack-1:15.0.0-0.1.0rc1.el7.noarch
  - rien de fournit PyYAML rendu nécessaire par openstack-packstack-1:15.0.1-1.el7.noarch
  - rien de fournit PyYAML rendu nécessaire par openstack-packstack-1:15.0.1-2.el7.noarch
  - rien de fournit PyYAML rendu nécessaire par openstack-packstack-1:15.1.0-1.el7.noarch
(essayez d’ajouter « --skip-broken » pour ignorer les paquets non installables)

I try with option --skip-broken. I still get an error, but the installation finishes:

 Problème: installation impossible du meilleur candidat pour la tâche
  - rien de fournit PyYAML rendu nécessaire par openstack-packstack-1:15.1.0-1.el7.noarch
=======================================================================================================
 Paquet                       Architecture    Version                   Dépôt                    Taille
=======================================================================================================
Ignorer les paquets ayant des dépendances cassées :
 openstack-packstack          noarch          1:15.1.0-1.el7            openstack-train          191 k

Résumé de la transaction
=======================================================================================================
Ignorer  1 Paquet

Rien à faire.
Terminé !

It looks like the installation is ok (except for openstack-packstack-1:15.1.0-1.el7.noarch)

Anyway, I try the instruction : sudo packstack --allinone and I receive the following error: sudo: packstack : commande introuvable

I tried toreinstall PyYAML and everything seems fine:

sudo dnf install -y python-PyYAML
Dernière vérification de l’expiration des métadonnées effectuée il y a 0:33:39 le mar. 08 nov. 2022 20:47:11.
Le paquet python3-pyyaml-6.0-3.fc36.x86_64 est déjà installé.
Dépendances résolues.
Rien à faire.
Terminé !

I really don't know what to do. Could somebody help me ?

Thanks!

Yvanou
  • 93
  • 1
  • 3
  • 7

1 Answers1

0

The packages you are trying to install appear to be designed for CentOS 7 (you can tell both by the el7 tag in the package names as well as from the fact that if you look at the repository URLs, they target the .../centos/7 directory on mirrors).

In CentOS 7, PyYAML is a valid package name. In Fedora, there is no such package (it's called python3-pyyaml).

It looks like the current Packstack documentation (https://www.rdoproject.org/install/packstack/) only mentions CentOS Stream 8 and CentOS Stream 9. There is no mention of support for Fedora.

larsks
  • 277,717
  • 41
  • 399
  • 399
  • Hi, Thanks for your answer. As I said, I'm following the instructions of a reference book (OpenStack Essentials) where it is advised to use Fedora. It seems that book's instructions are outdated... I will try with CentOS. – Yvanou Nov 27 '22 at 18:04