Failed to connect to lvmetad

I get the same warning on Ubuntu 16.10 with encrypted LVM. I have not found a solution but, for what it's worth, it appears related to the Debian bug reported on 16 Nov 2016.

My server works fine so I'm hoping it's a minor bug that will be fixed in upcoming Ubuntu releases.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=844487

Dear Maintainer,

I am using Debian Scratch with encrypted root partition. The last kernel version where it worked was 4.6.0. For kernels 4.7.0 and 4.8.0 it prints on the boot repeatedly and forever following messages:

WARNING: Failed to connect to lvmetad. Falling back to device
scanning. Volume group "martin-vg" not found Cannot process volume group martin-vg

In 4.6.0 these messages are shown too, but only twice and then it prompts for a password:

Please unlock disk sda5_crypt: