Monday, 2021-08-09

__ministryI had seen commit change network of container from "host" to "bridge". Oh. Whether, anybody was noticed that, we can't connect to database (mariadb, mysql) from nova instance by user os_admin?12:14
__ministryBecause, we was grant privileges for user os_admin with "os_admin@'localhost'", and if we connect from nova instance, it was forward through 172.17.0.1 to connect with container?12:16
__ministryof course, about security. but i think we can use neutron's security groups.12:18
__ministryShould we do an options to custom network_mode of container. such as:12:19
__ministry[mariadb]12:19
__ministrydocker_network_mode = host12:19
__ministry???12:19
lxkong__ministry: as you said, using `host` as network node is not secure, we shouldn't provide that option even in dev environment, an extra option doesn't bring any extra value to the database management.20:46
lxkongIf you want to connect to the database for either troubleshooting or admin operations, you need to log into the guest instance and connect to db locally.20:47
lxkongAdditionally, using bridge network for database container makes the management task easier for cloud admins, e.g. restrict the network connection from database to mgmt control plane.20:54
lxkongThe change is a response to a penetration testing performed by a specialist security company towards our cloud, I can share more after we finish our current release.21:09

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!