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
> 
                                          
_______________________________________________
Users mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org

Reply via email to