42690a28a2
Various components in Storlets require to know the cluster config. Examples are: 1. The functional tests need to know the keystone auth uri 2. The installation needs to know where are the proxies / object servers 3. The management scripts need to know about all the nodes. Now all information is expected to be in a single json file used by all components There is a template of such file in install/storlets/templates/cluster_config which is used for the s2aio installation. changes include: 1. Adapting the ansible scripts to use a dynamic inventory that uses the json 2. refactoring setup_functional_test.sh moving work to /install/storlets/install_storlets.sh 3. general cleanups and fixes to the ansible scripts Change-Id: I2810f01a977c40870cada476a9c54ce4a7bdcc1a
30 lines
1.0 KiB
Python
30 lines
1.0 KiB
Python
# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
# implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
|
|
import setuptools
|
|
|
|
# In python < 2.7.4, a lazy loading of package `pbr` will break
|
|
# setuptools if some other modules registered functions in `atexit`.
|
|
# solution from: http://bugs.python.org/issue15881#msg170215
|
|
try:
|
|
import multiprocessing # noqa
|
|
except ImportError:
|
|
pass
|
|
|
|
setuptools.setup(
|
|
setup_requires=['pbr>=1.9', 'setuptools>=17.1'],
|
|
pbr=True)
|