Skip to content

Commit 707a225

Browse files
author
John L. Villalovos
committed
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
1 parent 729ce79 commit 707a225

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

README.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -157,19 +157,19 @@ If you get a cryptic error like ``ERROR: 'public'`` then you may need to
157157
manually look up the IP address with ``nova list --name testserver`` and
158158
connect by running ``ssh root@<ip_address>`` instead.
159159

160-
Upgrade the server, install git and pip packages, add tox via pip
161-
(because the packaged version is too old), set up a "jenkins" account
162-
(add user "jenkins" to sudoers) and reboot to make sure you're running
163-
a current kernel::
160+
As the root user, upgrade the server, install git and pip packages, add tox via
161+
pip (because the packaged version is too old), set up a "jenkins" account (add
162+
user "jenkins" to sudoers) and reboot to make sure you're running a current
163+
kernel::
164164

165165
apt-get install -y git \
166166
&& git clone https://git.openstack.org/openstack-infra/system-config \
167167
&& system-config/install_puppet.sh && system-config/install_modules.sh \
168168
&& puppet apply \
169169
--modulepath=/root/system-config/modules:/etc/puppet/modules \
170170
-e "class { openstack_project::single_use_slave: install_users => false,
171-
ssh_key => \"$( cat .ssh/id_rsa.pub | awk '{print $2}' )\" }" \
172-
&& echo "jenkins ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers \
171+
enable_unbound => true, ssh_key => \"$( cat .ssh/id_rsa.pub | awk '{print $2}' )\" }" \
172+
&& echo "jenkins ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/jenkins \
173173
&& reboot
174174

175175
Wait a few moments for the reboot to complete, then log back in with

0 commit comments

Comments
 (0)