|
1 | 1 | --- |
2 | | -title: Troubleshoot connectivity and registration for SUSE SLES VMs |
| 2 | +title: Troubleshoot Connectivity and Registration for SUSE SLES VMs |
3 | 3 | description: Troubleshoot scenarios in which an Azure VM that has a SUSE Linux Enterprise Server image can't connect to the SUSE Subscription Management Tool (SMT) repository. |
4 | 4 | ms.date: 05/12/2025 |
5 | 5 | author: rnirek |
@@ -144,7 +144,7 @@ The output doesn't show the server certificate or SSL session. |
144 | 144 |
|
145 | 145 | This scenario usually occurs when the command crosses a Network Virtual Appliance (NVA) that performs SSL packet inspection. This inspection causes the NVA to inject its own SSL certificate into the encrypted session. |
146 | 146 |
|
147 | | -Because SUSE uses certificate pinning, another injected SSL certificate can break the pinning operation. If the pinning is broken, the SUSE repository will deny the connection. |
| 147 | +Because SUSE uses certificate pinning, another injected SSL certificate can break the pinning operation. If the pinning is broken, the SUSE repository denies the connection. |
148 | 148 |
|
149 | 149 | ### Resolution |
150 | 150 |
|
@@ -200,27 +200,32 @@ sudo tail /var/log/cloudregister |
200 | 200 | 2025-01-29 20:20:06,917 ERROR:No response from: [('23.101.171.119', '2603:1030:603::2e9'), ('23.101.164.199', '2603:1030:603::625'), ('23.96.231.74', '2603:1030:603::2e6')] |
201 | 201 | ``` |
202 | 202 |
|
203 | | -The output indicates that a connectivity error exists. However, this is not true. This indication occurs because the error handling process in the registration scripts doesn't show the certificate errors from the old libraries. |
| 203 | +The output indicates that a connectivity error exists. However, this indication isn't true. It occurs because the error handling process in the registration scripts doesn't show the certificate errors from the old libraries. |
204 | 204 |
|
205 | | -The script output might also mistakenly indicate that a certificate for one of the SMT IPs that's displayed in the `sudo tail /var/log/cloudregister` command output can't be found. This is also a library issue, not an issue that affects the CA list on the VM. |
| 205 | +The script output might also mistakenly indicate that a certificate for one of the SMT IPs that's displayed in the `sudo tail /var/log/cloudregister` command output can't be found. This issue is also a library issue, not one that affects the CA list on the VM. |
206 | 206 |
|
207 | 207 | ### Cause |
208 | 208 |
|
209 | 209 | If instances aren't regularly updated, they can become incompatible with our update infrastructure API. This situation causes failure of the repositories that are required to update an instance. |
210 | 210 |
|
211 | 211 | ### Resolution |
212 | 212 |
|
213 | | -1. Create a PAYG instance by using the same OS as the that has broken repos. |
| 213 | +1. Create a PAYG instance by using the same OS as the one that has the broken repos. |
214 | 214 | 2. Create a temporary directory: |
215 | 215 |
|
216 | 216 | ```bash |
217 | 217 | sudo mkdir -p /root/packages/rpms |
218 | 218 | ``` |
219 | | -3. Download the following packages: |
| 219 | +3. Download the following packages based on SLES versions of the affected VM: |
220 | 220 |
|
221 | | - ```bash |
222 | | - sudo zypper --pkg-cache-dir /root/packages/ download cloud-regionsrv-client cloud-regionsrv-client-plugin-azure regionServiceClientConfigAzure python3-azuremetadata SUSEConnect python3-cssselect python3-toml python3-lxml python3-M2Crypto python3-zypp-plugin libsuseconnect suseconnect-ruby-bindings docker libcontainers-common containerd libcontainers-sles-mounts runc |
223 | | - ``` |
| 221 | + SLES 12 |
| 222 | + ```bash |
| 223 | + sudo zypper --pkg-cache-dir /root/packages/ download cloud-regionsrv-client cloud-regionsrv-client-plugin-azure regionServiceClientConfigAzure python3-azuremetadata python3-cssselect python3-lxml python3-M2Crypto python3-zypp-plugin python3-dnspython suseconnect-ruby-bindings suseconnect-ng |
| 224 | + ``` |
| 225 | + SLES 15 |
| 226 | + ```bash |
| 227 | + sudo zypper --pkg-cache-dir /root/packages/ download cloud-regionsrv-client cloud-regionsrv-client-plugin-azure regionServiceClientConfigAzure python3-azuremetadata suseconnect-ng python3-cssselect python3-toml python3-lxml python3-M2Crypto python3-zypp-plugin python3-dnspython libsuseconnect suseconnect-ruby-bindings docker docker-bash-completion runc containerd libcontainers-common bash-completion |
| 228 | + ``` |
224 | 229 | 4. Run the following commands: |
225 | 230 |
|
226 | 231 | ```bash |
@@ -308,7 +313,7 @@ Error: Activating SLES_SAP 12.5 x86_64 ... Error: Registration server returned ' |
308 | 313 |
|
309 | 314 | ### Cause |
310 | 315 |
|
311 | | -The VMs can't to connect to SUSE repositories because of outdated SUSE Public Cloud packages. |
| 316 | +The VMs can't connect to SUSE repositories because of outdated SUSE Public Cloud packages. |
312 | 317 |
|
313 | 318 | ### Resolution |
314 | 319 |
|
|
0 commit comments