4f993fdd8e226f730378cc7ad25e09a3cb8d9c18
Commit Graph

1157 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
Logan V
4f993fdd8e Simplify scheduler filter additions
Add 'nova_scheduler_extra_filters' to allow operators to enable
additional scheduler filters without overriding the entire list of
filters as in [0].
This also reduces the burden on ops to maintain the list of overridden
default schedulers because of things like [1].
[0] 3886dbc40d/openstack_deploy/user_variables.yml (L51-L69)
[1] https://review.openstack.org/#/c/596502/
Change-Id: I9ab6bcbef2b496df7f6ecf11a7d8f5f7891aeeca
2020年10月12日 19:29:35 +00:00
Zuul
980a319ec3 Merge "Make possible to set nova_libvirt_images_rbd_pool to empty string" 2020年10月06日 08:57:53 +00:00
OpenStack Proposal Bot
bb96075fd5 Updated from OpenStack Ansible Tests
Change-Id: I76a8fb75cfe58c642a9f6b0d4e219000c29549ea
2020年10月05日 09:49:24 +00:00
Jonathan Rosser
ac2fbfb52a Fix linter errors
Change-Id: I140b92dc6ccee3023d2a8965af768bd1c6488c5d
2020年10月02日 07:51:23 +01:00
Dmitriy Rabotyagov
661ee04abd Make possible to set nova_libvirt_images_rbd_pool to empty string
Checking if nova_libvirt_images_rbd_pool is defined leaves us without
an opportunity to disable ceph usage for specific node.
Instead of that we will use bool filter, which will be true if line
is not empty, and false if it is. That way by setting variable to empty
string in host_vars we can disable all relevant options for specific node
Change-Id: Id7c03399bd54ac790dcfc28ad1dcd7f6d48979db
2020年09月25日 09:51:26 +00:00
OpenStack Proposal Bot
a19b0f3db2 Updated from OpenStack Ansible Tests
Change-Id: I608b68e9bd78be4cf5ef6e4e9f10a7829f9ce8b6
2020年09月24日 16:57:28 +00:00
Dmitriy Rabotyagov
bcbc2099d2 Bump libvirt version to prevent compute failure
libvirt-python 6.7.0 makes nova-compute with [1]
Since urls can't be used with constraints, we're bumping
libvirt-python right in the requirements.
[1] http://paste.openstack.org/show/797571/
Change-Id: Ie05c8c2b7e0afe1aa7f84468e22f80debb689232
2020年09月08日 11:06:41 +00:00
Jay Jahns
c05a843ef0 Set Bridge Information for NSX Integration
VM interfaces need to connect to a nsx-specific bridge vs the default
of br-int in order for NSX integration to be successful.
Change-Id: I152d9d4d161f18336d9b412d578846f749a0162b
2020年08月28日 20:20:09 +00:00
Guilherme Steinmüller
5e52841391 Use the utility host for db setup tasks
Move it to the service setup host (defaults to utility[0]) instead
of the galera[0] host, and use galera_address (defaults to internal VIP)
as the endpoint instead of a local connection on the db host.
Change-Id: Ic4a2dfeeb022e1dbe0b1ba8aa0d0dd5feb7a8ffe
2020年08月19日 18:14:34 +00:00
OpenStack Proposal Bot
841d6ff7e4 Updated from OpenStack Ansible Tests
Change-Id: Id3e63118d8785c6c8e82e792ff3c49434485cd87
2020年08月12日 11:34:39 +00:00
Zuul
69e156e7de Merge "Use nova_management_address as a default VNC bind address" 2020年08月02日 13:16:04 +00:00
Zuul
a704697197 Merge "Use Nova management IP for live migrations" 2020年08月01日 19:18:08 +00:00
Andrew Bonney
9da99e1f7c Use nova_management_address as a default VNC bind address
Our installation uses separate networks for deployment and
OpenStack management. The current default of 'ansible_host' for
the VNC server results in it binding to our deployment network.
Whilst this could be resolved via variable overrides, the majority
of the defaults and templated options in this role use the Nova
management address as the default choice for binding to.
This patch changes the default VNC bind address to match the
existing standard pattern, which should avoid the need for
overrides in most cases. As a result, for our setup, when
nova_management_address is identified and set in the OSA nova
playbooks to match the OpenStack management network, the VNC server
bind address gets set to the correct address.
Change-Id: I9c5e2584f8f1d9bd76120b8b236e25f63804473a
2020年08月01日 14:53:21 +00:00
Zuul
cd85105f3b Merge "Add nova_management_address to defaults" 2020年07月31日 18:32:13 +00:00
Jan Marquardt
40bf388734 Avoid rebuilding the venv with every run
Until now the necessary pip packages differ between nova-api and
compute hosts, when novnc is used, because 'websockify' was only
added to nova-api containers. As a result, the venv is rebuilt twice
for each run. With this change 'websockify' is always added to
the needed pip packages.
Change-Id: I3f284e6d32f4aa614f311d3e4e754830be2f11a6
2020年07月22日 10:27:36 +02:00
Andrew Bonney
71f3fb224a Use Nova management IP for live migrations
Our installation uses separate networks for deployment and for
OpenStack management. By default, live migrations depend upon a
hostname, which resolves to an IP on our (lower speed) deployment
network. Dependent on the deployment, the hostname may not be a
reliable mechanism for determining the correct network for live
migrations.
Nova exposes a live_migration_inbound_addr which can be used to
correct this. This patch defaults the inbound_addr to match the
Nova service bind address, but provides the option for it to be
overwritten through variables.
Whilst the Nova docs suggest that live_migration_inbound_addr
is ignored when live_migration_tunnelled is enabled this appears
to be inaccurate from our testing.
Change-Id: Iff6326f72971364d275ea999418d476007690ef8
Related-Bug: #1576724 
2020年07月16日 14:46:21 +01:00
Andrew Bonney
3d9b4f876d Add nova_management_address to defaults
nova_management_address is used extensively in
templates/nova.conf.j2, but this relies upon its definition in
external variables and playbooks.
This matches the similar default chosen in the os_cinder repository
Change-Id: I1ead90c82becc1fbeae5670b7703c8389e6a78b6
2020年07月15日 11:29:44 +01:00
root
842c899d8e Add Centos-8 support
We shouldn't need this anymore since interpreter patch has been merged
https://review.opendev.org/#/q/topic:interpreter+(status:open+OR+status:merged)
Change-Id: Ibc8c9b92c8c3c705964fbc85019b357913583ca7
2020年07月01日 23:28:46 +03:00
Zuul
682f65d8ba Merge "Install netcat-openbsd for live migration" 2020年06月13日 01:36:14 +00:00
OpenStack Proposal Bot
bbdaf118d2 Updated from OpenStack Ansible Tests
Change-Id: I0ebcdfcb5ee54f645f9c0f3734388ac93851c8fa
2020年06月08日 19:56:26 +00:00
Zuul
fcdd6a178a Merge "Use newer openstackdocstheme and reno versions" 2020年06月05日 11:42:16 +00:00
OpenStack Proposal Bot
7c241e594e Updated from OpenStack Ansible Tests
Change-Id: I9a94ed995efbb5f2c2cc3de7ef77470f23b5367c
2020年06月03日 19:07:41 +00:00
Andreas Jaeger
dd2f2406d9 Use newer openstackdocstheme and reno versions
The sync from https://review.opendev.org/733244 updated to
openstackdocstheme 2.2.1 and reno 3.1.0 versions.
Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.
openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: I0cc73a4e714f8b533b5c1381124141c3d07d47d1
2020年06月03日 20:02:19 +02:00
48c46247c2 Update master for stable/ussuri
Add file to the reno documentation build to show release notes for
stable/ussuri.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.
Change-Id: Ifdf38a2a6c9d96d45fd8c2370e49977c4cfc8700
Sem-Ver: feature
2020年06月01日 13:17:03 +00:00
OpenStack Proposal Bot
3e51d1537d Updated from OpenStack Ansible Tests
Change-Id: I80e39bc85108ee82a3da401fcc3315a5c9a33573
2020年05月22日 07:07:37 +00:00
Andreas Jaeger
292beedfce Update docstheme for style
New version of openstackdocstheme (Victoria+) respects pygments_style.
Since this repo is using now Victoria (master) requirements but has
not branched for Ussuri yet, it uses the new version.
Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.
Change-Id: Ie089410c6ef26c6beb38179730afe641503c0eb9
2020年05月20日 18:50:25 +02:00
Logan V
1e7f093fee Install netcat-openbsd for live migration
netcat-openbsd is required on Debian/Ubuntu in order for live migration
to function. If it is not installed, you get an error that looks like:
libvirt.libvirtError: operation failed: Failed to connect to remote libvirt URI qemu+ssh://nova@hv1/system?no_verify=1&keyfile=/var/lib/nova/.ssh/id_rsa: End of file while reading data:
sh: 1: nc: not found: Input/output error
2020年05月19日 22:13:32.553 4511 ERROR nova.virt.libvirt.driver [-] [instance: b5a313c0-326c-4e3f-bec4-22926289999f] Migration operation has aborted
This was originally fixed in [1] and then accidentally reverted in a
package cleanup[2].
[1] https://review.opendev.org/#/c/666759/
[2] https://review.opendev.org/#/c/662585/
Closes-Bug: #1833644
Change-Id: Ia2747142e6253b286d36d8c71a263ef7ed01341d
2020年05月19日 22:32:50 +00:00
Logan V
ea84b14612 Fix UEFI boot support
UEFI booting support was removed on Debian/Ubuntu was broken by the
removal of ovmf and qemu-efi package installs during a package list
cleanup[1].
It looks like suse/redhat did not reecive the same cleanup effects,
as the UEFI bootloader packages are still installed there, so no
fix is needed on those OS families.
[1] https://review.opendev.org/#/c/662585/
Change-Id: I8ce72e4a0c754a745b1abf42030e41d6084f1361
2020年05月17日 15:28:06 -05:00
Zuul
ede308458e Merge "[ussuri][goal] Update contributor documentation" 2020年05月16日 07:58:11 +00:00
Zuul
cd2a4e76f7 Merge "Cleanup after repo_build and pip_install retirement" 2020年05月13日 18:30:56 +00:00
Dmitriy Rabotyagov
d3cfca6d2a Cleanup after repo_build and pip_install retirement
Change-Id: Id5c011f3c23b677371432b1a2d734e7b413f5174
2020年05月12日 22:40:19 +03:00
Dmitriy Rabotyagov
c910a107c8 [ussuri][goal] Update contributor documentation
This patch updates/adds the contributor documentation to follow
the guidelines of the Ussuri cycle community goal[1].
[1] https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html
Story: #2007236
Task: #38554
Change-Id: If8017854d98fb0fc071d6afe23f6111da25aa8e4
2020年05月12日 22:38:49 +03:00
OpenStack Proposal Bot
adc00c8373 Updated from OpenStack Ansible Tests
Change-Id: I33e55e74ce5d9a2d9e7689e94062a91f73829117
2020年05月12日 18:04:44 +00:00
Guilherme Steinmüller
5dc6c4691a Add ignore_msrs=1
Based on https://patchwork.kernel.org/patch/42605/.
Change-Id: I51f6cc953e25b632853996ad18c274063e12d441
2020年05月06日 14:48:02 +00:00
OpenStack Proposal Bot
5dc26608e1 Updated from OpenStack Ansible Tests
Change-Id: I77c11f1d7a5b1dd58490e2542182981f1d4254b2
2020年05月05日 13:33:16 +00:00
Zuul
1dc38131f8 Merge "Cleanup py27 support" 2020年04月14日 19:34:46 +00:00
melissaml
300d0d1d69 Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Cleanup doc/source/conf.py to remove now obsolete content.
Change-Id: I467df391b180a2988cf4f7b82a6ea1a4cd4fd4dd
2020年04月14日 16:42:34 +08:00
OpenStack Proposal Bot
10df17738d Updated from OpenStack Ansible Tests
Change-Id: Id70a428ca14efcac6c38d68b3345ce0c376c6ce1
2020年04月13日 17:52:00 +00:00
Erik Berg
d3353d9dd6 Align vars/redhat.yml with other distros
This removes superfluous packages and moves others to align with
what vars/{debian,suse}.yml does.
Change-Id: I88bc42eaa30d59250003339241380e3e50b64e3b
2020年03月25日 09:01:27 +01:00
Guilherme Steinmüller
5d4cd62b04 Refactor memcached_servers
This patch aims to add a prefix for memcached_server
on each role to give the ability for deployers to
override the location of memcached cluster. I.e users
wants to create a single memcached cluster with k8s
for each service.
We also add pymemcache based on [1]
[1] https://review.opendev.org/711429
Change-Id: Ie50f529975e8f2ae1bf66136240b3901f08b51a4
2020年03月13日 22:12:17 +00:00
OpenStack Proposal Bot
9eed0f727c Updated from OpenStack Ansible Tests
Change-Id: I9aacfb0e241cc68b56b0da4bd198b792adf902ff
2020年03月11日 12:46:57 +00:00
OpenStack Proposal Bot
273c4720c5 Updated from OpenStack Ansible Tests
Change-Id: If442a15c938960a010372a617279bdd76dbf856d
2020年03月06日 17:58:26 +00:00
Ghanshyam Mann
f9e2cda9d4 [ussuri][goal] Updates for python 2.7 drop
OpenStack is dropping the py2.7 support in ussuri cycle.
Only update required is in tox to define common baspython as py3 os that
all tox env including [testenv:functional] will use py3 instead of py2.
Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support
Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
Change-Id: Id2f8b89f768662b54976d502f893a84171333a75
2020年03月01日 18:54:51 -06:00
Zuul
5d43ac22ae Merge "config: add region_name to neutron" 2020年02月26日 13:26:21 +00:00
OpenStack Proposal Bot
590193cb2a Updated from OpenStack Ansible Tests
Change-Id: I15cef322110e6a922b26a2ee693fb4af8afe64c8
2020年02月24日 13:13:07 +00:00
Zuul
5a14280505 Merge "Change nova_lock_path mode" 2020年02月19日 14:46:21 +00:00
Mohammed Naser
0d7e1ec25c config: add region_name to neutron
Change-Id: I58e1dac857b2a9c0474b78220d9d3ae29f2428c0
2020年02月19日 14:39:04 +01:00
Mohammed Naser
bbbbd94101 pre-install: use path and drop dest
We have a few checks that depend on the value of path and
dest is an alias of path anyways so we should just always
use path instead.
Change-Id: I38ed2b120ece1268ccfe519c94bda038571a99b7
2020年02月10日 09:19:30 +00:00
Dmitriy Rabotyagov
4159a7117e Change nova_lock_path mode
nova_lock_path task has always changed state as once nova is launched
is sets 2755 permissions to its lock path. To be idempotent and fit with
what nova expects to see we're setting correct permissions.
Change-Id: If911c48152df8ea022c6cdb1f74132b0638025d0
2020年02月05日 18:29:48 +02:00
Dmitriy Rabotyagov
e72835e5ac Use py3 for CentOS
Unfortunatelly CentOS 7 do not have libvirt and guestfs libraries
for py3, so isntead of symlinking them, we have to install devel package
and build inside venv.
Change-Id: Ie678e44c2369347cf0816cbcc4269de8eba7b963
2019年12月24日 17:18:37 +02:00