Content was moved to https://github.com/tungstenfabric/tf-vnc
juniper / contrail-vnc Goto Github PK
View Code? Open in Web Editor NEWContrail Virtual Network Controller
Home Page: www.opencontrail.org
Contrail Virtual Network Controller
Home Page: www.opencontrail.org
Content was moved to https://github.com/tungstenfabric/tf-vnc
Hi GUys,
I couldn't find another place, thus am asking here.
Does the contrail build support parallel builds ?
My intent is to speeded up the build by utilizing all the cores on the box. But when I run make in parallel, the build fails.
Is it supported ?
Following the instructions from http://juniper.github.io/contrail-vnc/README.html , I call scons
to start the build process. After a while, I get:
/home/tom/tmp/contrail-vnc/build/include/boost/lexical_cast.hpp:1426:17: note: in expansion of macro ‘BOOST_STATIC_ASSERT_MSG’
BOOST_STATIC_ASSERT_MSG(( sizeof(CharT) == sizeof(T) ),
^
/home/tom/tmp/contrail-vnc/third_party/thrift-0.8.0/lib/cpp/src/transport/TSSLSocket.cpp: At global scope:
/home/tom/tmp/contrail-vnc/third_party/thrift-0.8.0/lib/cpp/src/transport/TSSLSocket.cpp:350:1: error: reference to ‘uint64_t’ is ambiguous
uint64_t TSSLSocketFactory::count_ = 0;
^
In file included from /usr/lib64/gcc/x86_64-suse-linux/5/include/stdint.h:9:0,
from /usr/include/netinet/in.h:22,
from /usr/include/arpa/inet.h:22,
from /home/tom/tmp/contrail-vnc/third_party/thrift-0.8.0/lib/cpp/src/transport/TSSLSocket.cpp:26:
/usr/include/stdint.h:55:27: note: candidates are: typedef long unsigned int uint64_t
typedef unsigned long int uint64_t;
^
In file included from /home/tom/tmp/contrail-vnc/build/include/boost/numeric/conversion/numeric_cast_traits.hpp:31:0,
from /home/tom/tmp/contrail-vnc/build/include/boost/numeric/conversion/cast.hpp:34,
from /home/tom/tmp/contrail-vnc/build/include/boost/lexical_cast.hpp:40,
from /home/tom/tmp/contrail-vnc/third_party/thrift-0.8.0/lib/cpp/src/transport/TSSLSocket.cpp:32:
/home/tom/tmp/contrail-vnc/build/include/boost/cstdint.hpp:311:42: note: typedef boost::ulong_long_type boost::uint64_t
typedef ::boost::ulong_long_type uint64_t;
^
Makefile:1052: recipe for target 'TSSLSocket.lo' failed
make[3]: *** [TSSLSocket.lo] Error 1
make[3]: Leaving directory '/home/tom/tmp/contrail-vnc/build/third_party/thrift/lib/cpp'
Makefile:1410: recipe for target 'install-recursive' failed
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory '/home/tom/tmp/contrail-vnc/build/third_party/thrift/lib/cpp'
Makefile:480: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/home/tom/tmp/contrail-vnc/build/third_party/thrift/lib'
Makefile:512: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
scons: *** [build/third_party/thrift/config.status] Error 2
scons: building terminated because of errors.
This is on openSUSE Tumbleweed .
The build was successful by running scons.
When I try to run
sudo scons install
it terminates with following error
Processing dependencies for nova-contrail-vif==0.1
Searching for nova
Reading https://pypi.python.org/simple/nova/
No local packages or working download links for nova
error: Could not find suitable distribution for Requirement.parse('nova')
there are no packages at https://pypi.python.org/simple/nova/
also
pip install nova
fails
Does not work for github. For an "open-source" project, you guys are severely lacking dev onboarding documentation.
Your instructions located here: http://juniper.github.io/contrail-vnc/README.html
These instructions are incredibly vague, and don't actually provide build instructions. It's laughable that you would call this open source, I'm starting to think this is just another juniper run-around marketing ploy.
Oh well, more marketing fodder for the RSA booth this year, eh?
wget http://downloads.datastax.com/cpp-driver/ubuntu/14.04/cassandra-cpp-driver_2.2.0-1_amd64.deb
wget http://downloads.datastax.com/cpp-driver/ubuntu/14.04/cassandra-cpp-driver-dev_2.2.0-1_amd64.deb
wget http://downloads.datastax.com/cpp-driver/ubuntu/14.04/libuv_1.7.5-1_amd64.deb
the above links needs updating.
and the links in the third_party/packages.xml also needs updating..
i am adding the git diff below for the reference.
root@csp-ucpe-bglr18:~/contrail-new/third_party# git diff
diff --git a/packages.xml b/packages.xml
index 45a4e2e..fb18cd7 100644
--- a/packages.xml
+++ b/packages.xml
@@ -208,7 +208,7 @@
Pugi XML 1.2
have a problem with opencontrail-webui server is not running I was able to track the error to file config.utils.js when i tried to declare a variable with the same name. server started but I got a blank page this is some text from log file thank you
/var/lib/contrail-webui/contrail-web-core/src/serverroot/common/config.utils.js:117 logutils.logger.error("Configured/Default MOTD file " + ^
ReferenceError: logutils is not defined at ReadFileContext.callback (/var/lib/contrail-webui/contrail-web-core/src/serverroot/common/config.utils.js:117:17) at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:367:13) 02/16/2018 05:01:38 PM - ^[[34mdebug^[[39m: The worker #5 has disconnected. 02/16/2018 05:01:38 PM - ^[[31merror^[[39m: The worker #5 has exited with exit code 1
Trying to scons with contrail-vnc.
scons: *** [build/include/http_parser/http_parser.h] Source third_party/http-parser-2.1/http_parser.h' not found, needed by target
build/include/http_parser/http_parser.h'.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.