[Starlingx-discuss] [MultiOS] How to deploy STX in other linux systems?

Victor Rodriguez vm.rod25 at gmail.com
Wed May 1 22:41:55 UTC 2019


I forgot to mention , in the end this is the result after build horizon:

vmrod at vmrod-VirtualBox:~/stx-packaging$ ls /usr/local/mydebs/
horizon-doc_14.0.2-3_all.deb                 python3-osprofiler_2.3.0-3_all.deb
openstack-dashboard_14.0.2-3_all.deb
python-oslo.concurrency_3.27.0-3_all.deb
openstack-dashboard-apache_14.0.2-3_all.deb
python-oslo.concurrency-doc_3.27.0-3_all.deb
Packages.gz                                  python-osprofiler_2.3.0-3_all.deb
python3-django-horizon_14.0.2-3_all.deb
python-osprofiler-doc_2.3.0-3_all.deb
python3-oslo.concurrency_3.27.0-3_all.deb

Regards

Victor R

On Wed, May 1, 2019 at 5:33 PM Victor Rodriguez <vm.rod25 at gmail.com> wrote:
>
> Hi Kunpeng
>
> After working on fixing this bug, I was able to build horizon with a
> workaround, here the details:
>
> 1) the bug is due to the lower version installed in the chroot of
> pbuilder. for example when we do a pbuilder login
>
> we can try to apt-get install python3-osprofiler and it will get :
>
> Setting up python3-osprofiler (1.15.2-0ubuntu1)
>
> But the dsc file of horizon set:
>
> Depends: python3-osprofiler (>= 2.3.0) but it is not going to be installed
>
> It seems that when I updated the README the bionic repo in ubuntu
> 18.04 was providing the correct versions.
>
> 2) It seems to be necessary to specify a missing ubuntu repository, in
> Debian sid seems to be a valid repository to have these versions:
>
> https://packages.debian.org/sid/python-oslo.concurrency
>
> I will work tomorrow with Marcela since she face the same problem
> yesterday and add them in the pbuilderc file
>
> 3 ) The simples work around ( work for me ) was to build the build
> dependencies using the same tooling we privide ( good we have a simple
> way ) inside stx-packaging:
>
> make upstream_pkg PKG=python3-oslo.concurrency
> make upstream_pkg PKG=python3-osprofiler
>
> ( these were the one mising in my case ) in your case you have to build
>
> The following packages have unmet dependencies:
> Depends: openstack-pkg-tools (>= 23~)
> python-sphinx
> python-mox3 (>= 0.7.0)
> python-oslo.concurrency (>= 3.7.1)
> python-oslosphinx (>= 2.5.0)
>
> After that, your deb files should be in
>
> ls /usr/local/mydebs/
> Packages.gz
> python-oslo.concurrency_3.27.0-3_all.deb
> python-osprofiler-doc_2.3.0-3_all.deb
> python3-oslo.concurrency_3.27.0-3_all.deb
> python-oslo.concurrency-doc_3.27.0-3_all.deb
> python3-osprofiler_2.3.0-3_all.deb         python-osprofiler_2.3.0-3_all.deb
>
> once you have fulfilled all your build dependencies you will be able
> to re-run your command
>
> make package PKG=x.stx-upstream/openstack/python-horizon/ DISTRO=ubuntu
>
> 4) I am using ubuntu 18.04 this is an example of my repos:
>
> deb http://mx.archive.ubuntu.com/ubuntu/ bionic main restricted
> deb-src http://mx.archive.ubuntu.com/ubuntu/ bionic main restricted
>
> let me know what do you have in your case.
>
> I will try a hack proposed to use multiple repos according to what
> distribution we want to build:
>
> https://wiki.debian.org/PbuilderTricks#How_to_build_for_different_distributions
>
> In the meantime let me know if this workaround works for you, hope it helps
>
> Regards
>
> Victor R
>
>
> On Tue, Apr 30, 2019 at 11:44 AM Victor Rodriguez <vm.rod25 at gmail.com> wrote:
> >
> > Hi Kunpeng
> >
> > We are able to see the same error, we will be working on the fix asap,
> > thanks for using the build system and report the issue
> >
> > Regards
> >
> > Victor R
> >
> > On Mon, Apr 29, 2019 at 2:15 AM 张鲲鹏 <zhang.kunpeng at 99cloud.net> wrote:
> > >
> > > Hi Victor,
> > >
> > > I got one error when I was building python-horizon in ubuntu 16.04 with this command "make package PKG=x.stx-upstream/openstack/python-horizon/ DISTRO=ubuntu”.
> > >
> > >
> > > Below is the last log:
> > >
> > > 0 packages upgraded, 130 newly installed, 0 to remove and 0 not upgraded.
> > > Need to get 15.8 MB/35.5 MB of archives. After unpacking 173 MB will be used.
> > > Abort.
> > > E: pbuilder-satisfydepends failed.
> > > I: Copying back the cached apt archive contents
> > > I: unmounting /usr/local/mydebs/ filesystem
> > > I: unmounting dev/pts filesystem
> > > I: unmounting run/shm filesystem
> > > I: unmounting proc filesystem
> > > I: cleaning the build env
> > > I: removing directory /var/cache/pbuilder/build/15050 and its subdirectories
> > > Makefile:5: recipe for target 'all' failed
> > > make[1]: *** [all] Error 1
> > > make[1]: Leaving directory '/home/ubuntu/stx-packaging/x.stx-upstream/openstack/python-horizon/ubuntu'
> > > Makefile:25: recipe for target 'build_pkg_native' failed
> > > make: *** [build_pkg_native] Error 2
> > >
> > >
> > > Is there a lack of some configurations?
> > >
> > > Thanks
> > > Kunpeng
> > >
> > >
> > >
> > >
> > > On Apr 25, 2019, at 00:03, Victor Rodriguez <vm.rod25 at gmail.com> wrote:
> > >
> > > https://wiki.openstack.org/wiki/StarlingX/Installation_Guide_Virtual_Environment/Controller_Storage
> > >
> > >



More information about the Starlingx-discuss mailing list