yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #59598
[Bug 1648560] Re: List and Dict types not accepted in Oslo field String()
** Also affects: neutron
Importance: Undecided
Status: New
** No longer affects: neutron
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1648560
Title:
List and Dict types not accepted in Oslo field String()
Status in oslo.versionedobjects:
New
Bug description:
This bug has been reported because String() field in
oslo_versionedobjects/fields.py does not accept list and dict as valid
value types for any DictOfStringsField type field.
If an object like <neutron.db.models.agent.Agent[object at
7f0fac7ba490] {id=u'3057ad21-cac4-4090-b176-d16e52278a3f',
agent_type=u'Open vSwitch agent', binary=u'neutron-openvswitch-agent',
topic=u'N/A', host=u'dhcp-host-a', availability_zone=None,
admin_state_up=True, created_at=datetime.datetime(2016, 12, 8, 16, 20,
6, 933829), started_at=datetime.datetime(2016, 12, 8, 16, 20, 6,
933829), heartbeat_timestamp=datetime.datetime(2016, 12, 8, 16, 20, 6,
933829), description=None, configurations=u'{"tunnel_types":
["vxlan"], "tunneling_ip": "20.0.0.1", "bridge_mappings":
{"phys_net1": "br-eth-1"}}', resource_versions=None, load=0}>]
is passed. I am getting the following two errors:
http://paste.openstack.org/show/591827/
http://paste.openstack.org/show/591831/
To manage notifications about this bug go to:
https://bugs.launchpad.net/oslo.versionedobjects/+bug/1648560/+subscriptions