Administrator Guide

Installation

To install Openstack lease it, follow the documentation available on github

Configuration files

Openstack lease it configuration files should be placed under /etc/openstack-lease-it. This directory contains the following files:

config.ini
The configuration of openstack-lease-it django instance
delete-notification.txt / lease-notification.txt
A template of mail body when notifying a user

Configuration files : config.ini

Section [django]

secret_key:
The django secret key. Should be generated by administrator. You can use a generator like https://www.miniwebtool.com/django-secret-key-generator/ (no default)
debug:
Flag to enable or disable django debug (default: False)
log_dir:
Directory of log file (default: /var/log/openstack-lease-it)
log_level:
Logging level (default: INFO)

Section [plugin]

backend:
Backend plugin to use (default: ‘Openstack’)

Section [openstack]

OS_USERNAME:
Openstack username for lease it, it must be a admin user (default: admin)
OS_PASSWORD:
Openstack password (no default)
OS_TENANT_NAME / OS_PROJECT_NAME:
Username project (default: admin)
OS_AUTH_URL:
url of keystone server (no default)
OS_CACERT:
Certificate or CA of keystone server (no default)
OS_IDENTITY_API_VERSION:
Identity api version (default: 3)
OS_USER_DOMAIN_NAME:
Domain name for user (default: default)
OS_PROJECT_DOMAIN_NAME:
Domain name for project (default: default)

Section [memcached]

host:
Memcache server hostname (default: 127.0.0.1)
port:
Memcache server port (default: 11211)

Section [notification]

smtp:
hostname of smtp server
username:
mail username used to send mail
password:
password of username
email_header:
mail address of the sender
subject:
subject of notification mail
link:
link to lease-it server
debug:
If True, mail only sent to email_header
default_domain:
append to a email if not matching a valid email format
delete_content / lease_content:
Full path of mail body template