![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Error
这闺女长得真俊啊
发誓和放屁也没差
展开
-
error:kubectl get csr No resources found.
问题kubectl get csrNo resources found.原因因为原来的ssl证书在重启后失效了,不删除的话,即重启kubelet也无法与master通讯解决node节点cd /opt/kubernetes/ssllskubelet-client-2021-04-14-08-41-36.pem kubelet-client-current.pem kubelet.crt kubelet.key# 删除所有的证书rm -rf *# 关闭开启的kubeletsys原创 2021-04-15 18:10:49 · 2773 阅读 · 3 评论 -
error:kubectl get node查看node的NotReady状态
kubectl get nodeNAME STATUS ROLES AGE VERSION192.168.238.82 NotReady <none> 32h v1.12.3192.168.238.83 NotReady <none> 32h v1.12.3问题notready状态解决检查这三个文件,看IP是否有问题vim /opt/kubernetes/cfg/bootstrap.kubec原创 2021-04-15 17:21:32 · 1266 阅读 · 0 评论 -
kubernetes------error:flanneld开启后发现容器间不能互通,包全丢
环境ifconfig docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 inet 172.17.47.1 netmask 255.255.255.0 broadcast 172.17.47.255 ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.238.82 netmask 25原创 2021-04-15 16:37:57 · 353 阅读 · 0 评论 -
Kubernetes-------踩坑:访问IP节点选择
在多节点的集群中,必须找到运行Dashboard节点的IP来访问,而不是Master节点的IPnode01docker ps -aCONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES15fa7482f09b nginx原创 2021-04-15 11:30:56 · 325 阅读 · 0 评论 -
error: failed to run Kubelet: cannot create certificate signing request
问题error: failed to run Kubelet: cannot create certificate signing request: certificatesigningrequests.certificates.k8s.io is forbidden: User "kubelet-bootstrap" cannot create certificatesigningrequests.certificates.k8s.io at the cluster scope原因kubelet-原创 2021-04-14 21:59:54 · 3064 阅读 · 0 评论 -
报错:ERROR: for nginx Cannot start service proxy;for proxy Cannot start service proxy;......
报错[root@client opt]# sh /usr/local/harbor/install.sh[Step 0]: checking installation environment ...Note: docker version: 20.10.5Note: docker-compose version: 1.21.1[Step 1]: loading Harbor images ...[Step 2]: preparing environment ...[Step 3]: c原创 2021-03-29 15:31:28 · 1904 阅读 · 2 评论 -
CMake Error: The source directory “/“ does not appear to contain CMakeLists.txt.
问题Step 6/19 : RUN cmake -DCMAKE_INSTALL_PREFIX=/usr/local/mysql -DMYSQL_UNIX_ADDR=/usr/local/mysql/mysql.sock -DSYSCONFDIR=/etc -DSYSTEMD_PID_DIR=/usr/local/mysql -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci -DWITH_EXTRA_CHARSETS=all -DWITH_原创 2021-03-25 13:47:09 · 4536 阅读 · 2 评论 -
Error processing tar file(exit status 1): write /usr/local/src/mysql/libmysqld/libmysqld.a: no space
问题Error processing tar file(exit status 1): write /usr/local/src/mysql/libmysqld/libmysqld.a: no space left on device[root@localhost mysql]# df -h文件系统 容量 已用 可用 已用% 挂载点/dev/sda2 20G 17G 3.8G 82% /devtmpfs 978M 0 978M原创 2021-03-25 12:29:39 · 5114 阅读 · 3 评论 -
Get https://192.168.238.10:5000/v2/: http: server gave HTTP response to HTTPS client
问题:Get https://192.168.238.10:5000/v2/: http: server gave HTTP response to HTTPS client无法上传[root@localhost data]# docker push 192.168.238.10:5000/nginxUsing default tag: latestThe push refers to repository [192.168.238.10:5000/nginx]Get https://192.16原创 2021-03-23 19:04:27 · 10343 阅读 · 6 评论 -
openstack------修改网卡名称
1、/etc/default/grub中,在GRUB_CMDLINE_LINUX后面添加net.ifnames=0 biosdevname=0这段话。vim /etc/default/grubGRUB_CMDLINE_LINUX="crashkernel=auto rhgb quiet net.ifnames=0 biosdevname=0"2、到网卡中修改配置文件:设备、名称、文件名3、在命令行输入grub2-mkconfig -o /boot/grub2/grub.cfg,更新内核参数。原创 2021-03-19 09:02:00 · 696 阅读 · 2 评论 -
报错:HTTP 401 Unauthorized
报错:HTTP 401 Unauthorizedopenstack image create --file cirros-0.3.5-x86_64-disk.img --disk-format qcow2 --container-format bare --public cirrosHTTP 401 Unauthorized: This server could not verify that you are authorized to access the document you requested原创 2021-03-15 17:03:00 · 7488 阅读 · 10 评论 -
Internal Server Error HTTP 500 /Can‘t connect to MySQL server on ‘c2‘ [Errno 111] Connection refused
问题:Internal Server Error (HTTP 500)[root@c2 ~]# openstack user listInternal Server Error (HTTP 500)[root@c2 ~]# tail -f /var/log/httpd/access_log error_log keystone_access.log keystone.log [root@c2 ~]# tail -f /var/log/ht原创 2021-03-10 19:32:03 · 1970 阅读 · 7 评论 -
libvirtError: 将插槽连接到 ‘/var/run/libvirt/libvirt-sock‘ 失败: 没有那个文件或目录
问题:没有/var/run/libvirt/libvirt-sock文件确定 ‘libvirtd’ 守护进程正在运行。libvirtError: 将插槽连接到 ‘/var/run/libvirt/libvirt-sock’ 失败: 没有那个文件或目录解决:重启一下服务器 文件就有了原创 2021-03-09 13:35:59 · 6929 阅读 · 2 评论 -
mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
问题:挂载不成功[root@kvm ~]# mount.cifs //192.168.238.1/jing /mntPassword for root@//192.168.238.1/jing: ******mount error(13): Permission deniedRefer to the mount.cifs(8) manual page (e.g. man mount.cifs)解决[root@kvm ~]# mount.cifs //192.168.238.1/jing原创 2021-03-09 11:07:30 · 8026 阅读 · 0 评论 -
GlusterFS错误修正
问题:node1的用户名没显示,显示的是IP原因:映射做错了解决修改IP重启服务systemctl restart glusterd.service再做邻接[root@node2 opt]# gluster peer probe node1peer probe: success.原创 2021-03-03 11:33:23 · 207 阅读 · 0 评论 -
CentOS编译问题:./configure
报错[root@localhost inotify-tools-3.14]#./configure checking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yeschecking for a thread-safe mkdir -p... /usr/bin/mkdir -pchecking for gawk... gawkchecking w原创 2021-03-02 08:56:15 · 1197 阅读 · 3 评论