Re: [openstack-dev] [devstack] Failure on installing openstack with latest devstack.

2016-01-17 Thread Nader Lahouti
Vikram, Removing the clouds.yaml did not help. It causes the following error: 8:48:28.810 | SCREEN_LOGDIR: 2016-01-17 08:48:28.810 | log: /opt/stack/logs/g-reg.log.2016-01-17-004213 2016-01-17 08:48:31.857 | Waiting for g-api (openstack-server:9292) to start... 2016-01-17 08:49:33.081 | Named

[openstack-dev] [devstack] Failure on installing openstack with latest devstack.

2016-01-16 Thread Nader Lahouti
Hi, I'm continuously seeing failure installing openstack with latest devstack. It exits with the following messages: == ramdisk=/home/localadmin/devstack/files/images/cirros-0.3.4-x86_64-uec/cirros-0.3.4-x86_64-initrd ++ for f in '"$xdir/"*.img' '"$xdir/"ami-*/image' ++ '[' -f

Re: [openstack-dev] [oslo_messaging] Regarding " WARNING [oslo_messaging.server] wait() should have been called after stop() as wait() ...

2015-11-05 Thread Nader Lahouti
it mean there has to be stop() and then wait() there as well? Thanks, Nader. On Thu, Nov 5, 2015 at 10:19 AM, gord chung <g...@live.ca> wrote: > > > On 05/11/2015 1:06 PM, Nader Lahouti wrote: > >> Hi Doug, >> >> I have an app that listens to noti

Re: [openstack-dev] [oslo_messaging] Regarding " WARNING [oslo_messaging.server] wait() should have been called after stop() as wait() ...

2015-11-05 Thread Nader Lahouti
Hi Doug, I have an app that listens to notifications and used the info provided in http://docs.openstack.org/developer/oslo.messaging/notification_listener.html Basically I create 1. NotificationEndpoints(object):

Re: [openstack-dev] [oslo_messaging] Regarding " WARNING [oslo_messaging.server] wait() should have been called after stop() as wait() ...

2015-11-05 Thread Nader Lahouti
, you shouldn't be calling either stop() or wait(), just start. > > > On 05/11/2015 2:07 PM, Nader Lahouti wrote: > > > Thanks for the pointer, I'll look into it. But one question, by calling > stop() and then wait(), does it mean the application has to call start() > again after the

[openstack-dev] [oslo_messaging] Regarding " WARNING [oslo_messaging.server] wait() should have been called after stop() as wait() ...

2015-11-04 Thread Nader Lahouti
Hi, I'm seeing the below warning message continuously: 2015-11-04 21:09:38 WARNING [oslo_messaging.server] wait() should have been called after stop() as wait() waits for existing messages to finish processing, it has been 692.98 seconds and stop() still has not been called How to avoid this

[openstack-dev] [oslo.messaging]

2015-09-01 Thread Nader Lahouti
Hi, I am considering to use oslo.messaging to read messages from a rabbit queue. The messages are put into the queue by an external process. In order to do that I need to specify routing_key in addition to other parameters (i.e. exchange and queue,... name) for accessing the queue. I was looking

[openstack-dev] [neutron][firewall] Updating spoofing rules when launching a VM

2015-02-19 Thread Nader Lahouti
Hi, I have been using openstack in multi-node setup - pre stable/juno release - and recently updated the setup to stable/juno and noticed after launching an instance, spoofing rules on all compute nodes are getting updated, whereas updating spoofing rules only on the compute node the instance is

Re: [openstack-dev] [Neutron] [Devstack] Devstack quantun-agent vlan error

2014-12-03 Thread Nader Lahouti
What do you have for tunnel_types in ml2_conf.ini? On Wed, Dec 3, 2014 at 12:31 PM, Daniel Nobusada daniel.nobus...@gmail.com wrote: Hi guys, I'm using Devstack with vlan on the parameter Q_ML2_TENANT_NETWORK_TYPE and while stacking, the quantun-agent (q-agt) breaks. I'm running it on an

Re: [openstack-dev] [keystone] Using 'admin_token' option as token to create keystone client.

2014-10-10 Thread Nader Lahouti
Thanks Lei. On Thu, Oct 9, 2014 at 6:52 PM, Lei Zhang zhang.lei@gmail.com wrote: Yes. That will be more safer. On Fri, Oct 10, 2014 at 12:00 AM, Nader Lahouti nader.laho...@gmail.com wrote: Thanks Lei for the reply and clarification. So, instead of that we can use the following

[openstack-dev] [keystone] Using 'admin_token' option as token to create keystone client.

2014-10-09 Thread Nader Lahouti
Hi, Is it acceptable to use 'admin_token' option from keystone.conf, when creating a keystone client? something like this: kc = client.Client(token=cfg.CONF.admin_token, endpoint='http://localhost:35357/v2.0/') Thanks, Nader.

Re: [openstack-dev] [keystone] Using 'admin_token' option as token to create keystone client.

2014-10-09 Thread Nader Lahouti
is changed. It is dangerous when the token leak. Suggest that the admin_token is only used for the initial of admin account. On Thu, Oct 9, 2014 at 2:29 PM, Nader Lahouti nader.laho...@gmail.com wrote: Hi, Is it acceptable to use 'admin_token' option from keystone.conf, when creating

Re: [openstack-dev] [nova][cinder] (OperationalError) (1040, 'Too many connections') None None

2014-09-29 Thread Nader Lahouti
, Nader Lahouti nader.laho...@gmail.com wrote: Hi All, I am seeing 'Too many connections' error in nova api and cinder when when installing openstack using the latest.. The error happens when launching couple of VMs (in this test around 5 VMs). Here are the logs when error happens: (1

Re: [openstack-dev] [nova][cinder] (OperationalError) (1040, 'Too many connections') None None

2014-09-29 Thread Nader Lahouti
Hi Jay, I login first and the recreated the problem and here is the log: http://paste.openstack.org/show/116776/ Thanks, Nader. On Mon, Sep 29, 2014 at 8:42 AM, Jay Pipes jaypi...@gmail.com wrote: On Sun, Sep 28, 2014 at 5:56 PM, Nader Lahouti nader.laho...@gmail.com wrote: Hi All, I am

Re: [openstack-dev] [nova][cinder] (OperationalError) (1040, 'Too many connections') None None

2014-09-29 Thread Nader Lahouti
On Mon, Sep 29, 2014 at 9:58 AM, Jay Pipes jaypi...@gmail.com wrote: On 09/29/2014 12:48 PM, Nader Lahouti wrote: Hi Jay, I login first and the recreated the problem and here is the log: http://paste.openstack.org/show/116776/ OK. Looks like there isn't anything wrong with your setup

Re: [openstack-dev] [nova][cinder] (OperationalError) (1040, 'Too many connections') None None

2014-09-29 Thread Nader Lahouti
Lahouti nader.laho...@gmail.com wrote: On Mon, Sep 29, 2014 at 9:58 AM, Jay Pipes jaypi...@gmail.com wrote: On 09/29/2014 12:48 PM, Nader Lahouti wrote: Hi Jay, I login first and the recreated the problem and here is the log: http://paste.openstack.org/show/116776/ OK. Looks like

Re: [openstack-dev] [nova][cinder] (OperationalError) (1040, 'Too many connections') None None

2014-09-29 Thread Nader Lahouti
01:34 PM, Nader Lahouti wrote: On Mon, Sep 29, 2014 at 9:58 AM, Jay Pipes jaypi...@gmail.com mailto:jaypi...@gmail.com wrote: On 09/29/2014 12:48 PM, Nader Lahouti wrote: Hi Jay, I login first and the recreated the problem and here is the log: http

[openstack-dev] [nova][cinder] (OperationalError) (1040, 'Too many connections') None None

2014-09-28 Thread Nader Lahouti
Hi All, I am seeing 'Too many connections' error in nova api and cinder when when installing openstack using the latest.. The error happens when launching couple of VMs (in this test around 5 VMs). Here are the logs when error happens: (1) nova-api logs/traceback:

Re: [openstack-dev] [Neutron] - what integration with Keystone is allowed?

2014-09-21 Thread Nader Lahouti
Thanks Kevin for bring it up in the ML, I was looking for a guideline or any document to clarify issues on this subject. I was told, even using keystone API in neutron is not permitted. Thanks, Nader. On Sun, Sep 21, 2014 at 12:58 PM, Kevin Benton blak...@gmail.com wrote: So based on those

[openstack-dev] [openstack][neutron][jenkins]Merge failure in jenkins : gate-tempest-dsvm-neutron-full and

2014-08-30 Thread Nader Lahouti
Hi, There are failure in jenkins that not related to the patch: https://review.openstack.org/#/c/89211/ The console log shows errors as below. Has anybody seen these error? Is it a known issue. Please advise what needs to be done? 2014-08-30 15:26:11.789

[openstack-dev] [neutron][VMware NSX CI] How to see the log for failure.

2014-08-26 Thread Nader Lahouti
Hi, The VMWare NSX CI is failing and I'm not able to get any failure log to find the reason of failure. The message that I get is this: VMware NSX CI has posted comments on this change. Patch Set 24: Verified-1 You might have hit the following known bug(s): bug #1271230 Add review

Re: [openstack-dev] [neutron][VMware NSX CI] How to see the log for failure.

2014-08-26 Thread Nader Lahouti
images. However, unfortunately some jobs did not complete properly, and therefore you had failures without logs being reported. The situation should be back to normal soon, and you should be able to do a recheck. Regards, Salvatore On 26 August 2014 20:44, Nader Lahouti nader.laho

[openstack-dev] [gerrit] Preparing a patch that has dependency to more than one code under review

2014-08-08 Thread Nader Lahouti
Hi, Is it possible to send a patch for review (i.e. A) on gerrit based on multiple commit under the review (i.e. B and C)? Based on the wiki page to add dependency these command should be used: A-B, A-C (no dependency between B and C) #fetch change under review and check out branch based on that

Re: [openstack-dev] [neutron] python-neutronclient, launchpad, and milestones

2014-07-29 Thread Nader Lahouti
Hi Kyle, I have a BP listed in https://blueprints.launchpad.net/python-neutronclient and looks like it is targeted for 3.0 (it is needed fro juno-3) The code is ready and in the review. Can it be a included for 2.3.7 release? Thanks, Nader. On Tue, Jul 29, 2014 at 12:28 PM, Kyle Mestery

[openstack-dev] [devstack]

2014-07-09 Thread Nader Lahouti
Hi All, I need to add support for a mechanism driver in the devstack. Base on the info in the http://devstack.org/faq.html - need to go through the same process as openstack project. What needs to be done after filing a blueprint in launchpad for the approval? Thanks, Nader.

[openstack-dev] [neutron][oslo.messaging]

2014-07-03 Thread Nader Lahouti
Hi All and Ihar, As part of blueprint oslo-messaging the neutron/openstack/common/rpc tree is removed. I was using impl_kombu module to process notification from keystone with this following code sample: ... from neutron.openstack.common.rpc import impl_kombu try: conf =

Re: [openstack-dev] [neutron][oslo.messaging]

2014-07-03 Thread Nader Lahouti
, and shouldn't be used directly. Use the public, documented, API instead to ensure that future changes to the internal implementation details of oslo.messaging do not break your code. Doug Regards, Alexei Kornienko On 07/03/2014 08:47 PM, Nader Lahouti wrote: Hi All and Ihar, As part

Re: [openstack-dev] [Horizon] How to conditionally modify attributes in CreateNetwork class.

2014-06-04 Thread Nader Lahouti
need) and then decorate them with @property. On Fri, May 30, 2014 at 10:15 AM, Nader Lahouti nader.laho...@gmail.com wrote: Hi All, Currently in the horizon/openstack_dashboard/dashboards/project/networks/workflows.py in classes such as CreateNetwork, CreateNetworkInfo

[openstack-dev] [Horizon] How to conditionally modify attributes in CreateNetwork class.

2014-05-30 Thread Nader Lahouti
Hi All, Currently in the horizon/openstack_dashboard/dashboards/project/networks/workflows.py in classes such as CreateNetwork, CreateNetworkInfo and CreateSubnetInfo, the contributes or default_steps as shown below are fixed. Is it possible to add entries to those attributes conditionally? 156

Re: [openstack-dev] [neutron] BPs for Juno-1

2014-05-28 Thread Nader Lahouti
Hi Edgar, Thanks for the reply. I do have separate BP for the neutronclient ( https://blueprints.launchpad.net/python-neutronclient/+spec/python-neutronclient-for-cisco-dfa) but I didn't file any spec for it in neutron-specs as I thought it is different. I don't know if the existing BP is enough

Re: [openstack-dev] [neutron] BPs for Juno-1

2014-05-27 Thread Nader Lahouti
Hi Kyle, ... But I just wanted to highlight that I removed a large number of BPs from targeting Juno-1 now which did not have specifications linked to them... Will those BP be reviewed after updating the link to the specification? Thanks, Nader. On Tue, May 27, 2014 at 7:14 AM, Kyle

Re: [openstack-dev] [neutron] BPs for Juno-1

2014-05-27 Thread Nader Lahouti
Thanks Kyle. One more question: I have a BP for changes in python-neutronclient. Do I need to have add a neutron-spec for that? Thanks, Nader. On Tue, May 27, 2014 at 10:08 AM, Kyle Mestery mest...@noironetworks.comwrote: On Tue, May 27, 2014 at 12:01 PM, Nader Lahouti nader.laho

[openstack-dev] [neutron][ovs-neutron-agent] Issue with initializing enable_tunneling after setup_rpc()

2014-04-18 Thread Nader Lahouti
Hi, It seems there could be a potential issue in OVSNeutronAgent where self.enable_tunneling is initialized. Here is the code: 116 http://www.xrefs.info/openstack-neutron-latest/xref/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py#116*class* OVSNeutronAgent

Re: [openstack-dev] [neutron] Neutron BP review process for Juno

2014-04-18 Thread Nader Lahouti
Do I need any permission to upload a design specification in the 'specs/juno' folder in neutron-specs? I tried to upload and get this message: fatal: unable to access 'https://github.com/openstack/neutron-specs.git/': The requested URL returned error: 403 Please advise. Thanks, Nader. On

Re: [openstack-dev] [keystone]

2014-04-14 Thread Nader Lahouti
Are you sure that Notifier adds '.info' suffix to the topic that you provided? I think you should use topic='notification.info'. Thanks, Nader. On Mon, Apr 14, 2014 at 12:02 PM, Ryan Hallisey rhall...@redhat.com wrote: Hello, I am unable to send a keystone notification with these

Re: [openstack-dev] [keystone] event notifications issue

2014-04-08 Thread Nader Lahouti
Resending the question: Can someone please point me to a document/code in order to get keystone notification with the latest keystone code. Appreciate your help. On Sun, Apr 6, 2014 at 4:13 PM, Nader Lahouti nader.laho...@gmail.comwrote: Hi All, I was able to get keystone notification when

Re: [openstack-dev] [keystone] event notifications issue

2014-04-08 Thread Nader Lahouti
this is helpful, as some of these options are not set by default in devstack. Best Regards, Solly Ross - Original Message - From: Nader Lahouti nader.laho...@gmail.com To: OpenStack Development Mailing List openstack-dev@lists.openstack.org Sent: Tuesday, April 8, 2014 12:50:50 PM

[openstack-dev] [keystone] event notifications issue

2014-04-06 Thread Nader Lahouti
Hi All, I was able to get keystone notification when creating/deleting a tenant by setting these parameters in keystone.conf: (NOTE: the brach that I was using: git branch -v * (no branch) 0d83e7e Bump stable/havana next version to 2013.2.2) ) notification_topics = Key_Notify rpc_backend =

Re: [openstack-dev] [Neutron][ML2][Ml2Plugin] Setting _original_network in NetworkContext:

2014-04-03 Thread Nader Lahouti
Thanks a lot Andre for the reply. My comments inline: On Wed, Apr 2, 2014 at 12:37 PM, Andre Pech ap...@aristanetworks.comwrote: On Fri, Mar 28, 2014 at 6:44 PM, Nader Lahouti nader.laho...@gmail.comwrote: Hi Mathieu, Thanks a lot for your reply. Even in the neutron/neutron/db

Re: [openstack-dev] [Neutron][ML2][Ml2Plugin] Setting _original_network in NetworkContext:

2014-03-28 Thread Nader Lahouti
, Nader Lahouti nader.laho...@gmail.com wrote: Hi Andre, Thans for your reply. There is no existing network. The scenario is for the first time that we create a network with an extension. Consider, a mechanism driver adds an attribute (through extensions) to the network resource. When

Re: [openstack-dev] [Neutron][ML2][Ml2Plugin] Setting _original_network in NetworkContext:

2014-03-27 Thread Nader Lahouti
this would happen. Thanks Andre On Tue, Mar 25, 2014 at 8:45 AM, Nader Lahouti nader.laho...@gmail.comwrote: Hi All, In the current Ml2Plugin code when 'create_network' is called, as shown below: def create_network(self, context, network) net_data = network['network

[openstack-dev] [Neutron][ML2][Ml2Plugin] Setting _original_network in NetworkContext:

2014-03-25 Thread Nader Lahouti
Hi All, In the current Ml2Plugin code when 'create_network' is called, as shown below: def create_network(self, context, network) net_data = network['network'] ... session = context.session with session.begin(subtransactions=True):

Re: [openstack-dev] [Neutron][OVS Agent]

2014-03-19 Thread Nader Lahouti
/ On Tue, Mar 18, 2014 at 7:42 AM, Nader Lahouti nader.laho...@gmail.com wrote: Hi All, In a multi-node setup, I'm using Ml2Plugin (as core plugin) and OVS (OVSNeutronAgent) as an agent on compute nodes. From controller I need to call a *new method* on agent ( on all compute nodes - using

[openstack-dev] [Neutron][OVS Agent]

2014-03-18 Thread Nader Lahouti
Hi All, In a multi-node setup, I'm using Ml2Plugin (as core plugin) and OVS (OVSNeutronAgent) as an agent on compute nodes. From controller I need to call a *new method* on agent ( on all compute nodes - using RPC), to perform a task (i.e. to communicate with an external process). As I need to

Re: [openstack-dev] [Neutron][ML2] Can I use a new plugin based on Ml2Plugin instead of Ml2Plugin as core_plugin

2014-03-18 Thread Nader Lahouti
Vinay, It shows it is public and everyone can see the info. Thanks, Nader. On Tue, Mar 18, 2014 at 8:39 AM, Vinay Bannai vban...@gmail.com wrote: Can't access the BP. Says it is private. On Mon, Mar 17, 2014 at 7:03 PM, Nader Lahouti nader.laho...@gmail.comwrote: Sure. I filed new BP

Re: [openstack-dev] [Neutron][ML2] Can I use a new plugin based on Ml2Plugin instead of Ml2Plugin as core_plugin

2014-03-17 Thread Nader Lahouti
, 2014 at 6:31 AM, Kyle Mestery mest...@noironetworks.comwrote: On Thu, Mar 13, 2014 at 12:07 PM, Nader Lahouti nader.laho...@gmail.comwrote: -- edited the subject I'm resending this question. The issue is described in email thread and. In brief, I need to add load new extensions and it seems

Re: [openstack-dev] [Neutron][ML2]

2014-03-17 Thread Nader Lahouti
, Nader. On Mon, Mar 17, 2014 at 3:05 AM, Mathieu Rohon mathieu.ro...@gmail.comwrote: Hi On Fri, Mar 7, 2014 at 7:33 PM, Nader Lahouti nader.laho...@gmail.com wrote: 1) Does it mean an interim solution is to have our own plugin (and have all the changes in it) and declare it as core_plugin

Re: [openstack-dev] [Neutron][ML2] Can I use a new plugin based on Ml2Plugin instead of Ml2Plugin as core_plugin

2014-03-17 Thread Nader Lahouti
Sure. I filed new BP that address this issue: https://blueprints.launchpad.net/neutron/+spec/neutron-ml2-mechanismdriver-extensions Thanks, Nader. On Mon, Mar 17, 2014 at 3:26 PM, Kyle Mestery mest...@noironetworks.comwrote: On Mon, Mar 17, 2014 at 4:53 PM, Nader Lahouti nader.laho

Re: [openstack-dev] [Neutron][ML2] Can I use a new plugin based on Ml2Plugin instead of Ml2Plugin as core_plugin

2014-03-13 Thread Nader Lahouti
changes there and have it as core_plugin. Please read the email thread and glad to have your suggestion. On Fri, Mar 7, 2014 at 10:33 AM, Nader Lahouti nader.laho...@gmail.comwrote: 1) Does it mean an interim solution is to have our own plugin (and have all the changes in it) and declare

[openstack-dev] [openstack][Multi-Node][ML2][MechanismDriver] How to load mechanism driver on compute nodes

2014-03-12 Thread Nader Lahouti
Hi All, I installed multi nodes openstack (using devstack) with ML2 as core plugin. I need to perform a task when update_port_pre/post_commit methods is called during installation of VM. As I enabled q-svc and q-agt on control and only q-agt on the compute node, compute node won't run

[openstack-dev] [nova][novaclient] How to get user's credentials for using novaclient API?

2014-03-10 Thread Nader Lahouti
Hi All, I have a question regarding using novaclient API. I need to use it for getting a list of instances for an user/project. In oder to do that I tried to use : from novaclient.v1_1 import client nc = client.Client(*username*,*token_id*, project_id, auth_url,insecure,cacert)

Re: [openstack-dev] [Neutron][ML2]

2014-03-06 Thread Nader Lahouti
a driver that ML2 can use though it's hard to tell from the information you've provided what you're trying to do. Best, Aaron On Wed, Mar 5, 2014 at 10:42 PM, Nader Lahouti nader.laho...@gmail.comwrote: Hi All, I have a question regarding ML2 plugin in neutron: My understanding

Re: [openstack-dev] [Neutron][ML2]

2014-03-06 Thread Nader Lahouti
/Meetings#ML2_Network_sub-team_meeting Bring your concerns on this meeting and get the right feedback. Thanks, Edgar From: Nader Lahouti nader.laho...@gmail.com Reply-To: OpenStack List openstack-dev@lists.openstack.org Date: Thursday, March 6, 2014 12:14 PM To: OpenStack List openstack-dev

