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

Cloud-config stops working if some XOA templating functionality is used #268

Open
Johnsel opened this issue Oct 5, 2023 · 0 comments
Open

Comments

@Johnsel
Copy link

Johnsel commented Oct 5, 2023

Hi,

I have spent a few hours trying to figure out why our config from 12 months ago stopped working.
We left the project aside for a little while and have since updated XCP-ng and XOA. It looked like there were changes in either or both made that caused the inline cloud-config to stop executing.

After setting up a local lab installation of XCP-ng and XOA I was able to find out that latest XOA could not set cloud-config on XCP-ng at all, but updating to the latest XCP-ng fixes this issue. I found a thread (which I unfortunately can't find back now that I am writing this bug report) that said to remove the XOA based hostname template "hostname: {name}%" as a diagnostic/workaround action.

I set the hostname of our cloud-config to a static hostname and with all components fully updated (XCP-ng, XOA, terraform-provider-xenorchestra) it started running the cloud-config again. I suspect there were changes made to xo-server to accomodate something relating to XCP-ng core components and that these changes need to be applied in the terraform provider as well.

Sorry I can't be more specific. The whole xen/xcp-ng/xoa/terraform stack is pretty involved and I am not very familiar with it's logging/debug functionality. I also don't have admin on the target cluster, so it's hard for me to get logs without setting up a local lab again. Hopefully this is enough information to pinpoint the issue or to ask the relevant people upstream.

Best regards,

John Simons

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

No branches or pull requests

1 participant