-
Notifications
You must be signed in to change notification settings - Fork 111
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
Unable to create event stream for the correct event type #358
Comments
Hello @ecchong |
Hmm. If I post to the EDA API directly with the same EDA credential, the event stream is created with the correct type. For example
I would expect the same problem if this is an error on the EDA backend. The EDA credential is created directly on the console with credential type "Basic Event Stream". What version of EDA backend are expecting to assign the type? May be we should not ignore "event_stream_type" parameter yet. |
It still might be an issue of the backend, the event_stream_type should not be passed. Anyway, I would still need all the steps to reproduce the issue, it means how the credential was created. If both, credential and event stream were created with a playbook, please can you provide it? |
For example, this playbook created the Basic Event Stream credential "dummy credential", but the event stream "dummy" is created with type "Hmac"
|
I see the same problem. Credential has type basic event stream, and is created correctly. Event stream created (ansible.eda.event_stream) has type hmac instead of basic event stream. Creating the event stream manually yields the correct result, with the collection, the even stream always ends up with type hmac |
Hello @wzzrd @ecchong I can not reproduce the problem with the latest stream of eda collection and eda server.
Looking at your example I believe you are working with a commercial subscription of Ansible Automation Platform and very probably the next upgrade will include the version fixed. |
Please confirm the following
Bug Summary
Trying to create a event stream of Basic Event Stream type with a credential of Basic Event Stream credential type
The create event stream is of type Hmac. Specifing the "event_stream_type" does not help, since it is ignored according to doc.
Environment
AAP 2.5
Steps to reproduce
Run playbook with task
Actual results
Event stream created with "Hmac" type
Expected results
Event stream created with type of assigned event stream credential. In this case "Basic Event Stream"
Additional information
No response
The text was updated successfully, but these errors were encountered: