[Openstack] nova ssh and network label issue

zzzz88 zzzz88.aaaa at gmail.com
Sat May 24 13:17:34 UTC 2014


I have created openstack icehouse and may "ping" and "ssh" with VM IP
address but I don't login with "nova ssh ubuntu at ubuntu_cloud_server". It
raise error, "ERROR: No public addresses found for ...."

My configuration:

nova net-list
| 79cd2a7c-6292-4201-acf5-f686ac5255f7 | demo-net | 10.0.1.0/24 |

nova list
| 585042c6-f15a-41de-9753-9cdd08969eaa | ubuntu256_01 | ACTIVE |
-          | Running     | demo-net=10.0.1.2 |


I check nova ssh python source:
/usr/lib/python2.7/dist-packages/novaclient/v1_1/shell.py

3099                                                                              

3100     if address_type not in
addresses:                                        
3101         print(_("ERROR: No %(addr_type)s addresses found for
'%(server)s'.") %
3102               {'addr_type': address_type, 'server':
args.server})            
3103        
return                                                              
3104 


Add my ulgy debug:
3099                                                                              

3100     if address_type not in
addresses:                                        
3101         print(address_type, "=>",
addresses)                                 
3102         print(_("ERROR: No %(addr_type)s addresses found for
'%(server)s'.") %
3103               {'addr_type': address_type, 'server':
args.server})            
3104         address_type =
"demo-net"                                            
3105        
#return                                                              
3106                                                                              


then run "nova ssh ...":

public => {u'demo-net': [{u'OS-EXT-IPS-MAC:mac_addr':
u'fa:16:3e:1e:ae:62', u'version': 4, u'addr': u'10.0.1.2',
u'OS-EXT-IPS:type': u'fixed'}]}

I login into ubuntu cloud server successfully!

How do I configure address type of network? What is difference between
Network label name and address type?
















More information about the Openstack mailing list