Comment 1 for bug 1093043

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :

Looks like the key is CONF[self.__pivot] needs to work with "baremetal.db_backend".

        if not self.__backend:
            backend_name = CONF[self.__pivot]
            if backend_name not in self.__backends:
                msg = _('Invalid backend: %s') % backend_name
                raise exception.NovaException(msg)

Basically we need to look up the group first and then lookup the key in the group. Easiest way is to enhance cfg._get_opt_info to deal with "baremetal.db_backend"