← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1465188] Re: Functional test case are failed "Invalid: Url can't contain 4 byte unicode characters."

 

** Changed in: glance
       Status: Incomplete => Opinion

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1465188

Title:
  Functional test case are failed "Invalid: Url can't contain 4 byte
  unicode characters."

Status in OpenStack Image Registry and Delivery Service (Glance):
  Opinion

Bug description:
  Here is a log trace
  2015-06-15 08:09:36,098 INFO 127.0.0.1 - - [15/Jun/2015 08:09:36] "POST /rpc HTTP/1.1" 200 782 0.030830
  2015-06-15 08:09:36,099 DEBUG Reloaded policy file: /tmp/tmphXORLJ/etc/policy.json
  2015-06-15 08:09:36,100 DEBUG Reloaded policy file: /tmp/tmphXORLJ/etc/policy.json
  2015-06-15 08:09:36,107 ERROR RPC Call Error: Url can't contain 4 byte unicode characters.
  Traceback (most recent call last):
    File "glance/common/rpc.py", line 180, in __call__
      result = method(req.context, **kwargs)
    File "glance/db/sqlalchemy/api.py", line 129, in image_create
      return _image_update(context, values, None, purge_props=False)
    File "/usr/lib/python2.7/site-packages/retrying.py", line 49, in wrapped_f
      return Retrying(*dargs, **dkw).call(f, *args, **kw)
    File "/usr/lib/python2.7/site-packages/retrying.py", line 206, in call
      return attempt.get(self._wrap_exception)
    File "/usr/lib/python2.7/site-packages/retrying.py", line 247, in get
      six.reraise(self.value[0], self.value[1], self.value[2])
    File "/usr/lib/python2.7/site-packages/retrying.py", line 200, in call
      attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
    File "glance/common/utils.py", line 714, in wrapper
      return f(*args, **kwargs)
    File "glance/db/sqlalchemy/api.py", line 795, in _image_update
      session=session)
    File "glance/db/sqlalchemy/api.py", line 886, in _image_locations_set
      image_location_add(context, image_id, loc, session=session)
    File "glance/common/utils.py", line 705, in wrapper
      _check_dict(data_dict)
    File "glance/common/utils.py", line 702, in _check_dict
      raise exception.Invalid(msg)
  Invalid: Url can't contain 4 byte unicode characters.

  Any pointer to fix this issue

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


References