You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Vladimir Melnik <v....@uplink.ua> on 2019/04/22 10:04:00 UTC
Trying to build the EL6 packages, getting the EL7 ones
Dear colleagues,
I'm trying to build the CentOS6-compatible packages (using this document: http://docs.cloudstack.apache.org/en/latest/installguide/building_from_source.html#building-rpms-from-source), running `./package.sh -d centos63`, but the files I get have the "el7" suffix in their names:
cloudstack-agent-4.11.2.0-1.el7.centos.x86_64.rpm
cloudstack-baremetal-agent-4.11.2.0-1.el7.centos.x86_64.rpm
cloudstack-cli-4.11.2.0-1.el7.centos.x86_64.rpm
cloudstack-common-4.11.2.0-1.el7.centos.x86_64.rpm
cloudstack-integration-tests-4.11.2.0-1.el7.centos.x86_64.rpm
cloudstack-management-4.11.2.0-1.el7.centos.x86_64.rpm
cloudstack-marvin-4.11.2.0-1.el7.centos.x86_64.rpm
cloudstack-usage-4.11.2.0-1.el7.centos.x86_64.rpm
Am I doing it wrong?
Thanks in advance for the clue!
Re: Trying to build the EL6 packages, getting the EL7 ones
Posted by Vladimir Melnik <v....@uplink.ua>.
Thank you, it has helped me very much!
On Thu, Apr 25, 2019 at 01:59:29PM +0200, Andrija Panic wrote:
> Correct - yes.
>
> Best,
>
> On Thu, 25 Apr 2019 at 13:45, Vladimir Melnik <v....@uplink.ua> wrote:
>
> > Thank you Andrija! I've pulled the image, started /bin/bash in this
> > contaner, is it an environment to build ACS for EL6, right?
> >
> > On Wed, Apr 24, 2019 at 05:31:21PM +0000, Andrija Panic wrote:
> > > Hi Vladimir,
> > >
> > > You have to use CentOS 6 host or do some magic with Docker on whatever
> > host: https://hub.docker.com/r/bhaisaab/centos6-cloudstack-slave
> > >
> > > Best,
> > > Andrija
> > >
> > >
> > > andrija.panic@shapeblue.com
> > > www.shapeblue.com
> > > Amadeus House, Floral Street, London WC2E 9DPUK
> > > @shapeblue
> > >
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: Vladimir Melnik <v....@uplink.ua>
> > > Sent: 24 April 2019 08:34
> > > To: dev@cloudstack.apache.org
> > > Subject: Trying to build the EL6 packages, getting the EL7 ones
> > >
> > > Hello,
> > >
> > > I asked this question in users@, but didn't get any ideas, so I'll be
> > hoping that dev@ could help.
> > >
> > > I'm trying to build the CentOS6-compatible packages (using this
> > document:
> > http://docs.cloudstack.apache.org/en/latest/installguide/building_from_source.html#building-rpms-from-source),
> > running `./package.sh -d centos63`, but the files I get have the "el7"
> > suffix in their names:
> > > cloudstack-agent-4.11.2.0-1.el7.centos.x86_64.rpm
> > > cloudstack-baremetal-agent-4.11.2.0-1.el7.centos.x86_64.rpm
> > > cloudstack-cli-4.11.2.0-1.el7.centos.x86_64.rpm
> > > cloudstack-common-4.11.2.0-1.el7.centos.x86_64.rpm
> > > cloudstack-integration-tests-4.11.2.0-1.el7.centos.x86_64.rpm
> > > cloudstack-management-4.11.2.0-1.el7.centos.x86_64.rpm
> > > cloudstack-marvin-4.11.2.0-1.el7.centos.x86_64.rpm
> > > cloudstack-usage-4.11.2.0-1.el7.centos.x86_64.rpm
> > >
> > > Am I doing it wrong?
> > >
> > > Thanks in advance for the clue!
> > >
> > > --
> > > V.Melnik
> >
> > --
> > V.Melnik
> >
>
>
> --
>
> Andrija Panić
--
V.Melnik
Re: Trying to build the EL6 packages, getting the EL7 ones
Posted by Vladimir Melnik <v....@uplink.ua>.
Thank you, it's a very handy tool!
On Thu, Apr 25, 2019 at 05:15:15PM -0400, Khosrow Moossavi wrote:
> Hi Vladimir
>
> You need to build the RPMs *on* CentOS 6 machines to be able to have el6 in
> the name.
> Or as an alternative you can use
> https://khos2ow.github.io/cloudstack-rpm-builder/ which contains all the
> required tools to build RPMs.
>
>
>
>
> On Thu, Apr 25, 2019 at 7:59 AM Andrija Panic <an...@gmail.com>
> wrote:
>
> > Correct - yes.
> >
> > Best,
> >
> > On Thu, 25 Apr 2019 at 13:45, Vladimir Melnik <v....@uplink.ua> wrote:
> >
> > > Thank you Andrija! I've pulled the image, started /bin/bash in this
> > > contaner, is it an environment to build ACS for EL6, right?
> > >
> > > On Wed, Apr 24, 2019 at 05:31:21PM +0000, Andrija Panic wrote:
> > > > Hi Vladimir,
> > > >
> > > > You have to use CentOS 6 host or do some magic with Docker on whatever
> > > host: https://hub.docker.com/r/bhaisaab/centos6-cloudstack-slave
> > > >
> > > > Best,
> > > > Andrija
> > > >
> > > >
> > > > andrija.panic@shapeblue.com
> > > > www.shapeblue.com
> > > > Amadeus House, Floral Street, London WC2E 9DPUK
> > > > @shapeblue
> > > >
> > > >
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Vladimir Melnik <v....@uplink.ua>
> > > > Sent: 24 April 2019 08:34
> > > > To: dev@cloudstack.apache.org
> > > > Subject: Trying to build the EL6 packages, getting the EL7 ones
> > > >
> > > > Hello,
> > > >
> > > > I asked this question in users@, but didn't get any ideas, so I'll be
> > > hoping that dev@ could help.
> > > >
> > > > I'm trying to build the CentOS6-compatible packages (using this
> > > document:
> > >
> > http://docs.cloudstack.apache.org/en/latest/installguide/building_from_source.html#building-rpms-from-source
> > ),
> > > running `./package.sh -d centos63`, but the files I get have the "el7"
> > > suffix in their names:
> > > > cloudstack-agent-4.11.2.0-1.el7.centos.x86_64.rpm
> > > > cloudstack-baremetal-agent-4.11.2.0-1.el7.centos.x86_64.rpm
> > > > cloudstack-cli-4.11.2.0-1.el7.centos.x86_64.rpm
> > > > cloudstack-common-4.11.2.0-1.el7.centos.x86_64.rpm
> > > > cloudstack-integration-tests-4.11.2.0-1.el7.centos.x86_64.rpm
> > > > cloudstack-management-4.11.2.0-1.el7.centos.x86_64.rpm
> > > > cloudstack-marvin-4.11.2.0-1.el7.centos.x86_64.rpm
> > > > cloudstack-usage-4.11.2.0-1.el7.centos.x86_64.rpm
> > > >
> > > > Am I doing it wrong?
> > > >
> > > > Thanks in advance for the clue!
> > > >
> > > > --
> > > > V.Melnik
> > >
> > > --
> > > V.Melnik
> > >
> >
> >
> > --
> >
> > Andrija Panić
> >
--
V.Melnik
Re: Trying to build the EL6 packages, getting the EL7 ones
Posted by Khosrow Moossavi <km...@cloudops.com>.
Hi Vladimir
You need to build the RPMs *on* CentOS 6 machines to be able to have el6 in
the name.
Or as an alternative you can use
https://khos2ow.github.io/cloudstack-rpm-builder/ which contains all the
required tools to build RPMs.
On Thu, Apr 25, 2019 at 7:59 AM Andrija Panic <an...@gmail.com>
wrote:
> Correct - yes.
>
> Best,
>
> On Thu, 25 Apr 2019 at 13:45, Vladimir Melnik <v....@uplink.ua> wrote:
>
> > Thank you Andrija! I've pulled the image, started /bin/bash in this
> > contaner, is it an environment to build ACS for EL6, right?
> >
> > On Wed, Apr 24, 2019 at 05:31:21PM +0000, Andrija Panic wrote:
> > > Hi Vladimir,
> > >
> > > You have to use CentOS 6 host or do some magic with Docker on whatever
> > host: https://hub.docker.com/r/bhaisaab/centos6-cloudstack-slave
> > >
> > > Best,
> > > Andrija
> > >
> > >
> > > andrija.panic@shapeblue.com
> > > www.shapeblue.com
> > > Amadeus House, Floral Street, London WC2E 9DPUK
> > > @shapeblue
> > >
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: Vladimir Melnik <v....@uplink.ua>
> > > Sent: 24 April 2019 08:34
> > > To: dev@cloudstack.apache.org
> > > Subject: Trying to build the EL6 packages, getting the EL7 ones
> > >
> > > Hello,
> > >
> > > I asked this question in users@, but didn't get any ideas, so I'll be
> > hoping that dev@ could help.
> > >
> > > I'm trying to build the CentOS6-compatible packages (using this
> > document:
> >
> http://docs.cloudstack.apache.org/en/latest/installguide/building_from_source.html#building-rpms-from-source
> ),
> > running `./package.sh -d centos63`, but the files I get have the "el7"
> > suffix in their names:
> > > cloudstack-agent-4.11.2.0-1.el7.centos.x86_64.rpm
> > > cloudstack-baremetal-agent-4.11.2.0-1.el7.centos.x86_64.rpm
> > > cloudstack-cli-4.11.2.0-1.el7.centos.x86_64.rpm
> > > cloudstack-common-4.11.2.0-1.el7.centos.x86_64.rpm
> > > cloudstack-integration-tests-4.11.2.0-1.el7.centos.x86_64.rpm
> > > cloudstack-management-4.11.2.0-1.el7.centos.x86_64.rpm
> > > cloudstack-marvin-4.11.2.0-1.el7.centos.x86_64.rpm
> > > cloudstack-usage-4.11.2.0-1.el7.centos.x86_64.rpm
> > >
> > > Am I doing it wrong?
> > >
> > > Thanks in advance for the clue!
> > >
> > > --
> > > V.Melnik
> >
> > --
> > V.Melnik
> >
>
>
> --
>
> Andrija Panić
>
Re: Trying to build the EL6 packages, getting the EL7 ones
Posted by Andrija Panic <an...@gmail.com>.
Correct - yes.
Best,
On Thu, 25 Apr 2019 at 13:45, Vladimir Melnik <v....@uplink.ua> wrote:
> Thank you Andrija! I've pulled the image, started /bin/bash in this
> contaner, is it an environment to build ACS for EL6, right?
>
> On Wed, Apr 24, 2019 at 05:31:21PM +0000, Andrija Panic wrote:
> > Hi Vladimir,
> >
> > You have to use CentOS 6 host or do some magic with Docker on whatever
> host: https://hub.docker.com/r/bhaisaab/centos6-cloudstack-slave
> >
> > Best,
> > Andrija
> >
> >
> > andrija.panic@shapeblue.com
> > www.shapeblue.com
> > Amadeus House, Floral Street, London WC2E 9DPUK
> > @shapeblue
> >
> >
> >
> >
> > -----Original Message-----
> > From: Vladimir Melnik <v....@uplink.ua>
> > Sent: 24 April 2019 08:34
> > To: dev@cloudstack.apache.org
> > Subject: Trying to build the EL6 packages, getting the EL7 ones
> >
> > Hello,
> >
> > I asked this question in users@, but didn't get any ideas, so I'll be
> hoping that dev@ could help.
> >
> > I'm trying to build the CentOS6-compatible packages (using this
> document:
> http://docs.cloudstack.apache.org/en/latest/installguide/building_from_source.html#building-rpms-from-source),
> running `./package.sh -d centos63`, but the files I get have the "el7"
> suffix in their names:
> > cloudstack-agent-4.11.2.0-1.el7.centos.x86_64.rpm
> > cloudstack-baremetal-agent-4.11.2.0-1.el7.centos.x86_64.rpm
> > cloudstack-cli-4.11.2.0-1.el7.centos.x86_64.rpm
> > cloudstack-common-4.11.2.0-1.el7.centos.x86_64.rpm
> > cloudstack-integration-tests-4.11.2.0-1.el7.centos.x86_64.rpm
> > cloudstack-management-4.11.2.0-1.el7.centos.x86_64.rpm
> > cloudstack-marvin-4.11.2.0-1.el7.centos.x86_64.rpm
> > cloudstack-usage-4.11.2.0-1.el7.centos.x86_64.rpm
> >
> > Am I doing it wrong?
> >
> > Thanks in advance for the clue!
> >
> > --
> > V.Melnik
>
> --
> V.Melnik
>
--
Andrija Panić
Re: Trying to build the EL6 packages, getting the EL7 ones
Posted by Vladimir Melnik <v....@uplink.ua>.
Thank you Andrija! I've pulled the image, started /bin/bash in this contaner, is it an environment to build ACS for EL6, right?
On Wed, Apr 24, 2019 at 05:31:21PM +0000, Andrija Panic wrote:
> Hi Vladimir,
>
> You have to use CentOS 6 host or do some magic with Docker on whatever host: https://hub.docker.com/r/bhaisaab/centos6-cloudstack-slave
>
> Best,
> Andrija
>
>
> andrija.panic@shapeblue.com
> www.shapeblue.com
> Amadeus House, Floral Street, London WC2E 9DPUK
> @shapeblue
>
>
>
>
> -----Original Message-----
> From: Vladimir Melnik <v....@uplink.ua>
> Sent: 24 April 2019 08:34
> To: dev@cloudstack.apache.org
> Subject: Trying to build the EL6 packages, getting the EL7 ones
>
> Hello,
>
> I asked this question in users@, but didn't get any ideas, so I'll be hoping that dev@ could help.
>
> I'm trying to build the CentOS6-compatible packages (using this document: http://docs.cloudstack.apache.org/en/latest/installguide/building_from_source.html#building-rpms-from-source), running `./package.sh -d centos63`, but the files I get have the "el7" suffix in their names:
> cloudstack-agent-4.11.2.0-1.el7.centos.x86_64.rpm
> cloudstack-baremetal-agent-4.11.2.0-1.el7.centos.x86_64.rpm
> cloudstack-cli-4.11.2.0-1.el7.centos.x86_64.rpm
> cloudstack-common-4.11.2.0-1.el7.centos.x86_64.rpm
> cloudstack-integration-tests-4.11.2.0-1.el7.centos.x86_64.rpm
> cloudstack-management-4.11.2.0-1.el7.centos.x86_64.rpm
> cloudstack-marvin-4.11.2.0-1.el7.centos.x86_64.rpm
> cloudstack-usage-4.11.2.0-1.el7.centos.x86_64.rpm
>
> Am I doing it wrong?
>
> Thanks in advance for the clue!
>
> --
> V.Melnik
--
V.Melnik
RE: Trying to build the EL6 packages, getting the EL7 ones
Posted by Andrija Panic <an...@shapeblue.com>.
Hi Vladimir,
You have to use CentOS 6 host or do some magic with Docker on whatever host: https://hub.docker.com/r/bhaisaab/centos6-cloudstack-slave
Best,
Andrija
andrija.panic@shapeblue.com
www.shapeblue.com
Amadeus House, Floral Street, London WC2E 9DPUK
@shapeblue
-----Original Message-----
From: Vladimir Melnik <v....@uplink.ua>
Sent: 24 April 2019 08:34
To: dev@cloudstack.apache.org
Subject: Trying to build the EL6 packages, getting the EL7 ones
Hello,
I asked this question in users@, but didn't get any ideas, so I'll be hoping that dev@ could help.
I'm trying to build the CentOS6-compatible packages (using this document: http://docs.cloudstack.apache.org/en/latest/installguide/building_from_source.html#building-rpms-from-source), running `./package.sh -d centos63`, but the files I get have the "el7" suffix in their names:
cloudstack-agent-4.11.2.0-1.el7.centos.x86_64.rpm
cloudstack-baremetal-agent-4.11.2.0-1.el7.centos.x86_64.rpm
cloudstack-cli-4.11.2.0-1.el7.centos.x86_64.rpm
cloudstack-common-4.11.2.0-1.el7.centos.x86_64.rpm
cloudstack-integration-tests-4.11.2.0-1.el7.centos.x86_64.rpm
cloudstack-management-4.11.2.0-1.el7.centos.x86_64.rpm
cloudstack-marvin-4.11.2.0-1.el7.centos.x86_64.rpm
cloudstack-usage-4.11.2.0-1.el7.centos.x86_64.rpm
Am I doing it wrong?
Thanks in advance for the clue!
--
V.Melnik
Trying to build the EL6 packages, getting the EL7 ones
Posted by Vladimir Melnik <v....@uplink.ua>.
Hello,
I asked this question in users@, but didn't get any ideas, so I'll be hoping that dev@ could help.
I'm trying to build the CentOS6-compatible packages (using this document: http://docs.cloudstack.apache.org/en/latest/installguide/building_from_source.html#building-rpms-from-source), running `./package.sh -d centos63`, but the files I get have the "el7" suffix in their names:
cloudstack-agent-4.11.2.0-1.el7.centos.x86_64.rpm
cloudstack-baremetal-agent-4.11.2.0-1.el7.centos.x86_64.rpm
cloudstack-cli-4.11.2.0-1.el7.centos.x86_64.rpm
cloudstack-common-4.11.2.0-1.el7.centos.x86_64.rpm
cloudstack-integration-tests-4.11.2.0-1.el7.centos.x86_64.rpm
cloudstack-management-4.11.2.0-1.el7.centos.x86_64.rpm
cloudstack-marvin-4.11.2.0-1.el7.centos.x86_64.rpm
cloudstack-usage-4.11.2.0-1.el7.centos.x86_64.rpm
Am I doing it wrong?
Thanks in advance for the clue!
--
V.Melnik
Re: Trying to build the EL6 packages, getting the EL7 ones
Posted by Vladimir Melnik <v....@uplink.ua>.
Thank you!
But I need to perform certain tests on CentOS-6 before to confirm that the patch I proposed is 100% correct. I tested it on CentOS-7, but I also would like to make sure that CentOS-6 will work fine as well.
On Mon, Apr 22, 2019 at 02:57:22PM +0100, Richard Lawley wrote:
> If you're doing this because the official repo doesn't contain the
> latest version then you can use this repo instead to get el6 packages
>
> http://packages.shapeblue.com/cloudstack/upstream/centos/4.11/
>
> On Mon, 22 Apr 2019, 11:04 Vladimir Melnik, <v....@uplink.ua> wrote:
>
> > Dear colleagues,
> >
> > I'm trying to build the CentOS6-compatible packages (using this document:
> > http://docs.cloudstack.apache.org/en/latest/installguide/building_from_source.html#building-rpms-from-source),
> > running `./package.sh -d centos63`, but the files I get have the "el7"
> > suffix in their names:
> > cloudstack-agent-4.11.2.0-1.el7.centos.x86_64.rpm
> > cloudstack-baremetal-agent-4.11.2.0-1.el7.centos.x86_64.rpm
> > cloudstack-cli-4.11.2.0-1.el7.centos.x86_64.rpm
> > cloudstack-common-4.11.2.0-1.el7.centos.x86_64.rpm
> > cloudstack-integration-tests-4.11.2.0-1.el7.centos.x86_64.rpm
> > cloudstack-management-4.11.2.0-1.el7.centos.x86_64.rpm
> > cloudstack-marvin-4.11.2.0-1.el7.centos.x86_64.rpm
> > cloudstack-usage-4.11.2.0-1.el7.centos.x86_64.rpm
> >
> > Am I doing it wrong?
> >
> > Thanks in advance for the clue!
> >
--
V.Melnik
Re: Trying to build the EL6 packages, getting the EL7 ones
Posted by Richard Lawley <ri...@richardlawley.com>.
If you're doing this because the official repo doesn't contain the
latest version then you can use this repo instead to get el6 packages
http://packages.shapeblue.com/cloudstack/upstream/centos/4.11/
On Mon, 22 Apr 2019, 11:04 Vladimir Melnik, <v....@uplink.ua> wrote:
> Dear colleagues,
>
> I'm trying to build the CentOS6-compatible packages (using this document:
> http://docs.cloudstack.apache.org/en/latest/installguide/building_from_source.html#building-rpms-from-source),
> running `./package.sh -d centos63`, but the files I get have the "el7"
> suffix in their names:
> cloudstack-agent-4.11.2.0-1.el7.centos.x86_64.rpm
> cloudstack-baremetal-agent-4.11.2.0-1.el7.centos.x86_64.rpm
> cloudstack-cli-4.11.2.0-1.el7.centos.x86_64.rpm
> cloudstack-common-4.11.2.0-1.el7.centos.x86_64.rpm
> cloudstack-integration-tests-4.11.2.0-1.el7.centos.x86_64.rpm
> cloudstack-management-4.11.2.0-1.el7.centos.x86_64.rpm
> cloudstack-marvin-4.11.2.0-1.el7.centos.x86_64.rpm
> cloudstack-usage-4.11.2.0-1.el7.centos.x86_64.rpm
>
> Am I doing it wrong?
>
> Thanks in advance for the clue!
>