File ardana-extensions-ses-8.0+git.1527269283.1fae492.obscpio of Package ardana-extensions-ses
0707010019C6A9000081A40000000000000000000000015B0847A30000006E000000FD0000000200000000000000000000003C00000000ardana-extensions-ses-8.0+git.1527269283.1fae492/.gitreview[gerrit]
host=gerrit.suse.provo.cloud
port=29418
project=ardana/ardana-extensions-ses.git
defaultremote=gozer
0707010019C67C000081A40000000000000000000000015B0847A30000279F000000FD0000000200000000000000000000003900000000ardana-extensions-ses-8.0+git.1527269283.1fae492/LICENSE
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
0707010019C6D2000081A40000000000000000000000015B0847A30000052B000000FD0000000200000000000000000000003B00000000ardana-extensions-ses-8.0+git.1527269283.1fae492/README.md#
# (c) Copyright 2017-2018 SUSE LLC
#
# 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.
#
# Ardana SES (SUSE Enterprise Storage) Extension
This repo contains the SUSE OpenStack Cloud Ardana extension to support
SUSE Enterprise Storage / Ceph.
This includes the required ansible ardana scripts that are used to integrate
an existing SES cluster into a SUSE OpenStack Cloud (SOC).
## Requirements
* A deployed SES cluster
* A directory with:
ses-config.yml
ceph.client.cinder.keyring
ceph.client.cinder-backups.keyring
ceph.client.nova.keyring
ceph.client.glance.keyring
....
# inputs required
Must have a directory that contains ses-config.yml, keyring
files for cinder, glance and nova.
Edit the settings.yml and change the ses_config_path, to point to the
location of the configuration directory on the deployer.
0707010019C67D000041ED0000000000000000000000025B0847A300000000000000FD0000000200000000000000000000003900000000ardana-extensions-ses-8.0+git.1527269283.1fae492/example0707010019C684000081A40000000000000000000000015B0847A300000421000000FD0000000200000000000000000000004300000000ardana-extensions-ses-8.0+git.1527269283.1fae492/example/README.md#
# (c) Copyright 2017-2018 SUSE LLC
#
# 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.
#
# It's assumed that the following is used as the mechanism for setting
# up the ceph cluster's users and pools.
# The nova pool is managed by the cinder user.
# http://docs.ceph.com/docs/master/rbd/rbd-openstack/
# This directory contains an example set of files that are required
# for the extension to work.
* ses-config.yml - all of the settings that point to the SES cluster
* ceph.client.cinder.keyring
* ceph.client.cinder_backup.keyring
* ceph.client.glance.keyring
0707010019C67E000081A40000000000000000000000015B0847A30000028D000000FD0000000200000000000000000000005B00000000ardana-extensions-ses-8.0+git.1527269283.1fae492/example/ceph.client.cinder-backup.keyring#
# (c) Copyright 2017-2018 SUSE LLC
#
# 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.
#
#
[client.cinder-backup]
key = AQDJvXhaVNo4DhAADywpAmHXEANLBlziobAT+g==
0707010019C67F000081A40000000000000000000000015B0847A300000286000000FD0000000200000000000000000000005400000000ardana-extensions-ses-8.0+git.1527269283.1fae492/example/ceph.client.cinder.keyring#
# (c) Copyright 2017-2018 SUSE LLC
#
# 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.
#
#
[client.cinder]
key = AQCdfIRaxefEMxAAW4zp2My/5HjoST2Y8mJg8A==
0707010019C683000081A40000000000000000000000015B0847A300000286000000FD0000000200000000000000000000005400000000ardana-extensions-ses-8.0+git.1527269283.1fae492/example/ceph.client.glance.keyring#
# (c) Copyright 2017-2018 SUSE LLC
#
# 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.
#
#
[client.glance]
key = AQD9eYRachg1NxAAiT6Hw/xYDA1vwSWLItLpgA==
0707010019C680000081A40000000000000000000000015B0847A300000620000000FD0000000200000000000000000000004800000000ardana-extensions-ses-8.0+git.1527269283.1fae492/example/ses_config.yml#
# (c) Copyright 2017-2018 SUSE LLC
#
# 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.
#
---
ses_cluster_configuration:
ses_cluster_name: ceph
ses_radosgw_url: "https://192.168.56.8:8080/swift/v1"
conf_options:
ses_fsid: d5d7c7cb-5858-3218-a36f-d028df7b1111
ses_mon_initial_members: ses-osd2, ses-osd3, ses-osd1
ses_mon_host: 192.168.56.8, 192.168.56.9, 192.168.56.7
ses_public_network: 192.168.56.0/21
ses_cluster_network: 192.168.56.0/21
cinder:
rbd_store_pool: cinder
rbd_store_pool_user: cinder
keyring_file_name: ceph.client.cinder.keyring
cinder-backup:
rbd_store_pool: backups
rbd_store_pool_user: cinder_backup
keyring_file_name: ceph.client.cinder-backup.keyring
# Nova uses the cinder user to access the nova pool, cinder pool
# So all we need here is the nova pool name.
nova:
rbd_store_pool: nova
glance:
rbd_store_pool: glance
rbd_store_pool_user: glance
keyring_file_name: ceph.client.glance.keyring
0707010019C685000041ED0000000000000000000000045B0847A300000000000000FD0000000200000000000000000000003500000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses0707010019C686000041ED0000000000000000000000055B0847A300000000000000FD0000000200000000000000000000003D00000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/ansible0707010019C699000041ED0000000000000000000000025B0847A300000000000000FD0000000200000000000000000000004400000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/ansible/config0707010019C69A000081A40000000000000000000000015B0847A30000028E000000FD0000000200000000000000000000005500000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/ansible/config/ses-symlinks.yml#
# (c) Copyright 2017-2018 SUSE LLC
#
# 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.
#
---
symlinks:
"ses/settings.yml": "roles/ses_common/vars/settings.yml"
0707010019C69B000041ED0000000000000000000000035B0847A300000000000000FD0000000200000000000000000000004500000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/ansible/hooks.d0707010019C69C000041ED0000000000000000000000025B0847A300000000000000FD0000000200000000000000000000004900000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/ansible/hooks.d/ses0707010019C6A3000081A40000000000000000000000015B0847A30000027A000000FD0000000200000000000000000000005F00000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/ansible/hooks.d/ses/pre-cinder-deploy.yml#
# (c) Copyright 2017-2018 SUSE LLC
#
# 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.
#
---
- include: "{{ playbook_dir }}/ses-deploy.yml"
0707010019C69E000081A40000000000000000000000015B0847A30000027F000000FD0000000200000000000000000000006400000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/ansible/hooks.d/ses/pre-cinder-reconfigure.yml#
# (c) Copyright 2017-2018 SUSE LLC
#
# 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.
#
---
- include: "{{ playbook_dir }}/ses-reconfigure.yml"
0707010019C69F000081A40000000000000000000000015B0847A30000027A000000FD0000000200000000000000000000005F00000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/ansible/hooks.d/ses/pre-glance-deploy.yml#
# (c) Copyright 2017-2018 SUSE LLC
#
# 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.
#
---
- include: "{{ playbook_dir }}/ses-deploy.yml"
0707010019C6A1000081A40000000000000000000000015B0847A30000027F000000FD0000000200000000000000000000006400000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/ansible/hooks.d/ses/pre-glance-reconfigure.yml#
# (c) Copyright 2017-2018 SUSE LLC
#
# 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.
#
---
- include: "{{ playbook_dir }}/ses-reconfigure.yml"
0707010019C69D000081A40000000000000000000000015B0847A30000027A000000FD0000000200000000000000000000005D00000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/ansible/hooks.d/ses/pre-nova-deploy.yml#
# (c) Copyright 2017-2018 SUSE LLC
#
# 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.
#
---
- include: "{{ playbook_dir }}/ses-deploy.yml"
0707010019C6A0000081A40000000000000000000000015B0847A30000027F000000FD0000000200000000000000000000006200000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/ansible/hooks.d/ses/pre-nova-reconfigure.yml#
# (c) Copyright 2017-2018 SUSE LLC
#
# 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.
#
---
- include: "{{ playbook_dir }}/ses-reconfigure.yml"
0707010019C6A2000081A40000000000000000000000015B0847A30000027A000000FD0000000200000000000000000000005E00000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/ansible/hooks.d/ses/pre-swift-deploy.yml#
# (c) Copyright 2017-2018 SUSE LLC
#
# 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.
#
---
- include: "{{ playbook_dir }}/ses-deploy.yml"
0707010019C6A4000081A40000000000000000000000015B0847A30000027F000000FD0000000200000000000000000000006300000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/ansible/hooks.d/ses/pre-swift-reconfigure.yml#
# (c) Copyright 2017-2018 SUSE LLC
#
# 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.
#
---
- include: "{{ playbook_dir }}/ses-reconfigure.yml"
0707010019C688000041ED0000000000000000000000045B0847A300000000000000FD0000000200000000000000000000004300000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/ansible/roles0707010019C68F000041ED0000000000000000000000055B0847A300000000000000FD0000000200000000000000000000004E00000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/ansible/roles/ses_common0707010019C693000041ED0000000000000000000000025B0847A300000000000000FD0000000200000000000000000000005400000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/ansible/roles/ses_common/tasks0707010019C695000081A40000000000000000000000015B0847A3000011E4000000FD0000000200000000000000000000006900000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/ansible/roles/ses_common/tasks/_create_ses_vars.yml#
# (c) Copyright 2017-2018 SUSE LLC
#
# 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.
#
---
# The following are global ses extension facts
- name: ses | common | include_setup | set SES global facts
set_fact:
ses_cluster_name: >
{{ hostvars['localhost']['ses_cluster_configuration']['ses_cluster_name'] }}
when: >
hostvars['localhost']['ses_cluster_configuration']['ses_cluster_name'] is defined
- name: ses | common | include_setup | try and set radosgw url
set_fact:
ses_radosgw_url: >
{{ hostvars['localhost']['ses_cluster_configuration']['ses_radosgw_url'] }}
when: >
hostvars['localhost']['ses_cluster_configuration']['ses_radosgw_url'] is defined
# The following facts are used for the extension templating ceph.conf
# as well as the other service playbooks to set their respective conf file.
- name: ses | common | include_setup | Set SES conf facts
set_fact:
ses_conf_file_path: >
/etc/ceph/{{ hostvars['localhost']['ses_cluster_configuration']['ses_cluster_name'] }}.conf
ses_fsid: "{{ hostvars['localhost']['ses_cluster_configuration']['conf_options']['ses_fsid'] }}"
ses_mon_initial_members: >
{{ hostvars['localhost']['ses_cluster_configuration']['conf_options']['ses_mon_initial_members'] }}
ses_mon_host: >
{{ hostvars['localhost']['ses_cluster_configuration']['conf_options']['ses_mon_host'] }}
ses_public_network: >
{{ hostvars['localhost']['ses_cluster_configuration']['conf_options']['ses_public_network'] }}
ses_cluster_network: >
{{ hostvars['localhost']['ses_cluster_configuration']['conf_options']['ses_cluster_network'] }}
when: >
hostvars['localhost']['ses_cluster_configuration']['conf_options'] is defined
- name: ses | common | include_setup | Set SES Cinder facts
set_fact:
ses_cinder_pool_name: >
{{ hostvars['localhost']['ses_cluster_configuration']['cinder']['rbd_store_pool'] }}
ses_cinder_user_name: >
{{ hostvars['localhost']['ses_cluster_configuration']['cinder']['rbd_store_pool_user'] }}
ses_cinder_keyring_file_path: >
/etc/ceph/{{ hostvars['localhost']['ses_cluster_configuration']['cinder']['keyring_file_name'] }}
ses_cinder_secret_uuid: "{{ ses_secret_id }}"
when: >
hostvars['localhost']['ses_cluster_configuration']['cinder'] is defined
- name: ses | common | include_setup | Set SES Cinder Backup facts
set_fact:
ses_cinder_backup_pool_name: >
{{ hostvars['localhost']['ses_cluster_configuration']['cinder-backup']['rbd_store_pool'] }}
ses_cinder_backup_user_name: >
{{ hostvars['localhost']['ses_cluster_configuration']['cinder-backup']['rbd_store_pool_user'] }}
ses_cinder_backup_keyring_file_path: >
/etc/ceph/{{ hostvars['localhost']['ses_cluster_configuration']['cinder-backup']['keyring_file_name'] }}
when: >
hostvars['localhost']['ses_cluster_configuration']['cinder-backup'] is defined
# Nova uses the cinder user and keyring, but we still need
# the nova pool name. We have to set the ses_nova_user_name as a trigger
# to tell nova that ses is enabled.
- name: ses | common | include_setup | Set SES Nova facts
set_fact:
ses_nova_pool_name: >
{{ hostvars['localhost']['ses_cluster_configuration']['nova']['rbd_store_pool'] }}
ses_nova_user_name: >
{{ hostvars['localhost']['ses_cluster_configuration']['cinder']['rbd_store_pool_user'] }}
ses_nova_secret_uuid: "{{ ses_secret_id }}"
when: >
hostvars['localhost']['ses_cluster_configuration']['nova'] is defined
- name: ses | common | include_setup | Set SES Glance facts
set_fact:
ses_glance_pool_name: >
{{ hostvars['localhost']['ses_cluster_configuration']['glance']['rbd_store_pool'] }}
ses_glance_user_name: >
{{ hostvars['localhost']['ses_cluster_configuration']['glance']['rbd_store_pool_user'] }}
ses_glance_keyring_file_path: >
/etc/ceph/{{ hostvars['localhost']['ses_cluster_configuration']['glance']['keyring_file_name'] }}
when: >
hostvars['localhost']['ses_cluster_configuration']['glance'] is defined
0707010019C694000081A40000000000000000000000015B0847A30000043F000000FD0000000200000000000000000000006700000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/ansible/roles/ses_common/tasks/_include_setup.yml#
# (c) Copyright 2017-2018 SUSE LLC
#
# 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: ses | common | include_setup | include settings
include_vars: roles/ses_common/vars/settings.yml
- name: ses | common | include_setup | include main vars
include_vars: roles/ses_common/vars/main.yml
- name: ses | common | include_setup | include the ses config
include_vars: "{{ ses_config_path }}/{{ ses_config_file }}"
when: ses_config_path is defined
- name: ses | common | include_setup | include the ses config
include: _create_ses_vars.yml
when: ses_config_path is defined
0707010019C696000081A40000000000000000000000015B0847A3000007FC000000FD0000000200000000000000000000006200000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/ansible/roles/ses_common/tasks/configure.yml#
# (c) Copyright 2017-2018 SUSE LLC
#
# 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: ses | configure | Create ceph directory /etc/ceph
become: yes
file:
path: /etc/ceph
state: directory
owner: "{{ ceph_user }}"
group: "{{ ceph_group }}"
mode: 0755
- name: ses | configure | Copy ceph.conf
template:
src: roles/ses_common/templates/ceph.conf.j2
dest: "{{ ses_conf_file_path }}"
owner: "{{ ceph_user }}"
group: "{{ ceph_group }}"
become: true
- name: ses | configure | Make sure {{ service }} group exists
group:
name: "{{ soc_service_groups.get(service) }}"
state: present
become: true
- name: ses | configure | copy {{ service }} keyring
copy:
src: "{{ ses_config_path }}/{{ hostvars.get('localhost').
get('ses_cluster_configuration').get( service ).get('keyring_file_name') }}"
dest: /etc/ceph
owner: "{{ ceph_user }}"
group: "{{ soc_service_groups.get(service) }}"
mode: 0640
become: true
when: '"nova" not in service'
# Nova service uses the cinder user/client/keyring for communication to ceph
# so we need to copy the cinder keyring for setting up nova.
- name: ses | configure | copy cinder keyring for nova configuration only
copy:
src: "{{ ses_config_path }}/{{ hostvars.get('localhost').
get('ses_cluster_configuration').get('cinder').get('keyring_file_name') }}"
dest: /etc/ceph
owner: "{{ ceph_user }}"
group: "{{ soc_service_groups.get(service) }}"
mode: 0640
become: true
when: '"nova" in service'
0707010019C697000041ED0000000000000000000000025B0847A300000000000000FD0000000200000000000000000000005800000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/ansible/roles/ses_common/templates0707010019C698000081A40000000000000000000000015B0847A30000064A000000FD0000000200000000000000000000006500000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/ansible/roles/ses_common/templates/ceph.conf.j2{#
#
# (c) Copyright 2017-2018 SUSE LLC
#
# 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.
#
#}
[global]
fsid = {{ ses_fsid }}
mon_initial_members = {{ ses_mon_initial_members }}
mon_host = {{ ses_mon_host }}
auth_cluster_required = cephx
auth_service_required = cephx
auth_client_required = cephx
filestore_xattr_use_omap = true
public_network = {{ ses_public_network }}
cluster_network = {{ ses_cluster_network }}
# enable old ceph health format in the json output. This fixes the
# ceph_exporter. This option will only stay until the prometheus plugin takes
# over
mon_health_preluminous_compat = true
mon health preluminous compat warning = false
rbd default features = 3
{% if ses_cinder_keyring_file_path is defined %}
[client.{{ ses_cinder_user_name }}]
keyring={{ ses_cinder_keyring_file_path}}
{% endif %}
{% if ses_cinder_backup_keyring_file_path is defined %}
[client.{{ ses_cinder_backup_user_name }}]
keyring={{ ses_cinder_backup_keyring_file_path}}
{% endif %}
{% if ses_glance_keyring_file_path is defined %}
[client.{{ ses_glance_user_name }}]
keyring={{ ses_glance_keyring_file_path}}
{% endif %}
0707010019C690000041ED0000000000000000000000025B0847A300000000000000FD0000000200000000000000000000005300000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/ansible/roles/ses_common/vars0707010019C692000081A40000000000000000000000015B0847A30000033C000000FD0000000200000000000000000000005C00000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/ansible/roles/ses_common/vars/main.yml# (c) Copyright 2017-2018 SUSE LLC
#
# 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.
#
---
ceph_user: root
ceph_group: root
# The openstack service's group name for setting
# permissions on each of the keyring files for
# group read access
soc_service_groups:
cinder: cinder
cinder-backup: cinder
nova: nova
glance: glance
0707010019C691000081A40000000000000000000000015B0847A300000337000000FD0000000200000000000000000000006000000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/ansible/roles/ses_common/vars/settings.yml#
# (c) Copyright 2017-2018 SUSE LLC
#
# 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.
---
# the directory where the ses config files are.
# ses_config_path: <path to the ses-config dir>
ses_config_file: ses_config.yml
# The unique uuid for use with virsh for cinder and nova
ses_secret_id: 457eb676-33da-42ec-9a8c-9293d545c337
0707010019C689000041ED0000000000000000000000035B0847A300000000000000FD0000000200000000000000000000004E00000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/ansible/roles/ses_deploy0707010019C68A000041ED0000000000000000000000025B0847A300000000000000FD0000000200000000000000000000005400000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/ansible/roles/ses_deploy/tasks0707010019C68C000081A40000000000000000000000015B0847A30000039C000000FD0000000200000000000000000000006700000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/ansible/roles/ses_deploy/tasks/install-client.yml#
# (c) Copyright 2017-2018 SUSE LLC
#
# 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: ses | deploy | install-client | Install ceph client
become: yes
package:
name: "{{ item }}"
state: latest
# the pkg names are identical on RedHat and SUSE. No special condition needed
with_items:
- ceph-common
- name: ses | deploy | install-client | Run install-python-libs
include: install-python-libs.yml
0707010019C68B000081A40000000000000000000000015B0847A30000035B000000FD0000000200000000000000000000006C00000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/ansible/roles/ses_deploy/tasks/install-python-libs.yml#
# (c) Copyright 2018 SUSE LLC
#
# 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: ses | deploy | install-python-libs | Install Ceph related python packages
become: yes
package:
name: "{{ item }}"
state: latest
# the pkg names are identical on RedHat and SUSE. No special condition needed
with_items:
- python-rbd
- python-rados
0707010019C68D000081A40000000000000000000000015B0847A300000307000000FD0000000200000000000000000000006D00000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/ansible/roles/ses_deploy/tasks/install-qemu-package.yml#
# (c) Copyright 2017-2018 SUSE LLC
#
# 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: ses | deploy | install-qemu-package | Install qemu-block-rbd
become: yes
package:
name: qemu-block-rbd
state: present
when: ansible_os_family | lower | search('suse')
0707010019C68E000081A40000000000000000000000015B0847A300000330000000FD0000000200000000000000000000005D00000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/ansible/roles/ses_deploy/tasks/main.yml#
# (c) Copyright 2017-2018 SUSE LLC
#
# 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: ses | ses-deploy | include setup
include: ../../ses_common/tasks/_include_setup.yml
- name: ses | ses-deploy | Install the ceph client code on Cinder node
include: install-client.yml
when: ses_config_path is defined
0707010019C687000081A40000000000000000000000015B0847A3000009FF000000FD0000000200000000000000000000004C00000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/ansible/ses-deploy.yml#
# (c) Copyright 2017-2018 SUSE LLC
#
# 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.
#
---
- hosts: localhost
roles:
- ses_deploy
tasks:
#############################################################
# Include the input model's ses_config, which contains
# config options from the ses deployment. This config yaml
# contains the cinder/nova/glance pools, users, keyring file
# locations as well as the ceph.conf
#############################################################
# Include the ses_config that is supplied by user/openATTIC
- name: include setup
include: roles/ses_common/tasks/_include_setup.yml
##################################
# Now update each Cinder Volume node
##################################
- hosts: CND-VOL
roles:
- ses_deploy
tasks:
- name: configure cinder
include: >
roles/ses_common/tasks/configure.yml service=cinder
when: ses_config_path is defined
##################################
# Now update each Cinder Backup Node
##################################
- hosts: CND-BCK
roles:
- ses_deploy
tasks:
- name: configure cinder
include: >
roles/ses_common/tasks/configure.yml service=cinder-backup
when: ses_config_path is defined
##################################
# Now update each Nova node
##################################
- hosts: NOV-KVM
roles:
- ses_deploy
tasks:
- name: Install the ceph qemu client code on Nova Compute node
include: roles/ses_deploy/tasks/install-qemu-package.yml
when: ses_config_path is defined
- name: configure Nova
include: >
roles/ses_common/tasks/configure.yml service=nova
when: ses_config_path is defined
##################################
# Now update each Glance node
##################################
- hosts: GLA-API
roles:
- ses_deploy
tasks:
- name: configure glance
include: >
roles/ses_common/tasks/configure.yml service=glance
when: ses_config_path is defined
0707010019C6A5000081A40000000000000000000000015B0847A300000A2F000000FD0000000200000000000000000000005100000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/ansible/ses-reconfigure.yml#
# (c) Copyright 2017-2018 SUSE LLC
#
# 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.
#
---
- hosts: localhost
tasks:
#############################################################
# Include the input model's ses_config, which contains
# config options from the ses deployment. This config yaml
# contains the cinder/nova/glance pools, users, keyring file
# locations as well as the ceph.conf
#############################################################
# Include the ses_config that is supplied by user/openATTIC
- name: include setup
include: roles/ses_common/tasks/_include_setup.yml
##################################
# Now update each Cinder Volume node
##################################
- hosts: CND-VOL
tasks:
- name: include setup
include: roles/ses_common/tasks/_include_setup.yml
- name: configure cinder
include: >
roles/ses_common/tasks/configure.yml service=cinder
when: ses_config_path is defined
##################################
# Now update each Cinder Backup Node
##################################
- hosts: CND-BCK
tasks:
- name: include setup
include: roles/ses_common/tasks/_include_setup.yml
- name: configure cinder
include: >
roles/ses_common/tasks/configure.yml service=cinder-backup
when: ses_config_path is defined
##################################
# Now update each Nova node
##################################
- hosts: NOV-KVM
tasks:
- name: include setup
include: roles/ses_common/tasks/_include_setup.yml
- name: configure Nova
include: >
roles/ses_common/tasks/configure.yml service=nova
when: ses_config_path is defined
##################################
# Now update each Glance node
##################################
- hosts: GLA-API
tasks:
- name: include setup
include: roles/ses_common/tasks/_include_setup.yml
- name: configure glance
include: >
roles/ses_common/tasks/configure.yml service=glance
when: ses_config_path is defined
0707010019C6A6000041ED0000000000000000000000035B0847A300000000000000FD0000000200000000000000000000003E00000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/services0707010019C6A7000041ED0000000000000000000000025B0847A300000000000000FD0000000200000000000000000000004200000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/services/ses0707010019C6A8000081A40000000000000000000000015B0847A30000028C000000FD0000000200000000000000000000004A00000000ardana-extensions-ses-8.0+git.1527269283.1fae492/ses/services/ses/ses.yml#
# (c) Copyright 2017-2018 SUSE LLC
#
# 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.
#
---
product:
version: 2
services:
- name: ses
mnemonic: SES
07070100000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000B00000000TRAILER!!!100 blocks