Comment 2 for bug 1817934

Revision history for this message
Malte Swart (malte.swart) wrote :

* nova.conf (except generic auth specific sections like keystone, glance, neutron, messaging):

[DEFAULT]
debug = False
enabled_apis = osapi_compute,metadata
instance_name_template = %(project_id).8s-%(hostname)s-%(id)06d
lock_path = /var/lock/nova
log_dir = /var/log/nova
my_block_storage_ip = xxxxx
my_ip = xxxx
osapi_compute_unique_server_name_scope = project
osapi_compute_workers = 2
state_path = /var/lib/nova

[oslo_concurrency]
lock_path = /var/lib/nova/tmp

[lxd]
pool = default

* lxd storage is zfs:
+---------+-------------+--------+--------------------------------+---------+
| NAME | DESCRIPTION | DRIVER | SOURCE | USED BY |
+---------+-------------+--------+--------------------------------+---------+
| default | | zfs | /var/lib/lxd/disks/default.img | 10 |
+---------+-------------+--------+--------------------------------+---------+

* I created this VM via horizon specifying only the basic fields (flavor, image, network, ssh key and a scheduler hint to select the lxd node). The used flavor:
 VCPU: 1
 RAM: 2GB
 root disk: 5GB
 ephemeral Disk: 5GB
 space disk: 0MB

* the nova-compute log is already included (timestamps were removed for better readability).

* an instance log was not written as nova-lxd fails to create the profile
* installed with salt

For completeness as I didn't stated it explicit: booting containers works as expected for flavors without ephemeral disk.