[Bug 1462383] [NEW] ceilometer-common with mongodb-autoreconnect.patch regression in vivid
Mike Lloyd
kevin.michael.lloyd at gmail.com
Fri Jun 5 14:07:44 UTC 2015
Public bug reported:
[Issue]
ceilometer 1.0.13 displays same error message as bug 1421663.
root at controller-1:~# ceilometer-dbsync
2015-06-05 07:53:55.970 8367 CRITICAL ceilometer [-] AttributeError: 'NoneType' object has no attribute 'find'
2015-06-05 07:53:55.970 8367 TRACE ceilometer Traceback (most recent call last):
2015-06-05 07:53:55.970 8367 TRACE ceilometer File "/usr/bin/ceilometer-dbsync", line 10, in <module>
2015-06-05 07:53:55.970 8367 TRACE ceilometer sys.exit(dbsync())
2015-06-05 07:53:55.970 8367 TRACE ceilometer File "/usr/lib/python2.7/dist-packages/ceilometer/cmd/storage.py", line 30, in dbsync
2015-06-05 07:53:55.970 8367 TRACE ceilometer storage.get_connection_from_config(cfg.CONF, 'metering').upgrade()
2015-06-05 07:53:55.970 8367 TRACE ceilometer File "/usr/lib/python2.7/dist-packages/ceilometer/storage/__init__.py", line 116, in get_connection_from_config
2015-06-05 07:53:55.970 8367 TRACE ceilometer return _inner()
2015-06-05 07:53:55.970 8367 TRACE ceilometer File "/usr/lib/python2.7/dist-packages/retrying.py", line 68, in wrapped_f
2015-06-05 07:53:55.970 8367 TRACE ceilometer return Retrying(*dargs, **dkw).call(f, *args, **kw)
2015-06-05 07:53:55.970 8367 TRACE ceilometer File "/usr/lib/python2.7/dist-packages/retrying.py", line 229, in call
2015-06-05 07:53:55.970 8367 TRACE ceilometer raise attempt.get()
2015-06-05 07:53:55.970 8367 TRACE ceilometer File "/usr/lib/python2.7/dist-packages/retrying.py", line 261, in get
2015-06-05 07:53:55.970 8367 TRACE ceilometer six.reraise(self.value[0], self.value[1], self.value[2])
2015-06-05 07:53:55.970 8367 TRACE ceilometer File "/usr/lib/python2.7/dist-packages/retrying.py", line 217, in call
2015-06-05 07:53:55.970 8367 TRACE ceilometer attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
2015-06-05 07:53:55.970 8367 TRACE ceilometer File "/usr/lib/python2.7/dist-packages/ceilometer/storage/__init__.py", line 114, in _inner
2015-06-05 07:53:55.970 8367 TRACE ceilometer return get_connection(url, namespace)
2015-06-05 07:53:55.970 8367 TRACE ceilometer File "/usr/lib/python2.7/dist-packages/ceilometer/storage/__init__.py", line 121, in get_connection
2015-06-05 07:53:55.970 8367 TRACE ceilometer connection_scheme = urlparse.urlparse(url).scheme
2015-06-05 07:53:55.970 8367 TRACE ceilometer File "/usr/lib/python2.7/urlparse.py", line 143, in urlparse
2015-06-05 07:53:55.970 8367 TRACE ceilometer tuple = urlsplit(url, scheme, allow_fragments)
2015-06-05 07:53:55.970 8367 TRACE ceilometer File "/usr/lib/python2.7/urlparse.py", line 182, in urlsplit
2015-06-05 07:53:55.970 8367 TRACE ceilometer i = url.find(':')
2015-06-05 07:53:55.970 8367 TRACE ceilometer AttributeError: 'NoneType' object has no attribute 'find'
2015-06-05 07:53:55.970 8367 TRACE ceilometer
Tested against PostgreSQL 9.4.0 and MongoDB v2.6.3.
Connection string:
root at controller-1:~# cat /etc/ceilometer/ceilometer.conf |grep postgresql
backend = postgresql
connection = postgresql://ceilometer:ceilodb123@postgres-01/ceilometer
[Versioning]
root at controller-1:~# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=15.04
DISTRIB_CODENAME=vivid
DISTRIB_DESCRIPTION="Ubuntu 15.04"
root at controller-1:~# apt-cache policy ceilometer-common
ceilometer-common:
Installed: 2015.1.0-0ubuntu1
Candidate: 2015.1.0-0ubuntu1
Version table:
*** 2015.1.0-0ubuntu1 0
500 http://us.archive.ubuntu.com/ubuntu/ vivid-updates/main amd64 Packages
100 /var/lib/dpkg/status
2015.1~rc1-0ubuntu1 0
500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
root at controller-1:~# pip list | grep ceilometer
ceilometer (2015.1.0)
Bug 1421663 mentions this was fixed in ceilometer (2014.2.2-0ubuntu2)
utopic, however the issue is still present in 2015.1.0-0ubuntu1. Is this
potentially a regression?
** Affects: ceilometer (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ceilometer in Ubuntu.
https://bugs.launchpad.net/bugs/1462383
Title:
ceilometer-common with mongodb-autoreconnect.patch regression in vivid
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceilometer/+bug/1462383/+subscriptions
More information about the Ubuntu-server-bugs
mailing list