Ask Your Question
0

conection ssh instance refused

asked 2017-01-24 12:49:05 -0500

djeldres gravatar image

updated 2017-01-26 08:54:13 -0500

rbowen gravatar image

i can´t conect to my instances from ssh, i have this error

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

This is the error from: controller host

1). linuxbridge-agent-controller

2017-01-24 15:15:14.446 3994 INFO neutron.plugins.ml2.drivers.agent._common_agent [req-9d6443a2-8879-4aef-bc4a-f885b9f985a3 - - - - -] Port tap60c58eea-95 updated. Details: {u'profile': {}, u'network_qos_policy_id': None, u'qos_policy_id': None, u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'6b2f6c9b-70b0-4107-9c4d-49ce4d8fc6e5', u'segmentation_id': None, u'device_owner': u'network:router_gateway', u'physical_network': u'provider', u'mac_address': u'fa:16:3e:d3:25:27', u'device': u'tap60c58eea-95', u'port_security_enabled': False, u'port_id': u'60c58eea-95c0-44a8-8ec3-d4d38c992fdf', u'fixed_ips': [{u'subnet_id': u'ee016fcb-3923-4b0a-af31-d5edfd97438d', u'ip_address': u'10.20.1.32'}], u'network_type': u'flat', u'security_groups': []}
2017-01-24 15:15:14.450 3994 INFO neutron.plugins.ml2.drivers.linuxbridge.agent.arp_protect [req-9d6443a2-8879-4aef-bc4a-f885b9f985a3 - - - - -] Skipping ARP spoofing rules for port 'tap60c58eea-95' because it has port security disabled
2017-01-24 15:15:14.755 3994 ERROR neutron.callbacks.manager [req-9d6443a2-8879-4aef-bc4a-f885b9f985a3 - - - - -] Error during notification for neutron.services.trunk.drivers.linuxbridge.agent.driver.LinuxBridgeTrunkDriver.agent_port_change-1852905 port_device, after_update
2017-01-24 15:15:14.755 3994 ERROR neutron.callbacks.manager Traceback (most recent call last):
2017-01-24 15:15:14.755 3994 ERROR neutron.callbacks.manager   File "/usr/lib/python2.7/site-packages/neutron/callbacks/manager.py", line 146, in _notify_loop
2017-01-24 15:15:14.755 3994 ERROR neutron.callbacks.manager     callback(resource, event, trigger, **kwargs)
2017-01-24 15:15:14.755 3994 ERROR neutron.callbacks.manager   File "/usr/lib/python2.7/site-packages/neutron/services/trunk/drivers/linuxbridge/agent/driver.py", line 97, in agent_port_change
2017-01-24 15:15:14.755 3994 ERROR neutron.callbacks.manager     trunk = self._tapi.get_trunk(context, device_details['port_id'])
2017-01-24 15:15:14.755 3994 ERROR neutron.callbacks.manager   File "/usr/lib/python2.7/site-packages/neutron/services/trunk/drivers/linuxbridge/agent/driver.py", line 205, in get_trunk
#

This log is from: nova-host

2017-01-24 15:24:24.250 3743 INFO neutron.plugins.ml2.drivers.agent._common_agent [-] Stopping Linux bridge agent agent.
2017-01-24 15:24:24.253 3743 INFO oslo_rootwrap.client [-] Stopping rootwrap daemon process with pid=3760
2017-01-24 15:24:25.827 3839 INFO neutron.common.config [-] Logging enabled!
2017-01-24 15:24:25.828 3839 INFO neutron.common.config [-] /usr/bin/neutron-linuxbridge-agent version 9.1.1
2017-01-24 15:24:25.828 3839 INFO neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [-] Interface mappings: {'provider': 'enp2s0f0'}
2017-01-24 15:24:25.828 3839 INFO neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [-] Bridge mappings: {}
2017-01-24 15:24:25.937 3839 INFO oslo_rootwrap.client [-] Spawned new rootwrap daemon process with pid=3858
2017-01-24 15:24:25.983 3839 INFO neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [-] Agent initialized successfully, now running...
2017-01-24 15:24:25.992 3839 WARNING stevedore.named [req-cc1158fc-3b1f-450e-8de0-b5c2a0e4ea56 - - - - -] Could not load neutron.agent.linux.iptables_firewall.IptablesFirewallDriver
2017-01-24 15:24:26.002 3839 INFO neutron.plugins.ml2.drivers.agent._common_agent [req-cc1158fc-3b1f-450e-8de0-b5c2a0e4ea56 - - - - -] RPC agent_id: lb0026552eb012
2017-01-24 15:24:26.008 3839 INFO neutron.agent.agent_extensions_manager [req-cc1158fc-3b1f-450e-8de0-b5c2a0e4ea56 - - - - -] Loaded agent extensions: []
2017-01-24 15:24:26.164 3839 INFO neutron.plugins.ml2.drivers.agent._common_agent [req-cc1158fc-3b1f-450e-8de0-b5c2a0e4ea56 - - - - -] Linux bridge agent Agent RPC ...
(more)
edit retag flag offensive close merge delete

Comments

It looks like you ran ssh -i keyfile.pem instance-IP.

If so, try setting the permissions of the key file to 600: chmod 600 keyfile.pem.

Bernd Bausch gravatar imageBernd Bausch ( 2017-01-26 09:09:38 -0500 )edit

1 answer

Sort by » oldest newest most voted
0

answered 2017-01-26 16:00:03 -0500

djeldres gravatar image

The problem is started by not issuing the following command when you create a key "ssh-keygen -q -N "

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-01-24 12:49:05 -0500

Seen: 264 times

Last updated: Jan 26 '17