use-multipath does not install multipath-tools

Bug #1806830 reported by Trent Lloyd
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Nova Compute Charm
Fix Released
Medium
Unassigned

Bug Description

The juju option 'use-multipath' configures nova.conf with the option to use multipath.

However it does not install the multipath-tools package which is required for this functionality.

Furthermore, if you enable the option without the package installed, all volume attachments (including ceph which will never use the multipath functionality) will fail because of the missing multipath command. The error at the OpenStack API level is not obvious (Block Device Mapping Failed) and you will only find the cause in the nova logs on the hypervisor.

Tags: sts
Trent Lloyd (lathiat)
tags: added: sts
James Page (james-page)
Changed in charm-nova-compute:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 19.04
Revision history for this message
Trent Lloyd (lathiat) wrote :

Looks like we also need 'sysfstools'

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-nova-compute (master)

Reviewed: https://review.openstack.org/634847
Committed: https://git.openstack.org/cgit/openstack/charm-nova-compute/commit/?id=a445a33add78f9a295b2f49ca1440ad4c1c9a4fe
Submitter: Zuul
Branch: master

commit a445a33add78f9a295b2f49ca1440ad4c1c9a4fe
Author: Billy Olsen <email address hidden>
Date: Mon Feb 4 19:43:49 2019 -0700

    Install multipath dependencies when use-multipath is True

    This change ensures that the multipath dependencies are installed
    on the compute node when the use-multipath config flag is enabled.

    Change-Id: I39b017398b95f5901d9bc57ffa0c59ff59f3a359
    Closes-Bug: #1806830

Changed in charm-nova-compute:
status: Triaged → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-nova-compute (stable/18.11)

Fix proposed to branch: stable/18.11
Review: https://review.openstack.org/635643

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-nova-compute (stable/18.11)

Reviewed: https://review.openstack.org/635643
Committed: https://git.openstack.org/cgit/openstack/charm-nova-compute/commit/?id=e464bbaa604148f2188537d82a3d41ebca152466
Submitter: Zuul
Branch: stable/18.11

commit e464bbaa604148f2188537d82a3d41ebca152466
Author: Billy Olsen <email address hidden>
Date: Mon Feb 4 19:43:49 2019 -0700

    Install multipath dependencies when use-multipath is True

    This change ensures that the multipath dependencies are installed
    on the compute node when the use-multipath config flag is enabled.

    Change-Id: I39b017398b95f5901d9bc57ffa0c59ff59f3a359
    Closes-Bug: #1806830
    (cherry picked from commit a445a33add78f9a295b2f49ca1440ad4c1c9a4fe)

David Ames (thedac)
Changed in charm-nova-compute:
status: Fix Committed → Fix Released
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.