-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DNM ci_dcn_site: Add scaling down of a DCN site
- Loading branch information
Showing
7 changed files
with
393 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
# Copyright Red Hat, Inc. | ||
# All Rights Reserved. | ||
# | ||
# 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. | ||
|
||
- name: Render and apply pre-ceph CRs in DCN context | ||
ansible.builtin.include_tasks: pre-ceph.yml | ||
|
||
- name: Deploy Ceph in DCN context | ||
ansible.builtin.include_tasks: ceph.yml | ||
|
||
- name: Render and apply post-ceph CRs in DCN context | ||
ansible.builtin.include_tasks: post-ceph.yml | ||
|
||
- name: Run Nova cell discovery for new DCN hosts | ||
kubernetes.core.k8s_exec: | ||
api_key: "{{ _auth_results.openshift_auth.api_key }}" | ||
namespace: openstack | ||
pod: nova-cell0-conductor-0 | ||
command: nova-manage cell_v2 discover_hosts --verbose | ||
|
||
- name: Create new AZ and add new hosts to it | ||
ansible.builtin.include_tasks: az.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.