Comment 4 for bug 1212768

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/61359
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=105d99d4f52fa849e80829dad3ed12b116820118
Submitter: Jenkins
Branch: master

commit 105d99d4f52fa849e80829dad3ed12b116820118
Author: jichen <email address hidden>
Date: Wed Dec 11 11:06:26 2013 -0500

    When a claim is rejected, explain why

    Previously, the Claim class offered #test which would return a Boolean
    based on availability of memory, disk, CPU and PCI devices.

    Now these tests are performed from the constructor and if any test
    fails, an exception is thrown. All failure reasons are described in the
    exception message. EG:

      "Insufficient compute resources: Free memory 8192.00 MB <
      requested 16384 MB; Free disk 45.00 GB < requested 50 GB; Free CPUs
      16.00 VCPUs < requested 17 VCPUs."

    Change-Id: I5bf9c81bba747a6c164144e60a92dc6da2f98f4c
    Closes-Bug: #1212768