Firefly开源社区

打印 上一主题 下一主题

[Linux] AIO-RK3399J安装kubelet后,启动报错

24

积分

0

威望

0

贡献

技术小白

积分
24

AIO-RK3399J安装kubelet后,启动报错

发表于 2022-1-24 17:45:03      浏览:4596 | 回复:2        打印      只看该作者   [复制链接] 楼主
镜像: AIO-3399J-docker-UBUNTU18.04-GPT-20220121-1540.img.7z

报错信息:
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.595663   19314 metadata.go:138] Error while reading product_name: open /sys/class/dmi/id/product_name: no such file or directory
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.596722   19314 metadata.go:138] Error while reading product_name: open /sys/class/dmi/id/product_name: no such file or directory
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.597917   19314 metadata.go:138] Error while reading product_name: open /sys/class/dmi/id/product_name: no such file or directory
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.598735   19314 kuberuntime_manager.go:1098] "Updating runtime config through cri with podcidr" CIDR="10.244.0.0/16"
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.600310   19314 docker_service.go:364] "Docker cri received runtime config" runtimeConfig="&RuntimeConfig{NetworkConfig:&NetworkConfig{PodCidr:10.244.0.0/16,},}"
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.601321   19314 kubelet_network.go:76] "Updating Pod CIDR" originalPodCIDR="" newPodCIDR="10.244.0.0/16"
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.602152   19314 plugins.go:641] "Loaded volume plugin" pluginName="kubernetes.io/portworx-volume"
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.602241   19314 plugins.go:641] "Loaded volume plugin" pluginName="kubernetes.io/rbd"
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.602288   19314 plugins.go:641] "Loaded volume plugin" pluginName="kubernetes.io/aws-ebs"
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.602334   19314 plugins.go:641] "Loaded volume plugin" pluginName="kubernetes.io/gce-pd"
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.602379   19314 plugins.go:641] "Loaded volume plugin" pluginName="kubernetes.io/cinder"
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.602423   19314 plugins.go:641] "Loaded volume plugin" pluginName="kubernetes.io/azure-disk"
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.602498   19314 plugins.go:641] "Loaded volume plugin" pluginName="kubernetes.io/azure-file"
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.602546   19314 plugins.go:641] "Loaded volume plugin" pluginName="kubernetes.io/vsphere-volume"
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.602622   19314 plugins.go:641] "Loaded volume plugin" pluginName="kubernetes.io/empty-dir"
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.602667   19314 plugins.go:641] "Loaded volume plugin" pluginName="kubernetes.io/git-repo"
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.602711   19314 plugins.go:641] "Loaded volume plugin" pluginName="kubernetes.io/host-path"
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.602759   19314 plugins.go:641] "Loaded volume plugin" pluginName="kubernetes.io/nfs"
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.602805   19314 plugins.go:641] "Loaded volume plugin" pluginName="kubernetes.io/secret"
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.602861   19314 plugins.go:641] "Loaded volume plugin" pluginName="kubernetes.io/iscsi"
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.602906   19314 plugins.go:641] "Loaded volume plugin" pluginName="kubernetes.io/glusterfs"
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.602951   19314 plugins.go:641] "Loaded volume plugin" pluginName="kubernetes.io/quobyte"
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.602995   19314 plugins.go:641] "Loaded volume plugin" pluginName="kubernetes.io/cephfs"
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.603040   19314 plugins.go:641] "Loaded volume plugin" pluginName="kubernetes.io/downward-api"
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.603099   19314 plugins.go:641] "Loaded volume plugin" pluginName="kubernetes.io/fc"
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.603142   19314 plugins.go:641] "Loaded volume plugin" pluginName="kubernetes.io/flocker"
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.603188   19314 plugins.go:641] "Loaded volume plugin" pluginName="kubernetes.io/configmap"
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.603235   19314 plugins.go:641] "Loaded volume plugin" pluginName="kubernetes.io/projected"
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.603281   19314 plugins.go:641] "Loaded volume plugin" pluginName="kubernetes.io/local-volume"
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.603331   19314 plugins.go:641] "Loaded volume plugin" pluginName="kubernetes.io/storageos"
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.603455   19314 plugins.go:641] "Loaded volume plugin" pluginName="kubernetes.io/csi"
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.604230   19314 server.go:1231] "Started kubelet"
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.605265   19314 server.go:150] "Starting to listen" address="0.0.0.0" port=10250
Jan 24 06:31:21 firefly kubelet[19314]: E0124 06:31:21.608400   19314 kubelet.go:1351] "Image garbage collection failed once. Stats initialization may not have completed yet" err="failed to get imageFs info: unable to find data in memory cache"
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.609789   19314 server.go:410] "Adding debug handlers to kubelet server"
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.610770   19314 fs_resource_analyzer.go:67] "Starting FS ResourceAnalyzer"
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.614222   19314 volume_manager.go:289] "The desired_state_of_world populator starts"
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.614294   19314 volume_manager.go:291] "Starting Kubelet Volume Manager"
Jan 24 06:31:21 firefly kubelet[19314]: E0124 06:31:21.614694   19314 server.go:166] "Failed to listen and serve" err="open : no such file or directory"
Jan 24 06:31:21 firefly kubelet[19314]: I0124 06:31:21.614763   19314 desired_state_of_world_populator.go:147] "Desired state populator starts to run"
Jan 24 06:31:21 firefly systemd[1]: kubelet.service: Main process exited, code=exited, status=1/FAILURE
Jan 24 06:31:21 firefly systemd[1]: kubelet.service: Failed with result 'exit-code'.

估计是缺失对应文件夹引起:

Error while reading product_name: open /sys/class/dmi/id/product_name: no such file or directory

回复

使用道具 举报

899

积分

0

威望

6

贡献

技术大神

Rank: 8Rank: 8

积分
899
发表于 2022-2-9 16:01:21        只看该作者  沙发
这种模块配置问题,一般情况是客户自行配置的。我司最基本的就是保证板子平稳使用和上层基础控件。如果更多要求联系商务合作。

open /sys/class/dmi/id/product_name: no such file or directory
你这个问题,我觉得是内核没有打开什么缺少什么设备,或者软件能不能不使用这个dmi文件。firefly提供开源的kernel,供开发者使用,不少开发者可以从中调试自己的产品和实现自己的产品功能。
回复

使用道具 举报

24

积分

0

威望

0

贡献

技术小白

积分
24
发表于 2022-2-9 16:20:09        只看该作者  板凳
895816513 发表于 2022-2-9 16:01
这种模块配置问题,一般情况是客户自行配置的。我司最基本的就是保证板子平稳使用和上层基础控件。如果更多 ...

你意思是,我们要尝试自行编译,来处理这个问题了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表