[MAPR] Can't create cluster without volumes
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-
Return code: 1
STDOUT:
Error 117, Structure needs cleaning.
Traceback (most recent call last):
File "/opt/mapr/
RunDiskSetup();
File "/opt/mapr/
GroupDisksA
File "/opt/mapr/
primary = FormatSPOnDisks
File "/opt/mapr/
CreateRaid0
File "/opt/mapr/
SetCurrDisk
IndexError: list index out of range
Error ID: 16b7a867-
affects: | horizon → sahara |
Changed in sahara: | |
milestone: | none → kilo-rc1 |
status: | Fix Committed → Fix Released |
Changed in sahara: | |
milestone: | kilo-rc1 → 2015.1.0 |
Changed in sahara: | |
importance: | Undecided → Medium |
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