如何安装节点池 Fedora 36

在本教程中,我们学习如何安装nodepool Fedora 36.nodepool是分布式测试基础设施的Nodepool管理

介绍

在本教程中我们学习如何安装 nodepool 在 Fedora 36.

什么是 nodepool

Nodepool 是 OpenStack CI 团队使用的一项服务,用于在云服务器上部署和管理 devstack 映像池,以供 OpenStack 项目测试使用。

我们可以用 yum 或者 dnf 安装 nodepool 在 Fedora 36. 在本教程中,我们讨论这两种方法,但您只需选择其中一种方法来安装节点池。

安装节点池 Fedora 36 使用dnf

更新 yum 数据库 dnf 使用以下命令。

sudo dnf makecache --refresh

更新 yum 数据库后,我们可以安装 nodepool 使用 dnf 通过运行以下命令:

sudo dnf -y install nodepool

安装节点池 Fedora 36 使用 yum

更新 yum 数据库 yum 使用以下命令。

sudo yum makecache --refresh

更新 yum 数据库后,我们可以安装 nodepool 使用 yum 通过运行以下命令:

sudo yum -y install nodepool

如何卸载节点池 Fedora 36

仅卸载 nodepool 打包我们可以使用以下命令:

节点池包内容 Fedora 36

/etc/nodepool/elements
/etc/nodepool/nodepool.yaml
/etc/nodepool/scripts
/etc/nodepool/secure.conf
/usr/bin/nodepool
/usr/lib/python3.10/site-packages/nodepool
/usr/lib/python3.10/site-packages/nodepool-3.13.1-py3.10.egg-info
/usr/lib/python3.10/site-packages/nodepool-3.13.1-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/nodepool-3.13.1-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/nodepool-3.13.1-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/nodepool-3.13.1-py3.10.egg-info/entry_points.txt
/usr/lib/python3.10/site-packages/nodepool-3.13.1-py3.10.egg-info/not-zip-safe
/usr/lib/python3.10/site-packages/nodepool-3.13.1-py3.10.egg-info/pbr.json
/usr/lib/python3.10/site-packages/nodepool-3.13.1-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/nodepool-3.13.1-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/nodepool/__init__.py
/usr/lib/python3.10/site-packages/nodepool/__pycache__
/usr/lib/python3.10/site-packages/nodepool/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/__pycache__/builder.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/__pycache__/builder.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/__pycache__/config.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/__pycache__/config.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/__pycache__/exceptions.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/__pycache__/exceptions.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/__pycache__/launcher.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/__pycache__/launcher.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/__pycache__/logconfig.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/__pycache__/logconfig.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/__pycache__/nodeutils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/__pycache__/nodeutils.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/__pycache__/provider_manager.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/__pycache__/provider_manager.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/__pycache__/stats.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/__pycache__/stats.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/__pycache__/status.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/__pycache__/status.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/__pycache__/version.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/__pycache__/version.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/__pycache__/webapp.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/__pycache__/webapp.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/__pycache__/zk.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/__pycache__/zk.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/builder.py
/usr/lib/python3.10/site-packages/nodepool/cmd
/usr/lib/python3.10/site-packages/nodepool/cmd/__init__.py
/usr/lib/python3.10/site-packages/nodepool/cmd/__pycache__
/usr/lib/python3.10/site-packages/nodepool/cmd/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/cmd/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/cmd/__pycache__/builder.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/cmd/__pycache__/builder.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/cmd/__pycache__/config_validator.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/cmd/__pycache__/config_validator.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/cmd/__pycache__/launcher.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/cmd/__pycache__/launcher.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/cmd/__pycache__/nodepoolcmd.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/cmd/__pycache__/nodepoolcmd.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/cmd/builder.py
/usr/lib/python3.10/site-packages/nodepool/cmd/config_validator.py
/usr/lib/python3.10/site-packages/nodepool/cmd/launcher.py
/usr/lib/python3.10/site-packages/nodepool/cmd/nodepoolcmd.py
/usr/lib/python3.10/site-packages/nodepool/config.py
/usr/lib/python3.10/site-packages/nodepool/driver
/usr/lib/python3.10/site-packages/nodepool/driver/__init__.py
/usr/lib/python3.10/site-packages/nodepool/driver/__pycache__
/usr/lib/python3.10/site-packages/nodepool/driver/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/__pycache__/simple.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/__pycache__/simple.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/__pycache__/taskmanager.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/__pycache__/taskmanager.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/aws
/usr/lib/python3.10/site-packages/nodepool/driver/aws/__init__.py
/usr/lib/python3.10/site-packages/nodepool/driver/aws/__pycache__
/usr/lib/python3.10/site-packages/nodepool/driver/aws/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/aws/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/aws/__pycache__/config.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/aws/__pycache__/config.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/aws/__pycache__/handler.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/aws/__pycache__/handler.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/aws/__pycache__/provider.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/aws/__pycache__/provider.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/aws/config.py
/usr/lib/python3.10/site-packages/nodepool/driver/aws/handler.py
/usr/lib/python3.10/site-packages/nodepool/driver/aws/provider.py
/usr/lib/python3.10/site-packages/nodepool/driver/azure
/usr/lib/python3.10/site-packages/nodepool/driver/azure/__init__.py
/usr/lib/python3.10/site-packages/nodepool/driver/azure/__pycache__
/usr/lib/python3.10/site-packages/nodepool/driver/azure/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/azure/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/azure/__pycache__/config.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/azure/__pycache__/config.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/azure/__pycache__/handler.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/azure/__pycache__/handler.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/azure/__pycache__/provider.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/azure/__pycache__/provider.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/azure/config.py
/usr/lib/python3.10/site-packages/nodepool/driver/azure/handler.py
/usr/lib/python3.10/site-packages/nodepool/driver/azure/provider.py
/usr/lib/python3.10/site-packages/nodepool/driver/fake
/usr/lib/python3.10/site-packages/nodepool/driver/fake/__init__.py
/usr/lib/python3.10/site-packages/nodepool/driver/fake/__pycache__
/usr/lib/python3.10/site-packages/nodepool/driver/fake/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/fake/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/fake/__pycache__/config.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/fake/__pycache__/config.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/fake/__pycache__/handler.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/fake/__pycache__/handler.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/fake/__pycache__/provider.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/fake/__pycache__/provider.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/fake/config.py
/usr/lib/python3.10/site-packages/nodepool/driver/fake/handler.py
/usr/lib/python3.10/site-packages/nodepool/driver/fake/provider.py
/usr/lib/python3.10/site-packages/nodepool/driver/gce
/usr/lib/python3.10/site-packages/nodepool/driver/gce/__init__.py
/usr/lib/python3.10/site-packages/nodepool/driver/gce/__pycache__
/usr/lib/python3.10/site-packages/nodepool/driver/gce/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/gce/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/gce/__pycache__/adapter.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/gce/__pycache__/adapter.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/gce/__pycache__/config.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/gce/__pycache__/config.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/gce/adapter.py
/usr/lib/python3.10/site-packages/nodepool/driver/gce/config.py
/usr/lib/python3.10/site-packages/nodepool/driver/kubernetes
/usr/lib/python3.10/site-packages/nodepool/driver/kubernetes/__init__.py
/usr/lib/python3.10/site-packages/nodepool/driver/kubernetes/__pycache__
/usr/lib/python3.10/site-packages/nodepool/driver/kubernetes/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/kubernetes/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/kubernetes/__pycache__/config.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/kubernetes/__pycache__/config.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/kubernetes/__pycache__/handler.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/kubernetes/__pycache__/handler.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/kubernetes/__pycache__/provider.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/kubernetes/__pycache__/provider.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/kubernetes/config.py
/usr/lib/python3.10/site-packages/nodepool/driver/kubernetes/handler.py
/usr/lib/python3.10/site-packages/nodepool/driver/kubernetes/provider.py
/usr/lib/python3.10/site-packages/nodepool/driver/openshift
/usr/lib/python3.10/site-packages/nodepool/driver/openshift/__init__.py
/usr/lib/python3.10/site-packages/nodepool/driver/openshift/__pycache__
/usr/lib/python3.10/site-packages/nodepool/driver/openshift/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/openshift/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/openshift/__pycache__/config.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/openshift/__pycache__/config.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/openshift/__pycache__/handler.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/openshift/__pycache__/handler.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/openshift/__pycache__/provider.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/openshift/__pycache__/provider.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/openshift/config.py
/usr/lib/python3.10/site-packages/nodepool/driver/openshift/handler.py
/usr/lib/python3.10/site-packages/nodepool/driver/openshift/provider.py
/usr/lib/python3.10/site-packages/nodepool/driver/openshiftpods
/usr/lib/python3.10/site-packages/nodepool/driver/openshiftpods/__init__.py
/usr/lib/python3.10/site-packages/nodepool/driver/openshiftpods/__pycache__
/usr/lib/python3.10/site-packages/nodepool/driver/openshiftpods/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/openshiftpods/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/openshiftpods/__pycache__/config.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/openshiftpods/__pycache__/config.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/openshiftpods/__pycache__/handler.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/openshiftpods/__pycache__/handler.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/openshiftpods/__pycache__/provider.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/openshiftpods/__pycache__/provider.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/openshiftpods/config.py
/usr/lib/python3.10/site-packages/nodepool/driver/openshiftpods/handler.py
/usr/lib/python3.10/site-packages/nodepool/driver/openshiftpods/provider.py
/usr/lib/python3.10/site-packages/nodepool/driver/openstack
/usr/lib/python3.10/site-packages/nodepool/driver/openstack/__init__.py
/usr/lib/python3.10/site-packages/nodepool/driver/openstack/__pycache__
/usr/lib/python3.10/site-packages/nodepool/driver/openstack/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/openstack/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/openstack/__pycache__/config.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/openstack/__pycache__/config.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/openstack/__pycache__/handler.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/openstack/__pycache__/handler.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/openstack/__pycache__/provider.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/openstack/__pycache__/provider.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/openstack/config.py
/usr/lib/python3.10/site-packages/nodepool/driver/openstack/handler.py
/usr/lib/python3.10/site-packages/nodepool/driver/openstack/provider.py
/usr/lib/python3.10/site-packages/nodepool/driver/simple.py
/usr/lib/python3.10/site-packages/nodepool/driver/static
/usr/lib/python3.10/site-packages/nodepool/driver/static/__init__.py
/usr/lib/python3.10/site-packages/nodepool/driver/static/__pycache__
/usr/lib/python3.10/site-packages/nodepool/driver/static/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/static/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/static/__pycache__/config.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/static/__pycache__/config.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/static/__pycache__/handler.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/static/__pycache__/handler.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/static/__pycache__/provider.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/static/__pycache__/provider.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/static/config.py
/usr/lib/python3.10/site-packages/nodepool/driver/static/handler.py
/usr/lib/python3.10/site-packages/nodepool/driver/static/provider.py
/usr/lib/python3.10/site-packages/nodepool/driver/taskmanager.py
/usr/lib/python3.10/site-packages/nodepool/driver/test
/usr/lib/python3.10/site-packages/nodepool/driver/test/__init__.py
/usr/lib/python3.10/site-packages/nodepool/driver/test/__pycache__
/usr/lib/python3.10/site-packages/nodepool/driver/test/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/test/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/test/__pycache__/config.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/test/__pycache__/config.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/test/__pycache__/handler.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/test/__pycache__/handler.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/test/__pycache__/provider.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/test/__pycache__/provider.cpython-310.pyc
/usr/lib/python3.10/site-packages/nodepool/driver/test/config.py
/usr/lib/python3.10/site-packages/nodepool/driver/test/handler.py
/usr/lib/python3.10/site-packages/nodepool/driver/test/provider.py
/usr/lib/python3.10/site-packages/nodepool/driver/utils.py
/usr/lib/python3.10/site-packages/nodepool/exceptions.py
/usr/lib/python3.10/site-packages/nodepool/launcher.py
/usr/lib/python3.10/site-packages/nodepool/logconfig.py
/usr/lib/python3.10/site-packages/nodepool/nodeutils.py
/usr/lib/python3.10/site-packages/nodepool/provider_manager.py
/usr/lib/python3.10/site-packages/nodepool/releasenotes
/usr/lib/python3.10/site-packages/nodepool/releasenotes/notes
/usr/lib/python3.10/site-packages/nodepool/releasenotes/notes/filter-active-images-openstack-f69bf47323b6b91a.yaml
/usr/lib/python3.10/site-packages/nodepool/stats.py
/usr/lib/python3.10/site-packages/nodepool/status.py
/usr/lib/python3.10/site-packages/nodepool/version.py
/usr/lib/python3.10/site-packages/nodepool/webapp.py
/usr/lib/python3.10/site-packages/nodepool/zk.py
/var/lib/nodepool
/var/lib/nodepool/.config
/var/lib/nodepool/.config/openstack
/var/lib/nodepool/dib
/var/log/nodepool

参考

概括

在本教程中我们学习如何安装 nodepool 在 Fedora 36 使用 yum 和 [dnf]((/fedora/36/dnf/)。