When enable conntrack-tools, we will change the conntrackd.conf
file, but there is an error, current code is checking the DomU
to see whether the backup file exist, however this check should
in Dom0, this patch is to fix this problem
Change-Id: Ib9de2a2707785b04b38173e1d3bccadfa11b753e
1. Remove the restriction of vxlan on yaml file
2. Configure iptables in Dom0 to enable vxlan port 4789
3. Move br-mesh from compute node to Dom0
4. Add mos-vxlan.service to take use of systemctl and make
sure when XenServer host reboot, the br-mesh and related
configurations is still there
5. Persist iptables rules
6. Add cleanup of br-mesh if it exist in in Dom0 when the
neutron network type is not vxlan
Change-Id: I1ab8ca56714167a2e20513b0f9b0ed4a82d9648e
We will depracate support of XenServer 6.5 since MOS10, this patch
is to implement this via:
(1) Add XCP version check in compute_pre_test.py to make sure
the minimal XCP version is 2.1.0
(2) Replace the guest tool to xe-guest-utilities_7.0.0-24_all.deb
(3) Update related documents to only support XS7.0 and XS7.1
Change-Id: I0a0420d158faf18de3534f501dd2a25d818cc9be
If MOS picked some fix from upstream, the patches may be not
needed any more. We need avoid error for this case. The fix
is to make it to skip patching fix which has already existed.
Change-Id: I2b2a2cf1a01d24701b94fd00e2e815869f078cdd
Closes-Bug: #1683288
As we will support both XenServer and branded products at the same
time, so when building the supplemenatl packages, using the common
XCP as platform name is better, this fix to to use XCP
Change-Id: Ib8b79608c6cfdb85f3718c7daefaccc120a3e775
With MOS9.2 we add new feature support, e.g. vif hotplug and vm
live migration and also support XenServer Ely, this patch is to
modify our documents for these
Change-Id: I2d596d31afad312637b53b93907d9180ce22cf95
When add a new VM to current MOS environment, our plugins script
compute_post_deployment.py will be triggered and it will try to
install the supplemental packages and got the exception like:
"This update has already been applied", this patch is to add the
acceptable return code 1 when execute xe-install-supplemental-pack
Change-Id: Ie4e4328ed85938a6f98b272858ce3a39f9d564d4
I have made a patch to apply several new patch file in nova-compute,
see https://review.openstack.org/#/c/430030/, but these patch files
are based on newton or ocata, for vif hotplug, the attach_interface
API changed, there is a new parameter added after mitaka, see
https://review.openstack.org/#/c/147126/, so this patch is to remove
parameter context so it can be compatible with mitaka
Change-Id: I7f767c21d87d61c13ba5d272f869628210dc5d02
We changed our branding.inc not including speech marks "", e.g.
HYPERVISOR_NAME=XXX YYY, but will add the necessary "" in script
get_plugin_version.sh, however this made the building failed as
there is blank space in sed, e.g. s/@HYPERVISOR_NAME@/XXX YYY/g \,
this patch is to fix this problem
Change-Id: I3fad385f50e1c7c3c929e4f19658b92cd2b2c991
This script was copied from nova:
tools/xenserver/destroy_cached_images.py
But it complains some PEP8 issues when run with flake8. So let's
fix it. Please note also remove eventlet.monkey_patch, so it's
not needed at here. Actually at the beginning of main(), it will
invoke utils.monkey_patch() instead.
Change-Id: Ie2d0f9acd78b16ae27948aef1a5599d313caa48e
There are some important patches in nova computes introduced recently,
this patch it to apply these patches and add corresponding Change_Id:
compute node:
1. live-migration-iscsi.patch
2. support-vif-hotplug.patch
3. fix-rescue-vm.patch
4. live-migration-vifmapping.patch
5. assert_can_migrated.patch
controller node:
1. live-migration-vifmapping-controller.patch
Change-Id: Ib0bfb97fa61323d101ea49faaf410d1576ca111b
In MOS9.2, it added a new function purge_inspection_cache() in
compute pollsters. Each pollsters' get_samples will invoke
self.inspector.purge_inspection_cache() firstly. But xenaip
doesn't define this function, so it will get the following error:
AttributeError: 'XenapiInspector' object has no attribute
'purge_inspection_cache'.
As this function doesn't exist in upstream, let's just apply a
patch to define a empty purge_inspection_cache(). So that it's
able to get samples successfully.
Change-Id: I1177c24651715566850c6fde67f74959b01c7e12
Ely has changed the way of building supplemental package, this patch
is to support both Ely and Dundee with MOS9
1. Change build-xenserver-suppack.sh to build ely package
2. Change the source code to install correct supplemental package
Change-Id: Ieafb9f1c407b05c92bbf6769d35d8ccef06fc5f5
Enable image caching and add the tool to clean cached images which
are not used anymore.
Change-Id: I533b55fd10121b8c461091c72eff01525b0455db
Closes-Bugs: #1645290
In MOS 9.1 /etc/multipath.conf doesn't exist by default. So the reconfiguration
should depend on the existence of /etc/multipath.conf.
Change-Id: I2784642fc49f6ea01f131f63be011ba1fc81acf6
In MOS 9 the memcache isn't enabled for consoleauth by default and for a
multi-controller environment the authentication will be failed because token
cannot be retrieved from memcache.
This fix also moves the deprecated settings from DEFAULT section to vnc or cache.
And the nova-compute.conf on controller actually never been used thus is removed.
Change-Id: Ic9438172b6c1ed5074aaa0b6d0e036287efe1982
Related-Bug: #1576218
The old script is based on shell and not convenient to use in some cases. Some
functions in utils script might also need to be adjusted.
Change-Id: Ie1c9417363b07074f879e62b8856a455efb281c9
The old execute() will silently ignore error regardless if it is in
allowed_return_codes. And the old file patching will get return code 1 when
running for the second time. The new implementation will firstly check if the
base file can be reversed(by dry-run). If it is so, then the patch will not be
applied.
Change-Id: I055428ec4b142ac9caa9b21a1609e2718e06aaf2
The controller_post_deployment.sh is run with "-e" which means it
will exit directly if any error occured. The command of "grep"
will return non-zero if it find no line with the pattern. So this
script will exit unexpectedly if there is no TestVM image exists.
Change-Id: Ie5ca9e89e1687787a5173e2ea8cedffd8eb9bfdd
If run "pcs resource restart" while some resources are still in
restarting or initiating stage, it may result into failures for both.
So change code to wait until all ocf resources are started before
invoking "pcs resource restart" to restart p_ceilometer-agent-central.
Change-Id: Ief3557462ed8a017bd4cc69336181147ed61244d
Currently we don't enable the vpn or lb service, so it will report
error: "Unable to discover resources: 404 Not Found". So let's add
them into the exclusion list.
Change-Id: I5922da6325fdde61be67c75068e0ce1a65d3e7da
With cloning a single branch, we don't need any history. This substantially
speeds up the clones and reduces disk space
Change-Id: I5a1753928fdf81f92b34cadf7f5c5c25b72af4aa