Provision of node with multipath device fails with error 'Disk not found'

Bug #1562874 reported by Alexander Zatserklyany
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Sergey Slipushenko

Bug Description

Steps to reproduce:
-------------------
1. Setup Fuel with multipath device and 3 slave nodes.
2. Create environment with 1 controller, 1 compute and 1 cinder.
3. Provision nodes.

Expected results:
-----------------
All nodes a provisioned.

Actual results:
-----------------
One of nodes is in 'Error' state

/var/log/remote/10.109.0.3/bootstrap/fuel-agent.log:
2016-03-28T13:27:22.202753+00:00 info: 2016-03-28 13:27:21.876 4428 ERROR fuel_agent.cmd.agent [-] Disk not found: mapper/3053f66c2f3a8f4c2
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/fuel_agent/cmd/agent.py", line 118, in main
    mgr = manager.Manager(data)
  File "/usr/lib/python2.7/dist-packages/fuel_agent/manager.py", line 185, in __init__
    self.driver = utils.get_driver(CONF.data_driver)(data)
  File "/usr/lib/python2.7/dist-packages/fuel_agent/drivers/nailgun.py", line 95, in __init__
    self._partition_scheme = self.parse_partition_scheme()
  File "/usr/lib/python2.7/dist-packages/fuel_agent/drivers/nailgun.py", line 338, in parse_partition_scheme
    name=self._disk_dev(disk), label='gpt')
  File "/usr/lib/python2.7/dist-packages/fuel_agent/drivers/nailgun.py", line 237, in _disk_dev
    'Disk not found: %s' % ks_disk['name'])
DiskNotFoundError: Disk not found: mapper/3053f66c2f3a8f4c2

Changed in fuel:
status: New → Confirmed
Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Sergey Slipushenko (sslypushenko) wrote :
Changed in fuel:
status: In Progress → Fix Committed
Changed in fuel:
status: Fix Committed → In Progress
Szymon Banka (sbanka)
tags: added: feature-multipath-disks-support
Revision history for this message
Sergey Slipushenko (sslypushenko) wrote :
Changed in fuel:
importance: Critical → High
Revision history for this message
Alexander Gordeev (a-gordeev) wrote :

Isn't it just a duplicate of https://bugs.launchpad.net/fuel/+bug/1559197 ?

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

Reviewed: https://review.openstack.org/295272
Committed: https://git.openstack.org/cgit/openstack/fuel-agent/commit/?id=3959c7d6911b3485f24416808c48f4ab8a6ce3bf
Submitter: Jenkins
Branch: master

commit 3959c7d6911b3485f24416808c48f4ab8a6ce3bf
Author: sslypushenko <email address hidden>
Date: Mon Mar 21 15:12:35 2016 +0200

    Add LVM filters and preferred_names into LVM config

    If we have some multipath block devices on the node, we need
    to prevent LVM from grubbing multipath underlying devices during boot into
    target OS. To achieve it, we have to whitelist in LVM filters all
    non-multipath devices from /dev/disk/by-id dir and force LVM to scan
    /dev/mapper dir for volume groups on multipath devices

    Change-Id: Id9635b4a1ce237927c57e91a5c20c3f229ee3fcc
    Closes-Bug: #1559197
    Closes-Bug: #1562874

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-agent (stable/8.0)

Fix proposed to branch: stable/8.0
Review: https://review.openstack.org/301752

Changed in fuel:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-agent (stable/8.0)

Change abandoned by Fuel DevOps Robot (<email address hidden>) on branch: stable/8.0
Review: https://review.openstack.org/301752
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

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