Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-10291

unable to package 4.11 for cents 7

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.11.0.0
    • 4.11.0.0
    • Install and Setup
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None
    • centos7

    Description

      Apologies if I've missed something or this is not the right place, I'm keen to get rocking with cloudstack and this is preventing me from getting this into production.

      As your site advertises the current LTS release being 4.11 I've been trying to get this running, I notice there are no community released RPM's and want to mange the installations via yum.

      I've followed the docs shipped with the source to create the packages and get stuck at the same point - either by using the released sources, or by checking out the git repository on the 4.11 branch (version 4.11.0.1-SNAPSHOT.el7).

      After building, I pop to the package directory and set things off but end up with the following packaging error -

      [root@XNET packaging]# ./package.sh --p noredist -d centos7
       --pack:simulator:distribution:release noredist -d centos7 --
      Preparing to package Apache CloudStack 4.11.0.1-SNAPSHOT
      . preparing source tarball
      . executing rpmbuild
      error: Failed build dependencies:
       maven >= 3.0.0 is needed by cloudstack-4.11.0.1-SNAPSHOT.el7.centos.x86_64
      RPM Build Failed

      However - maven version is 3.5 -

      [root@XNET packaging]# mvn -v
      Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T08:58:13+01:00)
      Maven home: /usr/local/maven
      Java version: 1.8.0_161, vendor: Oracle Corporation
      Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-0.b14.el7_4.x86_64/jre
      Default locale: en_GB, platform encoding: UTF-8
      OS name: "linux", version: "3.10.0-693.11.6.el7.x86_64", arch: "amd64", family: "unix"

      Completely stuck here and unable to build the packages - have I missed something, is it possible to use this version yet? As LTS is ending in a few months on 4.9 and 4.10 is not listed with LTS support we're keen to get this version running.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            web-engineer Craig Lawson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: