
This change attempts to reduce the number of Ceph commands required in the ceph-rbd-pool job by collecting most pool properties in a single call and by setting only those properties where the current value differs from the target value. Calls to manage_pool() are also run in the background in parallel, so all pools are configured concurrently instead of serially. The script waits for all of those calls to complete before proceeding in order to avoid issues related to the script finishing before all pools are completely configured. Change-Id: If105cd7146313ab9074eedc09580671a0eafcec5
21 lines
703 B
YAML
21 lines
703 B
YAML
# 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.
|
|
|
|
---
|
|
apiVersion: v1
|
|
appVersion: v1.0.0
|
|
description: OpenStack-Helm Ceph Client
|
|
name: ceph-client
|
|
version: 0.1.24
|
|
home: https://github.com/ceph/ceph-client
|
|
...
|