This repository was archived by the owner on Jan 20, 2021. It is now read-only.
packaging: enforce new min. CloudStack version 4.15 starting GA/1.0#841
Merged
yadvr merged 1 commit intoapache:masterfrom Oct 29, 2020
Merged
packaging: enforce new min. CloudStack version 4.15 starting GA/1.0#841yadvr merged 1 commit intoapache:masterfrom
yadvr merged 1 commit intoapache:masterfrom
Conversation
There are many changes, including API changes in upstream master/4.15 which makes it challenging to maintain backward compability of Primate with older versions of CloudStack. Therefore we need to ensure that the rpm and deb Primate pkgs require CloudStack 4.15 as minimum version. This would still leave some flexibility for advanced users of archive builds (which adds risks that some features don't work with 4.14 or older versions). Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Member
Author
|
Following this we need to update apache/cloudstack-documentation#150 as well wrt the min. version Primate will support and installation instructions. By default, we'll ship primate with every cloudstack repo so users won't need to setup the repo themselves (the other way is for cloudstack-management to install the repo config automatically). |
Member
Author
|
@blueorangutan package |
|
@rhtyd a Jenkins job has been kicked to build primate packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔️centos ✔️debian ✔️archive. |
davidjumani
approved these changes
Oct 29, 2020
Contributor
There was a problem hiding this comment.
LGTM. Tested on CentOS
Installs on 4.15
Fails on 4.14
yum localinstall ./cloudstack-primate-1.0.0-20201028.x86_64.rpm
Loaded plugins: fastestmirror
Examining ./cloudstack-primate-1.0.0-20201028.x86_64.rpm: cloudstack-primate-1.0.0-20201028.x86_64
Marking ./cloudstack-primate-1.0.0-20201028.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package cloudstack-primate.x86_64 0:1.0.0-20201028 will be installed
--> Processing Dependency: cloudstack-management >= 4.15.0 for package: cloudstack-primate-1.0.0-20201028.x86_64
Loading mirror speeds from cached hostfile
base | 3.6 kB 00:00:00
cloudstack | 2.9 kB 00:00:00
epel | 4.7 kB 00:00:00
updates | 2.9 kB 00:00:00
(1/2): epel/7/x86_64/updateinfo | 1.0 MB 00:00:00
(2/2): epel/7/x86_64/primary_db | 6.9 MB 00:00:00
--> Finished Dependency Resolution
Error: Package: cloudstack-primate-1.0.0-20201028.x86_64 (/cloudstack-primate-1.0.0-20201028.x86_64)
Requires: cloudstack-management >= 4.15.0
Installed: cloudstack-management-4.14.0.0-shapeblue0.el7.x86_64 (@cloudstack)
cloudstack-management = 4.14.0.0-shapeblue0.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Pearl1594
pushed a commit
to shapeblue/cloudstack-primate
that referenced
this pull request
Nov 11, 2020
…pache#841) There are many changes, including API changes in upstream master/4.15 which makes it challenging to maintain backward compability of Primate with older versions of CloudStack. Therefore we need to ensure that the rpm and deb Primate pkgs require CloudStack 4.15 as minimum version. This would still leave some flexibility for advanced users of archive builds (which adds risks that some features don't work with 4.14 or older versions). Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
weizhouapache
pushed a commit
that referenced
this pull request
Jan 19, 2021
…841) There are many changes, including API changes in upstream master/4.15 which makes it challenging to maintain backward compability of Primate with older versions of CloudStack. Therefore we need to ensure that the rpm and deb Primate pkgs require CloudStack 4.15 as minimum version. This would still leave some flexibility for advanced users of archive builds (which adds risks that some features don't work with 4.14 or older versions). Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
There are many changes, including API changes in upstream master/4.15
which makes it challenging to maintain backward compability of Primate
with older versions of CloudStack. Therefore we need to ensure that the
rpm and deb Primate pkgs require CloudStack 4.15 as minimum version.
This would still leave some flexibility for advanced users of archive
builds (which adds risks that some features don't work with 4.14 or
older versions).