[DRBD-user] Testing new DRBD9 dedicated repo for PVE

Roberto Resoli roberto at resolutions.it
Thu Dec 29 15:01:45 CET 2016

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Il 28/12/2016 16:00, Roberto Resoli ha scritto:
> Il 27/12/2016 10:19, Roberto Resoli ha scritto:
>> All is up and running nicely, in any case.

Another issue: drbdmanaged starts at boot, but most resources remain down; a

drbdmanaged restart

fixes that.

I attach a related fragment from syslog; it seems that some temporary
.res files are not generated correctly.

rob
-------------- next part --------------
Dec 29 14:34:21 pve2 drbdmanaged[2295]: DEBUG      LvmThinLv: Running external command: /sbin/lvchange -ay -kn -K drbdpool/vm-102-disk-1_00
Dec 29 14:34:21 pve2 drbdmanaged[2295]: DEBUG      Entering DrbdManager.run
Dec 29 14:34:21 pve2 drbdmanaged[2295]: DEBUG      DrbdManager: invoked
Dec 29 14:34:21 pve2 drbdmanaged[2295]: DEBUG      DrbdManager: hash check: f76233200229778a7776b4d9aedbc2659b8e706c107dd9b910073a132007eb93
Dec 29 14:34:21 pve2 drbdmanaged[2295]: DEBUG      DrbdManager: hash unchanged
Dec 29 14:34:21 pve2 drbdmanaged[2295]: DEBUG      DrbdManager: finished
Dec 29 14:34:21 pve2 drbdmanaged[2295]: DEBUG      Exited DrbdManager.run
Dec 29 14:34:22 pve2 org.drbd.drbdmanaged[2056]: Logical volume "vm-102-disk-1_00" changed.
Dec 29 14:34:22 pve2 drbdmanaged[2295]: DEBUG      Entering DrbdManager.check_res_file
Dec 29 14:34:22 pve2 drbdmanaged[2295]: INFO       DrbdAdm: Running external command: drbdadm --config-to-test /var/lib/drbd.d/drbdmanage_vm-102-disk-1.res.tmp --config-to-exclude /var/lib/drbd.d/drbdmanage_vm-102-disk-1.res sh-nop
Dec 29 14:34:22 pve2 drbdmanaged[2295]: INFO       DrbdAdm: External command 'drbdadm': Exit code 0
Dec 29 14:34:22 pve2 drbdmanaged[2295]: INFO       DrbdAdm: Running external command: drbdadm -c /var/lib/drbd.d/drbdmanage_vm-102-disk-1.res.tmp -d up vm-102-disk-1
Dec 29 14:34:22 pve2 drbdmanaged[2295]: ERROR      DrbdAdm: External command 'drbdadm': Exit code 10
Dec 29 14:34:22 pve2 drbdmanaged[2295]: ERROR      drbdadm/stderr: /var/lib/drbd.d/drbdmanage_vm-102-disk-1.res.tmp:4: in resource vm-102-disk-1:
Dec 29 14:34:22 pve2 drbdmanaged[2295]: ERROR      drbdadm/stderr: #011a host sections ('on pve2 { ... }') is missing.
Dec 29 14:34:22 pve2 drbdmanaged[2295]: DEBUG      Exited DrbdManager.check_res_file
Dec 29 14:34:22 pve2 drbdmanaged[2295]: INFO       Resource file /var/lib/drbd.d/drbdmanage_vm-102-disk-1.res.tmp not valid
Dec 29 14:34:22 pve2 drbdmanaged[2295]: DEBUG      failed to start resource 'vm-102-disk-1', unhandled exception: ResourceFileException#012Exception stack trace:#012  File "/usr/lib/python2.7/dist-packages/drbdmanage/drbd/drbdcore.py", line 986, in initial_up#012    self._up_resource(assg)#012  File "/usr/lib/python2.7/dist-packages/drbdmanage/utils.py", line 1728, in wrapper#012    ret = f(*args, **kwds)#012  File "/usr/lib/python2.7/dist-packages/drbdmanage/drbd/drbdcore.py", line 1048, in _up_resource#012    self._server.export_assignment_conf(assignment)#012  File "/usr/lib/python2.7/dist-packages/drbdmanage/server.py", line 5485, in export_assignment_conf#012    self.update_assignment_conf(res_name)#012  File "/usr/lib/python2.7/dist-packages/drbdmanage/server.py", line 5611, in update_assignment_conf#012    raise update_exception


More information about the drbd-user mailing list