Example nova-compute nova.conf:
[DEFAULT]
my_ip=192.168.12.75
[serial_console]
enabled=True
port_range=10000:20000
base_url=ws://192.168.12.10:6083/
proxyclient_address=192.168.12.75
Example nova-serialproxy "nova.conf":
[DEFAULT]
my_ip=192.168.12.10
[serial_console]
serialproxy_host=192.168.12.10
serialproxy_port=6083
This example uses `192.168.12.10` as publicly accessible IP address
of the controller node. That's the IP address any user/client would
use to connect to the nova API (or other API services). The IP address
`192.168.12.75` is the address the `nova-serialproxy` will use internally
to establish a connection to the serial console of the instance of *that*
compute node.
Be aware that the code in Nova is confusing in that area. If the
documentation in the nova sample config isn't helpful enough, please
let me know (via IRC).
Two services need to be configured:
* nova-serialproxy (on controller node)
* nova-compute (on compute nodes)
The needed config options in "nova.conf" are all defined in the /github. com/openstack/ nova/blob/ master/ nova/conf/ serial_ console. py
section [serial_console] at:
https:/
`nova-serialproxy` reads: _host _port
serialproxy
serialproxy
`nova-compute` reads: _address
enabled
port_range
base_url
proxyclient
Example nova-compute nova.conf: ip=192. 168.12. 75 console] range=10000: 20000 url=ws: //192.168. 12.10:6083/ _address= 192.168. 12.75
[DEFAULT]
my_
[serial_
enabled=True
port_
base_
proxyclient
Example nova-serialproxy "nova.conf": ip=192. 168.12. 10 console] _host=192. 168.12. 10 _port=6083
[DEFAULT]
my_
[serial_
serialproxy
serialproxy
This example uses `192.168.12.10` as publicly accessible IP address
of the controller node. That's the IP address any user/client would
use to connect to the nova API (or other API services). The IP address
`192.168.12.75` is the address the `nova-serialproxy` will use internally
to establish a connection to the serial console of the instance of *that*
compute node.
Be aware that the code in Nova is confusing in that area. If the
documentation in the nova sample config isn't helpful enough, please
let me know (via IRC).