-
Notifications
You must be signed in to change notification settings - Fork 361
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
failed to save image registry.cn-qingdao.aliyuncs.com/sealer-apps/ceph-block:v16.2.5: failed to find imageName or imageId #1279
Labels
kind/bug
Something isn't working
Comments
other image save works well |
|
@bxy4543 thank you for you reply, this is the result, mine sealer is linux/amd64 yours is linux/arm64
cat /var/lib/sealer/metadata/images_metadata.json
{
"registry.cn-qingdao.aliyuncs.com/sealer-apps/ceph-block:v16.2.5": {
"name": "registry.cn-qingdao.aliyuncs.com/sealer-apps/ceph-block:v16.2.5",
"id": "aa1ebc043e6b257157eb5f76959e590d04d0ddb402ff3bd7a9c989ce65124c77",
"created": "2022-03-30T19:20:01.679151658+08:00",
"size": 1113996773
},
"registry.cn-qingdao.aliyuncs.com/sealer-apps/helm:v3.6.0": {
"name": "registry.cn-qingdao.aliyuncs.com/sealer-apps/helm:v3.6.0",
"id": "319279752fcffd92b5e15d1689453c28255e83f2784a99a0adc2cf9bc8a6c812",
"created": "2022-03-29T09:02:16.651561953+08:00",
"size": 547413918
},
"registry.cn-qingdao.aliyuncs.com/sealer-apps/ingress-nginx-controller:v1.0.0": {
"name": "registry.cn-qingdao.aliyuncs.com/sealer-apps/ingress-nginx-controller:v1.0.0",
"id": "a5db534507e8106d0138a1003a284451baba61b469ef520566b75b13200826b0",
"created": "2022-03-29T09:00:20.386098954+08:00",
"size": 668814436
},
"registry.cn-qingdao.aliyuncs.com/sealer-apps/prometheus-stack:v2.28.1": {
"name": "registry.cn-qingdao.aliyuncs.com/sealer-apps/prometheus-stack:v2.28.1",
"id": "de82a05288a7f3fbc29854f1071a8cffe238bbb6b22c8824d15ff0cc5f712d1d",
"created": "2022-03-29T08:09:36.813637646+08:00",
"size": 1521571136
},
"registry.cn-qingdao.aliyuncs.com/sealer-io/kubernetes:v1.19.8": {
"name": "registry.cn-qingdao.aliyuncs.com/sealer-io/kubernetes:v1.19.8",
"id": "52c3b10849c852649e66c2f7ed531f05bd97586ab61fa2cc82b4e79d80484b82",
"created": "2022-03-24T16:36:41.431446992+08:00",
"size": 826082517
}
} }[root@172 ~]# cat /var/lib/sealer/metadata/images_metadata.json | grep -A10 registry.cn-qingdao.aliyuncs.com/sealer-apps/ceph-block:v16.2.5
"registry.cn-qingdao.aliyuncs.com/sealer-apps/ceph-block:v16.2.5": {
"name": "registry.cn-qingdao.aliyuncs.com/sealer-apps/ceph-block:v16.2.5",
"id": "aa1ebc043e6b257157eb5f76959e590d04d0ddb402ff3bd7a9c989ce65124c77",
"created": "2022-03-30T19:20:01.679151658+08:00",
"size": 1113996773
},
"registry.cn-qingdao.aliyuncs.com/sealer-apps/helm:v3.6.0": {
"name": "registry.cn-qingdao.aliyuncs.com/sealer-apps/helm:v3.6.0",
"id": "319279752fcffd92b5e15d1689453c28255e83f2784a99a0adc2cf9bc8a6c812",
"created": "2022-03-29T09:02:16.651561953+08:00",
"size": 547413918
}, |
[root@172 imagedb]# cat /var/lib/sealer/metadata/imagedb/aa1ebc043e6b257157eb5f76959e590d04d0ddb402ff3bd7a9c989ce65124c77.yaml
kind: Image
metadata:
annotations:
sea.aliyun.com/ClusterFile: |
apiVersion: zlink.aliyun.com/v1alpha1
kind: Cluster
metadata:
creationTimestamp: null
name: my-cluster
spec:
certSANS:
- aliyun-inc.com
- 10.0.0.2
image: registry.cn-qingdao.aliyuncs.com/sealer-apps/ceph-block:v16.2.5
masters:
count: "3"
cpu: "4"
dataDisks:
- "100"
memory: "4"
systemDisk: "100"
network:
podCIDR: 100.64.0.0/10
svcCIDR: 10.96.0.0/22
nodes:
count: "3"
cpu: "4"
dataDisks:
- "100"
memory: "4"
systemDisk: "100"
provider: ALI_CLOUD
ssh:
passwd: Seadent123
pk: xxx
pkPasswd: xxx
user: root
status: {}
creationTimestamp: null
spec:
id: aa1ebc043e6b257157eb5f76959e590d04d0ddb402ff3bd7a9c989ce65124c77
image_config:
args: null
labels: null
layers:
- id: sha256:c1aa4aff818df1dd51bd4d28decda5fe695bea8a9ae6f63a8dd5541c7640b3d6
type: COPY
value: . .
- id: sha256:931c62b6d883c3d8f53eae21220ac7370ae0a72f70157e4be90022b70aab77b0
type: COPY
value: Clusterfile etc/
- type: BASE
value: registry cache
- id: sha256:991491d3025bd1086754230eee1a04b328b3d737424f1e12f708d651e6d66860
type: COPY
value: etc .
- type: CMD
value: kubectl apply -f etc/tigera-operator.yaml
- type: CMD
value: kubectl apply -f etc/custom-resources.yaml
- id: sha256:d2c72ca0b588720f7ad32b2ecde280f5912acd57c61d285b839a4193da78d90d
type: BASE
value: registry cache
- id: sha256:b11b1f912de7c0e136b413d266d9e48817823b631b5c48bfea8491598c40baab
type: COPY
value: helm bin
- id: sha256:f4e6e330a5f511b7975ed54466af427877a1e1cde17e381568a3caf6b5d0fd7c
type: COPY
value: rookceph .
- type: CMD
value: kubectl apply -f rookceph/crd.yaml
- type: CMD
value: kubectl apply -f rookceph/operator.yaml
- type: CMD
value: kubectl apply -f rookceph/manifest.yaml
- type: CMD
value: kubectl apply -f rookceph/cephblockpool.yaml
- id: sha256:1566ae3a46c4066e3e575d6e9cad70ff954c471037ba8a8cd54be70717f2a51b
type: BASE
value: registry cache
platform: {}
sealer_version: latest
status: {} |
@bxy4543 the layers [root@172 sha256]# ls -lt /var/lib/sealer/metadata/layerdb/sha256
total 0
drwxr-xr-x 2 root root 81 Mar 30 16:39 41a041d45336c025f5dd23ba6b002fd1b85140d383cf555eebcdd3be56bb07db
drwxr-xr-x 2 root root 95 Mar 30 16:27 958510082e369163bcc463226cefa20e68a44a24c228dab44d9c9e5e371e0050
drwxr-xr-x 2 root root 95 Mar 30 16:27 d93cbbf9ea99b81177f51c760bfb0c65d6d999fdfa6c613b0e65ca1e2678e17f
drwxr-xr-x 2 root root 81 Mar 30 15:59 06161a3aed13b1e91c8d79598a0689cb2d8ca766f80e1e9216a3dc607b1ebc46
drwxr-xr-x 2 root root 95 Mar 30 15:48 bdfb79e099d6576cb2fe257ff135015d199eb7143a05c354f416c70a6ab08e47
drwxr-xr-x 2 root root 95 Mar 30 15:48 8de86eb88b5df325be82cf101f51669f535b1b8802db59637e736a93b0bb1ca8
drwxr-xr-x 2 root root 81 Mar 30 15:33 e6959d9f23d317fa743e359c86a256dd0f5dee38988ade1a0e1fb40cc4a66f52
drwxr-xr-x 2 root root 95 Mar 30 15:28 4890c3e07f6f41fa5c2df0a22d21a6ac79d168e64d6c78e7f2c618cd0a70e122
drwxr-xr-x 2 root root 95 Mar 30 15:28 a44623298a7acd449141da6b966d82c20c179839c129dd0d7dac89c1b7a3d333
drwxr-xr-x 2 root root 95 Mar 30 15:25 2653c19f2c45bd7435e395bb3aa786cb7607bf6f58a97c493dc39a3bdfb2a3f2
drwxr-xr-x 2 root root 95 Mar 30 15:25 d03839bf7d14432b163dae89c24f0c030a5db5662f8921b4be91a28cf2c8b536
drwxr-xr-x 2 root root 95 Mar 30 15:25 7b6b720de53c7c1621f4c0427dcc5b9baeb7d95e3f0ceb73b4810f3d7df5fa82
drwxr-xr-x 2 root root 95 Mar 30 15:25 63cd730e07968ae6a803128e0eaf94546d9f5ec512501d7d531c67157f12b2c9
drwxr-xr-x 2 root root 95 Mar 30 15:25 db0cf875c3172a5d89d0376f322b9f9dc3ecfee2e6a0d39220f1a8d1dbe0feef
drwxr-xr-x 2 root root 95 Mar 30 15:25 6652f6598fbfe73dba5788c89b4cda580ec28bc72a5c9e24c8336907d3b00fdc
drwxr-xr-x 2 root root 95 Mar 30 15:25 75b1efeb0d6c4acdeac3a1e0f59d94e4505608d560384627b4f6b328f5396be8
drwxr-xr-x 2 root root 95 Mar 30 15:24 ead5073d32a1cc41d8a188eeaed5ab960818a5c4b83804d367e8cd8c1881b042
drwxr-xr-x 2 root root 95 Mar 30 15:20 04e8bfbdad09d754eb6399fa77795056ef8709299a3538f716057386fc6a3d96
drwxr-xr-x 2 root root 95 Mar 30 15:20 09ade1acce312c4a69c085b9f93e95e6332bcf1df8e70270156e03b30947e704
drwxr-xr-x 2 root root 95 Mar 30 15:19 b698e7739586f91f45aee08f42c3a33ac2d584192b0b296478c41935677f08e6
drwxr-xr-x 2 root root 95 Mar 30 15:19 69ff9b933364db30a63904170ea4818538800d3e5f39462d6662fc674479fdd2
drwxr-xr-x 2 root root 95 Mar 30 15:12 190e8cfc0e6ce38bd4fbdbdeee27bfd73c747c675fbee6bb217d3416b4cac09c
drwxr-xr-x 2 root root 95 Mar 30 15:12 cdcdc10b7bf0458e0117fba4c5fdc1ca2e7eed0ac9da3b039603e9338a8df330
drwxr-xr-x 2 root root 81 Mar 30 15:10 69436149f7e563d87b74ce9026a54eb9517fd9a8e3d0ebc77c454136c98d0672
drwxr-xr-x 2 root root 95 Mar 30 15:10 5b62d86a844a5c12a13dc94b5eea96026db3fd2b9a1c7908e184041c78e6bebc
drwxr-xr-x 2 root root 95 Mar 30 15:09 74cbcc122924451472d4d09708f6a4ff74cb5ecbda507188f8dab92d3367081c
drwxr-xr-x 2 root root 95 Mar 30 15:09 81063d76ce89acbf7048b427ffe0e7bb01e1ed1158219910d065ec9dfd25d416
drwxr-xr-x 2 root root 95 Mar 30 15:09 c971bbcbbd4b024be86dcf3379a84c6577f9dc15760f52b688052f9ca07777e4
drwxr-xr-x 2 root root 95 Mar 30 15:09 b47c66c196e49864798d8e00c2f95cc2cf34b222ba78b0c3c9a217bcb760b8b9
drwxr-xr-x 2 root root 95 Mar 30 15:09 fb523f1c9716b6ff471561e545c9326af9d31052d097bbf78f2dee327dca818a
drwxr-xr-x 2 root root 95 Mar 30 15:09 e9c15ddcdb39dc5c3771ff3836dcfc59593a4c0aeeb39871ea00b2e0c96d5afc
drwxr-xr-x 2 root root 95 Mar 30 15:09 4e016f44d00f09758d1f1acd1fbf04ae49e84ace1c9ee3131eba9dda7fec47bc
drwxr-xr-x 2 root root 95 Mar 30 15:08 00463bfdde15a884d1dc407f49d030a1cfbd0757b32fb3139a90d7b8c6a373f1
drwxr-xr-x 2 root root 95 Mar 30 15:02 e32e2cb257669efc3927d54aaea8c5bd0f4183db862f0d7ca7f8c65399eee8c6
drwxr-xr-x 2 root root 95 Mar 30 15:02 76e9489975ef5f964babc40617e03d103fbc22bc6ba7e0cfea7685e6bfcb61a4
drwxr-xr-x 2 root root 95 Mar 30 15:00 b14151143dde4a1adb7a979a7d95c8a2c7c973168c67f1e6f9b10275a5a185f1
drwxr-xr-x 2 root root 95 Mar 30 15:00 bc817feee7eb5e4161d83e30e3a4cc67f8099b03c03d9803be1ab9fc9a62aaa5
drwxr-xr-x 2 root root 95 Mar 30 14:51 6182101fb96c28539c40946f7746dbb36df7ba770bcc349edd1c13dc9a4c4cd8
drwxr-xr-x 2 root root 95 Mar 30 14:51 0a4993803a5f088d499d81656d51bf775b7cde796d40adf87d0e9f57de0d4c08
drwxr-xr-x 2 root root 95 Mar 30 14:51 5bb572cc308a9b45d4f0b5cd219fb79a28337975001075aa54ceeae5f7d93a38
drwxr-xr-x 2 root root 95 Mar 30 14:51 df4a036c445c30ecc484e9f4fc934ae7b1394a809fe3460eca68f13c09a4ea66
drwxr-xr-x 2 root root 95 Mar 30 14:51 baf330aa66a01e556b5db9e94b1f632eac4d4becd739c7df995ca48b8863b919
drwxr-xr-x 2 root root 95 Mar 30 14:51 80763f13f6cfbaf94e1632a99a8d7c336cc4ddb7e19f6bef21c5214dcf51d38e
drwxr-xr-x 2 root root 95 Mar 30 14:51 83e2ef09ea190ab575e90630ee97deefc7ffb47d0ba721eea38b48af65fb750a
drwxr-xr-x 2 root root 95 Mar 30 14:50 ef94630f5726c7590bc3531c82931417c69294db3919080761078a770599eb55
drwxr-xr-x 2 root root 95 Mar 30 14:46 b611373afcfcc823a77fa3994f8044fbdeaccf5f3b996488f78b8cf5153032a2
drwxr-xr-x 2 root root 95 Mar 30 14:46 b6631a012a2af77228315ed9f5878694433ba60e95ce594e5d18ad38891cd6b2
drwxr-xr-x 2 root root 95 Mar 30 14:45 3d403368415921b360ccea160c39fc940dfcaf1dea8cc828e2567e00c1d92635
drwxr-xr-x 2 root root 95 Mar 30 14:45 6f30f4f80e7a689db30e08808e4b408c4cc5d3c02ac9cecee994aec50942425a
drwxr-xr-x 2 root root 95 Mar 30 14:45 3ee3aaeb3bfbe2dd6aaa17542a6fc5b721883afc4d1ab354719d53d636f40545
drwxr-xr-x 2 root root 81 Mar 29 09:14 1566ae3a46c4066e3e575d6e9cad70ff954c471037ba8a8cd54be70717f2a51b
drwxr-xr-x 2 root root 81 Mar 29 09:00 ae44c49b8a1b5931396ec34da35acdb4c5e55ab393a0e46ea3b148defac11dd9
drwxr-xr-x 2 root root 81 Mar 29 08:09 e27e029b5da7966aa0cb4a7b1e4b02e2bd8849f9438f4c403846eedb1f736ccf
drwxr-xr-x 2 root root 81 Mar 29 08:04 c1aa4aff818df1dd51bd4d28decda5fe695bea8a9ae6f63a8dd5541c7640b3d6
drwxr-xr-x 2 root root 81 Mar 29 07:49 d2c72ca0b588720f7ad32b2ecde280f5912acd57c61d285b839a4193da78d90d
drwxr-xr-x 2 root root 81 Mar 28 22:19 b6eb4360ad3ffe577c04d53205d0efc71dd59caef47bc5899230b291f292f593
drwxr-xr-x 2 root root 81 Mar 28 22:01 7897ac3b469d013e6c201f0e57f0b211e15a88662ccc95165ecc824c7a19ac8e
drwxr-xr-x 2 root root 81 Mar 28 21:33 366341e5a7ff306c5817d512bbe34105a59403c787f3850266d8ee032f145af4
drwxr-xr-x 2 root root 81 Mar 28 21:29 b4b661cf98eefaedf2268dad324b0d10dd383269a23016c3cd9b812be6156510
drwxr-xr-x 2 root root 81 Mar 28 21:29 74613777f318b767959ed8f62062713ae183763a0a6b680b4d0639f34f0bedb5
drwxr-xr-x 2 root root 81 Mar 28 21:29 99c90be754aaa842b5fc136e2de827f77d76ed5828858a34dbceeb72590faf97
drwxr-xr-x 2 root root 81 Mar 28 21:29 1b3b98e9c6cd9f6244a01fd8895774b2944fd39a30b9acb1e907f8e7c5a08902
drwxr-xr-x 2 root root 81 Mar 28 21:29 e99e34a9306575e0fcc99a2b07999d7c5fe34da198b3d191d0fba6621b881a33
drwxr-xr-x 2 root root 81 Mar 28 21:26 b11b1f912de7c0e136b413d266d9e48817823b631b5c48bfea8491598c40baab
drwxr-xr-x 2 root root 81 Mar 28 21:24 f4e6e330a5f511b7975ed54466af427877a1e1cde17e381568a3caf6b5d0fd7c
drwxr-xr-x 2 root root 81 Mar 28 21:24 991491d3025bd1086754230eee1a04b328b3d737424f1e12f708d651e6d66860
drwxr-xr-x 2 root root 81 Mar 28 21:24 931c62b6d883c3d8f53eae21220ac7370ae0a72f70157e4be90022b70aab77b0
drwxr-xr-x 2 root root 81 Mar 28 21:21 9bcabb1721eea3ff221dd2a7838711af558fd904eb68bea3759f866428f53ead
drwxr-xr-x 2 root root 95 Mar 28 21:18 19b922fff404371359aa78459f2426e55f17eb940c4030bc6086236f5c079e5b
drwxr-xr-x 2 root root 81 Mar 24 16:37 204e2047be0724923c3bc96efb86e332e730885808e5e5ccd5bab4669a99a958
drwxr-xr-x 2 root root 81 Mar 24 16:36 11c980114032d5f583c3861f1077bcc2f6d4e0e38b15219205fe22de044fd3a5
drwxr-xr-x 2 root root 81 Mar 24 16:31 ba2221cfa297f483e195fd61b30651f2426303965f8f1dc69cf5d4eff635af9a
drwxr-xr-x 2 root root 81 Mar 24 16:24 ecc826865973a8cf2cbb337e939f647840cc80834cf148b92eebcf1b213df9a9
drwxr-xr-x 2 root root 81 Mar 24 16:15 6b8d326d00d4c919952b7a374aee0aa4fa258c3951d972209db89a2db5cf56ed
drwxr-xr-x 2 root root 81 Mar 24 16:15 e00f3ade42dc8cebffa2314b8bee4ee5472c5a915c2ba3687a588d47657b3d6a
drwxr-xr-x 2 root root 81 Mar 24 16:15 466a6cafe806d412e2bc246f29d5d002bc9a35c6fc34dcfde520da9e588c7f8b
drwxr-xr-x 2 root root 81 Mar 24 16:15 5cd1d3347ba4d9a0edea555da8489633f73a42266e33cc8c55245b8791c6ff72 |
@24King ,root cause is : our image spec updated since version 0.7.1, while those app images have not been updated. |
we will do auto synchronized task with the sealer version later |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened:
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
sealer version
):cat /etc/os-release
):uname -a
):The text was updated successfully, but these errors were encountered: