Re: Openstack-ODL integration - stacking issues with pbr


Sam Hague
 

Eric,

yeah, that was the fix we had to make to networking-odl - remove the 1.3 requirement. We added that to the summit15demo branch so maybe that is why Flavio's setup didn't work for you. The patch is [1].

That branch should also fix the controller issue. The issue is that the networking-odl adds br-int as part of the devstack bringup and there is a timing issue where the controller doesn't get set. Very much like the issue that Sharad is fixing for the ports. You can see the changes in devstack/plugin.sh.

Thanks, Sam

[1] https://github.com/flavio-fernandes/networking-odl/commit/af0a01b15ddd6e187a6376cdea38c784bd96cd79

----- Original Message -----
From: "Eric W Multanen" <eric.w.multanen@...>
To: "Anil Vishnoi" <vishnoianil@...>, "Sam Hague" <shague@...>
Cc: ovsdb-dev@...
Sent: Thursday, August 6, 2015 1:18:43 PM
Subject: RE: [ovsdb-dev] Openstack-ODL integration - stacking issues with pbr

Thanks Sam and Anil.

Yes – the system (not a VM) has external network connectivity.

I worked around the pbr issue by editing out the “>=1.3” requirement for pbr
in networking-odl/setup.py.

I know I’d tried flavio’s networking-odl the other day – I don’t think (or
recall) that it helped with this issue. The issue I was hoping Flavio’s
would help with was setting the controller on br-int on the control node –
it did not help with that either – so I’m setting that manually after
stacking completes.

Thanks,
Eric

From: Anil Vishnoi [mailto:vishnoianil@...]
Sent: Thursday, August 6, 2015 9:40 AM
To: Sam Hague
Cc: Multanen, Eric W; ovsdb-dev@...
Subject: Re: [ovsdb-dev] Openstack-ODL integration - stacking issues with pbr

Hi Eric,

is you VM has external network connectivity?

2015-08-05 14:59:53.160 | Download error on
https://pypi.python.org/simple/pbr/: [Errno 110] Connection timed out --
Some packages may not be found!
2015-08-05 15:02:00.392 | Download error on https://pypi.python.org/simple/:
[Errno 110] Connection timed out -- Some packages may not be found!

Anil

On Thu, Aug 6, 2015 at 9:55 PM, Sam Hague
<shague@...<mailto:shague@...>> wrote:
Eric,

could you point to flavio's networking-odl and see if that get's past the
issue? pbr 1.3 was an issue so I added a patch to drop it back to an earlier
version.

We have seen pbr issues and they are a pain to get around since so much is
happening behind the scenes.

Thanks, Sam

----- Original Message -----
From: "Eric W Multanen"
<eric.w.multanen@...<mailto:eric.w.multanen@...>>
To:
ovsdb-dev@...<mailto:ovsdb-dev@...>
Sent: Thursday, August 6, 2015 11:19:22 AM
Subject: [ovsdb-dev] Openstack-ODL integration - stacking issues with pbr



Hi ODL Netvirt experts (Flavio, Sam, etc.),



I’m trying to setup OVSDB Netvirt with Openstack stable/kilo 2015.1.1

On Fedora 21 systems – not the vagrant/vm based examples.



The problem appears to be around version requirements for a python pbr
package.



Are there any known resolutions or hints for this issue?



I am using the 2015.1.1 tag for most of the openstack packages, or
stable/kilo branch for the ones that don’t have that tag.



Using the stable/kilo branch of the networking-odl driver, I get the
following error when trying to stack (devstack):



2015-08-05 14:57:45.472 | Installing the Networking-ODL driver for
OpenDaylight

2015-08-05 14:59:53.160 | Download error on
https://pypi.python.org/simple/pbr/: [Errno 110] Connection timed out --
Some packages may not be found!

2015-08-05 15:02:00.392 | Download error on
https://pypi.python.org/simple/:
[Errno 110] Connection timed out -- Some packages may not be found!

2015-08-05 15:02:00.392 | No local packages or download links found for
pbr>=1.3

2015-08-05 15:02:00.476 | Traceback (most recent call last):

2015-08-05 15:02:00.477 | File "setup.py", line 29, in <module>

2015-08-05 15:02:00.477 | pbr=True)

2015-08-05 15:02:00.477 | File "/usr/lib64/python2.7/distutils/core.py",
line
111, in setup

2015-08-05 15:02:00.477 | _setup_distribution = dist = klass(attrs)

2015-08-05 15:02:00.477 | File
"/usr/lib/python2.7/site-packages/setuptools/dist.py", line 268, in
__init__

2015-08-05 15:02:00.477 | self.fetch_build_eggs(attrs['setup_requires'])

2015-08-05 15:02:00.478 | File
"/usr/lib/python2.7/site-packages/setuptools/dist.py", line 313, in
fetch_build_eggs

2015-08-05 15:02:00.478 | replace_conflicting=True,

2015-08-05 15:02:00.478 | File
"/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 836, in
resolve

2015-08-05 15:02:00.478 | dist = best[req.key] = env.best_match(req, ws,
installer)

2015-08-05 15:02:00.478 | File
"/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1081, in
best_match

2015-08-05 15:02:00.479 | return self.obtain(req, installer)

2015-08-05 15:02:00.479 | File
"/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1093, in
obtain

2015-08-05 15:02:00.479 | return installer(requirement)

2015-08-05 15:02:00.479 | File
"/usr/lib/python2.7/site-packages/setuptools/dist.py", line 380, in
fetch_build_egg

2015-08-05 15:02:00.479 | return cmd.easy_install(req)

2015-08-05 15:02:00.479 | File
"/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line
623, in easy_install

2015-08-05 15:02:00.480 | raise DistutilsError(msg)

2015-08-05 15:02:00.480 | distutils.errors.DistutilsError: Could not find
suitable distribution for Requirement.parse('pbr>=1.3')

2015-08-05 15:02:00.516 | Error on exit





Thanks,

Eric









_______________________________________________
ovsdb-dev mailing list
ovsdb-dev@...<mailto:ovsdb-dev@...>
https://lists.opendaylight.org/mailman/listinfo/ovsdb-dev
_______________________________________________
ovsdb-dev mailing list
ovsdb-dev@...<mailto:ovsdb-dev@...>
https://lists.opendaylight.org/mailman/listinfo/ovsdb-dev



--
Thanks
Anil

Join z.archive.ovsdb-dev@lists.opendaylight.org to automatically receive all group messages.