[openstack-dev] [L2-Gateway]

2018-08-30 Thread Mike Oliveras
 Hello,

I am trying to get the l2gw feature installed on an openstack install on
centos 7 using the rdo queens repo.

Initially I installed the l2gw rpms form the repo:

 yum install openstack-neutron-l2gw-agent
==
PackageArch   Version
Repository
==
Installing:
 openstack-neutron-l2gw-agent  noarch 1:12.0.1-1.el7
centos-openstack-queens
Installing for dependencies:
 python2-networking-l2gw   noarch 1:12.0.1-1.el7
centos-openstack-queens

I enabled the service plugin in /etc/neutron/neutron.conf:
[root@gullwing-controller neutron]# grep service_plugin neutron.conf
service_plugins =
router,networking_l2gw.services.l2gateway.plugin.L2GatewayPlugin

I pointed my l2gw plugin to my gw in l2gateway_agent.ini:
[root@gullwing-controller neutron]# grep ovsdb1 l2gateway_agent.ini
ovsdb_hosts = 'ovsdb1:10.0.0.31:6632'

I upgraded the neutron DB

systemctl stop neutron-server
neutron-db-manage --config-file /etc/neutron/neutron.conf
--config-file /etc/neutron/l2gw_plugin.ini  upgrade head
systemctl start neutron-server

I then added the "--config-file /etc/neutron/l2gw_plugin.ini" to the
ExecStart of the nova-server systemd unit file.

When I try to restart nova, it fails with:
2018-08-30 09:59:32.605 21059 ERROR neutron Invalid: Driver
networking_l2gw.services.l2gateway.service_drivers.rpc_l2gw.L2gwRpcDriver
is not unique across providers


One web page 
https://lonelypacket.co.uk/post/openstack-pike-l2gw-setup-on-ubuntu-16-04/
 suggested adding a service_providers
section to neutron.conf but it made no difference.
[service_providers]
service_provider=L2GW:l2gw:networking_l2gw.services.l2gateway.service_drivers.rpc_l2gw.L2gwRpcDriver:default

I also tried uninstalling the l2gw rpms and used a clone of
https://github.com/openstack/networking-l2gw, also tried
branch stable/queens.

When I tried that version, I got an error "AttributeError: 'module'
object has no attribute 'L3'" which seems to be related to
https://lists.launchpad.net/yahoo-eng-team/msg73944.html

I would appreciate any insight that you can give me and would be happy
to provide any requested info.

Thanks,

Mike Oliveras
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [L2-Gateway] Query on redundant configuration of OpenStack's L2 gateway

2017-05-31 Thread Ran Xiao
Hi Ricardo,

Thanks very much for your help.
I've checked the file you shared and will contact them.

BR,
Ran Xiao

-Original Message-
From: Ricardo Noriega De Soto [mailto:rnori...@redhat.com] 
Sent: Tuesday, May 30, 2017 6:50 PM
To: OpenStack Development Mailing List (not for usage questions) 

Subject: Re: [openstack-dev] [L2-Gateway] Query on redundant configuration of 
OpenStack's L2 gateway

Hi Ran Xiao,

Please, take a look at this doc I found online:

https://docs.google.com/document/d/1U7M78uNhBp8eZIu0YH04u6Vzj6t2NpvDY4peX8svsXY/edit#heading=h.xochfa5fqf06

You might want to contact those folks!

Cheers

On Tue, May 23, 2017 at 1:21 PM, Ran Xiao mailto:ran-x...@vf.jp.nec.com> > wrote:


Hi All,

  I have a query on usage of L2GW NB API.
  I have to integrate L2GW with ODL.
  And there are two L2GW nodes named l2gw1 and l2gw2.
  OVS HW VTEP Emulator is running on each node.
  Does the following command work for configuring these two nodes a 
L2GW HA Cluster?

  neutron l2-gateway-create gw_name --device 
name=l2gw1,interface_names=eth2 \
--device 
name=l2gw2,interface_names=eth2

  Version : stable/ocata

  Thanks in advance.

BR,
Ran Xiao




__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: 
openstack-dev-requ...@lists.openstack.org?subject:unsubscribe 
<http://openstack-dev-requ...@lists.openstack.org?subject:unsubscribe> 
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev 
<http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev> 





-- 

Ricardo Noriega


Senior Software Engineer - NFV Partner Engineer | Office of Technology  | Red 
Hat

irc: rnoriega @freenode

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [L2-Gateway] Query on redundant configuration of OpenStack's L2 gateway

2017-05-30 Thread Ricardo Noriega De Soto
Hi Ran Xiao,

Please, take a look at this doc I found online:

https://docs.google.com/document/d/1U7M78uNhBp8eZIu0YH04u6Vzj6t2NpvDY4peX8svsXY/edit#heading=h.xochfa5fqf06

You might want to contact those folks!

Cheers

On Tue, May 23, 2017 at 1:21 PM, Ran Xiao  wrote:

> Hi All,
>
>   I have a query on usage of L2GW NB API.
>   I have to integrate L2GW with ODL.
>   And there are two L2GW nodes named l2gw1 and l2gw2.
>   OVS HW VTEP Emulator is running on each node.
>   Does the following command work for configuring these two nodes a L2GW
> HA Cluster?
>
>   neutron l2-gateway-create gw_name --device name=l2gw1,interface_names=eth2
> \
> --device name=l2gw2,interface_names=
> eth2
>
>   Version : stable/ocata
>
>   Thanks in advance.
>
> BR,
> Ran Xiao
>
>
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>



-- 
Ricardo Noriega

Senior Software Engineer - NFV Partner Engineer | Office of Technology  |
Red Hat
irc: rnoriega @freenode
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [L2-Gateway] Query on redundant configuration of OpenStack's L2 gateway

2017-05-23 Thread Ran Xiao
Hi All,

  I have a query on usage of L2GW NB API. 
  I have to integrate L2GW with ODL. 
  And there are two L2GW nodes named l2gw1 and l2gw2.  
  OVS HW VTEP Emulator is running on each node.
  Does the following command work for configuring these two nodes a L2GW HA 
Cluster?
  
  neutron l2-gateway-create gw_name --device name=l2gw1,interface_names=eth2 \
--device name=l2gw2,interface_names=eth2

  Version : stable/ocata

  Thanks in advance.

BR,
Ran Xiao



__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [L2-Gateway] Tempest plugin structure

2017-05-19 Thread Ricardo Noriega De Soto
Hello guys,

I'm trying to include Neutron L2GW tempest tests into puppet-openstack CI
pipeline and I'm having some troubles. I noticed that the structure of the
code:

https://github.com/openstack/networking-l2gw/tree/master/networking_l2gw/tests

It's not as a standard tempest plugin. I was wondering if there is any
reason why this plugin was done like this, or if there is any intention of
standarizing it with cookiecutter or so. Having the following variables:

https://github.com/openstack/networking-l2gw/blob/master/tox.ini#L49-L53

make harder to get the tests running in the pipeline.

Thanks guys!!

-- 
Ricardo Noriega

Senior Software Engineer - NFV Partner Engineer | Office of Technology  |
Red Hat
irc: rnoriega @freenode
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [L2-Gateway] RPM packaging and Agent configuration

2016-12-22 Thread Thomas Bechtold
Hi,

On Thu, Dec 22, 2016 at 04:16:28PM +0100, Ricardo Noriega De Soto wrote:
> Thanks a lot Ofer!!
> 
> Just one more question, the command to start the agent is fine, but, do we
> need to include the l2gateway_plugin.ini to Neutron server???

with a recent oslo.config, you can just drop a config snippet into
/etc/neutron/neutron-server.conf.d/ . But that only works if
neutron-server does not override the default config dirs while starting
(so *no* --config-dir must be given).

Also it would be nice if you could propose your spec file to the
rpm-packaging project (https://wiki.openstack.org/wiki/Rpm-packaging ).

Best,

Tom

> 
> Something like:
> 
> /usr/bin/neutron-server --config-file /usr/share/neutron/neutron-dist.conf
> --config-dir /usr/share/neutron/server --config-file
> /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini
> --config-dir /etc/neutron/conf.d/common --config-dir
> /etc/neutron/conf.d/neutron-server --log-file
> /var/log/neutron/server.log *--config-file
> /etc/neutron/l2gateway_plugin.ini *???
> 
> Thanks!!
> 
> On Sun, Dec 18, 2016 at 8:33 AM, Ofer Ben-Yacov 
> wrote:
> 
> > The command that you've wrote for the agent is correct.
> > No need to add anything.
> >
> > Ofer.
> >
> > On 16 December 2016 at 16:12, Ricardo Noriega De Soto  > > wrote:
> >
> >> Hello L2GW devs!
> >>
> >> I'm currently working on the RPM packaging of networking-l2gw project.
> >>
> >> My undestanding is that depending on the config, I could use whether
> >> OpenDaylight or the neutron-l2gw-agent as backend.
> >>
> >> For the latter case, I'm writing a systemd unit file, but I'd love to get
> >> the command of how you launch the agent itself. I would say it's something
> >> like:
> >>
> >> https://paste.fedoraproject.org/507402/89715214/
> >>
> >> /usr/bin/neutron-l2gw-agent --config-file /etc/neutron/neutron.conf
> >> --config-file /etc/neutron/l2gateway_agent.ini  --log-file
> >> /var/log/neutron/l2gw-agent.log
> >>
> >> Anything to add??
> >>
> >> Thanks!
> >>
> >> --
> >> Ricardo Noriega
> >>
> >> Senior Software Engineer - NFV Partner Engineer | Office of Technology
> >>  | Red Hat
> >> irc: rnoriega @freenode
> >>
> >>
> >> 
> >> __
> >> OpenStack Development Mailing List (not for usage questions)
> >> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscrib
> >> e
> >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> >>
> >>
> >
> > __
> > OpenStack Development Mailing List (not for usage questions)
> > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> >
> >
> 
> 
> -- 
> Ricardo Noriega
> 
> Senior Software Engineer - NFV Partner Engineer | Office of Technology  |
> Red Hat
> irc: rnoriega @freenode

> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [L2-Gateway] RPM packaging and Agent configuration

2016-12-22 Thread Ricardo Noriega De Soto
Thanks a lot Ofer!!

Just one more question, the command to start the agent is fine, but, do we
need to include the l2gateway_plugin.ini to Neutron server???

Something like:

/usr/bin/neutron-server --config-file /usr/share/neutron/neutron-dist.conf
--config-dir /usr/share/neutron/server --config-file
/etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini
--config-dir /etc/neutron/conf.d/common --config-dir
/etc/neutron/conf.d/neutron-server --log-file
/var/log/neutron/server.log *--config-file
/etc/neutron/l2gateway_plugin.ini *???

Thanks!!

On Sun, Dec 18, 2016 at 8:33 AM, Ofer Ben-Yacov 
wrote:

> The command that you've wrote for the agent is correct.
> No need to add anything.
>
> Ofer.
>
> On 16 December 2016 at 16:12, Ricardo Noriega De Soto  > wrote:
>
>> Hello L2GW devs!
>>
>> I'm currently working on the RPM packaging of networking-l2gw project.
>>
>> My undestanding is that depending on the config, I could use whether
>> OpenDaylight or the neutron-l2gw-agent as backend.
>>
>> For the latter case, I'm writing a systemd unit file, but I'd love to get
>> the command of how you launch the agent itself. I would say it's something
>> like:
>>
>> https://paste.fedoraproject.org/507402/89715214/
>>
>> /usr/bin/neutron-l2gw-agent --config-file /etc/neutron/neutron.conf
>> --config-file /etc/neutron/l2gateway_agent.ini  --log-file
>> /var/log/neutron/l2gw-agent.log
>>
>> Anything to add??
>>
>> Thanks!
>>
>> --
>> Ricardo Noriega
>>
>> Senior Software Engineer - NFV Partner Engineer | Office of Technology
>>  | Red Hat
>> irc: rnoriega @freenode
>>
>>
>> 
>> __
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscrib
>> e
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 
Ricardo Noriega

Senior Software Engineer - NFV Partner Engineer | Office of Technology  |
Red Hat
irc: rnoriega @freenode
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [L2-Gateway] RPM packaging and Agent configuration

2016-12-17 Thread Ofer Ben-Yacov
The command that you've wrote for the agent is correct.
No need to add anything.

Ofer.

On 16 December 2016 at 16:12, Ricardo Noriega De Soto 
wrote:

> Hello L2GW devs!
>
> I'm currently working on the RPM packaging of networking-l2gw project.
>
> My undestanding is that depending on the config, I could use whether
> OpenDaylight or the neutron-l2gw-agent as backend.
>
> For the latter case, I'm writing a systemd unit file, but I'd love to get
> the command of how you launch the agent itself. I would say it's something
> like:
>
> https://paste.fedoraproject.org/507402/89715214/
>
> /usr/bin/neutron-l2gw-agent --config-file /etc/neutron/neutron.conf
> --config-file /etc/neutron/l2gateway_agent.ini  --log-file
> /var/log/neutron/l2gw-agent.log
>
> Anything to add??
>
> Thanks!
>
> --
> Ricardo Noriega
>
> Senior Software Engineer - NFV Partner Engineer | Office of Technology  |
> Red Hat
> irc: rnoriega @freenode
>
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [L2-Gateway] RPM packaging and Agent configuration

2016-12-16 Thread Ricardo Noriega De Soto
Hello L2GW devs!

I'm currently working on the RPM packaging of networking-l2gw project.

My undestanding is that depending on the config, I could use whether
OpenDaylight or the neutron-l2gw-agent as backend.

For the latter case, I'm writing a systemd unit file, but I'd love to get
the command of how you launch the agent itself. I would say it's something
like:

https://paste.fedoraproject.org/507402/89715214/

/usr/bin/neutron-l2gw-agent --config-file /etc/neutron/neutron.conf
--config-file /etc/neutron/l2gateway_agent.ini  --log-file
/var/log/neutron/l2gw-agent.log

Anything to add??

Thanks!

-- 
Ricardo Noriega

Senior Software Engineer - NFV Partner Engineer | Office of Technology  |
Red Hat
irc: rnoriega @freenode
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [L2-Gateway] L2 Gateway Device xxx could not be found

2016-09-08 Thread judy_yu...@126.com
Hi  All,
 I try to use l2 gateway. Use one node install devstack, and another node as 
gateway installing ovs 2.5.0

The devstack running neutron-l2gateway-agent and neutron-server with l2gateway 
plugin.
file /etc/neutron/l2gateway_agent.ini  looks like, "node-82" is the gateway 
node hostname.
[DEFAULT]
[ovsdb]
ovsdb_hosts = node-82:10.254.9.82:8802   

node-82 running ovs listening to remote port 8802. 
ovsdb-server /etc/openvswitch/conf.db -vconsole:emer -vsyslog:err -vfile:info 
--remote=punix:/var/run/openvswitch/db.sock --remote=ptcp:8802 
--private-key=db:Open_vSwitch,SSL,private_key 
--certificate=db:Open_vSwitch,SSL,certificate 
--bootstrap-ca-cert=db:Open_vSwitch,SSL,ca_cert --no-chdir 
--log-file=/var/log/openvswitch/ovsdb-server.log 
--pidfile=/var/run/openvswitch/ovsdb-server.pid --detach --monitor
ovs-vswitchd unix:/var/run/openvswitch/db.sock -vconsole:emer -vsyslog:err 
-vfile:info --mlockall --no-chdir 
--log-file=/var/log/openvswitch/ov-vswitchd.log 
--pidfile=/var/run/openvswitch/ovs-vswitchd.pid --detach --monitor
devstack node could config node-82 ovs bridge successfully.

Then execute:
neutron l2-gateway-create gw1 --device name=node-82,interface_names=enp7s0f1
 result: works well, and db add this info to table l2gateways.
 neutron l2-gateway-connection-create gw1 net1 --default-segmentation-id=100
 result: returns "L2 Gateway Device node-82 could not be found."


Is ovs could be treated as gateway?
The config file has something wrong?

Best regards,
Yujie



judy_yu...@126.com 

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [L2-Gateway] connecting to hardware vtep not working

2016-03-14 Thread Jason Guy
I have the l2gateway stable/liberty release loaded in my openstack setup,
and can create the l2gateway, however the l2gateway-connection fails. I
have read doc which appears to be more up-to-date than the readme:
https://github.com/openstack/networking-l2gw/blob/stable/liberty/specs/kilo/l2-gateway-api.rst

Assuming this image

is accurate, it looks like the neutron agent AND compute node connect to
the remote switch (hardware VTEP) using VXLAN. The neutron agent also
connects to the OVSDB-server on the remote switch. Obviously the VXLAN
tunnel is the data-plane, and the OVSDB-server connection is the
control-plane.

1) l2gateway-create - Creating an abstraction of an L2 gateway (hardware
VTEP) with its interface(s). It is not clear to me what to specify when
setting up the l2gateway.

neutron l2-gateway-create mlagsw \
--device name=sw11,interface_names="baremetal1" \
--device name=sw12,interface_names="baremetal1"

- Is the --device name correlate to one of the ovsdb_hosts, specified in
the l2gateway_agent.ini?
- Is the name meant to be resolveable via DNS? I would assume no, if it
gleans the IP from the .ini file.
- What does the "interface" parameter specify? Is this the interface the
remote VTEP will bind to the VXLAN bridge on the hardware VTEP?

2) l2gateway-connection-create - Binding a logical gateway to an overlay
network. This keeps failing for me, and I am not quite sure why. My neutron
net is called vmnet201.

root@linux: ~# neutron l2-gateway-connection-create mlagsw vmnet201
L2 Gateway Device sw11 could not be found.

- I assume this attempts to create the VXLAN tunnel to the remote VTEP(s).
Does it attempt the second device if the first fails? I only see one
failure message.
- Does the l2gateway-agent run the ovsdb-client?
- Does neutron need to run openvswitch, or can the ovsdb client use the
linuxbridge agent?

3) OVSDB-server connection:

- Should I see the connection to the ovsdb-server prior to executing the
l2gateway-connection?
- How would I see if the connection is up or not on the network node?
- Does this come up automatically when the l2gateway_agent is started after
reading the .ini file?
Should something show up in the log if it cannot create the connection? I
have debug=true, and do not see that the ovsdb connection is up or failing
to connect.

Any help would be greatly appreciated.

Thanks,
Jason
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [L2-Gateway] Install and Configuration issue

2016-03-09 Thread Jason Guy
Hi Irena,

I was not clear in my initial message...but I am using the stable/liberty
branch.
It is interesting that the master branch has this set in the plugin now.
Clearly the code is evolving a bit for Mitaka. However you helped me to
discover what was wrong (I think). I forgot to change to the liberty branch
when I installed the neutron-server container.

I am not sure how to get the l2gw commands registered with the neutron
client in my utility container. Has anyone deployed this with
openstack-ansible?

I think I found a minor bug in the liberty branch.  As I am still in the
process of setting up the network, hardware VTEP and OVSDB server. I
noticed in the l2gateway agent log file, the traceback below.  I have a
feeling it will go away when I configure the OVSDB server, but it should be
failing gracefully, rather than throwing a traceback.

Thanks for your help!
Jason

2016-03-09 10:42:19.059 15505 ERROR
networking_l2gw.services.l2gateway.agent.ovsdb.base_connection
[req-266f23da-5948-4664-8dde-934dae006d9a - - - - -] Socket error in
connecting to the OVSDB server
2016-03-09 10:42:19.059 15505 ERROR
networking_l2gw.services.l2gateway.agent.ovsdb.base_connection Traceback
(most recent call last):
2016-03-09 10:42:19.059 15505 ERROR
networking_l2gw.services.l2gateway.agent.ovsdb.base_connection   File
"/openstack/venvs/neutron-12.0.7/lib/python2.7/site-packages/networking_l2gw/services/l2gateway/agent/ovsdb/base_connection.py",
line 71, in __init__
2016-03-09 10:42:19.059 15505 ERROR
networking_l2gw.services.l2gateway.agent.ovsdb.base_connection
int(gw_config.ovsdb_port)))
2016-03-09 10:42:19.059 15505 ERROR
networking_l2gw.services.l2gateway.agent.ovsdb.base_connection   File
"/openstack/venvs/neutron-12.0.7/lib/python2.7/site-packages/eventlet/greenio/base.py",
line 240, in connect
2016-03-09 10:42:19.059 15505 ERROR
networking_l2gw.services.l2gateway.agent.ovsdb.base_connection
socket_checkerr(fd)
2016-03-09 10:42:19.059 15505 ERROR
networking_l2gw.services.l2gateway.agent.ovsdb.base_connection   File
"/openstack/venvs/neutron-12.0.7/lib/python2.7/site-packages/eventlet/greenio/base.py",
line 44, in socket_checkerr
2016-03-09 10:42:19.059 15505 ERROR
networking_l2gw.services.l2gateway.agent.ovsdb.base_connection raise
socket.error(err, errno.errorcode[err])
2016-03-09 10:42:19.059 15505 ERROR
networking_l2gw.services.l2gateway.agent.ovsdb.base_connection error:
[Errno 111] ECONNREFUSED
2016-03-09 10:42:19.059 15505 ERROR
networking_l2gw.services.l2gateway.agent.ovsdb.base_connection
2016-03-09 10:42:19.068 15505 ERROR
networking_l2gw.services.l2gateway.agent.ovsdb.manager
[req-266f23da-5948-4664-8dde-934dae006d9a - - - - -] OVSDB server 10.0.0.1
is not reachable
2016-03-09 10:42:19.069 15505 DEBUG
networking_l2gw.services.l2gateway.agent.ovsdb.manager
[req-266f23da-5948-4664-8dde-934dae006d9a - - - - -] Calling
notify_ovsdb_states _connect_to_ovsdb_server
/openstack/venvs/neutron-12.0.7/lib/python2.7/site-packages/networking_l2gw/services/l2gateway/agent/ovsdb/manager.py:135
2016-03-09 10:42:19.071 15505 DEBUG oslo_messaging._drivers.amqpdriver
[req-266f23da-5948-4664-8dde-934dae006d9a - - - - -] CAST unique_id:
9d1eac2e0f2e4df781a05fb2638b5810 exchange 'neutron' topic
'l2gateway_plugin' _send
/openstack/venvs/neutron-12.0.7/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py:448


On Wed, Mar 9, 2016 at 2:17 AM, Irena Berezovsky 
wrote:

> Hi Jason,
> According to the L2GW config, it should be set as in this line:
>
> https://github.com/openstack/networking-l2gw/blob/master/etc/l2gw_plugin.ini#L25
>
> I think it should be working as default setting, but maybe you can try to
> set this explicitly.
>
> Hope it helps,
> Irena
>
> On Tue, Mar 8, 2016 at 12:33 PM, Jason Guy 
> wrote:
>
>> Hi, I am trying to get the L2GW plugin working with my openstack setup. I
>> did the installation from the git repo using setup.py install.
>>
>> I am having trouble getting the Neutron-server to take the plugin though.
>> Here is the config line from the neutron.conf:
>> # Plugins
>> core_plugin = neutron.plugins.ml2.plugin.Ml2Plugin
>> service_plugins =
>> neutron.services.l3_router.l3_router_plugin.L3RouterPlugin,neutron.services.metering.metering_plugin.MeteringPlugin,networking_l2gw.services.l2gateway.plugin.L2GatewayPlugin
>>
>> After restarting neutron-server, I am getting this error in the
>> neutron-server.log:
>>
>> INFO neutron.manager [req-b537d3d8-5ad5-419c-a7a0-133991af38fc - - - - -]
>> Loading Plugin: networking_l2gw.services.l2gateway.plugin.L2GatewayPlugin
>> ERROR neutron.services.service_base
>> [req-b537d3d8-5ad5-419c-a7a0-133991af38fc - - - - -] No providers specified
>> for 'L2GW' service, exiting
>>
>> I do not see anything in the install instructions regarding the
>> neutron.conf configuration, so I am guessing at this point, hence the
>> email. :) I have searched and tried to figure this out by looking at the
>> code. What should the service_provider be set to?
>>
>> Thanks,

