Commit Graph

222 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
OpenDev Sysadmins 5b0e745abc OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:51:10 +00: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
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 fea2e5d9a5 Use XCP as platform name in build supplementak packages
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
2017-03-13 23:49:13 -07:00
Jenkins f03fb9f1ed Merge "Modify document for MOS9.2" 2017-03-13 10:00:44 +00:00
Huan Xie 0c5c3fa443 Modify document for MOS9.2
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
2017-03-10 03:19:21 -08: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 beae63e184 Support vif hotplug in Mitaka
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
2017-03-06 02:10:33 -08:00
Jenkins 72fa7036e3 Merge "Support HYPERVISOR_NAME contains blank space" 2017-03-06 08:16:14 +00:00
Huan Xie 84a5086e3d Support HYPERVISOR_NAME contains blank space
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
2017-03-05 18:18:26 -08:00
Jenkins e0bf851c8f Merge "Add nova compute patches" 2017-03-03 09:05:44 +00:00
Jianghua Wang e068e237aa Fix PEP8 issues in destroy_cached_images.py
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
2017-03-02 13:15:21 +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
Jenkins 1c98684f16 Merge "Rotate conntrackd's log files" 2016-12-27 06:54:58 +00:00
Bob Ball b2b88d8eca Increase timeout vlaue for installing guest utilities
Change-Id: Ib0da3fcd4fd65c69bce2aaa83b9585e56a361d9c
2016-12-16 13:01:11 +00: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
John Hua 0542a6a533 Rebrand suppack builder
Parameterize host product to make suppacks built to be across platform.

Change-Id: Idfff6c7416189ccc243e17e5437704ddcbe66017
2016-11-14 10:26:14 +08: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
Jenkins 9c28fdb53a Merge "Avoid except exit due to no TestVM image" 2016-10-21 06:26:12 +00:00
Bob Ball f8f24eb9aa Add a tasks version number for each task.
MOS 9.1 requires the task version to be listed

Change-Id: I89fbb446b793a5e7b5b53ac5be825943834ba011
2016-10-17 11:02:40 +01:00
Jianghua Wang fe83d703aa Avoid except exit due to no TestVM image
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
2016-10-14 11:18:01 +08:00
Jianghua Wang 77897d0ca5 Fix race condition for pcs
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
2016-10-14 10:41:54 +08:00
Jianghua Wang f2b2df6676 Re-enable ceilometer service after applying some patches
Enable the ceilomeer service so that users can choose to use this
service.

Change-Id: I4cf30ea63cc773e7e05173174b65bcff12d04258
2016-10-10 08:48:46 +00: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
Jenkins 7eb25589da Merge "Exclude network.service.* polling meters" 2016-10-10 08:44:20 +00:00
Jianghua Wang dc82f8f482 Exclude network.service.* polling meters
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
2016-10-07 07:53:52 +00:00
Bob Ball 994a91ac8c Fix md5 sum and multiple rebuild bug
Change-Id: I4bf5cd49152ee4cdd7f9ba208505215457f6359f
2016-10-04 13:58:56 +01:00
Bob Ball 78a249ab82 Auto generate MD5 in test report
Change-Id: I07711ecfce5c2c4f53d3304f87d55748287e7787
2016-10-04 11:22:59 +01:00
Bob Ball 38696e7e51 Automatically generate MD5 sums
Change-Id: I9cf667aeb6e737a37119d369ba6945f8f2523844
2016-10-03 17:08:41 +01:00
Bob Ball 5090de8fc6 Update docs as requested by Mirantis
Change-Id: I5725fa1992d6562a5ffb89a6f0897e04e1240277
2016-10-03 16:50:08 +01:00
Jenkins f15c61b0d4 Merge "Improve error condition handling in controller deployment" 2016-10-03 10:50:52 +00:00
Bob Ball 9748446c4d Only clone the minimum needed for Nova / Neutron.
With cloning a single branch, we don't need any history.  This substantially
speeds up the clones and reduces disk space

Change-Id: I5a1753928fdf81f92b34cadf7f5c5c25b72af4aa
2016-09-30 16:55:21 +01:00
Bob Ball 55315baea2 Improve error condition handling in controller deployment
Change-Id: Idd1a9a82649824e22114c7e4ca172fc6868145c1
2016-09-30 11:34:56 +01:00
John Hua d2ae4c2e3e Update docs for verification
Change-Id: Idadd0bf84cd14d30c9301afac47f703cc0c62781
2016-09-14 15:05:52 +08:00
Jenkins edb20ee64e Merge "Check for HIMN using dhcp discovery" 2016-09-12 08:23:42 +00:00
Jenkins 503618c33f Merge "Disable ceilomter." 2016-09-09 09:18:59 +00:00