[Bug 1438124] [NEW] [Backport 1408529] nova boot vm with '--nic net-id=xxxx, v4-fixed-ip=xxx' failed

Alex Ermolov aermolov at mirantis.com
Mon Mar 30 10:33:51 UTC 2015


Public bug reported:

now nova boot vm with '--nic net-id=xxxx, v4-fixed-ip=xxx' will failed,
the error in nova-compute log is bellow:

  File "/opt/stack/nova/nova/network/neutronv2/__init__.py", line 84
, in wrapper
    ret = obj(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/cl
ient.py", line 1266, in serialize
    self.get_attr_metadata()).serialize(data, self.content_type())
  File "/usr/local/lib/python2.7/dist-packages/neutronclient/common/
serializer.py", line 390, in serialize
    return self._get_serialize_handler(content_type).serialize(data)
  File "/usr/local/lib/python2.7/dist-packages/neutronclient/common/
serializer.py", line 54, in serialize
    return self.dispatch(data, action=action)
  File "/usr/local/lib/python2.7/dist-packages/neutronclient/common/
serializer.py", line 44, in dispatch
    return action_method(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/neutronclient/common/
serializer.py", line 66, in default
    return jsonutils.dumps(data, default=sanitizer)
  File "/usr/local/lib/python2.7/dist-packages/neutronclient/opensta
ck/common/jsonutils.py", line 168, in dumps
    return json.dumps(value, default=default, **kwargs)
  File "/usr/lib/python2.7/json/__init__.py", line 250, in dumps
    sort_keys=sort_keys, **kw).encode(obj)
  File "/usr/lib/python2.7/json/encoder.py", line 207, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib/python2.7/json/encoder.py", line 270, in iterencode
    return _iterencode(o, 0)
  File "/usr/local/lib/python2.7/dist-packages/neutronclient/common/
serializer.py", line 65, in sanitizer
    return six.text_type(obj, 'utf8')
TypeError: coercing to Unicode: need string or buffer, IPAddress fou
nd

** Affects: mos
     Importance: Low
     Assignee: Alex Ermolov (aermolov)
         Status: In Progress


** Tags: customer-found python-neutronclient

** Also affects: python-neutronclient
   Importance: Undecided
       Status: New

** Changed in: python-neutronclient
     Assignee: (unassigned) => Alex Ermolov (aermolov)

** Changed in: mos
     Assignee: (unassigned) => Alex Ermolov (aermolov)

** Changed in: python-neutronclient
       Status: New => In Progress

** Changed in: mos
       Status: New => In Progress

** No longer affects: python-neutronclient

** Also affects: python-neutronclient (Ubuntu)
   Importance: Undecided
       Status: New

** No longer affects: python-neutronclient (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-neutronclient in Ubuntu.
https://bugs.launchpad.net/bugs/1438124

Title:
  [Backport 1408529] nova boot vm with '--nic net-id=xxxx, v4-fixed-
  ip=xxx' failed

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



More information about the Ubuntu-server-bugs mailing list