Re: [openstack-dev] [L2-Gateway] Install and Configuration issue

2016-03-08 Thread Irena Berezovsky
Hi Jason,
According to the L2GW config, it should be set as in this line:
https://github.com/openstack/networking-l2gw/blob/master/etc/l2gw_plugin.ini#L25

I think it should be working as default setting, but maybe you can try to
set this explicitly.

Hope it helps,
Irena

On Tue, Mar 8, 2016 at 12:33 PM, Jason Guy  wrote:

> Hi, I am trying to get the L2GW plugin working with my openstack setup. I
> did the installation from the git repo using setup.py install.
>
> I am having trouble getting the Neutron-server to take the plugin though.
> Here is the config line from the neutron.conf:
> # Plugins
> core_plugin = neutron.plugins.ml2.plugin.Ml2Plugin
> service_plugins =
> neutron.services.l3_router.l3_router_plugin.L3RouterPlugin,neutron.services.metering.metering_plugin.MeteringPlugin,networking_l2gw.services.l2gateway.plugin.L2GatewayPlugin
>
> After restarting neutron-server, I am getting this error in the
> neutron-server.log:
>
> INFO neutron.manager [req-b537d3d8-5ad5-419c-a7a0-133991af38fc - - - - -]
> Loading Plugin: networking_l2gw.services.l2gateway.plugin.L2GatewayPlugin
> ERROR neutron.services.service_base
> [req-b537d3d8-5ad5-419c-a7a0-133991af38fc - - - - -] No providers specified
> for 'L2GW' service, exiting
>
> I do not see anything in the install instructions regarding the
> neutron.conf configuration, so I am guessing at this point, hence the
> email. :) I have searched and tried to figure this out by looking at the
> code. What should the service_provider be set to?
>
> Thanks,
> Jason
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [L2-Gateway] Install and Configuration issue

2016-03-08 Thread Jason Guy
Hi, I am trying to get the L2GW plugin working with my openstack setup. I
did the installation from the git repo using setup.py install.

I am having trouble getting the Neutron-server to take the plugin though.
Here is the config line from the neutron.conf:
# Plugins
core_plugin = neutron.plugins.ml2.plugin.Ml2Plugin
service_plugins =
neutron.services.l3_router.l3_router_plugin.L3RouterPlugin,neutron.services.metering.metering_plugin.MeteringPlugin,networking_l2gw.services.l2gateway.plugin.L2GatewayPlugin

After restarting neutron-server, I am getting this error in the
neutron-server.log:

INFO neutron.manager [req-b537d3d8-5ad5-419c-a7a0-133991af38fc - - - - -]
Loading Plugin: networking_l2gw.services.l2gateway.plugin.L2GatewayPlugin
ERROR neutron.services.service_base
[req-b537d3d8-5ad5-419c-a7a0-133991af38fc - - - - -] No providers specified
for 'L2GW' service, exiting

I do not see anything in the install instructions regarding the
neutron.conf configuration, so I am guessing at this point, hence the
email. :) I have searched and tried to figure this out by looking at the
code. What should the service_provider be set to?

Thanks,
Jason
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev