树莓派刷了计算脚本之后不识别硬件

Moderator: 论坛版主

Post Reply
kf92
1
Posts: 4
Joined: Mon Apr 15, 2019 12:38 pm

树莓派刷了计算脚本之后不识别硬件

Post by kf92 » Mon Apr 15, 2019 12:42 pm

使用:
cat /tmp/{node.ERROR,node.INFO,node.WARNING}
W0415 13:37:17.857915 605 compute.go:127] Report VG size faild: open /etc/kubernetes/pki/ca.crt: no such file or directory
一直出现找不到这个文件。
ca.crt等四个文件已经复制到/opt/bcloud目录下了,不知道这个是啥问题,我把ca.crt那个文件复制到这个文件下,重启这个文件就会被删除。
求问,谢谢。
设备:树莓派3B
固件/系统:2019-04-08-raspbian-stretch-lite
问题:无法识别硬盘容量,CPU,内存等信息。
日志/截图:

Code: Select all

cat /tmp/{node.ERROR,node.INFO,node.WARNING}
cat: /tmp/node.ERROR: No such file or directory
Log file created at: 2019/04/15 13:30:59
Running on machine: raspberrypi
Binary: Built with gc go1.10.3 for linux/arm
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
W0415 13:30:59.325790     605 node.go:50] connect 8.8.8.8:53(udp) faild: dial udp 8.8.8.8:53: connect: network is unreachable
I0415 13:31:08.308802     605 onbootcheck.go:26] Check logrotate rules
I0415 13:31:08.308948     605 onbootcheck.go:14] Check lvm2 installed
I0415 13:31:08.329858     605 onbootcheck.go:42] Check file: /usr/libexec/kubernetes/kubelet-plugins/volume/exec/bonuscloud.io~lvm/lvm
I0415 13:31:08.760351     605 onbootcheck.go:18] Check jq installed
W0415 13:37:17.857915     605 compute.go:127] Report VG size faild: open /etc/kubernetes/pki/ca.crt: no such file or directory
W0415 13:42:17.865140     605 compute.go:127] Report VG size faild: open /etc/kubernetes/pki/ca.crt: no such file or directory
Log file created at: 2019/04/15 13:30:59
Running on machine: raspberrypi
Binary: Built with gc go1.10.3 for linux/arm
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
W0415 13:30:59.325790     605 node.go:50] connect 8.8.8.8:53(udp) faild: dial udp 8.8.8.8:53: connect: network is unreachable
W0415 13:37:17.857915     605 compute.go:127] Report VG size faild: open /etc/kubernetes/pki/ca.crt: no such file or directory
W0415 13:42:17.865140     605 compute.go:127] Report VG size faild: open /etc/kubernetes/pki/ca.crt: no such file or directory

kf92
1
Posts: 4
Joined: Mon Apr 15, 2019 12:38 pm

Re: 树莓派刷了计算脚本之后不识别硬件

Post by kf92 » Mon Apr 15, 2019 2:30 pm

其他硬件信息显示了,仍然没有显示硬盘容量
vgs
VG #PV #LV #SN Attr VSize VFree
BonusVolGroup 1 0 0 wz--n- 931.51g 931.51g

应该是不能上报VG

kf92
1
Posts: 4
Joined: Mon Apr 15, 2019 12:38 pm

Re: 树莓派刷了计算脚本之后不识别硬件

Post by kf92 » Mon Apr 15, 2019 2:34 pm

https://github.com/kubernetes/kubernetes/issues/53889
有人说要:
systemctl enable kubelet && systemctl start kubelet
确实生成了缺少的文件,不知道能不能解决。

kf92
1
Posts: 4
Joined: Mon Apr 15, 2019 12:38 pm

Re: 树莓派刷了计算脚本之后不识别硬件

Post by kf92 » Mon Apr 15, 2019 11:42 pm

解决了那个问题,又出现了这个问题:
W0415 22:03:50.841822 607 compute.go:127] Report VG size faild: action request err: Patch https://computeadmin.bxcearth.com:6443/ ... d0b/status: read tcp [fdff:4243:4c4f:5544:3000:0:35:2fa8]:45572->[fdff:4243:4c4f:5544:2000::1a5]:6443: read: connection reset by peer

User avatar
Sinan Wang
5
Posts: 794
Joined: Thu Nov 01, 2018 10:34 am

Re: 树莓派刷了计算脚本之后不识别硬件

Post by Sinan Wang » Tue Apr 16, 2019 3:00 am

我们看下
BonusCloud.io

User avatar
wusheng
3
Posts: 198
Joined: Thu Nov 01, 2018 10:13 am

Re: 树莓派刷了计算脚本之后不识别硬件

Post by wusheng » Tue Apr 16, 2019 3:13 am

应该是你网络有问题

connect 8.8.8.8:53(udp) faild: dial udp 8.8.8.8:53: connect: network is unreachable
//UDP不可达
[fdff:4243:4c4f:5544:3000:0:35:2fa8]:45572-read: connection reset by peer
//连接被重置
是你的网络UDP协议通道出了问题吧,或着更新下/opt/bcloud/bxc-network试试
有未记录问题联系https://t.me/wusheng

Post Reply