2017-11-20 23:42 CET

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001761openmediavaultBugpublic2017-06-14 17:05
Reportersubzero79 
Assigned Tovotdev 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Platformx86OSDebianOS Version8.7
Product VersionErasmus (3.x) 
Target VersionFixed in VersionErasmus (3.x) 
Summary0001761: LVM plugin error in LV creation
DescriptionThe current plugin has this error on lv creation.

Error
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; lvcreate --name 'L1' --size 1044480K 'false' 2>&1' with exit code '5': File descriptor 4 (socket:[40890]) leaked on lvcreate invocation. Parent PID 8756: sh File descriptor 6 (socket:[41194]) leaked on lvcreate invocation. Parent PID 8756: sh Volume group "false" not found
Error #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; lvcreate --name 'L1' --size 1044480K 'false' 2>&1' with exit code '5': File descriptor 4 (socket:[40890]) leaked on lvcreate invocation. Parent PID 8756: sh
File descriptor 6 (socket:[41194]) leaked on lvcreate invocation. Parent PID 8756: sh
  Volume group "false" not found' in /usr/share/php/openmediavault/system/process.inc:175
Stack trace:
#0 /usr/share/php/openmediavault/system/storage/storagedevicelvm.inc(242): OMV\System\Process->execute()
#1 /usr/share/openmediavault/engined/rpc/logicalvolumemgmt.inc(700): OMV\System\Storage\StorageDeviceLvm->create('L1', '1069547520', 'false')
0000002 [internal function]: OMVRpcServiceLogicalVolumeMgmt->createLogicalVolume(Array, Array)
0000003 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
0000004 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('createLogicalVo...', Array, Array)
0000005 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('LogicalVolumeMg...', 'createLogicalVo...', Array, Array, 1)
0000006 {main}

Manage to fix this by changing the valueField that's submitted in the /var/www/openmediavault/js/omv/module/admin/storage/lvm/LogicalVolume.js file code

                        valueField: "devicefile",

to this

                        valueField: "name",

Also i noticed by looking at github that the lvm storage backend is hosted at core omv package like storagedevicelvm.inc instead of the plugin. I am not sure if that has always been like that

TagsNo tags attached.
Product build3.0.77
Attached Files

-Relationships
+Relationships

-Notes

~0004804

votdev (administrator)

Fixed in openmediavault-lvm2 3.2.2, see https://github.com/openmediavault/openmediavault/commit/0b320303c48e12288deb86ac5e96d511b0e47aa2.
+Notes

-Issue History
Date Modified Username Field Change
2017-06-14 04:00 subzero79 New Issue
2017-06-14 04:00 subzero79 Status new => assigned
2017-06-14 04:00 subzero79 Assigned To => votdev
2017-06-14 17:05 votdev Note Added: 0004804
2017-06-14 17:05 votdev Status assigned => resolved
2017-06-14 17:05 votdev Resolution open => fixed
2017-06-14 17:05 votdev Fixed in Version => Erasmus (3.x)
+Issue History