pre-checks fail w/cinder and centos

Bug #1892382 reported by James
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Expired
Medium
Unassigned

Bug Description

Prechecks will fail when:

enable_cinder: "yes",
enable_cinder_backend_*: "no"
kolla_base_distro: "centos"

This occurs because centos8 no longer uses tgtd, and prevents doing a out-of-kolla backend config as a sole one.

Revision history for this message
Radosław Piliszek (yoctozepto) wrote :

Well, it uses LIO, so it's probably irrelevant that tgtd was dropped, no?

Revision history for this message
Radosław Piliszek (yoctozepto) wrote :

Could you paste the error message for posterity?

Changed in kolla-ansible:
importance: Undecided → Medium
Revision history for this message
James (james-o-benson) wrote :

TASK [cinder : Checking at least one valid backend is enabled for Cinder] ********************************************************************************************************************************************************************
fatal: [x.x.x.x]: FAILED! => {"changed": false, "msg": "Please enable at least one backend when enabling Cinder"}

Revision history for this message
James (james-o-benson) wrote :

Correct, that it uses lio, but the problem is that because of that, the prechecks will fail fairly early on in cinder and not continue. I suggest we modify ansible to continue without a valid backend for cent images because of this, and fail on ubuntu for example.

Revision history for this message
James (james-o-benson) wrote :

per yoctozepto conversation. it is an issue with the deployment side, not the prechecks. enable_cinder_backend_lvm should be set to yes. But the deployment side should not try to get the tgtd docker image.

Revision history for this message
Radosław Piliszek (yoctozepto) wrote :

Need info on versions of images and kolla-ansible.

Changed in kolla-ansible:
status: New → Incomplete
Revision history for this message
James (james-o-benson) wrote :

These are my versions and runtime options.
kolla-ansible 10.1.0
kolla_base_distro: "centos"
kolla_install_type: "source"
openstack_release: "ussuri"

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for kolla-ansible because there has been no activity for 60 days.]

Changed in kolla-ansible:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.