Skip to content

Instantly share code, notes, and snippets.

@spotz
Created April 25, 2017 19:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spotz/a30c442bb5b02e357702c41773cc27c1 to your computer and use it in GitHub Desktop.
Save spotz/a30c442bb5b02e357702c41773cc27c1 to your computer and use it in GitHub Desktop.
[amy@instance-1 ~]$ sudo packstack --allinone
Welcome to the Packstack setup utility
The installation log file is available at: /var/tmp/packstack/20170425-191525-4Dak8T/openstack-setup.log
Installing:
Clean Up [ DONE ]
Discovering ip protocol version [ DONE ]
Setting up ssh keys [ DONE ]
Preparing servers [ ERROR ]
ERROR : Failed to run remote script, stdout:
stderr: Warning: Permanently added '10.128.0.2' (ECDSA) to the list of known hosts.
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
Please check log file /var/tmp/packstack/20170425-191525-4Dak8T/openstack-setup.log for more information
Additional information:
* A new answerfile was created in: /root/packstack-answers-20170425-191525.txt
* Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.
[amy@instance-1 ~]$ sudo less /root/packstack-answers-20170425-191525.txt
[amy@instance-1 ~]$ sudo less /var/tmp/packstack/20170425-191525-4Dak8T/openstack-setup.log
wwWmYfDEgXGo50AvGkXwhdOGbl94AkhQxZL5X88wGg4XhBUFkphG+SvHjhK2h2pHX36f/ZITnu9HGHBMdnXTRMxGh526UHdGGB8vDzoTpQYPaGZ1/LrMoylEt2ZjP6xJTGWCtdqdeW2bw1QZFKWtu0XrTXfrzlNCV6N98jvxS/EAP+rvRPLlK3sBhiqsoId0CKvPtqZzSJOMTF root@instance-1' ~/.ssh/authorized_keys > /dev/null 2>&1 || echo ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjRdRnSBHlCEzeYUl+BBM++yf5jTxWmznebHPIanbD+ioUUv9E2cY0K8umfRJ/YDKHm2T2ZXGYMfkaxZX8lcercybVjuP3gVjvAUBbvhK5snUIIqDBiRcyF7FAiKF5e7rAxcK+KFwwWmYfDEgXGo50AvGkXwhdOGbl94AkhQxZL5X88wGg4XhBUFkphG+SvHjhK2h2pHX36f/ZITnu9HGHBMdnXTRMxGh526UHdGGB8vDzoTpQYPaGZ1/LrMoylEt2ZjP6xJTGWCtdqdeW2bw1QZFKWtu0XrTXfrzlNCV6N98jvxS/EAP+rvRPLlK3sBhiqsoId0CKvPtqZzSJOMTF root@instance-1 >> ~/.ssh/authorized_keys
chmod 400 ~/.ssh/authorized_keys
restorecon -r ~/.ssh
2017-04-25 19:15:25::INFO::shell::94::root:: [10.128.0.2] Executing script:
rpm -q --whatprovides yum-utils || yum install -y yum-utils
2017-04-25 19:15:25::ERROR::run_setup::1018::root:: Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 993, in main
single_step_aio_install(options, logFile)
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 760, in single_step_aio_install
single_step_install(options, logFile)
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 791, in single_step_install
_main(options, answerfilepath, logFile)
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 660, in _main
runSequences()
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 627, in runSequences
controller.runAllSequences()
File "/usr/lib/python2.7/site-packages/packstack/installer/setup_controller.py", line 81, in runAllSequences
sequence.run(config=self.CONF, messages=self.MESSAGES)
File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 109, in run
step.run(config=config, messages=messages)
File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 50, in run
self.function(config, messages)
File "/usr/lib/python2.7/site-packages/packstack/plugins/prescript_000.py", line 1423, in server_prep
server.execute()
File "/usr/lib/python2.7/site-packages/packstack/installer/utils/shell.py", line 128, in execute
raise ScriptRuntimeError(msg, stdout=out, stderr=err)
ScriptRuntimeError: Failed to run remote script, stdout:
stderr: Warning: Permanently added '10.128.0.2' (ECDSA) to the list of known hosts.
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment