@Paul Angus <paul.an...@shapeblue.com> That would be great. I can gather
some of the commands and help with an automated way of building the
packages.

For building packages, I have been using two projects from Khosrow. They
basically allow building DEB and RPM packages for the distros that we
provide support.

1. Ubuntu (https://github.com/khos2ow/cloudstack-deb-builder/)
1.1  normal packages
mvn clean install
sudo docker run -v /tmp:/mnt/build -v ~/.m2:/root/.m2
khos2ow/cloudstack-deb-builder:ubuntu1604
sudo docker run -v /tmp:/mnt/build -v ~/.m2:/root/.m2
khos2ow/cloudstack-deb-builder:ubuntu1804

1.2 no redist packages
mvn clean install -Dnoredist
sudo docker run -v /tmp:/mnt/build -v ~/.m2:/root/.m2
khos2ow/cloudstack-deb-builder:ubuntu1604
sudo docker run -v /tmp:/mnt/build -v ~/.m2:/root/.m2
khos2ow/cloudstack-deb-builder:ubuntu1804

2. CentOS (https://github.com/khos2ow/cloudstack-rpm-builder)
2.1 normal packages
mvn clean install
sudo docker run -v /home/gabriel/cloudstack-git-build:/mnt/build -v
/home/gabriel/.m2:/root/.m2 khos2ow/cloudstack-rpm-builder:centos6
--distribution centos63

mvn clean install
sudo docker run -v /home/gabriel/cloudstack-git-build:/mnt/build -v
/home/gabriel/.m2:/root/.m2 khos2ow/cloudstack-rpm-builder:centos7
--distribution centos7

2.2 no redist packages
mvn clean install -Dnoredist
sudo docker run -v /tmp:/mnt/build khos2ow/cloudstack-rpm-builder:centos6
--distribution centos63 --pack noredist

mvn clean install -Dnoredist
sudo docker run -v /tmp:/mnt/build khos2ow/cloudstack-rpm-builder:centos7
--distribution centos7 --pack noredist

Once we have all packages generated we can run the scripts that will make
the packages available at dowload.cloudstack.org

Em qua, 2 de out de 2019 às 17:16, Christoffer Pedersen <v...@vrod.dk>
escreveu:

> Thank you guys, works like a charm now!
>
> Chris
>
> On Wed, Oct 2, 2019 at 1:25 AM Gabriel Beims Bräscher <
> gabrasc...@gmail.com>
> wrote:
>
> > Hello all,
> >
> > Cache has been cleaned up and (noredist) packages are now available also
> > for Ubuntu (16.04 and 18.04).
> >
> > Regards,
> > Gabriel
> >
> > Em seg, 30 de set de 2019 às 18:25, Gabriel Beims Bräscher <
> > gabrasc...@gmail.com> escreveu:
> >
> > > Hi Rohit and Christoffer,
> > >
> > > Ubuntu packages are available now. However, without the
> non-distributable
> > > packages. I will re-check, but so far the noredist packages for Ubuntu
> > are
> > > not synced and therefofre casued the issues that Christoffer mentioned.
> > > Probably a cache issue somewhere on the server.
> > >
> > > I will get back with updates as soon as figure out the noredist
> packages
> > > issue. So far packages for CentOS are available with no-redist but
> > 4.13.0.0
> > > packages for Ubuntu are available with normal packages only.
> > >
> > > Em seg, 30 de set de 2019 às 07:54, Gabriel Beims Bräscher <
> > > gabrasc...@gmail.com> escreveu:
> > >
> > >> Hi Rohit,
> > >>
> > >> I will regenerate InRelease and packages. Probably the hash mismatch
> was
> > >> caused by the repo partially being updated.
> > >>
> > >> I will check this right now.
> > >>
> > >> Em seg, 30 de set de 2019 às 06:57, Rohit Yadav <
> > >> rohit.ya...@shapeblue.com> escreveu:
> > >>
> > >>> + Gabriel, Wido
> > >>>
> > >>> Hi Christoffer, thanks for reporting.
> > >>>
> > >>> Gabriel, Wido - can you please check and fix. Thanks.
> > >>>
> > >>>
> > >>> Regards,
> > >>>
> > >>> Rohit Yadav
> > >>>
> > >>> Software Architect, ShapeBlue
> > >>> https://www.shapeblue.com
> > >>>
> > >>> rohit.ya...@shapeblue.com
> > >>> www.shapeblue.com
> > >>> @shapeblue
> > >>>
> > >>>
> > >>>
> > >>> ------------------------------
> > >>> *From:* Christoffer Pedersen <v...@vrod.dk>
> > >>> *Sent:* Sunday, September 29, 2019 12:42
> > >>> *To:* us...@cloudstack.apache.org <us...@cloudstack.apache.org>
> > >>> *Subject:* Failing to download and install cloudstack-agent from
> > >>> deb-repository (Ubuntu 18.04)
> > >>>
> > >>> Hi all,
> > >>>
> > >>> Trying for the last few days to install the cloudstack-agent on a poc
> > >>> host,
> > >>> however Ubuntu throws a checksum mismatch when using the repository..
> > >>>
> > >>> Get:1 http://download.cloudstack.org/ubuntu bionic/4.13 all
> > >>> cloudstack-common all 4.13.0.0~bionic [55.2 MB]
> > >>> Err:1 http://download.cloudstack.org/ubuntu bionic/4.13 all
> > >>> cloudstack-common all 4.13.0.0~bionic
> > >>>   File has unexpected size (55213720 != 55212960). Mirror sync in
> > >>> progress?
> > >>> [IP:185.27.174.49 80]
> > >>>   Hashes of expected file:
> > >>>    -
> > >>>
> > >>>
> >
> SHA512:c61a20d07d5d6e83bdb1301598d87fb05586abccf297071a4eeb90cf62ea34f21e00d98bb4ff7ce9a440e619b732ec0a467baf7a9517b8ac15799ebd5cfd2907
> > >>>    -
> > >>>
> SHA256:bbe0f069530acf78b0355493c8562a92a253af05dc9dc5bbd44048e97da74462
> > >>>    - SHA1:6413ecf413775660409229148f348f82d2530697 [weak]
> > >>>    - MD5Sum:fa639279be54120d0c0a3c3c94558c08 [weak]
> > >>>    - Filesize:55212960 [weak]
> > >>> Get:2 http://download.cloudstack.org/ubuntu bionic/4.13 all
> > >>> cloudstack-agent all 4.13.0.0~bionic [50.2 MB]
> > >>> Err:2 http://download.cloudstack.org/ubuntu bionic/4.13 all
> > >>> cloudstack-agent all 4.13.0.0~bionic
> > >>>   File has unexpected size (50247124 != 50242760). Mirror sync in
> > >>> progress?
> > >>> [IP:185.27.174.49 80]
> > >>>   Hashes of expected file:
> > >>>    -
> > >>>
> > >>>
> >
> SHA512:8731569fcf52b603eda540c0ac675b8af118360c77f22df88003c26eb3101152d4d59e22cafc42328f190d89260c9dfc04627d4fa15c528c7e2907a5d656be88
> > >>>    -
> > >>>
> SHA256:440ae93bd66596f2a77be51b6cb238d5b10931e01a03ff2800b33fb4b691d096
> > >>>    - SHA1:403bd4b0017b9fb5259cd294e44598b25c07a039 [weak]
> > >>>    - MD5Sum:a11875434e024ea21528d00be11caee9 [weak]
> > >>>    - Filesize:50242760 [weak]
> > >>> E: Failed to fetch
> > >>>
> > >>>
> >
> http://download.cloudstack.org/ubuntu/dists/bionic/4.13/pool/cloudstack-common_4.13.0.0~bionic_all.deb
> > >>>  File has unexpected size (55213720 !=55212960). Mirror sync in
> > progress?
> > >>> [IP: 185.27.174.49 80]
> > >>>    Hashes of expected file:
> > >>>     -
> > >>>
> > >>>
> >
> SHA512:c61a20d07d5d6e83bdb1301598d87fb05586abccf297071a4eeb90cf62ea34f21e00d98bb4ff7ce9a440e619b732ec0a467baf7a9517b8ac15799ebd5cfd2907
> > >>>     -
> > >>>
> SHA256:bbe0f069530acf78b0355493c8562a92a253af05dc9dc5bbd44048e97da74462
> > >>>     - SHA1:6413ecf413775660409229148f348f82d2530697 [weak]
> > >>>     - MD5Sum:fa639279be54120d0c0a3c3c94558c08 [weak]
> > >>>     - Filesize:55212960 [weak]
> > >>> E: Failed to fetch
> > >>>
> > >>>
> >
> http://download.cloudstack.org/ubuntu/dists/bionic/4.13/pool/cloudstack-agent_4.13.0.0~bionic_all.deb
> > >>>  File has unexpected size (50247124 !=50242760). Mirror sync in
> > progress?
> > >>> [IP: 185.27.174.49 80]
> > >>>    Hashes of expected file:
> > >>>     -
> > >>>
> > >>>
> >
> SHA512:8731569fcf52b603eda540c0ac675b8af118360c77f22df88003c26eb3101152d4d59e22cafc42328f190d89260c9dfc04627d4fa15c528c7e2907a5d656be88
> > >>>     -
> > >>>
> SHA256:440ae93bd66596f2a77be51b6cb238d5b10931e01a03ff2800b33fb4b691d096
> > >>>     - SHA1:403bd4b0017b9fb5259cd294e44598b25c07a039 [weak]
> > >>>     - MD5Sum:a11875434e024ea21528d00be11caee9 [weak]
> > >>>     - Filesize:50242760 [weak]
> > >>> E: Unable to fetch some archives, maybe run apt-get update or try
> with
> > >>> --fix-missing?
> > >>>
> > >>> Does anyone else have this issue?
> > >>>
> > >>> Chris
> > >>>
> > >>
> >
>
>
> --
> Thanks,
> Chris pedersen
>

Reply via email to