Cannot create container with name "sahara-tests-2d7fd0b5"

Bug #1488462 reported by Evgeny Sikachev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-swiftclient
Invalid
Undecided
Unassigned

Bug Description

When i try create container with name "sahara-tests-2d7fd0b5", swiftclient raise next trace:

Traceback (most recent call last):

      File "sahara/tests/scenario/base.py", line 62, in wrapper
        return fct(self, *args, **kwargs)

      File "sahara/tests/scenario/base.py", line 172, in check_run_jobs
        input_id, output_id = self._create_datasources(job)

      File "sahara/tests/scenario/base.py", line 205, in _create_datasources
        input_id = create(ds, 'input')

      File "sahara/tests/scenario/base.py", line 192, in create
        url = self._create_swift_data(location)

      File "sahara/tests/scenario/base.py", line 273, in _create_swift_data
        container = self._get_swift_container()

      File "sahara/tests/scenario/base.py", line 291, in _get_swift_container
        utils.rand_name('sahara-tests'))

      File "sahara/tests/scenario/base.py", line 579, in __create_container
        self.swift.create_container(container_name)

      File "sahara/tests/scenario/clients.py", line 231, in create_container
        return self.swift_client.put_container(container_name)

      File "/home/ubuntu/sahara/.tox/scenario/local/lib/python2.7/site-packages/swiftclient/client.py", line 1337, in put_container
        response_dict=response_dict)

      File "/home/ubuntu/sahara/.tox/scenario/local/lib/python2.7/site-packages/swiftclient/client.py", line 1253, in _retry
        self.url, self.token = self.get_auth()

      File "/home/ubuntu/sahara/.tox/scenario/local/lib/python2.7/site-packages/swiftclient/client.py", line 1227, in get_auth
        insecure=self.insecure)

      File "/home/ubuntu/sahara/.tox/scenario/local/lib/python2.7/site-packages/swiftclient/client.py", line 420, in get_auth
        auth_version=auth_version)

      File "/home/ubuntu/sahara/.tox/scenario/local/lib/python2.7/site-packages/swiftclient/client.py", line 351, in get_auth_keystone
        raise ClientException('Authorization Failure. %s' % err)

      File "/home/ubuntu/sahara/.tox/scenario/local/lib/python2.7/site-packages/oslo_i18n/_message.py", line 223, in __str__
        raise UnicodeError(msg)

    UnicodeError: Message objects do not support str() because they may contain non-ascii characters. Please use unicode() or translate() instead.

Revision history for this message
Evgeny Sikachev (esikachev) wrote :

excuse me, this is problem of my env

Changed in python-swiftclient:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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