<div dir="ltr">I'm following this as well since I have the exact same problem in a docstring patch for heat.<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Aug 24, 2014 at 9:30 AM, Mike Spreitzer <span dir="ltr"><<a href="mailto:mspreitz@us.ibm.com" target="_blank">mspreitz@us.ibm.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font face="sans-serif">The differences do not look to me like
ones that would follow from a difference in hash seed.</font>
<br>
<br><tt><font>Clint Byrum <<a href="mailto:clint@fewbar.com" target="_blank">clint@fewbar.com</a>> wrote on 08/24/2014
05:00:21 AM:<br>
<br>
> From: Clint Byrum <<a href="mailto:clint@fewbar.com" target="_blank">clint@fewbar.com</a>></font></tt>
<br><tt><font>> To: openstack-dev <<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>>,
</font></tt>
<br><tt><font>> Date: 08/24/2014 05:02 AM</font></tt>
<br><tt><font>> Subject: Re: [openstack-dev] [heat] "heat.conf.sample
is not up to date"</font></tt>
<br><div class="HOEnZb"><div class="h5"><tt><font>> <br>
> Guessing this is due to the new tox feature which randomizes python's<br>
> hash seed.<br>
> <br>
> Excerpts from Mike Spreitzer's message of 2014-08-24 00:10:42 -0700:<br>
> > What is going on with this?  If I do a fresh clone of heat
and run `tox <br>
> > -epep8` then I get that complaint.  If I then run the recommended
command <br>
> > to fix it, and then `tox -epep8` again, I get the same complaint
again --- <br>
> > and with different differences exhibited!  The email below
carries a <br>
> > typescript showing this.<br>
> > <br>
> > What I really need to know is what to do when committing a change
that <br>
> > really does require a change in the sample configuration file.
 Of course <br>
> > I tried running generate_sample.sh, but `tox -epep8` still complains.
What <br>
> > is the right procedure to get a correct sample committed?  BTW,
I am doing <br>
> > the following admittedly risky thing: I run DevStack, and make
my changes <br>
> > in /opt/stack/heat/.<br>
> > <br>
> > Thanks,<br>
> > Mike<br>
> > <br>
> > ----- Forwarded by Mike Spreitzer/Watson/IBM on 08/24/2014 03:03
AM -----<br>
> > <br>
> > From:   ubuntu@mjs-dstk-821a (Ubuntu)<br>
> > To:     Mike Spreitzer/Watson/IBM@IBMUS, <br>
> > Date:   08/24/2014 02:55 AM<br>
> > Subject:        fresh flake fail<br>
> > <br>
> > <br>
> > <br>
> > ubuntu@mjs-dstk-821a:~/code$ git clone <br>
> > git://<a href="http://git.openstack.org/openstack/heat.git" target="_blank">git.openstack.org/openstack/heat.git</a><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,
<br>
> > -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
<br>
> > bin/heat-api-cloudwatch bin/heat-engine bin/heat-manage contrib<br>
> > pep8 runtests: commands[1] | <br>
> > /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>
> >  <br>
> > <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 <br>
> > /home/ubuntu/code/heat/tools/config/generate_sample.sh.<br>
> > ERROR: InvocationError: <br>
> > '/home/ubuntu/code/heat/tools/config/check_uptodate.sh'<br>
> > pep8 runtests: commands[2] | <br>
> > /home/ubuntu/code/heat/tools/requirements_style_check.sh requirements.txt
<br>
> > test-requirements.txt<br>
> > pep8 runtests: commands[3] | bash -c find heat -type f -regex
'.*\.pot?' <br>
> > -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null<br>
> > ___________________________________ summary <br>
> > ____________________________________<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
<br>
> > bin/heat-api-cloudwatch bin/heat-engine bin/heat-manage contrib<br>
> > pep8 runtests: commands[1] | <br>
> > /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>
> > -<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 <br>
> > /home/ubuntu/code/heat/tools/config/generate_sample.sh.<br>
> > ERROR: InvocationError: <br>
> > '/home/ubuntu/code/heat/tools/config/check_uptodate.sh'<br>
> > pep8 runtests: commands[2] | <br>
> > /home/ubuntu/code/heat/tools/requirements_style_check.sh requirements.txt
<br>
> > test-requirements.txt<br>
> > pep8 runtests: commands[3] | bash -c find heat -type f -regex
'.*\.pot?' <br>
> > -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null<br>
> > ___________________________________ summary <br>
> <br>
> _______________________________________________<br>
</font></tt>
<br></div></div><br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div></div>