Re: [opencontrail-dev] Building Contrail 3.2 dev env errors

2017-04-17 Thread Raj Reddy
Make sure the ‘Build-Requires’ Packages are coming from
Opencontrail PPA
https://launchpad.net/~opencontrail/+archive/ubuntu/ppa/+packages

In this case make sure librdkafka version is
https://launchpad.net/~opencontrail/+archive/ubuntu/ppa/+files/librdkafka-dev_0.9.4-0contrail0_amd64.deb

-Raj


From: Dev  on behalf of Pavani Addanki 

Date: Monday, April 17, 2017 at 5:35 AM
To: "dev@lists.opencontrail.org" 
Subject: Re: [opencontrail-dev] Building Contrail 3.2 dev env errors

Please let me know if any one has resolved this error.

Thanks and Regards,
Pavani Addanki





From:Pavani Addanki/HYD/TCS
To:dev@lists.opencontrail.org
Date:04/16/2017 05:42 PM
Subject:Building Contrail 3.2 dev env errors





Hi All,

I am building Contrail 3.2 and getting the below error: Can anyone give a clue 
how to resolve this error.


2017-04-16 17:31:53 g++ -o build/production/analytics/vizd -Wl,--whole-archive 
-lbase -lcpuinfo -lprocess_info -lnodeinfo -l:librdkafka.a -l:librdkafka++.a 
-Wl,--no-whole-archive -g build/production/analytics/collector_uve_types.o 
build/production/analytics/collector_uve_constants.o 
build/production/analytics/collector_uve_html.o 
build/production/analytics/analytics_types.o 
build/production/analytics/analytics_constants.o 
build/production/analytics/analytics_html.o 
build/production/analytics/redis_types.o 
build/production/analytics/redis_constants.o 
build/production/analytics/redis_html.o 
build/production/analytics/uflow_types.o 
build/production/analytics/uflow_constants.o 
build/production/analytics/uflow_html.o 
build/production/analytics/sflow_types.o 
build/production/analytics/sflow_constants.o 
build/production/analytics/sflow_html.o build/production/analytics/viz_types.o 
build/production/analytics/viz_constants.o 
build/production/analytics/viz_html.o 
build/production/analytics/viz_collector.o build/production/analytics/ruleeng.o 
build/production/analytics/collector.o 
build/production/analytics/vizd_table_desc.o 
build/production/analytics/viz_message.o build/production/analytics/generator.o 
build/production/analytics/redis_connection.o 
build/production/analytics/redis_processor_vizd.o 
build/production/analytics/options.o build/production/analytics/stat_walker.o 
build/production/analytics/protobuf_collector.o 
build/production/analytics/protobuf_server.o 
build/production/analytics/sandesh_request.o build/production/analytics/sflow.o 
build/production/analytics/sflow_generator.o 
build/production/analytics/sflow_collector.o 
build/production/analytics/usrdef_counters.o 
build/production/analytics/sflow_parser.o 
build/production/analytics/ipfix_collector.o 
build/production/analytics/protobuf_schema.pb.o 
build/production/analytics/main.o build/production/analytics/buildinfo.o 
build/production/analytics/db_handler.o 
build/production/analytics/OpServerProxy.o 
build/production/analytics/syslog_collector.o 
build/production/analytics/parser_util.o -Lbuild/lib -Lbuild/production/sandesh 
-Lcontroller/src/sandesh -Lbuild/production/analytics/ruleparser 
-Lcontroller/src/analytics/ruleparser -Lbuild/production/discovery/client 
-Lcontroller/src/discovery/client -Lbuild/production/http/client 
-Lcontroller/src/http/client -Lbuild/production/xml -Lcontroller/src/xml 
-Lbuild/production/database -Lcontroller/src/database -Lbuild/production/base 
-Lcontroller/src/base -Lbuild/production/io -Lcontroller/src/io 
-Lbuild/production/net -Lcontroller/src/net -lcassandra_cql -lcassandra -lgendb 
-lboost_regex -lcpuinfo -lds -lio -lsandesh -lhttpc -lhttp -lvncapi 
-lhttp_parser -lcurl -lruleparser -lxml -lprocess_info -lnodeinfo -lbase -lio 
-lz -lnet -lipfix -lmisc -lsandeshvns -lpugixml -lhiredis -lprotobuf 
-lzookeeper_client -lzookeeper_mt -lboost_filesystem -lboost_program_options 
-lboost_system -llog4cplus -lpthread -ltbb -lboost_python -lpython2.7 -lrt
2017-04-16 17:31:54 /usr/bin/ld: 
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/librdkafka.a(rdkafka_transport.o):
 undefined reference to symbol 'SSL_get_verify_result@@OPENSSL_1.0.0'
2017-04-16 17:31:54 scons: building terminated because of errors.
2017-04-16 17:31:54 //lib/x86_64-linux-gnu/libssl.so.1.0.0: error adding 
symbols: DSO missing from command line
2017-04-16 17:31:54 collect2: error: ld returned 1 exit status
2017-04-16 17:31:54 scons: *** [build/production/analytics/vizd] Error 1
ubuntu@ubuntu:~/contrail-installer$ 2017-04-16 17:31:55 ++ ret_val=2
2017-04-16 17:31:55 exited with status :2
2017-04-16 17:31:55 ++ [[ 2 -ne 0 ]]
2017-04-16 17:31:55 ++ exit 2
2017-04-16 17:31:55 ++ clean
2017-04-16 17:31:55 ++ local r=2
2017-04-16 17:31:55 ++ echo 'exited with status :2'
2017-04-16 17:31:55 ++ exit 2





Thanks and Regards,
Pavani Addanki



Re: [opencontrail-dev] cassandra server switchover

2016-11-29 Thread Raj Reddy
Is there any reason why you are using 2.21, better to be with newer releases.
we have multiple stable releases after that.

Regards
Raj

From: Dev  on behalf of Suresh Kumar S 

Date: Tuesday, November 29, 2016 at 1:33 AM
To: Megh Bhatt 
Cc: "Dev@lists.opencontrail.org" 
Subject: Re: [opencontrail-dev] cassandra server switchover

Hi Megh,

Thanks for the response.

Yes, netstat -anp shows thats collector connects to the another server.

Reg  TimedOutException  , Let me recheck my cassandra cluster 
configuration/setup.

Thanks
suresh.


From: "Megh Bhatt" 
To: "Suresh Kumar S" 
Cc: Dev@lists.opencontrail.org
Sent: Tuesday, November 29, 2016 9:52:02 AM
Subject: Re: [opencontrail-dev] cassandra server switchover

In 2.21 the architecture is different, collector will establish one connection 
to one cassandra server per generator. If that fails, it will retry the next 
server. This is evident from the collector logs. It seems that you are getting 
TimedOutException which suggests your single remaining cassandra node might be 
getting overloaded.

If you check using netstat -anp for contrail-collector pid you should be seeing 
connections to the 10.10.10.5 cassandra node.

Thanks

Megh

On Nov 29, 2016, at 12:04 AM, Suresh Kumar S 
> 
wrote:

Hi Megh,

My scenario is very simple,

My setup : Devstack - Mitaka
   Contrail : 2.21.x

I have configured the cassandra cluster with two nodes, and specified those in 
the contrail-collector.conf file

cloud@contrail:/etc/cassandra$ cat /etc/contrail/contrail-collector.conf

[DEFAULT]
log_local = 1
log_level = SYS_DEBUG
cassandra_server_list = 10.10.10.5:9160 10.10.10.4:9160
hostname = contrail
hostip = 10.10.10.6

[DISCOVERY]
port = 5998
server = 10.10.10.6
cloud@contrail:/etc/cassandra$

Collector establishes the communication with 10.10.10.4, and works well.

I purposefully down the 10.10.10.4 cassandra server.  I expect contrail-control 
continue to work with 10.10.10.5 cassandra server.
But contrail-control keeps trying to connect  with 10.10.10.4 and fails to 
connect.


Note:
1. Collector establishes the communication with only one server(10.10.10.4)  
out of two mentioned.


collector logs are attached for debugging.

Thanks
suresh


From: "Megh Bhatt" >
To: "Suresh Kumar S" 
>
Cc: Dev@lists.opencontrail.org
Sent: Tuesday, November 29, 2016 8:48:20 AM
Subject: Re: [opencontrail-dev] cassandra server switchover

Hi Suresh,
cassandra supports active/active or cluster consisting of multiple active nodes 
and hence we can provide list of IP addresses to contrail-collector. 
contrail-collector simultaneously connects to all the cassandra servers and 
will handle cassandra server failures.

Thanks

Megh

On Nov 28, 2016, at 11:43 PM, Suresh Kumar S 
> 
wrote:

Hi,

In the contrail-collector config file, we can specify multiple cassandra 
servers.
What is the purpose of it ?


contrail-collecter.conf snippet

# IP address and port to be used to connect to cassandra.
# Multiple IP:port strings separated by space can be provided
# cassandra_server_list=127.0.0.1:9042

Does contrail support  server switchover, I  mean when the current server is 
not reachable, will it switch to the new server(mentioned in the config) ?

Thanks
suresh
___
Dev mailing list
Dev@lists.opencontrail.org
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org





___
Dev mailing list
Dev@lists.opencontrail.org
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org


Re: [opencontrail-dev] Issue with contrail 3.0

2016-09-02 Thread Raj Reddy
We would like to be as less dependent on third party websites as possible 
during build process..
So we keep them in github.com:Juniper/contrail-third-party-cache and pull it 
from there..

Sagar [Cced] is working on it and will submit a fix.

-Raj

From: Dev 
> 
on behalf of abhishek jain 
>
Date: Friday, September 2, 2016 at 1:56 AM
To: Anand H Krishnan >, 
Rajagopalan Sivaramakrishnan >, Pedro 
Marques >, Prabhjot Singh Sethi 
>
Cc: "dev@lists.opencontrail.org" 
>
Subject: [opencontrail-dev] Issue with contrail 3.0

