On an Ussuri Devstack, I would like to launch instances with ephemeral storage from Horizon and remove the volume storage switch from the instance launch dialog.

Prior to Train, the dialog was configured with the LAUNCH_INSTANCE_DEFAULTS dictionary in local_settings.py. This is my dictionary; I set create_volume to False and hide_create_volume to True:

LAUNCH_INSTANCE_DEFAULTS = {
    'config_drive': False,
    'create_volume': False,
    'hide_create_volume': True,

    'disable_image': False,
    'disable_instance_snapshot': False,
    'disable_volume': False,
    'disable_volume_snapshot': False,
    'enable_scheduler_hints': True,
}

Starting with Train, the dictionary is in .../openstack_dashboard/defaults.py, but the changes I made there have no effect. Adding the dictionary to local_settings.py has no effect either.

To test whether defaults.py is used at all, I added a syntactically incorrect line, and indeed, the syntax error is logged in horizon_error.log.

I wonder what I am doing wrong. I am convinced it worked like this on Stein. Any ideas?

Bernd Bausch