yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #60678
[Bug 1605713] Re: neutron subnet.shared attributes out of sync with parent network and no available CLI to update subnet.shared
Hi, Srilanth,
O.K. I just traced the git log and found the Subnet.shared was removed
in stable/liberty.
Let's close it.
class Subnet(model_base.BASEV2, HasId, HasTenant):
@@ -200,12 +191,12 @@ class Subnet(model_base.BASEV2, HasId, HasTenant):
dns_nameservers = orm.relationship(DNSNameServer,
backref='subnet',
cascade='all, delete, delete-orphan',
+ order_by=DNSNameServer.order,
lazy='joined')
routes = orm.relationship(SubnetRoute,
backref='subnet',
cascade='all, delete, delete-orphan',
lazy='joined')
- shared = sa.Column(sa.Boolean)
ipv6_ra_mode = sa.Column(sa.Enum(constants.IPV6_SLAAC,
constants.DHCPV6_STATEFUL,
constants.DHCPV6_STATELESS,
@@ -214,6 +205,7 @@ class Subnet(model_base.BASEV2, HasId, HasTenant):
constants.DHCPV6_STATEFUL,
constants.DHCPV6_STATELESS,
name='ipv6_address_modes'), nullable=True)
** Changed in: neutron
Status: New => Invalid
--
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:
Invalid
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
References