ssl and crypto libraries needed for analytics

Bug #1695543 reported by Arvind
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
In Progress
High
Arvind
R2.20.x
Fix Committed
High
Arvind
R2.21.x
Fix Committed
High
Arvind
R2.22.x
Fix Committed
High
Arvind
R3.0
Fix Committed
High
Arvind
R3.0.2.x
Fix Committed
High
Arvind
R3.0.3.x
Fix Committed
High
Arvind
R3.1
Fix Committed
High
Arvind
R3.1.1.x
Fix Committed
High
Arvind
R3.2
Fix Committed
High
Arvind
R3.2.3.x
In Progress
High
Arvind
Trunk
Invalid
High
Arvind

Bug Description

With new librdkafka (0.9.4) library, collector has to be linked with ssl and crypto libraries in 3.2, otherwise build failures can happen:

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
/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'
//lib/x86_64-linux-gnu/libssl.so.1.0.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
scons: *** [build/production/analytics/vizd] Error 1
scons: building terminated because of errors.
make[2]: Leaving directory `/ecbuilds/jenkins/workspace/Nightly-Ubuntu-1404-Build/sandbox/build/packages/contrail'
make[2]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/ecbuilds/jenkins/workspace/Nightly-Ubuntu-1404-Build/sandbox/build/packages/contrail'
make[1]: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
make: *** [package-contrail] Error 2
[2017-06-02 06-42-25: utils.py:149:exec_cmd: ERROR] Cmd: make CONTRAIL_SKU=kilo TAG=40 FILE_LIST=/ecbuilds/jenkins/workspace/Nightly-Ubuntu-1404-Build/sandbox/store/package_info/contrail-install-packages_40_deb_list.txt all; **FAILED**
[2017-06-02 06-42-25: common.py:168:ks_build: ERROR] Traceback (most recent call last):
  File "/ecbuilds/jenkins/workspace/Nightly-Ubuntu-1404-Build/sandbox/tools/packaging/build/libs/packager/common.py", line 161, in ks_build
    self.exec_steps()
  File "/ecbuilds/jenkins/workspace/Nightly-Ubuntu-1404-Build/sandbox/tools/packaging/build/libs/packager/ubuntu_packager.py", line 17, in exec_steps
    self.make_pkgs()
  File "/ecbuilds/jenkins/workspace/Nightly-Ubuntu-1404-Build/sandbox/tools/packaging/build/libs/packager/common.py", line 270, in make_pkgs
    raise MakeError(sys.exc_info()[1])
MakeError: cd /ecbuilds/jenkins/workspace/Nightly-Ubuntu-1404-Build/sandbox/tools/packaging/common/debian; Cmd: make CONTRAIL_SKU=kilo TAG=40 FILE_LIST=/ecbuilds/jenkins/workspace/Nightly-Ubuntu-1404-Build/sandbox/store/package_info/contrail-install-packages_40_deb_list.txt all; **FAILED**

[2017-06-02 06-42-25: common.py:169:ks_build: ERROR] Packager Failed for Type (contrail-install-packages)

Tags: analytics
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.2

Review in progress for https://review.opencontrail.org/32431
Submitter: Arvind (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/32431
Committed: http://github.com/Juniper/contrail-controller/commit/4cee80c54f4df447f9242bbb5fd1692caa78dd6a
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit 4cee80c54f4df447f9242bbb5fd1692caa78dd6a
Author: arvindvis <email address hidden>
Date: Fri Jun 2 14:33:50 2017 -0700

ssl and crypto libraries are need for vizd because new librdkafka
uses it. In 4.0 these libraries were added as part of securing
introspect changes, so no build failures seen. But for 3.2 they
have to be added.
Closes-Bug:#1695543

Change-Id: I6f2644c3fb5d4c28eddc61d05966efd3d13d15cd

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.2.3.x

Review in progress for https://review.opencontrail.org/32660
Submitter: Vinay Vithal Mahuli (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/32660
Committed: http://github.com/Juniper/contrail-controller/commit/47a052590c27d297bf8644fc77973629610f72b8
Submitter: Zuul (<email address hidden>)
Branch: R3.2.3.x

commit 47a052590c27d297bf8644fc77973629610f72b8
Author: arvindvis <email address hidden>
Date: Fri Jun 2 14:33:50 2017 -0700

ssl and crypto libraries are need for vizd because new librdkafka
uses it. In 4.0 these libraries were added as part of securing
introspect changes, so no build failures seen. But for 3.2 they
have to be added.
Closes-Bug:#1695543

Change-Id: I6f2644c3fb5d4c28eddc61d05966efd3d13d15cd

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0

Review in progress for https://review.opencontrail.org/32818
Submitter: Arvind (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.1

Review in progress for https://review.opencontrail.org/32832
Submitter: Arvind (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.1.1.x

Review in progress for https://review.opencontrail.org/32833
Submitter: Arvind (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0.2.x

Review in progress for https://review.opencontrail.org/32834
Submitter: Arvind (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0.3.x

Review in progress for https://review.opencontrail.org/32835
Submitter: Arvind (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/32818
Committed: http://github.com/Juniper/contrail-controller/commit/23ec5a2d9380d39433539c82b585c2fa9933d6e4
Submitter: Zuul (<email address hidden>)
Branch: R3.0

commit 23ec5a2d9380d39433539c82b585c2fa9933d6e4
Author: arvindvis <email address hidden>
Date: Fri Jun 2 14:33:50 2017 -0700

ssl and crypto libraries are need for vizd because new librdkafka
uses it. In 4.0 these libraries were added as part of securing
introspect changes, so no build failures seen. But for 3.2 they
have to be added.
Closes-Bug:#1695543

Change-Id: I6f2644c3fb5d4c28eddc61d05966efd3d13d15cd
(cherry picked from commit 4cee80c54f4df447f9242bbb5fd1692caa78dd6a)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/32832
Committed: http://github.com/Juniper/contrail-controller/commit/1bcaebdca7581f29d8c35d47c9fc6d53cb196073
Submitter: Zuul (<email address hidden>)
Branch: R3.1

commit 1bcaebdca7581f29d8c35d47c9fc6d53cb196073
Author: arvindvis <email address hidden>
Date: Fri Jun 2 14:33:50 2017 -0700

ssl and crypto libraries are need for vizd because new librdkafka
uses it. In 4.0 these libraries were added as part of securing
introspect changes, so no build failures seen. But for 3.2 they
have to be added.
Closes-Bug:#1695543

Change-Id: I6f2644c3fb5d4c28eddc61d05966efd3d13d15cd
(cherry picked from commit 4cee80c54f4df447f9242bbb5fd1692caa78dd6a)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/32833
Committed: http://github.com/Juniper/contrail-controller/commit/e6861e81dad27e70bc87442320e01f2e2870feae
Submitter: Zuul (<email address hidden>)
Branch: R3.1.1.x

commit e6861e81dad27e70bc87442320e01f2e2870feae
Author: arvindvis <email address hidden>
Date: Fri Jun 2 14:33:50 2017 -0700

ssl and crypto libraries are need for vizd because new librdkafka
uses it. In 4.0 these libraries were added as part of securing
introspect changes, so no build failures seen. But for 3.2 they
have to be added.
Closes-Bug:#1695543

Change-Id: I6f2644c3fb5d4c28eddc61d05966efd3d13d15cd
(cherry picked from commit 4cee80c54f4df447f9242bbb5fd1692caa78dd6a)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/32834
Committed: http://github.com/Juniper/contrail-controller/commit/b0a559e23b61e084f3e882dfb855c0612fce0ab4
Submitter: Zuul (<email address hidden>)
Branch: R3.0.2.x

commit b0a559e23b61e084f3e882dfb855c0612fce0ab4
Author: arvindvis <email address hidden>
Date: Fri Jun 2 14:33:50 2017 -0700

ssl and crypto libraries are need for vizd because new librdkafka
uses it. In 4.0 these libraries were added as part of securing
introspect changes, so no build failures seen. But for 3.2 they
have to be added.
Closes-Bug:#1695543

Change-Id: I6f2644c3fb5d4c28eddc61d05966efd3d13d15cd
(cherry picked from commit 4cee80c54f4df447f9242bbb5fd1692caa78dd6a)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/32835
Committed: http://github.com/Juniper/contrail-controller/commit/b938acd413e5a569b7db54bc56608a81e57f1dcb
Submitter: Zuul (<email address hidden>)
Branch: R3.0.3.x

commit b938acd413e5a569b7db54bc56608a81e57f1dcb
Author: arvindvis <email address hidden>
Date: Fri Jun 2 14:33:50 2017 -0700

ssl and crypto libraries are need for vizd because new librdkafka
uses it. In 4.0 these libraries were added as part of securing
introspect changes, so no build failures seen. But for 3.2 they
have to be added.
Closes-Bug:#1695543

Change-Id: I6f2644c3fb5d4c28eddc61d05966efd3d13d15cd
(cherry picked from commit 4cee80c54f4df447f9242bbb5fd1692caa78dd6a)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.21.x

Review in progress for https://review.opencontrail.org/32940
Submitter: Karl Klashinsky (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20

Review in progress for https://review.opencontrail.org/32941
Submitter: Karl Klashinsky (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20.x

Review in progress for https://review.opencontrail.org/32942
Submitter: Karl Klashinsky (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.22.x

Review in progress for https://review.opencontrail.org/32943
Submitter: Karl Klashinsky (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/32942
Committed: http://github.com/Juniper/contrail-controller/commit/11df6c03cd45281f55f63e372a371e94f78da380
Submitter: Zuul (<email address hidden>)
Branch: R2.20.x

commit 11df6c03cd45281f55f63e372a371e94f78da380
Author: arvindvis <email address hidden>
Date: Fri Jun 2 14:33:50 2017 -0700

ssl and crypto libraries are need for vizd because new librdkafka
uses it. In 4.0 these libraries were added as part of securing
introspect changes, so no build failures seen. But for 3.2 they
have to be added.
Closes-Bug:#1695543

Change-Id: I6f2644c3fb5d4c28eddc61d05966efd3d13d15cd
(cherry picked from commit 4cee80c54f4df447f9242bbb5fd1692caa78dd6a)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/32943
Committed: http://github.com/Juniper/contrail-controller/commit/f1d6c478eed618cdb63199f6874612cb78a630c3
Submitter: Zuul (<email address hidden>)
Branch: R2.22.x

commit f1d6c478eed618cdb63199f6874612cb78a630c3
Author: arvindvis <email address hidden>
Date: Fri Jun 2 14:33:50 2017 -0700

ssl and crypto libraries are need for vizd because new librdkafka
uses it. In 4.0 these libraries were added as part of securing
introspect changes, so no build failures seen. But for 3.2 they
have to be added.
Closes-Bug:#1695543

Change-Id: I6f2644c3fb5d4c28eddc61d05966efd3d13d15cd
(cherry picked from commit 4cee80c54f4df447f9242bbb5fd1692caa78dd6a)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/32940
Committed: http://github.com/Juniper/contrail-controller/commit/79ab8382378b966a8abfb9d3574027fd817bffd4
Submitter: Zuul (<email address hidden>)
Branch: R2.21.x

commit 79ab8382378b966a8abfb9d3574027fd817bffd4
Author: arvindvis <email address hidden>
Date: Fri Jun 2 14:33:50 2017 -0700

ssl and crypto libraries are need for vizd because new librdkafka
uses it. In 4.0 these libraries were added as part of securing
introspect changes, so no build failures seen. But for 3.2 they
have to be added.
Closes-Bug:#1695543

Change-Id: I6f2644c3fb5d4c28eddc61d05966efd3d13d15cd
(cherry picked from commit 4cee80c54f4df447f9242bbb5fd1692caa78dd6a)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.21.x

Review in progress for https://review.opencontrail.org/32957
Submitter: Vinay Vithal Mahuli (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/32957
Committed: http://github.com/Juniper/contrail-controller/commit/db786e7c408876acaf43e05c5aa4cc2724ce32f9
Submitter: Zuul (<email address hidden>)
Branch: R2.21.x

commit db786e7c408876acaf43e05c5aa4cc2724ce32f9
Author: Vinay Vithal Mahuli <email address hidden>
Date: Mon Jun 19 00:00:10 2017 -0700

Revert "ssl and crypto libraries are need for vizd because new librdkafka uses it. In 4.0 these libraries were added as part of securing introspect changes, so no build failures seen. But for 3.2 they have to be added. Closes-Bug:#1695543"

This reverts commit 79ab8382378b966a8abfb9d3574027fd817bffd4.

Change-Id: I490cabf99c8554ef033a6f305e4784b8e22ac18b

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.21.x

Review in progress for https://review.opencontrail.org/32965
Submitter: Vinay Vithal Mahuli (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/32965
Committed: http://github.com/Juniper/contrail-controller/commit/e3f5da621f7fbff270ec3199dd250c9c90452819
Submitter: Zuul (<email address hidden>)
Branch: R2.21.x

commit e3f5da621f7fbff270ec3199dd250c9c90452819
Author: Vinay Vithal Mahuli <email address hidden>
Date: Mon Jun 19 03:17:50 2017 -0700

ssl and crypto libraries are need for vizd because new librdkafka uses it. In 4.0 these libraries were added as part of securing introspect changes, so no build failures seen. But for 3.2 they have to be added. Closes-Bug:#1695543

This reverts commit db786e7c408876acaf43e05c5aa4cc2724ce32f9.

Change-Id: I1d4b47f154ba455dc2c985a6e9821086b7be1ea7

information type: Proprietary → Public
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers