cloudfoundry/dea_ng — pull request #77 by julz (2013-11-01 15:10:25+00:00)
Title: Expose available_disk in advertisement message.

Cloud Controller currently assumes that if a DEA has enough memory, it
has enough disk. This is not always true (especially if an app requires
a large disk_quota). This commit adds the available_disk to the message
so that Cloud Controller can use this information to check if a DEA has
space before attempting to start the app.

We had problems starting apps when a DEA which had enough memory but
had run out of reservable disk space would often get chosen to start an app and
immediately fail when it attempted to reserve the resources.