diff --git "a/sig/Hygon Arch/content/2-CSV\346\265\213\350\257\225\346\226\207\346\241\243/9-FAQ/2-\346\234\272\345\257\206\350\231\232\346\213\237\346\234\272.md" "b/sig/Hygon Arch/content/2-CSV\346\265\213\350\257\225\346\226\207\346\241\243/9-FAQ/2-\346\234\272\345\257\206\350\231\232\346\213\237\346\234\272.md" index d5333188a92cc5ed3954defa122ad68211883172..3fb776be5f9fa87031b4604c113e69beb3e6a330 100644 --- "a/sig/Hygon Arch/content/2-CSV\346\265\213\350\257\225\346\226\207\346\241\243/9-FAQ/2-\346\234\272\345\257\206\350\231\232\346\213\237\346\234\272.md" +++ "b/sig/Hygon Arch/content/2-CSV\346\265\213\350\257\225\346\226\207\346\241\243/9-FAQ/2-\346\234\272\345\257\206\350\231\232\346\213\237\346\234\272.md" @@ -109,3 +109,25 @@ A: 可能是已经生成过对应的文件,将文件删除重新尝试 - 如果用户不需要使用CSV3,请忽略这条日志; - 如果用户需要使用CSV3,请在Grub的主机Linux内核命令行参数中添加csv_mem_percentage=`xx`,其中`xx`是一个十进制数字,有效数值范围为(0, 80],代表主机可分配给CSV3虚拟机使用的物理内存占总物理内存的百分比。 + +#### Q: export_cert_chain command fail, return 6! + +A: 使用 sudo hag csv platform_shutdown; sudo hag csv factory_reset; sudo hag csv export_cert_chain 命令修复 + +#### Q: reuse asid 支持 + +A: -object sev-guest,id=sev0,policy=0x81,cbitpos=47,reduced-phys-bits=5,user-id=usertest ,主要参数policy=0x81、user-id=usertest policy 中必须要设置8来支持reuse asid + +#### Q: libvirt xml网络配置参考 +``` +# 配置必须要添加上,参考配置如下: + + + + + +
+ + +``` + diff --git "a/sig/Hygon Arch/content/2-CSV\346\265\213\350\257\225\346\226\207\346\241\243/9-FAQ/3-\346\234\272\345\257\206\345\256\271\345\231\250.md" "b/sig/Hygon Arch/content/2-CSV\346\265\213\350\257\225\346\226\207\346\241\243/9-FAQ/3-\346\234\272\345\257\206\345\256\271\345\231\250.md" index 0913141accd37f2985457575f49cde6c4a37efbc..ef27e8f352bd2d658cefd0bffd0bf278cee5056f 100644 --- "a/sig/Hygon Arch/content/2-CSV\346\265\213\350\257\225\346\226\207\346\241\243/9-FAQ/3-\346\234\272\345\257\206\345\256\271\345\231\250.md" +++ "b/sig/Hygon Arch/content/2-CSV\346\265\213\350\257\225\346\226\207\346\241\243/9-FAQ/3-\346\234\272\345\257\206\345\256\271\345\231\250.md" @@ -373,4 +373,30 @@ coco ``` 正常情况,驱动能够加载,/sys/kernel/security/secrets/coco/ 路径存在,驱动和路径必须要存在,否则不能正常通信 -进入虚拟机的方法参考上面 **Q: CSV 机密容器pull镜像 网络失败排查流程** 章节 \ No newline at end of file +进入虚拟机的方法参考上面 **Q: CSV 机密容器pull镜像 网络失败排查流程** 章节 + +#### Q:failed to pull manifest error sending request for url (https://docker.xx.cn:5005/v2/): error trying to connect: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1919: (self signed certificate) + +检查私有仓库openssl.cnf文件内容是否正确,该错误可能是下面字段配置不正确,查看上面的示例对比确认 +``` +[alt_names] +DNS.1 = *.xx.cn +DNS.2 = xx.cn +``` + +#### Q:Warning FailedScheduling 3m14s default-scheduler 0/1 nodes are available: 1 node(s) had untolerated taint {node.kubernetes.io/disk-pressure: }. preemption: 0/1 nodes are available: 1 + +/var/lib/kubelet/config.yaml 中添加如下配置减小kubelet 阙值 +``` +evictionHard: + nodefs.available: "5%" + imagefs.available: "5%" +evictionSoft: + nodefs.available: "10%" +evictionSoftGracePeriod: + nodefs.available: "2m" +``` +修改后重启 +``` +systemctl restart kubelet +``` \ No newline at end of file