Fold this back into lib/libraries
Change-Id: I2c4e3ebf1a1cc65841e4470d5cfe073f9b505d5f
| ... | ... |
@@ -59,6 +59,7 @@ GITDIR["tooz"]=$DEST/tooz |
| 59 | 59 |
# things like os-traits. We should rename this script to be more generic |
| 60 | 60 |
# and then fold os-brick into it also. |
| 61 | 61 |
GITDIR["os-traits"]=$DEST/os-traits |
| 62 |
+GITDIR["os-brick"]=$DEST/os-brick |
|
| 62 | 63 |
|
| 63 | 64 |
# Support entry points installation of console scripts |
| 64 | 65 |
OSLO_BIN_DIR=$(get_python_exec_prefix) |
| ... | ... |
@@ -120,6 +121,9 @@ function install_libs {
|
| 120 | 120 |
# |
| 121 | 121 |
# os-traits for nova |
| 122 | 122 |
_install_lib_from_source "os-traits" |
| 123 |
+ # os-brick for nova/cinder |
|
| 124 |
+ _install_lib_from_source "os-brick" |
|
| 125 |
+ |
|
| 123 | 126 |
|
| 124 | 127 |
# etcd (because tooz does not have a hard dependency on these) |
| 125 | 128 |
pip_install etcd3 |
| 126 | 129 |
deleted file mode 100644 |
| ... | ... |
@@ -1,32 +0,0 @@ |
| 1 |
-#!/bin/bash |
|
| 2 |
-# |
|
| 3 |
-# lib/os_brick |
|
| 4 |
-# Install **os-brick** python module from source |
|
| 5 |
- |
|
| 6 |
-# Dependencies: |
|
| 7 |
-# |
|
| 8 |
-# - functions |
|
| 9 |
-# - DEST, DATA_DIR must be defined |
|
| 10 |
- |
|
| 11 |
-# stack.sh |
|
| 12 |
-# --------- |
|
| 13 |
-# - install_os_brick |
|
| 14 |
- |
|
| 15 |
-# Save trace setting |
|
| 16 |
-_XTRACE_OS_BRICK=$(set +o | grep xtrace) |
|
| 17 |
-set +o xtrace |
|
| 18 |
- |
|
| 19 |
- |
|
| 20 |
-GITDIR["os-brick"]=$DEST/os-brick |
|
| 21 |
- |
|
| 22 |
-# Install os_brick from git only if requested, otherwise it will be pulled from |
|
| 23 |
-# pip repositories by requirements of projects that need it. |
|
| 24 |
-function install_os_brick {
|
|
| 25 |
- if use_library_from_git "os-brick"; then |
|
| 26 |
- git_clone_by_name "os-brick" |
|
| 27 |
- setup_dev_lib "os-brick" |
|
| 28 |
- fi |
|
| 29 |
-} |
|
| 30 |
- |
|
| 31 |
-# Restore xtrace |
|
| 32 |
-$_XTRACE_OS_BRICK |
|
| 33 | 1 |
\ No newline at end of file |
| ... | ... |
@@ -605,7 +605,6 @@ source $TOP_DIR/lib/neutron |
| 605 | 605 |
source $TOP_DIR/lib/ldap |
| 606 | 606 |
source $TOP_DIR/lib/dstat |
| 607 | 607 |
source $TOP_DIR/lib/etcd3 |
| 608 |
-source $TOP_DIR/lib/os_brick |
|
| 609 | 608 |
|
| 610 | 609 |
# Extras Source |
| 611 | 610 |
# -------------- |
| ... | ... |
@@ -841,11 +840,6 @@ if is_service_enabled neutron nova horizon; then |
| 841 | 841 |
install_neutronclient |
| 842 | 842 |
fi |
| 843 | 843 |
|
| 844 |
-# Install shared libraries |
|
| 845 |
-if is_service_enabled cinder nova; then |
|
| 846 |
- install_os_brick |
|
| 847 |
-fi |
|
| 848 |
- |
|
| 849 | 844 |
# Setup TLS certs |
| 850 | 845 |
if is_service_enabled tls-proxy; then |
| 851 | 846 |
configure_CA |