[MAPR] Can't create cluster without volumes

Bug #1439433 reported by Andrew Lazarev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sahara
Fix Released
Medium
Artem Osadchiy

Bug Description

Steps to repro:
1. Try to create MapR cluster (4.0.2.mrv2). Use flavor without any volumes. Don't ask for volumes in Sahara.

Observed behavior:
2015-04-01 15:32:45.949 6608 DEBUG sahara.context [-] Thread init-mfs-9997e9df-c53b-4823-ab4c-a7a5cf84e19e failed with exception: RemoteCommandException: Error during command execution: "/opt/mapr/server/disksetup -F /tmp/disk.list"
Return code: 1
STDOUT:
Error 117, Structure needs cleaning.
Traceback (most recent call last):
  File "/opt/mapr/server/disksetup", line 1253, in <module>
    RunDiskSetup();
  File "/opt/mapr/server/disksetup", line 1138, in RunDiskSetup
    GroupDisksAndCreateSPs(force);
  File "/opt/mapr/server/disksetup", line 650, in GroupDisksAndCreateSPs
    primary = FormatSPOnDisks(gdisks[index:last], cid, force);
  File "/opt/mapr/server/disksetup", line 609, in FormatSPOnDisks
    CreateRaid0DG(deviceList);
  File "/opt/mapr/server/disksetup", line 335, in CreateRaid0DG
    SetCurrDiskPath(deviceList[0]);
IndexError: list index out of range

Error ID: 16b7a867-a5c6-41cc-9195-6740970332c9 _wrapper /Users/alazarev/openstack/sahara/sahara/context.py:193

Tags: mapr
Revision history for this message
Artem Osadchiy (aosadchiy) wrote :

MapR file system requires at least one separate partition or disk to start. In the case of zero-sized ephemeral drives and absence of other volumes cluster fails. It's normal behavior for MapR. I think I have to add the validation rule to prevent such failures

Changed in horizon:
assignee: nobody → Artem Osadchiy (aosadchiy)
affects: horizon → sahara
Revision history for this message
Andrew Lazarev (alazarev) wrote :

>In the case of zero-sized ephemeral drives

Ephemeral drive was not zero-sized.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to sahara (master)

Fix proposed to branch: master
Review: https://review.openstack.org/170473

Changed in sahara:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to sahara (master)

Reviewed: https://review.openstack.org/170473
Committed: https://git.openstack.org/cgit/openstack/sahara/commit/?id=4d9dd41ef30a0946630412d6517dc1b0114299b7
Submitter: Jenkins
Branch: master

commit 4d9dd41ef30a0946630412d6517dc1b0114299b7
Author: Artem Osadchyi <email address hidden>
Date: Fri Apr 3 15:12:37 2015 +0300

    Validate node groups without volumes

    MapR FS requires at least 1 separate partition or drive
    to be deployed successfully. Hence, if there are neither
    Cinder volumes nor ephemeral drive appended, cluster has
    to be considered invalid

    Change-Id: I9fac12be36b2e1f002db40cfdceecd662b7e7ee3
    Closes-Bug: #1439433

Changed in sahara:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in sahara:
milestone: none → kilo-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in sahara:
milestone: kilo-rc1 → 2015.1.0
Changed in sahara:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to sahara (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/496036

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on sahara (master)

Change abandoned by Jeremy Freudberg (<email address hidden>) on branch: master
Review: https://review.openstack.org/496036
Reason: Abandoning for inactivity... the bug is simple enough that if the issue comes to the forefront again, we'll probably remember the solutions without seeing this patch immediately in the queue

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.