Check the mongodb repository is setup correctly.
The output shows el7 mongodb packages but the native dependencies (cyrus-sasl, cyrus-sasl-plain) are from el8. This suggests the system is RHEL8 but the monogdb repository configured is RHEL7, and the RHEL7 package mongodb-org-database-tools-extra does indeed have a dependency on python2