Skip to content

Commit 56a53ce

Browse files
authored
Merge pull request #3 from markingmyname/235829
235829
2 parents 4b78c16 + 53927b9 commit 56a53ce

File tree

3 files changed

+23
-37
lines changed

3 files changed

+23
-37
lines changed
Lines changed: 23 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,101 +1,87 @@
11
---
22
title: "Common errors and special scenarios for PostgreSQL Single Server to Flexible using the FMS migration tool"
3-
titleSuffix:
43
description: Common errors and special scenarios for PostgreSQL Single Server to Flexible using the FMS migration tool.
54
author: harmeet-singh
65
ms.author: hasingh
6+
ms.reviewer: maghan
7+
ms.date: 05/01/2023
78
ms.service: postgresql
89
ms.topic: conceptual
9-
ms.date: 04/25/2023
10-
ms.custom:
1110
---
12-
1311
# Common errors and special scenarios for PostgreSQL Single Server to Flexible using the FMS migration tool.
1412

1513
## Custom DNS
1614

1715
- Error message
1816
Connecting to the Source DB server failed. ErrorMessage: Validation of one or more databases failed to run `select 1;` with exception 28000: The public network access on this server is disabled. Use the Private Endpoint inside your virtual network to connect to this server.
19-
17+
2018
- Root Cause
21-
19+
2220
The VNet is, by default, not enabled for outbound connections when we use CustomDNS. Migration makes outbound calls, which cause the failure.
23-
21+
2422
- Mitigation/Resolution
25-
23+
2624
While Microsoft is working on a fix as part of the product, customers can use one of the following mitigations to unblock:
2725
Temporarily enable the public network access on the server
2826
OR
2927
Reach out to Microsoft, and we enable the server for outbound connections for the selected DNS addresses.
30-
31-
## Allow-listing extensions
28+
29+
## Allow-list extensions
3230

3331
- Symptom
3432
Error message appears as "Extensions plpgsql, pg_stat_statements, pg_buffercache aren't allowlisted on target server" or
35-
36-
:::image type="content" source="media/common-errors-and-special-scenarios-fms/allow-list-extensions.png" alt-text="Scenario for allow listing extensions":::
37-
38-
- Root Cause
39-
40-
The flexible server doesn't have extensions allow-listed by default and has to be manually allow-listed before migration/use.
41-
42-
- Mitigation/Resolution
43-
44-
Customers need to go to the server parameters of the flexible server and allowlist all the extensions they intend to use. At least the ones mentioned in the error message should be allowed to be listed.
4533

46-
## Migrations with TimescaleDB extension
34+
:::image type="content" source="media/common-errors-and-special-scenarios-fms/allow-list-extensions-common-errors-postgresql.png" alt-text="Screenshot of scenario for allow listing extensions" lightbox="media/common-errors-and-special-scenarios-fms/allow-list-extensions-common-errors-postgresql.png":::
4735

48-
- Error Message
49-
EX001: Extension creation failed for one or more extensions:
50-
Failed to run `CREATE EXTENSION IF NOT EXISTS "{0}" CASCADE;` with exception XX000: extension "timescaledb" must be preloaded.
51-
5236
- Root Cause
53-
54-
<!-- TBA -->
37+
38+
The flexible server doesn't have extensions allow-listed by default and has to be manually allow-listed before migration/use.
5539

5640
- Mitigation/Resolution
57-
58-
<!-- TBA -->
41+
42+
Customers need to go to the server parameters of the flexible server and allowlist all the extensions they intend to use. At least the ones mentioned in the error message should be allowed to be listed.
5943

6044
## No pg_hba.conf entry for host
6145

6246
- Error Message
6347
Connecting to the Source DB server failed. ErrorMessage: Validation of one or more databases failed. Failed to run `select 1;` with exception 28000: no pg_hba.conf entry for host "xx.xx.xx.xx", the user "username," database "postgres," SSL on Parameter name: SourceDBServerResourceId.
6448

6549
- Root Cause
66-
50+
6751
The IP address isn't added to the firewall rules.
6852

6953
- Mitigation/Resolution
70-
54+
7155
Add IP addresses in the Firewall rules in the Networking tab of the Flex Server.
7256

57+
:::image type="content" source="media/common-errors-and-special-scenarios-fms/ip-addresses-common-errors-postgresql.png" alt-text="Screenshot of ip addresses" lightbox="media/common-errors-and-special-scenarios-fms/ip-addresses-common-errors-postgresql.png":::
58+
7359
## Migration to Flex server with Burtsable SKU isn't Supported
7460

7561
- Error Message
7662
Migration to Flex server with Burtsable SKU isn't Supported.
7763

7864
- Root Cause
79-
65+
8066
By Design.
8167

8268
- Mitigation/Resolution
83-
69+
8470
Change the flexible server from Burstable to General Purpose or Memory Optimized by going to compute + storage tab on the left menu.
85-
71+
8672
## Cross-region migration isn't supported
8773

8874
- Error Message
8975
Cross-region migration isn't supported.
9076

9177
- Root Cause
92-
78+
9379
By Design.
9480

9581
- Mitigation/Resolution
96-
82+
9783
This feature is coming soon; in the meantime, only migrations within servers of the same region are supported.
9884

9985
## Next steps
10086

101-
- [Migration tool](concepts-single-to-flexible.md)
87+
- [Migration tool](concepts-single-to-flexible.md)

0 commit comments

Comments
 (0)