yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #59507
[Bug 1647464] Re: novaclient.tests.functional.v2.test_servers.TestServersListNovaClient.test_list_all_servers broken since at least 12/2
Yeah the problem is cell0:
http://logs.openstack.org/05/407205/1/check/gate-novaclient-dsvm-
functional-identity-v3-only-ubuntu-xenial-
nv/61e9a05/logs/screen-n-api.txt.gz#_2016-12-06_20_58_54_417
2016-12-06 20:58:54.417 27543 ERROR nova.compute.api [req-de260414-aacf-47c4-949b-0b501efa5e69 admin admin] Failed to find instance by marker fe05d5ed-e97a-48c3-a57f-fb8a05f43d88 in cell0; ignoring
2016-12-06 20:58:54.417 27543 ERROR nova.compute.api Traceback (most recent call last):
2016-12-06 20:58:54.417 27543 ERROR nova.compute.api File "/opt/stack/new/nova/nova/compute/api.py", line 2404, in get_all
2016-12-06 20:58:54.417 27543 ERROR nova.compute.api sort_dirs=sort_dirs)
2016-12-06 20:58:54.417 27543 ERROR nova.compute.api File "/opt/stack/new/nova/nova/compute/api.py", line 2483, in _get_instances_by_filters
2016-12-06 20:58:54.417 27543 ERROR nova.compute.api expected_attrs=fields, sort_keys=sort_keys, sort_dirs=sort_dirs)
2016-12-06 20:58:54.417 27543 ERROR nova.compute.api File "/usr/local/lib/python2.7/dist-packages/oslo_versionedobjects/base.py", line 184, in wrapper
2016-12-06 20:58:54.417 27543 ERROR nova.compute.api result = fn(cls, context, *args, **kwargs)
2016-12-06 20:58:54.417 27543 ERROR nova.compute.api File "/opt/stack/new/nova/nova/objects/instance.py", line 1219, in get_by_filters
2016-12-06 20:58:54.417 27543 ERROR nova.compute.api use_slave=use_slave, sort_keys=sort_keys, sort_dirs=sort_dirs)
2016-12-06 20:58:54.417 27543 ERROR nova.compute.api File "/opt/stack/new/nova/nova/db/sqlalchemy/api.py", line 226, in wrapper
2016-12-06 20:58:54.417 27543 ERROR nova.compute.api return f(*args, **kwargs)
2016-12-06 20:58:54.417 27543 ERROR nova.compute.api File "/opt/stack/new/nova/nova/objects/instance.py", line 1203, in _get_by_filters_impl
2016-12-06 20:58:54.417 27543 ERROR nova.compute.api sort_keys=sort_keys, sort_dirs=sort_dirs)
2016-12-06 20:58:54.417 27543 ERROR nova.compute.api File "/opt/stack/new/nova/nova/db/api.py", line 763, in instance_get_all_by_filters_sort
2016-12-06 20:58:54.417 27543 ERROR nova.compute.api sort_dirs=sort_dirs)
2016-12-06 20:58:54.417 27543 ERROR nova.compute.api File "/opt/stack/new/nova/nova/db/sqlalchemy/api.py", line 170, in wrapper
2016-12-06 20:58:54.417 27543 ERROR nova.compute.api return f(*args, **kwargs)
2016-12-06 20:58:54.417 27543 ERROR nova.compute.api File "/opt/stack/new/nova/nova/db/sqlalchemy/api.py", line 271, in wrapped
2016-12-06 20:58:54.417 27543 ERROR nova.compute.api return f(context, *args, **kwargs)
2016-12-06 20:58:54.417 27543 ERROR nova.compute.api File "/opt/stack/new/nova/nova/db/sqlalchemy/api.py", line 2243, in instance_get_all_by_filters_sort
2016-12-06 20:58:54.417 27543 ERROR nova.compute.api raise exception.MarkerNotFound(marker=marker)
2016-12-06 20:58:54.417 27543 ERROR nova.compute.api MarkerNotFound: Marker fe05d5ed-e97a-48c3-a57f-fb8a05f43d88 could not be found.
2016-12-06 20:58:54.417 27543 ERROR nova.compute.api
So we just need to handle that MarkerNotFound and ignore it when listing
instances.
** No longer affects: python-novaclient
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1647464
Title:
novaclient.tests.functional.v2.test_servers.TestServersListNovaClient.test_list_all_servers
broken since at least 12/2
Status in OpenStack Compute (nova):
Confirmed
Bug description:
We're always getting a 400 on the marker value here now:
http://logs.openstack.org/59/406359/1/check/gate-novaclient-dsvm-
functional-neutron/30f5c67/console.html#_2016-12-05_18_00_49_690292
2016-12-05 18:00:49.690292 | 2016-12-05 18:00:49.689 | novaclient.tests.functional.v2.test_servers.TestServersListNovaClient.test_list_all_servers
2016-12-05 18:00:49.691677 | 2016-12-05 18:00:49.691 | -------------------------------------------------------------------------------------------
2016-12-05 18:00:49.694401 | 2016-12-05 18:00:49.694 |
2016-12-05 18:00:49.695830 | 2016-12-05 18:00:49.695 | Captured traceback:
2016-12-05 18:00:49.697230 | 2016-12-05 18:00:49.696 | ~~~~~~~~~~~~~~~~~~~
2016-12-05 18:00:49.698889 | 2016-12-05 18:00:49.698 | Traceback (most recent call last):
2016-12-05 18:00:49.700319 | 2016-12-05 18:00:49.699 | File "novaclient/tests/functional/v2/legacy/test_servers.py", line 104, in test_list_all_servers
2016-12-05 18:00:49.701907 | 2016-12-05 18:00:49.701 | output = self.nova("list", params="--limit -1 --name %s" % name)
2016-12-05 18:00:49.703240 | 2016-12-05 18:00:49.702 | File "novaclient/tests/functional/base.py", line 316, in nova
2016-12-05 18:00:49.704505 | 2016-12-05 18:00:49.704 | endpoint_type, merge_stderr)
2016-12-05 18:00:49.706426 | 2016-12-05 18:00:49.706 | File "/opt/stack/new/python-novaclient/.tox/functional/local/lib/python2.7/site-packages/tempest/lib/cli/base.py", line 124, in nova
2016-12-05 18:00:49.707668 | 2016-12-05 18:00:49.707 | 'nova', action, flags, params, fail_ok, merge_stderr)
2016-12-05 18:00:49.709199 | 2016-12-05 18:00:49.708 | File "/opt/stack/new/python-novaclient/.tox/functional/local/lib/python2.7/site-packages/tempest/lib/cli/base.py", line 368, in cmd_with_auth
2016-12-05 18:00:49.710930 | 2016-12-05 18:00:49.710 | self.cli_dir)
2016-12-05 18:00:49.712387 | 2016-12-05 18:00:49.712 | File "/opt/stack/new/python-novaclient/.tox/functional/local/lib/python2.7/site-packages/tempest/lib/cli/base.py", line 68, in execute
2016-12-05 18:00:49.714028 | 2016-12-05 18:00:49.713 | result_err)
2016-12-05 18:00:49.715601 | 2016-12-05 18:00:49.715 | tempest.lib.exceptions.CommandFailed: Command '['/opt/stack/new/python-novaclient/.tox/functional/bin/nova', '--os-username', 'admin', '--os-tenant-name', 'admin', '--os-password', 'secretadmin', '--os-auth-url', 'http://10.13.96.44/identity_admin', '--os-compute-api-version', '2.latest', '--os-endpoint-type', 'publicURL', 'list', '--limit', '-1', '--name', '6a31a7c8-189d-4a63-88d5-7ee1f63f6810']' returned non-zero exit status 1.
2016-12-05 18:00:49.717098 | 2016-12-05 18:00:49.716 | stdout:
2016-12-05 18:00:49.718661 | 2016-12-05 18:00:49.718 |
2016-12-05 18:00:49.720061 | 2016-12-05 18:00:49.719 | stderr:
2016-12-05 18:00:49.721559 | 2016-12-05 18:00:49.721 | ERROR (BadRequest): marker [282483d5-433b-4c34-8a5d-894e40db705d] not found (HTTP 400) (Request-ID: req-d0b88399-b0d6-4f0c-881c-442e88944350)
There isn't anything obvious in the nova and novaclient changes around
12/2 that would cause this.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1647464/+subscriptions