yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #69868
[Bug 1738023] [NEW] neutron-lib: bogus error when OVO primary key missing
Public bug reported:
I see the following in logs:
Dec 13 11:39:27.531721 ubuntu-xenial-rax-iad-0001416544 neutron-
server[5115]: ERROR
networking_bgpvpn.neutron.services.service_drivers.bagpipe.bagpipe
NeutronPrimaryKeyMissing: For class str missing primary keys:
set(['network_id'])
The 'for class str' is bogus, and seems to be due to the fact that at [1] we have
raise o_exc.NeutronPrimaryKeyMissing(object_class=cls.__name__,
missing_keys=missing_keys)
instead of
raise o_exc.NeutronPrimaryKeyMissing(object_class=cls,
missing_keys=missing_keys)
[1]
https://github.com/openstack/neutron/blob/master/neutron/objects/base.py#L514
** Affects: neutron
Importance: Undecided
Assignee: Thomas Morin (tmmorin-orange)
Status: In Progress
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1738023
Title:
neutron-lib: bogus error when OVO primary key missing
Status in neutron:
In Progress
Bug description:
I see the following in logs:
Dec 13 11:39:27.531721 ubuntu-xenial-rax-iad-0001416544 neutron-
server[5115]: ERROR
networking_bgpvpn.neutron.services.service_drivers.bagpipe.bagpipe
NeutronPrimaryKeyMissing: For class str missing primary keys:
set(['network_id'])
The 'for class str' is bogus, and seems to be due to the fact that at [1] we have
raise o_exc.NeutronPrimaryKeyMissing(object_class=cls.__name__,
missing_keys=missing_keys)
instead of
raise o_exc.NeutronPrimaryKeyMissing(object_class=cls,
missing_keys=missing_keys)
[1]
https://github.com/openstack/neutron/blob/master/neutron/objects/base.py#L514
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1738023/+subscriptions
Follow ups