[openstack-dev] [Neutron][ML2]

2014-03-05 Thread Nader Lahouti
Hi All, I have a question regarding ML2 plugin in neutron: My understanding is that, 'Ml2Plugin' is the default core_plugin for neutron ML2. We can use either the default plugin or our own plugin (i.e. my_ml2_core_plugin that can be inherited from Ml2Plugin) and use it as core_plugin. Is my

Re: [openstack-dev] [keystone] Notification When Creating/Deleting a Tenant in openstack

2014-02-28 Thread Nader Lahouti
Lahouti nader.laho...@gmail.com wrote on 02/24/2014 11:31:10 AM: From: Nader Lahouti nader.laho...@gmail.com To: OpenStack Development Mailing List (not for usage questions) openstack-dev@lists.openstack.org, Date: 02/24/2014 11:37 AM Subject: Re: [openstack-dev] [keystone] Notification When

Re: [openstack-dev] [keystone] Notification When Creating/Deleting a Tenant in openstack

2014-02-24 Thread Nader Lahouti
+01:00 Nader Lahouti nader.laho...@gmail.com: Thanks Dolph for link. The document shows the format of the message and doesn't give any info on how to listen to the notification. Is there any other document showing the detail on how to listen or get these notifications ? Regards, Nader

Re: [openstack-dev] [keystone] Notification When Creating/Deleting a Tenant in openstack

2014-02-24 Thread Nader Lahouti
...@us.ibm.com Nader Lahouti nader.laho...@gmail.com wrote on 02/24/2014 11:31:10 AM: From: Nader Lahouti nader.laho...@gmail.com To: OpenStack Development Mailing List (not for usage questions) openstack-dev@lists.openstack.org, Date: 02/24/2014 11:37 AM Subject: Re: [openstack-dev] [keystone

[openstack-dev] [keystone] Notification When Creating/Deleting a Tenant in openstack

2014-02-20 Thread Nader Lahouti
Hi All, I have a question regarding creating/deleting a tenant in openstack (using horizon or CLI). Is there any notification mechanism in place so that an application get informed of such an event? If not, can it be done using plugin to send create/delete notification to an application?

Re: [openstack-dev] [keystone] Notification When Creating/Deleting a Tenant in openstack

2014-02-20 Thread Nader Lahouti
dolph.math...@gmail.com wrote: Yes, see: http://docs.openstack.org/developer/keystone/event_notifications.html On Thu, Feb 20, 2014 at 10:54 AM, Nader Lahouti nader.laho...@gmail.com wrote: Hi All, I have a question regarding creating/deleting a tenant in openstack (using horizon or CLI