Commit Graph

14 Commits

Author SHA1 Message Date
Andreas Jaeger 81eb842140 Retire repository
Fuel repositories are all retired in openstack namespace, retire
remaining fuel repos in x namespace since they are unused now.

This change removes all content from the repository and adds the usual
README file to point out that the repository is retired following the
process from
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project

See also
http://lists.openstack.org/pipermail/openstack-discuss/2019-December/011675.html

A related change is: https://review.opendev.org/699752 .

Change-Id: I5a23c6a1f8cd3b055b686e16714a8ff5ccf23d86
2019-12-18 19:48:13 +01:00
Huan Xie 6689a9f9c9 Enable VxLAN with XenServer
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
2017-05-01 18:34:32 -07:00
Huan Xie 9a2beb2950 Deprecate XenServer 6.5 on MOS10
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
2017-04-21 03:32:12 -07:00
jianghua wang e50e18ab2a Fix error for patching
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
2017-04-18 06:50:03 +00:00
Huan Xie 3009f637e2 Support install suppack multi times
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
2017-03-09 18:24:12 -08:00
Huan Xie e4ab4f95bc Add nova compute patches
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
2017-03-01 20:11:09 -08:00
Jianghua Wang e50779856a Support Image caching
Enable image caching and add the tool to clean cached images which
are not used anymore.

Change-Id: I533b55fd10121b8c461091c72eff01525b0455db
Closes-Bugs: #1645290
2016-12-27 20:41:49 +08:00
John Hua bccc176701 Conditionally reconfig multipath
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
2016-11-09 14:30:54 +08:00
John Hua d7a7c1cbbc Convert controller post script to python
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
2016-11-04 10:26:00 +08:00
John Hua 10874d8672 Fix execute and file patching
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
2016-11-02 15:13:59 +08:00
Jenkins edb20ee64e Merge "Check for HIMN using dhcp discovery" 2016-09-12 08:23:42 +00:00
Bob Ball 01402e857c Check for HIMN using dhcp discovery
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
2016-09-08 10:45:05 +01:00
John Hua 74239788a8 Use log.info rather than log.err
Sometimes stderr may have output and showing it with ERROR may cause
misinterpretation.

Change-Id: I92b00feeed3bc3c8394f5bf54035b9b588c97c00
2016-09-06 16:35:29 +08:00
Bob Ball b772bc52ef Refactor and fix pep8 failures.
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
2016-09-05 09:15:19 +01:00