Skip to content

Commit 67bae5e

Browse files
Merge pull request #263641 from rpsqrd/arc-server-auto-upgrade
Removed auto agent upgrade details
2 parents 55f4f62 + f1238de commit 67bae5e

File tree

2 files changed

+2
-31
lines changed

2 files changed

+2
-31
lines changed

articles/azure-arc/servers/agent-release-notes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Download for [Windows](https://download.microsoft.com/download/f/6/4/f64c574f-d3
3434
- Agent installation and upgrades apply more restrictive permissions to the agent's data directories on Windows
3535
- Improved reliability when detecting Azure Stack HCI as a cloud provider
3636
- Removed the log zipping feature introduced in version 1.37 for extension manager and machine configuration agent logs. Log files will still be rotated automatically.
37+
- Removed the scheduled tasks for automatic agent upgrades (introduced in agent version 1.30). We will reintroduce this functionality when the automatic upgrade mechanism is available.
3738
- Resolved [Azure Connected Machine Agent Elevation of Privilege Vulnerability](https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-35624)
3839

3940
## Version 1.36 - November 2023

articles/azure-arc/servers/manage-agent.md

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -239,37 +239,7 @@ Actions of the [zypper](https://en.opensuse.org/Portal:Zypper) command, such as
239239
240240
### Automatic agent upgrades
241241
242-
The Azure Connected Machine agent will support automatic and manual upgrades of the agent, initiated by Azure, in an upcoming release. To facilitate this capability, the agent enables a scheduled task on Windows or cron job on Linux that runs daily to see if the agent should be upgraded. The scheduler job will be installed when you install agent versions 1.30 or higher. While the scheduler job is currently enabled, the complete automatic upgrade experience is not yet available, so no changes will be made to your system even if a newer version of the Azure Connected Machine agent is available.
243-
244-
To view these scheduler jobs in Windows through PowerShell, run the following command:
245-
246-
```powershell
247-
schtasks /query /TN azcmagent
248-
```
249-
250-
To view these scheduler jobs in Windows through Task Scheduler:
251-
252-
:::image type="content" source="media/manage-agent/task-scheduler.png" alt-text="Screenshot of Task Scheduler":::
253-
254-
To view these scheduler jobs in Linux, run the following command:
255-
256-
```
257-
cat /etc/cron.d/azcmagent_autoupgrade
258-
```
259-
260-
To opt-out of any future automatic upgrades or the scheduler jobs, execute the following Azure CLI commands:
261-
262-
For Windows:
263-
264-
```powershell
265-
az rest --method patch --url https://management.azure.com/subscriptions/<subscriptionId>/resourceGroups/<resourceGroup>/providers/Microsoft.HybridCompute/machines/<machineName>?api-version=2022-12-27-preview --resource https://management.azure.com/ --headers Content-Type=application/json --body '{\"properties\": {\"agentUpgrade\": {\"enableAutomaticUpgrade\": false}}}'
266-
```
267-
268-
For Linux:
269-
270-
```bash
271-
az rest --method patch --url https://management.azure.com/subscriptions/<subscriptionId>/resourceGroups/<resourceGroup>/providers/Microsoft.HybridCompute/machines/<machineName>?api-version=2022-12-27-preview --resource https://management.azure.com/ --headers Content-Type=application/json --body '{"properties": {"agentUpgrade": {"enableAutomaticUpgrade": false}}}'
272-
```
242+
The Azure Connected Machine agent doesn't automatically upgrade itself when a new version is released. You should include the latest version of the agent with your scheduled patch cycles.
273243
274244
## Renaming an Azure Arc-enabled server resource
275245

0 commit comments

Comments
 (0)