Re: [openstack-dev] nova image list | Error 401

2013-11-14 Thread Ben Nemec
On 2013-11-14 04:41, Santosh Kumar wrote: Hi Experts, I am following Havana guide for installation of three node set up. After installing all services of NOVA ( nova-api , nova-cert, nova-scheduler, nova-consoleauth, nova-novncproxy ), when I tires to verify All the things by # nova

Re: [openstack-dev] [nova] Do we have some guidelines for mock, stub, mox when writing unit test?

2013-11-12 Thread Ben Nemec
On 2013-11-12 15:27, Shawn Hartsock wrote: Good point. I assume someone made a comparison similar to this: * http://garybernhardt.github.io/python-mock-comparison/ ... and evangelized a choice. I had assumed that Mock vs mox was not merely based on Python3 support but had something to do with

Re: [openstack-dev] Fwd: [rally] Rally nova instances are not shown via console

2013-11-11 Thread Ben Nemec
On 2013-11-11 05:35, Anastasia Sklyankina wrote: Hello, team! I noticed that instances created by rally are displayed only on Horizon (in active state), but not in CLI. After test execution (for example, NovaServers.boot_server) there are 7 active instances on a dashboard but if I

Re: [openstack-dev] [openstack-tc] Proposal to recognize indirect contributions to our code base

2013-11-11 Thread Ben Nemec
On 2013-11-11 09:57, Mark McLoughlin wrote: Hi Nick, On Mon, 2013-11-11 at 15:20 +0100, Nicolas Barcet wrote: Dear TC members, Our companies are actively encouraging our respective customers to have the patches they mission us to make be contributed back upstream. In order to encourage

Re: [openstack-dev] [qa] Policy on spelling and grammar

2013-11-11 Thread Ben Nemec
On 2013-11-11 12:19, Clint Byrum wrote: Excerpts from David Kranz's message of 2013-11-11 09:58:59 -0800: I have seen a wide variety of -1'ing (and in many cases approving) patches for minor spelling or grammatical errors and think we need a policy about this. Given the large number of

Re: [openstack-dev] [qa] Policy on spelling and grammar

2013-11-11 Thread Ben Nemec
On 2013-11-11 12:21, Collins, Sean (Contractor) wrote: As long as the -1's include a correction that can be copied and pasted, I think they're OK. I know I would be grateful if someone were to proofread my work, if I had to document in a second-language. +1 to this as well. I figure that as

Re: [openstack-dev] [nova] changing old migrations is verboten

2013-11-01 Thread Ben Nemec
On 2013-11-01 06:28, Daniel P. Berrange wrote: On Fri, Nov 01, 2013 at 07:20:19AM -0400, Sean Dague wrote: On 11/01/2013 06:27 AM, John Garbutt wrote: On 31 October 2013 16:57, Johannes Erdfelt johan...@erdfelt.com wrote: On Thu, Oct 31, 2013, Sean Dague s...@dague.net wrote: So there is a

Re: [openstack-dev] When is it okay for submitters to say 'I don't want to add tests' ?

2013-10-31 Thread Ben Nemec
On 2013-10-31 09:05, Kyle Mestery (kmestery) wrote: On Oct 31, 2013, at 8:56 AM, Clint Byrum cl...@fewbar.com wrote: Excerpts from Mark McLoughlin's message of 2013-10-31 06:30:32 -0700: On Thu, 2013-10-31 at 15:37 +1300, Robert Collins wrote: This is a bit of a social norms thread I've

Re: [openstack-dev] Testing before sending for review

2013-10-23 Thread Ben Nemec
On 2013-10-23 04:29, Rosa, Andrea (HP Cloud Services) wrote: Hi 2. Before submitting the new patch for review it's better to run unit tests (tox -epy27) and pep8 check (tox -epep8) Instead of pep8 I think you should run flake8 we moved to that some months ago[1]. Usually I find always useful

Re: [openstack-dev] Building on Debian: Havana unit tests at build time report

2013-10-18 Thread Ben Nemec
On 2013-10-18 03:37, Thomas Goirand wrote: On 10/18/2013 02:06 AM, Clint Byrum wrote: A link to instructions on setting up a wheezy box for this testing would be helpful. Just install a minimal Wheezy machine, add my repositories (using the Jenkins one at *.pkgs.enovance.com), then do

Re: [openstack-dev] [oslo] i18n Message improvements

2013-10-16 Thread Ben Nemec
On 2013-10-16 12:24, John S Warren wrote: Just to clarify, the reason I believe it is important to lay out high-level design alternatives and their implications is because it will help in making decisions about how the Message class is to be changed. In other words, the requirements

Re: [openstack-dev] Hyper-V meeting Minutes

2013-10-15 Thread Ben Nemec
On 2013-10-15 17:02, Robert Collins wrote: On 16 October 2013 09:54, Vishvananda Ishaya vishvana...@gmail.com wrote: Hi Everyone, I've been following this conversation and weighing the different sides. This is a tricky issue but I think it is important to decouple further and extend our

Re: [openstack-dev] [novaclient]should administrator can see all servers of all tenants by default?

2013-10-14 Thread Ben Nemec
. http://paste.openstack.org/show/48359/ [1], I didn't see there is any explanation in the API doc or CLI helper, that we only use server-name as a non-admin role. 2013/10/14 Ben Nemec openst...@nemebean.com On 2013-10-14 04:29, Lingxian Kong wrote: Hi there: When I perform some

Re: [openstack-dev] [Oslo] Change ListOpt and DictOpt default values

2013-10-10 Thread Ben Nemec
On 2013-10-10 07:40, Flavio Percoco wrote: Greetings, I'd like to propose to change both ListOpt and DictOpt default values to [] and {} respectively. These values are, IMHO, saner defaults than None for this 2 options and behavior won't be altered - unles `is not None` is being used. Since I

Re: [openstack-dev] Change in openstack/nova[master]: Moved headroom calculations into quota_reserve and modified ...

2013-10-09 Thread Ben Nemec
9 15:14:21.976 | headroom = exc.kwargs['headroom'] 2013-10-09 15:14:21.976 | KeyError: 'headroom' On 9 October 2013 17:57, Ben Nemec (Code Review) rev...@openstack.org wrote: Ben Nemec has posted comments on this change. Change subject: Moved headroom calculations into quota_reserve a

Re: [openstack-dev] [TRIPLEO] tripleo-core update october

2013-10-08 Thread Ben Nemec
On 2013-10-08 05:03, Robert Collins wrote: On 8 October 2013 22:44, Martyn Taylor mtay...@redhat.com wrote: On 07/10/13 20:03, Robert Collins wrote: Whilst I can see that deciding on who is Core is a difficult task, I do feel that creating a competitive environment based on no. reviews

Re: [openstack-dev] Client and Policy

2013-09-20 Thread Ben Nemec
On 2013-09-20 03:16, Flavio Percoco wrote: On 19/09/13 17:10 -0400, Adam Young wrote: On 09/19/2013 04:30 PM, Mark McLoughlin wrote: To take the specific example of the policy API, if someone actively wanted to help the process of moving it into a standalone library should volunteer to help

Re: [openstack-dev] [Nova] Frustrations with review wait times

2013-08-29 Thread Ben Nemec
On 2013-08-29 00:28, Christopher Yeoh wrote: On Wed, 28 Aug 2013 09:58:48 -0400 Joe Gordon joe.gord...@gmail.com wrote: On a related note, I really like when the developer adds a gerrit comment saying why the revision, that makes my life as a reviewer easier. +1 - I try to remember to do

Re: [openstack-dev] [keystone] driver/pluggable base classes and ABCMeta

2013-08-22 Thread Ben Nemec
On 2013-08-22 00:22, Morgan Fainberg wrote: I've been doing some pondering on how Keystone handles the various pluggable systems with it's Manager / Driver architecture. Currently we implement the base driver class as follows: There is a driver object that has a number of reference functions

Re: [openstack-dev] Osl and dangerous code merging

2013-08-21 Thread Ben Nemec
On 2013-08-21 10:03, Julien Danjou wrote: On Wed, Aug 21 2013, Doug Hellmann wrote: IIUC, git sub-modules point to a specific revision of the external repository, right? Yes. So would projects still have to explicitly update to newer versions of the incubator code by changing that

Re: [openstack-dev] [Glance] Replacing Glance DB code to Oslo DB code.

