service=['nova-compute', 'nova'],
                                             config_file=NOVA_CONF),
            InstanceConsoleContext(),
            context.ZeroMQContext(),
            context.NotificationDriverContext(),
            MetadataServiceContext(),
            HostIPContext(),
            NovaComputeVirtContext(),
            context.LogLevelContext(),
            context.InternalEndpointContext(),
            context.VolumeAPIContext('nova-common'),
            SerialConsoleContext(),
            NovaComputeAvailabilityZoneContext(),
            context.WorkerConfigContext(),
            vaultlocker.VaultKVContext(vaultlocker.VAULTLOCKER_BACKEND),
            context.IdentityCredentialsContext(rel_name='cloud-credentials')
        ],
    },
    NOVA_API_AA_PROFILE_PATH: {
        'services': ['nova-api'],
        'contexts': [NovaAPIAppArmorContext()],
    },
    NOVA_COMPUTE_AA_PROFILE_PATH: {
        'services': ['nova-compute'],
        'contexts': [NovaComputeAppArmorContext()],
    },
    NOVA_NETWORK_AA_PROFILE_PATH: {
        'services': ['nova-network'],
        'contexts': [NovaNetworkAppArmorContext()],
    },
}
REQUIRED_INTERFACES = {
    'database': ['mongodb'],
    'messaging': ['amqp'],
    'identity': ['identity-service'],
}

CEILOMETER_ROLE = "ResellerAdmin"
SVC = 'ceilometer'
WSGI_CEILOMETER_API_CONF = '/etc/apache2/sites-enabled/wsgi-openstack-api.conf'
PACKAGE_CEILOMETER_API_CONF = '/etc/apache2/sites-enabled/ceilometer-api.conf'

QUEENS_CONFIG_FILES = OrderedDict([
    (CEILOMETER_CONF, {
        'hook_contexts': [
            context.IdentityCredentialsContext(service=SVC,
                                               service_user=SVC),
            context.AMQPContext(ssl_dir=CEILOMETER_CONF_DIR),
            LoggingConfigContext(),
            MongoDBContext(),
            CeilometerContext(),
            context.SyslogContext(),
            context.MemcacheContext(),
            MetricServiceContext(),
            context.WorkerConfigContext()],
        'services': QUEENS_SERVICES
    }),
])

CONFIG_FILES = OrderedDict([
    (CEILOMETER_CONF, {
        'hook_contexts': [context.IdentityServiceContext(service=SVC,