admin管理员组文章数量:1794759
PyKMIP
Pykmip client: 使用pykmip客户端PyKMIP-master脚本验证 kmipserver 是否正常工作:
$cd /root/PyKMIP-master/kmip/demos/pie
$python3 create.py -a AES -l 128
出现下方错误:
An error occurred while connecting to appliance 10.1.1.124: [Errno 113] No route to host
could not open client connection: [Errno 113] No route to host
排查原因:
连接不到服务器ip:10.1.1.124,可能是防火墙原因
查看服务端的防火墙是否开着
解决方法:
查看防火墙:
$ systemctl status firewalld
#关闭防火墙
$service firewalld stop
#关闭防火墙开机自启动
$systemctl disable firewalld
#开启防火墙开机自启动
$systemctl enable firewalld
参考:firewalld的基本使用
启动: systemctl start firewalld
关闭: systemctl stop firewalld
查看状态: systemctl status firewalld
开机禁用 : systemctl disable firewalld
开机启用 : systemctl enable firewalld
本文标签: pykmip
版权声明:本文标题:PyKMIP 内容由林淑君副主任自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.xiehuijuan.com/baike/1696236748a322164.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论