-
Notifications
You must be signed in to change notification settings - Fork 58
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
fix(ogmios): seccomp
error on some Apple Silicon machines
#954
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkazlauskas
approved these changes
Oct 19, 2023
mirceahasegan
approved these changes
Oct 19, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! 💪
mirceahasegan
force-pushed
the
refactor/ogmios-6-breaking-changes
branch
from
October 24, 2023 11:11
682ed26
to
2893092
Compare
Base automatically changed from
refactor/ogmios-6-breaking-changes
to
conway-era
October 24, 2023 15:34
michalrus
force-pushed
the
fix/seccomp-on-some-apple-silicon
branch
from
November 2, 2023 11:38
845c219
to
af62837
Compare
Standard DiffPostThis PR would generate the following Previewdiff -u -N /tmp/LIVE-3907018609/apps.v1.Deployment.dev-preview.dev-preview-cardanojs-backend /tmp/MERGED-2412624163/apps.v1.Deployment.dev-preview.dev-preview-cardanojs-backend
--- /tmp/LIVE-3907018609/apps.v1.Deployment.dev-preview.dev-preview-cardanojs-backend 2023-11-02 11:47:02.790938319 +0000
+++ /tmp/MERGED-2412624163/apps.v1.Deployment.dev-preview.dev-preview-cardanojs-backend 2023-11-02 11:47:02.790938319 +0000
@@ -4,11 +4,11 @@
annotations:
deployment.kubernetes.io/revision: "59"
creationTimestamp: "2023-08-11T18:16:12Z"
- generation: 59
+ generation: 60
labels:
app: backend
app.kubernetes.io/managed-by: std-kubectl
- app.kubernetes.io/version: 7eb71d2993c323fb1b0afadc65bf3a4f9c3ad402
+ app.kubernetes.io/version: 3834a2fc3d67dcefb983f5399058be714c0f3cd7
network: preview
release: dev-preview-cardanojs
name: dev-preview-cardanojs-backend
@@ -89,7 +89,7 @@
value: "false"
- name: USE_KORA_LABS
value: "true"
- image: 926093910549.dkr.ecr.us-east-1.amazonaws.com/cardano-services:1w0z97kd62hsnmgkibc0aky9ablgn22h
+ image: 926093910549.dkr.ecr.us-east-1.amazonaws.com/cardano-services:2w8l7fx8vyvg9spy91xs435g81p1fy23
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 3
diff -u -N /tmp/LIVE-3907018609/apps.v1.Deployment.dev-preview.dev-preview-cardanojs-coingecko-proxy /tmp/MERGED-2412624163/apps.v1.Deployment.dev-preview.dev-preview-cardanojs-coingecko-proxy
--- /tmp/LIVE-3907018609/apps.v1.Deployment.dev-preview.dev-preview-cardanojs-coingecko-proxy 2023-11-02 11:47:03.142938399 +0000
+++ /tmp/MERGED-2412624163/apps.v1.Deployment.dev-preview.dev-preview-cardanojs-coingecko-proxy 2023-11-02 11:47:03.142938399 +0000
@@ -8,7 +8,7 @@
labels:
app: coingecko-proxy
app.kubernetes.io/managed-by: std-kubectl
- app.kubernetes.io/version: 7eb71d2993c323fb1b0afadc65bf3a4f9c3ad402
+ app.kubernetes.io/version: 3834a2fc3d67dcefb983f5399058be714c0f3cd7
network: preview
release: dev-preview-cardanojs
name: dev-preview-cardanojs-coingecko-proxy
diff -u -N /tmp/LIVE-3907018609/apps.v1.Deployment.dev-preview.dev-preview-cardanojs-handle-projector /tmp/MERGED-2412624163/apps.v1.Deployment.dev-preview.dev-preview-cardanojs-handle-projector
--- /tmp/LIVE-3907018609/apps.v1.Deployment.dev-preview.dev-preview-cardanojs-handle-projector 2023-11-02 11:47:03.486938468 +0000
+++ /tmp/MERGED-2412624163/apps.v1.Deployment.dev-preview.dev-preview-cardanojs-handle-projector 2023-11-02 11:47:03.486938468 +0000
@@ -4,11 +4,11 @@
annotations:
deployment.kubernetes.io/revision: "59"
creationTimestamp: "2023-08-11T18:16:13Z"
- generation: 59
+ generation: 60
labels:
app: handle-projector
app.kubernetes.io/managed-by: std-kubectl
- app.kubernetes.io/version: 7eb71d2993c323fb1b0afadc65bf3a4f9c3ad402
+ app.kubernetes.io/version: 3834a2fc3d67dcefb983f5399058be714c0f3cd7
network: preview
release: dev-preview-cardanojs
name: dev-preview-cardanojs-handle-projector
@@ -73,7 +73,7 @@
name: handle-owner-user.dev-preview-dbsync-db.credentials.postgresql.acid.zalan.do
- name: PROJECTION_NAMES
value: handle
- image: 926093910549.dkr.ecr.us-east-1.amazonaws.com/cardano-services:1w0z97kd62hsnmgkibc0aky9ablgn22h
+ image: 926093910549.dkr.ecr.us-east-1.amazonaws.com/cardano-services:2w8l7fx8vyvg9spy91xs435g81p1fy23
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 3
diff -u -N /tmp/LIVE-3907018609/apps.v1.Deployment.dev-preview.dev-preview-cardanojs-handle-provider /tmp/MERGED-2412624163/apps.v1.Deployment.dev-preview.dev-preview-cardanojs-handle-provider
--- /tmp/LIVE-3907018609/apps.v1.Deployment.dev-preview.dev-preview-cardanojs-handle-provider 2023-11-02 11:47:03.830938552 +0000
+++ /tmp/MERGED-2412624163/apps.v1.Deployment.dev-preview.dev-preview-cardanojs-handle-provider 2023-11-02 11:47:03.830938552 +0000
@@ -4,11 +4,11 @@
annotations:
deployment.kubernetes.io/revision: "26"
creationTimestamp: "2023-08-11T18:16:13Z"
- generation: 26
+ generation: 27
labels:
app: handle-provider
app.kubernetes.io/managed-by: std-kubectl
- app.kubernetes.io/version: 7eb71d2993c323fb1b0afadc65bf3a4f9c3ad402
+ app.kubernetes.io/version: 3834a2fc3d67dcefb983f5399058be714c0f3cd7
network: preview
release: dev-preview-cardanojs
name: dev-preview-cardanojs-handle-provider
@@ -81,7 +81,7 @@
value: handle
- name: USE_KORA_LABS
value: "true"
- image: 926093910549.dkr.ecr.us-east-1.amazonaws.com/cardano-services:1w0z97kd62hsnmgkibc0aky9ablgn22h
+ image: 926093910549.dkr.ecr.us-east-1.amazonaws.com/cardano-services:2w8l7fx8vyvg9spy91xs435g81p1fy23
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 3
diff -u -N /tmp/LIVE-3907018609/apps.v1.Deployment.dev-preview.dev-preview-cardanojs-pg-boss-worker /tmp/MERGED-2412624163/apps.v1.Deployment.dev-preview.dev-preview-cardanojs-pg-boss-worker
--- /tmp/LIVE-3907018609/apps.v1.Deployment.dev-preview.dev-preview-cardanojs-pg-boss-worker 2023-11-02 11:47:04.186938632 +0000
+++ /tmp/MERGED-2412624163/apps.v1.Deployment.dev-preview.dev-preview-cardanojs-pg-boss-worker 2023-11-02 11:47:04.186938632 +0000
@@ -4,11 +4,11 @@
annotations:
deployment.kubernetes.io/revision: "59"
creationTimestamp: "2023-08-11T18:16:13Z"
- generation: 59
+ generation: 60
labels:
app: pg-boss-worker
app.kubernetes.io/managed-by: std-kubectl
- app.kubernetes.io/version: 7eb71d2993c323fb1b0afadc65bf3a4f9c3ad402
+ app.kubernetes.io/version: 3834a2fc3d67dcefb983f5399058be714c0f3cd7
network: preview
release: dev-preview-cardanojs
name: dev-preview-cardanojs-pg-boss-worker
@@ -92,10 +92,10 @@
key: username
name: stakepool-owner-user.dev-preview-dbsync-db.credentials.postgresql.acid.zalan.do
- name: QUEUES
- value: pool-delist-schedule,pool-metadata,pool-metrics,pool-rewards
+ value: pool-metadata,pool-metrics
- name: STAKE_POOL_PROVIDER_URL
value: http://dev-preview-cardanojs-backend.dev-preview.svc.cluster.local
- image: 926093910549.dkr.ecr.us-east-1.amazonaws.com/cardano-services:1w0z97kd62hsnmgkibc0aky9ablgn22h
+ image: 926093910549.dkr.ecr.us-east-1.amazonaws.com/cardano-services:2w8l7fx8vyvg9spy91xs435g81p1fy23
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 3
diff -u -N /tmp/LIVE-3907018609/apps.v1.Deployment.dev-preview.dev-preview-cardanojs-stake-pool-projector /tmp/MERGED-2412624163/apps.v1.Deployment.dev-preview.dev-preview-cardanojs-stake-pool-projector
--- /tmp/LIVE-3907018609/apps.v1.Deployment.dev-preview.dev-preview-cardanojs-stake-pool-projector 2023-11-02 11:47:04.546938712 +0000
+++ /tmp/MERGED-2412624163/apps.v1.Deployment.dev-preview.dev-preview-cardanojs-stake-pool-projector 2023-11-02 11:47:04.546938712 +0000
@@ -4,11 +4,11 @@
annotations:
deployment.kubernetes.io/revision: "59"
creationTimestamp: "2023-08-11T18:16:13Z"
- generation: 59
+ generation: 60
labels:
app: stake-pool-projector
app.kubernetes.io/managed-by: std-kubectl
- app.kubernetes.io/version: 7eb71d2993c323fb1b0afadc65bf3a4f9c3ad402
+ app.kubernetes.io/version: 3834a2fc3d67dcefb983f5399058be714c0f3cd7
network: preview
release: dev-preview-cardanojs
name: dev-preview-cardanojs-stake-pool-projector
@@ -72,8 +72,8 @@
key: username
name: stakepool-owner-user.dev-preview-dbsync-db.credentials.postgresql.acid.zalan.do
- name: PROJECTION_NAMES
- value: stake-pool,stake-pool-metadata-job,stake-pool-metrics-job,stake-pool-rewards-job
- image: 926093910549.dkr.ecr.us-east-1.amazonaws.com/cardano-services:1w0z97kd62hsnmgkibc0aky9ablgn22h
+ value: stake-pool,stake-pool-metadata-job,stake-pool-metrics-job
+ image: 926093910549.dkr.ecr.us-east-1.amazonaws.com/cardano-services:2w8l7fx8vyvg9spy91xs435g81p1fy23
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 3
diff -u -N /tmp/LIVE-3907018609/apps.v1.Deployment.dev-preview.dev-preview-cardanojs-stake-pool-provider /tmp/MERGED-2412624163/apps.v1.Deployment.dev-preview.dev-preview-cardanojs-stake-pool-provider
--- /tmp/LIVE-3907018609/apps.v1.Deployment.dev-preview.dev-preview-cardanojs-stake-pool-provider 2023-11-02 11:47:04.910938791 +0000
+++ /tmp/MERGED-2412624163/apps.v1.Deployment.dev-preview.dev-preview-cardanojs-stake-pool-provider 2023-11-02 11:47:04.910938791 +0000
@@ -4,11 +4,11 @@
annotations:
deployment.kubernetes.io/revision: "56"
creationTimestamp: "2023-08-11T18:16:13Z"
- generation: 56
+ generation: 57
labels:
app: stake-pool-provider
app.kubernetes.io/managed-by: std-kubectl
- app.kubernetes.io/version: 7eb71d2993c323fb1b0afadc65bf3a4f9c3ad402
+ app.kubernetes.io/version: 3834a2fc3d67dcefb983f5399058be714c0f3cd7
network: preview
release: dev-preview-cardanojs
name: dev-preview-cardanojs-stake-pool-provider
@@ -83,7 +83,7 @@
value: http://dev-preview-cardano-stack-metadata.dev-preview.svc.cluster.local
- name: USE_TYPEORM_STAKE_POOL_PROVIDER
value: "true"
- image: 926093910549.dkr.ecr.us-east-1.amazonaws.com/cardano-services:1w0z97kd62hsnmgkibc0aky9ablgn22h
+ image: 926093910549.dkr.ecr.us-east-1.amazonaws.com/cardano-services:2w8l7fx8vyvg9spy91xs435g81p1fy23
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 3
diff -u -N /tmp/LIVE-3907018609/monitoring.coreos.com.v1.ServiceMonitor.dev-preview.lace-backend-monitor /tmp/MERGED-2412624163/monitoring.coreos.com.v1.ServiceMonitor.dev-preview.lace-backend-monitor
--- /tmp/LIVE-3907018609/monitoring.coreos.com.v1.ServiceMonitor.dev-preview.lace-backend-monitor 2023-11-02 11:47:05.274938873 +0000
+++ /tmp/MERGED-2412624163/monitoring.coreos.com.v1.ServiceMonitor.dev-preview.lace-backend-monitor 2023-11-02 11:47:05.274938873 +0000
@@ -5,7 +5,7 @@
generation: 2
labels:
app.kubernetes.io/managed-by: std-kubectl
- app.kubernetes.io/version: 7eb71d2993c323fb1b0afadc65bf3a4f9c3ad402
+ app.kubernetes.io/version: 3834a2fc3d67dcefb983f5399058be714c0f3cd7
instance: primary
name: lace-backend-monitor
namespace: dev-preview
diff -u -N /tmp/LIVE-3907018609/monitoring.coreos.com.v1.ServiceMonitor.dev-preview.lace-handle-provider-monitor /tmp/MERGED-2412624163/monitoring.coreos.com.v1.ServiceMonitor.dev-preview.lace-handle-provider-monitor
--- /tmp/LIVE-3907018609/monitoring.coreos.com.v1.ServiceMonitor.dev-preview.lace-handle-provider-monitor 2023-11-02 11:47:05.614938952 +0000
+++ /tmp/MERGED-2412624163/monitoring.coreos.com.v1.ServiceMonitor.dev-preview.lace-handle-provider-monitor 2023-11-02 11:47:05.614938952 +0000
@@ -5,7 +5,7 @@
generation: 2
labels:
app.kubernetes.io/managed-by: std-kubectl
- app.kubernetes.io/version: 7eb71d2993c323fb1b0afadc65bf3a4f9c3ad402
+ app.kubernetes.io/version: 3834a2fc3d67dcefb983f5399058be714c0f3cd7
instance: primary
name: lace-handle-provider-monitor
namespace: dev-preview
diff -u -N /tmp/LIVE-3907018609/monitoring.coreos.com.v1.ServiceMonitor.dev-preview.lace-stake-pool-provider-monitor /tmp/MERGED-2412624163/monitoring.coreos.com.v1.ServiceMonitor.dev-preview.lace-stake-pool-provider-monitor
--- /tmp/LIVE-3907018609/monitoring.coreos.com.v1.ServiceMonitor.dev-preview.lace-stake-pool-provider-monitor 2023-11-02 11:47:05.958939029 +0000
+++ /tmp/MERGED-2412624163/monitoring.coreos.com.v1.ServiceMonitor.dev-preview.lace-stake-pool-provider-monitor 2023-11-02 11:47:05.958939029 +0000
@@ -5,7 +5,7 @@
generation: 2
labels:
app.kubernetes.io/managed-by: std-kubectl
- app.kubernetes.io/version: 7eb71d2993c323fb1b0afadc65bf3a4f9c3ad402
+ app.kubernetes.io/version: 3834a2fc3d67dcefb983f5399058be714c0f3cd7
instance: primary
name: lace-stake-pool-provider-monitor
namespace: dev-preview
diff -u -N /tmp/LIVE-3907018609/networking.k8s.io.v1.Ingress.dev-preview.dev-preview-cardanojs-backend /tmp/MERGED-2412624163/networking.k8s.io.v1.Ingress.dev-preview.dev-preview-cardanojs-backend
--- /tmp/LIVE-3907018609/networking.k8s.io.v1.Ingress.dev-preview.dev-preview-cardanojs-backend 2023-11-02 11:47:06.318939102 +0000
+++ /tmp/MERGED-2412624163/networking.k8s.io.v1.Ingress.dev-preview.dev-preview-cardanojs-backend 2023-11-02 11:47:06.318939102 +0000
@@ -19,7 +19,7 @@
labels:
app: backend
app.kubernetes.io/managed-by: std-kubectl
- app.kubernetes.io/version: 7eb71d2993c323fb1b0afadc65bf3a4f9c3ad402
+ app.kubernetes.io/version: 3834a2fc3d67dcefb983f5399058be714c0f3cd7
network: preview
release: dev-preview-cardanojs
name: dev-preview-cardanojs-backend
diff -u -N /tmp/LIVE-3907018609/networking.k8s.io.v1.Ingress.dev-preview.dev-preview-cardanojs-coingecko-proxy /tmp/MERGED-2412624163/networking.k8s.io.v1.Ingress.dev-preview.dev-preview-cardanojs-coingecko-proxy
--- /tmp/LIVE-3907018609/networking.k8s.io.v1.Ingress.dev-preview.dev-preview-cardanojs-coingecko-proxy 2023-11-02 11:47:06.666939187 +0000
+++ /tmp/MERGED-2412624163/networking.k8s.io.v1.Ingress.dev-preview.dev-preview-cardanojs-coingecko-proxy 2023-11-02 11:47:06.666939187 +0000
@@ -16,7 +16,7 @@
labels:
app: coingecko-proxy
app.kubernetes.io/managed-by: std-kubectl
- app.kubernetes.io/version: 7eb71d2993c323fb1b0afadc65bf3a4f9c3ad402
+ app.kubernetes.io/version: 3834a2fc3d67dcefb983f5399058be714c0f3cd7
network: preview
release: dev-preview-cardanojs
name: dev-preview-cardanojs-coingecko-proxy
diff -u -N /tmp/LIVE-3907018609/v1.Service.dev-preview.dev-preview-cardanojs-backend /tmp/MERGED-2412624163/v1.Service.dev-preview.dev-preview-cardanojs-backend
--- /tmp/LIVE-3907018609/v1.Service.dev-preview.dev-preview-cardanojs-backend 2023-11-02 11:47:01.406938009 +0000
+++ /tmp/MERGED-2412624163/v1.Service.dev-preview.dev-preview-cardanojs-backend 2023-11-02 11:47:01.406938009 +0000
@@ -5,7 +5,7 @@
labels:
app: backend
app.kubernetes.io/managed-by: std-kubectl
- app.kubernetes.io/version: 7eb71d2993c323fb1b0afadc65bf3a4f9c3ad402
+ app.kubernetes.io/version: 3834a2fc3d67dcefb983f5399058be714c0f3cd7
network: preview
release: dev-preview-cardanojs
name: dev-preview-cardanojs-backend
diff -u -N /tmp/LIVE-3907018609/v1.Service.dev-preview.dev-preview-cardanojs-coingecko-proxy /tmp/MERGED-2412624163/v1.Service.dev-preview.dev-preview-cardanojs-coingecko-proxy
--- /tmp/LIVE-3907018609/v1.Service.dev-preview.dev-preview-cardanojs-coingecko-proxy 2023-11-02 11:47:01.758938089 +0000
+++ /tmp/MERGED-2412624163/v1.Service.dev-preview.dev-preview-cardanojs-coingecko-proxy 2023-11-02 11:47:01.758938089 +0000
@@ -5,7 +5,7 @@
labels:
app: coingecko-proxy
app.kubernetes.io/managed-by: std-kubectl
- app.kubernetes.io/version: 7eb71d2993c323fb1b0afadc65bf3a4f9c3ad402
+ app.kubernetes.io/version: 3834a2fc3d67dcefb983f5399058be714c0f3cd7
network: preview
release: dev-preview-cardanojs
name: dev-preview-cardanojs-coingecko-proxy
diff -u -N /tmp/LIVE-3907018609/v1.Service.dev-preview.dev-preview-cardanojs-handle-provider /tmp/MERGED-2412624163/v1.Service.dev-preview.dev-preview-cardanojs-handle-provider
--- /tmp/LIVE-3907018609/v1.Service.dev-preview.dev-preview-cardanojs-handle-provider 2023-11-02 11:47:02.098938163 +0000
+++ /tmp/MERGED-2412624163/v1.Service.dev-preview.dev-preview-cardanojs-handle-provider 2023-11-02 11:47:02.098938163 +0000
@@ -5,7 +5,7 @@
labels:
app: handle-provider
app.kubernetes.io/managed-by: std-kubectl
- app.kubernetes.io/version: 7eb71d2993c323fb1b0afadc65bf3a4f9c3ad402
+ app.kubernetes.io/version: 3834a2fc3d67dcefb983f5399058be714c0f3cd7
network: preview
release: dev-preview-cardanojs
name: dev-preview-cardanojs-handle-provider
diff -u -N /tmp/LIVE-3907018609/v1.Service.dev-preview.dev-preview-cardanojs-stake-pool-provider /tmp/MERGED-2412624163/v1.Service.dev-preview.dev-preview-cardanojs-stake-pool-provider
--- /tmp/LIVE-3907018609/v1.Service.dev-preview.dev-preview-cardanojs-stake-pool-provider 2023-11-02 11:47:02.446938241 +0000
+++ /tmp/MERGED-2412624163/v1.Service.dev-preview.dev-preview-cardanojs-stake-pool-provider 2023-11-02 11:47:02.446938241 +0000
@@ -5,7 +5,7 @@
labels:
app: stake-pool-provider
app.kubernetes.io/managed-by: std-kubectl
- app.kubernetes.io/version: 7eb71d2993c323fb1b0afadc65bf3a4f9c3ad402
+ app.kubernetes.io/version: 3834a2fc3d67dcefb983f5399058be714c0f3cd7
network: preview
release: dev-preview-cardanojs
name: dev-preview-cardanojs-stake-pool-provider |
Building Ogmios in SDK was dropped in favour of prebuilt artefacts. |
Yes, another solution (outside of this repo) is needed for Apple Silicon |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Context
On some Apple Silicon machines (@mchappell and others on the Internet) we’re getting this error when installing Nix:
Proposed Solution
Turn off seccomp / filtering syscalls, see:
Important Changes Introduced
n/a