[openstack-dev] [nova] generate_sample.sh

2013-07-26 Thread Gary Kotton
Hi,
Over the last few days I have been battling with this script (I am only human). 
Recently there was a nice change that removed the number of entries which helps 
with the merges. One thing that I have encountered over the last 2 days is that 
the pep8 passes with my environment and fails with the gaiting. Would it be 
possible that Jenkins updates the nova.sample.conf in a similar fashion to the 
way that is done with the translations?
Thanks
Gary
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [nova] generate_sample.sh

2013-07-26 Thread Haomai Wang
2013-7-26,3:11 pm,Tian, Shuangtai shuangtai.t...@intel.com Wrote:

 Recently,generate_sample.sh had been changed . look the help.
 For example, try run ./tools/config/generate_sample.sh -b ./ -p nova -o 
 ./etc/nova and commit the changes in nova.conf.sample
I don't know why I can't run command as expected see below.

$ ./tools/config/generate_sample.sh -b ./ -p nova -o ./etc/nova
generate_sample.sh: missing project base directory
Try `generate_sample.sh --help' for more information.

  
 From: Haomai Wang [mailto:hao...@unitedstack.com] 
 Sent: Friday, July 26, 2013 2:50 PM
 To: OpenStack Development Mailing List
 Subject: Re: [openstack-dev] [nova] generate_sample.sh
  
  
  
 2013-7-26,1:58 pm,Gary Kotton gkot...@vmware.com Wrote:
 
 
 Hi,
 Over the last few days I have been battling with this script (I am only 
 human). Recently there was a nice change that removed the number of entries 
 which helps with the merges. One thing that I have encountered over the last 
 2 days is that the pep8 passes with my environment and fails with the 
 gaiting. Would it be possible that Jenkins updates the nova.sample.conf in a 
 similar fashion to the way that is done with the translations?
 +1, I encountered the same problem and I think the task running 
 gererate_sample.sh should be given to Jenkins
 
 
 Thanks
 Gary
 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
  
 Best regards,
 Haomai Wang, UnitedStack Inc.
 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Best regards,
Haomai Wang, UnitedStack Inc.

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [nova] generate_sample.sh

2013-07-26 Thread Ben Nemec
Fix proposed for the hostname conflict issue: 
https://review.openstack.org/#/c/38837/


-Ben

On 2013-07-26 10:14, Ben Nemec wrote:

Okay, I found my problem.  My dev vm's hostname is openstack, which
causes problems in _sanitize_defaults due to this:

elif s == socket.gethostname():
return 'nova'

I can just change my hostname to fix it, but I would expect that this
is going to come up on a regular basis (I can't be the only one using
openstack as a hostname) so it would be nice to come up with a
different solution.

-Ben

On 2013-07-26 09:46, Ben Nemec wrote:

This:

bnemec@openstack:/opt/stack/nova$ tools/config/generate_sample.sh -b .
-p nova -o etc/nova

Results in this for me:

-#control_exchange=openstack
+#control_exchange=nova

Which breaks Jenkins.  I was thinking I would try to take a look and
figure out why it wants to change that since I wasted a bunch of time
on it yesterday.

-Ben

On 2013-07-26 02:37, Tian, Shuangtai wrote:

Hi, I do not know why , Mybe the patch
https://review.openstack.org/#/c/38418/ [1] have someone else to
approve ,

You can try this ./tools/config/generate_sample.sh -b /opt/stack/nova
-o ./etc/nova ,that’s ok to me.

FROM: Haomai Wang [mailto:hao...@unitedstack.com]
 SENT: Friday, July 26, 2013 3:18 PM
 TO: OpenStack Development Mailing List
 SUBJECT: Re: [openstack-dev] [nova] generate_sample.sh

2013-7-26,3:11 pm,Tian, Shuangtai shuangtai.t...@intel.com
Wrote:

Recently,generate_sample.sh had been changed . look the help.

For example, try run ./tools/config/generate_sample.sh -b ./ -p nova
-o ./etc/nova and commit the changes in nova.conf.sample

I don't know why I can't run command as expected see below.

$ ./tools/config/generate_sample.sh -b ./ -p nova -o ./etc/nova

generate_sample.sh: missing project base directory

Try `generate_sample.sh --help' for more information.

