Commit Graph

29 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 dce4954d10 Check conntrack backup log in Dom0
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
2017-05-09 18:11:46 -07: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
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
jianghua wang fdf8795844 Use sysctl to enable net.ipv4.ip_forward separately
Use sysctl to enable net.ipv4.ip_forward separately instead of
reloading the whole sysctl.conf.

Change-Id: Ia334793972a5357edfe29d7dba2d448273a72c75
2017-03-08 17:37:06 +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
Jenkins 4b76575684 Merge "Add a patch for ceilometer to fit MOS9.2" 2017-03-01 17:15:11 +00:00
Jenkins 02eec2cfef Merge "Support both Ely and Dundee in MOS9" 2017-02-28 09:55:34 +00:00
Jianghua Wang 3eeb90cedb Add a patch for ceilometer to fit MOS9.2
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
2017-02-28 14:32:44 +08:00
Huan Xie 2142efbe52 Support both Ely and Dundee in MOS9
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
2017-02-27 21:40:31 -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
Jianghua Wang 95a67bb757 Rotate conntrackd's log files
We should rotate conntrackd's log files to avoid FS filled up.

Change-Id: I6d9e40a372b49f2f014fb63440aed0028b4df494
2016-12-13 04:55:31 +00:00
Jenkins 3343ca5819 Merge "Avoid the cronjob filling up dom0's FS" 2016-11-09 10:58:12 +00:00
Jianghua Wang 0e86f0a35f Avoid the cronjob filling up dom0's FS
Change-Id: I710b054c3f9295cf9cae5bc92a1dbfdb43d4055c
2016-11-09 17:03:00 +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 7533f8c80a Fix novnc cache
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
2016-11-04 17:02:57 +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
Jianghua Wang 2db7b079e9 Apply two patches for ceilomter services
Apply two ceilometer patches:
1. fix the issue that some *.rate meters are always zero;
   - https://review.openstack.org/#/c/367743/
2. add supporting on two meters network.incoming.bytes and
   network.outgoing.bytes:
   - https://review.openstack.org/#/c/367714/
   These two meters depends a nova fix on bandwidth, so also
   apply this nova fix.
   - https://review.openstack.org/#/c/365838/

Change-Id: I5f9a5f1a7e0912fc2fe47c17bb36a56947161615
2016-10-10 08:48:28 +00:00
Huan Xie c78ebe6e8b Add support of conntrack-tools in Dom0
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
2016-09-07 09:09:03 +00: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
Jianghua Wang ad57f30d59 Enable ceilometer
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
2016-08-30 10:52:38 +08:00
John Hua 1cfe3c701c Move checks to pre-deployment stage
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
2016-08-18 15:14:03 +08:00
John Hua 8c42bc72b9 Use with-open statement to write file
To prevent FD leaking

Change-Id: Iacbba183e7c9b58bdbf667bb23ec8f8d4e8c8440
2016-08-15 10:28:13 +08:00
John Hua c4b4e5c986 Upgrade to MOS 9
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
2016-08-12 16:55:26 +08:00
Huan Xie efae2fc22e Support MOS9 with un-merged patch in Mitaka
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
2016-08-11 10:48:49 +08:00
John Hua eac05bedc1 Check local storage type
Fail the deployment if local sr type is not a file-based SR type

Change-Id: Ia6e289befa2fecda89d8f8ad2e38a62f57b548f0
2016-08-10 11:17:20 +01:00
Bob Ball 1725b5aaba Add branding and version number templating support
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
2016-08-08 10:03:01 +01:00