← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1716721] Re: "OS::Neutron::Subnet" ignore gateway_ip when subnetpool used

 

I think heat is sending 'gateway_ip': None in the request, but neutron
is ignoring it.

2017-09-13 05:22:44.089 DEBUG neutron.api.v2.base [req-c7b87873-d640-4ea6-ae80-34843c321d0a demo demo] Request body: {'subnet': {'subnetpool_id': 'e59a988e-0076-436b-b147-e78bb9e86e77', 'dns_nameserve
rs': [], 'name': 'test_stack-test_subnet1-zrfaogklhwls', 'network_id': 'cd2cd3be-5d0a-448e-8e8c-73371f2cbce3', 'enable_dhcp': True, 'gateway_ip': None, 'ip_version': 4}} from (pid=13385) prepare_reque
st_body /opt/stack/neutron/neutron/api/v2/base.py:695


** Project changed: heat => neutron

** Also affects: heat
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1716721

Title:
  "OS::Neutron::Subnet" ignore gateway_ip when subnetpool used

Status in OpenStack Heat:
  New
Status in neutron:
  New

Bug description:
  heat version - 8.0.4

  Step to reproduce:
  1. template:
  heat_template_version: 2017-02-24

  description: test template

  resources:
    test_subnetpool:
      type: OS::Neutron::SubnetPool
      properties:
        default_prefixlen: 25
        max_prefixlen: 32
        min_prefixlen: 22
        prefixes:
          - "192.168.0.0/16"
    test_net1:
      type: OS::Neutron::Net
    test_subnet1:
      type: OS::Neutron::Subnet
      properties:
        network: { get_resource: test_net1 }
        ip_version: 4
        subnetpool: { get_resource: test_subnetpool }
        gateway_ip: null

  2. create stack
  3. created subnet have gateway IP: 192.168.0.1 but expected disabled gateway

  Because of gateway_ip property ignored when subnetpool present there
  is no way to create subnet without gateway from subnetpool.

To manage notifications about this bug go to:
https://bugs.launchpad.net/heat/+bug/1716721/+subscriptions