FROM: Haomai Wang [mailto:hao...@unitedstack.com [2]]
 SENT: Friday, July 26, 2013 2:50 PM
 TO: OpenStack Development Mailing List
 SUBJECT: Re: [openstack-dev] [nova] generate_sample.sh

2013-7-26,1:58 pm,Gary Kotton gkot...@vmware.com Wrote:

Hi,

Over the last few days I have been battling with this script (I am
only human). Recently there was a nice change that removed the number
of entries which helps with the merges. One thing that I have
encountered over the last 2 days is that the pep8 passes with my
environment and fails with the gaiting. Would it be possible that
Jenkins updates the nova.sample.conf in a similar fashion to the way
that is done with the translations?

+1, I encountered the same problem and I think the task running
gererate_sample.sh should be given to Jenkins

Thanks

Gary

___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev 
[3]



Best regards,

Haomai Wang, UnitedStack Inc.

___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev 
[3]



Best regards,

Haomai Wang, UnitedStack Inc.



Links:
--
[1] https://review.openstack.org/#/c/38418/
[2] http://unitedstack.com
[3] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [nova] generate_sample.sh

2013-07-21 Thread Zhongyue Luo
Some how the total option count changed in your patch to 614 when it should
be the same. How about re-runing generate_sample.sh.


On Sat, Jul 20, 2013 at 10:05 AM, Matt Riedemann mrie...@us.ibm.com wrote:

 Looks like it's complaining because you changed nova.conf.sample.  Based
 on the readme:

 *https://github.com/openstack/nova/tree/master/tools/conf*https://github.com/openstack/nova/tree/master/tools/conf

 Did you running ./tools/conf/analyze_opts.py?  I'm assuming you need to
 run the tools and if there are issues you have to resolve them before
 pushing up your changes.  I've personally never ran this though.



 Thanks,

 *MATT RIEDEMANN*
 Advisory Software Engineer
 Cloud Solutions and OpenStack Development
 --
  *Phone:* 1-507-253-7622 | *Mobile:* 1-507-990-1889*
 E-mail:* *mrie...@us.ibm.com* mrie...@us.ibm.com
 [image: IBM]

 3605 Hwy 52 N
 Rochester, MN 55901-1407
 United States





 From:Gary Kotton gkot...@vmware.com
 To:OpenStack Development Mailing List (
 openstack-dev@lists.openstack.org) openstack-dev@lists.openstack.org,
 Date:07/19/2013 07:03 PM
 Subject:[openstack-dev] [nova] generate_sample.sh
 --



 Hi,
 I have run into a problem with pep8 for *
 https://review.openstack.org/#/c/37539/*https://review.openstack.org/#/c/37539/.
 The issue is that have run the script in the subject and the pep8 fails.
 Any ideas?
 Thanks
 Gary___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




-- 
*Intel SSG/STOD/DCST/CIT*
880 Zixing Road, Zizhu Science Park, Minhang District, 200241, Shanghai,
China
+862161166500
image/gif___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [nova] generate_sample.sh

2013-07-19 Thread Gary Kotton
Hi,
I have run into a problem with pep8 for 
https://review.openstack.org/#/c/37539/. The issue is that have run the script 
in the subject and the pep8 fails.
Any ideas?
Thanks
Gary
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [nova] generate_sample.sh

2013-07-19 Thread Matt Riedemann
Looks like it's complaining because you changed nova.conf.sample.  Based 
on the readme:

https://github.com/openstack/nova/tree/master/tools/conf 

Did you running ./tools/conf/analyze_opts.py?  I'm assuming you need to 
run the tools and if there are issues you have to resolve them before 
pushing up your changes.  I've personally never ran this though.



Thanks,

MATT RIEDEMANN
Advisory Software Engineer
Cloud Solutions and OpenStack Development

Phone: 1-507-253-7622 | Mobile: 1-507-990-1889
E-mail: mrie...@us.ibm.com


3605 Hwy 52 N
Rochester, MN 55901-1407
United States




From:   Gary Kotton gkot...@vmware.com
To: OpenStack Development Mailing List 
(openstack-dev@lists.openstack.org) openstack-dev@lists.openstack.org, 
Date:   07/19/2013 07:03 PM
Subject:[openstack-dev] [nova] generate_sample.sh



Hi,
I have run into a problem with pep8 for 
https://review.openstack.org/#/c/37539/. The issue is that have run the 
script in the subject and the pep8 fails.
Any ideas?
Thanks
Gary___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

image/gif___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev