You are in for a treat of very complicated legalese:
I would urge you to avoid creating a dependency between Openstack code and
any AGPL project, including MongoDB. MongoDB is licensed in a very strange
manner that is prone to creating unintended licensing mistakes (a lawyer’s
dream). Indeed, MongoDB itself presents Apache licensed drivers – and thus
technically, users of those drivers are not impacted by the AGPL terms.
MongoDB Inc. is in the unique position to license their drivers this way
(although they appear to violate the AGPL license) since MongoDB is not
going to sue themselves for their own violation. However, others in the
community create MongoDB drivers are licensing those drivers under the
Apache and MIT licenses – which does pose a problem.
Original title and link: OpenStack and MongoDB’s AGPL license