Serial-console proxy missing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Wishlist
|
coolkil |
Bug Description
When working on s390x support for spice and vnc is missing. the alternative is using something called a serial-console. As described here https:/
Openstack-ansible is currently not offering an option to implement this feature but for as far as I can tell all the needed packages are provided in /openstack/
It is possible to lauch the service using the following systemd service file
[Unit]
Description=nova openstack service
After=syslog.target
After=network.
[Service]
Type=simple
User=nova
Group=nova
ExecStart=
# Give a reasonable amount of time for the server to start up/shut down
TimeoutSec=120
Restart=on-failure
RestartSec=2
# This creates a specific slice which all nova services will operate from
# The accounting options give us the ability to see resource usage through
# the `systemd-cgtop` command.
Slice=nova.slice
CPUAccounting=true
BlockIOAccounti
MemoryAccountin
TasksAccounting
[Install]
WantedBy=
what is needed:
ansible playbook to create systemd service file
changis to nova.conf to support serialconsole-proxy
playbook to set configuration options for serialconsole-
Changed in openstack-ansible: | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
tags: | added: low-hanging-fruit |
Changed in openstack-ansible: | |
status: | In Progress → Fix Released |
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).