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
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
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
1. Only support conntrack-tools with XS7.0 and above
2. Install conntrack-tools
3. Start conntrackd service
4. Appply neutron-ovs-agent patch in compute node
5. Add make conntrack-tools.iso in Makefile
Change-Id: I6d4569b1325c290525c17a5c560d3862c1c3de15
Create a utils.py file, and move all common code there
Add flake8 checking to Makefile (requires "pip install flake8")
Fixed all flake8 failures (except XenAPI.py, which is excluded)
Change-Id: I5ca50930ffadcb021719f746b7750d7af9839844
In order to enable ceilometer, need add xenapi specific setup in
ceilometer's configure file and update the impatible list.
Note ceilometer is an option service, the users can choose if
enable it or not.
This patch also contains a patch to fix an error on polling cpu_util.
Change-Id: I0b60494aa1d4511b18d6582f15d454af43b8500c
Some checks, such as the SSH password, SR type and hotfixes
installed could be moved to a pre-deployment stage. If we move
them there, then failures should occur earlier in the process
rather than waiting to the end of the deployment.
Change-Id: I831e79fdc1132fc938141a20837ee345fe276020
This upgrade includes the following changes:
* Rename ml2_conf.ini to openvswitch_agent.ini
* Remove sm patch because XS 6.5 is no longer supported
* Fix multipathd device pattern
* Rename neutron-plugin-openvswitch-agent to
neutron-openvswitch-agent
Change-Id: Ic8048254949cbd124f65eb469dd2979704c49ddb
1. Create new patches based on Mitaka
2. Delete patches which are merged in Mitaka
3. Modify patching function
4. Modify building dom0 ISO script
5. Create new dom0 plugin ISO based on Mitaka
Change-Id: I8996da714f2b76a3b68e8bb6c0d58289467b5b1b
Note: This changes the build method, and so the CI will be broken. Once this
patch set is merged, the CI can be updated to store the documentation and RPM
built by the Makefile, and also updated to use the RPM from the new location
Change-Id: Ic1721f161c42fb323a7d3fd730dcff1dd76ba583