-
Notifications
You must be signed in to change notification settings - Fork 36
packaging: enforce new min. CloudStack version 4.15 starting GA/1.0 #841
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>
|
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). |
|
@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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
…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>
…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>
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).