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

[AWXMeshIngress] Adding new instance that has AWXMeshIngress node as peer causes 400 error #14679

Closed
5 of 11 tasks
kurokobo opened this issue Nov 21, 2023 · 1 comment
Closed
5 of 11 tasks

Comments

@kurokobo
Copy link
Contributor

Please confirm the following

  • I agree to follow this project's code of conduct.
  • I have checked the current issues for duplicates.
  • I understand that AWX is open source software provided for free and that I might not receive a timely response.
  • I am NOT reporting a (potential) security vulnerability. (These should be emailed to security@ansible.com instead.)

Bug Summary

image

Cannot add new instance that has internal hop node as peer. Seems the API does not support it yet.

AWX version

feature_awx-mesh-ingress

Select the relevant components

  • UI
  • UI (tech preview)
  • API
  • Docs
  • Collection
  • CLI
  • Other

Installation method

kubernetes

Modifications

no

Ansible version

No response

Operating system

No response

Web browser

No response

Steps to reproduce

  1. Deploy AWX in branch feature_awx-mesh-ingress using AWX Operator in branch feature_awx-mesh-ingress
  2. Deploy AWXMeshIngress CR
  3. Add new instance that has internal hop node as peer

Expected results

New instance can be added

Actual results

Got 400 error with the body {"peers":["Incorrect type. Expected pk value, received str."]}

Request payload

{"hostname":"exec01.ansible.internal","description":"","node_type":"execution","node_state":"installed","listener_port":27199,"enabled":true,"managed_by_policy":true,"peers_from_control_nodes":false,"peers":["awxmeshingress"]}

Response

{"peers":["Incorrect type. Expected pk value, received str."]}

Additional information

No response

@kurokobo
Copy link
Contributor Author

Solved in #14640

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants