Skip to content

Update kvm.rst - iptables before rule necessary for Ubuntu 24.04 LTS #510

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions source/installguide/hypervisor/kvm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1541,18 +1541,18 @@ To open the required ports, execute the following commands:
$ ufw allow proto tcp from any to any port 49152:49216

.. note::
By default UFW is not enabled on Ubuntu. Executing these commands with the
firewall disabled does not enable the firewall.
Since Ubuntu 22.04 LTS, the UFW's default policy for forwarding is set to "DROP".
Change it to "ACCEPT".

If you have an issue with ufw while using a bridged connection,
add those two lines at the end of the /etc/ufw/before.rules just before COMMIT
.. parsed-literal::
sudo vi /etc/default/ufw

.. parsed-literal::
sudo vi /etc/ufw/before.rules
DEFAULT_FORWARD_POLICY="ACCEPT"

.. parsed-literal::
-A FORWARD -d 192.168.42.11 -j ACCEPT
-A FORWARD -s 192.168.42.11 -j ACCEPT
# as ufw is disabled by default but may be enabled on the system, this step is optional.
sudo ufw enable


Additional Packages Required for Features
Expand Down
18 changes: 9 additions & 9 deletions source/installguide/management-server/_database.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,20 +64,20 @@ MySQL. See :ref:`install-database-on-separate-node`.
innodb_rollback_on_timeout=1
innodb_lock_wait_timeout=600
max_connections=350
log-bin=mysql-bin
binlog-format = 'ROW'
log_bin=mysql-bin
binlog_format=ROW

.. note::
For Ubuntu 16.04 and later, make sure you specify a ``server-id`` in your ``.cnf`` file for binary logging. Set the ``server-id`` according to your database setup.
For Ubuntu 16.04 and later, make sure you specify a ``server_id`` in your ``/etc/mysql/mysql.conf.d/mysqld.cnf`` file for binary logging. Set the ``server_id`` according to your database setup.

.. parsed-literal::

server-id=source-01
server_id=source-01
innodb_rollback_on_timeout=1
innodb_lock_wait_timeout=600
max_connections=350
log-bin=mysql-bin
binlog-format = 'ROW'
log_bin=mysql-bin
binlog_format=ROW

.. note::
You can also create a file ``/etc/mysql/conf.d/cloudstack.cnf``
Expand Down Expand Up @@ -328,9 +328,9 @@ same node for MySQL. See `“Install the Database on the Management Server Node
innodb_rollback_on_timeout=1
innodb_lock_wait_timeout=600
max_connections=700
log-bin=mysql-bin
binlog-format = 'ROW'
bind-address = 0.0.0.0
log_bin=mysql-bin
binlog_format=ROW
bind-address=0.0.0.0

#. Start or restart MySQL to put the new configuration into effect.

Expand Down
8 changes: 4 additions & 4 deletions source/installguide/management-server/_pkg_repo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,16 +90,16 @@ DEB package repository

You can add a DEB package repository to your apt sources with the
following commands. Replace the code name with your Ubuntu LTS version :
Ubuntu 16.04 (Xenial), Ubuntu 18.04 (Bionic) and Ubuntu 20.04 (Focal) .
Ubuntu 14.04 (Trusty) is no longer supported.
Ubuntu 18.04 (Bionic), Ubuntu 20.04 (Focal), Ubuntu 22.04 (Jammy), and Ubuntu 24.04 (Noble).
Ubuntu 12.04 (Precise), Ubuntu 14.04 (Trusty), and Ubuntu 16.04 (Xenial) are no longer supported.

Use your preferred editor and open (or create)
``/etc/apt/sources.list.d/cloudstack.list``. Add the community provided
repository to the file (replace "trusty" with "xenial" or "bionic" if it is the case):
repository to the file (replace "noble" with "jammy" or "focal" or "bionic" if it is the case):

.. parsed-literal::

deb https://download.cloudstack.org/ubuntu focal |version|
deb https://download.cloudstack.org/ubuntu noble |version|

We now have to add the public key to the trusted keys.

Expand Down
4 changes: 2 additions & 2 deletions source/quickinstallationguide/qig.rst
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,8 @@ section:
innodb_rollback_on_timeout=1
innodb_lock_wait_timeout=600
max_connections=350
log-bin=mysql-bin
binlog-format = 'ROW'
log_bin=mysql-bin
binlog_format=ROW


Now that MySQL is properly configured we can start it and configure it to
Expand Down