[ClusterLabs] Problem with one resource

Ken Gaillot kgaillot at redhat.com
Thu Jul 7 17:31:44 UTC 2016


On 07/05/2016 11:16 PM, Daniel Chojecki wrote:
> Hello.
> 
> I have one resource which is in unmanaged state and have no idea why :-/
> 
> [root at srv3-cz ~]# pcs resource
> 
> kafelki13-lvm      (ocf::heartbeat:LVM):   FAILED srv3-cz (unmanaged)

A failed resource can become unmanaged if on-fail=block for the failed
operation, or if fencing is required but there are no stonith resources
configured.

(Resources can also be unmanaged in a few other special cases, for
example, multiple-active=block for the resource or the group it is in,
cluster is in maintenance mode, is-managed=false in resource defaults,
etc.).

To find out why the failure occurred, look in the system log around the
time of the failure (I believe "pcs status" shows the time of the failure).

> [root at srv3-cz ~]# pcs resource show kafelki13-lvm
>  Resource: kafelki13-lvm (class=ocf provider=heartbeat type=LVM)
>   Attributes: volgrpname=iipimage-kafelki13 exclusive=true
>   Operations: start interval=0s timeout=30
> (kafelki13-lvm-start-interval-0s)
>               stop interval=0s timeout=30 (kafelki13-lvm-stop-interval-0s)
>               monitor interval=10 timeout=30
> (kafelki13-lvm-monitor-interval-10)
> 
> "pcs resource debug-start" command has the following output:
> 
> [root at srv3-cz ~]# pcs resource debug-start kafelki13-lvm --full
> 
> Operation start for kafelki13-lvm (ocf:heartbeat:LVM) returned 0
>  >  stdout: volume_list="srv3cz"
>  >  stdout: volume_list="srv3cz"
>  >  stderr: + 05:38:24: 55: OUR_TAG=pacemaker
>  >  stderr: + 05:38:24: 155: VG_MODE=
>  >  stderr: + 05:38:24: 657: '[' 1 -ne 1 ']'
>  >  stderr: + 05:38:24: 663: case $1 in
>  >  stderr: + 05:38:24: 676: '[' -z iipimage-kafelki13 ']'
>  >  stderr: ++ 05:38:24: 700: gawk '/Logical Volume Manager/ {print
> $5"\n"; exit; }
>  >  stderr:                      /LVM version:/ {printf $3"\n"; exit;}'
>  >  stderr: ++ 05:38:24: 699: vgchange --version
>  >  stderr: + 05:38:24: 699: LVM_VERSION='2.02.130(2)-RHEL7'
>  >  stderr: + 05:38:24: 700: rc=0
>  >  stderr: + 05:38:24: 703: '[' 0 -ne 0 ']'
>  >  stderr: + 05:38:24: 703: '[' -z '2.02.130(2)-RHEL7' ']'
>  >  stderr: + 05:38:24: 708: LVM_MAJOR=2
>  >  stderr: + 05:38:24: 710: VOLUME=iipimage-kafelki13
>  >  stderr: + 05:38:24: 711: OP_METHOD=start
>  >  stderr: + 05:38:24: 713: '[' -n '' ']'
>  >  stderr: + 05:38:24: 718: case "$1" in
>  >  stderr: + 05:38:24: 721: LVM_validate_all
>  >  stderr: + 05:38:24: LVM_validate_all:545: check_binary gawk
>  >  stderr: + 05:38:24: check_binary:56: have_binary gawk
>  >  stderr: + 05:38:24: have_binary:68: '[' '' = 1 ']'
>  >  stderr: ++ 05:38:24: have_binary:71: echo gawk
>  >  stderr: ++ 05:38:24: have_binary:71: sed -e 's/ -.*//'
>  >  stderr: + 05:38:24: have_binary:71: local bin=gawk
>  >  stderr: ++ 05:38:24: have_binary:72: which gawk
>  >  stderr: + 05:38:24: have_binary:72: test -x /usr/bin/gawk
>  >  stderr: + 05:38:24: LVM_validate_all:559: lvm dumpconfig
> global/use_lvmetad
>  >  stderr: + 05:38:24: LVM_validate_all:559: grep 'use_lvmetad.*=.*1'
>  >  stderr: + 05:38:24: LVM_validate_all:560: '[' 1 -eq 0 ']'
>  >  stderr: ++ 05:38:24: LVM_validate_all:569: vgck iipimage-kafelki13
>  >  stderr: + 05:38:24: LVM_validate_all:569: VGOUT=
>  >  stderr: + 05:38:24: LVM_validate_all:570: '[' 0 -ne 0 ']'
>  >  stderr: + 05:38:24: LVM_validate_all:600: '[' 2 = 1 ']'
>  >  stderr: ++ 05:38:24: LVM_validate_all:603: vgdisplay -v
> iipimage-kafelki13
>  >  stderr: + 05:38:24: LVM_validate_all:603: VGOUT=' Using volume
> group(s) on command line.
>  >  stderr:   --- Volume group ---
>  >  stderr:   VG Name               iipimage-kafelki13
>  >  stderr:   System ID
>  >  stderr:   Format                lvm2
>  >  stderr:   Metadata Areas        1
>  >  stderr:   Metadata Sequence No  25
>  >  stderr:   VG Access             read/write
>  >  stderr:   VG Status             resizable
>  >  stderr:   MAX LV                0
>  >  stderr:   Cur LV                1
>  >  stderr:   Open LV               0
>  >  stderr:   Max PV                0
>  >  stderr:   Cur PV                1
>  >  stderr:   Act PV                1
>  >  stderr:   VG Size               20.00 TiB
>  >  stderr:   PE Size               4.00 MiB
>  >  stderr:   Total PE              5242879
>  >  stderr:   Alloc PE / Size       5242879 / 20.00 TiB
>  >  stderr:   Free  PE / Size       0 / 0
>  >  stderr:   VG UUID ew4hlQ-9gVX-hlY8-4thM-YUXg-2gAS-OCvdwz
>  >  stderr:
>  >  stderr:   --- Logical volume ---
>  >  stderr:   LV Path /dev/iipimage-kafelki13/kafelki13
>  >  stderr:   LV Name                kafelki13
>  >  stderr:   VG Name                iipimage-kafelki13
>  >  stderr:   LV UUID nsuSGr-W6Dq-pnQL-aBCD-mye9-EAkV-foIi7D
>  >  stderr:   LV Write Access        read/write
>  >  stderr:   LV Creation host, time netbackup-ms, 2016-07-04 14:49:53
> +0200
>  >  stderr:   LV Status              NOT available
>  >  stderr:   LV Size                20.00 TiB
>  >  stderr:   Current LE             5242879
>  >  stderr:   Segments               1
>  >  stderr:   Allocation             inherit
>  >  stderr:   Read ahead sectors     auto
>  >  stderr:
>  >  stderr:   --- Physical volumes ---
>  >  stderr:   PV Name               /dev/mapper/mpaths
>  >  stderr:   PV UUID fEHavV-InnO-OlgA-H3vg-HsUc-tNmN-2j3bgw
>  >  stderr:   PV Status             allocatable
>  >  stderr:   Total PE / Free PE    5242879 / 0
>  >  stderr:    '
>  >  stderr: + 05:38:24: LVM_validate_all:605: '[' 0 -ne 0 ']'
>  >  stderr: + 05:38:24: LVM_validate_all:614: ocf_is_true true
>  >  stderr: + 05:38:24: ocf_is_true:101: case "$1" in
>  >  stderr: + 05:38:24: ocf_is_true:102: true
>  >  stderr: + 05:38:24: LVM_validate_all:621: ocf_is_clone
>  >  stderr: + 05:38:24: ocf_is_clone:497: '[' '!' -z '' ']'
>  >  stderr: + 05:38:24: LVM_validate_all:630: case $(get_vg_mode) in
>  >  stderr: ++ 05:38:24: LVM_validate_all:630: get_vg_mode
>  >  stderr: ++ 05:38:24: get_vg_mode:158: '[' -n '' ']'
>  >  stderr: ++ 05:38:24: get_vg_mode:163: VG_MODE=0
>  >  stderr: ++ 05:38:24: get_vg_mode:164: ocf_is_true true
>  >  stderr: ++ 05:38:24: ocf_is_true:101: case "$1" in
>  >  stderr: ++ 05:38:24: ocf_is_true:102: true
>  >  stderr: ++ 05:38:24: get_vg_mode:165: case $(vgs -o attr
> --noheadings $OCF_RESKEY_volgrpname | tr -d ' ') in
>  >  stderr: +++ 05:38:24: get_vg_mode:165: vgs -o attr --noheadings
> iipimage-kafelki13
>  >  stderr: +++ 05:38:24: get_vg_mode:165: tr -d ' '
>  >  stderr: ++ 05:38:24: get_vg_mode:169: VG_MODE=1
>  >  stderr: ++ 05:38:24: get_vg_mode:173: echo 1
>  >  stderr: + 05:38:24: LVM_validate_all:632: verify_tags_environment
>  >  stderr: + 05:38:24: verify_tags_environment:185: lvm dumpconfig
> activation/volume_list
>  >  stderr: + 05:38:24: verify_tags_environment:196: lvm dumpconfig
> activation/volume_list
>  >  stderr: + 05:38:24: verify_tags_environment:196: grep -e
> '"@pacemaker"' -e '"iipimage-kafelki13"'
>  >  stderr: + 05:38:24: verify_tags_environment:207: have_binary cibadmin
>  >  stderr: + 05:38:24: have_binary:68: '[' '' = 1 ']'
>  >  stderr: ++ 05:38:24: have_binary:71: echo cibadmin
>  >  stderr: ++ 05:38:24: have_binary:71: sed -e 's/ -.*//'
>  >  stderr: + 05:38:24: have_binary:71: local bin=cibadmin
>  >  stderr: ++ 05:38:24: have_binary:72: which cibadmin
>  >  stderr: + 05:38:24: have_binary:72: test -x /usr/sbin/cibadmin
>  >  stderr: + 05:38:24: verify_tags_environment:210: cibadmin --local -Q
> --xpath
> '//primitive[@type="LVM"][@id!="kafelki13-lvm"]//instance_attributes//nvpair[@name="volgrpname"][@value="iipimage-kafelki13"]'
> 
>  >  stderr: + 05:38:24: verify_tags_environment:213: '[' 6 -eq 0 ']'
>  >  stderr: + 05:38:24: verify_tags_environment:220: return 0
>  >  stderr: + 05:38:24: LVM_validate_all:649: return 0
>  >  stderr: + 05:38:24: 722: LVM_start iipimage-kafelki13
>  >  stderr: ++ 05:38:24: LVM_start:441: get_activate_options
>  >  stderr: ++ 05:38:24: get_activate_options:389: local options=-a
>  >  stderr: ++ 05:38:24: get_activate_options:391: case $(get_vg_mode) in
>  >  stderr: +++ 05:38:24: get_activate_options:391: get_vg_mode
>  >  stderr: +++ 05:38:24: get_vg_mode:158: '[' -n '' ']'
>  >  stderr: +++ 05:38:24: get_vg_mode:163: VG_MODE=0
>  >  stderr: +++ 05:38:24: get_vg_mode:164: ocf_is_true true
>  >  stderr: +++ 05:38:24: ocf_is_true:101: case "$1" in
>  >  stderr: +++ 05:38:24: ocf_is_true:102: true
>  >  stderr: +++ 05:38:25: get_vg_mode:165: case $(vgs -o attr
> --noheadings $OCF_RESKEY_volgrpname | tr -d ' ') in
>  >  stderr: ++++ 05:38:25: get_vg_mode:165: vgs -o attr --noheadings
> iipimage-kafelki13
>  >  stderr: ++++ 05:38:25: get_vg_mode:165: tr -d ' '
>  >  stderr: +++ 05:38:25: get_vg_mode:169: VG_MODE=1
>  >  stderr: +++ 05:38:25: get_vg_mode:173: echo 1
>  >  stderr: ++ 05:38:25: get_activate_options:393: options='-ay --config
> activation{volume_list=["@pacemaker"]}'
>  >  stderr: ++ 05:38:25: get_activate_options:397: ocf_is_true ''
>  >  stderr: ++ 05:38:25: ocf_is_true:101: case "$1" in
>  >  stderr: ++ 05:38:25: ocf_is_true:103: false
>  >  stderr: ++ 05:38:25: get_activate_options:403: ocf_is_clone
>  >  stderr: ++ 05:38:25: ocf_is_clone:497: '[' '!' -z '' ']'
>  >  stderr: ++ 05:38:25: get_activate_options:407: echo -ay --config
> 'activation{volume_list=["@pacemaker"]}'
>  >  stderr: + 05:38:25: LVM_start:441: local 'vgchange_options=-ay
> --config activation{volume_list=["@pacemaker"]}'
>  >  stderr: + 05:38:25: LVM_start:442: local vg=iipimage-kafelki13
>  >  stderr: + 05:38:25: LVM_start:443: local clvmd=0
>  >  stderr: + 05:38:25: LVM_start:446: ocf_log info 'Activating volume
> group iipimage-kafelki13'
>  >  stderr: + 05:38:25: ocf_log:321: '[' 2 -lt 2 ']'
>  >  stderr: + 05:38:25: ocf_log:325: __OCF_PRIO=info
>  >  stderr: + 05:38:25: ocf_log:326: shift
>  >  stderr: + 05:38:25: ocf_log:327: __OCF_MSG='Activating volume group
> iipimage-kafelki13'
>  >  stderr: + 05:38:25: ocf_log:329: case "${__OCF_PRIO}" in
>  >  stderr: + 05:38:25: ocf_log:333: __OCF_PRIO=INFO
>  >  stderr: + 05:38:25: ocf_log:338: '[' INFO = DEBUG ']'
>  >  stderr: + 05:38:25: ocf_log:341: ha_log 'INFO: Activating volume
> group iipimage-kafelki13'
>  >  stderr: + 05:38:25: ha_log:253: __ha_log 'INFO: Activating volume
> group iipimage-kafelki13'
>  >  stderr: + 05:38:25: __ha_log:185: local ignore_stderr=false
>  >  stderr: + 05:38:25: __ha_log:186: local loglevel
>  >  stderr: + 05:38:25: __ha_log:188: '[' 'xINFO: Activating volume
> group iipimage-kafelki13' = x--ignore-stderr ']'
>  >  stderr: + 05:38:25: __ha_log:190: '[' none = '' ']'
>  >  stderr: + 05:38:25: __ha_log:192: tty
>  >  stderr: + 05:38:25: __ha_log:193: '[' x = x0 -a x = xdebug ']'
>  >  stderr: + 05:38:25: __ha_log:195: '[' false = true ']'
>  >  stderr: + 05:38:25: __ha_log:199: '[' '' ']'
>  >  stderr: + 05:38:25: __ha_log:202: echo 'INFO: Activating volume
> group iipimage-kafelki13'
>  >  stderr: INFO: Activating volume group iipimage-kafelki13
>  >  stderr: + 05:38:25: __ha_log:204: return 0
>  >  stderr: + 05:38:25: LVM_start:447: '[' 2 -eq 1 ']'
>  >  stderr: + 05:38:25: LVM_start:450: ocf_run vgscan
>  >  stderr: + 05:38:25: ocf_run:413: local rc
>  >  stderr: + 05:38:25: ocf_run:414: local output
>  >  stderr: + 05:38:25: ocf_run:415: local verbose=1
>  >  stderr: + 05:38:25: ocf_run:416: local loglevel=err
>  >  stderr: + 05:38:25: ocf_run:417: local var
>  >  stderr: + 05:38:25: ocf_run:419: for var in 1 2
>  >  stderr: + 05:38:25: ocf_run:421: case "$1" in
>  >  stderr: + 05:38:25: ocf_run:419: for var in 1 2
>  >  stderr: + 05:38:25: ocf_run:421: case "$1" in
>  >  stderr: ++ 05:38:25: ocf_run:433: vgscan
>  >  stderr: + 05:38:25: ocf_run:433: output='  Reading all physical
> volumes.  This may take a while...
>  >  stderr:   Found volume group "iipimage-kafelki13" using metadata
> type lvm2
>  >  stderr:   Found volume group "iipimage-kafelki12" using metadata
> type lvm2
>  >  stderr:   Found volume group "iipimage-kafelki11" using metadata
> type lvm2
>  >  stderr:   Found volume group "iipimage-kafelki10" using metadata
> type lvm2
>  >  stderr:   Found volume group "iipimage-kafelki9" using metadata type
> lvm2
>  >  stderr:   Found volume group "iipimage-kafelki8" using metadata type
> lvm2
>  >  stderr:   Found volume group "iipimage-kafelki7" using metadata type
> lvm2
>  >  stderr:   Found volume group "iipimage-kafelki6" using metadata type
> lvm2
>  >  stderr:   Found volume group "iipimage-kafelki5" using metadata type
> lvm2
>  >  stderr:   Found volume group "iipimage-kafelki4" using metadata type
> lvm2
>  >  stderr:   Found volume group "iipimage-kafelki" using metadata type
> lvm2
>  >  stderr:   Found volume group "iipimage-kafelki1d" using metadata
> type lvm2
>  >  stderr:   Found volume group "iipimage-kafelki1c" using metadata
> type lvm2
>  >  stderr:   Found volume group "iipimage-kafelki1b" using metadata
> type lvm2
>  >  stderr:   Found volume group "iipimage-kafelki1a" using metadata
> type lvm2
>  >  stderr:   Found volume group "srv3cz" using metadata type lvm2'
>  >  stderr: + 05:38:25: ocf_run:434: rc=0
>  >  stderr: ++ 05:38:25: ocf_run:435: echo Reading all physical volumes.
> This may take a while... Found volume group '"iipimage-kafelki13"' using
> metadata type lvm2 Found volume group '"iipimage-kafelki12"' using
> metadata type lvm2 Found volume group '"iipimage-kafelki11"' using
> metadata type lvm2 Found volume group '"iipimage-kafelki10"' using
> metadata type lvm2 Found volume group '"iipimage-kafelki9"' using
> metadata type lvm2 Found volume group '"iipimage-kafelki8"' using
> metadata type lvm2 Found volume group '"iipimage-kafelki7"' using
> metadata type lvm2 Found volume group '"iipimage-kafelki6"' using
> metadata type lvm2 Found volume group '"iipimage-kafelki5"' using
> metadata type lvm2 Found volume group '"iipimage-kafelki4"' using
> metadata type lvm2 Found volume group '"iipimage-kafelki"' using
> metadata type lvm2 Found volume group '"iipimage-kafelki1d"' using
> metadata type lvm2 Found volume group '"iipimage-kafelki1c"' using
> metadata type lvm2 Found volume group '"iipimage-kafelki1b"' using
> metadata type lvm2 Found volume group '"iipimage-kafelki1a"' using
> metadata type lvm2 Found volume group '"srv3cz"' using metadata type lvm2
>  >  stderr: + 05:38:25: ocf_run:435: output='Reading all physical
> volumes. This may take a while... Found volume group
> "iipimage-kafelki13" using metadata type lvm2 Found volume group
> "iipimage-kafelki12" using metadata type lvm2 Found volume group
> "iipimage-kafelki11" using metadata type lvm2 Found volume group
> "iipimage-kafelki10" using metadata type lvm2 Found volume group
> "iipimage-kafelki9" using metadata type lvm2 Found volume group
> "iipimage-kafelki8" using metadata type lvm2 Found volume group
> "iipimage-kafelki7" using metadata type lvm2 Found volume group
> "iipimage-kafelki6" using metadata type lvm2 Found volume group
> "iipimage-kafelki5" using metadata type lvm2 Found volume group
> "iipimage-kafelki4" using metadata type lvm2 Found volume group
> "iipimage-kafelki" using metadata type lvm2 Found volume group
> "iipimage-kafelki1d" using metadata type lvm2 Found volume group
> "iipimage-kafelki1c" using metadata type lvm2 Found volume group
> "iipimage-kafelki1b" using metadata type lvm2 Found volume group
> "iipimage-kafelki1a" using metadata type lvm2 Found volume group
> "srv3cz" using metadata type lvm2'
>  >  stderr: + 05:38:25: ocf_run:436: '[' 0 -eq 0 ']'
>  >  stderr: + 05:38:25: ocf_run:437: '[' 1 -a '!' -z 'Reading all
> physical volumes. This may take a while... Found volume group
> "iipimage-kafelki13" using metadata type lvm2 Found volume group
> "iipimage-kafelki12" using metadata type lvm2 Found volume group
> "iipimage-kafelki11" using metadata type lvm2 Found volume group
> "iipimage-kafelki10" using metadata type lvm2 Found volume group
> "iipimage-kafelki9" using metadata type lvm2 Found volume group
> "iipimage-kafelki8" using metadata type lvm2 Found volume group
> "iipimage-kafelki7" using metadata type lvm2 Found volume group
> "iipimage-kafelki6" using metadata type lvm2 Found volume group
> "iipimage-kafelki5" using metadata type lvm2 Found volume group
> "iipimage-kafelki4" using metadata type lvm2 Found volume group
> "iipimage-kafelki" using metadata type lvm2 Found volume group
> "iipimage-kafelki1d" using metadata type lvm2 Found volume group
> "iipimage-kafelki1c" using metadata type lvm2 Found volume group
> "iipimage-kafelki1b" using metadata type lvm2 Found volume group
> "iipimage-kafelki1a" using metadata type lvm2 Found volume group
> "srv3cz" using metadata type lvm2' ']'
>  >  stderr: + 05:38:25: ocf_run:438: ocf_log info 'Reading all physical
> volumes. This may take a while... Found volume group
> "iipimage-kafelki13" using metadata type lvm2 Found volume group
> "iipimage-kafelki12" using metadata type lvm2 Found volume group
> "iipimage-kafelki11" using metadata type lvm2 Found volume group
> "iipimage-kafelki10" using metadata type lvm2 Found volume group
> "iipimage-kafelki9" using metadata type lvm2 Found volume group
> "iipimage-kafelki8" using metadata type lvm2 Found volume group
> "iipimage-kafelki7" using metadata type lvm2 Found volume group
> "iipimage-kafelki6" using metadata type lvm2 Found volume group
> "iipimage-kafelki5" using metadata type lvm2 Found volume group
> "iipimage-kafelki4" using metadata type lvm2 Found volume group
> "iipimage-kafelki" using metadata type lvm2 Found volume group
> "iipimage-kafelki1d" using metadata type lvm2 Found volume group
> "iipimage-kafelki1c" using metadata type lvm2 Found volume group
> "iipimage-kafelki1b" using metadata type lvm2 Found volume group
> "iipimage-kafelki1a" using metadata type lvm2 Found volume group
> "srv3cz" using metadata type lvm2'
>  >  stderr: + 05:38:25: ocf_log:321: '[' 2 -lt 2 ']'
>  >  stderr: + 05:38:25: ocf_log:325: __OCF_PRIO=info
>  >  stderr: + 05:38:25: ocf_log:326: shift
>  >  stderr: + 05:38:25: ocf_log:327: __OCF_MSG='Reading all physical
> volumes. This may take a while... Found volume group
> "iipimage-kafelki13" using metadata type lvm2 Found volume group
> "iipimage-kafelki12" using metadata type lvm2 Found volume group
> "iipimage-kafelki11" using metadata type lvm2 Found volume group
> "iipimage-kafelki10" using metadata type lvm2 Found volume group
> "iipimage-kafelki9" using metadata type lvm2 Found volume group
> "iipimage-kafelki8" using metadata type lvm2 Found volume group
> "iipimage-kafelki7" using metadata type lvm2 Found volume group
> "iipimage-kafelki6" using metadata type lvm2 Found volume group
> "iipimage-kafelki5" using metadata type lvm2 Found volume group
> "iipimage-kafelki4" using metadata type lvm2 Found volume group
> "iipimage-kafelki" using metadata type lvm2 Found volume group
> "iipimage-kafelki1d" using metadata type lvm2 Found volume group
> "iipimage-kafelki1c" using metadata type lvm2 Found volume group
> "iipimage-kafelki1b" using metadata type lvm2 Found volume group
> "iipimage-kafelki1a" using metadata type lvm2 Found volume group
> "srv3cz" using metadata type lvm2'
>  >  stderr: + 05:38:25: ocf_log:329: case "${__OCF_PRIO}" in
>  >  stderr: + 05:38:25: ocf_log:333: __OCF_PRIO=INFO
>  >  stderr: + 05:38:25: ocf_log:338: '[' INFO = DEBUG ']'
>  >  stderr: + 05:38:25: ocf_log:341: ha_log 'INFO: Reading all physical
> volumes. This may take a while... Found volume group
> "iipimage-kafelki13" using metadata type lvm2 Found volume group
> "iipimage-kafelki12" using metadata type lvm2 Found volume group
> "iipimage-kafelki11" using metadata type lvm2 Found volume group
> "iipimage-kafelki10" using metadata type lvm2 Found volume group
> "iipimage-kafelki9" using metadata type lvm2 Found volume group
> "iipimage-kafelki8" using metadata type lvm2 Found volume group
> "iipimage-kafelki7" using metadata type lvm2 Found volume group
> "iipimage-kafelki6" using metadata type lvm2 Found volume group
> "iipimage-kafelki5" using metadata type lvm2 Found volume group
> "iipimage-kafelki4" using metadata type lvm2 Found volume group
> "iipimage-kafelki" using metadata type lvm2 Found volume group
> "iipimage-kafelki1d" using metadata type lvm2 Found volume group
> "iipimage-kafelki1c" using metadata type lvm2 Found volume group
> "iipimage-kafelki1b" using metadata type lvm2 Found volume group
> "iipimage-kafelki1a" using metadata type lvm2 Found volume group
> "srv3cz" using metadata type lvm2'
>  >  stderr: + 05:38:25: ha_log:253: __ha_log 'INFO: Reading all physical
> volumes. This may take a while... Found volume group
> "iipimage-kafelki13" using metadata type lvm2 Found volume group
> "iipimage-kafelki12" using metadata type lvm2 Found volume group
> "iipimage-kafelki11" using metadata type lvm2 Found volume group
> "iipimage-kafelki10" using metadata type lvm2 Found volume group
> "iipimage-kafelki9" using metadata type lvm2 Found volume group
> "iipimage-kafelki8" using metadata type lvm2 Found volume group
> "iipimage-kafelki7" using metadata type lvm2 Found volume group
> "iipimage-kafelki6" using metadata type lvm2 Found volume group
> "iipimage-kafelki5" using metadata type lvm2 Found volume group
> "iipimage-kafelki4" using metadata type lvm2 Found volume group
> "iipimage-kafelki" using metadata type lvm2 Found volume group
> "iipimage-kafelki1d" using metadata type lvm2 Found volume group
> "iipimage-kafelki1c" using metadata type lvm2 Found volume group
> "iipimage-kafelki1b" using metadata type lvm2 Found volume group
> "iipimage-kafelki1a" using metadata type lvm2 Found volume group
> "srv3cz" using metadata type lvm2'
>  >  stderr: + 05:38:25: __ha_log:185: local ignore_stderr=false
>  >  stderr: + 05:38:25: __ha_log:186: local loglevel
>  >  stderr: + 05:38:25: __ha_log:188: '[' 'xINFO: Reading all physical
> volumes. This may take a while... Found volume group
> "iipimage-kafelki13" using metadata type lvm2 Found volume group
> "iipimage-kafelki12" using metadata type lvm2 Found volume group
> "iipimage-kafelki11" using metadata type lvm2 Found volume group
> "iipimage-kafelki10" using metadata type lvm2 Found volume group
> "iipimage-kafelki9" using metadata type lvm2 Found volume group
> "iipimage-kafelki8" using metadata type lvm2 Found volume group
> "iipimage-kafelki7" using metadata type lvm2 Found volume group
> "iipimage-kafelki6" using metadata type lvm2 Found volume group
> "iipimage-kafelki5" using metadata type lvm2 Found volume group
> "iipimage-kafelki4" using metadata type lvm2 Found volume group
> "iipimage-kafelki" using metadata type lvm2 Found volume group
> "iipimage-kafelki1d" using metadata type lvm2 Found volume group
> "iipimage-kafelki1c" using metadata type lvm2 Found volume group
> "iipimage-kafelki1b" using metadata type lvm2 Found volume group
> "iipimage-kafelki1a" using metadata type lvm2 Found volume group
> "srv3cz" using metadata type lvm2' = x--ignore-stderr ']'
>  >  stderr: + 05:38:25: __ha_log:190: '[' none = '' ']'
>  >  stderr: + 05:38:25: __ha_log:192: tty
>  >  stderr: + 05:38:25: __ha_log:193: '[' x = x0 -a x = xdebug ']'
>  >  stderr: + 05:38:25: __ha_log:195: '[' false = true ']'
>  >  stderr: + 05:38:25: __ha_log:199: '[' '' ']'
>  >  stderr: + 05:38:25: __ha_log:202: echo 'INFO: Reading all physical
> volumes. This may take a while... Found volume group
> "iipimage-kafelki13" using metadata type lvm2 Found volume group
> "iipimage-kafelki12" using metadata type lvm2 Found volume group
> "iipimage-kafelki11" using metadata type lvm2 Found volume group
> "iipimage-kafelki10" using metadata type lvm2 Found volume group
> "iipimage-kafelki9" using metadata type lvm2 Found volume group
> "iipimage-kafelki8" using metadata type lvm2 Found volume group
> "iipimage-kafelki7" using metadata type lvm2 Found volume group
> "iipimage-kafelki6" using metadata type lvm2 Found volume group
> "iipimage-kafelki5" using metadata type lvm2 Found volume group
> "iipimage-kafelki4" using metadata type lvm2 Found volume group
> "iipimage-kafelki" using metadata type lvm2 Found volume group
> "iipimage-kafelki1d" using metadata type lvm2 Found volume group
> "iipimage-kafelki1c" using metadata type lvm2 Found volume group
> "iipimage-kafelki1b" using metadata type lvm2 Found volume group
> "iipimage-kafelki1a" using metadata type lvm2 Found volume group
> "srv3cz" using metadata type lvm2'
>  >  stderr: INFO: Reading all physical volumes. This may take a while...
> Found volume group "iipimage-kafelki13" using metadata type lvm2 Found
> volume group "iipimage-kafelki12" using metadata type lvm2 Found volume
> group "iipimage-kafelki11" using metadata type lvm2 Found volume group
> "iipimage-kafelki10" using metadata type lvm2 Found volume group
> "iipimage-kafelki9" using metadata type lvm2 Found volume group
> "iipimage-kafelki8" using metadata type lvm2 Found volume group
> "iipimage-kafelki7" using metadata type lvm2 Found volume group
> "iipimage-kafelki6" using metadata type lvm2 Found volume group
> "iipimage-kafelki5" using metadata type lvm2 Found volume group
> "iipimage-kafelki4" using metadata type lvm2 Found volume group
> "iipimage-kafelki" using metadata type lvm2 Found volume group
> "iipimage-kafelki1d" using metadata type lvm2 Found volume group
> "iipimage-kafelki1c" using metadata type lvm2 Found volume group
> "iipimage-kafelki1b" using metadata type lvm2 Found volume group
> "iipimage-kafelki1a" using metadata type lvm2 Found volume group
> "srv3cz" using metadata type lvm2
>  >  stderr: + 05:38:25: __ha_log:204: return 0
>  >  stderr: + 05:38:25: ocf_run:440: return 0
>  >  stderr: + 05:38:25: LVM_start:453: case $(get_vg_mode) in
>  >  stderr: ++ 05:38:25: LVM_start:453: get_vg_mode
>  >  stderr: ++ 05:38:25: get_vg_mode:158: '[' -n '' ']'
>  >  stderr: ++ 05:38:25: get_vg_mode:163: VG_MODE=0
>  >  stderr: ++ 05:38:25: get_vg_mode:164: ocf_is_true true
>  >  stderr: ++ 05:38:25: ocf_is_true:101: case "$1" in
>  >  stderr: ++ 05:38:25: ocf_is_true:102: true
>  >  stderr: ++ 05:38:25: get_vg_mode:165: case $(vgs -o attr
> --noheadings $OCF_RESKEY_volgrpname | tr -d ' ') in
>  >  stderr: +++ 05:38:25: get_vg_mode:165: tr -d ' '
>  >  stderr: +++ 05:38:25: get_vg_mode:165: vgs -o attr --noheadings
> iipimage-kafelki13
>  >  stderr: ++ 05:38:25: get_vg_mode:169: VG_MODE=1
>  >  stderr: ++ 05:38:25: get_vg_mode:173: echo 1
>  >  stderr: + 05:38:25: LVM_start:458: set_tags
>  >  stderr: + 05:38:25: set_tags:295: check_tags
>  >  stderr: ++ 05:38:25: check_tags:258: vgs -o tags --noheadings
> iipimage-kafelki13
>  >  stderr: ++ 05:38:25: check_tags:258: tr -d ' '
>  >  stderr: + 05:38:25: check_tags:258: local owner=pacemaker
>  >  stderr: + 05:38:25: check_tags:260: '[' -z pacemaker ']'
>  >  stderr: + 05:38:25: check_tags:265: '[' pacemaker = pacemaker ']'
>  >  stderr: + 05:38:25: check_tags:267: return 0
>  >  stderr: + 05:38:25: set_tags:296: case $? in
>  >  stderr: + 05:38:25: set_tags:299: return 0
>  >  stderr: + 05:38:25: LVM_start:466: ocf_run vgchange -ay --config
> 'activation{volume_list=["@pacemaker"]}' iipimage-kafelki13
>  >  stderr: + 05:38:25: ocf_run:413: local rc
>  >  stderr: + 05:38:25: ocf_run:414: local output
>  >  stderr: + 05:38:25: ocf_run:415: local verbose=1
>  >  stderr: + 05:38:25: ocf_run:416: local loglevel=err
>  >  stderr: + 05:38:25: ocf_run:417: local var
>  >  stderr: + 05:38:25: ocf_run:419: for var in 1 2
>  >  stderr: + 05:38:25: ocf_run:421: case "$1" in
>  >  stderr: + 05:38:25: ocf_run:419: for var in 1 2
>  >  stderr: + 05:38:25: ocf_run:421: case "$1" in
>  >  stderr: ++ 05:38:25: ocf_run:433: vgchange -ay --config
> 'activation{volume_list=["@pacemaker"]}' iipimage-kafelki13
>  >  stderr: + 05:38:26: ocf_run:433: output='  1 logical volume(s) in
> volume group "iipimage-kafelki13" now active'
>  >  stderr: + 05:38:26: ocf_run:434: rc=0
>  >  stderr: ++ 05:38:26: ocf_run:435: echo 1 logical 'volume(s)' in
> volume group '"iipimage-kafelki13"' now active
>  >  stderr: + 05:38:26: ocf_run:435: output='1 logical volume(s) in
> volume group "iipimage-kafelki13" now active'
>  >  stderr: + 05:38:26: ocf_run:436: '[' 0 -eq 0 ']'
>  >  stderr: + 05:38:26: ocf_run:437: '[' 1 -a '!' -z '1 logical
> volume(s) in volume group "iipimage-kafelki13" now active' ']'
>  >  stderr: + 05:38:26: ocf_run:438: ocf_log info '1 logical volume(s)
> in volume group "iipimage-kafelki13" now active'
>  >  stderr: + 05:38:26: ocf_log:321: '[' 2 -lt 2 ']'
>  >  stderr: + 05:38:26: ocf_log:325: __OCF_PRIO=info
>  >  stderr: + 05:38:26: ocf_log:326: shift
>  >  stderr: + 05:38:26: ocf_log:327: __OCF_MSG='1 logical volume(s) in
> volume group "iipimage-kafelki13" now active'
>  >  stderr: + 05:38:26: ocf_log:329: case "${__OCF_PRIO}" in
>  >  stderr: + 05:38:26: ocf_log:333: __OCF_PRIO=INFO
>  >  stderr: + 05:38:26: ocf_log:338: '[' INFO = DEBUG ']'
>  >  stderr: + 05:38:26: ocf_log:341: ha_log 'INFO: 1 logical volume(s)
> in volume group "iipimage-kafelki13" now active'
>  >  stderr: + 05:38:26: ha_log:253: __ha_log 'INFO: 1 logical volume(s)
> in volume group "iipimage-kafelki13" now active'
>  >  stderr: + 05:38:26: __ha_log:185: local ignore_stderr=false
>  >  stderr: + 05:38:26: __ha_log:186: local loglevel
>  >  stderr: + 05:38:26: __ha_log:188: '[' 'xINFO: 1 logical volume(s) in
> volume group "iipimage-kafelki13" now active' = x--ignore-stderr ']'
>  >  stderr: + 05:38:26: __ha_log:190: '[' none = '' ']'
>  >  stderr: + 05:38:26: __ha_log:192: tty
>  >  stderr: + 05:38:26: __ha_log:193: '[' x = x0 -a x = xdebug ']'
>  >  stderr: + 05:38:26: __ha_log:195: '[' false = true ']'
>  >  stderr: + 05:38:26: __ha_log:199: '[' '' ']'
>  >  stderr: + 05:38:26: __ha_log:202: echo 'INFO: 1 logical volume(s) in
> volume group "iipimage-kafelki13" now active'
>  >  stderr: INFO: 1 logical volume(s) in volume group
> "iipimage-kafelki13" now active
>  >  stderr: + 05:38:26: __ha_log:204: return 0
>  >  stderr: + 05:38:26: ocf_run:440: return 0
>  >  stderr: + 05:38:26: LVM_start:481: LVM_status iipimage-kafelki13
>  >  stderr: + 05:38:26: LVM_status:325: local rc=1
>  >  stderr: + 05:38:26: LVM_status:326: loglevel=debug
>  >  stderr: + 05:38:26: LVM_status:329: '[' X = X ']'
>  >  stderr: + 05:38:26: LVM_status:330: loglevel=err
>  >  stderr: + 05:38:26: LVM_status:331: ocf_is_probe
>  >  stderr: + 05:38:26: ocf_is_probe:490: '[' start = monitor -a 0 = 0 ']'
>  >  stderr: + 05:38:26: LVM_status:334: '[' start = stop ']'
>  >  stderr: + 05:38:26: LVM_status:340: '[' -d /dev/iipimage-kafelki13 ']'
>  >  stderr: ++ 05:38:26: LVM_status:341: cd /dev/iipimage-kafelki13
>  >  stderr: ++ 05:38:26: LVM_status:341: ls
>  >  stderr: + 05:38:26: LVM_status:341: test kafelki13 '!=' ''
>  >  stderr: + 05:38:26: LVM_status:342: rc=0
>  >  stderr: + 05:38:26: LVM_status:343: '[' 0 -ne 0 ']'
>  >  stderr: + 05:38:26: LVM_status:348: '[' 0 -ne 0 ']'
>  >  stderr: + 05:38:26: LVM_status:352: case $(get_vg_mode) in
>  >  stderr: ++ 05:38:26: LVM_status:352: get_vg_mode
>  >  stderr: ++ 05:38:26: get_vg_mode:158: '[' -n '' ']'
>  >  stderr: ++ 05:38:26: get_vg_mode:163: VG_MODE=0
>  >  stderr: ++ 05:38:26: get_vg_mode:164: ocf_is_true true
>  >  stderr: ++ 05:38:26: ocf_is_true:101: case "$1" in
>  >  stderr: ++ 05:38:26: ocf_is_true:102: true
>  >  stderr: ++ 05:38:26: get_vg_mode:165: case $(vgs -o attr
> --noheadings $OCF_RESKEY_volgrpname | tr -d ' ') in
>  >  stderr: +++ 05:38:26: get_vg_mode:165: vgs -o attr --noheadings
> iipimage-kafelki13
>  >  stderr: +++ 05:38:26: get_vg_mode:165: tr -d ' '
>  >  stderr: ++ 05:38:26: get_vg_mode:169: VG_MODE=1
>  >  stderr: ++ 05:38:26: get_vg_mode:173: echo 1
>  >  stderr: + 05:38:26: LVM_status:356: check_tags
>  >  stderr: ++ 05:38:26: check_tags:258: tr -d ' '
>  >  stderr: ++ 05:38:26: check_tags:258: vgs -o tags --noheadings
> iipimage-kafelki13
>  >  stderr: + 05:38:26: check_tags:258: local owner=pacemaker
>  >  stderr: + 05:38:26: check_tags:260: '[' -z pacemaker ']'
>  >  stderr: + 05:38:26: check_tags:265: '[' pacemaker = pacemaker ']'
>  >  stderr: + 05:38:26: check_tags:267: return 0
>  >  stderr: + 05:38:26: LVM_status:362: verify_tags_environment
>  >  stderr: + 05:38:26: verify_tags_environment:185: lvm dumpconfig
> activation/volume_list
>  >  stderr: + 05:38:26: verify_tags_environment:196: lvm dumpconfig
> activation/volume_list
>  >  stderr: + 05:38:26: verify_tags_environment:196: grep -e
> '"@pacemaker"' -e '"iipimage-kafelki13"'
>  >  stderr: + 05:38:26: verify_tags_environment:207: have_binary cibadmin
>  >  stderr: + 05:38:26: have_binary:68: '[' '' = 1 ']'
>  >  stderr: ++ 05:38:26: have_binary:71: sed -e 's/ -.*//'
>  >  stderr: ++ 05:38:26: have_binary:71: echo cibadmin
>  >  stderr: + 05:38:26: have_binary:71: local bin=cibadmin
>  >  stderr: ++ 05:38:26: have_binary:72: which cibadmin
>  >  stderr: + 05:38:26: have_binary:72: test -x /usr/sbin/cibadmin
>  >  stderr: + 05:38:26: verify_tags_environment:210: cibadmin --local -Q
> --xpath
> '//primitive[@type="LVM"][@id!="kafelki13-lvm"]//instance_attributes//nvpair[@name="volgrpname"][@value="iipimage-kafelki13"]'
> 
>  >  stderr: + 05:38:26: verify_tags_environment:213: '[' 6 -eq 0 ']'
>  >  stderr: + 05:38:26: verify_tags_environment:220: return 0
>  >  stderr: + 05:38:26: LVM_status:366: check_initrd_warning
>  >  stderr: ++ 05:38:26: check_initrd_warning:228: uname -r
>  >  stderr: + 05:38:26: check_initrd_warning:228: ls
> '/boot/*3.10.0-327.el7.x86_64*.img'
>  >  stderr: + 05:38:26: check_initrd_warning:229: '[' 2 -ne 0 ']'
>  >  stderr: + 05:38:26: check_initrd_warning:230: return
>  >  stderr: + 05:38:26: LVM_status:373: '[' X = X ']'
>  >  stderr: + 05:38:26: LVM_status:375: return 0
>  >  stderr: + 05:38:26: LVM_start:482: : OK Volume iipimage-kafelki13
> activated just 'fine!'
>  >  stderr: + 05:38:26: LVM_start:483: return 0
>  >  stderr: + 05:38:26: 723: exit 0
> 
> Any idea?
> 
> Best Regards
> 
> Daniel
> 
> 
> _______________________________________________
> Users mailing list: Users at clusterlabs.org
> http://clusterlabs.org/mailman/listinfo/users
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org





More information about the Users mailing list