Delete unavailable py2 package

The openstack Ussuri and Victoria versions no longer support the
Centos7 and pyrhon2 environment packages. Correct the missing
problems in the latest document

Change-Id: I60787243fdc6ed2741522355ec79970bdb912f41
This commit is contained in:
LinPeiWen 2021-05-10 08:15:54 +00:00 committed by Lin PeiWen
parent 2e5e2e5eb5
commit 35dea07897
11 changed files with 30 additions and 70 deletions

View File

@ -33,11 +33,7 @@ The web console can be configured in Bare Metal service in the following way:
sudo apt-get install shellinabox sudo apt-get install shellinabox
RHEL7/CentOS7:: RHEL8/CentOS8/Fedora::
sudo yum install shellinabox
Fedora::
sudo dnf install shellinabox sudo dnf install shellinabox
@ -52,11 +48,7 @@ The web console can be configured in Bare Metal service in the following way:
sudo apt-get install openssl sudo apt-get install openssl
RHEL7/CentOS7:: RHEL8/CentOS8/Fedora::
sudo yum install openssl
Fedora::
sudo dnf install openssl sudo dnf install openssl
@ -181,11 +173,7 @@ Serial consoles can be configured in the Bare Metal service as follows:
sudo apt-get install socat sudo apt-get install socat
RHEL7/CentOS7:: RHEL8/CentOS8/Fedora::
sudo yum install socat
Fedora::
sudo dnf install socat sudo dnf install socat

View File

@ -29,7 +29,7 @@ Configure the Bare Metal service for cleaning
.. code-block:: console .. code-block:: console
Fedora/RHEL7/CentOS7/SUSE: Fedora/RHEL8/CentOS8/SUSE:
sudo systemctl restart openstack-ironic-conductor sudo systemctl restart openstack-ironic-conductor
Ubuntu: Ubuntu:

View File

@ -137,7 +137,7 @@ service's controller nodes and compute nodes.
.. code-block:: console .. code-block:: console
Fedora/RHEL7/CentOS7/SUSE: Fedora/RHEL8/CentOS8/SUSE:
sudo systemctl restart openstack-nova-scheduler sudo systemctl restart openstack-nova-scheduler
Ubuntu: Ubuntu:
@ -148,7 +148,7 @@ service's controller nodes and compute nodes.
.. code-block:: console .. code-block:: console
Fedora/RHEL7/CentOS7/SUSE: Fedora/RHEL8/CentOS8/SUSE:
sudo systemctl restart openstack-nova-compute sudo systemctl restart openstack-nova-compute
Ubuntu: Ubuntu:

View File

