Project: datamanagement
Issue DM-4381: "SHUTOFF" nebula instances consume core/ramIt  quota
It appears that halted/shutoff instances have no effect on resource quota usage. Eg: {code:java} $ openstack server list +--------------------------------------+-----------------------+-------------------+----------------------------------------+ | ID | Name | Status | Networks | +--------------------------------------+-----------------------+-------------------+----------------------------------------+ ... | 1956c6d0-8aec-4f42-a781-8a68fd10179d | el7-jhoblitt | SHUTOFF | LSST-net=172.16.1.171, 141.142.208.150 | ... $ nova absolute-limits +--------------------+--------+--------+ | Name | Used | Max | +--------------------+--------+--------+ | Cores | 141 | 150 | | FloatingIps | 0 | 10 | | ImageMeta | - | 128 | | Instances | 44 | 100 | | Keypairs | - | 100 | | Personality | - | 5 | | Personality Size | - | 10240 | | RAM | 342016 | 400000 | | SecurityGroupRules | - | 20 | | SecurityGroups | 1 | 10 | | Server Meta | - | 128 | | ServerGroupMembers | - | 10 | | ServerGroups | 0 | 10 | +--------------------+--------+--------+ $ openstack server delete 1956c6d0-8aec-4f42-a781-8a68fd10179d $ nova absolute-limits +--------------------+--------+--------+ | Name | Used | Max | +--------------------+--------+--------+ | Cores | 133 | 150 | | FloatingIps | 0 | 10 | | ImageMeta | - | 128 | | Instances | 43 | 100 | | Keypairs | - | 100 | | Personality | - | 5 | | Personality Size | - | 10240 | | RAM | 325632 | 400000 | | SecurityGroupRules | - | 20 | | SecurityGroups | 1 | 10 | | Server Meta | - | 128 | | ServerGroupMembers | - | 10 | | ServerGroups | 0 | 10 | +--------------------+--------+--------+ {code}
Story points: 2