• agent_ipmitool_socat
  • pxe_ipmitool_socat

修改driver方式:更换ironic node的driver类型

yum install -y socat
ironic node-update <node-uuid> add driver_info/ipmi_terminal_port=<port>
ironic node-set-console-mode <node-uuid> true
ironic node-get-console <node-uuid>
+-----------------+----------------------------------------------------------------------+
| Property        | Value                                                                |
+-----------------+----------------------------------------------------------------------+
| console_enabled | True                                                                 |
| console_info    | {u'url': u'tcp://<host>:<port>', u'type': u'socat'}                  |
+-----------------+----------------------------------------------------------------------+

和nova结合

安装serialproxy服务

yum install -y openstack-nova-serialproxy
systemctl enable openstack-nova-serialproxy
systemctl start openstack-nova-serialproxy

在nova中打开serial console

[serial_console]
enabled = true
proxyclient_address = 0.0.0.0
base_url = ws://$PROXY_IP:6083/
nova get-serial-console e3aa4840-6f54-48c6-834e-e3c9f896b22a
+--------+-----------------------------------------------------------------+
| Type   | Url                                                             |
+--------+-----------------------------------------------------------------+
| serial | ws://127.0.0.1:6083/?token=<token>                              |
+--------+-----------------------------------------------------------------+

 

相关文章:

  • 2021-08-28
  • 2022-03-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-19
猜你喜欢
  • 2021-11-06
  • 2021-10-30
  • 2021-12-14
  • 2021-09-19
  • 2022-12-23
  • 2022-12-23
  • 2021-11-28
相关资源
相似解决方案