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

bug: Error logs when combining generators and resource manager #5055

Open
BaptisteGi opened this issue Nov 26, 2024 · 1 comment
Open

bug: Error logs when combining generators and resource manager #5055

BaptisteGi opened this issue Nov 26, 2024 · 1 comment
Labels
group/backend Issue related to the backend (API Server, Git Agent) type/bug Something isn't working as expected

Comments

@BaptisteGi
Copy link
Contributor

BaptisteGi commented Nov 26, 2024

Component

API Server / GraphQL

Infrahub version

1.0.7

Current Behavior

When I merge a branch where operations from a generator + resource manager occurred, I have multiple error log messages.

Encountered exception during execution: RuntimeError('read() called while another coroutine is already waiting for incoming data')

Encountered exception during execution: NodeNotFoundError('Unable to find the node in the database.')

Expected Behavior

I expect no errors in the logs

Steps to Reproduce

To reproduce:

  • Invoke dev.start + load demo schema + data
  • Create group 'automated_sites'
  • Add this schema [https://github.com/opsmill/workshop-generators-20241111/blob/main/schemas/site-extension.yml|https://github.com/opsmill/workshop-generators-20241111/blob/main/schemas/site-extension.yml]
  • Add readonly repo
  • [https://github.com/opsmill/workshop-generators-20241111/tree/main|https://github.com/opsmill/workshop-generators-20241111/tree/main]
  • ref: 22d941958ebee5e6bfdaa6201cba96da8cc0f914
  • creds

then when the repo is synced:

  • Create a branch
  • Create a site
  • name = something
  • design = ha
  • building block = Cisco WS-C3650-24PD-S
  • Add site to group automated_sites
  • Create a proposed change
  • Wait for the generator to create the data
  • Merge the proposed change into main
    => Should create these logs in worker (edited)

Additional Information

No response

@BaptisteGi BaptisteGi added the type/bug Something isn't working as expected label Nov 26, 2024
@dgarros dgarros added the group/backend Issue related to the backend (API Server, Git Agent) label Nov 30, 2024
@dgarros
Copy link
Collaborator

dgarros commented Nov 30, 2024

Should be fixed by #5069

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
group/backend Issue related to the backend (API Server, Git Agent) type/bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

3 participants