Instance cannot ping router or external

asked 2016-03-31 23:48:40 -0500

you00360842 gravatar image

Hi everybody my english is pool , so i can speak chinese

Environment Ubuntu 14.4 LTS 1 Controller , 1 Compute Node nic1 openstack manage nic2 192.168.1.194 , 192.168.1.123

Hardware

        controller       compute  

                       ----------------------------------------> Internet
                       |
           nic1 ---------- nic1      <---   (openstack manage)
                       |
                router(physical)
                       I
           nic2 -----------  nic2 
   192.168.1.194       192.168.1.123

如題所說 我按照openstack install docs 步驟
I follow Openstack install docs. 創建的instance 無法ping
created instance cannot ping router e.g. +--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+ | id | name | mac_address | fixed_ips | +--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+ | 1ca6a3a2-d480-4786-ae2c-b36d4d6ae243 | | fa:16:3e:0a:23:90 | {"subnet_id": "012e3d05-eb2a-48c0-b578-d5161af12605", "ip_address": "192.168.48.61"} | | d7cb117e-2f6b-4c22-84c0-04e6691a8264 | | fa:16:3e:d6:f1:99 | {"subnet_id": "f99fde42-f6bb-49ab-8eaf-bb74b4e800b7", "ip_address": "172.16.1.1"} | +--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+ root@Controller:/home/jason/Desktop/Openstack# root@Controller:/home/jason/Desktop/Openstack# root@Controller:/home/jason/Desktop/Openstack# ping -c 4 192.168.48.61 PING 192.168.48.61 (192.168.48.61) 56(84) bytes of data. ^C --- 192.168.48.61 ping statistics --- 4 packets transmitted, 0 received, 100% packet loss, time 2999ms

後續步驟也是 VM 也無法對外上網 也不知道要找哪邊的log資訊 看nova , compute log 都找不到什麼錯誤

VM connot ping outside network I don't know where to find log info. nova- * log(Comtroller Node), nova-compute log (Compute Node) cannot find related error.

-----------------------------------------nova-api.log(Controller)-----------------------------------------

2016-03-31 20:33:10.483 14342 INFO nova.osapi_compute.wsgi.server [req-953e4ffb-84a8-4dd0-8feb-a1f075f03b09 2d340c3b1d1c4cfa9eb5e4a889fc64ca 70e4e96a5cd1447a9a8db9fa1e80460d - - -] 192.168.1.194 "GET /v2/70e4e96a5cd1447a9a8db9fa1e80460d/servers/detail?project_id=70e4e96a5cd1447a9a8db9fa1e80460d HTTP/1.1" status: 200 len: 211 time: 0.0567269 2016-03-31 20:33:20.942 14343 INFO nova.osapi_compute.wsgi.server [req-48a71608-eaf2-45b5-8eb1-af3223b0dfd4 2d340c3b1d1c4cfa9eb5e4a889fc64ca 70e4e96a5cd1447a9a8db9fa1e80460d - - -] 192.168.1.194 "GET /v2/70e4e96a5cd1447a9a8db9fa1e80460d/servers/detail?project_id=70e4e96a5cd1447a9a8db9fa1e80460d HTTP/1.1" status: 200 len: 211 time: 0.0700409 2016-03-31 20:33:31.380 14342 INFO nova.osapi_compute.wsgi.server [req-dc10f627-59c8-48b3-b827-332f4bac1606 2d340c3b1d1c4cfa9eb5e4a889fc64ca 70e4e96a5cd1447a9a8db9fa1e80460d - - -] 192.168.1.194 "GET /v2/70e4e96a5cd1447a9a8db9fa1e80460d/servers/detail?project_id=70e4e96a5cd1447a9a8db9fa1e80460d HTTP/1.1" status: 200 len: 211 time: 0.0808971 2016-03-31 20:33:41.809 14342 INFO nova.osapi_compute.wsgi.server [req-c8ed3920-c95e-46e1-93dd-d85eace42fcc 2d340c3b1d1c4cfa9eb5e4a889fc64ca 70e4e96a5cd1447a9a8db9fa1e80460d - - -] 192.168.1.194 "GET /v2/70e4e96a5cd1447a9a8db9fa1e80460d/servers/detail?project_id=70e4e96a5cd1447a9a8db9fa1e80460d HTTP/1.1" status: 200 len: 211 time: 0.0558131 2016-03-31 20:33:52.234 14343 INFO nova.osapi_compute.wsgi.server [req-1b706f5c-df48-4c78-8136-061673081500 2d340c3b1d1c4cfa9eb5e4a889fc64ca 70e4e96a5cd1447a9a8db9fa1e80460d - - -] 192.168.1.194 "GET /v2/70e4e96a5cd1447a9a8db9fa1e80460d/servers/detail?project_id=70e4e96a5cd1447a9a8db9fa1e80460d HTTP/1.1" status: 200 len: 211 time: 0.0569470 2016-03-31 20:34:02.682 14342 INFO nova.osapi_compute.wsgi.server [req-211b1c11-0972-433f-b4bd-63b58c8a304d 2d340c3b1d1c4cfa9eb5e4a889fc64ca 70e4e96a5cd1447a9a8db9fa1e80460d - - -] 192.168.1.194 "GET /v2/70e4e96a5cd1447a9a8db9fa1e80460d/servers/detail?project_id=70e4e96a5cd1447a9a8db9fa1e80460d HTTP/1.1" status: 200 len: 211 time: 0.0707290 2016-03-31 20:34:13.242 14342 INFO nova.osapi_compute.wsgi.server [req-2456d6cb-b8d1-488b-b833-e2aa5699d0cb 2d340c3b1d1c4cfa9eb5e4a889fc64ca 70e4e96a5cd1447a9a8db9fa1e80460d - - -] 192.168.1.194 "GET /v2/70e4e96a5cd1447a9a8db9fa1e80460d/servers/detail?project_id=70e4e96a5cd1447a9a8db9fa1e80460d HTTP/1.1" status: 200 len: 211 time: 0.0631590 2016-03-31 20:34:23.692 14342 INFO nova.osapi_compute.wsgi.server [req-92522e02-49c4-4eb9-a3c5-a680ff7fc408 2d340c3b1d1c4cfa9eb5e4a889fc64ca 70e4e96a5cd1447a9a8db9fa1e80460d - - -] 192.168.1.194 "GET /v2/70e4e96a5cd1447a9a8db9fa1e80460d/servers/detail?project_id=70e4e96a5cd1447a9a8db9fa1e80460d HTTP/1.1" status: 200 len: 211 time: 0.0644882 2016-03-31 20:34:34.136 14343 INFO nova.osapi_compute.wsgi.server [req-4ba88f98-02f0-4178-a642-5c6adf9926e4 2d340c3b1d1c4cfa9eb5e4a889fc64ca 70e4e96a5cd1447a9a8db9fa1e80460d - - -] 192.168.1.194 "GET /v2/70e4e96a5cd1447a9a8db9fa1e80460d/servers ... (more)

edit retag flag offensive close merge delete