Nova API runs as privileged container
Bug #1649103 reported by
Pete Birley
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-kubernetes |
In Progress
|
Medium
|
Pete Birley |
Bug Description
The current implementation of kolla-k8s runs the Nova-API container in the Nova-API pod with elevated privileges, as a result of some unnecessary iptables commands run upon starting the Nova-Metadata API. This is not required when running in Kubernetes, and presents a potential security risk.
To post a comment you must log in.
A potential solution to this issue is here: https:/ /github. com/portdirect/ harbor/ tree/latest/ docker/ openstack/ openstack- nova/openstack- nova-api- metadata/ assets/ sbin, though it would be nicer to find a more elegant way.