Update README.rst on how users can reproduce gate issues
Update the info for when users are trying to reproduce gate issues. * Be clear that they should run the example command as the root user. * Update the example command to set enable_unbound to False, as it provides more compatibility. For example for users behind proxy servers. Any potential minimal loss in performance should be acceptable since this is typically a one-off type setup. * Update the example command to setup the sudoers change in /etc/sudoers.d/jenkins rather than the /etc/sudoers file. Change-Id: I143b5a6f59e34616b5d9548a07d62f6d16c74695
This commit is contained in:
parent
729ce79860
commit
707a22596d
12
README.rst
12
README.rst
|
@ -157,10 +157,10 @@ If you get a cryptic error like ``ERROR: 'public'`` then you may need to
|
|||
manually look up the IP address with ``nova list --name testserver`` and
|
||||
connect by running ``ssh root@<ip_address>`` instead.
|
||||
|
||||
Upgrade the server, install git and pip packages, add tox via pip
|
||||
(because the packaged version is too old), set up a "jenkins" account
|
||||
(add user "jenkins" to sudoers) and reboot to make sure you're running
|
||||
a current kernel::
|
||||
As the root user, upgrade the server, install git and pip packages, add tox via
|
||||
pip (because the packaged version is too old), set up a "jenkins" account (add
|
||||
user "jenkins" to sudoers) and reboot to make sure you're running a current
|
||||
kernel::
|
||||
|
||||
apt-get install -y git \
|
||||
&& git clone https://git.openstack.org/openstack-infra/system-config \
|
||||
|
@ -168,8 +168,8 @@ a current kernel::
|
|||
&& puppet apply \
|
||||
--modulepath=/root/system-config/modules:/etc/puppet/modules \
|
||||
-e "class { openstack_project::single_use_slave: install_users => false,
|
||||
ssh_key => \"$( cat .ssh/id_rsa.pub | awk '{print $2}' )\" }" \
|
||||
&& echo "jenkins ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers \
|
||||
enable_unbound => true, ssh_key => \"$( cat .ssh/id_rsa.pub | awk '{print $2}' )\" }" \
|
||||
&& echo "jenkins ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/jenkins \
|
||||
&& reboot
|
||||
|
||||
Wait a few moments for the reboot to complete, then log back in with
|
||||
|
|
Loading…
Reference in New Issue