← Back to team overview

openstack team mailing list archive

Re: Instance no route to host problem

 

Could you check the iptables in the vm? Whether it drop the packets on the
port 80


On Thu, Dec 6, 2012 at 12:29 AM, Patrick Petit <
patrick.michel.petit@xxxxxxxxx> wrote:

> Dear Stackers,
>
> I am running instance wordpress.WikiServer
>
>
> $ nova list
>
> +--------------------------------------+--------------------------+--------+------------------------------------+
> | ID                                   | Name                     | Status
> | Networks                           |
>
> +--------------------------------------+--------------------------+--------+------------------------------------+
> | 6be47af7-2e29-4b4c-afeb-0a7f760f5970 | test2                    | ACTIVE
> | xlcloud=172.16.1.6                 |
> | 5a4c552f-933c-4a06-8e6f-164176380af5 | wordpress.DatabaseServer | ACTIVE
> | xlcloud=172.16.1.3                 |
> | ddb120d9-e1ad-444c-8490-37ecb15f500e | wordpress.WikiServer     | ACTIVE
> | xlcloud=172.16.1.4, 10.197.217.131 |
>
> +--------------------------------------+--------------------------+--------+------------------------------------+
>
>
> With Security Group setup as:
>
> $ nova secgroup-list
>
> +-----------------------------------+------------------------------------------------+
> | Name                              | Description
>            |
>
> +-----------------------------------+------------------------------------------------+
> | default                           | default
>            |
>
> +-----------------------------------+------------------------------------------------+
>
>
> $ nova secgroup-list-rules default
> +-------------+-----------+---------+-----------+--------------+
> | IP Protocol | From Port | To Port | IP Range  | Source Group |
> +-------------+-----------+---------+-----------+--------------+
> | icmp        | -1        | -1      | 0.0.0.0/0 |              |
> | tcp         | 22        | 22      | 0.0.0.0/0 |              |
> | tcp         | 80        | 80      | 0.0.0.0/0 |              |
> +-------------+-----------+---------+-----------+--------------+
>
> I can ping and ssh through the fix or floating IP without any problem
> (172.16.1.4, 10.197.217.131).
> But HTTP requests on port 80 doesn't go through.
> I get a "no route host" error message from wget or telnet for example.
>
> Ex. $ telnet 172.16.1.4 80
> Trying 172.16.1.4...
> telnet: Unable to connect to remote host: No route to host.
> Clearly it's not a routing problem.
>
> Any idea what the problem could be or hints to debug it.
>
> Thanks
> Patrick
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Lei Zhang

Blog: http://jeffrey4l.github.com
twitter/weibo: @jeffrey4l

Follow ups

References