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

zhi changzhi1990 at gmail.com
Fri Oct 28 02:25:34 UTC 2016


Hi, Brian Haley, I reported a bug in launchpad at here [1]. I will disable
DHCP in these subnets and try it again. :)


Thanks
Zhi Chang


[1]. https://bugs.launchpad.net/neutron/+bug/1637366

2016-10-27 21:39 GMT+08:00 Brian Haley <brian.haley at hpe.com>:

> Hi Zhi,
>
> Thanks for the report, comment below.
>
> On 10/27/2016 05:04 AM, zhi wrote:
>
>> 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 <http://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. ".
>>
>
> Subnet service types is new in Newton, and it seems you've found a bug -
> can you file a bug on launchpad for it?
>
> The one thing you might try to get past this is to disable DHCP on these
> subnets, but the error you linked seems different from [1].
>
> -Brian
>
> [1] https://bugs.launchpad.net/neutron/+bug/1636963
>
>     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/
>>
>>
>> ____________________________________________________________
>> ______________
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscrib
>> e
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20161028/9c4e06fa/attachment.html>


More information about the OpenStack-dev mailing list