How to change OpenStack default port configuration?
When installing openstack with packstack on CentOS, my machine having error when running non-default ssh port.
ERROR : Failed handling answer file: Given host does not listen on port 22: x.x.x.x
My ssh service is running, but in different port.
I run openstack installation with this command :
[root@deprito]# packstack --allinone
How to change default ssh port on installation?
Any reference?
Attached my log :
2018-11-13 17:33:17::INFO::shell::94::root:: [localhost] Executing script:
ssh-keygen -f "/root/.ssh/id_rsa" -N ""
2018-11-13 17:33:17::ERROR::run_setup::445::root:: Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 424, in _handleAnswerFileParams
_loadParamFromFile(fconf, "general", param.CONF_NAME)
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 388, in _loadParamFromFile
validate_param_value(param, value)
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 288, in validate_param_value
val_func(value, opt_list)
File "/usr/lib/python2.7/site-packages/packstack/installer/validators.py", line 277, in validate_ssh
raise ParamValidationError(msg % param)
ParamValidationError: Given host does not listen on port 22: x.x.x.x
2018-11-13 17:33:17::ERROR::run_setup::1059::root:: Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 1034, in main
single_step_aio_install(options, logFile)
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 798, in single_step_aio_install
single_step_install(options, logFile)
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 829, in single_step_install
_main(options, answerfilepath, logFile)
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 653, in _main
_handleParams(configFile)
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 539, in _handleParams
_handleAnswerFileParams(configFile)
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 446, in _handleAnswerFileParams
raise Exception(output_messages.ERR_EXP_HANDLE_ANSWER_FILE % (e))
Exception: Failed handling answer file: Given host does not listen on port 22: x.x.x.x
centos openstack
add a comment |
When installing openstack with packstack on CentOS, my machine having error when running non-default ssh port.
ERROR : Failed handling answer file: Given host does not listen on port 22: x.x.x.x
My ssh service is running, but in different port.
I run openstack installation with this command :
[root@deprito]# packstack --allinone
How to change default ssh port on installation?
Any reference?
Attached my log :
2018-11-13 17:33:17::INFO::shell::94::root:: [localhost] Executing script:
ssh-keygen -f "/root/.ssh/id_rsa" -N ""
2018-11-13 17:33:17::ERROR::run_setup::445::root:: Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 424, in _handleAnswerFileParams
_loadParamFromFile(fconf, "general", param.CONF_NAME)
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 388, in _loadParamFromFile
validate_param_value(param, value)
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 288, in validate_param_value
val_func(value, opt_list)
File "/usr/lib/python2.7/site-packages/packstack/installer/validators.py", line 277, in validate_ssh
raise ParamValidationError(msg % param)
ParamValidationError: Given host does not listen on port 22: x.x.x.x
2018-11-13 17:33:17::ERROR::run_setup::1059::root:: Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 1034, in main
single_step_aio_install(options, logFile)
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 798, in single_step_aio_install
single_step_install(options, logFile)
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 829, in single_step_install
_main(options, answerfilepath, logFile)
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 653, in _main
_handleParams(configFile)
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 539, in _handleParams
_handleAnswerFileParams(configFile)
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 446, in _handleAnswerFileParams
raise Exception(output_messages.ERR_EXP_HANDLE_ANSWER_FILE % (e))
Exception: Failed handling answer file: Given host does not listen on port 22: x.x.x.x
centos openstack
add a comment |
When installing openstack with packstack on CentOS, my machine having error when running non-default ssh port.
ERROR : Failed handling answer file: Given host does not listen on port 22: x.x.x.x
My ssh service is running, but in different port.
I run openstack installation with this command :
[root@deprito]# packstack --allinone
How to change default ssh port on installation?
Any reference?
Attached my log :
2018-11-13 17:33:17::INFO::shell::94::root:: [localhost] Executing script:
ssh-keygen -f "/root/.ssh/id_rsa" -N ""
2018-11-13 17:33:17::ERROR::run_setup::445::root:: Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 424, in _handleAnswerFileParams
_loadParamFromFile(fconf, "general", param.CONF_NAME)
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 388, in _loadParamFromFile
validate_param_value(param, value)
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 288, in validate_param_value
val_func(value, opt_list)
File "/usr/lib/python2.7/site-packages/packstack/installer/validators.py", line 277, in validate_ssh
raise ParamValidationError(msg % param)
ParamValidationError: Given host does not listen on port 22: x.x.x.x
2018-11-13 17:33:17::ERROR::run_setup::1059::root:: Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 1034, in main
single_step_aio_install(options, logFile)
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 798, in single_step_aio_install
single_step_install(options, logFile)
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 829, in single_step_install
_main(options, answerfilepath, logFile)
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 653, in _main
_handleParams(configFile)
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 539, in _handleParams
_handleAnswerFileParams(configFile)
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 446, in _handleAnswerFileParams
raise Exception(output_messages.ERR_EXP_HANDLE_ANSWER_FILE % (e))
Exception: Failed handling answer file: Given host does not listen on port 22: x.x.x.x
centos openstack
When installing openstack with packstack on CentOS, my machine having error when running non-default ssh port.
ERROR : Failed handling answer file: Given host does not listen on port 22: x.x.x.x
My ssh service is running, but in different port.
I run openstack installation with this command :
[root@deprito]# packstack --allinone
How to change default ssh port on installation?
Any reference?
Attached my log :
2018-11-13 17:33:17::INFO::shell::94::root:: [localhost] Executing script:
ssh-keygen -f "/root/.ssh/id_rsa" -N ""
2018-11-13 17:33:17::ERROR::run_setup::445::root:: Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 424, in _handleAnswerFileParams
_loadParamFromFile(fconf, "general", param.CONF_NAME)
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 388, in _loadParamFromFile
validate_param_value(param, value)
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 288, in validate_param_value
val_func(value, opt_list)
File "/usr/lib/python2.7/site-packages/packstack/installer/validators.py", line 277, in validate_ssh
raise ParamValidationError(msg % param)
ParamValidationError: Given host does not listen on port 22: x.x.x.x
2018-11-13 17:33:17::ERROR::run_setup::1059::root:: Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 1034, in main
single_step_aio_install(options, logFile)
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 798, in single_step_aio_install
single_step_install(options, logFile)
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 829, in single_step_install
_main(options, answerfilepath, logFile)
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 653, in _main
_handleParams(configFile)
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 539, in _handleParams
_handleAnswerFileParams(configFile)
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 446, in _handleAnswerFileParams
raise Exception(output_messages.ERR_EXP_HANDLE_ANSWER_FILE % (e))
Exception: Failed handling answer file: Given host does not listen on port 22: x.x.x.x
centos openstack
centos openstack
asked Nov 13 '18 at 14:10
Antonio AndreAntonio Andre
11
11
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53282899%2fhow-to-change-openstack-default-port-configuration%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53282899%2fhow-to-change-openstack-default-port-configuration%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown