Skip to content

Metadata backup web-hook not working on schedule #8505

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

Open
dcasado opened this issue Apr 12, 2025 · 0 comments
Open

Metadata backup web-hook not working on schedule #8505

dcasado opened this issue Apr 12, 2025 · 0 comments

Comments

@dcasado
Copy link

dcasado commented Apr 12, 2025

Are you using XOA or XO from the sources?

XO from the sources

Which release channel?

None

Provide your commit number

83a69fd

Describe the bug

I have configured the web-hooks plugin to send a request on the method metadataBackup.runJob with type pre and another with the same method but type post. The problem I'm seeing is that the scheduled metadata backup that I have configured does not send any of the web-hooks. But when I run the metadata backup manually (going into the xo interface and clicking the button) both web-hooks are sent correctly.

For reference the backupNg.runJob web-hook for VM backups seems to work just fine with scheduled and manual executions.

Error message


To reproduce

  1. Create an backup job for Pool Metadata and XO Config
  2. Enable the web-hooks plugin and configure two hooks. One with method metadataBackup.runJob and type pre and another with the same method but type post.
  3. Execute it manually and check that the web-hook requests were sent.
  4. Let it execute itself on a schedule and check that the web-hook requests are not sent.

Expected behavior

I expect the web-hooks to be sent on the scheduled metadata backup and when executing the metadata backup manually.

Screenshots

Web-hooks
Image

Backup job
Image

Node

v22.14.0

Hypervisor

XCP-ng 8.3.0

Additional context

No response

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

1 participant