[Bug 1806474] Re: missing oneliner
Corey Bryant
corey.bryant at canonical.com
Mon Dec 3 21:01:28 UTC 2018
This bug was already fixed in Debian, however this was fixed after
cosmic was released via a +repack in sid:
debian:
python-pysnmp4 | 4.4.6+repack1-1 | unstable | source, all
ubuntu:
python-pysnmp4 | 4.4.6-1 | cosmic | source, all
python-pysnmp4 | 4.4.6+repack1-1 | disco | source
python-pysnmp4 | 4.4.6+repack1-1 | disco/universe | all
This was fixed via the following bug:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910269
Can we sync from unstable to cosmic at this point to fix this?
** Bug watch added: Debian Bug tracker #910269
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910269
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-pysnmp4 in Ubuntu.
https://bugs.launchpad.net/bugs/1806474
Title:
missing oneliner
Status in python-pysnmp4 package in Ubuntu:
New
Bug description:
I hit the following error when running ceilometer unit tests for
cosmic:
=========================
Failures during discovery
=========================
--- import errors ---
Failed to import test module: ceilometer.tests.unit.hardware.inspector.test_snmp
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 456, in _find_test_path
module = self._get_module_from_name(name)
File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 395, in _get_module_from_name
__import__(name)
File "ceilometer/tests/unit/hardware/inspector/test_snmp.py", line 23, in <module>
from ceilometer.hardware.inspector import snmp
File "ceilometer/hardware/inspector/snmp.py", line 21, in <module>
from pysnmp.entity.rfc3413.oneliner import cmdgen
ImportError: No module named oneliner
It turns out the tarball that is pulled from git to build pysnmp4 is
missing files, such as pysnmp.entity.rfc3413.oneliner. The release
artifact from pypi.debian.net is not missing the oneliner directory.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pysnmp4/+bug/1806474/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list