[openstack-dev] [neutron] HostNotCompatibleWithFixedIps exception happens when setting router's gateway.

zhi changzhi1990 at gmail.com
Thu Oct 27 09:04:11 UTC 2016


Hi, all.

    I installed a devstack in my local environment. All the code from
master branch. After the installation, I have to show you some problems
which I met.

    First of all, I create an external network by this command " neutron
net-create public --router:external=True --provider:network_type=flat
--provider:physical_network=public ".

    Secondly, I create a subnet with " subnet_type " by this command "
neutron subnet-create [net-id] 20.20.20.0/24 --service-types list=true
network:router_gateway ".

    At last, I create a router and setting this router's gateway by this
command " neutron router-gateway-set [router-id] [net-id]".

    Exception happens in Neutron Server, it says "
HostNotCompatibleWithFixedIps: Host devstack is not connected to a segment
where the existing fixed_ips on port 0f38ba01-8dd0-43de-92e3-b294bd4ebed8
will function given the routed network topology. ".

    After I did some research about the exception,  I found this patch[1]
was adding this exception into neutron repo. I am confused about that. Why
setting router's gateway will trigger this exception? I don't execute any
commands about " routed_network ".

    What's wrong ?

    Could someone give some advice about that ? I upload all the network
and subnets info at here [2]. Detail exception at here [3].

    BTW, what's the meaning of " tags " in network?

    Hope for your reply. :)


Thanks
Zhi Chang


[1]. https://review.openstack.org/#/c/346217/3
[2]. http://paste.openstack.org/show/587157/
[3]. http://paste.openstack.org/show/587158/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20161027/6f8b7db4/attachment.html>


More information about the OpenStack-dev mailing list