-
-
Save rterbush/a8f0caccc4b9ab1f6d0f to your computer and use it in GitHub Desktop.
Failed deploy of salt-minion from git tag
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
running install_egg_info | |
Removing /usr/lib/python2.7/site-packages/salt-2015.8.1-py2.7.egg-info | |
Writing /usr/lib/python2.7/site-packages/salt-2015.8.1-py2.7.egg-info | |
* INFO: Running install_centos_git_post() | |
* INFO: Running install_centos_check_services() | |
* INFO: Running install_centos_restart_daemons() | |
* INFO: Running daemons_running() | |
* ERROR: salt-minion was not found running | |
* ERROR: Failed to run daemons_running()!!! | |
* ERROR: salt-minion was not found running. Pass '-D' to bootstrap-salt.sh when bootstrapping for additional debugging information... | |
[DEBUG ] -> /usr/share/man/man7 | |
running install_egg_info | |
Removing /usr/lib/python2.7/site-packages/salt-2015.8.1-py2.7.egg-info | |
Writing /usr/lib/python2.7/site-packages/salt-2015.8.1-py2.7.egg-info | |
* INFO: Running install_centos_git_post() | |
* INFO: Running install_centos_check_services() | |
* INFO: Running install_centos_restart_daemons() | |
* INFO: Running daemons_running() | |
* ERROR: salt-minion was not found running | |
* ERROR: Failed to run daemons_running()!!! | |
* ERROR: salt-minion was not found running. Pass '-D' to bootstrap-salt.sh when bootstrapping for additional debugging information... | |
[ERROR ] Failed to deploy 'api.0.domainname'. Error: Command 'ssh -t -t -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none -oPasswordAuthentication=no -oChallengeResponseAuthentication=no -oPubkeyAuthentication=yes -oKbdInteractiveAuthentication=no -i /srv/etc/.ssh/mykey.pem -p 22 centos@10.1.2.103 \'sudo /tmp/.saltcloud-43149ec4-d09f-481f-a1ea-e13df079636f/deploy.sh -c \'"\'"\'/tmp/.saltcloud-43149ec4-d09f-481f-a1ea-e13df079636f\'"\'"\' git v2015.8.1\'' failed. Exit code: 1 | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/site-packages/salt/cloud/__init__.py", line 2109, in run_map | |
profile, local_master=local_master | |
File "/usr/lib/python2.7/site-packages/salt/cloud/__init__.py", line 1249, in create | |
output = self.clouds[func](vm_) | |
File "/usr/lib/python2.7/site-packages/salt/cloud/clouds/ec2.py", line 2398, in create | |
for key, value in six.iteritems(salt.utils.cloud.bootstrap(vm_, __opts__)): | |
File "/usr/lib/python2.7/site-packages/salt/utils/cloud.py", line 501, in bootstrap | |
deployed = deploy_script(**deploy_kwargs) | |
File "/usr/lib/python2.7/site-packages/salt/utils/cloud.py", line 1479, in deploy_script | |
if root_cmd(deploy_command, tty, sudo, **ssh_kwargs) != 0: | |
File "/usr/lib/python2.7/site-packages/salt/utils/cloud.py", line 2101, in root_cmd | |
retcode = _exec_ssh_cmd(cmd, allow_failure=allow_failure, **kwargs) | |
File "/usr/lib/python2.7/site-packages/salt/utils/cloud.py", line 1749, in _exec_ssh_cmd | |
cmd, proc.exitstatus | |
SaltCloudSystemExit: Command 'ssh -t -t -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none -oPasswordAuthentication=no -oChallengeResponseAuthentication=no -oPubkeyAuthentication=yes -oKbdInteractiveAuthentication=no -i /srv/etc/.ssh/mykey.pem -p 22 centos@10.1.2.103 \'sudo /tmp/.saltcloud-43149ec4-d09f-481f-a1ea-e13df079636f/deploy.sh -c \'"\'"\'/tmp/.saltcloud-43149ec4-d09f-481f-a1ea-e13df079636f\'"\'"\' git v2015.8.1\'' failed. Exit code: 1 | |
[INFO ] Complete | |
[DEBUG ] LazyLoaded nested.output | |
api.0.domain: | |
---------- | |
Error: | |
Command 'ssh -t -t -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none -oPasswordAuthentication=no -oChallengeResponseAuthentication=no -oPubkeyAuthentication=yes -oKbdInteractiveAuthentication=no -i /srv/etc/.ssh/mykey.pem -p 22 centos@10.1.2.103 \'sudo /tmp/.saltcloud-43149ec4-d09f-481f-a1ea-e13df079636f/deploy.sh -c \'"\'"\'/tmp/.saltcloud-43149ec4-d09f-481f-a1ea-e13df079636f\'"\'"\' git v2015.8.1\'' failed. Exit code: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Another note:
salt-key seems to have an accepted key and denied key of the same name.