[kolla-ansible] deploy Zun with Cinder Ceph support

Bug #1848934 reported by Radosław Piliszek
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Zun
New
Undecided
hongbin
kolla-ansible
Fix Released
Wishlist
Jie Li
Ussuri
In Progress
Wishlist
Jie Li

Bug Description

Kolla Ansible should deploy Zun with Cinder Ceph support working out-of-the-box as it does for nova now.

This is more complicated than iSCSI due to RBD mapping done by host's kernel.
There are two pending ceph issues, both arise from dependency on kernel's rbd module:

- host's udev has no idea where to link rbd device unless it also has ceph-common installed (needs udev rule and a helper program with its accompanying libs - no clean solution except installing it on host)
- Cinder creates rbd volumes using the latest features while the kernel client most likely lags behind and needs a downgrade which Cinder does not currently support afaik (unless we downgrade every but this makes it less performant for the rest of the stack)

Additionally Zun (zun-compute) must access Cinder's ceph config and keyring.

refactored-from: https://bugs.launchpad.net/kolla/+bug/1797448

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

Added reference to Zun - maybe we could address these issues in Ussuri but I believe we still need support from Zun and/or Cinder.

summary: - deploy Zun with Cinder Ceph support
+ [kolla-ansible] deploy Zun with Cinder Ceph support
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)

Fix proposed to branch: master
Review: https://review.opendev.org/703274

Changed in kolla-ansible:
assignee: nobody → Jie Li (ramboman)
status: Triaged → In Progress
hongbin (hongbin034)
Changed in zun:
assignee: nobody → hongbin (hongbin034)
Revision history for this message
Buddhika Sanjeewa (bsanjeewa) wrote :

What is the status of the proposed fix? I see that it is not touched for a year.
If the patch is abandoned, I would like to propose a patch.
But my solution seems a bit different than this.
It is to enable zun to use cinder volumes when external ceph is used for cinder.
Currently I have an issue to access cinder volumes from zun, but without volumes zun runs fine.
Shall I submit the patch?

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

The proposed patch is not a proper fix. Submit the patch and we will review it.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/824722
Committed: https://opendev.org/openstack/kolla-ansible/commit/eb7e0f6fdac86ea9501b98e6e71554b024bffe96
Submitter: "Zuul (22348)"
Branch: master

commit eb7e0f6fdac86ea9501b98e6e71554b024bffe96
Author: Buddhika Sanjeewa <email address hidden>
Date: Fri Jan 14 14:42:20 2022 +0000

    Deploy Zun with Cinder Ceph support

    Enables zun to access cinder volumes when cinder is configured to use
    external ceph.
    Copies ceph config file and ceph cinder keyring to /etc/ceph in
    zun_compute container.

    Closes-Bug: 1848934
    Change-Id: Ie56868d5e9ed37a9274b8cbe65895f3634b895c8

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/xena)

Fix proposed to branch: stable/xena
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/827649

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/xena)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/827649
Committed: https://opendev.org/openstack/kolla-ansible/commit/920089c9fab3bc32356419c03a9f977b69708cc6
Submitter: "Zuul (22348)"
Branch: stable/xena

commit 920089c9fab3bc32356419c03a9f977b69708cc6
Author: Buddhika Sanjeewa <email address hidden>
Date: Fri Jan 14 14:42:20 2022 +0000

    Deploy Zun with Cinder Ceph support

    Enables zun to access cinder volumes when cinder is configured to use
    external ceph.
    Copies ceph config file and ceph cinder keyring to /etc/ceph in
    zun_compute container.

    Closes-Bug: 1848934
    Change-Id: Ie56868d5e9ed37a9274b8cbe65895f3634b895c8
    (cherry picked from commit eb7e0f6fdac86ea9501b98e6e71554b024bffe96)

tags: added: in-stable-xena
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 14.0.0.0rc1

This issue was fixed in the openstack/kolla-ansible 14.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 13.1.0

This issue was fixed in the openstack/kolla-ansible 13.1.0 release.

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.