diff --git a/deploy-guide/source/deployment/standalone.rst b/deploy-guide/source/deployment/standalone.rst index 80279c8a..6cb1542e 100644 --- a/deploy-guide/source/deployment/standalone.rst +++ b/deploy-guide/source/deployment/standalone.rst @@ -3,10 +3,6 @@ Standalone Containers based Deployment ====================================== -.. warning:: - Standalone deployments are currently only supported in Rocky or newer - versions. - This documentation explains how the underlying framework used by the Containerized Undercloud deployment mechanism can be reused to deploy a single node capable of running OpenStack services for development. Optional @@ -38,30 +34,11 @@ Deploying a Standalone OpenStack node #. Enable needed repositories: - .. note:: - The Ussuri version of TripleO utilizes Python3 and requires the OS - to be RHEL 8 or CentOS 8. It is also recommended that Train be installed - on RHEL 8 or CentOS 8. - - .. admonition:: RHEL - :class: rhel - - Enable optional repo for RHEL 7:: - - sudo yum install -y yum-utils - sudo yum-config-manager --enable rhelosp-rhel-7-server-opt - .. include:: ../repositories.rst -#. Install the TripleO CLI, which will pull in all other necessary packages as dependencies. +#. Install the TripleO CLI, which will pull in all other necessary packages as dependencies:: - For Python3:: - - sudo yum install -y python3-tripleoclient - - For Python2.7:: - - sudo yum install -y python-tripleoclient + sudo dnf install -y python3-tripleoclient .. admonition:: Ceph :class: ceph @@ -70,13 +47,7 @@ Deploying a Standalone OpenStack node .. code-block:: bash - sudo yum install -y util-linux lvm2 cephadm - - .. admonition:: Victoria or earlier - - .. code-block:: bash - - sudo yum install -y util-linux lvm2 ceph-ansible + sudo dnf install -y util-linux lvm2 cephadm #. Generate a file with the default ContainerImagePrepare value:: @@ -98,8 +69,7 @@ Deploying a Standalone OpenStack node sudo losetup /dev/loop3 /var/lib/ceph-osd.img sudo pvcreate /dev/loop3 sudo vgcreate vg2 /dev/loop3 - sudo lvcreate -n data-lv2 -l 597 vg2 - sudo lvcreate -n db-lv2 -l 1194 vg2 + sudo lvcreate -n data-lv2 -l 1791 vg2 Create a systemd service that restores the device on startup. @@ -284,26 +254,6 @@ Deploying a Standalone OpenStack node CephPoolDefaultSize: 1 EOF - .. admonition:: Victoria or earlier - - .. code-block:: bash - - cat < $HOME/ceph_parameters.yaml - parameter_defaults: - CephAnsibleDisksConfig: - osd_scenario: lvm - osd_objectstore: bluestore - lvm_volumes: - - data: data-lv2 - data_vg: vg2 - db: db-lv2 - db_vg: vg2 - CephAnsibleExtraConfig: - cluster_network: 192.168.24.0/24 - public_network: 192.168.24.0/24 - CephPoolDefaultPgNum: 8 - CephPoolDefaultSize: 1 - EOF #. Run the deploy command: @@ -340,22 +290,6 @@ Deploying a Standalone OpenStack node --output-dir $HOME \ --standalone - .. admonition:: Victoria or earlier - - .. code-block:: bash - - sudo openstack tripleo deploy \ - --templates \ - --local-ip=$IP/$NETMASK \ - --control-virtual-ip $VIP \ - -e /usr/share/openstack-tripleo-heat-templates/environments/standalone/standalone-tripleo.yaml \ - -e /usr/share/openstack-tripleo-heat-templates/environments/ceph-ansible/ceph-ansible.yaml \ - -r /usr/share/openstack-tripleo-heat-templates/roles/Standalone.yaml \ - -e $HOME/containers-prepare-parameters.yaml \ - -e $HOME/standalone_parameters.yaml \ - -e $HOME/ceph_parameters.yaml \ - --output-dir $HOME \ - --standalone #. Check the deployed OpenStack Services @@ -399,6 +333,7 @@ Deploying a Standalone OpenStack node rm -rf ~/.config/openstack sudo systemctl daemon-reload + Manual deployments with ansible ------------------------------- @@ -974,7 +909,7 @@ Deploy the second node with the following: --local-ip=$IP/$NETMASK \ -r /usr/share/openstack-tripleo-heat-templates/roles/Standalone.yaml \ -e /usr/share/openstack-tripleo-heat-templates/environments/standalone/standalone-tripleo.yaml \ - -e /usr/share/openstack-tripleo-heat-templates/environments/ceph-ansible/ceph-ansible.yaml \ + -e /usr/share/openstack-tripleo-heat-templates/environments/cephadm/cephadm-rbd-only.yaml \ -e $HOME/containers-prepare-parameters.yaml \ -e $HOME/standalone_parameters.yaml \ -e $HOME/ceph_parameters.yaml \ diff --git a/deploy-guide/source/repositories.rst b/deploy-guide/source/repositories.rst index a6ad9804..bb193828 100644 --- a/deploy-guide/source/repositories.rst +++ b/deploy-guide/source/repositories.rst @@ -1,13 +1,13 @@ .. This should be changed to something more user-friendly like http://tripleo.org/tripleo-repos.rpm .. note:: - Python3 is required for Ussuri and newer releases of OpenStack which is supported on RHEL 8 - and CentOS 8. Train is also recommended to be installed on RHEL 8 or CentOS 8. + Python3 is required for current releases of OpenStack which is + supported on CentOS Stream 8. #. Download and install the python-tripleo-repos RPM from the appropriate RDO repository - .. admonition:: CentOS 8 and CentOS Strem 8 + .. admonition:: CentOS Strem 8 :class: centos8 Current `Centos 8 RDO repository `_. @@ -23,89 +23,6 @@ call. As an example, the correct way to install the current and ceph repos is to run ``tripleo-repos current ceph``, not two separate calls. - .. admonition:: Stable Branch - :class: stable - - Enable the appropriate repos for the desired release, as indicated below. - Do not enable any other repos not explicitly marked for that release. - - .. admonition:: Wallaby - :class: wallaby vtow - - Enable the current Wallaby repositories - - .. code-block:: bash - - sudo -E tripleo-repos -b wallaby current - - .. admonition:: Ceph - :class: ceph - - Include the Ceph repo in the tripleo-repos call - - .. code-block:: bash - - sudo -E tripleo-repos -b wallaby current ceph - - .. admonition:: Victoria - :class: victoria utov - - Enable the current Victoria repositories - - .. code-block:: bash - - sudo -E tripleo-repos -b victoria current - - .. admonition:: Ceph - :class: ceph - - Include the Ceph repo in the tripleo-repos call - - .. code-block:: bash - - sudo -E tripleo-repos -b victoria current ceph - - .. admonition:: Ussuri - :class: ussuri ttou - - Enable the current Ussuri repositories - - .. code-block:: bash - - sudo -E tripleo-repos -b ussuri current - - .. admonition:: Ceph - :class: ceph - - Include the Ceph repo in the tripleo-repos call - - .. code-block:: bash - - sudo -E tripleo-repos -b ussuri current ceph - - .. admonition:: Train - :class: train stot - - Enable the current Train repositories - - .. code-block:: bash - - sudo -E tripleo-repos -b train current - - .. admonition:: Ceph - :class: ceph - - Include the Ceph repo in the tripleo-repos call - - .. code-block:: bash - - sudo -E tripleo-repos -b train current ceph - -.. warning:: - - The remaining repositories configuration steps below should not be done for - stable releases! - 2. Run tripleo-repos to install the appropriate repositories. The option below will enable the latest master TripleO packages, the latest promoted packages for all other OpenStack services and dependencies and the latest