Re: Openstack-ODL integration - stacking issues with pbr


Anil Vishnoi
 

Eric,

Changing the required version can put you into some nasty cyclic package dependency issues, but as far as you are not seeing it right now you can continue. :)

So are you installing packages form yum repo or building it through devstack code? If you are using yum and if your VM has old devstack installation,, it gives these version issues and i have seen many time. I generally remove all the python packages from /opt/stack/ installed by devstack installation and then use pip to install the required version. That generally solve these kind of issues in my environment.

ANil

On Thu, Aug 6, 2015 at 10:48 PM, Multanen, Eric W <eric.w.multanen@...> wrote:

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@...> 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@...>
> To: 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@...
> https://lists.opendaylight.org/mailman/listinfo/ovsdb-dev
>
_______________________________________________
ovsdb-dev mailing list
ovsdb-dev@...
https://lists.opendaylight.org/mailman/listinfo/ovsdb-dev



 

--

Thanks

Anil




--
Thanks
Anil

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