Ask Your Question
-1

VM cannot access internet through browser

asked 2014-08-04 11:24:50 -0600

Doria gravatar image

I boot a centos6.5 instance in openstack icehouse (ubuntu 14.04). The instance is assigned with a fixed IP address from neutron network gre mode. The instance can ping both IPs and Domain names. However, it cannot access internet through the browser. Any ideas? Many thanks.

edit retag flag offensive close merge delete

Comments

1

Does yum work ? How you installed browser on CentOS 6.5 instance ?
Can you run ?
# curl http://169.254.169.254
# curl http://lxer.com

dbaxps gravatar imagedbaxps ( 2014-08-04 11:30:49 -0600 )edit

Hi dbaxps, it shows curl: (7) couldn't connect to the host when I run curl command. There's no 169.254.0.0 route shown in the instance. The instance did not get the ip address from the DHCP server, maybe that's the reason. However, I created the centos qcow2 image following the instructions on openstack website step by step. But I still fail to make things work perfectly.

Doria gravatar imageDoria ( 2014-08-04 11:48:35 -0600 )edit

What says :-
$neutron agent-list

dbaxps gravatar imagedbaxps ( 2014-08-04 12:14:47 -0600 )edit

Oh, nothing shown when running this command.

Doria gravatar imageDoria ( 2014-08-04 12:17:49 -0600 )edit

Should look like

   [root@icehouse1 ~(keystone_admin)]# neutron agent-list
    +--------------------------------------+--------------------+-----------------------+-------+----------------+
    | id                                   | agent_type         | host                  | alive | admin_state_up |
    +--------------------------------------+--------------------+-----------------------+-------+----------------+
    | 1dfff64b-2950-4cb4-b275-889f9e19685e | DHCP agent         | icehouse1.localdomain | :-)   | True           |
    | 5d3f04cf-74f7-466c-bd6c-328d73963953 | L3 agent           | icehouse1.localdomain | :-)   | True           |
    | cc96a2d9-4f5b-4298-8ea0-cbab43c002e7 | Open vSwitch agent | icehouse2.localdomain | :-)   | True           |
    | d92d471b-7a06-4184-91d2-a418f7a80a3f | Metadata agent     | icehouse1.localdomain | :-)   | True           |
    | e21de8df-810b-495b-b3a9-a3508c68a171 | Open vSwitch agent | icehouse1.localdomain | :-)   | True           |
    +--------------------------------------+--------------------+-----------------------+-------+------------
dbaxps gravatar imagedbaxps ( 2014-08-04 12:25:31 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-08-04 11:31:31 -0600

smaffulli gravatar image

Please check this site as there are lots of answers with an enourmous quantity of suggestions of things to look at. Search things like 'cannot ping' and 'network issue' and 'security group'. Come back and edit your question adding more details as you study and debug your installation.

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: 2014-08-04 11:24:50 -0600

Seen: 367 times

Last updated: Aug 04 '14