MongoDB PyMongo username/password warnings occur when running tests
Bug #1210674 reported by
Terri Yu
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
Undecided
|
Mehdi Abaakouk |
Bug Description
When I run the Ceilometer tests, they pass, but I get several hundred MongoDB/PyMongo username/password warnings saying:
/opt/stack/
The resulting output from running "tox -e py27" is attached in a file to this report.
Changed in ceilometer: | |
assignee: | nobody → Chmouel Boudjnah (chmouel) |
Changed in ceilometer: | |
assignee: | Chmouel Boudjnah (chmouel) → Mehdi Abaakouk (sileht) |
status: | New → In Progress |
Changed in ceilometer: | |
milestone: | none → havana-3 |
status: | Fix Committed → Fix Released |
Changed in ceilometer: | |
milestone: | havana-3 → 2013.2 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/41719 github. com/openstack/ ceilometer/ commit/ 9f37e22c4791de6 e0788742fed4f65 7c626b98d5
Committed: http://
Submitter: Jenkins
Branch: master
commit 9f37e22c4791de6 e0788742fed4f65 7c626b98d5
Author: Mehdi Abaakouk <email address hidden>
Date: Tue Aug 13 18:09:55 2013 +0200
Remove the mongo auth warning during tests
pymongo print a warning on each mongodb connection because the url used
in tests don't have credentials, since all mongodb tests are running in
a different mongodb databases, this print many annoying line like this one:
UserWarning: database name or authSource in URI is being ignored. If you 90d94586954643e 8811d5ecc6bacf9 12, you
wish to authenticate to ceilometer_
must provide a username and password.
This change suppress this line during testing.
Fixes bug #1210674
Change-Id: Iecabca621c2fba f15e644f2fca66b 4e3b5bd04e7