OpenMediaVault-Plugin-Developers / openmediavault-hpraid

OpenMediaVault plugin for HP Raid
4 stars 3 forks source link

Failed to execute command when opening tab #1

Open bonkersGER opened 8 years ago

bonkersGER commented 8 years ago

Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; omv-sysinfo 31-hpraid 2>&1' with exit code '100': Unknown script, /usr/share/openmediavault/sysinfo/modules.d/31-hpraid not found.

`Fehler #0: exception 'OMV\ExecException' with message 'Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; omv-sysinfo 31-hpraid 2>&1' with exit code '100': Unknown script, /usr/share/openmediavault/sysinfo/modules.d/31-hpraid not found.' in /usr/share/php/openmediavault/system/process.inc:174 Stack trace:

0 /usr/share/openmediavault/engined/rpc/hpraid.inc(40): OMV\System\Process->execute(Array)

1 [internal function]: OMVRpcServiceHpraid->getOutput(NULL, Array)

2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)

3 /usr/share/php/openmediavault/rpc/rpc.inc(84): OMV\Rpc\ServiceAbstract->callMethod('getOutput', NULL, Array)

4 /usr/sbin/omv-engined(525): OMV\Rpc\Rpc::call('Hpraid', 'getOutput', NULL, Array, 1)

5 {main}`

Using OMV 3.0.26, 4.0.6 Kernel.

ryecoaaron commented 8 years ago

Forgot to move the file to this plugin when I removed it from omv-extras. Try 3.1 in repo now.

bonkersGER commented 8 years ago

Works fine now but do not show LSI controller

root@bonkers-nas:~# megaclisas-status
-- Controller information --
-- ID | H/W Model                  | RAM    | Temp | BBU    | Firmware
c0    | LSI MegaRAID SAS 9260-8i   | 512MB  | N/A  | Good   | FW: 12.15.0-0239
c1    | LSI MegaRAID SAS 9270CV-8i | 1024MB | 53C  | Good   | FW: 23.34.0-0005

-- Array information --
-- ID | Type   |    Size |  Strpsz | Flags | DskCache |   Status |  OS Path | CacheCade |InProgress
c0u0  | RAID-0 |    892G |   64 KB | RA,WT |  Enabled |  Optimal | /dev/sda | None      |None
c1u1  | RAID-5 |  27287G |  512 KB | RA,WB |  Enabled |  Optimal | /dev/sdb | None      |None

-- Disk information --
-- ID  | Type | Drive Model                                        | Size     | Status          | Speed    | Temp | Slot ID  | LSI Device ID
c0u0p0 | SSD  | BTWL40910KXU240NGN INTEL SSDSC2BB240G4L D201LD10   | 223.0 Gb | Online, Spun Up | 6.0Gb/s  | 24C  | [252:0]  | 10
c0u0p1 | SSD  | BTWL40840ET9240NGN INTEL SSDSC2BB240G4L D201LD10   | 223.0 Gb | Online, Spun Up | 6.0Gb/s  | 24C  | [252:1]  | 9
c0u0p2 | SSD  | S21PNXAG490352H Samsung SSD 850 EVO 250GB EMT01B6Q | 232.3 Gb | Online, Spun Up | 6.0Gb/s  | 33C  | [252:2]  | 8
c0u0p3 | SSD  | S2R6NXAH346690D Samsung SSD 850 EVO 250GB EMT02B6Q | 232.3 Gb | Online, Spun Up | 6.0Gb/s  | 31C  | [252:3]  | 11
c1u1p0 | HDD  | WD-WX11DA5NDC1CWDC WD60EFRX-68L0BN1 82.00A82       | 5.457 TB | Online, Spun Up | 6.0Gb/s  | 34C  | [252:4]  | 9
c1u1p1 | HDD  | WD-WXN1H843V4MAWDC WD60EFRX-68L0BN1 82.00A82       | 5.457 TB | Online, Spun Up | 6.0Gb/s  | 34C  | [252:1]  | 13
c1u1p2 | HDD  | WD-WX41D758NUNVWDC WD60EFRX-68L0BN1 82.00A82       | 5.457 TB | Online, Spun Up | 6.0Gb/s  | 35C  | [252:2]  | 14
c1u1p3 | HDD  | WD-WX41D758NUPFWDC WD60EFRX-68L0BN1 82.00A82       | 5.457 TB | Online, Spun Up | 6.0Gb/s  | 35C  | [252:3]  | 12
c1u1p4 | HDD  | WD-WX31D45RFJ18WDC WD60EFRX-68L0BN1 82.00A82       | 5.457 TB | Online, Spun Up | 6.0Gb/s  | 33C  | [252:0]  | 15
c1u1p5 | HDD  | WD-WX61D65NN15CWDC WD60EFRX-68L0BN1 82.00A82       | 5.457 TB | Online, Spun Up | 6.0Gb/s  | 33C  | [252:5]  | 8
ryecoaaron commented 8 years ago

That has to be something with the hpacucli package or the commands the module is executing. Try some of the commands in the module found here - https://github.com/OpenMediaVault-Plugin-Developers/openmediavault-hpraid/blob/master/usr/share/openmediavault/sysinfo/modules.d/31-hpraid#L32