How to create instances without volume by default?

  1. In the Horizon configuration file /etc/openstack-dashboard/local_settings.py add the following:

    REST_API_REQUIRED_SETTINGS = [
    'CREATE_IMAGE_DEFAULTS',
    'DEFAULT_BOOT_SOURCE',
    'ENFORCE_PASSWORD_CHECK',
    'LAUNCH_INSTANCE_DEFAULTS',
    'OPENSTACK_HYPERVISOR_FEATURES',
    'OPENSTACK_IMAGE_FORMATS',
    'OPENSTACK_KEYSTONE_BACKEND',
    'OPENSTACK_KEYSTONE_DEFAULT_DOMAIN',
    ]
    LAUNCH_INSTANCE_DEFAULTS = {
    'create_volume': False,
    }
    
  2. Recollect static and compress it with commands:

    python3 /usr/share/openstack-dashboard/manage.py collectstatic
    python3 /usr/share/openstack-dashboard/manage.py compress
    
  3. Restart apache2 and memcached services:

    systemctl restart apache2
    systemctl restart memcached