@ -58,11 +58,7 @@ set up on the Bare Metal service nodes which run the ``ironic-conductor``.
sudo apt-get install xinetd tftpd-hpa sudo apt-get install xinetd tftpd-hpa
RHEL7/CentOS7:: RHEL8/CentOS8/Fedora::
sudo yum install tftp-server xinetd
Fedora::
sudo dnf install tftp-server xinetd sudo dnf install tftp-server xinetd
@ -94,7 +90,7 @@ set up on the Bare Metal service nodes which run the ``ironic-conductor``.
sudo service xinetd restart sudo service xinetd restart
Fedora/RHEL7/CentOS7/SUSE:: Fedora/RHEL8/CentOS8/SUSE::
sudo systemctl restart xinetd sudo systemctl restart xinetd
@ -131,11 +127,7 @@ the PXE UEFI environment.
sudo apt-get install grub-efi-amd64-signed shim-signed sudo apt-get install grub-efi-amd64-signed shim-signed
RHEL7/CentOS7:: RHEL8/CentOS8/Fedora::
sudo yum install grub2-efi shim
Fedora::
sudo dnf install grub2-efi shim sudo dnf install grub2-efi shim
@ -155,7 +147,7 @@ the PXE UEFI environment.
sudo cp /boot/efi/EFI/fedora/shim.efi /tftpboot/bootx64.efi sudo cp /boot/efi/EFI/fedora/shim.efi /tftpboot/bootx64.efi
sudo cp /boot/efi/EFI/fedora/grubx64.efi /tftpboot/grubx64.efi sudo cp /boot/efi/EFI/fedora/grubx64.efi /tftpboot/grubx64.efi
RHEL7/CentOS7:: RHEL8/CentOS8::
sudo cp /boot/efi/EFI/centos/shim.efi /tftpboot/bootx64.efi sudo cp /boot/efi/EFI/centos/shim.efi /tftpboot/bootx64.efi
sudo cp /boot/efi/EFI/centos/grubx64.efi /tftpboot/grubx64.efi sudo cp /boot/efi/EFI/centos/grubx64.efi /tftpboot/grubx64.efi
@ -175,7 +167,7 @@ the PXE UEFI environment.
GRUB_DIR=/tftpboot/EFI/fedora GRUB_DIR=/tftpboot/EFI/fedora
RHEL7/CentOS7: Create grub.cfg under ``/tftpboot/EFI/centos`` directory:: RHEL8/CentOS8: Create grub.cfg under ``/tftpboot/EFI/centos`` directory::
GRUB_DIR=/tftpboot/EFI/centos GRUB_DIR=/tftpboot/EFI/centos
@ -222,11 +214,7 @@ mode, perform these additional steps on the ironic conductor node.
sudo apt-get install syslinux-common pxelinux sudo apt-get install syslinux-common pxelinux
RHEL7/CentOS7:: RHEL8/CentOS8/Fedora::
sudo yum install syslinux-tftpboot
Fedora::
sudo dnf install syslinux-tftpboot sudo dnf install syslinux-tftpboot
@ -240,7 +228,7 @@ mode, perform these additional steps on the ironic conductor node.
sudo cp /usr/lib/PXELINUX/pxelinux.0 /tftpboot sudo cp /usr/lib/PXELINUX/pxelinux.0 /tftpboot
RHEL7/CentOS7/SUSE:: RHEL8/CentOS8/SUSE::
sudo cp /usr/share/syslinux/pxelinux.0 /tftpboot sudo cp /usr/share/syslinux/pxelinux.0 /tftpboot
@ -255,7 +243,7 @@ mode, perform these additional steps on the ironic conductor node.
sudo cp /boot/extlinux/chain.c32 /tftpboot sudo cp /boot/extlinux/chain.c32 /tftpboot
RHEL7/CentOS7/SUSE:: RHEL8/CentOS8/SUSE::
sudo cp /usr/share/syslinux/chain.c32 /tftpboot/ sudo cp /usr/share/syslinux/chain.c32 /tftpboot/
@ -340,11 +328,7 @@ on the Bare Metal service node(s) where ``ironic-conductor`` is running.
apt-get install ipxe apt-get install ipxe
RHEL7/CentOS7:: RHEL8/CentOS8/Fedora::
yum install ipxe-bootimgs
Fedora::
dnf install ipxe-bootimgs dnf install ipxe-bootimgs
@ -362,7 +346,7 @@ on the Bare Metal service node(s) where ``ironic-conductor`` is running.
cp /usr/lib/ipxe/{undionly.kpxe,ipxe.efi,snponly.efi} /tftpboot cp /usr/lib/ipxe/{undionly.kpxe,ipxe.efi,snponly.efi} /tftpboot
Fedora/RHEL7/CentOS7:: Fedora/RHEL8/CentOS8::
cp /usr/share/ipxe/{undionly.kpxe,ipxe.efi,snponly.efi} /tftpboot cp /usr/share/ipxe/{undionly.kpxe,ipxe.efi,snponly.efi} /tftpboot
@ -455,7 +439,7 @@ on the Bare Metal service node(s) where ``ironic-conductor`` is running.
#. Restart the ``ironic-conductor`` process: #. Restart the ``ironic-conductor`` process:
Fedora/RHEL7/CentOS7/SUSE:: Fedora/RHEL8/CentOS8/SUSE::
sudo systemctl restart openstack-ironic-conductor sudo systemctl restart openstack-ironic-conductor

View File

