18-问题汇总
记录一些OpenStack部署运维中的一些坑
1. 使用密钥对登录不上
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions 0644 for ‘os-key.pem’ are too open. It is required that your private key files are NOT accessible by others. This private key will be ignored. Load key “os-key.pem”: bad permissions
解决办法
按照错误提示,该文件不能被其他人访问,只要将所属组和其他人的read权限取消即可 chmod 600 os-key.pem 修改好后,再次连接,一切正常。
配置双网卡
添加网卡没有分配ip
分配ip网络不通
通过添加路由表
错误: 实例 “cccc” 执行所请求操作失败,实例处于错误状态。: 请稍后再试 [错误: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance 4daf5351-bdfc-4bc8-a80b-dc5c470c935d.].
port_unbound(): net_uuid None not managed by VLAN manager
创建vxlan网络 vxlan sub-vxlan 192.168.7.0/24
- keeplive分配的虚拟IP不能用 https://www.bbsmax.com/A/MyJxP9wMJn/ nova interface-list [vm_id]
<$ nova interface-list 15869ab7-35f7-435d-ad81-ce711696c1f6
+------------+--------------------------------------+--------------------------------------+--------------+-------------------+
| Port State | Port ID | Net ID | IP addresses | MAC Addr |
+------------+--------------------------------------+--------------------------------------+--------------+-------------------+
| ACTIVE | a13261e4-e4fd-4e4d-a2ec-06c901d916f6 | 1d4a739a-c012-41c4-8d1b-dc69ac826f5d | 10.57.26.134 | fa:16:3e:69:91:6d |
+------------+--------------------------------------+--------------------------------------+--------------+-------------------+
t
neutron port-update –no-security-groups –port-security-enabled=False [port_id]
neutron port-update --no-security-groups --port-security-enabled=False a13261e4-e4fd-4e4d-a2ec-06c901d916f6