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
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
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
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
A future plan for this plugin is to not require the HIMN XC
plugin but to support adding the network just in XenCenter
(with hidden objects displayed). Therefore the fuel plugin
should try to auto detect the HIMN as the MAC would not be
written to XenStore.
Change-Id: I7bb120ab79b486fa5ee201385e91c3c450454527
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