yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #64763
[Bug 1697564] [NEW] Failed to resize instance after changing ssh's port
Public bug reported:
Description
===========
Consider of security, default port(22) of sshd maybe be changed.
After it was changed, the resize of instance got error.
Steps to reproduce
==================
* Modify the /etc/ssh/sshd_config, 'Port 22022',and restart sshd;
* Resize one instance
Expected result
===============
Resize successfully
Actual result
=============
Resize fails
Environment
===========
1. Libvirt + KVM
2. OpenStack Mitaka
# rpm -qa | grep nova
openstack-nova-conductor-13.1.2-1.el7.noarch
openstack-nova-api-13.1.2-1.el7.noarch
python-nova-13.1.2-1.el7.noarch
openstack-nova-novncproxy-13.1.2-1.el7.noarch
openstack-nova-cert-13.1.2-1.el7.noarch
openstack-nova-scheduler-13.1.2-1.el7.noarch
python2-novaclient-3.3.2-1.el7.noarch
openstack-nova-common-13.1.2-1.el7.noarch
openstack-nova-console-13.1.2-1.el7.noarch
Logs & Configs
==============
2017-06-13 00:46:35.807 14424 ERROR oslo_messaging.rpc.dispatcher ResizeError: Resize error: not able to execute ssh command: Unexpected error while running command.
2017-06-13 00:46:35.807 14424 ERROR oslo_messaging.rpc.dispatcher Command: ssh -o BatchMode=yes 172.23.30.7 mkdir -p /var/lib/nova/instances/67c23674-d6e9-40a2-95f0-5aa521074ff7
2017-06-13 00:46:35.807 14424 ERROR oslo_messaging.rpc.dispatcher Exit code: 255
2017-06-13 00:46:35.807 14424 ERROR oslo_messaging.rpc.dispatcher Stdout: u''
2017-06-13 00:46:35.807 14424 ERROR oslo_messaging.rpc.dispatcher Stderr: u'ssh: connect to host 172.23.30.7 port 22: Connection refused\r\n'
** Affects: nova
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1697564
Title:
Failed to resize instance after changing ssh's port
Status in OpenStack Compute (nova):
New
Bug description:
Description
===========
Consider of security, default port(22) of sshd maybe be changed.
After it was changed, the resize of instance got error.
Steps to reproduce
==================
* Modify the /etc/ssh/sshd_config, 'Port 22022',and restart sshd;
* Resize one instance
Expected result
===============
Resize successfully
Actual result
=============
Resize fails
Environment
===========
1. Libvirt + KVM
2. OpenStack Mitaka
# rpm -qa | grep nova
openstack-nova-conductor-13.1.2-1.el7.noarch
openstack-nova-api-13.1.2-1.el7.noarch
python-nova-13.1.2-1.el7.noarch
openstack-nova-novncproxy-13.1.2-1.el7.noarch
openstack-nova-cert-13.1.2-1.el7.noarch
openstack-nova-scheduler-13.1.2-1.el7.noarch
python2-novaclient-3.3.2-1.el7.noarch
openstack-nova-common-13.1.2-1.el7.noarch
openstack-nova-console-13.1.2-1.el7.noarch
Logs & Configs
==============
2017-06-13 00:46:35.807 14424 ERROR oslo_messaging.rpc.dispatcher ResizeError: Resize error: not able to execute ssh command: Unexpected error while running command.
2017-06-13 00:46:35.807 14424 ERROR oslo_messaging.rpc.dispatcher Command: ssh -o BatchMode=yes 172.23.30.7 mkdir -p /var/lib/nova/instances/67c23674-d6e9-40a2-95f0-5aa521074ff7
2017-06-13 00:46:35.807 14424 ERROR oslo_messaging.rpc.dispatcher Exit code: 255
2017-06-13 00:46:35.807 14424 ERROR oslo_messaging.rpc.dispatcher Stdout: u''
2017-06-13 00:46:35.807 14424 ERROR oslo_messaging.rpc.dispatcher Stderr: u'ssh: connect to host 172.23.30.7 port 22: Connection refused\r\n'
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1697564/+subscriptions
Follow ups