← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1605713] [NEW] neutron subnet.shared attributes out of sync with parent network and no available CLI to update subnet.shared

 

Public bug reported:

1. create a network with shared=0.
2. create a subnet for the network
3. update the network with shared attributes.
4. examine the shared in neutron subnet db, the shared remains 0 while the shared in network table is updated to 1.

e.g.

neutron net-create --provider:physical_network phsynet1 --provider:network_type flat net-1
neutron subnet-create net-1 192.168.30.0/24
neutron net-update --shared net-1

now examine the database directly for the subnet 192.168.30.0, its
shared attribute remains as 0.

There is no CLI available to update it.

versions tested:
neutron stable/kilo
neutron client: 2.6.0
linux distro: Linux 12.04, Linux 14.04

Expected, one of the following solutions:
1). remove subnet.shared attribute and use its parent shared attribute.
2). have a mechanism to update subnet.shared

** Affects: neutron
     Importance: Undecided
         Status: New

** Description changed:

  1. create a network with shared=0.
  2. create a subnet for the network
  3. update the network with shared attributes.
  4. examine the shared in neutron subnet db, the shared remains 0 while the shared in network table is updated to 1.
  
  e.g.
  
  neutron net-create --provider:physical_network phsynet1 --provider:network_type flat net-1
- neutron subnet-create 192.168.30.0/24
+ neutron subnet-create net-1 192.168.30.0/24
  neutron net-update --shared net-1
  
  now examine the database directly for the subnet 192.168.30.0, its
  shared attribute remains as 0.
  
  There is no CLI available to update it.
  
  versions tested:
  neutron stable/kilo
  neutron client: 2.6.0
  linux distro: Linux 12.04, Linux 14.04
  
  Expected, one of the following solutions:
  1). remove subnet.shared attribute and use its parent shared attribute.
  2). have a mechanism to update subnet.shared

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

Title:
  neutron subnet.shared attributes out of sync with parent network and
  no available CLI to update subnet.shared

Status in neutron:
  New

Bug description:
  1. create a network with shared=0.
  2. create a subnet for the network
  3. update the network with shared attributes.
  4. examine the shared in neutron subnet db, the shared remains 0 while the shared in network table is updated to 1.

  e.g.

  neutron net-create --provider:physical_network phsynet1 --provider:network_type flat net-1
  neutron subnet-create net-1 192.168.30.0/24
  neutron net-update --shared net-1

  now examine the database directly for the subnet 192.168.30.0, its
  shared attribute remains as 0.

  There is no CLI available to update it.

  versions tested:
  neutron stable/kilo
  neutron client: 2.6.0
  linux distro: Linux 12.04, Linux 14.04

  Expected, one of the following solutions:
  1). remove subnet.shared attribute and use its parent shared attribute.
  2). have a mechanism to update subnet.shared

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


Follow ups