Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2023-02-21 #3656

Merged
merged 43 commits into from
Feb 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
a5ce2b5
Add debug messages around timeline.get_current_logical_size
lubennikovaav Feb 14, 2023
a839860
Add debug messages around sending cached metrics
lubennikovaav Feb 14, 2023
a974602
fix the logical size term definition (#3609)
stepashka Feb 15, 2023
1d9d7c0
[proxy] Don't forward empty `options` to compute nodes
funbringer Feb 15, 2023
7b182e2
Update settings.md with latest PITR and gc period values (#3618)
shanyp Feb 16, 2023
ddbdcdd
Tenant size calculation: refactor, rewrite, and add SVG (#2817)
hlinnaka Feb 16, 2023
7991bd3
Fix periodic metric sending: don't reset timer on every iteration (#3…
lubennikovaav Feb 16, 2023
5082d84
Compile pgjwt extension
vadim2404 Feb 14, 2023
f0b41e7
Propose less verbose way to build neon (#3624)
Feb 16, 2023
0cf7fd0
Compaction with on-demand download (#3598)
koivunej Feb 16, 2023
d9ba3c5
Revert "Add debug messages around timeline.get_current_logical_size"
lubennikovaav Feb 16, 2023
6139e8e
Revert "Add debug messages around sending cached metrics"
lubennikovaav Feb 16, 2023
0d3aefb
Only use active timelines in synthetic_size calculation
lubennikovaav Feb 16, 2023
d9c518b
Refactor use_cleartext_password_flow.
hlinnaka Feb 7, 2023
edffe0d
Extract password hack & cleartext hack
funbringer Feb 15, 2023
a4d5c80
Move hacks to a dedicated module.
funbringer Feb 15, 2023
a1b0621
Do not deploy storage to old account (#3630)
SergeyMelnikov Feb 16, 2023
526f8b7
Bump werkzeug from 2.1.2 to 2.2.3 (#3631)
bayandin Feb 17, 2023
501702b
fix: flaky test_compaction_downloads_on_demand_with_image_creation (#…
koivunej Feb 17, 2023
ae3eff1
Tracing panic hook (#3475)
koivunej Feb 17, 2023
8e6b27b
fix: avoid busy loop on replacement failure (#3613)
koivunej Feb 17, 2023
6f9af0a
[proxy] Enable OpenTelemetry tracing.
hlinnaka Jan 26, 2023
956b6f1
[proxy] Handle some unix signals.
funbringer Feb 17, 2023
d90cd36
[proxy] Improve tracing spans here and there.
funbringer Feb 17, 2023
b242b0a
Fix flaky tests (#3616)
knizhnik Feb 17, 2023
40799d8
Add debug messages to catch abnormal consumption metric values
lubennikovaav Feb 17, 2023
53128d5
Fix make clean:
lubennikovaav Feb 17, 2023
8d28a24
staging: enable automatic layer eviction at 20m threshold + period (#…
problame Feb 17, 2023
564fa11
Update Postgres extensions (#3615)
bayandin Feb 17, 2023
2153d2e
Run compute_ctl in a cgroup in VMs (#3577)
sharnoff Feb 17, 2023
af210c8
Allow running do_gc in non testing env (#3639)
shanyp Feb 20, 2023
8f55747
Add new safekeeper to ap-southeast-1 prod (#3645)
petuhovskiy Feb 20, 2023
d5d690c
Use fqdn for staging console management API (#3642)
SergeyMelnikov Feb 20, 2023
e363911
timeline: propagate span to download_remote_layer (#3644)
problame Feb 20, 2023
ee1eda9
eviction: remove EvictionStats::not_considered_due_to_clock_skew
problame Feb 20, 2023
485b269
eviction: tone down logs to debug!() level if there were no evictions
problame Feb 20, 2023
e3d7587
Use fqdn to access console management API on production (#3651)
SergeyMelnikov Feb 20, 2023
bc7d3c6
docs: add dependency requirements for arch based systems (#3588)
kashw2 Feb 20, 2023
d7d3f45
Use tracing panic hook in all binaries (#3634)
koivunej Feb 21, 2023
5c5b03c
Compile xml2 extension
vadim2404 Feb 20, 2023
7de3732
Warn when background tasks exceed their configured period (#3654)
koivunej Feb 21, 2023
b220ba6
add random init delay for background tasks (#3655)
koivunej Feb 21, 2023
6508540
Merge branch 'release' into releases/2023-02-21
vadim2404 Feb 21, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@
!workspace_hack/
!neon_local/
!scripts/ninstall.sh
!vm-cgconfig.conf
4 changes: 2 additions & 2 deletions .github/ansible/prod.ap-southeast-1.hosts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ storage:
vars:
bucket_name: neon-prod-storage-ap-southeast-1
bucket_region: ap-southeast-1
console_mgmt_base_url: http://console-release.local
console_mgmt_base_url: http://neon-internal-api.aws.neon.tech
broker_endpoint: http://storage-broker-lb.epsilon.ap-southeast-1.internal.aws.neon.tech:50051
pageserver_config_stub:
pg_distrib_dir: /usr/local
metric_collection_endpoint: http://console-release.local/billing/api/v1/usage_events
metric_collection_endpoint: http://neon-internal-api.aws.neon.tech/billing/api/v1/usage_events
metric_collection_interval: 10min
remote_storage:
bucket_name: "{{ bucket_name }}"
Expand Down
4 changes: 2 additions & 2 deletions .github/ansible/prod.eu-central-1.hosts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ storage:
vars:
bucket_name: neon-prod-storage-eu-central-1
bucket_region: eu-central-1
console_mgmt_base_url: http://console-release.local
console_mgmt_base_url: http://neon-internal-api.aws.neon.tech
broker_endpoint: http://storage-broker-lb.gamma.eu-central-1.internal.aws.neon.tech:50051
pageserver_config_stub:
pg_distrib_dir: /usr/local
metric_collection_endpoint: http://console-release.local/billing/api/v1/usage_events
metric_collection_endpoint: http://neon-internal-api.aws.neon.tech/billing/api/v1/usage_events
metric_collection_interval: 10min
remote_storage:
bucket_name: "{{ bucket_name }}"
Expand Down
4 changes: 2 additions & 2 deletions .github/ansible/prod.us-east-2.hosts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ storage:
vars:
bucket_name: neon-prod-storage-us-east-2
bucket_region: us-east-2
console_mgmt_base_url: http://console-release.local
console_mgmt_base_url: http://neon-internal-api.aws.neon.tech
broker_endpoint: http://storage-broker-lb.delta.us-east-2.internal.aws.neon.tech:50051
pageserver_config_stub:
pg_distrib_dir: /usr/local
metric_collection_endpoint: http://console-release.local/billing/api/v1/usage_events
metric_collection_endpoint: http://neon-internal-api.aws.neon.tech/billing/api/v1/usage_events
metric_collection_interval: 10min
remote_storage:
bucket_name: "{{ bucket_name }}"
Expand Down
4 changes: 2 additions & 2 deletions .github/ansible/prod.us-west-2.hosts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ storage:
vars:
bucket_name: neon-prod-storage-us-west-2
bucket_region: us-west-2
console_mgmt_base_url: http://console-release.local
console_mgmt_base_url: http://neon-internal-api.aws.neon.tech
broker_endpoint: http://storage-broker-lb.eta.us-west-2.internal.aws.neon.tech:50051
pageserver_config_stub:
pg_distrib_dir: /usr/local
metric_collection_endpoint: http://console-release.local/billing/api/v1/usage_events
metric_collection_endpoint: http://neon-internal-api.aws.neon.tech/billing/api/v1/usage_events
metric_collection_interval: 10min
remote_storage:
bucket_name: "{{ bucket_name }}"
Expand Down
40 changes: 0 additions & 40 deletions .github/ansible/production.hosts.yaml

This file was deleted.

9 changes: 7 additions & 2 deletions .github/ansible/staging.eu-west-1.hosts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,17 @@ storage:
vars:
bucket_name: neon-dev-storage-eu-west-1
bucket_region: eu-west-1
console_mgmt_base_url: http://console-staging.local
console_mgmt_base_url: http://neon-internal-api.aws.neon.build
broker_endpoint: http://storage-broker-lb.zeta.eu-west-1.internal.aws.neon.build:50051
pageserver_config_stub:
pg_distrib_dir: /usr/local
metric_collection_endpoint: http://console-staging.local/billing/api/v1/usage_events
metric_collection_endpoint: http://neon-internal-api.aws.neon.build/billing/api/v1/usage_events
metric_collection_interval: 10min
tenant_config:
eviction_policy:
kind: "LayerAccessThreshold"
period: "20m"
threshold: "20m"
remote_storage:
bucket_name: "{{ bucket_name }}"
bucket_region: "{{ bucket_region }}"
Expand Down
9 changes: 7 additions & 2 deletions .github/ansible/staging.us-east-2.hosts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,17 @@ storage:
vars:
bucket_name: neon-staging-storage-us-east-2
bucket_region: us-east-2
console_mgmt_base_url: http://console-staging.local
console_mgmt_base_url: http://neon-internal-api.aws.neon.build
broker_endpoint: http://storage-broker-lb.beta.us-east-2.internal.aws.neon.build:50051
pageserver_config_stub:
pg_distrib_dir: /usr/local
metric_collection_endpoint: http://console-staging.local/billing/api/v1/usage_events
metric_collection_endpoint: http://neon-internal-api.aws.neon.build/billing/api/v1/usage_events
metric_collection_interval: 10min
tenant_config:
eviction_policy:
kind: "LayerAccessThreshold"
period: "20m"
threshold: "20m"
remote_storage:
bucket_name: "{{ bucket_name }}"
bucket_region: "{{ bucket_region }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ image:

settings:
authBackend: "console"
authEndpoint: "http://console-staging.local/management/api/v2"
authEndpoint: "http://neon-internal-api.aws.neon.build/management/api/v2"
domain: "*.eu-west-1.aws.neon.build"
sentryEnvironment: "staging"
wssPort: 8443
metricCollectionEndpoint: "http://console-staging.local/billing/api/v1/usage_events"
metricCollectionEndpoint: "http://neon-internal-api.aws.neon.build/billing/api/v1/usage_events"
metricCollectionInterval: "1min"

# -- Additional labels for neon-proxy pods
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ settings:
uri: "https://console.stage.neon.tech/psql_session/"
domain: "pg.neon.build"
sentryEnvironment: "staging"
metricCollectionEndpoint: "http://console-staging.local/billing/api/v1/usage_events"
metricCollectionEndpoint: "http://neon-internal-api.aws.neon.build/billing/api/v1/usage_events"
metricCollectionInterval: "1min"

# -- Additional labels for neon-proxy-link pods
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ image:

settings:
authBackend: "console"
authEndpoint: "http://console-staging.local/management/api/v2"
authEndpoint: "http://neon-internal-api.aws.neon.build/management/api/v2"
domain: "*.cloud.stage.neon.tech"
sentryEnvironment: "staging"
wssPort: 8443
metricCollectionEndpoint: "http://console-staging.local/billing/api/v1/usage_events"
metricCollectionEndpoint: "http://neon-internal-api.aws.neon.build/billing/api/v1/usage_events"
metricCollectionInterval: "1min"

# -- Additional labels for neon-proxy pods
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ image:

settings:
authBackend: "console"
authEndpoint: "http://console-staging.local/management/api/v2"
authEndpoint: "http://neon-internal-api.aws.neon.build/management/api/v2"
domain: "*.us-east-2.aws.neon.build"
sentryEnvironment: "staging"
wssPort: 8443
metricCollectionEndpoint: "http://console-staging.local/billing/api/v1/usage_events"
metricCollectionEndpoint: "http://neon-internal-api.aws.neon.build/billing/api/v1/usage_events"
metricCollectionInterval: "1min"

# -- Additional labels for neon-proxy pods
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ image:

settings:
authBackend: "console"
authEndpoint: "http://console-release.local/management/api/v2"
authEndpoint: "http://neon-internal-api.aws.neon.tech/management/api/v2"
domain: "*.ap-southeast-1.aws.neon.tech"
sentryEnvironment: "production"
wssPort: 8443
metricCollectionEndpoint: "http://console-release.local/billing/api/v1/usage_events"
metricCollectionEndpoint: "http://neon-internal-api.aws.neon.tech/billing/api/v1/usage_events"
metricCollectionInterval: "10min"

# -- Additional labels for neon-proxy pods
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ image:

settings:
authBackend: "console"
authEndpoint: "http://console-release.local/management/api/v2"
authEndpoint: "http://neon-internal-api.aws.neon.tech/management/api/v2"
domain: "*.eu-central-1.aws.neon.tech"
sentryEnvironment: "production"
wssPort: 8443
metricCollectionEndpoint: "http://console-release.local/billing/api/v1/usage_events"
metricCollectionEndpoint: "http://neon-internal-api.aws.neon.tech/billing/api/v1/usage_events"
metricCollectionInterval: "10min"

# -- Additional labels for neon-proxy pods
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ image:

settings:
authBackend: "console"
authEndpoint: "http://console-release.local/management/api/v2"
authEndpoint: "http://neon-internal-api.aws.neon.tech/management/api/v2"
domain: "*.us-east-2.aws.neon.tech"
sentryEnvironment: "production"
wssPort: 8443
metricCollectionEndpoint: "http://console-release.local/billing/api/v1/usage_events"
metricCollectionEndpoint: "http://neon-internal-api.aws.neon.tech/billing/api/v1/usage_events"
metricCollectionInterval: "10min"

# -- Additional labels for neon-proxy pods
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ image:

settings:
authBackend: "console"
authEndpoint: "http://console-release.local/management/api/v2"
authEndpoint: "http://neon-internal-api.aws.neon.tech/management/api/v2"
domain: "*.cloud.neon.tech"
sentryEnvironment: "production"
wssPort: 8443
metricCollectionEndpoint: "http://console-release.local/billing/api/v1/usage_events"
metricCollectionEndpoint: "http://neon-internal-api.aws.neon.tech/billing/api/v1/usage_events"
metricCollectionInterval: "10min"

# -- Additional labels for neon-proxy pods
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ image:

settings:
authBackend: "console"
authEndpoint: "http://console-release.local/management/api/v2"
authEndpoint: "http://neon-internal-api.aws.neon.tech/management/api/v2"
domain: "*.us-west-2.aws.neon.tech"
sentryEnvironment: "production"
wssPort: 8443
metricCollectionEndpoint: "http://console-release.local/billing/api/v1/usage_events"
metricCollectionEndpoint: "http://neon-internal-api.aws.neon.tech/billing/api/v1/usage_events"
metricCollectionInterval: "10min"

# -- Additional labels for neon-proxy pods
Expand Down
56 changes: 0 additions & 56 deletions .github/helm-values/production.neon-storage-broker.yaml

This file was deleted.

25 changes: 11 additions & 14 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -611,34 +611,31 @@ jobs:
run:
shell: sh -eu {0}
env:
VM_INFORMANT_VERSION: 0.1.1
VM_BUILDER_VERSION: v0.4.6

steps:
- name: Downloading latest vm-builder
- name: Checkout
uses: actions/checkout@v1
with:
fetch-depth: 0

- name: Downloading vm-builder
run: |
curl -L https://github.com/neondatabase/neonvm/releases/latest/download/vm-builder -o vm-builder
curl -L https://github.com/neondatabase/neonvm/releases/download/$VM_BUILDER_VERSION/vm-builder -o vm-builder
chmod +x vm-builder

- name: Pulling compute-node image
run: |
docker pull 369495373322.dkr.ecr.eu-central-1.amazonaws.com/compute-node-${{ matrix.version }}:${{needs.tag.outputs.build-tag}}

- name: Downloading VM informant version ${{ env.VM_INFORMANT_VERSION }}
run: |
curl -fL https://github.com/neondatabase/autoscaling/releases/download/${{ env.VM_INFORMANT_VERSION }}/vm-informant -o vm-informant
chmod +x vm-informant

- name: Adding VM informant to compute-node image
- name: Building VM compute-node rootfs
run: |
ID=$(docker create 369495373322.dkr.ecr.eu-central-1.amazonaws.com/compute-node-${{ matrix.version }}:${{needs.tag.outputs.build-tag}})
docker cp vm-informant $ID:/bin/vm-informant
docker commit $ID temp-vm-compute-node
docker rm -f $ID
docker build -t temp-vm-compute-node --build-arg SRC_IMAGE=369495373322.dkr.ecr.eu-central-1.amazonaws.com/compute-node-${{ matrix.version }}:${{needs.tag.outputs.build-tag}} -f Dockerfile.vm-compute-node .

- name: Build vm image
run: |
# note: as of 2023-01-12, vm-builder requires a trailing ":latest" for local images
./vm-builder -src=temp-vm-compute-node:latest -dst=369495373322.dkr.ecr.eu-central-1.amazonaws.com/vm-compute-node-${{ matrix.version }}:${{needs.tag.outputs.build-tag}}
./vm-builder -use-inittab -src=temp-vm-compute-node:latest -dst=369495373322.dkr.ecr.eu-central-1.amazonaws.com/vm-compute-node-${{ matrix.version }}:${{needs.tag.outputs.build-tag}}

- name: Pushing vm-compute-node image
run: |
Expand Down
Loading