[drbd-mc] Issues with LCMC v1.5.11
Rasto Levrinc
rasto.levrinc at gmail.com
Tue Oct 15 13:22:52 CEST 2013
On Tue, Oct 8, 2013 at 5:34 PM, Caspar Smit <c.smit at truebit.nl> wrote:
> Hi Rasto,
>
> I have a relatively large list of issues with the latest LCMC
>
Hi Caspar,
some of the issues I was able to fix for the next 1.5.12 release
>
> 1) When I use the Cluster Wizard to create a new cluster and enter a name
> for it (e.g. "Test") the default name of "Cluster 1" will always be used.
> Only when I quit LCMC and restart it the cluster will be named "Test"
fixed
>
> 2) When I start LCMC with an incorrect drbd config (for instance a wrong IP
> address) i get the following error (which is expected):
>
> drbd config error: drbd.d/r0.res:8: in resource r0, on node01:
> IP X.X.X.X not found on this host.
>
> But then I would like to edit this IP address in LCMC but the whole config
> of r0 is not read and is not shown in LCMC so it is not editable either.
>
fixed
> 3) Under DRBD the "DRBD Processes" button always results in error
>
> I noticed that LCMC tries to run a proxy command (drbd-proxy-ctl) during
> this button press so I guess that's the reason for the error:
>
> sudo: clususer :command not allowed ; TTY=pts/7 ; PWD=/home/clususer ;
> USER=root ; COMMAND=/sbin/drbd-proxy-ctl -c show hconnections -c show
> hsubconnections -c show memusage -c print statistics
>
> I don't have DRBD proxy on this machine but I think this should not result
> in an error.
>
I'll fix that
> 4) When I create a VG from a newly created DRBD volume the VG is not visible
> to LCMC even after a "Rescan LVM"
>
> I have to disconnect / reconnect to the cluster to see the newly created VG
> and the "Create LV in VG" option. Rescan LVM doesn't seem to work at all.
>
Since you are using sudo, I suppose the lvdisplay, vgdisplay and pgdisplay
commands are not in your sudoers config. Otherwise it should work.
> 5) When creating a VM the "Browse" button for the installation disk is
> greyed out when running LCMC from Windows (Ubuntu/Linux is working
> correctly)
Yup, in this case the implementation is platform dependent and I haven't
got around to do it for Windows.
>
> 6) It would be nice to have "Driver Cache" option while creating a VM in the
> "Storage" section, the Driver Cache setting is only available in the
> Installation Disk section.
fixed
>
> 7) If during the VM creation wizard in the Storage section a Virtio disk is
> added, LCMC still adds this virtio disk as "hda" in stead of "vda"
fixed
>
> 8) When loading the DRBD module through LCMC and I connect a resource i
> often get an error message on the console saying:
>
> Oct 8 16:49:16 node01 kernel: [ 6926.447449] block drbd0: Different
> verify-alg settings. me="crc32c" peer=""
>
> Although the config was created through LCMC and is equal on both sides.
>
> A "Load Config (Adjust)" resolves the issue but it shouldn't happen in the
> first place.
>
I am not sure at which place does this happen. If you just load the
module without adjust,
you shouldn't be able to connect the resources. Or do you mean that
you load the module
and then create a new DRBD resource? Can you write up the steps to reproduce it?
Also, what DRBD version?
> 9) I mailed to this list some time ago about the /dev/disk/by-id but i
> didn't got any response so here is it again:
It's on the TODO list, but i am not planning it for the next release.
>
>
> 10) When adding a CRM resource (linbit:drbd) and you give the master/slave
> set a different name then the default (Which is drbd_1) it still gets added
> to the CIB with the name ms_drbd_1 even if you give it a different name like
> ms_drbd0 for instance.
>
> You have to disconnect/reconnect for LCMC to see the difference and be able
> to manage the newly created resource.
>
> ms ms_drbd_1 res_drbd_drbd0 \
> meta clone-max="2" notify="true" interleave="true"
fixed
>
> 11) When there is no *.res file in /etc/drbd.d or there is no drbd resource
> configured the global_common.conf file is not parsed. So when you create a
> drbd volume using LCMC the global_common.conf file is overwritten with very
> little options set. I would like to keep my global_common.conf file
> allthough there is no drbd volume configured (yet).
>
> I don't want to manually set all these options again and LCMC should just
> overwrite it.
I've played with it a little bit. Eventually the drbdadm would have to
be patched.
Here's the patch, I think :)
More information about the drbd-mc
mailing list