zun-compute does not work in rocky due to missing configuration in kolla and kolla-ansible.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
Medium
|
Radosław Piliszek | ||
Rocky |
Fix Committed
|
Medium
|
Radosław Piliszek | ||
Stein |
Fix Released
|
Medium
|
Radosław Piliszek | ||
Train |
Fix Released
|
Medium
|
Radosław Piliszek | ||
kolla-ansible |
Fix Released
|
High
|
Radosław Piliszek | ||
Rocky |
Fix Committed
|
High
|
Radosław Piliszek | ||
Stein |
Fix Released
|
High
|
Eduardo Gonzalez | ||
Train |
Fix Released
|
High
|
Radosław Piliszek |
Bug Description
zun 2.1 checks regular /var/lib/docker and requires at least the directory created:
2018-10-10 13:21:50.486 8 INFO zun.container.
2018-10-10 13:21:50.487 8 ERROR zun.common.
2018-10-10 13:21:50.487 8 ERROR zun.common.
2018-10-10 13:21:50.487 8 ERROR zun.common.
2018-10-10 13:21:50.487 8 ERROR zun.common.
2018-10-10 13:21:50.487 8 ERROR zun.common.
2018-10-10 13:21:50.487 8 ERROR zun.common.
2018-10-10 13:21:50.488 8 ERROR oslo_service.
2018-10-10 13:21:50.488 8 ERROR oslo_service.
2018-10-10 13:21:50.488 8 ERROR oslo_service.
2018-10-10 13:21:50.488 8 ERROR oslo_service.
2018-10-10 13:21:50.488 8 ERROR oslo_service.
2018-10-10 13:21:50.488 8 ERROR oslo_service.
2018-10-10 13:21:50.488 8 ERROR oslo_service.
2018-10-10 13:21:50.488 8 ERROR oslo_service.
2018-10-10 13:21:50.488 8 ERROR oslo_service.
2018-10-10 13:21:50.488 8 ERROR oslo_service.
2018-10-10 13:21:50.488 8 ERROR oslo_service.
2018-10-10 13:21:50.488 8 ERROR oslo_service.
2018-10-10 13:21:50.488 8 ERROR oslo_service.
2018-10-10 13:21:50.488 8 ERROR oslo_service.
Please add "mkdir -p /var/lib/docker" to the Dockerfile.j2 or give an option to change the "docker_data_root" to somewhere else.
Secondly, pciutils are missing:
2018-10-11 20:10:29.969 8 DEBUG oslo_concurrenc
2018-10-11 20:10:30.308 8 DEBUG oslo_concurrenc
2018-10-11 20:10:30.310 8 ERROR oslo_service.
2018-10-11 20:10:30.310 8 ERROR oslo_service.
2018-10-11 20:10:30.310 8 ERROR oslo_service.
2018-10-11 20:10:30.310 8 ERROR oslo_service.
2018-10-11 20:10:30.310 8 ERROR oslo_service.
2018-10-11 20:10:30.310 8 ERROR oslo_service.
2018-10-11 20:10:30.310 8 ERROR oslo_service.
2018-10-11 20:10:30.310 8 ERROR oslo_service.
2018-10-11 20:10:30.310 8 ERROR oslo_service.
2018-10-11 20:10:30.310 8 ERROR oslo_service.
2018-10-11 20:10:30.310 8 ERROR oslo_service.
2018-10-11 20:10:30.310 8 ERROR oslo_service.
2018-10-11 20:10:30.310 8 ERROR oslo_service.
2018-10-11 20:10:30.310 8 ERROR oslo_service.
2018-10-11 20:10:30.310 8 ERROR oslo_service.
2018-10-11 20:10:30.310 8 ERROR oslo_service.
2018-10-11 20:10:30.310 8 ERROR oslo_service.
2018-10-11 20:10:30.310 8 ERROR oslo_service.
2018-10-11 20:10:30.310 8 ERROR oslo_service.
2018-10-11 20:10:30.310 8 ERROR oslo_service.
2018-10-11 20:10:30.310 8 ERROR oslo_service.
2018-10-11 20:10:30.310 8 ERROR oslo_service.
2018-10-11 20:10:30.310 8 ERROR oslo_service.
2018-10-11 20:10:30.310 8 ERROR oslo_service.
2018-10-11 20:10:30.310 8 ERROR oslo_service.
2018-10-11 20:10:30.310 8 ERROR oslo_service.
2018-10-11 20:10:30.310 8 ERROR oslo_service.
2018-10-11 20:10:30.310 8 ERROR oslo_service.
2018-10-11 20:10:50.452 8 DEBUG oslo_service.
Please add the package "pciutils" to the list of required packages for zun-base.
description: | updated |
Changed in kolla-ansible: | |
assignee: | nobody → Radosław Piliszek (yoctozepto) |
Changed in kolla: | |
status: | New → In Progress |
Changed in kolla-ansible: | |
status: | New → In Progress |
Changed in kolla: | |
milestone: | none → 9.0.0 |
Changed in kolla-ansible: | |
milestone: | none → 9.0.0 |
I got now zun-compute quite good running, but it needs following adjustments in kolla:
Packages in the container:
pciutils
ceph-common
Folder to be created in the container:
/var/lib/docker
Open is how we deal with udev. Currently I have ceph-common also on the host installed to have the udev rules in /lib/udev/ rules.d/ 50-rbd. rules. Theoretical this can als be done from the container, but then we need a stripped down udev only for the block devices.
Without udev the rbd devices do not show up in the expected /dev/rbd/volume location. They just appear under /dev as rbd0, rbd1. Changing the location in the cinder client could be an option too.