Launchpad

openstack subnet create fails when tags is None

This bug affects 1 person

Affects Status Importance Assigned to Milestone
python-openstackclient

Fix Released

Undecided

Carlos Konstanski

Bug Description

In ntwork/v2/_tag.py lines 105 and 110: obj.tags can be None, in which case set(obj.tags) throws a NoneType exception.

Quickest and dirtiest fix: set(obj.tags or []) in both these lines.

More involved fix: should obj.tags ever be None? Should it default to [] instead?

To post a comment you must log in.

This report contains Public information

Everyone can see this information.

Remote bug watches

Bug watches keep track of this bug in other bug trackers.

Read the original on bugs.launchpad.net ↗