Skip to content
This repository was archived by the owner on Jan 20, 2021. It is now read-only.

Conversation

@yadvr
Copy link
Member

@yadvr yadvr commented Oct 28, 2020

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).

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>
@yadvr yadvr added this to the 1.0-GA milestone Oct 28, 2020
@yadvr
Copy link
Member Author

yadvr commented Oct 28, 2020

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).

@yadvr
Copy link
Member Author

yadvr commented Oct 28, 2020

@blueorangutan package

@blueorangutan
Copy link

@rhtyd a Jenkins job has been kicked to build primate packages. I'll keep you posted as I make progress.

@blueorangutan
Copy link

Packaging result: ✔️centos ✔️debian ✔️archive.
QA: http://primate-qa.cloudstack.cloud:8080/client/pr/841 (JID-3629)

Copy link
Contributor

@davidjumani davidjumani left a 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

@yadvr yadvr merged commit 1a15d1e into apache:master Oct 29, 2020
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>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants