yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #24678
[Bug 1394227] Re: tempest.scenario.test_minimum_basic.TestMinimumBasicScenario fails with cellular devstack
It also fails in tree:
http://logs.openstack.org/30/133530/2/experimental/check-tempest-dsvm-
cells/dde0c62/console.html#_2014-11-18_20_59_51_300
The instance uuid in this case is 009ba63a-f4e6-41b1-9f02-2830c284e9e7.
It fails here:
http://logs.openstack.org/30/133530/2/experimental/check-tempest-dsvm-
cells/dde0c62/logs/screen-n-cpu.txt.gz?level=TRACE#_2014-11-18_20_52_50_764
It's the flavors issue that alaski is trying to fix:
2014-11-18 20:52:50.764 30949 ERROR nova.compute.manager [-] [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] Instance failed to spawn
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] Traceback (most recent call last):
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] File "/opt/stack/new/nova/nova/compute/manager.py", line 2244, in _build_resources
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] yield resources
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] File "/opt/stack/new/nova/nova/compute/manager.py", line 2114, in _build_and_run_instance
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] instance_type=instance_type)
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 2639, in spawn
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] write_to_disk=True)
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 4222, in _get_guest_xml
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] context)
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 3968, in _get_guest_config
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] instance['instance_type_id'])
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] File "/opt/stack/new/nova/nova/objects/base.py", line 154, in wrapper
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] args, kwargs)
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] File "/opt/stack/new/nova/nova/conductor/rpcapi.py", line 359, in object_class_action
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] objver=objver, args=args, kwargs=kwargs)
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/client.py", line 152, in call
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] retry=self.retry)
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/transport.py", line 90, in _send
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] timeout=timeout, retry=retry)
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 408, in send
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] retry=retry)
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 399, in _send
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] raise result
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] FlavorNotFound_Remote: Flavor 6 could not be found.
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] Traceback (most recent call last):
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7]
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] File "/opt/stack/new/nova/nova/conductor/manager.py", line 400, in _object_dispatch
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] return getattr(target, method)(context, *args, **kwargs)
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7]
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] File "/opt/stack/new/nova/nova/objects/base.py", line 156, in wrapper
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] result = fn(cls, context, *args, **kwargs)
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7]
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] File "/opt/stack/new/nova/nova/objects/flavor.py", line 129, in get_by_id
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] db_flavor = db.flavor_get(context, id)
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7]
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] File "/opt/stack/new/nova/nova/db/api.py", line 1492, in flavor_get
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] return IMPL.flavor_get(context, id)
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7]
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] File "/opt/stack/new/nova/nova/db/sqlalchemy/api.py", line 144, in wrapper
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] return f(*args, **kwargs)
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7]
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] File "/opt/stack/new/nova/nova/db/sqlalchemy/api.py", line 4608, in flavor_get
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] raise exception.FlavorNotFound(flavor_id=id)
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7]
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7] FlavorNotFound: Flavor 6 could not be found.
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7]
2014-11-18 20:52:50.764 30949 TRACE nova.compute.manager [instance: 009ba63a-f4e6-41b1-9f02-2830c284e9e7]
See: https://review.openstack.org/#/c/135621/
It would eventually fail here in the scenario test anyway because I
don't think security groups work with current cells:
http://git.openstack.org/cgit/openstack/tempest/tree/tempest/scenario/test_minimum_basic.py#n126
As noted here with the skip patch:
https://review.openstack.org/#/c/135064/3/jenkins/jobs/devstack-
gate.yaml
** Changed in: nova
Status: Incomplete => Won't Fix
--
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/1394227
Title:
tempest.scenario.test_minimum_basic.TestMinimumBasicScenario fails
with cellular devstack
Status in OpenStack Compute (Nova):
Won't Fix
Status in Tempest:
New
Bug description:
A devstack installation with cells enabled fails the tempest
'tempest.scenario.test_minimum_basic.TestMinimumBasicScenario'.
The error log is as follows,
traceback-1: {{{
Traceback (most recent call last):
File "/opt/stack/tempest/tempest/services/compute/json/servers_client.py", line 196, in wait_for_server_termination
raise exceptions.BuildErrorException(server_id=server_id)
BuildErrorException: Server 89933458-9c96-41ee-8082-a0567f573458 failed to build and is in ERROR status
}}}
traceback-2: {{{
Traceback (most recent call last):
File "/opt/stack/tempest/tempest/scenario/manager.py", line 160, in _wait_for_cleanups
waiter_callable(**wait)
File "/opt/stack/tempest/tempest/services/compute/json/servers_client.py", line 196, in wait_for_server_termination
raise exceptions.BuildErrorException(server_id=server_id)
BuildErrorException: Server 89933458-9c96-41ee-8082-a0567f573458 failed to build and is in ERROR status
}}}
Traceback (most recent call last):
File "/opt/stack/tempest/tempest/test.py", line 113, in wrapper
return f(self, *func_args, **func_kwargs)
File "/opt/stack/tempest/tempest/scenario/test_minimum_basic.py", line 137, in test_minimum_basic_scenario
self.nova_boot()
File "/opt/stack/tempest/tempest/scenario/test_minimum_basic.py", line 53, in nova_boot
create_kwargs=create_kwargs)
File "/opt/stack/tempest/tempest/scenario/manager.py", line 210, in create_server
status='ACTIVE')
File "/opt/stack/tempest/tempest/services/compute/json/servers_client.py", line 183, in wait_for_server_status
ready_wait=ready_wait)
File "/opt/stack/tempest/tempest/common/waiters.py", line 77, in wait_for_server_status
server_id=server_id)
BuildErrorException: Server 89933458-9c96-41ee-8082-a0567f573458 failed to build and is in ERROR status
Details: {u'message': u'No valid host was found. ', u'code': 500, u'created': u'2014-11-19T13:01:41Z'}
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1394227/+subscriptions