{"action":"closed","issue":{"url":"https://api.github.com/repos/uvsmtid/common-salt-states/issues/6","labels_url":"https://api.github.com/repos/uvsmtid/common-salt-states/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/uvsmtid/common-salt-states/issues/6/comments","events_url":"https://api.github.com/repos/uvsmtid/common-salt-states/issues/6/events","html_url":"https://github.com/uvsmtid/common-salt-states/issues/6","id":86071853,"number":6,"title":"Missing symlinks to bootstrap profiles breaks bootstrap process as pillar cannot be loaded","user":{"login":"uvsmtid","id":1244960,"avatar_url":"https://avatars.githubusercontent.com/u/1244960?v=3","gravatar_id":"","url":"https://api.github.com/users/uvsmtid","html_url":"https://github.com/uvsmtid","followers_url":"https://api.github.com/users/uvsmtid/followers","following_url":"https://api.github.com/users/uvsmtid/following{/other_user}","gists_url":"https://api.github.com/users/uvsmtid/gists{/gist_id}","starred_url":"https://api.github.com/users/uvsmtid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uvsmtid/subscriptions","organizations_url":"https://api.github.com/users/uvsmtid/orgs","repos_url":"https://api.github.com/users/uvsmtid/repos","events_url":"https://api.github.com/users/uvsmtid/events{/privacy}","received_events_url":"https://api.github.com/users/uvsmtid/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/uvsmtid/common-salt-states/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-08T08:00:28Z","updated_at":"2015-09-07T13:45:25Z","closed_at":"2015-09-07T13:45:25Z","body":"\r\nSalt configuration file (normally `/etc/salt/master`) in bootstrap package currently contains bootstrap configuration:\r\n\r\n```\r\n# ...\r\nthis_system_keys:\r\n    # ...\r\n    load_bootstrap_target_envs:\r\n        automate-env: ~\r\n# ...\r\n```\r\n\r\nHowever, necessary symlinks under `pillars/bootstrap/profiles` directory are not created during execution of bootstrap script:\r\n\r\n```\r\nDEBUG:root:command line: \"salt-call\" \"--out\" \"json\" \"--log-level\" \"debug\" \"state.sls\" \"common.source_symlinks\" \"test=False\" \"pillar={ 'bootstrap_mode': 'initial-online-node' }\"\r\nDEBUG:root:stdout_file_path: /tmp/tmpvDa_hb\r\nDEBUG:root:stdin_string: None\r\nDEBUG:root:before wait\r\n[DEBUG   ] Reading configuration from /etc/salt/minion\r\n[DEBUG   ] Configuration file path: /etc/salt/minion\r\n[DEBUG   ] Reading configuration from /etc/salt/minion\r\n[DEBUG   ] Decrypting the current master AES key\r\n[DEBUG   ] Loaded minion key: /etc/salt/pki/minion/minion.pem\r\n[DEBUG   ] Loaded minion key: /etc/salt/pki/minion/minion.pem\r\n[DEBUG   ] Mako not available\r\n[DEBUG   ] LazyLoaded .returner\r\n[DEBUG   ] Decrypting the current master AES key\r\n[DEBUG   ] Loaded minion key: /etc/salt/pki/minion/minion.pem\r\nDEBUG:root:after wait\r\n{\r\n    \"local\": [\r\n        \"Pillar failed to render with the following messages:\", \r\n        \"Specified SLS 'bootstrap.profiles.automate-env' in environment 'base' is not available on the salt master\"\r\n    ]\r\n}\r\n```\r\n"}}