Public bug reported:

Hello,

I try to configure an ocf:heartbeat:LVM ressource but I got an “invalid
parameter” error message and an exit status “2”.

Adding ”set -x” to the RA, I found the following log:

Aug 18 15:11:22 [11355] nebula4       lrmd:   notice: operation_finished:       
p_vg-one_start_0:14672:stderr [ + options=-aly --monitor y ]
Aug 18 15:11:22 [11355] nebula4       lrmd:   notice: operation_finished:       
p_vg-one_start_0:14672:stderr [ + echo -aly --monitor y ]
Aug 18 15:11:22 [11355] nebula4       lrmd:   notice: operation_finished:       
p_vg-one_start_0:14672:stderr [ + local vgchange_options=-aly --monitor y ]
Aug 18 15:11:22 [11355] nebula4       lrmd:   notice: operation_finished:       
p_vg-one_start_0:14672:stderr [ /usr/lib/ocf/resource.d/heartbeat/LVM: 416: 
local: --monitor: bad variable name ]
Aug 18 15:11:22 [11355] nebula4       lrmd:    debug: operation_finished:       
p_vg-one_start_0:14672:stdout [ -- empty -- ]
Aug 18 15:11:22 [11358] nebula4       crmd:   notice: process_lrm_event:        
Operation p_vg-one_start_0: invalid parameter (node=nebula4, call=155, rc=2, 
cib-update=241, confirmed=true)

Regards.

Distributor ID: Ubuntu
Description:    Ubuntu 16.04.1 LTS
Release:        16.04
Codename:       xenial

** Affects: resource-agents (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: xenial

** Patch added: "LVM.patch"
   https://bugs.launchpad.net/bugs/1614529/+attachment/4723411/+files/LVM.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1614529

Title:
  Unable to start LVM agent due to a syntax error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/resource-agents/+bug/1614529/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to