nova/nova/tests/functional
Dan Smith 62878ef5a6 re-Allow adding computes with no ComputeNodes to aggregates
After the cellification of the Aggregates API, we introduced a requirement
that the service must have a HostMapping record, so that we know which
cell the service is in. This is normally fine, but for weird drivers such
as ironic, there may be valid cases (i.e. during setup) where no ironic
nodes are present, thus one or more services may not have any compute node
records, and thus cannot be added to aggregates.

This adds a cell scan, only if necessary, to find the desired service so
that the operation may proceed as it did before. To do this, we refactor
the _find_service() helper to a more generic utility and use that if we
don't find a HostMapping during the add operation.

Change-Id: Idc97126d63684e7d638b974d7226ff210c744404
Closes-Bug: #1686744
2017-05-25 10:56:29 -07:00
..
api re-Allow adding computes with no ComputeNodes to aggregates 2017-05-25 10:56:29 -07:00
api_sample_tests api-ref: Example verification for servers-actions.inc 2017-05-22 00:19:19 +00:00
compute Add a convenience attribute for reportclient 2017-05-04 21:11:37 +00:00
db Move to proper target_cell calling convention 2017-05-23 08:12:42 -07:00
libvirt Merge "Bump minimum required libvirt/qemu versions for Pike" 2017-02-24 02:50:33 +00:00
notification_sample_tests Fix uuid replacement in aggregate notification test 2017-05-18 14:55:42 +00:00
regressions Catching OverQuota Exception 2017-05-03 19:00:34 +00:00
wsgi Add interfaces functional negative tests 2017-04-19 05:34:19 +00:00
__init__.py move eventlet GREENDNS override to top level 2014-12-08 17:41:03 -05:00
api_paste_fixture.py Remove legacy v2 API functional tests 2016-05-04 18:17:23 +08:00
api_samples_test_base.py Simple tenant usage pagination 2016-12-14 03:33:50 +00:00
integrated_helpers.py Merge "disable keepalive for functional tests" 2017-04-25 17:29:09 +00:00
test_aggregates.py re-Allow adding computes with no ComputeNodes to aggregates 2017-05-25 10:56:29 -07:00
test_compute_mgr.py rt: use a single ResourceTracker object instance 2017-01-16 14:09:25 -05:00
test_images.py Add create image functional negative tests 2016-12-26 14:15:14 +09:00
test_instance_actions.py make microversion a client level construct for tests 2016-02-24 11:02:05 -05:00
test_legacy_v2_compatible_wrapper.py Trivial-Fix: Fix typos 2016-06-13 06:41:08 +00:00
test_list_servers_ip_filter.py Add functional test for ip filtering with regex 2017-03-01 22:19:09 -05:00
test_login.py update api_samples code to use better variables 2015-12-14 11:23:26 +08:00
test_metadata.py Remove unused logging import 2017-02-17 15:17:51 +07:00
test_middleware.py Removes unnecessary utf-8 encoding 2016-12-20 10:27:01 +07:00
test_server_group.py Scheduler calling the Placement API 2017-01-27 16:36:34 -08:00
test_servers.py Add confirm resized server functional negative tests 2017-03-24 01:47:11 +00:00