Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x509 tests issue - Cannot create an x.509 user with a subjectname that would be recognized as an internal cluster member, #626

Open
rhysmeister opened this issue Feb 4, 2024 · 0 comments
Labels
bug This issue/PR relates to a bug. help wanted

Comments

@rhysmeister
Copy link
Collaborator

SUMMARY

x509 auth tests fail on MongoDB 7.0 with-...

TASK [mongodb_user : Adding superuser] *****************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: pymongo.errors.OperationFailure: Cannot create an x.509 user with a subjectname that would be recognized as an internal cluster member, full error: {'ok': 0.0, 'errmsg': 'Cannot create an x.509 user with a subjectname that would be recognized as an internal cluster member', 'code': 2, 'codeName': 'BadValue'}
fatal: [testhost]: FAILED! => {"changed": false, "msg": "Unable to add or update user: Cannot create an x.509 user with a subjectname that would be recognized as an internal cluster member, full error: {'ok': 0.0, 'errmsg': 'Cannot create an x.509 user with a subjectname that would be recognized as an internal cluster member', 'code': 2, 'codeName': 'BadValue'}"}

Relevant file: tests/integration/targets/mongodb_user/tasks/421.yml

https://github.com/ansible-collections/community.mongodb/actions/runs/7775404578/job/21201357371?pr=624
https://www.mongodb.com/community/forums/t/cannot-create-an-x-509-user-with-a-subjectname-that-would-be-recognized-as-an-internal-cluster-member/15465/3

For now I will skip these for MongoDB 7

ISSUE TYPE
  • Bug Report
COMPONENT NAME

mongodb_user tests - see file 421.yml

@rhysmeister rhysmeister added bug This issue/PR relates to a bug. help wanted labels Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue/PR relates to a bug. help wanted
Projects
None yet
Development

No branches or pull requests

1 participant