2013-08-19 Thread Ben Nemec
On 08/19/13 20:34, Joshua Harlow wrote: Just a related question, Oslo 'incubator' db code I think depends on eventlet. This means any code that uses the oslo.db code could/would(?) be dependent on eventlet. Will there be some refactoring there to not require it (useful for projects

Re: [openstack-dev] Migrating to testr parallel in tempest

2013-08-16 Thread Ben Nemec
On 2013-08-14 16:10, Matthew Treinish wrote: On Wed, Aug 14, 2013 at 11:05:35AM -0500, Ben Nemec wrote: On 2013-08-13 16:39, Clark Boylan wrote: On Tue, Aug 13, 2013 at 1:25 PM, Matthew Treinish mtrein...@kortar.org wrote: Hi everyone, So for the past month or so I've been working on getting

Re: [openstack-dev] Proposal oslo.db lib

2013-08-16 Thread Ben Nemec
On 2013-08-16 11:58, Jay Pipes wrote: On 08/16/2013 09:52 AM, Boris Pavlovic wrote: Hi all, We (OpenStack contributors) done a really huge and great work around DB code in Grizzly and Havana to unify it, put all common parts into oslo-incubator, fix bugs, improve handling of sqla exceptions,

Re: [openstack-dev] Migrating to testr parallel in tempest

2013-08-14 Thread Ben Nemec
On 2013-08-13 16:39, Clark Boylan wrote: On Tue, Aug 13, 2013 at 1:25 PM, Matthew Treinish mtrein...@kortar.org wrote: Hi everyone, So for the past month or so I've been working on getting tempest to work stably with testr in parallel. As part of this you may have noticed the testr-full

Re: [openstack-dev] Swift, netifaces, PyPy, and cffi

2013-08-14 Thread Ben Nemec
On 2013-08-13 16:58, Alex Gaynor wrote: One of the issues that came up in this review however, is that cffi is not packaged in the most recent Ubuntu LTS (and likely other distributions), although it is available in raring, and in a PPA (http://packages.ubuntu.com/raring/python-cffi [2] nd 

Re: [openstack-dev] missing information about change-id in GerritWorkflow wiki?

2013-08-07 Thread Ben Nemec
The git review -s step earlier on the Gerrit_Workflow page is what I generally use to install the Change-Id commit hook. I added some additional notes on the wiki page to explain that. -Ben On 2013-08-07 07:44, Roman Gorodeckij wrote: Hi, I just completely messed up in here. Was reading a

Re: [openstack-dev] Discussing Amazon API compatibility [Nova][Swift]

2013-07-26 Thread Ben Nemec
On 2013-07-26 10:39, Jay Pipes wrote: On 07/26/2013 08:04 AM, Sean Dague wrote: On 07/25/2013 08:30 PM, Joshua Harlow wrote: When you have so much state to maintain then aren't the APIs incorrect?? Yes, the EC2 APIs are incorrect in being silly and using ints for ids for so many things, also

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

Re: [openstack-dev] Discussing Amazon API compatibility [Nova][Swift]

2013-07-26 Thread Ben Nemec
On 2013-07-26 12:38, Russell Bryant wrote: On 07/26/2013 11:53 AM, Ben Nemec wrote: On 2013-07-26 10:39, Jay Pipes wrote: On 07/26/2013 08:04 AM, Sean Dague wrote: On 07/25/2013 08:30 PM, Joshua Harlow wrote: When you have so much state to maintain then aren't the APIs incorrect?? Yes

[openstack-dev] Fix for bug in @synchronized decorator coming

2013-07-18 Thread Ben Nemec
Hi all, During the review of https://review.openstack.org/#/c/36350/ Flavio mentioned that I should send something to the ml to notify people of the coming change in behavior, so here it is. The short version is that right now if you use external locking without specifying a lock_path in

Re: [openstack-dev] Email is not registered problem

2013-07-02 Thread Ben Nemec
On 2013-07-01 18:29, Qing He wrote: The emails from this list stopped coming to my email address, is this related? I don't see how it could be. To my knowledge there's no connection between Gerrit and openstack-dev. I actually use different addresses for both. -Ben

Re: [openstack-dev] Work around DB in OpenStack (Oslo, Nova, Cinder, Glance)

2013-07-02 Thread Ben Nemec
One small addition I would suggest is a step to remove the unused sqlalchemy-migrate code once this is all done. That's my main concern with moving it to Oslo right now. Also, is this a formal blueprint(s)? Seems like it should be. -Ben On 2013-07-02 12:50, Boris Pavlovic wrote:

Re: [openstack-dev] Nova list with all-tenants flag

2013-06-17 Thread Ben Nemec
Is there ever a situation where you would use tenant_id and not want all_tenants=1? If there is then I can maybe see leaving it, but if tenant_id implies all_tenants=1 then IMHO it's rather poor to force the user to remember to set it. To be honest, as someone fairly new to OpenStack I found

<    3   4   5   6   7   8