Merge "Sync NTP before Ansible bootstrap"

This commit is contained in:
Zuul 2021-09-28 18:14:24 +00:00 committed by Gerrit Code Review
commit 0271a73682
7 changed files with 30 additions and 0 deletions

View File

@ -183,6 +183,8 @@ Bootstrap system on controller-0
#. Run the Ansible bootstrap playbook:
.. include:: /shared/_includes/ntp-update-note.rest
::
ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap.yml

View File

@ -184,6 +184,8 @@ Bootstrap system on controller-0
#. Run the Ansible bootstrap playbook:
.. include:: /shared/_includes/ntp-update-note.rest
::
ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap.yml

View File

@ -181,6 +181,8 @@ Bootstrap system on controller-0
#. Run the Ansible bootstrap playbook:
.. include:: /shared/_includes/ntp-update-note.rest
::
ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap.yml

View File

@ -183,6 +183,8 @@ Bootstrap system on controller-0
#. Run the Ansible bootstrap playbook:
.. include:: /shared/_includes/ntp-update-note.rest
::
ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap.yml

View File

@ -184,6 +184,8 @@ Bootstrap system on controller-0
#. Run the Ansible bootstrap playbook:
.. include:: /shared/_includes/ntp-update-note.rest
::
ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap.yml

View File

@ -181,6 +181,8 @@ Bootstrap system on controller-0
#. Run the Ansible bootstrap playbook:
.. include:: /shared/_includes/ntp-update-note.rest
::
ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap.yml

View File

@ -0,0 +1,18 @@
.. note::
Before running the Ansible bootstrap playbook, it is important that you
ensure that controller-0 server time is synchronized correctly. Run the following
command:
.. code-block:: bash
# check the current server time
$ date
# if the current server time is not correct, update with NTP
# first add nameserver for DNS resolution
$ echo "nameserver 8.8.8.8" >> /etc/resolvconf
$ echo "nameserver 8.8.4.4" >> /etc/resolvconf
# run ntpdate
$ sudo ntpdate 0.pool.ntp.org 1.pool.ntp.org