bug #1991: Add UNDEPLOYED state to the resize capacity condition