Installing only the compute module is something pretty common in openstack (you'll do this on all compute nodes, while other modules are only needed on the controller). In this case, you do not require a db. Currently the ebuild requires one to be installed. Reproducible: Always
I'm not sure how easy this will be to do. The easiest way to do it would be to have a compute-only use flag maybe? Otherwise it would need to check all the other use flags to be sure no other services are used. Easier to prove a positive then a negative.
i'm not familiar with ebuilds, but isn't it possible to do something like Either * add a USE flag "api" that would mean xvpvncproxy, spicehtml5proxy, scheduler, consoleauth, conductor, cert and api * or add USE flags for every one of them Then db_needed = false if useflag(api): db_needed = true if useflag(conductor): db_needed = true etc.. then only the test if (db_needed) current check about using mysql or sqlite (btw, is 'network' really still used ? neutron has been there for a long time now) And WHO uses sqlite, anyway ?
honestly not sure who uses sqlite, I think it's more there for swift installs. some still use nova-network, even if it sucks :P the db_needed trick could work, I'll have to think about it.
It's controlled via a compute-only use flag for both neutron and nova.