Hello J, this seems to be a bug in packaging when building master. Unfortunately it doesn't suprise me, because nobody is really testing that final packages (contrail-packages, uploaded to opencontrail's Launchpad) works (it just builds packages).
We are currently building R2.21 from custom fork of contrail-packages [1] because some of our important fixes are still not merged upstream [2][3][4] If you want to make your life easier, build R2.21 using our fork or use our packages on Launchpad [5] which is what we are using in production and IMHO only build of contrail-packages that is fully working. Otherwise you will need to fix bugs in contrail-packages (and contribute upstream) - I can help with this, because they will probably affect us as well in next release. Filip --- [1] https://github.com/tcpcloud/contrail-packages/tree/R2.20 [2] https://review.opencontrail.org/#/c/12237/ [3] https://review.opencontrail.org/#/c/12442/ [4] https://review.opencontrail.org/#/c/12572/ [5] https://launchpad.net/~tcpcloud/+archive/ubuntu/contrail-2.20 On 2015/11/26 14:31, Ja. C.A. wrote: > Hi Filip > > would you happen to know the reason for these logs? > > contrail-webui-stdout.log: > supervisor: couldn't chdir to /usr/src/contrail/contrail-web-core: ENOENT > > contrail-webui-middleware-stdout.log: > supervisor: couldn't chdir to /usr/src/contrail/contrail-web-core: ENOENT > > > after creating that dir with "mkdir -p /usr/src/contrail/contrail-web-core" I > get: > contrail-webui-stdout.log: > bash: node: command not found > > contrail-webui-middleware-stdout.log: > bash: node: command not found > > > now, after sym-linking nodejs with "ln -s /usr/bin/nodejs /usr/bin/node" I get > contrail-webui-stdout.log: > contrail-webui-middleware-stdout.log: > > > module.js:340 > throw err; > ^ > Error: Cannot find module > '/usr/src/contrail/contrail-web-core/jobServerStart.js' > at Function.Module._resolveFilename (module.js:338:15) > at Function.Module._load (module.js:280:25) > at Function.Module.runMain (module.js:497:10) > at startup (node.js:119:16) > at node.js:902:3 > > > > I've built (master branches) my own deb packages following > https://fpy.cz/wiki/howto/build_contrail > > Cheers, > J > > > Date: Thu, 12 Nov 2015 16:13:16 +0100 > > From: [email protected] > > To: [email protected] > > CC: [email protected] > > Subject: Re: [Users] Building deb packages > > > > Hello, > > > > unfortunately this topic is not documented very well and required some > > reverse engineering. > > > > contrail-packaging is used to build packages for ISO distribution, this > > is not something you want to use as it's not in a very good quality. > > > > contrail-packages is in better quality, still not ideal but best > > available, it pressumes that contrail-vnc is used to get all the > > sources. These packages are available on opencontrail's Launchpad: > > https://launchpad.net/~opencontrail > > > > I have written howto some time ago about building opencontrail packages > > using pbuilder - https://fpy.cz/wiki/howto/build_contrail > > Currently we are using very similar approach to build opencontrail > > automatically and upload packages on our Launchpad archive: > > https://launchpad.net/~tcpcloud/+archive/ubuntu/contrail-2.20 > > These packages are similar to opencontrail's but has some fixes and > > features backported. Basically it's what we are using in production. > > > > Anyway if you decide to build opencontrail on your own and possibly do > > some packaging fixes, please try to contribute back upstream [1] > > > > Filip > > > > --- > > [1] > > https://review.opencontrail.org/#/q/status:open+project:Juniper/contrail-packages,n,z > > > > On 2015/11/12 14:33, Ja. C.A. wrote: > > > Hello list, > > > > > > what's the best method to build opencontrail deb packages? I've found > > > these: > > > - http://juniper.github.io/contrail-vnc/README.html > > > - https://github.com/Juniper/contrail-packaging > > > - https://github.com/Juniper/contrail-packages > > > > > > and some others related with devstack, which is not my goal. What I want > > > are ubuntu 14.04 compatible packages from the trunk opencontrail. > > > > > > Thanks in advance. > > > J. > > > > > > > > > > > > > > > > > _______________________________________________ > > > Users mailing list > > > [email protected] > > > http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org > > >
signature.asc
Description: Digital signature
_______________________________________________ Users mailing list [email protected] http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org
