Support building on SLES12

Bug #1488627 reported by Dirk Mueller
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Won't Fix
Medium
Dirk Mueller
R3.0
New
Medium
Dirk Mueller
Trunk
In Progress
Medium
Dirk Mueller
OpenContrail
New
Medium
Dirk Mueller

Bug Description

This is a tracker bug for building OpenContrail against SUSE Linux Enterprise Server 12 or later.

Tags: base
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/13302
Submitter: Dirk Mueller (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/13303
Submitter: Dirk Mueller (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/13304
Submitter: Dirk Mueller (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/13303
Submitter: Dirk Mueller (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/13305
Submitter: Dirk Mueller (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/13376
Submitter: Dirk Mueller (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/13380
Submitter: Dirk Mueller (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/13376
Committed: http://github.org/Juniper/contrail-packaging/commit/148176f4f990677d6ec72916a643a723b8f6b5fb
Submitter: Zuul
Branch: master

commit 148176f4f990677d6ec72916a643a723b8f6b5fb
Author: Dirk Mueller <email address hidden>
Date: Thu Aug 27 12:31:10 2015 +0200

Create Contrail Installer Packages for SLES12

Initial adjustments for creating a useable installer package
on SLES12. Other RPM based distros should be unaffected.

Partial-Bug: #1488627
Change-Id: I0b49e02187e17c8b0492d97ec7700213e526f06a

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

Reviewed: https://review.opencontrail.org/13303
Committed: http://github.org/Juniper/contrail-third-party/commit/ff67cdaca91b9fa16af3c12e43b4120275b1c668
Submitter: Zuul
Branch: master

commit ff67cdaca91b9fa16af3c12e43b4120275b1c668
Author: Dirk Mueller <email address hidden>
Date: Tue Aug 25 21:34:37 2015 +0200

Exclude various components from third party building for SLES12

Those components are available and useable on SLES12, no
need to replace system components.

Partial-Bug: #1488627
Co-Authored-By: Thomas Bechtold <email address hidden>
Change-Id: I7c7fe5c384faf7af1defec1adbaa638ce7b75a2e

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

Reviewed: https://review.opencontrail.org/13302
Committed: http://github.org/Juniper/contrail-build/commit/cc031a3f938480559323c3b5dc97ba381aa12472
Submitter: Zuul
Branch: master

commit cc031a3f938480559323c3b5dc97ba381aa12472
Author: Dirk Mueller <email address hidden>
Date: Tue Aug 25 21:33:35 2015 +0200

Use System Boost for Building on SLES12

The System Boost library is useable, use it.

Partial-Bug: #1488627

Change-Id: I27951cdc195da55e9dabbf8026d44c9f96cec613

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

Reviewed: https://review.opencontrail.org/13304
Committed: http://github.org/Juniper/contrail-controller/commit/5c6a645f811a51233cf9efd02af22b9c24c4dd7a
Submitter: Zuul
Branch: master

commit 5c6a645f811a51233cf9efd02af22b9c24c4dd7a
Author: Dirk Mueller <email address hidden>
Date: Tue Aug 25 21:37:23 2015 +0200

Build fix for SLES12

Only tbb needs to be build on this platform.

Partial-Bug: #1488627
Co-Authored-By: Thomas Bechtold <email address hidden>
Change-Id: If6f79e50eac876c859c90ee59f71624c40ac9763

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

Reviewed: https://review.opencontrail.org/13305
Committed: http://github.org/Juniper/contrail-packaging/commit/8ea5092a1f4d6c71ab91ad34440aa19e0b2d6d61
Submitter: Zuul
Branch: master

commit 8ea5092a1f4d6c71ab91ad34440aa19e0b2d6d61
Author: Your Name <email address hidden>
Date: Tue Aug 25 20:09:25 2015 +0000

Initial steps for packaging on SLES12

Partial-Bug: #1488627
Change-Id: I5bad05e6925f26502ea119a6964698046c098a19

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

Review in progress for https://review.opencontrail.org/13388
Submitter: Dirk Mueller (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/13389
Submitter: Dirk Mueller (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/13390
Submitter: Dirk Mueller (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/13391
Submitter: Dirk Mueller (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/13392
Submitter: Dirk Mueller (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/13380
Committed: http://github.org/Juniper/contrail-packages/commit/9546eebc59a8664a2402e0af73a1637181c875d6
Submitter: Zuul
Branch: master

commit 9546eebc59a8664a2402e0af73a1637181c875d6
Author: Dirk Mueller <email address hidden>
Date: Thu Aug 27 17:17:45 2015 +0200

Fix dependency on consistent_hash for non-RHEL distros

This seems to be referring to the PyPi package python-consistent_hash,
which is named that way on SLE distributions.

Partial-Bug: #1488627
Change-Id: I4174a938e3fde2119f71497e41d8c749b662d37e

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

Reviewed: https://review.opencontrail.org/13392
Committed: http://github.org/Juniper/contrail-packaging/commit/9f375e59b867081e3e69cf41abd33d73a8111861
Submitter: Zuul
Branch: R2.20

commit 9f375e59b867081e3e69cf41abd33d73a8111861
Author: Dirk Mueller <email address hidden>
Date: Thu Aug 27 21:34:52 2015 +0200

Initial steps for packaging on SLES12

Partial-Bug: #1488627
Change-Id: I5bad05e6925f26502ea119a6964698046c098a19
(cherry picked from commit 8ea5092a1f4d6c71ab91ad34440aa19e0b2d6d61)

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

Reviewed: https://review.opencontrail.org/13389
Committed: http://github.org/Juniper/contrail-controller/commit/8720bc889fb393fb6dd2e413a3288f0c05619245
Submitter: Zuul
Branch: R2.20

commit 8720bc889fb393fb6dd2e413a3288f0c05619245
Author: Dirk Mueller <email address hidden>
Date: Tue Aug 25 21:37:23 2015 +0200

Build fix for SLES12

Only tbb needs to be build on this platform.

Partial-Bug: #1488627
Co-Authored-By: Thomas Bechtold <email address hidden>
Change-Id: If6f79e50eac876c859c90ee59f71624c40ac9763
(cherry picked from commit 5c6a645f811a51233cf9efd02af22b9c24c4dd7a)

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

Reviewed: https://review.opencontrail.org/13388
Committed: http://github.org/Juniper/contrail-build/commit/831b68ee89d496e59cc448c2b3ece18d800579c5
Submitter: Zuul
Branch: R2.20

commit 831b68ee89d496e59cc448c2b3ece18d800579c5
Author: Dirk Mueller <email address hidden>
Date: Tue Aug 25 21:33:35 2015 +0200

Use System Boost for Building on SLES12

The System Boost library is useable, use it.

Partial-Bug: #1488627

Change-Id: I27951cdc195da55e9dabbf8026d44c9f96cec613
(cherry picked from commit cc031a3f938480559323c3b5dc97ba381aa12472)

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

Reviewed: https://review.opencontrail.org/13391
Committed: http://github.org/Juniper/contrail-third-party/commit/9d6bb57a0c48fa3a9353e94a5c7838bae677096b
Submitter: Zuul
Branch: R2.20

commit 9d6bb57a0c48fa3a9353e94a5c7838bae677096b
Author: Dirk Mueller <email address hidden>
Date: Tue Aug 25 21:34:37 2015 +0200

Exclude various components from third party building for SLES12

Those components are available and useable on SLES12, no
need to replace system components.

Partial-Bug: #1488627
Co-Authored-By: Thomas Bechtold <email address hidden>
Change-Id: I7c7fe5c384faf7af1defec1adbaa638ce7b75a2e
(cherry picked from commit ff67cdaca91b9fa16af3c12e43b4120275b1c668)

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

Reviewed: https://review.opencontrail.org/13390
Committed: http://github.org/Juniper/contrail-packages/commit/a238470e23c23d46025f5f037176efe4a2c5b596
Submitter: Zuul
Branch: R2.20

commit a238470e23c23d46025f5f037176efe4a2c5b596
Author: Dirk Mueller <email address hidden>
Date: Thu Aug 27 17:17:45 2015 +0200

Fix dependency on consistent_hash for non-RHEL distros

This seems to be referring to the PyPi package python-consistent_hash,
which is named that way on SLE distributions.

Partial-Bug: #1488627
Change-Id: I4174a938e3fde2119f71497e41d8c749b662d37e
(cherry picked from commit 9546eebc59a8664a2402e0af73a1637181c875d6)

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

Review in progress for https://review.opencontrail.org/13521
Submitter: Dirk Mueller (<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/13522
Submitter: Dirk Mueller (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/13523
Submitter: Dirk Mueller (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/13521
Submitter: Dirk Mueller (<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/13523
Submitter: Dirk Mueller (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/13598
Submitter: Thomas Bechtold (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/13601
Submitter: Thomas Bechtold (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/13521
Committed: http://github.org/Juniper/contrail-packaging/commit/5923fc848b5cb58cb1fd12a0670cd28e4ef4abb3
Submitter: Zuul
Branch: master

commit 5923fc848b5cb58cb1fd12a0670cd28e4ef4abb3
Author: Dirk Mueller <email address hidden>
Date: Wed Sep 2 18:30:47 2015 +0200

Fix up contrail-setup build for SLE12

We can just use the system-provided pycrypto package, so require
it.

Partial-Bug: #1488627
Change-Id: Ie321198be461c94dbaf06f51cd14760aca51e3cb

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

Reviewed: https://review.opencontrail.org/13522
Committed: http://github.org/Juniper/contrail-packaging/commit/a5fecde9e9ad3ddb780c50c77f3aec7f39a6f45a
Submitter: Zuul
Branch: R2.20

commit a5fecde9e9ad3ddb780c50c77f3aec7f39a6f45a
Author: Dirk Mueller <email address hidden>
Date: Thu Aug 27 12:31:10 2015 +0200

Create Contrail Installer Packages for SLES12

Initial adjustments for creating a useable installer package
on SLES12. Other RPM based distros should be unaffected.

Partial-Bug: #1488627
Change-Id: I0b49e02187e17c8b0492d97ec7700213e526f06a
(cherry picked from commit 148176f4f990677d6ec72916a643a723b8f6b5fb)

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

Reviewed: https://review.opencontrail.org/13523
Committed: http://github.org/Juniper/contrail-packaging/commit/3a4f66bada3ada6dca68768e5cdc748f9338d667
Submitter: Zuul
Branch: R2.20

commit 3a4f66bada3ada6dca68768e5cdc748f9338d667
Author: Dirk Mueller <email address hidden>
Date: Wed Sep 2 18:30:47 2015 +0200

Fix up contrail-setup build for SLE12

We can just use the system-provided pycrypto package, so require
it.

Partial-Bug: #1488627
Change-Id: Ie321198be461c94dbaf06f51cd14760aca51e3cb
(cherry picked from commit 5923fc848b5cb58cb1fd12a0670cd28e4ef4abb3)

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

Review in progress for https://review.opencontrail.org/13598
Submitter: Thomas Bechtold (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/13601
Submitter: Thomas Bechtold (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/13598
Committed: http://github.org/Juniper/contrail-third-party/commit/22ad5382a299b60ccb76b7c25b6acce5235c6f99
Submitter: Zuul
Branch: master

commit 22ad5382a299b60ccb76b7c25b6acce5235c6f99
Author: Thomas Bechtold <email address hidden>
Date: Fri Sep 4 23:49:45 2015 +0200

fetch_packages: Make cache dirs configurable

When fetching packages, the cache directory is now configurable via
command line. Default behaviour was not changed but you can now i.e. do:

python fetch_packages.py --cache-dir ~/.cache/contrail-third-party

Also add --dry-run and --verbose as cli switches.

Partial-Bug: #1488627
Change-Id: I4d7c5475893563631506decf7e613c2b0b2e9c68

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

Review in progress for https://review.opencontrail.org/13667
Submitter: Dirk Mueller (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/13672
Submitter: Dirk Mueller (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/13673
Submitter: Dirk Mueller (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/13674
Submitter: Dirk Mueller (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/13667
Committed: http://github.org/Juniper/contrail-packaging/commit/4c161b7862cd29558b17bbe118650fcaa31ae43f
Submitter: Zuul
Branch: master

commit 4c161b7862cd29558b17bbe118650fcaa31ae43f
Author: Dirk Mueller <email address hidden>
Date: Tue Sep 8 19:10:27 2015 +0200

Use standard macros for cross-distro compatibility

%_initddir is compatible accross RHEL/SLE12, so just use it

Change-Id: I3214c3ee2290b0102ada7fa6d152510e601a2420
Partial-Bug: #1488627

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

Reviewed: https://review.opencontrail.org/13672
Committed: http://github.org/Juniper/contrail-packaging/commit/52e7d8886972ce51c87cce931e7413810e069990
Submitter: Zuul
Branch: master

commit 52e7d8886972ce51c87cce931e7413810e069990
Author: Dirk Mueller <email address hidden>
Date: Tue Sep 8 20:48:21 2015 +0200

Only depend on python-importlib on RHEL6 and older

To avoid a dependency on importlib on non-rhel platforms,
check for rhel first.

Change-Id: I0a2d6777cc338aeef0ba83b40838d631e9f2d040
Partial-Bug: #1488627

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

Reviewed: https://review.opencontrail.org/13674
Committed: http://github.org/Juniper/contrail-controller/commit/251435c0a04568f6197710e0e5902c04031b5926
Submitter: Zuul
Branch: master

commit 251435c0a04568f6197710e0e5902c04031b5926
Author: Dirk Mueller <email address hidden>
Date: Tue Sep 8 21:00:47 2015 +0200

Skip building thrift tests

Those tests don't seem to be used, and trigger build warnings
that are not permitted on SLE builds. Disabling them
seems to be the easiest fix.

Change-Id: Ia119208858920acfc66fcb46b828de152d0f10c6
Partial-Bug: #1488627

Changed in opencontrail:
importance: Undecided → Medium
assignee: nobody → Dirk Mueller (dmllr)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/13673
Committed: http://github.org/Juniper/contrail-build/commit/4acae12d7f060fd7fd2bd67f0c5845a030958452
Submitter: Zuul
Branch: master

commit 4acae12d7f060fd7fd2bd67f0c5845a030958452
Author: Dirk Mueller <email address hidden>
Date: Tue Sep 8 20:58:28 2015 +0200

Use System Boost for Building on SLED12

In the public OBS build environment, the system identifies
for a non-trivial reason itself as SLED rather than SLES.
Since both are packaging wise the same distro, lets just
add SLED12 as system-boost exception as well.

Change-Id: I56635fba4834ff1956deacc23cf68e7b53f0300e
Partial-Bug: #1488627

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

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

tags: added: base
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Bug update]

bug update...

no longer affects: juniperopenstack/r3.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.