Comment 7 for bug 1441393

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/171458
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=b69d3a0f1f70274aa55d6dae26866baa7e9d9bcd
Submitter: Jenkins
Branch: master

commit b69d3a0f1f70274aa55d6dae26866baa7e9d9bcd
Author: ZhiQiang Fan <email address hidden>
Date: Wed Apr 8 10:29:16 2015 +0800

    pymongo 3.0 breaks ci gate

    we pass safe parameter to pymongo.MongoClient but this field is
    removed in 3.0. the default value is safe=True as of pymongo>=2.4[1].
    this patch also cleans up residual ensure_index usage in tests which
    were leftover from when ttl was not native to mongodb[2]

    [1] http://emptysqua.re/blog/pymongos-new-default-safe-writes/
    [2] I3d91fb08eb51ba6cfd5256abbeca43ed98321412

    Closes-Bug: #1441393
    Change-Id: I46f6ba28a4986c1f35b726c411d0804f3bb0cbda