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

Latest cadence images does not support amd64 architecture #5434

Open
sonhuynhpham opened this issue Oct 31, 2023 · 2 comments
Open

Latest cadence images does not support amd64 architecture #5434

sonhuynhpham opened this issue Oct 31, 2023 · 2 comments

Comments

@sonhuynhpham
Copy link

Version of Cadence server, and client(which language)
This is very important to root cause bugs.

  • Server version: 1.2.2, v1.2.4
  • Client version:
  • Client langauge:

Describe the bug
A clear and concise description of what the bug is.

The latest cadence server images (1.2.2 and v1.2.4) are not published with linux/amd64 architecture but with linux/arm64 instead. It fails to execute the entrypoint exec command on my K8S cluster which run on amd64 nodes.

To Reproduce
Is the issue reproducible?

  • Yes

Steps to reproduce the behavior:
A clear and concise description of the reproduce steps.

https://hub.docker.com/r/ubercadence/server/tags shows that the OS/ARCH for server v1.2.4 and 1.2.2 are linux/arm64/v8 but in previous image versions it was linux/amd64:
image

Trying to pull the amd64 image without success:

❯ docker pull --platform=amd64 docker.io/ubercadence/server:v1.2.4
v1.2.4: Pulling from ubercadence/server
Digest: sha256:ffe1a74b7c189c8135592e931393e582c7008be0afcda648a5837f3c297179c4
Status: Image is up to date for ubercadence/server:v1.2.4
image with reference docker.io/ubercadence/server:v1.2.4 was found but does not match the specified platform: wanted linux/amd64, actual: linux/arm64/v8

Inspecting the pulled image also shows the arch is arm64:

docker inspect ubercadence/server:v1.2.4
[
    {
        "Id": "sha256:9c85aa37ec83232f8cbecea8c0ec24a1dd9532d08c70c86f06115066394400fd",
        "RepoTags": [
            "ubercadence/server:v1.2.4"
        ],
        "RepoDigests": [
            "ubercadence/server@sha256:ffe1a74b7c189c8135592e931393e582c7008be0afcda648a5837f3c297179c4"
        ],
        "Parent": "",
        "Comment": "buildkit.dockerfile.v0",
        "Created": "2023-10-23T22:16:00.949001466Z",
        "Container": "",
        "ContainerConfig": {
            "Hostname": "",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": null,
            "Cmd": null,
            "Image": "",
            "Volumes": null,
            "WorkingDir": "",
            "Entrypoint": null,
            "OnBuild": null,
            "Labels": null
        },
        "DockerVersion": "",
        "Author": "",
        "Config": {
            "Hostname": "",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "ExposedPorts": {
                "7933/tcp": {},
                "7934/tcp": {},
                "7935/tcp": {},
                "7939/tcp": {}
            },
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "CADENCE_HOME=/etc/cadence",
                "SERVICES=history,matching,frontend,worker"
            ],
            "Cmd": [
                "/bin/bash",
                "-c",
                "/start-cadence.sh"
            ],
            "ArgsEscaped": true,
            "Image": "",
            "Volumes": null,
            "WorkingDir": "/etc/cadence",
            "Entrypoint": [
                "/docker-entrypoint.sh"
            ],
            "OnBuild": null,
            "Labels": null,
            "Shell": [
                "/bin/bash",
                "-c"
            ]
        },
        "Architecture": "arm64",
        "Variant": "v8",
        "Os": "linux",
        "Size": 276982543,
        "VirtualSize": 276982543,
        "GraphDriver": {
            "Data": {
                "LowerDir": "/var/lib/docker/overlay2/9350ac3d7b61f1c15a08704c05e8772bf539f65679858540251e9491ad00ca63/diff:/var/lib/docker/overlay2/92cf15e46d49751e7396a08c433fbc9a3d69a1784b4d6fd764c8b18ac93896cc/diff:/var/lib/docker/overlay2/2e7fdce11d1ac5e9af48979d3e724d4904f96f82e3668505a78325a8ead7f1f6/diff:/var/lib/docker/overlay2/5ab3b336bd610dd47e7e3d800599bc1d305c4a52297a4b628def2f190642ff19/diff:/var/lib/docker/overlay2/d9626a7b0318d2f3e753c226e773c33dceed1ddeac9a90dca3807409da9b44e4/diff:/var/lib/docker/overlay2/807ff25755f6f3c97497fbb6c36761deb646b1a7c66ae4947870674e83b080f5/diff:/var/lib/docker/overlay2/56dc2ae10e8cb34cb120d39a2f405de59ae2ceb35a69c42f286e3eb8bcf5fbcb/diff:/var/lib/docker/overlay2/4b3ea443d9f56db952911a63031e6e6f9ed215ee751514289a98cc440a5bca6a/diff:/var/lib/docker/overlay2/0456ecd2a64391abfb2a3afdb6c28ab25965382428f52d6719d470966d633802/diff:/var/lib/docker/overlay2/f793a5d64929ca791f4d1110d1b04beedfcf39d3f173ab9f25783b5789912aa5/diff:/var/lib/docker/overlay2/08deca8bc2ca2d3c8e1aacc64c688de0ef242ec8349b301921f68fb6059e894a/diff:/var/lib/docker/overlay2/2705bd999b95581623c8ceb7ef3980f1b3bb3984e6ba549d6deabb04cc228cd2/diff:/var/lib/docker/overlay2/b83e379fd11393e8c0c6f4057fae5034944a07ee7f46440ca744764674f98965/diff:/var/lib/docker/overlay2/7788ae3bcc7b17af4e633b2745775972dc117ea107241e0299d816fc60f44320/diff:/var/lib/docker/overlay2/3f703fab346f24c1da86b6df7b85ca6d78800872ed6ea297b9897c8a464d5710/diff",
                "MergedDir": "/var/lib/docker/overlay2/8bc6466630759dfaec90d7921d046dea8aab117a73726ed08c2694eda57a284b/merged",
                "UpperDir": "/var/lib/docker/overlay2/8bc6466630759dfaec90d7921d046dea8aab117a73726ed08c2694eda57a284b/diff",
                "WorkDir": "/var/lib/docker/overlay2/8bc6466630759dfaec90d7921d046dea8aab117a73726ed08c2694eda57a284b/work"
            },
            "Name": "overlay2"
        },
        "RootFS": {
            "Type": "layers",
            "Layers": [
                "sha256:5f4d9fc4d98de91820d2a9c81e501c8cc6429bc8758b43fcb2cd50f4cab9a324",
                "sha256:31707959dbd90a7217bffde0e3a6e2cae474a01b375b3309d0f2e74084e09abb",
                "sha256:52cb8b8057c8eae9b966921f5704b563fdbff35477913b7631663d8b9376d081",
                "sha256:24804eb5d5a7bdb84d273900dbb762bc321d52a2cab21b63072fb1ec456d4011",
                "sha256:95bac70398bfebdff313de2fd2c19b203a250cc9edb39ae11ee8ea7da5ca8f7d",
                "sha256:f7a14291ec6ba76e13455e88d6b911cb0917c8eba4e164cedd9ee88df56e56d3",
                "sha256:3598a44fe801719dcb5c066580b3823d80057eb1ebe4e3251027af31137ff362",
                "sha256:c9b4c1f0b121ebd7fe6c79cb3f01faa39fed687259e09c3ce54abe0680700aea",
                "sha256:19ba87a7d32acfd4f3f1b724141278739b8c8d739c7b3d97054c0c0f21382050",
                "sha256:10cee3a0b52071691bc24705ef975cb72d61bc3c29e15e4db45f535c89972271",
                "sha256:98767570dec43de511314be6e9dd4b214a963b07a0b7e815abc0c52442c105fc",
                "sha256:febc33a3d7e49557b1b45a0ee2a9f1a909a1b49261340ec5db0c93e84df670e5",
                "sha256:5967409913c8e22761d9f4f9fe0447f054017e712c524ad976055b4c7d8440a0",
                "sha256:0b2907a0adbfcdd16afd1c15558476034c0651e9828fbe1122aceff95744ca93",
                "sha256:a8d0ebd591853cd5ba76873378ed92e7e5e897b816f101a0e23c53d24e23c050",
                "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
            ]
        },
        "Metadata": {
            "LastTagTime": "0001-01-01T00:00:00Z"
        }
    }
]

Expected behavior
A clear and concise description of what you expected to happen.

amd64 server images for 1.2.2 and v1.2.4 should be published.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here, E.g. Stackstace, workflow history.

@neil-xie
Copy link
Contributor

neil-xie commented Nov 3, 2023

Hey while we are fixing this, you can use v1.2.5, it is published with linux/amd64 yesterday

@thle40
Copy link

thle40 commented Apr 17, 2024

the mention images are uploaded to dockerhub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants