** Summary changed:
- ml2: missing subnet
+ ml2 subnet context's network is missing provider attributes
** Also affects: neutron
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/1644486
Title:
ml2 subnet context's network is missing provider attributes
Status in networking-midonet:
In Progress
Status in neutron:
In Progress
Bug description:
eg.
http://logs.openstack.org/62/398562/8/check/gate-tempest-dsvm-
networking-midonet-ml2-ubuntu-xenial/53547aa/logs/devstacklog.txt.gz
2016-11-24 08:54:54.010 | +
lib/neutron_plugins/services/l3:_neutron_configure_router_v4:340 : openstack
--os-cloud devstack-admin --os-region RegionOne router add subnet
b8da6176-8d34-44d8-8fb5-ec9f170ae238 128cf7d1-ebf1-4f3c-8b87-b41b3d705718
2016-11-24 08:54:57.002 | NotFoundException: Not Found
for some reason midonet ml2 driver doesn't process create_subnet.
http://logs.openstack.org/62/398562/8/check/gate-tempest-dsvm-
networking-midonet-ml2-ubuntu-
xenial/53547aa/logs/q-svc.txt.gz#_2016-11-24_08_54_46_821
2016-11-24 08:54:46.821 28248 DEBUG neutron.api.v2.base
[req-e4e28867-560b-4362-adca-d633bdce7af9 admin -] Request body: {u'subnet':
{u'name': u'private-subnet', u'network_id':
u'563d7827-83d9-46f6-8a06-2a044009ef52', u'tenant_id':
u'2c88bcabe4694139a18650fab5c28e1f', u'gateway_ip': u'10.1.0.1', u'ip_version':
4, u'subnetpool_id': u'00a09b1b-3426-41fb-aaaa-ff1766ec1811'}}
prepare_request_body /opt/stack/new/neutron/neutron/api/v2/base.py:692
2016-11-24 08:54:46.825 28248 DEBUG neutron.db.quota.driver
[req-e4e28867-560b-4362-adca-d633bdce7af9 admin -] Resources
endpoint_group,ikepolicy,ipsecpolicy,ipsec_site_connection,subnetpool,vpnservice
have unlimited quota limit. It is not required to calculate headroom
make_reservation /opt/stack/new/neutron/neutron/db/quota/driver.py:190
2016-11-24 08:54:46.829 28248 DEBUG neutron.quota.resource
[req-e4e28867-560b-4362-adca-d633bdce7af9 admin -] Usage tracker for
resource:subnet and tenant:2c88bcabe4694139a18650fab5c28e1f is out of sync,
need to count used quota count
/opt/stack/new/neutron/neutron/quota/resource.py:270
2016-11-24 08:54:46.835 28248 DEBUG neutron.quota.resource
[req-e4e28867-560b-4362-adca-d633bdce7af9 admin -] Quota usage for subnet was
recalculated. Used quota:0. count
/opt/stack/new/neutron/neutron/quota/resource.py:289
2016-11-24 08:54:46.837 28248 DEBUG neutron.db.quota.driver
[req-e4e28867-560b-4362-adca-d633bdce7af9 admin -] Attempting to reserve 1
items for resource subnet. Total usage: 0; quota limit: 100; headroom:100
make_reservation /opt/stack/new/neutron/neutron/db/quota/driver.py:222
2016-11-24 08:54:47.033 28248 DEBUG neutron.ipam.driver
[req-e4e28867-560b-4362-adca-d633bdce7af9 admin -] Loading ipam driver:
internal get_instance /opt/stack/new/neutron/neutron/ipam/driver.py:51
2016-11-24 08:54:47.110 28248 DEBUG neutron.callbacks.manager
[req-e4e28867-560b-4362-adca-d633bdce7af9 admin -] Notify callbacks
[('neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api.DhcpAgentNotifyAPI._native_event_send_dhcp_notification--9223372036853078740',
<bound method DhcpAgentNotifyAPI._native_event_send_dhcp_notification of
<neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api.DhcpAgentNotifyAPI object at
0x7f70a0eb7150>>)] for subnet, after_create _notify_loop
/opt/stack/new/neutron/neutron/callbacks/manager.py:142
2016-11-24 08:54:47.164 28248 WARNING neutron.scheduler.dhcp_agent_scheduler
[req-e4e28867-560b-4362-adca-d633bdce7af9 admin -] No more DHCP agents
2016-11-24 08:54:47.165 28248 WARNING
neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api
[req-e4e28867-560b-4362-adca-d633bdce7af9 admin -] Unable to schedule network
563d7827-83d9-46f6-8a06-2a044009ef52: no agents available; will retry on
subsequent port and subnet creation events.
2016-11-24 08:54:47.165 28248 DEBUG
neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api
[req-e4e28867-560b-4362-adca-d633bdce7af9 admin -] Network
563d7827-83d9-46f6-8a06-2a044009ef52 is not hosted by any dhcp agent
_notify_agents
/opt/stack/new/neutron/neutron/api/rpc/agentnotifiers/dhcp_rpc_agent_api.py:185
2016-11-24 08:54:47.172 28248 DEBUG neutron.quota.resource
[req-e4e28867-560b-4362-adca-d633bdce7af9 admin -] Persisted dirty status for
tenant:2c88bcabe4694139a18650fab5c28e1f on resource:subnet mark_dirty
/opt/stack/new/neutron/neutron/quota/resource.py:193
2016-11-24 08:54:47.173 28248 DEBUG neutron.callbacks.manager
[req-e4e28867-560b-4362-adca-d633bdce7af9 admin -] Notify callbacks
[('neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api.DhcpAgentNotifyAPI._send_dhcp_notification-1697108',
<bound method DhcpAgentNotifyAPI._send_dhcp_notification of
<neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api.DhcpAgentNotifyAPI object at
0x7f70a0eb7150>>)] for subnet, before_response _notify_loop
/opt/stack/new/neutron/neutron/callbacks/manager.py:142
2016-11-24 08:54:47.174 28248 INFO neutron.wsgi
[req-e4e28867-560b-4362-adca-d633bdce7af9 admin -] 127.0.0.1 - - [24/Nov/2016
08:54:47] "POST /v2.0/subnets HTTP/1.1" 201 879 0.361234
To manage notifications about this bug go to:
https://bugs.launchpad.net/networking-midonet/+bug/1644486/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp