eucalyptus / calyptos

Tool for Managing Eucalyptus
BSD 2-Clause "Simplified" License
5 stars 14 forks source link

CLC pre-provision check needs to check for the presence of node json attributes. #112

Open nephomaniac opened 8 years ago

nephomaniac commented 8 years ago

The clc pre-provision check needs to check if clc_attributes has 'normal' and 'eucalyptus' attributes before referencing them. May times when a system is a state this method intends to prevent, the system will not have the 'eucalyptus' attribute under 'normal'. This will prevent the useful errors for being logged/raised in this check.

https://github.com/eucalyptus/calyptos/blob/master/calyptos/plugins/deployer/chef.py#L186

clc_euca_attributes = clc_attributes['normal']['eucalyptus']