Hi Team

I am trying to automate deploying Opencontrail 3.0 with OpenStack Kilo, using 
contrail-installer scripts. But a recent change for download link for 
contrail-third-party package is causing an issue.

I have created commit(owner Navneet Singh) regarding this bug on Gerrit and 
then pushed for review at https://review.opencontrail.org/#/q/status:open,n,z 
.Below is the link.

https://review.opencontrail.org/#/c/23811/




I need to approve it urgently.Please help me regarding this.


Thanks
Abhishek Jain
___
Dev mailing list
Dev@lists.opencontrail.org
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org


Re: [opencontrail-dev] contrail R3.0 build issue

2016-04-22 Thread Raj Reddy
You may be missing some packages. Get the latest list from
https://github.com/Juniper/contrail-packages/blob/master/rpm/contrail/contrail.spec

-Raj

On Apr 21, 2016, at 11:41 PM, Andy Wang 
> wrote:

Hi All,
Today I missed one contrail R3.0 build error issue.
I use centos 7.0 to build Contrail R3.0. The codes was pulled from the 
github.com/Juniper/contrail-controller.Soncs
 reported  the error :
could not find the cassandra.h. I use this host to build R2.2 successfully. I  
copy one cassandra.h from the github, but scons reported some other errors.

 Anyone could tell me that I miss some packages for build R3.0. If could proved 
the download link, that's very greate.

Thanks

Andy Wang




___
Dev mailing list
Dev@lists.opencontrail.org
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org

___
Dev mailing list
Dev@lists.opencontrail.org
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org


Re: [opencontrail-dev] why our own contrail 2.2 package is not same with the official contrail2.2 package

2015-08-17 Thread Raj Reddy
How are you building the RPMs?
If you use
tools/packages/rpm/contrail/contrail.spec
the RPMs should be the same..

-Raj


On Aug 16, 2015, at 10:19 PM, 王李明 
wan...@certusnet.com.cnmailto:wan...@certusnet.com.cn wrote:

hi all:
  I have git clone contrail R2.20 branch
and I use the packaing package all rpm packages successfully
but when I installed my own rpm package
I find the package is not same with the official contrail2.2 package
for example the official contrail2.2 package can support python2.6
but my own package must use python 2.7

why?
is my clone branch wrong ?


___
Dev mailing list
Dev@lists.opencontrail.orgmailto:Dev@lists.opencontrail.org
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org

___
Dev mailing list
Dev@lists.opencontrail.org
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org


Re: [opencontrail-dev] Export flow to external collector

2015-07-28 Thread Raj Reddy
I don’t believe so..

regards
Raj

On Jul 28, 2015, at 9:12 AM, Jakub Pavlík 
jakub.pav...@tcpcloud.eumailto:jakub.pav...@tcpcloud.eu wrote:


Hi all,

does anybody tested export contrail flows into external flow Collector, e.g. 
https://www.invea.com/en/products-and-services/flowmon/flowmon-collectors

Thanks

___
Dev mailing list
Dev@lists.opencontrail.orgmailto:Dev@lists.opencontrail.org
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org

___
Dev mailing list
Dev@lists.opencontrail.org
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org


Re: [opencontrail-dev] analytics-api not giving proper results when queried on another IP than 127.0.0.1

2015-04-29 Thread Raj Reddy
Hi Martin,

Our analytics design requires redis to be running locally (w/ no sentinel, no 
clustering)
on each of the analytics nodes. And as Pedro stated, we do not depend on redis 
being
persistent - data is recreated when we connect to redis.

regards,
-
Raj

On Apr 29, 2015, at 12:23 PM, Martin Loschwitz m.loschw...@syseleven.de
 wrote:

 Sorry,
 
 i just rememberd a discussion Michael Renner recently had with Pedro, in 
 which Pedro
 stated that redis doesn’t have to be persistent anyway. Okay, if that’s the 
 case, we will
 just do away with the idea of sentinel altogether.
 
 Best regards
 Martin
 
 Am 29.04.2015 um 21:20 schrieb Martin Loschwitz m.loschw...@syseleven.de:
 
 Hallo Raj,
 
 no. We’re running Redis with Sentinel here, and access to Redis is possible 
 through an
 HAProxy load balancer that will ensure that nodes always land on the one 
 redis node that
 is currently the master of the sentinel cluster. I don’t see how scaling out 
 redis for purposes
 of performance and high availability would work in any other way. We’ll need 
 the analytics
 api to be fixed to allow to specify an arbitrary ip address to connect to 
 redis. Shall I fill a 
 bug in Launchpad?
 
 Best regards
 Martin
 
 Am 29.04.2015 um 21:17 schrieb Raj Reddy rajre...@juniper.net:
 
 Hi Martin,
 
 It appears we are relying on the fact that redis is listening on 0.0.0.0
 You can comment the redis.conf bindip parameter or change it to 0.0.0.0
 
 regards,
 -
 Raj
 
 



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
Dev mailing list
Dev@lists.opencontrail.org
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org