@ -139,7 +139,7 @@ provisioning will happen in a multi-tenant environment (which means using the
#. Restart the ironic-conductor and ironic-api services after the #. Restart the ironic-conductor and ironic-api services after the
modifications: modifications:
- Fedora/RHEL7/CentOS7:: - Fedora/RHEL8/CentOS8::
sudo systemctl restart openstack-ironic-api sudo systemctl restart openstack-ironic-api
sudo systemctl restart openstack-ironic-conductor sudo systemctl restart openstack-ironic-conductor

View File

@ -34,7 +34,7 @@ It can be enabled by making the following changes to ``/etc/glance/glance-api.co
#. Restart the glance-api service:: #. Restart the glance-api service::
Fedora/RHEL7/CentOS7/SUSE: Fedora/RHEL8/CentOS8/SUSE:
sudo systemctl restart openstack-glance-api sudo systemctl restart openstack-glance-api
Debian/Ubuntu: Debian/Ubuntu:
@ -86,7 +86,7 @@ To enable secure HTTPS communication between Bare Metal service and Image servic
#. Restart ironic-conductor service:: #. Restart ironic-conductor service::
Fedora/RHEL7/CentOS7/SUSE: Fedora/RHEL8/CentOS8/SUSE:
sudo systemctl restart openstack-ironic-conductor sudo systemctl restart openstack-ironic-conductor
Debian/Ubuntu: Debian/Ubuntu:

View File

@ -6,11 +6,7 @@ Bare Metal service comes with an example file for configuring the
#. Install the apache service: #. Install the apache service:
RHEL7/CentOS7:: Fedora/RHEL8/CentOS8::
sudo yum install httpd
Fedora::
sudo dnf install httpd sudo dnf install httpd
@ -27,7 +23,7 @@ Bare Metal service comes with an example file for configuring the
`Ironic project tree <https://opendev.org/openstack/ironic/raw/branch/master/etc/apache2/ironic>`_ `Ironic project tree <https://opendev.org/openstack/ironic/raw/branch/master/etc/apache2/ironic>`_
and copy it to the apache sites: and copy it to the apache sites:
Fedora/RHEL7/CentOS7:: Fedora/RHEL8/CentOS8::
sudo cp etc/apache2/ironic /etc/httpd/conf.d/ironic.conf sudo cp etc/apache2/ironic /etc/httpd/conf.d/ironic.conf
@ -58,7 +54,7 @@ Bare Metal service comes with an example file for configuring the
#. Enable the apache ``ironic`` in site and reload: #. Enable the apache ``ironic`` in site and reload:
Fedora/RHEL7/CentOS7:: Fedora/RHEL8/CentOS8::
sudo systemctl reload httpd sudo systemctl reload httpd

View File

@ -120,7 +120,7 @@ Configuring ironic-api service
#. Restart the ironic-api service: #. Restart the ironic-api service:
Fedora/RHEL7/CentOS7/SUSE:: Fedora/RHEL8/CentOS8/SUSE::
sudo systemctl restart openstack-ironic-api sudo systemctl restart openstack-ironic-api

View File

@ -21,7 +21,7 @@ Install and configure components
.. code-block:: console .. code-block:: console
# zypper install openstack-ironic-api openstack-ironic-conductor python-ironicclient # zypper install openstack-ironic-api openstack-ironic-conductor python3-ironicclient
#. Enable services #. Enable services

View File

@ -6,26 +6,18 @@ Install and configure for Red Hat Enterprise Linux and CentOS
This section describes how to install and configure the Bare Metal service This section describes how to install and configure the Bare Metal service
for Red Hat Enterprise Linux 7 and CentOS 7. for Red Hat Enterprise Linux 8 and CentOS 8.
.. include:: include/common-prerequisites.inc .. include:: include/common-prerequisites.inc
Install and configure components Install and configure components
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#. Install from packages #. Install from packages (using dnf)
- Using ``dnf``
.. code-block:: console .. code-block:: console
# dnf install openstack-ironic-api openstack-ironic-conductor python-ironicclient # dnf install openstack-ironic-api openstack-ironic-conductor python3-ironicclient
- Using ``yum``
.. code-block:: console
# yum install openstack-ironic-api openstack-ironic-conductor python-ironicclient
#. Enable services #. Enable services

View File

@ -16,7 +16,7 @@ Install and configure components
.. code-block:: console .. code-block:: console
# apt-get install ironic-api ironic-conductor python-ironicclient # apt-get install ironic-api ironic-conductor python3-ironicclient
#. Enable services #. Enable services