On my Server i got an bond0 Interface of two NIC configured. Everything works well.
Now my hint is to give those Interface a second IP adress.
If i try to add a new bond Interface with same Setting as the wirking one and only an different IP adress and Sub it is not possible to save.
Code
Fehler #0:
exception 'OMV\Json\SchemaValidationException' with message 'slaves: The value 'bond0' doesn't match the pattern '/^(((eth|wlan)\d+|(en|wl)\S+),)*((eth|wlan)\d+|(en|wl)\S+)$/i'.' in /usr/share/php/openmediavault/json/schema.inc:478
Stack trace:
#0 /usr/share/php/openmediavault/json/schema.inc(370): OMV\Json\Schema->checkPattern('bond0', Array, 'slaves')
#1 /usr/share/php/openmediavault/json/schema.inc(297): OMV\Json\Schema->validateString('bond0', Array, 'slaves')
#2 /usr/share/php/openmediavault/json/schema.inc(624): OMV\Json\Schema->validateType('bond0', Array, 'slaves')
#3 /usr/share/php/openmediavault/json/schema.inc(395): OMV\Json\Schema->checkProperties(Object(stdClass), Array, '')
#4 /usr/share/php/openmediavault/json/schema.inc(285): OMV\Json\Schema->validateObject(Object(stdClass), Array, '')
#5 /usr/share/php/openmediavault/json/schema.inc(257): OMV\Json\Schema->validateType(Object(stdClass), Array, '')
#6 /usr/share/php/openmediavault/rpc/paramsvalidator.inc(59): OMV\Json\Schema->validate('{"devicename":"...')
#7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(170): OMV\Rpc\ParamsValidator->validate('{"devicename":"...')
#8 /usr/share/openmediavault/engined/rpc/network.inc(688): OMV\Rpc\ServiceAbstract->validateMethodParams(Array, 'rpc.network.set...')
#9 [internal function]: OMVRpcServiceNetwork->setBondIface(Array, Array)
#10 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
#11 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('setBondIface', Array, Array)
#12 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Network', 'setBondIface', Array, Array, 1)
#13 {main}
Alles anzeigen
how to fix this or am i on the wrong way ?