<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>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. <br>
</p>
<p>Prior to Train, the dialog was configured with the
LAUNCH_INSTANCE_DEFAULTS dictionary in <i>local_settings.py</i>.
This is my dictionary; I set <i>create_volume </i>to <i>False </i>and
<i>hide_create_volume </i>to <i>True</i>:</p>
<p><tt>LAUNCH_INSTANCE_DEFAULTS = {</tt><tt><br>
</tt><tt> 'config_drive': False,</tt><tt><br>
</tt><font color="#0000ff"><tt> 'create_volume': False,</tt><tt><br>
</tt><tt> 'hide_create_volume': True,</tt></font><tt><br>
</tt><tt> 'disable_image': False,</tt><tt><br>
</tt><tt> 'disable_instance_snapshot': False,</tt><tt><br>
</tt><tt> 'disable_volume': False,</tt><tt><br>
</tt><tt> 'disable_volume_snapshot': False,</tt><tt><br>
</tt><tt> 'enable_scheduler_hints': True,</tt><tt><br>
</tt><tt>}</tt><tt><br>
</tt></p>
<p>Starting with Train, the dictionary is in <i>.../openstack_dashboard/defaults.py</i>,
but the changes I made there have no effect. Adding the dictionary
to <i>local_settings.py</i> has no effect either.</p>
<p>To test whether <i>defaults.py</i> is used at all, I added a
syntactically incorrect line, and indeed, the syntax error is
logged in <i>horizon_error.log</i>.</p>
<p>I wonder what I am doing wrong. I am convinced it worked like
this on Stein. Any ideas?</p>
<p>Bernd Bausch<br>
</p>
<p><br>
</p>
</body>
</html>