@robert We did not use the ppa but changing all occurrences of vgchange in
the clvm script has been working so far.
Sent from my Google Nexus tablet
On Nov 22, 2012 1:11 PM, "Robert McGrath" <email address hidden>
wrote:
> We are experiencing this bug as well, and are very keen to see a fix.
> How is work going on this?
>
> The two work-arounds suggested above, have not succeeded for us;
> a) add the 'ppa:ivoks/ha' respoitory and pull the "clvm" from there.
> b) Manually edit "/etc./init.d/clvm" to add the "--monitor y" option to
> the vgchange commands in the "do_activate routine"
>
> Has anyone identified a work-around that works?
> If there is one, then can you help us in the short term and share it
> please?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/833368
>
> Title:
> clustered lvm commands fail with "activation/monitoring=0 is
> incompatible with clustered Volume Group" error
>
> Status in “lvm2” package in Ubuntu:
> Confirmed
> Status in “resource-agents” package in Ubuntu:
> In Progress
>
> Bug description:
> # lsb_release -rd
> Description: Ubuntu 11.04
> Release: 11.04
>
> # apt-cache policy lvm2
> lvm2:
> Installed: 2.02.66-4ubuntu2
> Candidate: 2.02.66-4ubuntu2
> Version table:
> *** 2.02.66-4ubuntu2 0
> 500 http://ubuntu.mirror.iweb.ca/ natty/main amd64 Packages
> 100 /var/lib/dpkg/status
>
> # apt-cache policy clvm
> clvm:
> Installed: 2.02.66-4ubuntu2
> Candidate: 2.02.66-4ubuntu2
> Version table:
> *** 2.02.66-4ubuntu2 0
> 500 http://ubuntu.mirror.iweb.ca/ natty/main amd64 Packages
> 100 /var/lib/dpkg/status
>
>
> # apt-cache policy libdevmapper1.02.1
> libdevmapper1.02.1:
> Installed: 2:1.02.48-4ubuntu2
> Candidate: 2:1.02.48-4ubuntu2
> Version table:
> *** 2:1.02.48-4ubuntu2 0
> 500 http://ubuntu.mirror.iweb.ca/ natty/main amd64 Packages
> 100 /var/lib/dpkg/status
>
>
>
> When trying to configure a clustered lvm2 using cman and clvm, clvm
> start up and lvm commands fail with this error:
>
> # vgchange -a y data_vg
> activation/monitoring=0 is incompatible with clustered Volume Group
> "data_vg": Skipping.
>
> if I use "--monitor y" then the command works as expected.
>
> # vgchange -a y --monitor y data_vg
> 1 logical volume(s) in volume group "data_vg" now active
>
>
> activation/monitoring is set to 1 in lvm.conf
>
>
> The biggest problem is that I can't do LVM manipulation via interfaces
> such as virt-manager.
>
>
> Here is the lvm.conf dump:
>
> # lvm dumpconfig
> devices {
> dir="/dev"
> scan="/dev"
> preferred_names=[]
> filter=["a|drbd.*|", "r|.*|"]
> cache_dir="/etc/lvm/cache"
> cache_file_prefix=""
> write_cache_state=1
> sysfs_scan=1
> md_component_detection=1
> md_chunk_alignment=1
> data_alignment_detection=1
> data_alignment=0
> data_alignment_offset_detection=1
> ignore_suspended_devices=0
> }
> dmeventd {
> mirror_library="libdevmapper-event-lvm2mirror.so"
> snapshot_library="libdevmapper-event-lvm2snapshot.so"
> }
> activation {
> udev_sync=1
> udev_rules=1
> missing_stripe_filler="error"
> reserved_stack=256
> reserved_memory=8192
> process_priority=-18
> mirror_region_size=512
> readahead="auto"
> mirror_log_fault_policy="allocate"
> mirror_image_fault_policy="remove"
> use_mlockall=0
> monitoring=1
> polling_interval=15
> }
> global {
> umask=63
> test=0
> units="h"
> si_unit_consistency=1
> activation=1
> proc="/proc"
> locking_type=3
> wait_for_locks=1
> fallback_to_clustered_locking=1
> fallback_to_local_locking=1
> locking_dir="/var/lock/lvm"
> prioritise_write_locks=1
> abort_on_internal_errors=0
> }
> shell {
> history_size=100
> }
> backup {
> backup=1
> backup_dir="/etc/lvm/backup"
> archive=1
> archive_dir="/etc/lvm/archive"
> retain_min=10
> retain_days=30
> }
> log {
> verbose=0
> syslog=1
> overwrite=0
> level=0
> indent=1
> command_names=0
> prefix=" "
> activation=1
> }
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/833368/+subscriptions
>
@robert We did not use the ppa but changing all occurrences of vgchange in
the clvm script has been working so far.
Sent from my Google Nexus tablet
On Nov 22, 2012 1:11 PM, "Robert McGrath" <email address hidden>
wrote:
> We are experiencing this bug as well, and are very keen to see a fix. /bugs.launchpad .net/bugs/ 833368 monitoring= 0 is ubuntu. mirror. iweb.ca/ natty/main amd64 Packages dpkg/status ubuntu. mirror. iweb.ca/ natty/main amd64 Packages dpkg/status ubuntu. mirror. iweb.ca/ natty/main amd64 Packages dpkg/status monitoring= 0 is incompatible with clustered Volume Group monitoring is set to 1 in lvm.conf ["a|drbd. *|", "r|.*|"] "/etc/lvm/ cache" prefix= "" detection= 1 alignment= 1 detection= 1 offset_ detection= 1 suspended_ devices= 0 library= "libdevmapper- event-lvm2mirro r.so" library= "libdevmapper- event-lvm2snaps hot.so" stripe_ filler= "error" memory= 8192 priority= -18 region_ size=512 log_fault_ policy= "allocate" image_fault_ policy= "remove" consistency= 1 to_clustered_ locking= 1 to_local_ locking= 1 dir="/var/ lock/lvm" write_locks= 1 internal_ errors= 0 dir="/etc/ lvm/backup" dir="/etc/ lvm/archive" /bugs.launchpad .net/ubuntu/ +source/ lvm2/+bug/ 833368/ +subscriptions
> How is work going on this?
>
> The two work-arounds suggested above, have not succeeded for us;
> a) add the 'ppa:ivoks/ha' respoitory and pull the "clvm" from there.
> b) Manually edit "/etc./init.d/clvm" to add the "--monitor y" option to
> the vgchange commands in the "do_activate routine"
>
> Has anyone identified a work-around that works?
> If there is one, then can you help us in the short term and share it
> please?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> clustered lvm commands fail with "activation/
> incompatible with clustered Volume Group" error
>
> Status in “lvm2” package in Ubuntu:
> Confirmed
> Status in “resource-agents” package in Ubuntu:
> In Progress
>
> Bug description:
> # lsb_release -rd
> Description: Ubuntu 11.04
> Release: 11.04
>
> # apt-cache policy lvm2
> lvm2:
> Installed: 2.02.66-4ubuntu2
> Candidate: 2.02.66-4ubuntu2
> Version table:
> *** 2.02.66-4ubuntu2 0
> 500 http://
> 100 /var/lib/
>
> # apt-cache policy clvm
> clvm:
> Installed: 2.02.66-4ubuntu2
> Candidate: 2.02.66-4ubuntu2
> Version table:
> *** 2.02.66-4ubuntu2 0
> 500 http://
> 100 /var/lib/
>
>
> # apt-cache policy libdevmapper1.02.1
> libdevmapper1.02.1:
> Installed: 2:1.02.48-4ubuntu2
> Candidate: 2:1.02.48-4ubuntu2
> Version table:
> *** 2:1.02.48-4ubuntu2 0
> 500 http://
> 100 /var/lib/
>
>
>
> When trying to configure a clustered lvm2 using cman and clvm, clvm
> start up and lvm commands fail with this error:
>
> # vgchange -a y data_vg
> activation/
> "data_vg": Skipping.
>
> if I use "--monitor y" then the command works as expected.
>
> # vgchange -a y --monitor y data_vg
> 1 logical volume(s) in volume group "data_vg" now active
>
>
> activation/
>
>
> The biggest problem is that I can't do LVM manipulation via interfaces
> such as virt-manager.
>
>
> Here is the lvm.conf dump:
>
> # lvm dumpconfig
> devices {
> dir="/dev"
> scan="/dev"
> preferred_names=[]
> filter=
> cache_dir=
> cache_file_
> write_cache_state=1
> sysfs_scan=1
> md_component_
> md_chunk_
> data_alignment_
> data_alignment=0
> data_alignment_
> ignore_
> }
> dmeventd {
> mirror_
> snapshot_
> }
> activation {
> udev_sync=1
> udev_rules=1
> missing_
> reserved_stack=256
> reserved_
> process_
> mirror_
> readahead="auto"
> mirror_
> mirror_
> use_mlockall=0
> monitoring=1
> polling_interval=15
> }
> global {
> umask=63
> test=0
> units="h"
> si_unit_
> activation=1
> proc="/proc"
> locking_type=3
> wait_for_locks=1
> fallback_
> fallback_
> locking_
> prioritise_
> abort_on_
> }
> shell {
> history_size=100
> }
> backup {
> backup=1
> backup_
> archive=1
> archive_
> retain_min=10
> retain_days=30
> }
> log {
> verbose=0
> syslog=1
> overwrite=0
> level=0
> indent=1
> command_names=0
> prefix=" "
> activation=1
> }
>
> To manage notifications about this bug go to:
> https:/
>