Pillar fails to render with following message:
"Specified SLS 'hadoop.$' in environment 'base' is not available on the salt master"
Analysis
In AWS environment edge node also takes role of salt-master, "hadoop.distro" grain is added from bootstrap-script "base.sh".
Whereas in OpenStack environment, a dedicated node serves as salt-master server. While rendering pillars, it expects "hadoop.distro" grain.
Solution
This grain "hadoop.distro" should be added on saltmaster_install bootstrap-script.
Tested for following in OpenStack:
CDH - RHEL for pico and standard flavors
HDP - RHEL for pico and standard flavors
Note: This fix was tested along with fixes for issues 143 , 144 and 146.
Issue description:
Pillar fails to render with following message: "Specified SLS 'hadoop.$' in environment 'base' is not available on the salt master"
Analysis
In AWS environment edge node also takes role of salt-master, "hadoop.distro" grain is added from bootstrap-script "base.sh". Whereas in OpenStack environment, a dedicated node serves as salt-master server. While rendering pillars, it expects "hadoop.distro" grain.
Solution
This grain "hadoop.distro" should be added on saltmaster_install bootstrap-script.
Tested for following in OpenStack: CDH - RHEL for pico and standard flavors HDP - RHEL for pico and standard flavors
Note: This fix was tested along with fixes for issues 143 , 144 and 146.