yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #10105
[Bug 1283204] [NEW] run_test.sh local_lock_path issue
Public bug reported:
run_test.sh no longer works and fails with :
Traceback (most recent call last):
File "neutron/api/v2/resource.py", line 84, in resource
result = method(request=request, **args)
File "neutron/api/v2/base.py", line 411, in create
obj = obj_creator(request.context, **kwargs)
File "neutron/plugins/bigswitch/plugin.py", line 729, in create_network
self._send_create_network(new_net, context)
File "neutron/plugins/bigswitch/plugin.py", line 567, in _send_create_network
self.servers.rest_create_network(tenant_id, mapped_network)
File "neutron/plugins/bigswitch/plugin.py", line 385, in rest_create_network
self.rest_action('POST', resource, data, errstr)
File "neutron/plugins/bigswitch/plugin.py", line 341, in rest_action
resp = self.rest_call(action, resource, data, headers, ignore_codes)
File "neutron/openstack/common/lockutils.py", line 246, in inner
with lock(name, lock_file_prefix, external, lock_path):
File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
return self.gen.next()
File "neutron/openstack/common/lockutils.py", line 186, in lock
fileutils.ensure_tree(local_lock_path)
File "neutron/openstack/common/fileutils.py", line 37, in ensure_tree
os.makedirs(path)
File "/usr/lib/python2.7/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/var/lib/neutron'
}}}
Traceback (most recent call last):
File "neutron/tests/unit/test_db_plugin.py", line 2021, in test_list_networks_with_sort_emulated
name='net3')
File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
return self.gen.next()
File "/usr/lib/python2.7/contextlib.py", line 112, in nested
vars.append(enter())
File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
return self.gen.next()
File "neutron/tests/unit/test_db_plugin.py", line 523, in network
admin_state_up, **kwargs)
File "neutron/tests/unit/test_db_plugin.py", line 403, in _make_network
raise webob.exc.HTTPClientError(code=res.status_int)
HTTPClientError: The server could not comply with the request since it is either malformed or otherwise incorrect.
======================================================================
FAIL: process-returncode
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1283204
Title:
run_test.sh local_lock_path issue
Status in OpenStack Neutron (virtual network service):
New
Bug description:
run_test.sh no longer works and fails with :
Traceback (most recent call last):
File "neutron/api/v2/resource.py", line 84, in resource
result = method(request=request, **args)
File "neutron/api/v2/base.py", line 411, in create
obj = obj_creator(request.context, **kwargs)
File "neutron/plugins/bigswitch/plugin.py", line 729, in create_network
self._send_create_network(new_net, context)
File "neutron/plugins/bigswitch/plugin.py", line 567, in _send_create_network
self.servers.rest_create_network(tenant_id, mapped_network)
File "neutron/plugins/bigswitch/plugin.py", line 385, in rest_create_network
self.rest_action('POST', resource, data, errstr)
File "neutron/plugins/bigswitch/plugin.py", line 341, in rest_action
resp = self.rest_call(action, resource, data, headers, ignore_codes)
File "neutron/openstack/common/lockutils.py", line 246, in inner
with lock(name, lock_file_prefix, external, lock_path):
File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
return self.gen.next()
File "neutron/openstack/common/lockutils.py", line 186, in lock
fileutils.ensure_tree(local_lock_path)
File "neutron/openstack/common/fileutils.py", line 37, in ensure_tree
os.makedirs(path)
File "/usr/lib/python2.7/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/var/lib/neutron'
}}}
Traceback (most recent call last):
File "neutron/tests/unit/test_db_plugin.py", line 2021, in test_list_networks_with_sort_emulated
name='net3')
File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
return self.gen.next()
File "/usr/lib/python2.7/contextlib.py", line 112, in nested
vars.append(enter())
File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
return self.gen.next()
File "neutron/tests/unit/test_db_plugin.py", line 523, in network
admin_state_up, **kwargs)
File "neutron/tests/unit/test_db_plugin.py", line 403, in _make_network
raise webob.exc.HTTPClientError(code=res.status_int)
HTTPClientError: The server could not comply with the request since it is either malformed or otherwise incorrect.
======================================================================
FAIL: process-returncode
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1283204/+subscriptions
Follow ups
References