Re: Openstack-ODL integration - stacking issues with pbr


Flavio Fernandes <ffernand@...>
 


On Aug 13, 2015, at 8:30 AM, Ihar Hrachyshka <ihrachys@...> wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Looking at the logs in the email thread:

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

So why can't your machine download the satisfying pbr version? It's
available on pypi, so assuming you fix the download error, I think it
should proceed.


That is the issue. This happens because OFFLINE=True and there is
still something in pbr requirements that is looking for a version of pbr
that is not used in stable/kilo.

I suspect this is happening because
stable/kilo branch in networking-odl was created ‘late’ and the new
version of pbr was added as part of liberty?!?

So, to easily reproduce this issue: 1) stack with devstack+networking-odl
on stable/kilo; 2) untack; 3) change OFFLINE=True and
4) attempt to stack again.

— flavio


Ihar

On 08/13/2015 02:26 PM, Flavio Fernandes wrote:
Hi Kyle,

I recall talking to you and “lifeless” about an issue with pbr 
versioning in stable/kilo for networking-odl.

That seems to be an issue [1], still; making it impossible for
folks to use networking-odl with stable/kilo.

Assuming that pbr version in stable/kilo is not changing, do you
think that gerrit 204211 [2] could be restored and merged into
stable/kilo? Or maybe there is a better alternative?

Thanks,

— flavio

[1]:
https://lists.opendaylight.org/pipermail/ovsdb-dev/2015-August/001770.
html


[2]: https://review.openstack.org/#/c/204211/



Begin forwarded message:

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

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJVzI3sAAoJEC5aWaUY1u576vAH/3ZKxtcumLoTrqnMEzFxmhqo
mK9LuL2TmR6+FxEjX0iU+GwUbbfIExDCdy+FOM2a/h+9LxCRR32coxpF9/OE0rpj
1pGzmutgXzPO4nXBGRs0S5PC7g8OwSIoZJUXVZtCiX3ltQIcd3CmX55udt579Kg/
NRmQ/3MOoPYHglZFbi7AI2j1v6KTycrajrGiiUNWWYGpI3FbI6EBPOgsjszGDnJq
nUEpyzmeSB0aOGhxrfdVA/zs41BMNDnfQzpq6Bft0AEJ8/MAYppOdoMkfPbET761
6MI+ud+wK99L3CyVAuZtrEKtdZhMO7yAqa/6KhhhXqCxO3rili679rn2Ta4kQs8=
=rXYV
-----END PGP SIGNATURE-----

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