<font size=2 face="sans-serif">What is going on with this?  If I
do a fresh clone of heat and run `tox -epep8` then I get that complaint.
 If I then run the recommended command to fix it, and then `tox -epep8`
again, I get the same complaint again --- and with different differences
exhibited!  The email below carries a typescript showing this.</font>
<br>
<br><font size=2 face="sans-serif">What I really need to know is what to
do when committing a change that really does require a change in the sample
configuration file.  Of course I tried running generate_sample.sh,
but `tox -epep8` still complains.  What is the right procedure to
get a correct sample committed?  BTW, I am doing the following admittedly
risky thing: I run DevStack, and make my changes in /opt/stack/heat/.</font>
<br>
<br><font size=2 face="sans-serif">Thanks,<br>
Mike</font>
<br>
<br><font size=1 color=#800080 face="sans-serif">----- Forwarded by Mike
Spreitzer/Watson/IBM on 08/24/2014 03:03 AM -----</font>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:      
 </font><font size=1 face="sans-serif">ubuntu@mjs-dstk-821a
(Ubuntu)</font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:      
 </font><font size=1 face="sans-serif">Mike Spreitzer/Watson/IBM@IBMUS,
</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:      
 </font><font size=1 face="sans-serif">08/24/2014 02:55 AM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:    
   </font><font size=1 face="sans-serif">fresh flake
fail</font>
<br>
<hr noshade>
<br>
<br>
<br><tt><font size=2>ubuntu@mjs-dstk-821a:~/code$ git clone git://git.openstack.org/openstack/heat.git<br>
Cloning into 'heat'...<br>
remote: Counting objects: 49690, done.<br>
remote: Compressing objects: 100% (19765/19765), done.<br>
remote: Total 49690 (delta 36660), reused 39014 (delta 26526)<br>
Receiving objects: 100% (49690/49690), 7.92 MiB | 7.29 MiB/s, done.<br>
Resolving deltas: 100% (36660/36660), done.<br>
Checking connectivity... done.<br>
ubuntu@mjs-dstk-821a:~/code$ cd heat<br>
ubuntu@mjs-dstk-821a:~/code/heat$ tox -epep8<br>
pep8 create: /home/ubuntu/code/heat/.tox/pep8<br>
pep8 installdeps: -r/home/ubuntu/code/heat/requirements.txt, -r/home/ubuntu/code/heat/test-requirements.txt<br>
pep8 develop-inst: /home/ubuntu/code/heat<br>
pep8 runtests: PYTHONHASHSEED='0'<br>
pep8 runtests: commands[0] | flake8 heat bin/heat-api bin/heat-api-cfn
bin/heat-api-cloudwatch bin/heat-engine bin/heat-manage contrib<br>
pep8 runtests: commands[1] | /home/ubuntu/code/heat/tools/config/check_uptodate.sh<br>
--- /tmp/heat.ep2CBe/heat.conf.sample2014-08-24 06:52:54.164849999 +0000<br>
+++ etc/heat/heat.conf.sample2014-08-24 06:48:13.664849999 +0000<br>
@@ -164,7 +164,7 @@<br>
 #allowed_rpc_exception_modules=oslo.messaging.exceptions,nova.exception,cinder.exception,exceptions<br>
 <br>
 # Qpid broker hostname. (string value)<br>
-#qpid_hostname=heat<br>
+#qpid_hostname=localhost<br>
 <br>
 # Qpid broker port. (integer value)<br>
 #qpid_port=5672<br>
@@ -221,7 +221,7 @@<br>
 <br>
 # The RabbitMQ broker address where a single node is used.<br>
 # (string value)<br>
-#rabbit_host=heat<br>
+#rabbit_host=localhost<br>
 <br>
 # The RabbitMQ broker port where a single node is used.<br>
 # (integer value)<br>
check_uptodate.sh: heat.conf.sample is not up to date.<br>
check_uptodate.sh: Please run /home/ubuntu/code/heat/tools/config/generate_sample.sh.<br>
ERROR: InvocationError: '/home/ubuntu/code/heat/tools/config/check_uptodate.sh'<br>
pep8 runtests: commands[2] | /home/ubuntu/code/heat/tools/requirements_style_check.sh
requirements.txt test-requirements.txt<br>
pep8 runtests: commands[3] | bash -c find heat -type f -regex '.*\.pot?'
-print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null<br>
___________________________________ summary ____________________________________<br>
ERROR:   pep8: commands failed<br>
ubuntu@mjs-dstk-821a:~/code/heat$ <br>
ubuntu@mjs-dstk-821a:~/code/heat$ <br>
ubuntu@mjs-dstk-821a:~/code/heat$ tools/config/generate_sample.sh<br>
ubuntu@mjs-dstk-821a:~/code/heat$ <br>
ubuntu@mjs-dstk-821a:~/code/heat$ <br>
ubuntu@mjs-dstk-821a:~/code/heat$ <br>
ubuntu@mjs-dstk-821a:~/code/heat$ tox -epep8<br>
pep8 develop-inst-noop: /home/ubuntu/code/heat<br>
pep8 runtests: PYTHONHASHSEED='0'<br>
pep8 runtests: commands[0] | flake8 heat bin/heat-api bin/heat-api-cfn
bin/heat-api-cloudwatch bin/heat-engine bin/heat-manage contrib<br>
pep8 runtests: commands[1] | /home/ubuntu/code/heat/tools/config/check_uptodate.sh<br>
--- /tmp/heat.DqIhK5/heat.conf.sample2014-08-24 06:54:34.628849999 +0000<br>
+++ etc/heat/heat.conf.sample2014-08-24 06:53:51.540849999 +0000<br>
@@ -159,10 +159,6 @@<br>
 # Size of RPC connection pool. (integer value)<br>
 #rpc_conn_pool_size=30<br>
 <br>
-# Modules of exceptions that are permitted to be recreated<br>
-# upon receiving exception data from an rpc call. (list value)<br>
-#allowed_rpc_exception_modules=oslo.messaging.exceptions,nova.exception,cinder.exception,exceptions<br>
-<br>
 # Qpid broker hostname. (string value)<br>
 #qpid_hostname=heat<br>
 <br>
@@ -301,15 +297,6 @@<br>
 # Heartbeat time-to-live. (integer value)<br>
 #matchmaker_heartbeat_ttl=600<br>
 <br>
-# Host to locate redis. (string value)<br>
-#host=127.0.0.1<br>
-<br>
-# Use this port to connect to redis host. (integer value)<br>
-#port=6379<br>
-<br>
-# Password for Redis server (optional). (string value)<br>
-#password=<None><br>
-<br>
 # Size of RPC greenthread pool. (integer value)<br>
 #rpc_thread_pool_size=64<br>
 <br>
@@ -1229,6 +1216,22 @@<br>
 #hash_algorithms=md5<br>
 <br>
 <br>
+[matchmaker_redis]<br>
+<br>
+#<br>
+# Options defined in oslo.messaging<br>
+#<br>
+<br>
+# Host to locate redis. (string value)<br>
+#host=127.0.0.1<br>
+<br>
+# Use this port to connect to redis host. (integer value)<br>
+#port=6379<br>
+<br>
+# Password for Redis server (optional). (string value)<br>
+#password=<None><br>
+<br>
+<br>
 [matchmaker_ring]<br>
 <br>
 #<br>
check_uptodate.sh: heat.conf.sample is not up to date.<br>
check_uptodate.sh: Please run /home/ubuntu/code/heat/tools/config/generate_sample.sh.<br>
ERROR: InvocationError: '/home/ubuntu/code/heat/tools/config/check_uptodate.sh'<br>
pep8 runtests: commands[2] | /home/ubuntu/code/heat/tools/requirements_style_check.sh
requirements.txt test-requirements.txt<br>
pep8 runtests: commands[3] | bash -c find heat -type f -regex '.*\.pot?'
-print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null<br>
___________________________________ summary ____________________________________<br>
ERROR:   pep8: commands failed<br>
ubuntu@mjs-dstk-821a:~/code/heat$ <br>
<br>
</font></tt>