I have fixed it. As Ralf and PAUL suggested. I made changes in Sconscript 
file to include crypto. 

Master version is working for this file.

Thanks a lot.

I was able to build and install , configure and start. But control node is 
not ACTIVE.

Getting the below error :


/home/ubuntu/contrail-installer
WARNING: setting legacy OS_TENANT_NAME to support cli tools.
agent                : ACTIVE
agent_1              : ACTIVE
alarm                : ACTIVE
analytics-api        : ACTIVE
apiSrv               : ACTIVE
cass                 : ACTIVE
collector            : ACTIVE
control              : ERROR
disco                : ACTIVE
dns                  : ACTIVE
ifmap                : ACTIVE
kafka                : ACTIVE
named                : ACTIVE
query-engine         : ACTIVE
redis-w              : ACTIVE
redis                : ACTIVE
schema               : ACTIVE
svc-mon              : ACTIVE
ui-jobs              : ACTIVE
ui-webs              : ACTIVE
zk                   : ACTIVE
----------------------------------------------------------------
control              : ERROR
----------------------------------------------------------------
"o start" | tee 
"/home/ubuntu/contrail-installer/status/contrail/control.failure trail/b 
[1] 28626
sudo /opt/stack/contrail/build/production/control-node/contrail-control 
--conf_file /etc/contrail/contrail-control.conf
contrail-control: controller/src/base/connection_info.h:89: static 
process::ConnectionStateManager* 
process::ConnectionStateManager::GetInstance(): Assertion 
`ConnectionState::instance_ == __null' failed.
control failed to start

Can someone please help in resolving this error. 


Thanks and Regards,
Pavani Addanki
____________________________________________




From:   dev-requ...@lists.opencontrail.org
To:     dev@lists.opencontrail.org
Date:   04/21/2017 12:27 AM
Subject:        Dev Digest, Vol 44, Issue 44
Sent by:        "Dev" <dev-boun...@lists.opencontrail.org>



Send Dev mailing list submissions to
                 dev@lists.opencontrail.org

To subscribe or unsubscribe via the World Wide Web, visit
                 
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org

or, via email, send a message with subject or body 'help' to
                 dev-requ...@lists.opencontrail.org

You can reach the person managing the list at
                 dev-ow...@lists.opencontrail.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Dev digest..."


Today's Topics:

   1. Re: Building Contrail 3.2 dev env errors (Ralf Trezeciak)
   2. Re: Building Contrail 3.2 dev env errors (CARVER, PAUL)


----------------------------------------------------------------------

Message: 1
Date: Thu, 20 Apr 2017 20:31:57 +0200
From: Ralf Trezeciak <opensou...@trezeciak.de>
To: dev@lists.opencontrail.org
Subject: Re: [opencontrail-dev] Building Contrail 3.2 dev env errors
Message-ID: <bb1e1fbb-73ff-ce79-d428-402e41825...@trezeciak.de>
Content-Type: text/plain; charset="us-ascii"

An HTML attachment was scrubbed...
URL: <
http://lists.opencontrail.org/pipermail/dev_lists.opencontrail.org/attachments/20170420/9cae1e27/attachment-0001.html
>

------------------------------

Message: 2
Date: Thu, 20 Apr 2017 18:56:13 +0000
From: "CARVER, PAUL" <pc2...@att.com>
To: "dev@lists.opencontrail.org" <dev@lists.opencontrail.org>
Subject: Re: [opencontrail-dev] Building Contrail 3.2 dev env errors
Message-ID:
 
<a81f249089b6c7479786834457908c601cf8f...@misout7msgusrdh.itservices.sbc.com>
 
Content-Type: text/plain; charset="us-ascii"

Is that here: 
https://github.com/Juniper/contrail-controller/blob/master/src/analytics/SConscript#L66
 
?

Should it just be a search and replace or should the if statement be made 
to cover more cases?


From: Dev [mailto:dev-boun...@lists.opencontrail.org] On Behalf Of Ralf 
Trezeciak
Sent: Thursday, April 20, 2017 14:32
To: dev@lists.opencontrail.org
Subject: Re: [opencontrail-dev] Building Contrail 3.2 dev env errors

Hi,

the problem might be here...

./controller/src/analytics/SConscript

if PLATFORM.lower() != 'ubuntu':
    AnalyticsEnv.Prepend(LIBS=['ssl',
        'crypto',
        'sasl2'])

you need these libs also for ubuntu 14.04

my fix in my build script is simple
#
# fix ./controller/src/analytics/SConscript for missing libs
#
sed -i "s/'ubuntu'/'ubunturtr'/g" ./controller/src/analytics/SConscript


Ralf
On 04/19/2017 09:02 AM, Pavani Addanki wrote:
Yes. I am building Contrail 3.2 from scratch. Following instructions from 
https://github.com/Juniper/contrail-installer<
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Juniper_contrail-2Dinstaller&d=DwMF-g&c=LFYZ-o9_HUMeMTSQicvjIg&r=xtmPik_TP2fjPVGWP4yBRQ&m=8OcmqRsntqdLe9ZOzGuRt5o0HNiuxBlJkiE8IXk9xEI&s=FmTjGlhFQLKRDQch2MRfGxDnv1Iyw5Fd-a8exNrYlAw&e=
>.

Thanks and Regards,
Pavani Addanki
____________________________________________




From:        Raj Reddy <rajre...@juniper.net><mailto:rajre...@juniper.net>
To:        Pavani Addanki <pavani.adda...@tcs.com><
mailto:pavani.adda...@tcs.com>
Cc:        "dev@lists.opencontrail.org"<mailto:dev@lists.opencontrail.org> 
<dev@lists.opencontrail.org><mailto:dev@lists.opencontrail.org>
Date:        04/18/2017 10:05 PM
Subject:        Re: [opencontrail-dev] Building Contrail 3.2 dev env 
errors
________________________________



Are you building from scratch.
If yes, what instructions did you follow?

-Raj

From: Pavani Addanki <pavani.adda...@tcs.com><
mailto:pavani.adda...@tcs.com>
Date: Tuesday, April 18, 2017 at 7:16 AM
To: Raj Reddy <rajre...@juniper.net><mailto:rajre...@juniper.net>
Cc: "dev@lists.opencontrail.org"<mailto:dev@lists.opencontrail.org> 
<dev@lists.opencontrail.org><mailto:dev@lists.opencontrail.org>
Subject: Re: [opencontrail-dev] Building Contrail 3.2 dev env errors

Dear Raj,

As suggested by you , I checked and librdkafka-dev version is 0.9.4-0.

and all packages are coming from Opencontrail PPA only.
https://launchpad.net/~opencontrail/+archive/ubuntu/ppa/+packages<
https://urldefense.proofpoint.com/v2/url?u=https-3A__launchpad.net_-257Eopencontrail_-2Barchive_ubuntu_ppa_-2Bpackages&d=DwMF-g&c=LFYZ-o9_HUMeMTSQicvjIg&r=xtmPik_TP2fjPVGWP4yBRQ&m=8OcmqRsntqdLe9ZOzGuRt5o0HNiuxBlJkiE8IXk9xEI&s=OvFhn0V9UAayC682cn_-WgRBCBjnLNAs4bFyLvDo33Q&e=
>

Kindly suggest if I have to check anything else. Tried fresh installations 
of Mitaka , Liberty version and both have again failed with the same 
error.

2017-04-18 19:30:42 /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<
mailto:SSL_get_verify_result@@OPENSSL_1.0.0>'
2017-04-18 19:30:42 //lib/x86_64-linux-gnu/libssl.so.1.0.0: error adding 
symbols: DSO missing from command line


Thanks and Regards,
Pavani Addanki
____________________________________________


-----Raj Reddy <rajre...@juniper.net<mailto:rajre...@juniper.net>> wrote: 
-----
To: Pavani Addanki <pavani.adda...@tcs.com<mailto:pavani.adda...@tcs.com
>>, "dev@lists.opencontrail.org<mailto:dev@lists.opencontrail.org>" 
<dev@lists.opencontrail.org<mailto:dev@lists.opencontrail.org>>
From: Raj Reddy <rajre...@juniper.net<mailto:rajre...@juniper.net>>
Date: 04/17/2017 10:28PM
Subject: Re: [opencontrail-dev] Building Contrail 3.2 dev env errors


Make sure the 'Build-Requires' Packages are coming from
Opencontrail PPA
https://launchpad.net/~opencontrail/+archive/ubuntu/ppa/+packages<
https://urldefense.proofpoint.com/v2/url?u=https-3A__launchpad.net_-257Eopencontrail_-2Barchive_ubuntu_ppa_-2Bpackages&d=DwMF-g&c=LFYZ-o9_HUMeMTSQicvjIg&r=xtmPik_TP2fjPVGWP4yBRQ&m=8OcmqRsntqdLe9ZOzGuRt5o0HNiuxBlJkiE8IXk9xEI&s=OvFhn0V9UAayC682cn_-WgRBCBjnLNAs4bFyLvDo33Q&e=
>


In this case make sure librdkafka version is
https://launchpad.net/~opencontrail/+archive/ubuntu/ppa/+files/librdkafka-dev_0.9.4-0contrail0_amd64.deb
<
https://urldefense.proofpoint.com/v2/url?u=https-3A__launchpad.net_-257Eopencontrail_-2Barchive_ubuntu_ppa_-2Bfiles_librdkafka-2Ddev-5F0.9.4-2D0contrail0-5Famd64.deb&d=DwMF-g&c=LFYZ-o9_HUMeMTSQicvjIg&r=xtmPik_TP2fjPVGWP4yBRQ&m=8OcmqRsntqdLe9ZOzGuRt5o0HNiuxBlJkiE8IXk9xEI&s=fKPLI1LNa5jaKkO6vzE9-ANsbSLzOzZDxlkzTeYpRXs&e=
>


-Raj




From: Dev <dev-boun...@lists.opencontrail.org<
mailto:dev-boun...@lists.opencontrail.org>> on behalf of Pavani Addanki 
<pavani.adda...@tcs.com<mailto:pavani.adda...@tcs.com>>
Date: Monday, April 17, 2017 at 5:35 AM
To: "dev@lists.opencontrail.org<mailto:dev@lists.opencontrail.org>" 
<dev@lists.opencontrail.org<mailto: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<mailto: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<
mailto: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
____________________________________________

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you





_______________________________________________

Dev mailing list

Dev@lists.opencontrail.org<mailto:Dev@lists.opencontrail.org>

http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org<
https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.opencontrail.org_mailman_listinfo_dev-5Flists.opencontrail.org&d=DwMF-g&c=LFYZ-o9_HUMeMTSQicvjIg&r=xtmPik_TP2fjPVGWP4yBRQ&m=8OcmqRsntqdLe9ZOzGuRt5o0HNiuxBlJkiE8IXk9xEI&s=GC2zIhEtB5UM_oybgZrTrYnnkIC1TmRO9h48cfADc0c&e=
>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://lists.opencontrail.org/pipermail/dev_lists.opencontrail.org/attachments/20170420/15cdaa75/attachment.html
>

------------------------------

Subject: Digest Footer

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


------------------------------

End of Dev Digest, Vol 44, Issue 44
***********************************

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

Reply via email to