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.
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']