You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am creating a sysprep'd template using Packer on a Windows 2022 Datacenter build. I am installing the agent during the packer process and then using the standard "Image" approach:
I can see in the Azure Deployment that custom data is being injected here:
The issue I'm seeing is when the agent boots up, it doesn't see the C:\AzureData directory - inside teamcity-agent.log I only see this. I've manually RDP'd into the box and the AzureData directory is not there so I can rule out permission issues.
[2022-10-13 09:12:52,911] INFO - ds.azure.AzurePropertiesReader - Azure plugin initializing...
...
[2022-10-13 09:13:31,390] INFO - SpotInstanceTerminationChecker - Subscribe on Azure scheduledEvents metadata
[2022-10-13 09:13:31,390] INFO - ds.azure.AzureCustomDataReader - Azure integration is disabled. Failed to read azure custom data file C:\AzureData\CustomData.bin: C:\AzureData\CustomData.bin
I am struggling to find much documentation on the Azure customdata - when it is added and removed - but I suspect this is something to do with my image's unattend.xml setup which does an unattended domain join using Microsoft-Windows-UnattendedJoin during the specialize step.
I've run scripts during this process and still can't see the C:\AzureData folder at all. Does anyone have an idea why this is occurring?
This is obviously causing significant issues with the agents, first appearing as unauthorized and then not within the cloud agent sub-pool once authorized manually.
Environment
TeamCity version: 2021.2.2 (build 99660)
Azure plugin version: 0.9.9
Diagnostic logs
See above.
The text was updated successfully, but these errors were encountered:
Description
I am creating a sysprep'd template using Packer on a Windows 2022 Datacenter build. I am installing the agent during the packer process and then using the standard "Image" approach:
I can see in the Azure Deployment that custom data is being injected here:
The issue I'm seeing is when the agent boots up, it doesn't see the C:\AzureData directory - inside
teamcity-agent.log
I only see this. I've manually RDP'd into the box and the AzureData directory is not there so I can rule out permission issues.I am struggling to find much documentation on the Azure customdata - when it is added and removed - but I suspect this is something to do with my image's unattend.xml setup which does an unattended domain join using Microsoft-Windows-UnattendedJoin during the specialize step.
I've run scripts during this process and still can't see the C:\AzureData folder at all. Does anyone have an idea why this is occurring?
This is obviously causing significant issues with the agents, first appearing as unauthorized and then not within the cloud agent sub-pool once authorized manually.
Environment
Diagnostic logs
See above.
The text was updated successfully, but these errors were encountered: