Commit Graph

34407 Commits

Author SHA1 Message Date
Matthew Gilliard cf71b18ff7 Adds toctree to v2 section of docs
The toctree was globbing a nonexistent directory, and not producing
useful output. This patch lists the contents correctly.

Change-Id: I414120d948bd3eeeec84ac279bab11c276ef5eee
2015-04-28 11:43:47 +01:00
Jenkins 93610787de Merge "VMware: Ensure compute_node.hypervisor_hostname is unique" 2015-04-28 02:16:40 +00:00
Jenkins d65b8e201b Merge "Merge V2 and V2.1 networks functional tests" 2015-04-28 00:55:40 +00:00
Jenkins 760fefb173 Merge "Share V2 and V2.1 images functional tests" 2015-04-28 00:55:21 +00:00
Jenkins 469b8816ef Merge "Imported Translations from Transifex" 2015-04-28 00:54:36 +00:00
Jenkins 244dfaf5f6 Merge "Associate floating IPs with first v4 fixed IP if none specified" 2015-04-27 23:12:57 +00:00
Jenkins f0ddb9f9a9 Merge "Fix migrate_flavor_data string substitution" 2015-04-27 13:22:38 +00:00
Jenkins bc6c891fd9 Merge "Avoid indexing into an empty list in getcallargs" 2015-04-27 13:18:12 +00:00
Jenkins 1f013625d7 Merge "Remove stale test + opensssl information from docs" 2015-04-27 13:17:54 +00:00
Jenkins e29785daed Merge "Update rpc version aliases for kilo" 2015-04-27 13:17:34 +00:00
Jenkins 4eb0f17e63 Merge "libvirt: unused imported option default_ephemeral_format" 2015-04-27 11:12:18 +00:00
OpenStack Proposal Bot 8d84109fae Imported Translations from Transifex
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I7983f9ff82337ddc023edcf300fd6dd8b19cc544
2015-04-27 06:18:03 +00:00
Andrew Boik c5dfd2c3ef Associate floating IPs with first v4 fixed IP if none specified
In the absence of a specified fixed address with which to associate a
floating IP, the first IPv4 address on the port should be associated.
Without the check for IPv4, IPv6 ports can be associated with a (IPv4)
floating IP, which is not supported.

Change-Id: Ib66a9109cc1c7999474daca5970d0af1f70886e4
Closes-Bug: 1437855
2015-04-24 15:09:11 -04:00
Jenkins dde1c1e175 Merge "Replace ssh exec calls with paramiko lib" 2015-04-24 13:50:14 +00:00
Jenkins 42b6cfec5e Merge "libvirt: use importutils instead of python built-in" 2015-04-24 13:42:49 +00:00
Jenkins f1d215315a Merge "Imported Translations from Transifex" 2015-04-24 01:18:12 +00:00
Jenkins 1252840f66 Merge "Fixed nova-network dhcp-hostsfile update during live-migration" 2015-04-23 20:18:55 +00:00
Jenkins 9f775323c5 Merge "sync oslo: service child process normal SIGTERM exit" 2015-04-23 16:43:59 +00:00
Jenkins 03fed769c2 Merge "Remove downgrade support from the cellsv2 api db" 2015-04-23 16:43:31 +00:00
Jenkins ef4143e5db Merge "Remove dead vmrc code" 2015-04-23 16:43:06 +00:00
Jenkins 93de6e1d33 Merge "change the reboot rpc call to local reboot" 2015-04-23 16:13:52 +00:00
Jenkins c463284264 Merge "Override update_available_resources interval" 2015-04-23 16:04:40 +00:00
Timofey Durakov d15c57a499 Fixed nova-network dhcp-hostsfile update during live-migration
During live migration _post_live_migration and
post_live_migration_at_destination_method are executed
simultaneously, because second one is called over rpc.cast
In _post_live_migration method there was setup_network_on_host
call with teardown=True, which expects new host in instances
table db field. This update could be happened later, as it
executes on destination node in second method. To guarantee
execution order  setup_network_on_host call, which cleans
dhcp-hostfile is moved to destination node.
Closes-Bug: #1444497

Change-Id: I55f0c0148c937601e78f0beecc21b30a1164a690
2015-04-23 15:10:31 +00:00
Sean Dague f0f158af37 sync oslo: service child process normal SIGTERM exit
service.py had some code where the child process would catch the
SIGTERM from the parent just so it could exit with 1 status rather
than with an indication that it exited due to SIGTERM. When
shutting down the parent doesn't care in what way the child ended,
only that they're all gone, so this code is unnecessary.

Also, for some reason this caused the child to never exit while
there was an open connection from a client. Probably something
with eventlet and signal handling.

Syncs commit: 702bc569987854b602ef189655c201c348de84cb

Change-Id: I3c5249f5e59bb396bcb50964907ea61ebb2a3c8a
Closes-Bug: #1446583
2015-04-23 10:40:34 -04:00
Andrew Laski 05120edf92 Remove downgrade support from the cellsv2 api db
The TC approved a cross project spec to stop putting db downgrade into
project migration repos:
https://github.com/openstack/openstack-specs/blob/master/specs/no-downward-sql-migration.rst
This was done after quite a bit of feedback from the operator community,
and everyone was good with it.

This implements that spec for Nova, adjust the tests to pass
accordingly, and changes the test which requires downgrade functions
to one that prohibits them.

Implements bp nova-no-downward-sql-migration

Change-Id: I972e1d79e570d57baac613e56570b49e1b1da28d
2015-04-23 10:40:07 -04:00
Jenkins fcb77e7678 Merge "Libvirt: Fix error message when unable to preallocate image" 2015-04-23 13:57:21 +00:00
Jenkins bad308aefd Merge "Include supported version information" 2015-04-23 13:56:45 +00:00
Jenkins d53ef7f0aa Merge "libvirt: Allow discrete online pCPUs for pinning" 2015-04-23 13:49:24 +00:00
Jenkins 49cec4c74f Merge "remove the CONF.allow_migrate_to_same_host" 2015-04-23 13:46:28 +00:00
Jenkins 8796a8a66b Merge "Use retrying decorator from oslo_db" 2015-04-23 13:42:30 +00:00
Jenkins 374ccfbe45 Merge "Merge server groups tests between v2 and v2.1" 2015-04-23 13:10:42 +00:00
Sahid Orentino Ferdjaoui ef0ef7222a libvirt: use importutils instead of python built-in
oslo_utils some routines to handle module importation, we
should use them in our code base insteadof invoking
the private built-in __import__

Change-Id: I5647ec4864e6202e7886c2923cdde30f8736ae29
2015-04-23 09:05:37 -04:00
Jenkins f6fc9aa670 Merge "'deleted' filter does not work properly" 2015-04-23 13:05:02 +00:00
Jenkins 3a43cf486e Merge "Control create/delete flavor api permissions using policy.json" 2015-04-23 07:36:28 +00:00
OpenStack Proposal Bot 70916ec715 Imported Translations from Transifex
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I9498e02a46d44a6fb3b4ce559b092f27d679053e
2015-04-23 06:39:57 +00:00
Jenkins adfa7ae4f3 Merge "Fix migrate_flavor_data() to catch instances with no instance_extra rows" 2015-04-23 04:28:34 +00:00
Jenkins 2fd3d7e26e Merge "remove downgrade support from our database migrations" 2015-04-22 22:14:46 +00:00
Jenkins 0bc763f099 Merge "VMware: enable configuring of console delay" 2015-04-22 18:45:08 +00:00
Sudipta Biswas bead2f51f8 libvirt: Allow discrete online pCPUs for pinning
Currently, the check for cpu pinning is a little broad and
it doesn't allow pinning for discrete online pcpu sets if the
cpuset ID exceeds the total number of online pcpus.

The fix is for NUMA topology enabled hosts, where the list of
online pcpus are obtained and compared with the list of IDs which
are requested as a part of cpu pinning. If the IDs form a subset
of the total online pcpus on the host, pinning is allowed.
If not, old behavior is retained.

Change-Id: I8cbd938f99e1eae9eeaa3bb27f492c95734bbfab
Closes-Bug: #1442546
2015-04-22 22:04:16 +05:30
Dan Smith 92714accc4 Fix migrate_flavor_data() to catch instances with no instance_extra rows
The way the query was being performed previously, we would not see any
instances that didn't have a row in instance_extra. This could happen if
an instance hasn't been touched for several releases, or if the data
set is old.

The fix is a simple change to use outerjoin instead of join. This patch
includes a test that ensures that instances with no instance_extra rows
are included in the migration. If we query an instance without such a
row, we create it before doing a save on the instance.

Closes-Bug: #1447132
Change-Id: I2620a8a4338f5c493350f26cdba3e41f3cb28de7
2015-04-22 09:32:12 -07:00
Jenkins 9d2c0c2c21 Merge "Add equality operators to PciDeviceStats and PciDevice objects" 2015-04-22 16:08:30 +00:00
Sahid Orentino Ferdjaoui 042a005e8f libvirt: unused imported option default_ephemeral_format
An unused imported conf "default_ephemeral_format" needs to
be remove from the driver.

Change-Id: I072c63eaf94e457190b382df7e166706b065f525
2015-04-22 05:20:54 -04:00
Joshua Hesketh d030e7feea Fix migrate_flavor_data string substitution
The substitution wasn't being done resulting in the following being
printed:

%(total)i instances matched query, %(done)i completed {'total': 0, 'done': 0}

Change-Id: Iebc6de6a677f5a46671f6a497786a3013b1d925e
2015-04-22 15:30:22 +10:00
Jenkins 2141620d47 Merge "Fix max_number for migrate_flavor data" 2015-04-21 17:45:40 +00:00
Jenkins 2a39376571 Merge "neutron: reduce complexity of allocate_for_instance (security_groups)" 2015-04-21 17:24:33 +00:00
Joshua Hesketh 3d7ab0fe93 Fix max_number for migrate_flavor data
The max_number was not being set correctly due to mapping from
--max-number onto max_number in the params not being set up.

Also the migrate_flavor_data db API doesn't require a max-number to
process. If None is given all instances will have their flavor data
migrated. Support this option by not requiring the --max-number
param from the cli.

Change-Id: Ic2ded8d498b34cb1212fb6fa1c8f1a60f0581a76
2015-04-22 01:10:57 +10:00
Sean Dague e2e846f74b remove downgrade support from our database migrations
The TC approved a cross project spec to stop putting db downgrade into
project migration repos:
https://github.com/openstack/openstack-specs/blob/master/specs/no-downward-sql-migration.rst
This was done after quite a bit of feedback from the operator
community, and everyone was good with it.

This implements that spec for Nova, adjust the tests to pass
accordingly, and changes the test which requires downgrade functions
to one that prohibits them.

Implements bp nova-no-downward-sql-migration

Change-Id: I9b164b748998530d62bbc6baf356a9c3f61584cc
2015-04-21 10:29:35 -04:00
Jenkins cacaa2fd1c Merge "Fixed test in test_tracker to work with random PYTHONHASHSEED" 2015-04-21 12:37:34 +00:00
Divya ced60b1d1b Control create/delete flavor api permissions using policy.json
The permissions of create/delete flavor api is currently broken
and expects the user to be always an admin, instead of controlling
the permissions by the rules defined in the nova policy.json.

Change-Id: Ide3c9ec2fa674b4fe3ea9d935cd4f7848914b82e
Closes-Bug: 1445335
2015-04-21 13:33:56 +02:00
Gary Kotton eb7c89082e VMware: enable configuring of console delay
When running OpenStack in an environment where there
is network latency the administrator will be unable to use the instance
console. Please see http://goo.gl/gKTqYZ for explanations.

DocImpact:
A new configuration variable in the vmware section will be added. This
is 'console_delay_seconds'. If set the instance created will have the
keyboard.typematicMinDelay set to this value.

Closes-bug: #1443082

Change-Id: I1b4e89d8b4a236e5f1e328be3d8ee54eceb37e2a
2015-04-21 01:40:41 -07:00