You can grep through, the onlyi real function taht uses it is 'rand_str'. and i'm not sure really why that would be called at the point that you're seeing the slow down.
I think it more valuable for you to figure out why your environment is causing this issue and fixing that rather than fixing cloud-init (and subsequently all users of entropy).
Also, information about how you've come across this bug would be good.
You can grep through, the onlyi real function taht uses it is 'rand_str'. and i'm not sure really why that would be called at the point that you're seeing the slow down.
I think it more valuable for you to figure out why your environment is causing this issue and fixing that rather than fixing cloud-init (and subsequently all users of entropy).
Also, information about how you've come across this bug would be good.