← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1864661] [NEW] Miss qrouter namespace after the router create and set network gateway/subnet

 

Public bug reported:

Train release.
create private and public network and then configure router.

openstack network create --provider-physical-network physnet1
--provider-network-type flat --external public

openstack subnet create --allocation-pool
start=10.101.133.194,end=10.101.133.222 --network public --subnet-range
10.101.133.192/27 --gateway 10.101.133.193   public-subnet

ip addr add 10.101.133.193/27 dev eth0
openstack network create private 
openstack subnet pool create shared-default-subnetpool-v4 --default-prefix-length 26 --pool-prefix 10.100.0.0/24 --share --default -f value -c id
openstack subnet create --ip-version 4 --subnet-pool shared-default-subnetpool-v4 --network private private-subnet

openstack router create admin-router
openstack router set --external-gateway public admin-router 
openstack router add subnet admin-router private-subnet

=========================================================================
ip netns list:
return nothing.


l3_agent log:2020-02-25 14:29:49.380 20 INFO neutron.common.config [-] Logging enabled!
2020-02-25 14:29:49.381 20 INFO neutron.common.config [-] /var/lib/kolla/venv/bin/neutron-l3-agent version 15.0.1
2020-02-25 14:29:50.206 20 INFO neutron.agent.l3.agent [req-340b2ea3-b816-4a1b-bc14-0a0d9178cab9 - - - - -] Agent HA routers count 0
2020-02-25 14:29:50.208 20 INFO neutron.agent.agent_extensions_manager [req-340b2ea3-b816-4a1b-bc14-0a0d9178cab9 - - - - -] Loaded agent extensions: []
2020-02-25 14:29:50.248 20 INFO eventlet.wsgi.server [-] (20) wsgi starting up on http:/var/lib/neutron/keepalived-state-change
2020-02-25 14:29:50.310 20 INFO neutron.agent.l3.agent [-] L3 agent started
2020-02-25 14:29:55.314 20 INFO oslo.privsep.daemon [req-799123e9-6cad-46d3-a03d-265ffcf31ff6 - - - - -] Running privsep helper: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'privsep-helper', '--privsep_context', 'neutron.privileged.default', '--privsep_sock_path', '/tmp/tmp5y8x4u6q/privsep.sock']
2020-02-25 14:29:56.710 20 INFO oslo.privsep.daemon [req-799123e9-6cad-46d3-a03d-265ffcf31ff6 - - - - -] Spawned new privsep daemon via rootwrap
2020-02-25 14:29:56.496 32 INFO oslo.privsep.daemon [-] privsep daemon starting
2020-02-25 14:29:56.506 32 INFO oslo.privsep.daemon [-] privsep process running with uid/gid: 0/0
2020-02-25 14:29:56.511 32 INFO oslo.privsep.daemon [-] privsep process running with capabilities (eff/prm/inh): CAP_DAC_OVERRIDE|CAP_DAC_READ_SEARCH|CAP_NET_ADMIN|CAP_SYS_ADMIN|CAP_SYS_PTRACE/CAP_DAC_OVERRIDE|CAP_DAC_READ_SEARCH|CAP_NET_ADMIN|CAP_SYS_ADMIN|CAP_SYS_PTRACE/none
2020-02-25 14:29:56.512 32 INFO oslo.privsep.daemon [-] privsep daemon running as pid 32
2020-02-25 14:45:05.540 20 INFO neutron.agent.l3.agent [-] Starting router update for 9b9639b9-f1d4-4e55-a34d-3734389aeedf, action 3, priority 1, update_id 7fe46b58-852b-461b-b9f4-febfadf59343. Wait time elapsed: 0.001
2020-02-25 14:45:19.815 20 INFO neutron.agent.l3.agent [-] Finished a router update for 9b9639b9-f1d4-4e55-a34d-3734389aeedf, update_id 7fe46b58-852b-461b-b9f4-febfadf59343. Time elapsed: 14.275
2020-02-25 14:45:19.817 20 INFO neutron.agent.l3.agent [-] Starting router update for 9b9639b9-f1d4-4e55-a34d-3734389aeedf, action 3, priority 1, update_id e71e2ed5-07bc-4148-a111-fbc362ac9e7b. Wait time elapsed: 7.905
2020-02-25 14:45:23.282 20 INFO neutron.agent.linux.interface [-] Device qg-bba540a4-b5 already exists
2020-02-25 14:45:28.490 20 INFO neutron.agent.l3.agent [-] Finished a router update for 9b9639b9-f1d4-4e55-a34d-3734389aeedf, update_id e71e2ed5-07bc-4148-a111-fbc362ac9e7b. Time elapsed: 8.672
~
~

** 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/1864661

Title:
  Miss qrouter namespace after the router create and set network
  gateway/subnet

Status in neutron:
  New

Bug description:
  Train release.
  create private and public network and then configure router.

  openstack network create --provider-physical-network physnet1
  --provider-network-type flat --external public

  openstack subnet create --allocation-pool
  start=10.101.133.194,end=10.101.133.222 --network public --subnet-
  range 10.101.133.192/27 --gateway 10.101.133.193   public-subnet

  ip addr add 10.101.133.193/27 dev eth0
  openstack network create private 
  openstack subnet pool create shared-default-subnetpool-v4 --default-prefix-length 26 --pool-prefix 10.100.0.0/24 --share --default -f value -c id
  openstack subnet create --ip-version 4 --subnet-pool shared-default-subnetpool-v4 --network private private-subnet

  openstack router create admin-router
  openstack router set --external-gateway public admin-router 
  openstack router add subnet admin-router private-subnet

  =========================================================================
  ip netns list:
  return nothing.

  
  l3_agent log:2020-02-25 14:29:49.380 20 INFO neutron.common.config [-] Logging enabled!
  2020-02-25 14:29:49.381 20 INFO neutron.common.config [-] /var/lib/kolla/venv/bin/neutron-l3-agent version 15.0.1
  2020-02-25 14:29:50.206 20 INFO neutron.agent.l3.agent [req-340b2ea3-b816-4a1b-bc14-0a0d9178cab9 - - - - -] Agent HA routers count 0
  2020-02-25 14:29:50.208 20 INFO neutron.agent.agent_extensions_manager [req-340b2ea3-b816-4a1b-bc14-0a0d9178cab9 - - - - -] Loaded agent extensions: []
  2020-02-25 14:29:50.248 20 INFO eventlet.wsgi.server [-] (20) wsgi starting up on http:/var/lib/neutron/keepalived-state-change
  2020-02-25 14:29:50.310 20 INFO neutron.agent.l3.agent [-] L3 agent started
  2020-02-25 14:29:55.314 20 INFO oslo.privsep.daemon [req-799123e9-6cad-46d3-a03d-265ffcf31ff6 - - - - -] Running privsep helper: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'privsep-helper', '--privsep_context', 'neutron.privileged.default', '--privsep_sock_path', '/tmp/tmp5y8x4u6q/privsep.sock']
  2020-02-25 14:29:56.710 20 INFO oslo.privsep.daemon [req-799123e9-6cad-46d3-a03d-265ffcf31ff6 - - - - -] Spawned new privsep daemon via rootwrap
  2020-02-25 14:29:56.496 32 INFO oslo.privsep.daemon [-] privsep daemon starting
  2020-02-25 14:29:56.506 32 INFO oslo.privsep.daemon [-] privsep process running with uid/gid: 0/0
  2020-02-25 14:29:56.511 32 INFO oslo.privsep.daemon [-] privsep process running with capabilities (eff/prm/inh): CAP_DAC_OVERRIDE|CAP_DAC_READ_SEARCH|CAP_NET_ADMIN|CAP_SYS_ADMIN|CAP_SYS_PTRACE/CAP_DAC_OVERRIDE|CAP_DAC_READ_SEARCH|CAP_NET_ADMIN|CAP_SYS_ADMIN|CAP_SYS_PTRACE/none
  2020-02-25 14:29:56.512 32 INFO oslo.privsep.daemon [-] privsep daemon running as pid 32
  2020-02-25 14:45:05.540 20 INFO neutron.agent.l3.agent [-] Starting router update for 9b9639b9-f1d4-4e55-a34d-3734389aeedf, action 3, priority 1, update_id 7fe46b58-852b-461b-b9f4-febfadf59343. Wait time elapsed: 0.001
  2020-02-25 14:45:19.815 20 INFO neutron.agent.l3.agent [-] Finished a router update for 9b9639b9-f1d4-4e55-a34d-3734389aeedf, update_id 7fe46b58-852b-461b-b9f4-febfadf59343. Time elapsed: 14.275
  2020-02-25 14:45:19.817 20 INFO neutron.agent.l3.agent [-] Starting router update for 9b9639b9-f1d4-4e55-a34d-3734389aeedf, action 3, priority 1, update_id e71e2ed5-07bc-4148-a111-fbc362ac9e7b. Wait time elapsed: 7.905
  2020-02-25 14:45:23.282 20 INFO neutron.agent.linux.interface [-] Device qg-bba540a4-b5 already exists
  2020-02-25 14:45:28.490 20 INFO neutron.agent.l3.agent [-] Finished a router update for 9b9639b9-f1d4-4e55-a34d-3734389aeedf, update_id e71e2ed5-07bc-4148-a111-fbc362ac9e7b. Time elapsed: 8.672
  ~
  ~

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


Follow ups