On Tue, Dec 13, 2016 at 2:00 PM, Michael Henkel <mhen...@juniper.net> wrote:

> You might be able to use this as a reference:
>
>
>
> https://github.com/michaelhenkel/opencontrail-centos-build
>
>
>
> Regards,
>
> Michael
>
>
>
> *From: *Users <users-boun...@lists.opencontrail.org> on behalf of Amit
> Bondwal <bondwal.a...@gmail.com>
> *Date: *Tuesday, December 13, 2016 at 7:45 AM
> *To: *"users@lists.opencontrail.org" <users@lists.opencontrail.org>
> *Subject: *[Users] How to create a contrail RPM package
>
>
>
> Hi Everyone,
>
> I am setting up a POC( Proof Of concept ) setup of Mirantis Openstack with
> Contrail. I am struck at contrail, I have to create contrail rpm package
> for this.
>
> I searched a lot but not found any suitable guide. Then I tried
> contrail-packaging, it take a lot of time to resolve repo, third party
> packages issue with this, in the end I struck with
>
> ./packager.py --build-id 1 --sku mitaka -p DEFAULT
>
> error
> ###################
> [2016-12-13 06-14-13: main]
> [2016-12-13 06-14-16: packager.py:334:main: ERROR] ** Packager Failed **
> [2016-12-13 06-14-16: main] Copying available built packages to
> (/root/contrail-packaging/build/build/artifacts)
> [2016-12-13 06-14-25: main] ******************************
> ************************************************
> [2016-12-13 06-14-25: main] Packager completed with ERRORs...
> [2016-12-13 06-14-25: main] Reprinting ALL ERRORS...
> [2016-12-13 06-14-16: packager.py:334:main: ERROR] ** Packager Failed **
> [2016-12-13 06-14-25: packager.py:348:main: ERROR] View detailed logs at
> (/root/contrail-packaging/build/build/logs/packager_1_121316061409.log)
> [2016-12-13 06-14-25: main] Execution Duration: 0:00:11.834510
> [2016-12-13 06-14-25: packager.py:310:<lambda>: ERROR] ERROR
> Traceback (most recent call last):
>   File "./packager.py", line 360, in <module>
>     main()
>   File "./packager.py", line 331, in main
>     packer.ks_build()
>   File "/root/contrail-packaging/build/libs/packager/common.py", line
> 124, in ks_build
>     pkgtypes = self.rearrange_types(pkgtypes)
>   File "/root/contrail-packaging/build/libs/packager/common.py", line 81,
> in rearrange_types
>     if not pkgtype in pkgs_dict[pkgtype].keys():
> UnboundLocalError: local variable 'pkgs_dict' referenced before assignment
> ###########################
>
>
>
> I tried to set this pkgs_dict with global then indention error comes not
> able to resolve this.
>
> Is their other way to create rpm of contrail packages, it will be very
> helpful if you could redirect me to that direction.
>
> --
>
> Thanks
>
> Amit Bondwal
>



Thanks Michael for this link, when I run this script it created zookeeper
and some other rpm packages, could you redirect me how can I create
contrail-install package with this.

@Serhii Lystopad : I tried to search for contrail rpm packages repo of
tcpcloud but did not get it, it will very helpfule if you could provide any
link.
_______________________________________________
Users mailing list
Users@lists.opencontrail.org
http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org

Reply via email to