Commit Graph

37626 Commits

Author SHA1 Message Date
OpenStack Proposal Bot b086a78007 Updated from global requirements
Change-Id: I756cc85316e269caed4eaa8a24ccd13361b60bfe
2015-12-10 12:45:13 +00:00
Jenkins 374d43c1be Merge "Replaced private field in get_session/engine with public method" 2015-12-10 12:24:03 +00:00
Jenkins 84952379e0 Merge "Replaces izip_longest with six.moves.zip_longest" 2015-12-10 05:32:48 +00:00
Jenkins c5e80623eb Merge "Fixes dict keys and items references for Python 3" 2015-12-10 02:48:53 +00:00
Jenkins 24b8aeafd5 Merge "Add "vnc" option group for sample nova.conf file" 2015-12-10 01:06:08 +00:00
Jenkins d1a5658203 Merge "Add persistence to the RequestSpec object" 2015-12-10 00:32:34 +00:00
Jenkins c43771996f Merge "Updating nova config-reference doc" 2015-12-09 23:21:58 +00:00
Jenkins 88a9ed6970 Merge "Add hv testing for ImageMetaProps._legacy_property_map" 2015-12-09 22:13:24 +00:00
Jenkins 4af05639eb Merge "Replace os.path.join() for URLs" 2015-12-09 22:12:41 +00:00
Jenkins f37da3c407 Merge "neutron: skip test_deallocate_for_instance_2* in py34 job" 2015-12-09 21:41:11 +00:00
Jenkins bf45d16611 Merge "Implements proper UUID format for the ComputeAPITestCase" 2015-12-09 18:36:25 +00:00
Jenkins b5890b3c36 Merge "Edit the text to be more native-English sounding" 2015-12-09 07:52:47 +00:00
Jenkins ca40e31490 Merge "Fix the endpoint of /v2 on concept doc" 2015-12-09 04:05:41 +00:00
Jenkins eeb28b66cc Merge "tighten regex on objectify" 2015-12-09 04:05:08 +00:00
Jenkins 10b5641931 Merge "Replaces longs with ints" 2015-12-09 02:24:29 +00:00
Jenkins a871e35299 Merge "Reset the compute_rpcapi in Compute manager on SIGHUP" 2015-12-09 01:53:02 +00:00
Jenkins b3143c87f2 Merge "xenapi: add necessary timeout check" 2015-12-09 00:18:28 +00:00
Jenkins a88436384e Merge "Fix the bug of "Error spelling of 'explicitely'"" 2015-12-08 23:51:32 +00:00
Jenkins e266f24bc4 Merge "Add review guideline to microversion API" 2015-12-08 22:01:14 +00:00
Jenkins 453418b1bf Merge "Config options: centralize section "scheduler"" 2015-12-08 22:00:43 +00:00
Jenkins 2ee51118aa Merge "Remove unnecessary extra instance saves during resize" 2015-12-08 22:00:03 +00:00
Jenkins dc8926b38e Merge "Catch FixedIpNotFoundForAddress when create server" 2015-12-08 21:59:25 +00:00
Jenkins 8946480010 Merge "neutron: only get port id when listing ports in validate_networks" 2015-12-08 21:58:43 +00:00
Jenkins 46f829f3e3 Merge "neutron: only list ports if there is a quota limit when validating" 2015-12-08 21:58:09 +00:00
Jenkins 7a59c3c34e Merge "Config options: centralize section "scheduler"" 2015-12-08 21:57:35 +00:00
Jenkins 778249772d Merge "Don't track migrations in 'accepted' state" 2015-12-08 21:53:40 +00:00
Jenkins 4968898885 Merge "live-migrate: Change the status Migration is created with" 2015-12-08 21:53:08 +00:00
Jenkins 81972f59f9 Merge "compute: split check_can_live_migrate_destination" 2015-12-08 21:52:27 +00:00
Matt Riedemann ba01b11b86 neutron: skip test_deallocate_for_instance_2* in py34 job
For whatever reason the two tests race fail in the py34 job at a rate of
about 12 hits per week. These aren't problems in the py27 job.

Since no one seems to be looking at these, and the unit tests should
always be passing, let's just skip the tests for now.

Change-Id: Ia0243d91cb00c610df1b29df983d5c6abe0a89c4
Related-Bug: #1521599
2015-12-08 13:39:33 -08:00
Jenkins ac2de3af13 Merge "Fix metadata service security-groups when using Neutron" 2015-12-08 21:25:17 +00:00
Jenkins 892a3ffd0b Merge "Scheduler: honor the glance metadata for hypervisor details" 2015-12-08 21:10:14 +00:00
Sean Dague eb4ef63ef8 tighten regex on objectify
There are some strange and wonderous work arounds in the json loader
for samples templates to do with templated values which are ints. This
was always kind of a hack, but when attempting to add a replacement
value in the middle of a string it was clear that the anchoring for
this regex was wrong.

Update the begin anchor to be ': ' instead of [^"], which would match
anywhere inside a string.

Change-Id: I9811b34d58a4d4cf7f181689b25212893880dcf4
2015-12-08 13:54:54 -05:00
Jenkins da17a368e6 Merge "Add more concepts for servers" 2015-12-08 18:12:29 +00:00
Jenkins fc105fcd87 Merge "Make "ReSTful service" consistent" 2015-12-08 18:11:53 +00:00
Jenkins 92a4197545 Merge "docs: add microversions description in the concept doc" 2015-12-08 18:10:59 +00:00
Jenkins bd7fb7b85f Merge "Make admin consistent" 2015-12-08 18:07:07 +00:00
Jenkins 23fc697abd Merge "Add reviewing point related to REST API" 2015-12-08 17:55:34 +00:00
EdLeafe 7a09f727f3 Replace os.path.join() for URLs
Since os.path.join() is OS-dependent, it should not be used for creating
URLs. This patch replaces the use of os.path.join() in
nova/api/openstack with common.url_join(), which uses the more correct
"/".join(), while preserving the behavior of removing duplicate slashes
inside the URL and adding a trailing slash with an empty final element.
It also adds some tests to ensure that the generate_href() method in
nova/api/openstack/compute/views/versions.py works after the refactoring
to use common.url_join()

Closes-Bug: 1489627
Change-Id: I32948dd1fcf0839b34e446d9e4b08f9c39d17c8f
2015-12-08 17:46:34 +00:00
Matt Riedemann db8d747263 Add hv testing for ImageMetaProps._legacy_property_map
Change I03742cc9330814e2758184d8189a5be93a2b978b added the
'hypervisor_type' to the _legacy_property_map. This makes sure that
change is tested.

Also adds test coverage for 'hypervisor_version_requires'.

Related-Bug: #1523503

Change-Id: I3738785a4f119e361be0d6aaf3649ad375c471c8
2015-12-08 08:42:28 -08:00
EdLeafe 231c9a1589 Edit the text to be more native-English sounding
No substantial changes; just wanted to make the text sound more like
native English.

blueprint complete-todo-in-api-concept-doc

Change-Id: I9ff48113bf709f63e3654a5851aa8d6853b519b5
2015-12-08 14:58:00 +00:00
Ken'ichi Ohmichi 1c6076a2fb Fix the endpoint of /v2 on concept doc
As the folloing content of etc/nova/api-paste.ini, legacy v2
endpoint is /v2, not /v2.1.

 /v1.1: openstack_compute_api_v21_legacy_v2_compatible
 /v2: openstack_compute_api_v21_legacy_v2_compatible
 /v2.1: openstack_compute_api_v21

So this patch fixes the endpoint.

Partially implements blueprint complete-todo-in-api-concept-doc

Change-Id: I6d9346ced38f522c516778cadae217d1d5c9cff1
2015-12-08 12:50:54 +00:00
Gary Kotton f33dfa0647 Scheduler: honor the glance metadata for hypervisor details
The scheduler would not honor the glance image metadata for
'hypervisor_type' and 'hypervisor_version_requires'. This was due
to the fact that this was not part if the image_meta object.

Change-Id: I03742cc9330814e2758184d8189a5be93a2b978b
Closes-bug: #1523503
2015-12-08 01:45:20 -08:00
Michal Pryc c805293e77 Implements proper UUID format for the ComputeAPITestCase
Currently unittests are using non valid UUID format for the
FieldType UUID. This is used across many objects.

This is preparation work to add UUID validation in the
oslo_versionedobjects/fields.py.

Without this change adding validation will cause tests to fail.

Change-Id: Iaad96b4185d19055dff40450eab2a1818b7054a0
2015-12-08 08:59:38 +01:00
He Jie Xu 50aa74f91d docs: add microversions description in the concept doc
This patch adds generic description for microversions. We will write
more use-cases in later patches.

blueprint complete-todo-in-api-concept-doc

Change-Id: I600ad4186a38eaffbec38bb15b2de0146c076abf
2015-12-08 14:17:36 +08:00
Ken'ichi Ohmichi da3001bc80 Make admin consistent
There are variety like "admin" or "administrator" on api-guide,
so this patch makes these words consistent for the readability.

Partially implements blueprint complete-todo-in-api-concept-doc

Change-Id: Id0a9444e5d48f62d6d02114f8668761647c2dae0
2015-12-08 05:36:11 +00:00
Jenkins 60c5c27980 Merge "Modify default filters for RequestSpec" 2015-12-08 05:36:04 +00:00
He Jie Xu d5fa24bb85 Add more concepts for servers
There still have some important concept in the docs, this patch adds
more to it.

blueprint complete-todo-in-api-concept-doc

Change-Id: I231f298d2c7ffa0736028db27fe54691ac4bd201
2015-12-08 11:05:07 +08:00
Ken'ichi Ohmichi 4ce28e5c2b Make "ReSTful service" consistent
Most parts contain "ReSTful HTTP service" instead of "ReSTful web
service". So this patch changes "ReSTful web service" for the word
consistency.

Partially implements blueprint complete-todo-in-api-concept-doc

Change-Id: I642ae649adad8f886bdb6bce979a1dd7d2430a80
2015-12-08 01:44:13 +00:00
Claudiu Belu c4581f207c Replaces izip_longest with six.moves.zip_longest
itertools.izip_longest does not exist in Python 3.

Partially implements blueprint: nova-python3-mitaka

Change-Id: I6322fe8a4b186cefa69acc289bf9ffada0ca3874
2015-12-07 10:21:00 +00:00
Claudiu Belu db9b47a0c7 Fixes dict keys and items references for Python 3
Python 3 does not support indexing keys or items iterators.

Removes unit tests from tests-py3.txt blacklist.

Partially implements blueprint: nova-python3-mitaka

Change-Id: I3ec1e775d91e7f56356f744fd80f5d9df36cae1d
2015-12-07 12:19:59 +02:00