Skip to content

Commit 89e117c

Browse files
authored
Merge pull request #224381 from b-branco/rollback
Productized rollback
2 parents 30da227 + e292359 commit 89e117c

File tree

7 files changed

+19
-33
lines changed

7 files changed

+19
-33
lines changed
-6.11 KB
Loading
10.2 KB
Loading
5.65 KB
Loading
39.2 KB
Loading

articles/private-5g-core/upgrade-packet-core-arm-template.md

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -125,32 +125,20 @@ Once the upgrade completes, check if your deployment is operating normally.
125125

126126
If you encountered issues after the upgrade, you can roll back the packet core instance to the previous version.
127127

128-
Note that any configuration you set while your packet core instance was running a newer version will be lost if you roll back to a version that doesn't support this configuration. Check the packet core release notes for information on when new features were introduced.
128+
In this step, you'll roll back your packet core using a REST API request. Follow [Rollback - Azure portal](upgrade-packet-core-azure-portal.md#rollback) if you want to roll back using the Azure portal instead.
129+
130+
If any of the configuration you set while your packet core instance was running a newer version isn't supported in the version that you want to roll back to, you'll need to revert to the previous configuration before you're able to perform a rollback. Check the packet core release notes for information on when new features were introduced.
129131

130132
> [!NOTE]
131-
> You can roll back your packet core instance to version [PMN-4-18-0](azure-private-5g-core-release-notes-2210.md) or later.
133+
> You can roll back your packet core instance to version [PMN-2211-0](azure-private-5g-core-release-notes-2211.md) or later.
132134
133135
1. Ensure you have a backup of your deployment information. If you need to back up again, follow [Back up deployment information](#back-up-deployment-information).
134-
1. Select the following link to sign in to Azure and open the template.
135-
136-
[![Deploy to Azure.](../media/template-deployments/deploy-to-azure.svg)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2Fquickstarts%2Fmicrosoft.mobilenetwork%2Fmobilenetwork-update-packet-core-control-plane%2Fazuredeploy.json/createUIDefinitionUri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2Fquickstarts%2Fmicrosoft.mobilenetwork%2Fmobilenetwork-update-packet-core-control-plane%2FcreateUiDefinition.json)
137-
138-
1. Select or enter the following values, using the information you retrieved in [Prerequisites](#prerequisites).
139-
140-
- **Subscription:** select the Azure subscription you used to create your private mobile network.
141-
- **Resource group:** select the resource group containing the mobile network resource representing your private mobile network.
142-
- **Region:** select **East US**.
143-
- **Existing packet core:** select the name of the packet core instance you want to upgrade.
144-
- **New version:** enter the packet core version you want to downgrade to. This value can be version PMN-4-18-0 or later.
145-
146-
:::image type="content" source="media/upgrade-packet-core-arm-template/upgrade-arm-template-configuration-fields.png" alt-text="Screenshot of the Azure portal showing the configuration fields for the upgrade ARM template.":::
147-
148-
1. Select **Review + create**.
149-
1. Azure will now validate the configuration values you've entered. You should see a message indicating that your values have passed validation.
150-
151-
If the validation fails, you'll see an error message and the **Configuration** tab(s) containing the invalid configuration will be flagged. Select the flagged tab(s) and use the error messages to correct invalid configuration before returning to the **Review + create** tab.
136+
1. Perform a [rollback POST request](/rest/api/mobilenetwork/packet-core-control-planes/rollback?tabs=HTTP).
137+
138+
> [!TIP]
139+
> For more information on how to use REST APIs, see [Azure REST API reference](/rest/api/azure/).
152140
153-
1. Once your configuration has been validated, select **Create** to upgrade the packet core instance. The Azure portal will display a confirmation screen when the packet core instance has been downgraded.
141+
1. Follow the steps in [Restore backed up deployment information](#restore-backed-up-deployment-information) to reconfigure your deployment.
154142
1. Follow the steps in [Verify upgrade](#verify-upgrade) to check if the rollback was successful.
155143

156144
## Next steps

articles/private-5g-core/upgrade-packet-core-azure-portal.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -114,28 +114,26 @@ Once the upgrade completes, check if your deployment is operating normally.
114114

115115
## Rollback
116116

117-
If you encountered issues after the upgrade, you can roll back the packet core instance to a previous version.
117+
If you encountered issues after the upgrade, you can roll back the packet core instance to the version you were previously running.
118118

119-
Note that any configuration you set while your packet core instance was running a newer version will be lost if you roll back to a version that doesn't support this configuration. Check the packet core release notes for information on when new features were introduced.
119+
If any of the configuration you set while your packet core instance was running a newer version isn't supported in the version that you want to roll back to, you'll need to revert to the previous configuration before you're able to perform a rollback. Check the packet core release notes for information on when new features were introduced.
120120

121121
> [!NOTE]
122-
> You can roll back your packet core instance to version [PMN-4-18-0](azure-private-5g-core-release-notes-2210.md) or later.
122+
> You can roll back your packet core instance to version [PMN-2211-0](azure-private-5g-core-release-notes-2211.md) or later.
123123
124124
1. Ensure you have a backup of your deployment information. If you need to back up again, follow [Back up deployment information](#back-up-deployment-information).
125125
1. Navigate to the **Packet Core Control Plane** resource that you want to roll back as described in [View the current packet core version](#view-the-current-packet-core-version).
126-
1. Select **Upgrade version**.
127-
128-
:::image type="content" source="media/upgrade-packet-core-azure-portal/upgrade-version.png" alt-text="Screenshot of the Azure portal showing the Upgrade version option.":::
126+
1. Select **Rollback version**.
129127

130-
1. From the **New version** list, select the packet core version you want to downgrade to.
128+
:::image type="content" source="media/upgrade-packet-core-azure-portal/roll-back-packet-core.png" alt-text="Screenshot of the Azure portal showing the Rollback version option.":::
131129

132-
:::image type="content" source="media/upgrade-packet-core-azure-portal/downgrade-packet-core-version.png" alt-text="Screenshot of the Azure portal showing the New version field on the Upgrade packet core version screen. A down-level version is selected.":::
130+
1. In the **Roll back packet core** screen on the right, in the **Confirm rollback** field, type **yes**.
133131

134-
1. Select **Modify**.
135-
1. Azure will now redeploy the packet core instance at the new software version. The Azure portal will display the following confirmation screen when this deployment is complete.
136-
137-
:::image type="content" source="media/site-deployment-complete.png" alt-text="Screenshot of the Azure portal showing the confirmation of a successful deployment of a packet core instance.":::
132+
:::image type="content" source="media/upgrade-packet-core-azure-portal/confirm-rollback.png" alt-text="Screenshot of the Azure portal showing the Confirm rollback field in the Rollback packet core screen.":::
138133

134+
1. Select **Roll back packet core**.
135+
1. Azure will now redeploy the packet core instance at the new software version. You can check the latest status of the rollback by looking at the **Packet core installation state** field. The **Packet Core Control Plane** resource's overview page will refresh every 20 seconds, and you can select **Refresh** to trigger a manual update. The **Packet core installation state** field will show as **RollingBack** during the rollback and update to **Installed** when the process completes.
136+
1. Follow the steps in [Restore backed up deployment information](#restore-backed-up-deployment-information) to reconfigure your deployment.
139137
1. Follow the steps in [Verify upgrade](#verify-upgrade) to check if the rollback was successful.
140138

141139
## Next steps

0 commit comments

Comments
 (0)