Commit Graph

22 Commits

Author SHA1 Message Date
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
John Hua ac57c42f6a Refix suppack builder and platform version
Apart from the readme need to be updated, the platform version also
need to be corrected. And as xenserver-nova-suppack-builder is modified,
a earlier branch of the repo needs to be specified.

Change-Id: Id858f5c1a58cc359739cb23e4e954ba86a93c7bb
2016-07-21 14:41:16 +08:00
John Hua fcb6739083 Use platform version to determine compatibility
Change-Id: I75ae8d5dbfa1c8cc10d444674a1be03fb8a178cd
2016-07-20 15:50:48 +08:00
John Hua 51162eddff Delete image TestVM only
Only the built-in image TestVM needs to be replaced. But the current
controller post deployment script will remove all images and may be
invoked to clear all user's images when environment is redeployed.

Change-Id: I36a6cdbe25a52512e508e6c758d8310c2fe4f349
Closes-Bug: #1593090
2016-07-15 16:03:19 +08:00
John Hua 0fa17d68fc Fix potential security issues
Fix below potential security risks so can pass bandit test:

* Any input should be quoted for subprocess call
* Temp file should not use fixed name
* Use yaml.safe_load to prevent arbitrary objects

Change-Id: I71b4afb5805c8b1d7ead626f7fa2e15a687811fa
Closes-Bug: 1590761
2016-06-20 10:25:29 +00:00
Bob Ball f833293a1c Fix parse error
Version metadata was incorrect as a ' was missing.

Change-Id: I6eb4fc52d2b0ad7a21aa0bcfbff22ecbb703b54c
2016-06-13 11:49:06 +01:00
Bob Ball 26b6241a9c Update version number for trunk development
Ensure that we bump the version number for trunk to make it
distinct to the 8.0 branch

Change-Id: If06653cc0e8f39ca69b68acc6dccd71e3bbd035c
2016-06-07 13:36:06 +01:00
Bob Ball ee86d2d0f0 Static routes should always be added.
Even if the route exists on the current host, we are re-writing the
script run by udev, so the static routes must always be added to the
script.

Also, always check fixed strings rather than regular expressions
for the networks (which contain periods!)

Change-Id: I94cfd53506a915309095da0f5f8b9db397f81892
2016-06-06 18:08:16 +01:00
John Hua a7c2224505 Replace static-routes with udev rules
When host is restarted, static-routes won't be able add route rules
because HIMN isn't brought up. Thus we need to use udev to add
those route rules back. As tested there is time gap between udev is
triggered and HIMN is ready, a 5-sec sleep is added just in case.

Change-Id: Ifa3260107265f400bde2a33640d4da2fc9f32ddf
(cherry picked from commit a28e0bbdc3)
2016-06-03 03:10:27 +00:00
John Hua 933c44f5ef Upgrade to fpb package version 4
Fuel plugin builder package version 4 introduces components.yaml to enable fuel
plugin manipulate wizard and settings without creating new release. So the old
xs_release.yaml will not be needed any more as well as other scripts or yamls
that helps on that.

Change-Id: I6e2226176faf11fff986f03da184558e6cfdce05
2016-05-11 18:49:34 +08:00
John Hua 644d88263a Upgrade release and metadata for MOS 8.0
Change-Id: I89027968b3678d93299f1993c946e9e1994643c1
2016-03-10 08:33:45 +00:00
John Hua d50641477a Migrate to Fuel 7.0
Migration basically will include kilo-based nova plugin, new release
file, new deployment task file and new metadata file. As fuel plugin
builder 3.0.0 will support post-install script, the customized fuel
plugin builder (https://github.com/citrix-openstack/fuel-plugins)
will be useless for XenServer Fuel Plugin building.

Change-Id: I129b2f429165ef805ac3e8f6bf57383b09876e60
2015-11-18 14:33:15 +08:00
John Hua c80ded539c Trigger an error when hotfix is not installed or password is wrong
Hotfix XS65ESP1013 is to fix Cinder volume when iSCSI is used. It
is necessary to check whether this hotfix is installed and exit
deployment if not. And docs are also updated to make sure user will
do so in advance.

Besides, if password of XenServer is wrong, an alert with error
message will also be needed.

Change-Id: I2b7d5b1b127e8a0e232537a4baa5f401f9be0854
Closes-Bug: #1508474
Closes-Bug: #1508996
2015-11-06 20:53:35 +08:00
Bob Ball 3d2e9b1c6a Update plugin version to 1.0.1
Update following Mirantis' feedback

Change-Id: I9cfb7fd63e7297167a143e7338f45d2b93c34e62
2015-09-25 08:08:18 +01:00
Bob Ball b98455c045 Rename based on the new repository
Change-Id: I111a7f0067fad87ca895c1d09fdf4e4d442ed900
2015-09-25 08:08:18 +01:00
Bob Ball 848067185b Remove the additional releases from the metadata
These release couldn't be selected (as they don't have the 'ha' role)
but remove for clarity

Change-Id: Ib75a38307018c4e18be5f75d02cc7512e39f3d33
2015-09-25 08:08:18 +01:00
Bob Ball e68a139461 Major update to documentation
Added Test Plan and User Guide.
Moved repository location to git.openstack.org

Change-Id: I7a1b1e9c1248d263e087cff8ae777818c28785f2
2015-09-18 15:18:35 +01:00
John Hua 0ff91c3706 Fix typos 2015-09-16 13:28:25 +08:00
John Hua 725a31182e Add post-uninstall script 2015-09-06 16:33:42 +08:00
John Hua 8fe052a0eb Refactor to fuel plugin structure 2015-08-13 14:06:30 +08:00
John Hua fa4115f921 Restructure file hierarchy
* Move plugin directory inside
* Split newrelease.yaml
+ Add deploy.sh for deploying fixture and plugin
+ Add dump.sh for dumping data from nailgun
+ Add xs_release.yaml for network/wizzard/setting configuration
2015-07-16 13:21:21 +08:00
John Hua 68b5e4e681 First set of files with a simple example 2015-07-14 10:37:17 +08:00