File ardana-glance-8.0+git.1593631779.76fa9b7.obscpio of Package ardana-glance
07070100000000000081A40000000000000000000000015EFCE4230000076E000000000000000000000000000000000000003A00000000ardana-glance-8.0+git.1593631779.76fa9b7/.copyrightignoreroles/GLA-API/files/etc/schema-image.json
roles/GLA-REG/files/etc/metadefs/compute-guest-memory-backing.json
roles/GLA-REG/files/etc/metadefs/compute-trust.json
roles/GLA-REG/files/etc/metadefs/compute-watchdog.json
roles/GLA-REG/files/etc/metadefs/compute-aggr-disk-filter.json
roles/GLA-REG/files/etc/metadefs/compute-guest-shutdown.json
roles/GLA-REG/files/etc/metadefs/cim-virtual-system-setting-data.json
roles/GLA-REG/files/etc/metadefs/compute-cpu-pinning.json
roles/GLA-REG/files/etc/metadefs/software-runtimes.json
roles/GLA-REG/files/etc/metadefs/compute-vmware-flavor.json
roles/GLA-REG/files/etc/metadefs/operating-system.json
roles/GLA-REG/files/etc/metadefs/compute-hypervisor.json
roles/GLA-REG/files/etc/metadefs/cim-storage-allocation-setting-data.json
roles/GLA-REG/files/etc/metadefs/software-databases.json
roles/GLA-REG/files/etc/metadefs/cim-processor-allocation-setting-data.json
roles/GLA-REG/files/etc/metadefs/compute-aggr-iops-filter.json
roles/GLA-REG/files/etc/metadefs/compute-randomgen.json
roles/GLA-REG/files/etc/metadefs/compute-vmware-quota-flavor.json
roles/GLA-REG/files/etc/metadefs/compute-xenapi.json
roles/GLA-REG/files/etc/metadefs/compute-host-capabilities.json
roles/GLA-REG/files/etc/metadefs/compute-libvirt-image.json
roles/GLA-REG/files/etc/metadefs/storage-volume-type.json
roles/GLA-REG/files/etc/metadefs/compute-aggr-num-instances.json
roles/GLA-REG/files/etc/metadefs/software-webservers.json
roles/GLA-REG/files/etc/metadefs/compute-instance-data.json
roles/GLA-REG/files/etc/metadefs/compute-libvirt.json
roles/GLA-REG/files/etc/metadefs/compute-vcputopology.json
roles/GLA-REG/files/etc/metadefs/glance-common-image-props.json
roles/GLA-REG/files/etc/metadefs/compute-quota.json
roles/GLA-REG/files/etc/metadefs/compute-vmware.json
roles/GLA-REG/files/etc/metadefs/cim-resource-allocation-setting-data.json
roles/GLA-API/templates/policy.json.j2
07070100000001000081A40000000000000000000000015EFCE42300000082000000000000000000000000000000000000003400000000ardana-glance-8.0+git.1593631779.76fa9b7/.gitreview[gerrit]
host=gerrit.suse.provo.cloud
port=29418
project=ardana/glance-ansible.git
defaultremote=ardana
defaultbranch=stable/pike
07070100000002000081A40000000000000000000000015EFCE4230000000C000000000000000000000000000000000000003700000000ardana-glance-8.0+git.1593631779.76fa9b7/.rsync-filter- ardana-ci
07070100000003000081A40000000000000000000000015EFCE4230000279F000000000000000000000000000000000000003100000000ardana-glance-8.0+git.1593631779.76fa9b7/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.
07070100000004000081A40000000000000000000000015EFCE423000002E1000000000000000000000000000000000000004600000000ardana-glance-8.0+git.1593631779.76fa9b7/_glance-schedule-restart.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.
#
---
# Schedule a restart of all glance services using ardana_notify_... variables
- hosts: all
tasks:
- include: roles/_GLA-CMN/tasks/_schedule_restart.yml07070100000005000041ED0000000000000000000000085EFCE42300000000000000000000000000000000000000000000003300000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci07070100000006000041ED0000000000000000000000035EFCE42300000000000000000000000000000000000000000000004300000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-207070100000007000041ED0000000000000000000000035EFCE42300000000000000000000000000000000000000000000004F00000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-2/input-model07070100000008000041ED0000000000000000000000035EFCE42300000000000000000000000000000000000000000000005400000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-2/input-model/data07070100000009000081A40000000000000000000000015EFCE4230000079D000000000000000000000000000000000000006600000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-2/input-model/data/control_plane.yml#
# (c) Copyright 2015-2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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
control-planes:
- name: ccp1
control-plane-prefix: ccp1
failure-zones:
- AZ1
- AZ2
- AZ3
configuration-data:
- SWIFT-CONFIG-CP1
common-service-components:
- lifecycle-manager-target
load-balancers:
- name: lb
provider: ip-cluster
tls-components:
- default
components:
- rabbitmq
- mysql
roles:
- internal
- admin
- name: extlb
provider: ip-cluster
external-name: myardana-cp-shared.test
cert-file: my-public-cp-shared-cert
tls-components:
- default
roles:
- public
clusters:
- name: cluster0
cluster-prefix: c0
server-role:
- SERVER1-ROLE
member-count: 1
allocation-policy: strict
service-components:
- lifecycle-manager
- mysql
- ip-cluster
- keystone-api
- rabbitmq
- memcached
- swift-proxy
- swift-account
- swift-container
- swift-object
- swift-ring-builder
- openstack-client
0707010000000A000081A40000000000000000000000015EFCE42300000765000000000000000000000000000000000000006800000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-2/input-model/data/control_plane_2.yml#
# (c) Copyright 2015-2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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
control-planes:
- name: ccp2
control-plane-prefix: ccp2
uses:
- from: ccp1
service-components:
- all
imports:
- from: ccp1
service-components:
- keystone-api
- swift-proxy
failure-zones:
- AZ1
- AZ2
- AZ3
common-service-components:
- lifecycle-manager-target
load-balancers:
- name: lb
provider: ip-cluster
tls-components:
- default
roles:
- internal
- admin
cert-file: ardana-internal-cert2
- name: extlb
provider: ip-cluster
cert-file: my-public-cert2
external-name: myardana2.test
tls-components:
- default
roles:
- public
clusters:
- name: cluster0
cluster-prefix: c0
server-role:
- SERVER2-ROLE
member-count: 1
allocation-policy: strict
service-components:
- lifecycle-manager
- mysql
- ip-cluster
- glance-api
- glance-registry
- openstack-client
0707010000000B000081A40000000000000000000000015EFCE42300000765000000000000000000000000000000000000006800000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-2/input-model/data/control_plane_3.yml#
# (c) Copyright 2015-2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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
control-planes:
- name: ccp3
control-plane-prefix: ccp3
uses:
- from: ccp1
service-components:
- all
imports:
- from: ccp1
service-components:
- keystone-api
- swift-proxy
failure-zones:
- AZ1
- AZ2
- AZ3
common-service-components:
- lifecycle-manager-target
load-balancers:
- name: lb
provider: ip-cluster
tls-components:
- default
roles:
- internal
- admin
cert-file: ardana-internal-cert3
- name: extlb
provider: ip-cluster
cert-file: my-public-cert3
external-name: myardana3.test
tls-components:
- default
roles:
- public
clusters:
- name: cluster0
cluster-prefix: c0
server-role:
- SERVER3-ROLE
member-count: 1
allocation-policy: strict
service-components:
- lifecycle-manager
- mysql
- ip-cluster
- glance-api
- glance-registry
- openstack-client
0707010000000C000081A40000000000000000000000015EFCE4230000080C000000000000000000000000000000000000005E00000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-2/input-model/data/disks.yml#
# (c) Copyright 2015,2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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
disk-models:
- name: DISKS
# two disk node; remainder of disk 1 and all of disk 2 combined in single VG
# VG is used to create three logical vols for /var, /var/log, and /var/crash
device-groups:
- name: swiftobj
devices:
- name: /dev/sdb
- name: /dev/sdc
- name: /dev/sdd
consumer:
name: swift
attrs:
rings:
- account
- container
- object-0
- object-1
volume-groups:
# The policy is not to consume 100% of the space of each volume group.
# 5% should be left free for snapshots and to allow for some flexibility.
# sda_root is a templated value to align with whatever partition is really used
# This value is checked in os config and replaced by the partition actually used
# on sda e.g. sda1 or sda5
- name: ardana-vg
physical-volumes:
- /dev/sda_root
logical-volumes:
- name: root
size: 35%
fstype: ext4
mount: /
- name: log
size: 20%
mount: /var/log
fstype: ext4
mkfs-opts: -O large_file
- name: crash
size: 2%
mount: /var/crash
fstype: ext4
mkfs-opts: -O large_file
consumer:
name: os
0707010000000D000081A40000000000000000000000015EFCE4230000051E000000000000000000000000000000000000006700000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-2/input-model/data/network_groups.yml#
# (c) Copyright 2015-2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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
network-groups:
- name: ARDANA
hostname-suffix: ardana
component-endpoints:
- lifecycle-manager
- lifecycle-manager-target
- name: MANAGEMENT
hostname-suffix: mgmt
hostname: true
load-balancers:
- extlb
- lb
tags:
- neutron.networks.vxlan
- neutron.networks.vlan:
provider-physical-network: physnet1
# tls-component-endpoints:
# - barbican-api
component-endpoints:
- default
# routes:
# - default
- name: EXTERNAL-VM
tags:
- neutron.l3_agent.external_network_bridge
0707010000000E000081A40000000000000000000000015EFCE42300000402000000000000000000000000000000000000006000000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-2/input-model/data/regions.yml#
# (c) Copyright 2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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
regions:
- name: region1
includes:
- control-plane: ccp1
services:
- all
- control-plane: ccp2
services:
- all
- name: region2
includes:
- control-plane: ccp1
services:
- all
- control-plane: ccp3
services:
- all
0707010000000F000081A40000000000000000000000015EFCE423000005D4000000000000000000000000000000000000006000000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-2/input-model/data/servers.yml#
# (c) Copyright 2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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
baremetal:
netmask: 255.255.255.0
subnet: 192.168.110.0
server-interface: eth2
servers:
- id: server1
ip-addr: 192.168.110.3
role: SERVER1-ROLE
server-group: RACK1
mac-addr: a4:93:0c:4f:7c:73
nic-mapping: VAGRANT
ilo-ip: 192.168.109.3
ilo-password: password
ilo-user: admin
- id: server2
ip-addr: 192.168.110.4
role: SERVER2-ROLE
server-group: RACK1
mac-addr: b2:72:8d:ac:7c:6f
nic-mapping: VAGRANT
ilo-ip: 192.168.109.4
ilo-password: password
ilo-user: admin
- id: server3
ip-addr: 192.168.110.5
role: SERVER3-ROLE
server-group: RACK2
mac-addr: 8a:8e:64:55:43:76
nic-mapping: VAGRANT
ilo-ip: 192.168.109.5
ilo-password: password
ilo-user: admin
07070100000010000041ED0000000000000000000000025EFCE42300000000000000000000000000000000000000000000005A00000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-2/input-model/data/swift07070100000011000081A40000000000000000000000015EFCE42300000784000000000000000000000000000000000000006B00000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-2/input-model/data/swift/swift_config.yml#
# (c) Copyright 2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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
configuration-data:
- name: SWIFT-CONFIG-CP1
services:
- swift
data:
control_plane_rings:
swift-zones:
- id: 1
server-groups:
- CLOUD
rings:
- name: account
display-name: Account Ring
min-part-hours: 16
partition-power: 12
replication-policy:
replica-count: 3
- name: container
display-name: Container Ring
min-part-hours: 16
partition-power: 12
replication-policy:
replica-count: 3
- name: object-0
display-name: General
default: no
min-part-hours: 16
partition-power: 12
replication-policy:
replica-count: 3
- name: object-1
display-name: Erasure-Code-Ring
default: yes
min-part-time: 16
partition-power: 12
erasure-coding-policy:
ec-type: jerasure_rs_vand
ec-num-data-fragments: 2
ec-num-parity-fragments: 1
ec-object-segment-size: 1048576
07070100000012000041ED0000000000000000000000035EFCE42300000000000000000000000000000000000000000000004300000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-307070100000013000041ED0000000000000000000000035EFCE42300000000000000000000000000000000000000000000004F00000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-3/input-model07070100000014000041ED0000000000000000000000035EFCE42300000000000000000000000000000000000000000000005400000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-3/input-model/data07070100000015000081A40000000000000000000000015EFCE4230000070E000000000000000000000000000000000000006600000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-3/input-model/data/control_plane.yml#
# (c) Copyright 2015-2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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
control-planes:
- name: ccp1
control-plane-prefix: ccp1
failure-zones:
- AZ1
- AZ2
- AZ3
common-service-components:
- lifecycle-manager-target
load-balancers:
- name: lb
provider: ip-cluster
tls-components:
- default
components:
- rabbitmq
- mysql
roles:
- internal
- admin
- name: extlb
provider: ip-cluster
external-name: myardana-cp-shared.test
cert-file: my-public-cp-shared-cert
tls-components:
- default
roles:
- public
clusters:
- name: cluster0
cluster-prefix: c0
server-role:
- SERVER1-ROLE
member-count: 1
allocation-policy: strict
service-components:
- lifecycle-manager
- mysql
- ip-cluster
- keystone-api
- rabbitmq
- memcached
- glance-api
- glance-registry
- openstack-client
07070100000016000081A40000000000000000000000015EFCE423000007D9000000000000000000000000000000000000006800000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-3/input-model/data/control_plane_2.yml#
# (c) Copyright 2015-2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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
control-planes:
- name: ccp2
control-plane-prefix: ccp2
uses:
- from: ccp1
service-components:
- all
imports:
- from: ccp1
service-components:
- keystone-api
failure-zones:
- AZ1
- AZ2
- AZ3
configuration-data:
- SWIFT-CONFIG-CP1
common-service-components:
- lifecycle-manager-target
load-balancers:
- name: lb
provider: ip-cluster
tls-components:
- default
roles:
- internal
- admin
cert-file: ardana-internal-cert2
- name: extlb
provider: ip-cluster
cert-file: my-public-cert2
external-name: myardana2.test
tls-components:
- default
roles:
- public
clusters:
- name: cluster0
cluster-prefix: c0
server-role:
- SERVER2-ROLE
member-count: 1
allocation-policy: strict
service-components:
- lifecycle-manager
- mysql
- ip-cluster
- swift-proxy
- swift-account
- swift-container
- swift-object
- swift-ring-builder
- openstack-client
07070100000017000081A40000000000000000000000015EFCE423000007D9000000000000000000000000000000000000006800000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-3/input-model/data/control_plane_3.yml#
# (c) Copyright 2015-2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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
control-planes:
- name: ccp3
control-plane-prefix: ccp3
uses:
- from: ccp1
service-components:
- all
imports:
- from: ccp1
service-components:
- keystone-api
failure-zones:
- AZ1
- AZ2
- AZ3
configuration-data:
- SWIFT-CONFIG-CP1
common-service-components:
- lifecycle-manager-target
load-balancers:
- name: lb
provider: ip-cluster
tls-components:
- default
roles:
- internal
- admin
cert-file: ardana-internal-cert3
- name: extlb
provider: ip-cluster
cert-file: my-public-cert3
external-name: myardana3.test
tls-components:
- default
roles:
- public
clusters:
- name: cluster0
cluster-prefix: c0
server-role:
- SERVER3-ROLE
member-count: 1
allocation-policy: strict
service-components:
- lifecycle-manager
- mysql
- ip-cluster
- swift-proxy
- swift-account
- swift-container
- swift-object
- swift-ring-builder
- openstack-client
07070100000018000081A40000000000000000000000015EFCE4230000080C000000000000000000000000000000000000005E00000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-3/input-model/data/disks.yml#
# (c) Copyright 2015,2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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
disk-models:
- name: DISKS
# two disk node; remainder of disk 1 and all of disk 2 combined in single VG
# VG is used to create three logical vols for /var, /var/log, and /var/crash
device-groups:
- name: swiftobj
devices:
- name: /dev/sdb
- name: /dev/sdc
- name: /dev/sdd
consumer:
name: swift
attrs:
rings:
- account
- container
- object-0
- object-1
volume-groups:
# The policy is not to consume 100% of the space of each volume group.
# 5% should be left free for snapshots and to allow for some flexibility.
# sda_root is a templated value to align with whatever partition is really used
# This value is checked in os config and replaced by the partition actually used
# on sda e.g. sda1 or sda5
- name: ardana-vg
physical-volumes:
- /dev/sda_root
logical-volumes:
- name: root
size: 35%
fstype: ext4
mount: /
- name: log
size: 20%
mount: /var/log
fstype: ext4
mkfs-opts: -O large_file
- name: crash
size: 2%
mount: /var/crash
fstype: ext4
mkfs-opts: -O large_file
consumer:
name: os
07070100000019000081A40000000000000000000000015EFCE4230000051E000000000000000000000000000000000000006700000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-3/input-model/data/network_groups.yml#
# (c) Copyright 2015-2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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
network-groups:
- name: ARDANA
hostname-suffix: ardana
component-endpoints:
- lifecycle-manager
- lifecycle-manager-target
- name: MANAGEMENT
hostname-suffix: mgmt
hostname: true
load-balancers:
- extlb
- lb
tags:
- neutron.networks.vxlan
- neutron.networks.vlan:
provider-physical-network: physnet1
# tls-component-endpoints:
# - barbican-api
component-endpoints:
- default
# routes:
# - default
- name: EXTERNAL-VM
tags:
- neutron.l3_agent.external_network_bridge
0707010000001A000081A40000000000000000000000015EFCE42300000402000000000000000000000000000000000000006000000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-3/input-model/data/regions.yml#
# (c) Copyright 2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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
regions:
- name: region1
includes:
- control-plane: ccp1
services:
- all
- control-plane: ccp2
services:
- all
- name: region2
includes:
- control-plane: ccp1
services:
- all
- control-plane: ccp3
services:
- all
0707010000001B000081A40000000000000000000000015EFCE423000005D4000000000000000000000000000000000000006000000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-3/input-model/data/servers.yml#
# (c) Copyright 2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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
baremetal:
netmask: 255.255.255.0
subnet: 192.168.110.0
server-interface: eth2
servers:
- id: server1
ip-addr: 192.168.110.3
role: SERVER1-ROLE
server-group: RACK1
mac-addr: a4:93:0c:4f:7c:73
nic-mapping: VAGRANT
ilo-ip: 192.168.109.3
ilo-password: password
ilo-user: admin
- id: server2
ip-addr: 192.168.110.4
role: SERVER2-ROLE
server-group: RACK1
mac-addr: b2:72:8d:ac:7c:6f
nic-mapping: VAGRANT
ilo-ip: 192.168.109.4
ilo-password: password
ilo-user: admin
- id: server3
ip-addr: 192.168.110.5
role: SERVER3-ROLE
server-group: RACK2
mac-addr: 8a:8e:64:55:43:76
nic-mapping: VAGRANT
ilo-ip: 192.168.109.5
ilo-password: password
ilo-user: admin
0707010000001C000041ED0000000000000000000000025EFCE42300000000000000000000000000000000000000000000005A00000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-3/input-model/data/swift0707010000001D000081A40000000000000000000000015EFCE42300000784000000000000000000000000000000000000006B00000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-3/input-model/data/swift/swift_config.yml#
# (c) Copyright 2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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
configuration-data:
- name: SWIFT-CONFIG-CP1
services:
- swift
data:
control_plane_rings:
swift-zones:
- id: 1
server-groups:
- CLOUD
rings:
- name: account
display-name: Account Ring
min-part-hours: 16
partition-power: 12
replication-policy:
replica-count: 3
- name: container
display-name: Container Ring
min-part-hours: 16
partition-power: 12
replication-policy:
replica-count: 3
- name: object-0
display-name: General
default: no
min-part-hours: 16
partition-power: 12
replication-policy:
replica-count: 3
- name: object-1
display-name: Erasure-Code-Ring
default: yes
min-part-time: 16
partition-power: 12
erasure-coding-policy:
ec-type: jerasure_rs_vand
ec-num-data-fragments: 2
ec-num-parity-fragments: 1
ec-object-segment-size: 1048576
0707010000001E000041ED0000000000000000000000035EFCE42300000000000000000000000000000000000000000000004300000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-40707010000001F000041ED0000000000000000000000035EFCE42300000000000000000000000000000000000000000000004F00000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-4/input-model07070100000020000041ED0000000000000000000000035EFCE42300000000000000000000000000000000000000000000005400000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-4/input-model/data07070100000021000081A40000000000000000000000015EFCE423000006D7000000000000000000000000000000000000006600000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-4/input-model/data/control_plane.yml#
# (c) Copyright 2015-2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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
control-planes:
- name: ccp1
control-plane-prefix: ccp1
failure-zones:
- AZ1
- AZ2
- AZ3
common-service-components:
- lifecycle-manager-target
load-balancers:
- name: lb
provider: ip-cluster
tls-components:
- default
components:
- rabbitmq
- mysql
roles:
- internal
- admin
- name: extlb
provider: ip-cluster
external-name: myardana-cp-shared.test
cert-file: my-public-cp-shared-cert
tls-components:
- default
roles:
- public
clusters:
- name: cluster0
cluster-prefix: c0
server-role:
- SERVER1-ROLE
member-count: 1
allocation-policy: strict
service-components:
- lifecycle-manager
- mysql
- ip-cluster
- keystone-api
- rabbitmq
- memcached
- openstack-client
07070100000022000081A40000000000000000000000015EFCE42300000810000000000000000000000000000000000000006800000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-4/input-model/data/control_plane_2.yml#
# (c) Copyright 2015-2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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
control-planes:
- name: ccp2
control-plane-prefix: ccp2
uses:
- from: ccp1
service-components:
- all
imports:
- from: ccp1
service-components:
- keystone-api
failure-zones:
- AZ1
- AZ2
- AZ3
configuration-data:
- SWIFT-CONFIG-CP1
common-service-components:
- lifecycle-manager-target
load-balancers:
- name: lb
provider: ip-cluster
tls-components:
- default
roles:
- internal
- admin
cert-file: ardana-internal-cert2
- name: extlb
provider: ip-cluster
cert-file: my-public-cert2
external-name: myardana2.test
tls-components:
- default
roles:
- public
clusters:
- name: cluster0
cluster-prefix: c0
server-role:
- SERVER2-ROLE
member-count: 1
allocation-policy: strict
service-components:
- lifecycle-manager
- mysql
- ip-cluster
- swift-proxy
- swift-account
- swift-container
- swift-object
- swift-ring-builder
- glance-api
- glance-registry
- openstack-client
07070100000023000081A40000000000000000000000015EFCE42300000810000000000000000000000000000000000000006800000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-4/input-model/data/control_plane_3.yml#
# (c) Copyright 2015-2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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
control-planes:
- name: ccp3
control-plane-prefix: ccp3
uses:
- from: ccp1
service-components:
- all
imports:
- from: ccp1
service-components:
- keystone-api
failure-zones:
- AZ1
- AZ2
- AZ3
configuration-data:
- SWIFT-CONFIG-CP1
common-service-components:
- lifecycle-manager-target
load-balancers:
- name: lb
provider: ip-cluster
tls-components:
- default
roles:
- internal
- admin
cert-file: ardana-internal-cert3
- name: extlb
provider: ip-cluster
cert-file: my-public-cert3
external-name: myardana3.test
tls-components:
- default
roles:
- public
clusters:
- name: cluster0
cluster-prefix: c0
server-role:
- SERVER3-ROLE
member-count: 1
allocation-policy: strict
service-components:
- lifecycle-manager
- mysql
- ip-cluster
- swift-proxy
- swift-account
- swift-container
- swift-object
- swift-ring-builder
- glance-api
- glance-registry
- openstack-client
07070100000024000081A40000000000000000000000015EFCE4230000080C000000000000000000000000000000000000005E00000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-4/input-model/data/disks.yml#
# (c) Copyright 2015,2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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
disk-models:
- name: DISKS
# two disk node; remainder of disk 1 and all of disk 2 combined in single VG
# VG is used to create three logical vols for /var, /var/log, and /var/crash
device-groups:
- name: swiftobj
devices:
- name: /dev/sdb
- name: /dev/sdc
- name: /dev/sdd
consumer:
name: swift
attrs:
rings:
- account
- container
- object-0
- object-1
volume-groups:
# The policy is not to consume 100% of the space of each volume group.
# 5% should be left free for snapshots and to allow for some flexibility.
# sda_root is a templated value to align with whatever partition is really used
# This value is checked in os config and replaced by the partition actually used
# on sda e.g. sda1 or sda5
- name: ardana-vg
physical-volumes:
- /dev/sda_root
logical-volumes:
- name: root
size: 35%
fstype: ext4
mount: /
- name: log
size: 20%
mount: /var/log
fstype: ext4
mkfs-opts: -O large_file
- name: crash
size: 2%
mount: /var/crash
fstype: ext4
mkfs-opts: -O large_file
consumer:
name: os
07070100000025000081A40000000000000000000000015EFCE4230000051E000000000000000000000000000000000000006700000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-4/input-model/data/network_groups.yml#
# (c) Copyright 2015-2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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
network-groups:
- name: ARDANA
hostname-suffix: ardana
component-endpoints:
- lifecycle-manager
- lifecycle-manager-target
- name: MANAGEMENT
hostname-suffix: mgmt
hostname: true
load-balancers:
- extlb
- lb
tags:
- neutron.networks.vxlan
- neutron.networks.vlan:
provider-physical-network: physnet1
# tls-component-endpoints:
# - barbican-api
component-endpoints:
- default
# routes:
# - default
- name: EXTERNAL-VM
tags:
- neutron.l3_agent.external_network_bridge
07070100000026000081A40000000000000000000000015EFCE42300000402000000000000000000000000000000000000006000000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-4/input-model/data/regions.yml#
# (c) Copyright 2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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
regions:
- name: region1
includes:
- control-plane: ccp1
services:
- all
- control-plane: ccp2
services:
- all
- name: region2
includes:
- control-plane: ccp1
services:
- all
- control-plane: ccp3
services:
- all
07070100000027000081A40000000000000000000000015EFCE423000005D4000000000000000000000000000000000000006000000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-4/input-model/data/servers.yml#
# (c) Copyright 2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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
baremetal:
netmask: 255.255.255.0
subnet: 192.168.110.0
server-interface: eth2
servers:
- id: server1
ip-addr: 192.168.110.3
role: SERVER1-ROLE
server-group: RACK1
mac-addr: a4:93:0c:4f:7c:73
nic-mapping: VAGRANT
ilo-ip: 192.168.109.3
ilo-password: password
ilo-user: admin
- id: server2
ip-addr: 192.168.110.4
role: SERVER2-ROLE
server-group: RACK1
mac-addr: b2:72:8d:ac:7c:6f
nic-mapping: VAGRANT
ilo-ip: 192.168.109.4
ilo-password: password
ilo-user: admin
- id: server3
ip-addr: 192.168.110.5
role: SERVER3-ROLE
server-group: RACK2
mac-addr: 8a:8e:64:55:43:76
nic-mapping: VAGRANT
ilo-ip: 192.168.109.5
ilo-password: password
ilo-user: admin
07070100000028000041ED0000000000000000000000025EFCE42300000000000000000000000000000000000000000000005A00000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-4/input-model/data/swift07070100000029000081A40000000000000000000000015EFCE42300000784000000000000000000000000000000000000006B00000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/multi-cp-tiny-4/input-model/data/swift/swift_config.yml#
# (c) Copyright 2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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
configuration-data:
- name: SWIFT-CONFIG-CP1
services:
- swift
data:
control_plane_rings:
swift-zones:
- id: 1
server-groups:
- CLOUD
rings:
- name: account
display-name: Account Ring
min-part-hours: 16
partition-power: 12
replication-policy:
replica-count: 3
- name: container
display-name: Container Ring
min-part-hours: 16
partition-power: 12
replication-policy:
replica-count: 3
- name: object-0
display-name: General
default: no
min-part-hours: 16
partition-power: 12
replication-policy:
replica-count: 3
- name: object-1
display-name: Erasure-Code-Ring
default: yes
min-part-time: 16
partition-power: 12
erasure-coding-policy:
ec-type: jerasure_rs_vand
ec-num-data-fragments: 2
ec-num-parity-fragments: 1
ec-object-segment-size: 1048576
0707010000002A000041ED0000000000000000000000035EFCE42300000000000000000000000000000000000000000000003B00000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/project0707010000002B000041ED0000000000000000000000035EFCE42300000000000000000000000000000000000000000000004700000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/project/input-model0707010000002C000041ED0000000000000000000000035EFCE42300000000000000000000000000000000000000000000004C00000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/project/input-model/data0707010000002D000081A40000000000000000000000015EFCE42300000831000000000000000000000000000000000000005E00000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/project/input-model/data/control_plane.yml#
# (c) Copyright 2015-2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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
control-planes:
- name: ccp
control-plane-prefix: ccp
region-name: region1
failure-zones:
- AZ1
- AZ2
- AZ3
common-service-components:
- lifecycle-manager-target
clusters:
- name: cluster0
cluster-prefix: c0
server-role:
- SERVER1-ROLE
member-count: 1
allocation-policy: strict
service-components:
- lifecycle-manager
- ntp-server
- mysql
- rabbitmq
- keystone-api
- ip-cluster
- memcached
- swift-proxy
- swift-account
- swift-container
- swift-ring-builder
- swift-client
- swift-object
- tempest
- name: cluster1
cluster-prefix: c1
server-role:
- SERVER2-ROLE
- SERVER3-ROLE
- SERVER4-ROLE
member-count: 1
allocation-policy: strict
service-components:
- ntp-client
- glance-api
- name: cluster2
cluster-prefix: c2
server-role:
- SERVER5-ROLE
- SERVER6-ROLE
- SERVER7-ROLE
member-count: 3
allocation-policy: strict
service-components:
- ntp-client
- glance-registry
0707010000002E000081A40000000000000000000000015EFCE4230000072E000000000000000000000000000000000000005600000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/project/input-model/data/disks.yml#
# (c) Copyright 2015 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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
disk-models:
- name: DISKS
volume-groups:
# The policy is not to consume 100% of the space of each volume group.
# 5% should be left free for snapshots and to allow for some flexibility.
# sda_root is a templated value to align with whatever partition is really used
# This value is checked in os config and replaced by the partition actually used
# on sda e.g. sda1 or sda5
- name: ardana-vg
physical-volumes:
- /dev/sda_root
logical-volumes:
- name: root
size: 75%
fstype: ext4
mount: /
- name: log
size: 15%
mount: /var/log
fstype: ext4
mkfs-opts: -O large_file
- name: crash
size: 2%
mount: /var/crash
fstype: ext4
mkfs-opts: -O large_file
device-groups:
- name: swiftobj
devices:
- name: /dev/sdc
- name: /dev/sdd
- name: /dev/sde
consumer:
name: swift
attrs:
rings:
- account
- container
- object-00707010000002F000041ED0000000000000000000000025EFCE42300000000000000000000000000000000000000000000005200000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/project/input-model/data/swift07070100000030000081A40000000000000000000000015EFCE42300000561000000000000000000000000000000000000005C00000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/project/input-model/data/swift/rings.yml#
# (c) Copyright 2015,2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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
ring-specifications:
- region-name: region1
swift-zones:
- id: 1
server-groups:
- CLOUD
rings:
- name: account
display-name: Account Ring
min-part-hours: 16
partition-power: 12
replication-policy:
replica-count: 3
- name: container
display-name: Container Ring
min-part-hours: 16
partition-power: 12
replication-policy:
replica-count: 3
- name: object-0
display-name: General
default: yes
min-part-hours: 16
partition-power: 12
replication-policy:
replica-count: 3
07070100000031000041ED0000000000000000000000025EFCE42300000000000000000000000000000000000000000000003900000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/tests07070100000032000081ED0000000000000000000000015EFCE423000000C4000000000000000000000000000000000000004A00000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/tests/run-tempest.bash#!/bin/bash
set -eux
set -o pipefail
ansible-playbook -i hosts/verb_hosts tempest-test-resources.yml
sudo -u tempest /opt/stack/service/tempest/bin/ardana-tempest.sh <<< "+tempest\.api\.image"
07070100000033000081A40000000000000000000000015EFCE42300000DFE000000000000000000000000000000000000004800000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/tests/test-plan.yaml#
# (c) Copyright 2016-2017 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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: Test that we have a good cloud
logfile: tempest.log
prefix: tempest
exec:
- validate-glance-status.bash
tempest:
region1:
- "+tempest.api.image"
# Image sharing is disabled by policy for security reasons; therefore these tests will not pass.
- "-tempest.api.image.v2.test_images_member.ImagesMemberTest.test_get_image_member"
- "-tempest.api.image.v2.test_images_member.ImagesMemberTest.test_image_share_accept"
- "-tempest.api.image.v2.test_images_member.ImagesMemberTest.test_image_share_reject"
- "-tempest.api.image.v2.test_images_member.ImagesMemberTest.test_remove_image_member"
- "-tempest.api.image.v2.test_images_member.ImagesMemberTest.test_get_private_image"
- "-tempest.api.image.v2.test_images_member_negative.ImagesMemberNegativeTest.test_image_share_invalid_status"
- "-tempest.api.image.v2.test_images_member_negative.ImagesMemberNegativeTest.test_image_share_owner_cannot_accept"
- "-tempest.api.image.v1.test_image_members_negative.ImageMembersNegativeTest.test_add_member_with_non_existing_image"
- "-tempest.api.image.v1.test_image_members_negative.ImageMembersNegativeTest.test_delete_member_with_non_existing_image"
- "-tempest.api.image.v1.test_image_members.ImageMembersTest.test_remove_member"
- "-tempest.api.image.v1.test_image_members.ImageMembersTest.test_get_shared_images"
- "-tempest.api.image.v1.test_image_members.ImageMembersTest.test_add_image_member"
- "-tempest.api.image.v1.test_image_members_negative.ImageMembersNegativeTest.test_delete_member_with_non_existing_tenant"
- "-tempest.api.image.v1.test_images.CreateRegisterImagesTest.test_register_remote_image"
- "-tempest.api.image.v1.test_images.CreateRegisterImagesTest.test_register_http_image"
- "-tempest.api.image.v2.test_images.ListSharedImagesTest.test_list_images_param_member_status"
# The v1 listing tests rely on creating test images using the "set location" feature. This
# is disabled by policy for security reasons; therefore these tests will not pass.
- "-tempest.api.image.v1.test_images.ListImagesTest"
- name: Test reconfigure
logfile: testsuite-reconfigure.log
prefix: reconfigure
playbooks:
- glance-reconfigure.yml
- name: Test reconfigure credentials change
logfile: testsuite-reconfigure-credentials-change.log
prefix: reconfigure-credentials-change
playbooks:
- glance-reconfigure-credentials-change.yml
- name: Validate glance status
exec:
- validate-glance-status.bash
- name: Test stop / start of glance
logfile: stop-start.log
prefix: stop-start
playbooks:
- glance-stop.yml
- glance-start.yml
exec:
- validate-glance-status.bash
- name: Reboot some servers and start services
vms:
- reboot:
- server4
- server7
playbooks:
- glance-start.yml
exec:
- validate-glance-status.bash
07070100000034000081ED0000000000000000000000015EFCE42300000044000000000000000000000000000000000000005500000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/tests/validate-glance-status.bash#!/bin/bash
ansible-playbook -i hosts/verb_hosts glance-status.yml
07070100000035000041ED0000000000000000000000035EFCE42300000000000000000000000000000000000000000000003800000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/tiny07070100000036000041ED0000000000000000000000035EFCE42300000000000000000000000000000000000000000000004400000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/tiny/input-model07070100000037000041ED0000000000000000000000025EFCE42300000000000000000000000000000000000000000000004900000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/tiny/input-model/data07070100000038000081A40000000000000000000000015EFCE42300000582000000000000000000000000000000000000005B00000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/tiny/input-model/data/control_plane.yml#
# (c) Copyright 2015-2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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
control-planes:
- name: ccp
control-plane-prefix: ccp
region-name: region1
failure-zones:
- AZ1
- AZ2
- AZ3
common-service-components:
- lifecycle-manager-target
clusters:
- name: cluster0
cluster-prefix: c0
server-role:
- SERVER1-ROLE
member-count: 1
allocation-policy: strict
service-components:
- lifecycle-manager
- mysql
- ip-cluster
- keystone-api
- rabbitmq
- glance-api:
ha_mode: false
glance_stores: 'file'
glance_default_store: 'file'
- glance-registry
07070100000039000081A40000000000000000000000015EFCE42300000177000000000000000000000000000000000000005500000000ardana-glance-8.0+git.1593631779.76fa9b7/ardana-ci/tiny/input-model/data/servers.yml---
product:
version: 2
baremetal:
netmask: 255.255.255.0
subnet: 192.168.110.0
server-interface: eth2
servers:
- id: server1
ip-addr: 192.168.110.3
role: SERVER1-ROLE
server-group: RACK1
mac-addr: a4:93:0c:4f:7c:73
nic-mapping: VAGRANT
ilo-ip: 192.168.109.3
ilo-password: password
ilo-user: admin
0707010000003A000041ED0000000000000000000000025EFCE42300000000000000000000000000000000000000000000003000000000ardana-glance-8.0+git.1593631779.76fa9b7/config0707010000003B000081A40000000000000000000000015EFCE423000012E4000000000000000000000000000000000000004400000000ardana-glance-8.0+git.1593631779.76fa9b7/config/glance-symlinks.yml#
# (c) Copyright 2015,2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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 relative symlinks are created under the
# my_cloud/config directory.
---
symlinks:
"glance/glance-registry.conf.j2": "roles/GLA-REG/templates/glance-registry.conf.j2"
"glance/glance-registry-paste.ini": "roles/GLA-REG/templates/glance-registry-paste.ini.j2"
"glance/glance-registry-logging.conf.j2": "roles/GLA-REG/templates/glance-registry-logging.conf.j2"
"glance/glance-api.conf.j2": "roles/GLA-API/templates/glance-api.conf.j2"
"glance/glance-cache.conf.j2": "roles/GLA-API/templates/glance-cache.conf.j2"
"glance/glance-api-paste.ini": "roles/GLA-API/templates/glance-api-paste.ini.j2"
"glance/glance-api-logging.conf.j2": "roles/GLA-API/templates/glance-api-logging.conf.j2"
"glance/policy.json.j2": "roles/GLA-API/templates/policy.json.j2"
"glance/metadefs/README": "roles/GLA-REG/files/etc/metadefs/README"
"glance/metadefs/cim-processor-allocation-setting-data.json": "roles/GLA-REG/files/etc/metadefs/cim-processor-allocation-setting-data.json"
"glance/metadefs/cim-resource-allocation-setting-data.json": "roles/GLA-REG/files/etc/metadefs/cim-resource-allocation-setting-data.json"
"glance/metadefs/cim-storage-allocation-setting-data.json": "roles/GLA-REG/files/etc/metadefs/cim-storage-allocation-setting-data.json"
"glance/metadefs/cim-virtual-system-setting-data.json": "roles/GLA-REG/files/etc/metadefs/cim-virtual-system-setting-data.json"
"glance/metadefs/compute-aggr-disk-filter.json": "roles/GLA-REG/files/etc/metadefs/compute-aggr-disk-filter.json"
"glance/metadefs/compute-aggr-iops-filter.json": "roles/GLA-REG/files/etc/metadefs/compute-aggr-iops-filter.json"
"glance/metadefs/compute-aggr-num-instances.json": "roles/GLA-REG/files/etc/metadefs/compute-aggr-num-instances.json"
"glance/metadefs/compute-guest-memory-backing.json": "roles/GLA-REG/files/etc/metadefs/compute-guest-memory-backing.json"
"glance/metadefs/compute-guest-shutdown.json": "roles/GLA-REG/files/etc/metadefs/compute-guest-shutdown.json"
"glance/metadefs/compute-host-capabilities.json": "roles/GLA-REG/files/etc/metadefs/compute-host-capabilities.json"
"glance/metadefs/compute-hypervisor.json": "roles/GLA-REG/files/etc/metadefs/compute-hypervisor.json"
"glance/metadefs/compute-instance-data.json": "roles/GLA-REG/files/etc/metadefs/compute-instance-data.json"
"glance/metadefs/compute-libvirt-image.json": "roles/GLA-REG/files/etc/metadefs/compute-libvirt-image.json"
"glance/metadefs/compute-libvirt.json": "roles/GLA-REG/files/etc/metadefs/compute-libvirt.json"
"glance/metadefs/compute-quota.json": "roles/GLA-REG/files/etc/metadefs/compute-quota.json"
"glance/metadefs/compute-randomgen.json": "roles/GLA-REG/files/etc/metadefs/compute-randomgen.json"
"glance/metadefs/compute-trust.json": "roles/GLA-REG/files/etc/metadefs/compute-trust.json"
"glance/metadefs/compute-vcputopology.json": "roles/GLA-REG/files/etc/metadefs/compute-vcputopology.json"
"glance/metadefs/compute-vmware-flavor.json": "roles/GLA-REG/files/etc/metadefs/compute-vmware-flavor.json"
"glance/metadefs/compute-vmware-quota-flavor.json": "roles/GLA-REG/files/etc/metadefs/compute-vmware-quota-flavor.json"
"glance/metadefs/compute-vmware.json": "roles/GLA-REG/files/etc/metadefs/compute-vmware.json"
"glance/metadefs/compute-watchdog.json": "roles/GLA-REG/files/etc/metadefs/compute-watchdog.json"
"glance/metadefs/compute-xenapi.json": "roles/GLA-REG/files/etc/metadefs/compute-xenapi.json"
"glance/metadefs/glance-common-image-props.json": "roles/GLA-REG/files/etc/metadefs/glance-common-image-props.json"
"glance/metadefs/operating-system.json": "roles/GLA-REG/files/etc/metadefs/operating-system.json"
"glance/metadefs/software-databases.json": "roles/GLA-REG/files/etc/metadefs/software-databases.json"
"glance/metadefs/software-runtimes.json": "roles/GLA-REG/files/etc/metadefs/software-runtimes.json"
"glance/metadefs/software-webservers.json": "roles/GLA-REG/files/etc/metadefs/software-webservers.json"
"glance/metadefs/storage-volume-type.json": "roles/GLA-REG/files/etc/metadefs/storage-volume-type.json"
"glance/metadefs/compute-cpu-pinning.json": "roles/GLA-REG/files/etc/metadefs/compute-cpu-pinning.json"
0707010000003C000081A40000000000000000000000015EFCE423000003A1000000000000000000000000000000000000004400000000ardana-glance-8.0+git.1593631779.76fa9b7/glance-cloud-configure.yml#
# (c) Copyright 2015 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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.
#
# NOTE(kuvaja): cannot be ran on deployer as it does not have Config
# processor generated data.
- hosts: GLA-API--first-member
roles:
- glance-cloud-configure
# All these tasks should be set to run-once
tasks:
- include: roles/glance-cloud-configure/tasks/glance-image-setup.yml
0707010000003D000081A40000000000000000000000015EFCE42300000411000000000000000000000000000000000000004600000000ardana-glance-8.0+git.1593631779.76fa9b7/glance-configure-monasca.yml#
# (c) Copyright 2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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: GLA-REG:&MON-AGN
gather_facts: no
max_fail_percentage: 0
roles:
- {role: monasca-agent, run_mode: Use}
- GLA-REG
tasks:
- include: roles/GLA-REG/tasks/set_httpcheck.yml
- hosts: GLA-API:&MON-AGN
gather_facts: no
max_fail_percentage: 0
roles:
- {role: monasca-agent, run_mode: Use}
- GLA-API
tasks:
- include: roles/GLA-API/tasks/set_httpcheck.yml
0707010000003E000081A40000000000000000000000015EFCE42300000655000000000000000000000000000000000000003B00000000ardana-glance-8.0+git.1593631779.76fa9b7/glance-deploy.yml#
# (c) Copyright 2015-2017 Hewlett Packard Enterprise Development LP
# (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: ses-deploy.yml
- hosts: GLA-REG
roles:
- GLA-REG
tasks:
- include: roles/GLA-REG/tasks/install.yml
- hosts: GLA-REG
roles:
- GLA-REG
tasks:
- include: roles/GLA-REG/tasks/configure.yml
- include: roles/GLA-REG/tasks/db_configure.yml
- include: roles/GLA-REG/tasks/load_metadef.yml
- include: roles/GLA-REG/tasks/start.yml
- hosts: GLA-API
roles:
- GLA-API
tasks:
- include: roles/GLA-API/tasks/install.yml
- hosts: GLA-API
roles:
- GLA-API
tasks:
- include: roles/GLA-API/tasks/keystone_conf.yml
ansible_python_interpreter: "{{
KEY_CLI.vars.keystone_client_python_interpreter }}"
- include: roles/GLA-API/tasks/keystone_get_swift_project_id.yml
ansible_python_interpreter: "{{
KEY_CLI.vars.keystone_client_python_interpreter }}"
- include: roles/GLA-API/tasks/configure.yml
- include: roles/GLA-API/tasks/start.yml
- include: glance-configure-monasca.yml
0707010000003F000081A40000000000000000000000015EFCE423000004D0000000000000000000000000000000000000005300000000ardana-glance-8.0+git.1593631779.76fa9b7/glance-reconfigure-credentials-change.yml#
# (c) Copyright 2016-2017 Hewlett Packard Enterprise Development LP
# (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: ses-reconfigure.yml
- hosts: GLA-REG
roles:
- GLA-REG
tasks:
- include: roles/GLA-REG/tasks/configure.yml
- hosts: GLA-API
roles:
- GLA-API
tasks:
- include: roles/GLA-API/tasks/keystone_change_pwd.yml
ansible_python_interpreter: "{{
KEY_CLI.vars.keystone_client_python_interpreter }}"
- include: roles/GLA-API/tasks/keystone_get_swift_project_id.yml
ansible_python_interpreter: "{{
KEY_CLI.vars.keystone_client_python_interpreter }}"
- include: roles/GLA-API/tasks/configure.yml
- include: glance-start.yml
07070100000040000081A40000000000000000000000015EFCE423000005D0000000000000000000000000000000000000004000000000ardana-glance-8.0+git.1593631779.76fa9b7/glance-reconfigure.yml#
# (c) Copyright 2015-2017 Hewlett Packard Enterprise Development LP
# (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: ses-reconfigure.yml
- hosts: GLA-API
roles:
- GLA-API
tasks:
- include: roles/GLA-API/tasks/keystone_conf.yml
ansible_python_interpreter: "{{
KEY_CLI.vars.keystone_client_python_interpreter }}"
- include: roles/GLA-API/tasks/keystone_get_swift_project_id.yml
ansible_python_interpreter: "{{
KEY_CLI.vars.keystone_client_python_interpreter }}"
- include: roles/GLA-API/tasks/configure.yml
- hosts: GLA-API
roles:
- GLA-API
tasks:
- include: roles/GLA-API/tasks/start.yml
- hosts: GLA-REG
roles:
- GLA-REG
tasks:
- include: roles/GLA-REG/tasks/configure.yml
- hosts: GLA-REG
roles:
- GLA-REG
tasks:
- include: roles/GLA-REG/tasks/start.yml
- include: roles/GLA-REG/tasks/reload_metadef.yml
- include: glance-configure-monasca.yml
07070100000041000081A40000000000000000000000015EFCE42300000289000000000000000000000000000000000000003C00000000ardana-glance-8.0+git.1593631779.76fa9b7/glance-restart.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.
#
---
- include: _glance-schedule-restart.yml
- include: glance-start.yml
07070100000042000081A40000000000000000000000015EFCE4230000033D000000000000000000000000000000000000003A00000000ardana-glance-8.0+git.1593631779.76fa9b7/glance-start.yml#
# (c) Copyright 2015-2017 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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: GLA-API
roles:
- GLA-API
tasks:
- include: roles/GLA-API/tasks/start.yml
- hosts: GLA-REG
roles:
- GLA-REG
tasks:
- include: roles/GLA-REG/tasks/start.yml
07070100000043000081A40000000000000000000000015EFCE42300000375000000000000000000000000000000000000003B00000000ardana-glance-8.0+git.1593631779.76fa9b7/glance-status.yml#
# (c) Copyright 2015 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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: GLA-API
max_fail_percentage: 0
roles:
- GLA-API
tasks:
- include: roles/GLA-API/tasks/status.yml
- hosts: GLA-REG
max_fail_percentage: 0
roles:
- GLA-REG
tasks:
- include: roles/GLA-REG/tasks/status.yml
07070100000044000081A40000000000000000000000015EFCE4230000033B000000000000000000000000000000000000003900000000ardana-glance-8.0+git.1593631779.76fa9b7/glance-stop.yml#
# (c) Copyright 2015-2017 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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: GLA-API
roles:
- GLA-API
tasks:
- include: roles/GLA-API/tasks/stop.yml
- hosts: GLA-REG
roles:
- GLA-REG
tasks:
- include: roles/GLA-REG/tasks/stop.yml
07070100000045000081A40000000000000000000000015EFCE42300000709000000000000000000000000000000000000003C00000000ardana-glance-8.0+git.1593631779.76fa9b7/glance-upgrade.yml#
# (c) Copyright 2015-2017 Hewlett Packard Enterprise Development LP
# (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: glance-status.yml
- include: ses-deploy.yml
- hosts: GLA-REG
roles:
- GLA-REG
tasks:
- include: roles/GLA-REG/tasks/install.yml
- hosts: GLA-REG
roles:
- GLA-REG
tasks:
- include: roles/GLA-REG/tasks/configure.yml
- include: roles/GLA-REG/tasks/db_configure.yml
- include: roles/GLA-REG/tasks/reload_metadef.yml
- include: roles/GLA-REG/tasks/start.yml
- hosts: GLA-API
roles:
- GLA-API
tasks:
- include: roles/GLA-API/tasks/install.yml
- hosts: GLA-API
roles:
- GLA-API
tasks:
- include: roles/GLA-API/tasks/keystone_conf.yml
ansible_python_interpreter: "{{
KEY_CLI.vars.keystone_client_python_interpreter }}"
- include: roles/GLA-API/tasks/keystone_upgrade_conf.yml
ansible_python_interpreter: "{{
KEY_CLI.vars.keystone_client_python_interpreter }}"
- include: roles/GLA-API/tasks/keystone_get_swift_project_id.yml
ansible_python_interpreter: "{{
KEY_CLI.vars.keystone_client_python_interpreter }}"
- include: roles/GLA-API/tasks/configure.yml
- include: roles/GLA-API/tasks/start.yml
- include: glance-status.yml
07070100000046000041ED0000000000000000000000065EFCE42300000000000000000000000000000000000000000000002F00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles07070100000047000041ED0000000000000000000000085EFCE42300000000000000000000000000000000000000000000003700000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API07070100000048000041ED0000000000000000000000025EFCE42300000000000000000000000000000000000000000000004000000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/defaults07070100000049000081A40000000000000000000000015EFCE42300001191000000000000000000000000000000000000004900000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/defaults/main.yml#
# (c) Copyright 2015-2017 Hewlett Packard Enterprise Development LP
# (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.
#
---
# Layout of this file:
# At the top of this file (following on from this text) are the root level
# variables. Variables defined here have global scope.
#
# Files are defined by identifiers followed by a colon(:), with sections in
# a file indented to the next level.
#
glance_api_conf_dir: "{{ 'glance-api' | config_dir() }}"
glance_api_bin_dir: "{{ 'glance-api' | bin_dir() }}"
glance_api_vip: "{{ GLA_API.advertises.vips.private[0].url }}"
# glance-api.conf
## [DEFAULT]
glance_api_paste_config: "{{ glance_service_conf_dir }}/api-paste.ini"
glance_data_api: "glance.db.registry.api"
glance_api_log_file: "{{ log_dir }}/glance-api.log"
glance_api_log_json_file: "{{ log_dir }}/glance-api-json.log"
# Revealing image locations can present a GRAVE SECURITY RISK as image
# locations can sometimes include credentials. Hence, this is set to False
# by default. Set this to True with EXTREME CAUTION and ONLY IF you know what
# you are doing!
glance_show_image_direct_url: False
glance_show_multiple_locations: False
## Registry
glance_registry_host: "{{ GLA_API.consumes_GLA_REG.vips.private[0].host }}"
glance_registry_client_protocol: "{{ GLA_API.consumes_GLA_REG.vips.private[0].protocol }}"
## Notifications
glance_api_notification_driver: "{{ glance_default_notification_driver }}"
## SES Integration
# NOTE: 'ses_glance_user_name' is expected to come from global facts, which is
# populated by the SES extension
glance_ses_enabled: "{{ 'True' if ses_glance_user_name is defined else 'False' }}"
glance_ses_user_name: "{{ ses_glance_user_name | default('') }}"
glance_ses_pool_name: "{{ ses_glance_pool_name | default('') }}"
glance_ses_ceph_conf_file_path: "{{ ses_conf_file_path | default('') }}"
## Glance Store
glance_stores: "{{ GLA_API.vars.glance_stores | default('swift') }}{%- if glance_ses_enabled|bool %}, glance.store.rbd.Store{% endif %}"
glance_fallback: "swift"
glance_default_store: "{%- if glance_ses_enabled|bool %}rbd{%
else %}{{ GLA_API.vars.glance_default_store |
default(glance_fallback) }}{% endif %}"
glance_store_filesystem_store_datadir: "/var/lib/glance/images"
glance_store_swift_auth_version: "3"
glance_store_swift_tenant_and_user: "{{glance_swift_tenant_name }}:{{ glance_swift_user }}"
glance_cloud: "{{ host.my_dimensions.cloud_name }}"
glance_cp: "{{ host.my_dimensions.control_plane }}"
glance_cluster: "{{ host.my_dimensions.cluster }}"
glance_store_swift_container: "glance-{{ glance_cloud }}-{{ glance_cp }}-{{ glance_cluster }}"
glance_store_swift_key: "{{ glance_swift_password }}"
glance_store_swift_create_container: "True"
glance_store_swift_large_obj_size: "1000"
glance_store_swift_large_obj_chunk: "500"
glance_store_swift_multi_tenant: "False"
glance_store_swift_ssl_compression: "False"
glance_store_swift_auth_insecure: "False"
glance_store_swift_store_cacert: "{{ glance_cacert_file }}"
glance_store_swift_store_endpoint_type: "internalURL"
glance_store_swift_store_auth_address: "{{ GLA_API.consumes_KEY_API.vips.private[0].url }}/v3"
glance_store_default_store_reference: "ardana-default-store"
glance_store_swift_store_config_file: "glance-swift-store.conf"
## WSGI Pipeline flavor
glance_api_flavor: "{{ glance_default_flavor }}"
## Allows common to know which component
glance_component: glance-api
## Cache
glance_api_cache_active: false
glance_api_cache_prune_percent_size: "80"
glance_api_cache_log_file: "{{ log_dir }}/glance-cache.log"
## Audit
glance_api_audit_enable: "{{ GLA.audit.enabled }}"
glance_audit_log_base_location: "{{ GLA.audit.dir }}"
glance_audit_log_location: "{{ GLA.audit.dir }}/glance/glance-audit.log"
glance_audit_group: "adm"
glance_api_bind_host: "{{ host.bind.GLA_API.internal.ip_address }}"
## Healthcheck
glance_api_private_url: "{{ GLA_API.advertises.vips.private[0].url }}"
0707010000004A000041ED0000000000000000000000035EFCE42300000000000000000000000000000000000000000000003D00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/files0707010000004B000041ED0000000000000000000000035EFCE42300000000000000000000000000000000000000000000004100000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/files/etc0707010000004C000041ED0000000000000000000000025EFCE42300000000000000000000000000000000000000000000005100000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/files/etc/dbconfig-common0707010000004D000081A40000000000000000000000015EFCE42300000015000000000000000000000000000000000000006400000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/files/etc/dbconfig-common/glance-common.confdbc_dbtype='sqlite3'
0707010000004E000081A40000000000000000000000015EFCE42300000564000000000000000000000000000000000000005300000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/files/etc/schema-image.json{
"kernel_id": {
"type": ["null", "string"],
"pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$",
"description": "ID of image stored in Glance that should be used as the kernel when booting an AMI-style image."
},
"ramdisk_id": {
"type": ["null", "string"],
"pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$",
"description": "ID of image stored in Glance that should be used as the ramdisk when booting an AMI-style image."
},
"instance_uuid": {
"type": "string",
"description": "Metadata which can be used to record which instance this image is associated with. (Informational only, does not create an instance snapshot.)"
},
"architecture": {
"description": "Operating system architecture as specified in http://docs.openstack.org/trunk/openstack-compute/admin/content/adding-images.html",
"type": "string"
},
"os_distro": {
"description": "Common name of operating system distribution as specified in http://docs.openstack.org/trunk/openstack-compute/admin/content/adding-images.html",
"type": "string"
},
"os_version": {
"description": "Operating system version as specified by the distributor",
"type": "string"
}
}
0707010000004F000041ED0000000000000000000000025EFCE42300000000000000000000000000000000000000000000003C00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/meta07070100000050000081A40000000000000000000000015EFCE423000002A4000000000000000000000000000000000000004500000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/meta/main.yml#
# (c) Copyright 2015 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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.
#
---
dependencies:
- role: _GLA-CMN
07070100000051000041ED0000000000000000000000025EFCE42300000000000000000000000000000000000000000000003D00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/tasks07070100000052000081A40000000000000000000000015EFCE423000006D2000000000000000000000000000000000000005100000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/tasks/audit_configure.yml#
# (c) Copyright 2016-2017 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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: GLA-API | audit_configure | Create auditing logging directory
become: yes
file:
path: "{{ glance_audit_log_base_location }}/glance"
owner: "{{ glance_system_user }}"
group: "{{ glance_audit_group }}"
mode: 0755
state: directory
when: glance_api_audit_enable
- name: GLA-API | audit_configure | Touch the audit log file
become: yes
file:
path: "{{ glance_audit_log_location }}"
owner: "{{ glance_system_user }}"
group: "{{ glance_audit_group }}"
mode: 0640
state: touch
when: glance_api_audit_enable
- name: GLA-API | audit_configure | Create glance-api-audit-map.conf
become: yes
template:
src: glance-api-audit-map.conf.j2
dest: "{{ glance_api_conf_dir }}/glance-api-audit-map.conf"
owner: "{{ glance_system_user }}"
group: "{{ glance_system_group }}"
mode: 0400
when: glance_api_audit_enable
register: ardana_notify_glance_api_restart_required
- name: GLA-API | audit_configure | Change pipeline flavour
set_fact:
glance_api_flavor: "{{ glance_api_flavor }}+audit"
when: glance_api_audit_enable
07070100000053000081A40000000000000000000000015EFCE42300000721000000000000000000000000000000000000005100000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/tasks/cache_configure.yml#
# (c) Copyright 2016-2017 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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: GLA-API | cache_configure | Add glance-cache-pruner to cron jobs
become: yes
cron:
name: "Glance cache pruner"
minute: "*/30"
job: "{{ glance_api_bin_dir }}/glance-cache-pruner
--config-file {{ glance_api_conf_dir }}/glance-cache.conf"
user: "{{ glance_system_user }}"
- name: GLA-API | cache_configure | Add glance-cache-cleaner to cron jobs
become: yes
cron:
name: "Glance cache cleaner"
minute: "*/30"
job: "{{ glance_api_bin_dir }}/glance-cache-cleaner
--config-file {{ glance_api_conf_dir }}/glance-cache.conf"
user: "{{ glance_system_user }}"
- name: GLA-API | cache_configure | Create glance-cache.conf from template
become: yes
template:
src: glance-cache.conf.j2
dest: "{{ glance_api_conf_dir }}/glance-cache.conf"
owner: "{{ glance_system_user }}"
group: "{{ glance_system_group }}"
mode: 0400
register: ardana_notify_glance_api_restart_required
- name: GLA-API | cache_configure | Change permissions on caching dir
become: yes
file:
path: "{{ glance_api_cache_dir }}"
owner: "{{ glance_system_user }}"
group: "{{ glance_system_group }}"
mode: 0755
07070100000054000081A40000000000000000000000015EFCE42300000841000000000000000000000000000000000000005400000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/tasks/cache_preconfigure.yml#
# (c) Copyright 2016-2017 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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: GLA-API | cache_preconfigure | Test cache enabled/logical volume defined
# If the input model specifies a logical volume with usage "glance-cache"
# we will enable caching and use that to store cached images.
# If no such volume exists caching will not be enabled on the node.
set_fact:
glance_api_cache_active: true
glance_api_cache_dir: "{{ item.1.mount }}"
when: item.1.consumer is defined and item.1.consumer.usage is defined and
item.1.consumer.usage == "glance-cache" and item.1.mount is defined
with_subelements:
- "{{ host.my_disk_models.volume_groups }}"
- logical_volumes
- name: GLA-API | cache_preconfigure | Test cache directory mount point active
command: mountpoint -q "{{ glance_api_cache_dir }}"
changed_when: false
when: glance_api_cache_active
# This leaves a % of space as the glance cache pruner only cleans when over the
# max value. If the cache size can't grow over the max size images will never
# get cleaned out.
- name: GLA-API | cache_preconfigure | Get size of cache mount
set_fact:
glance_api_cache_max_size:
"{{ (item.size_total|float *
(glance_api_cache_prune_percent_size|float / 100.0))|int }}"
with_items: ansible_mounts
when: glance_api_cache_active and item.mount == glance_api_cache_dir
- name: GLA-API | cache_preconfigure | Change pipeline flavour
set_fact:
glance_api_flavor: "{{ glance_api_flavor }}+caching"
when: glance_api_cache_active
07070100000055000081A40000000000000000000000015EFCE42300001307000000000000000000000000000000000000004B00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/tasks/configure.yml#
# (c) Copyright 2015-2017 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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: singleton.yml
- include: ../../_GLA-CMN/tasks/configure.yml
- include: cache_preconfigure.yml
- name: GLA-API | configure | Create Glance directories
become: yes
file:
path: "{{ glance_api_conf_dir }}"
owner: "{{ glance_system_user }}"
group: "{{ glance_system_group }}"
mode: 0755
state: directory
when: glance_api_enabled
- name: GLA-API | configure | Copy configuration files
become: yes
copy:
src: "etc/{{ item }}"
dest: "{{ glance_api_conf_dir }}/{{ item }}"
owner: "{{ glance_system_user }}"
group: "{{ glance_system_group }}"
mode: 0400
force: True
with_items:
- 'schema-image.json'
register: ardana_notify_glance_api_restart_required
when: glance_api_enabled
# NOTE(NiallBunting): This has to be placed before the
# task where the glance-api.conf is created and after the
# directory is created.
- name: GLA-API | configure | Include glance audit_configure
include: audit_configure.yml
- name: GLA-API | configure | Create glance api log and json log files
become: yes
file:
path: "{{ item }}"
owner: "{{ glance_system_user }}"
group: "adm"
mode: 0640
state: touch
with_items:
- "{{ glance_api_log_file }}"
- "{{ glance_api_log_json_file }}"
- "{{ glance_api_cache_log_file }}"
when: glance_api_enabled
- name: GLA-API | configure | Create glance-api-paste.ini from template
become: yes
template:
src: glance-api-paste.ini.j2
dest: "{{ glance_api_conf_dir }}/glance-api-paste.ini"
owner: "{{ glance_system_user }}"
group: "{{ glance_system_group }}"
mode: 0400
register: ardana_notify_glance_api_restart_required
when: glance_api_enabled
- name: GLA-API | configure | Create policy.json from template
become: yes
template:
src: policy.json.j2
dest: "{{ glance_api_conf_dir }}/policy.json"
owner: "{{ glance_system_user }}"
group: "{{ glance_system_group }}"
mode: 0400
register: ardana_notify_glance_api_restart_required
when: glance_api_enabled
- name: GLA-API | configure | Create glance-api.conf from template
become: yes
template:
src: glance-api.conf.j2
dest: "{{ glance_api_conf_dir }}/glance-api.conf"
owner: "{{ glance_system_user }}"
group: "{{ glance_system_group }}"
mode: 0400
register: ardana_notify_glance_api_restart_required
when: glance_api_enabled
- name: GLA-API | configure | Create Swift store config from template
become: yes
template:
src: glance-swift-store.conf.j2
dest: "{{ glance_api_conf_dir }}/{{ glance_store_swift_store_config_file }}"
owner: "{{ glance_system_user }}"
group: "{{ glance_system_group }}"
mode: 0400
register: ardana_notify_glance_api_restart_required
when: glance_api_enabled
- name: GLA-API | configure | Create glance-api-logging.conf from template
become: yes
template:
src: glance-api-logging.conf.j2
dest: "{{ glance_api_conf_dir }}/glance-api-logging.conf"
owner: "{{ glance_system_user }}"
group: "{{ glance_system_group }}"
mode: 0400
register: ardana_notify_glance_api_restart_required
when: glance_api_enabled
- name: GLA-API | configure | Register glance-api with systemd
become: yes
setup_systemd:
service: "glance-api"
cmd: "glance-api"
user: "{{ glance_system_user }}"
group: "{{ glance_system_group }}"
args:
"--config-file {{ glance_api_conf_dir }}/glance-api.conf
--log-file {{ glance_api_log_file }}"
when: glance_api_enabled
- name: GLA-API | configure | Include glance cache_configure
include: cache_configure.yml
when: glance_api_cache_active and glance_api_enabled
- name: GLA-API | configure | Create filestore directory
become: yes
file:
path: "{{ glance_store_filesystem_store_datadir }}"
owner: "{{ glance_system_user }}"
group: "{{ glance_system_group }}"
mode: 0755
state: directory
when: glance_api_enabled
- name: GLA-API | configure | Create glance-check.conf from template
become: yes
template:
src: glance-check.conf.j2
dest: "{{ glance_api_conf_dir }}/glance-check.conf"
owner: "{{ ardana_user }}"
group: "{{ ardana_group }}"
mode: 0400
when: glance_api_enabled
07070100000056000081A40000000000000000000000015EFCE423000009AF000000000000000000000000000000000000004900000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/tasks/install.yml#
# (c) Copyright 2015-2017 Hewlett Packard Enterprise Development LP
# (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: ../../_GLA-CMN/tasks/install.yml
- name: GLA-API | install | Update venv cache
install_package:
cache: update
# Install Glance venv
- name: GLA-API | install | Install Glance virtual env
become: yes
install_package:
name: glance
service: glance-api
state: present
activate: act_off
register: glance_api_install_package_result
- name: GLA-API | install | Register venv change
command: echo "register venv change"
register: ardana_notify_glance_api_venv_change
when: glance_api_install_package_result.changed
- name: GLA-API | install | Register restart required
command: echo "restart required"
register: ardana_notify_glance_api_restart_required
when: glance_api_install_package_result.changed
- name: GLA-API | install | Install python-glance-check
become: yes
package:
name: python-glance-check
state: present
when: deployer_media_legacy_layout|bool == false
#Install Glance-check venv
- name: GLA-API | install | Install Glance-check virtual env (legacy)
become: yes
install_package:
name: glance-check
service: glance-check
state: present
when: deployer_media_legacy_layout|bool
#Create glance-check binary symlinks
- name: GLA-API | install | Create symlinks to binaries (legacy)
become: yes
file:
src: "{{ item }}"
dest: "/usr/local/bin/{{ item | basename }}"
owner: root
group: root
state: link
with_items:
- "/opt/stack/service/glance-check/venv/bin/glance-check"
when: deployer_media_legacy_layout|bool
- name: GLA-API | install | Set glance-api configuration directory
set_fact:
glance_api_conf_dir: "{{ 'glance-api' |
config_dir(glance_api_install_package_result.version) }}"
glance_api_bin_dir: "{{ 'glance-api' |
bin_dir(glance_api_install_package_result.version) }}"
07070100000057000081A40000000000000000000000015EFCE423000007D9000000000000000000000000000000000000005500000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/tasks/keystone_change_pwd.yml#
# (c) Copyright 2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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.
#
# Glance's upgrade specific Keystone configuration
---
- name: GLA-API | keystone_change_pwd | Get a domain scoped token
keystone_v3:
endpoint: "{{ keystone_admin_endpoint }}"
login_username: "{{ keystone_admin_user }}"
login_password: "{{ keystone_admin_password }}"
login_user_domain_name: "{{ keystone_user_domain_name }}"
login_domain_name: "{{ keystone_user_domain_name }}"
action: token_get
run_once: true
register: domain_scoped_token_result
# Change password of keystone token verification user
- name: GLA-API | keystone_change_pwd | Reset service user creds
become: yes
keystone_v3:
login_token: "{{ domain_scoped_token_result.result }}"
endpoint: "{{ keystone_admin_endpoint }}"
action: reset_password_by_admin
user_name: "{{ glance_admin_user }}"
user_domain_name: "{{ keystone_user_domain_name }}"
user_password: "{{ glance_admin_password }}"
run_once: true
# Change password of backend swift user
- name: GLA-API | keystone_change_pwd | Reset swift user creds
become: yes
keystone_v3:
login_token: "{{ domain_scoped_token_result.result }}"
endpoint: "{{ keystone_admin_endpoint }}"
action: reset_password_by_admin
user_name: "{{ glance_swift_user }}"
user_domain_name: "{{ keystone_user_domain_name }}"
user_password: "{{ glance_swift_password }}"
run_once: true
07070100000058000081A40000000000000000000000015EFCE4230000132D000000000000000000000000000000000000004F00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/tasks/keystone_conf.yml#
# (c) Copyright 2015-2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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.
#
# Glance's Keystone configuration
---
- name: GLA-API | keystone_conf | Get a domain scoped token
keystone_v3:
endpoint: "{{ keystone_admin_endpoint }}"
login_username: "{{ keystone_admin_user }}"
login_password: "{{ keystone_admin_password }}"
login_user_domain_name: "{{ keystone_user_domain_name }}"
login_domain_name: "{{ keystone_user_domain_name }}"
action: "token_get"
register: domain_scoped_token_result
run_once: True
# The service user is used for Keystone middleware auth.
- name: GLA-API | keystone_conf | Create service user
keystone_v3:
login_token: "{{ domain_scoped_token_result.result }}"
endpoint: "{{ keystone_admin_endpoint }}"
action: "create_user"
user_name: "{{ glance_admin_user }}"
user_domain_name: "{{ keystone_user_domain_name }}"
user_password: "{{ glance_admin_password }}"
run_once: True
- name: GLA-API | keystone_conf | Grant admin role to service user
keystone_v3:
login_token: "{{ domain_scoped_token_result.result }}"
endpoint: "{{ keystone_admin_endpoint }}"
action: "grant_project_role"
user_name: "{{ glance_admin_user }}"
project_name: "{{ keystone_project_name }}"
user_domain_name: "{{ keystone_user_domain_name }}"
project_domain_name: "{{ keystone_project_domain_name }}"
role_name: "{{ keystone_admin_role_name }}"
run_once: True
- name: GLA-API | keystone_conf | Create swift project
keystone_v3:
login_token: "{{ domain_scoped_token_result.result }}"
endpoint: "{{ keystone_admin_endpoint }}"
action: "create_project"
project_name: "{{ glance_swift_tenant_name }}"
description: "Tenant for storing Glance image data in Swift"
project_domain_name: "{{ keystone_project_domain_name }}"
run_once: True
- name: GLA-API | keystone_conf | Create swift user
keystone_v3:
login_token: "{{ domain_scoped_token_result.result }}"
endpoint: "{{ keystone_admin_endpoint }}"
action: "create_user"
user_name: "{{ glance_swift_user }}"
user_domain_name: "{{ keystone_user_domain_name }}"
user_password: "{{ glance_swift_password }}"
role_name: "{{ keystone_member_role_name }}"
run_once: True
- name: GLA-API | keystone_conf | Grant member role to swift project
keystone_v3:
login_token: "{{ domain_scoped_token_result.result }}"
endpoint: "{{ keystone_admin_endpoint }}"
action: "grant_project_role"
user_name: "{{ glance_swift_user }}"
project_name: "{{ glance_swift_tenant_name }}"
user_domain_name: "{{ keystone_user_domain_name }}"
project_domain_name: "{{ keystone_project_domain_name }}"
role_name: "{{ keystone_member_role_name }}"
run_once: True
- name: GLA-API | keystone_conf | Create Glance Admin role
keystone_v3:
endpoint: "{{ keystone_admin_endpoint }}"
login_token: "{{ domain_scoped_token_result.result }}"
action: "create_role"
role_name: "glance_admin"
description: "Glance admin role"
run_once: True
- name: GLA-API | keystone_conf | Create glance-check project
keystone_v3:
login_token: "{{ domain_scoped_token_result.result }}"
endpoint: "{{ keystone_admin_endpoint }}"
action: "create_project"
project_name: "{{ glance_check_tenant_name }}"
description: "glance-check project"
project_domain_name: "{{ keystone_project_domain_name }}"
run_once: True
- name: GLA-API | keystone_conf | Create glance-check user
keystone_v3:
login_token: "{{ domain_scoped_token_result.result }}"
endpoint: "{{ keystone_admin_endpoint }}"
action: "create_user"
user_name: "{{ glance_check_user }}"
user_domain_name: "{{ keystone_user_domain_name }}"
user_password: "{{ glance_check_password }}"
role_name: "{{ keystone_member_role_name }}"
run_once: True
- name: GLA-API | keystone_conf | Grant role for glance-check
keystone_v3:
login_token: "{{ domain_scoped_token_result.result }}"
endpoint: "{{ keystone_admin_endpoint }}"
action: "grant_project_role"
user_name: "{{ glance_check_user }}"
project_name: "{{ glance_check_tenant_name }}"
user_domain_name: "{{ keystone_user_domain_name }}"
project_domain_name: "{{ keystone_project_domain_name }}"
role_name: "{{ keystone_member_role_name }}"
run_once: True
07070100000059000081A40000000000000000000000015EFCE4230000069B000000000000000000000000000000000000005F00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/tasks/keystone_get_swift_project_id.yml#
# (c) Copyright 2015-2017 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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.
#
# Glance's Keystone configuration
---
- name: GLA-API | keystone_get_swift_project_id | Get a domain scoped token
keystone_v3:
endpoint: "{{ keystone_admin_endpoint }}"
login_username: "{{ keystone_admin_user }}"
login_password: "{{ keystone_admin_password }}"
login_user_domain_name: "{{ keystone_user_domain_name }}"
login_domain_name: "{{ keystone_user_domain_name }}"
action: "token_get"
register: domain_scoped_token_result
run_once: True
- name: GLA-API | keystone_get_swift_project_id | Obtain swift project id
keystone_v3:
action: "find_project"
login_token: "{{ domain_scoped_token_result.result }}"
endpoint: "{{ keystone_admin_endpoint }}"
project_domain_name: "{{ keystone_project_domain_name }}"
project_name: "{{ glance_swift_tenant_name }}"
run_once: True
register: swift_project_id_result
- name: GLA-API | keystone_get_swift_project_id | Set swift project id fact
set_fact:
glance_swift_project_id: >-
{{ swift_project_id_result.result.id }}
run_once: True
0707010000005A000081A40000000000000000000000015EFCE42300000639000000000000000000000000000000000000005700000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/tasks/keystone_upgrade_conf.yml#
# (c) Copyright 2015-2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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.
#
# Glance's upgrade specific Keystone configuration
---
- name: GLA-API | keystone_upgrade_conf | Get domain scoped token
keystone_v3:
endpoint: "{{ keystone_admin_endpoint }}"
login_username: "{{ keystone_admin_user }}"
login_password: "{{ keystone_admin_password }}"
login_user_domain_name: "{{ keystone_user_domain_name }}"
login_domain_name: "{{ keystone_user_domain_name }}"
action: "token_get"
run_once: true
register: domain_scoped_token_result
# Handle the case where a new Swift password has been specified during upgrade
- name: GLA-API | keystone_upgrade_conf | Set swift user password
keystone_v3:
login_token: "{{ domain_scoped_token_result.result }}"
endpoint: "{{ keystone_admin_endpoint }}"
action: "reset_password_by_admin"
user_name: "{{ glance_swift_user }}"
user_domain_name: "{{ keystone_user_domain_name }}"
user_password: "{{ glance_swift_password }}"
run_once: true
0707010000005B000081A40000000000000000000000015EFCE4230000054B000000000000000000000000000000000000004F00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/tasks/set_httpcheck.yml#
# (c) Copyright 2015-2017 Hewlett Packard Enterprise Development LP
# (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: singleton.yml
- name: GLA-API | set_httpcheck | Setup active check against local api endpoint
become: yes
monasca_agent_plugin:
name: "httpcheck"
args:
url: "http://{{ glance_api_bind_host }}:{{ glance_api_port }}/healthcheck"
dimensions: "service:image-service,component:glance-api"
match_pattern: ".*OK.*"
when: glance_api_enabled
- name: GLA-API | set_httpcheck | Setup active check against internal endpoint
become: yes
monasca_agent_plugin:
name: "httpcheck"
args:
url: "{{ glance_api_private_url }}/healthcheck"
dimensions: "service:image-service,component:glance-api"
match_pattern: ".*OK.*"
when: glance_api_enabled
0707010000005C000081A40000000000000000000000015EFCE423000003D3000000000000000000000000000000000000004B00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/tasks/singleton.yml#
# (c) Copyright 2015-2017 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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: GLA-API | singleton | Default to HA mode
set_fact:
glance_api_enabled: true
- name: GLA-API | singleton | Check if singleton mode
set_fact:
glance_api_enabled: false
when: GLA_API.vars.ha_mode is defined and (not GLA_API.vars.ha_mode) and
(0 != groups[verb_hosts.GLA_API].index(inventory_hostname))
0707010000005D000081A40000000000000000000000015EFCE4230000066E000000000000000000000000000000000000004700000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/tasks/start.yml#
# (c) Copyright 2015-2017 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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: singleton.yml
- name: GLA-API | start | Activate the latest installed version
become: yes
install_package:
name: glance
service: glance-api
activate: act_on
version: "{{ glance_api_install_package_result.version }}"
when: (ardana_notify_glance_api_venv_change is defined and
ardana_notify_glance_api_venv_change.changed and
glance_api_venv_change_result is not defined) and
glance_api_enabled
register: glance_api_venv_change_result
- name: GLA-API | start | Restart glance-api service
become: yes
service: name=glance-api state=restarted
when: (ardana_notify_glance_api_restart_required is defined and
ardana_notify_glance_api_restart_required.changed and
glance_api_restart_result is not defined) and
glance_api_enabled
register: glance_api_restart_result
- name: GLA-API | start | Ensure glance-api service is started
become: yes
service: name=glance-api state=started
when: glance_api_enabled
0707010000005E000081A40000000000000000000000015EFCE42300000768000000000000000000000000000000000000004800000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/tasks/status.yml#
# (c) Copyright 2015-2017 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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: singleton.yml
# The parameter glance_api_enabled will be true or false
# depending on whether the glance-api is enabled on a particular
# node. If ha_mode is false then the glance-api should only
# be enabled (running) on the first node. We check that the api is enabled
# on all nodes it should be enabled on. We also check that the
# glance-api is disabled (not running) on all nodes it should be disabled on.
- name: GLA-API | status | Check glance-api service status
command: systemctl status glance-api
ignore_errors: yes
changed_when: false
register: systemctl_status_result
- name: GLA-API | status | Report any issues (HA).
fail:
msg: |
glance-api is not running.
systemctl status glance-api output:
{{ systemctl_status_result.stdout }}
{{ systemctl_status_result.stderr }}
when: systemctl_status_result.rc != 0 and glance_api_enabled
- name: GLA-API | status | Report any issues (singleton mode).
fail:
msg: |
glance-api should not be running in this machine (singleton mode)
systemctl status glance-api output:
{{ systemctl_status_result.stdout }}
{{ systemctl_status_result.stderr }}
when: systemctl_status_result.rc == 0 and not glance_api_enabled
0707010000005F000081A40000000000000000000000015EFCE423000002ED000000000000000000000000000000000000004600000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/tasks/stop.yml#
# (c) Copyright 2015 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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: GLA-API | stop | Stop Glance-API
become: yes
service:
name: glance-api
state: stopped
07070100000060000041ED0000000000000000000000025EFCE42300000000000000000000000000000000000000000000004100000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/templates07070100000061000081A40000000000000000000000015EFCE423000003F2000000000000000000000000000000000000005E00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/templates/glance-api-audit-map.conf.j2{#
#
# (c) Copyright 2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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.
#
#}
[DEFAULT]
# default target endpoint type
# should match the endpoint type defined in service catalog
target_endpoint_type = None
# possible end path of api requests
[path_keywords]
detail = None
file = None
images = image
members = member
tags = tag
# map endpoint type defined in service catalog to CADF typeURI
[service_endpoints]
image = service/storage/image
07070100000062000081A40000000000000000000000015EFCE42300000AE4000000000000000000000000000000000000005C00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/templates/glance-api-logging.conf.j2{#
#
# (c) Copyright 2015,2016 Hewlett Packard Enterprise Development LP
# (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.
#
#}
[loggers]
keys: root, iso8601, eventletwsgi{%- if glance_api_audit_enable|bool %}, audit{% endif %}
[handlers]
keys: watchedfile, logstash{%- if glance_api_audit_enable|bool %}, auditfile{% endif %}
[formatters]
keys: context, logstash, minimal
[logger_root]
qualname: root
handlers: watchedfile, logstash
level: NOTSET
[logger_iso8601]
qualname: iso8601
handlers: watchedfile, logstash
level: INFO
# Keep eventlet.wsgi.server chattiness to a minimum, otherwise
# the healthcheck middleware will flood the logs
[logger_eventletwsgi]
qualname: eventlet.wsgi.server
handlers: watchedfile, logstash
level: WARNING
{%- if glance_api_audit_enable|bool %}
[logger_audit]
qualname: oslo.messaging.notification.audit
handlers: auditfile
propagate: 0
level: INFO
{% endif %}
# Writes to disk
# Note: log rotation configuration is being handled by Centralized Logging
# and is surfaced to customers on the deployer via ...configs/logging/vars/glance-clr.yml
[handler_watchedfile]
class: handlers.WatchedFileHandler
args: ( '{{ glance_api_log_file }}',)
formatter: context
level: INFO
# Writes JSON to disk, beaver will ship to logstash
# Note: log rotation configuration is being handled by Centralized Logging
# and is surfaced to customers on the deployer via ...configs/logging/vars/glance-clr.yml
[handler_logstash]
class: handlers.WatchedFileHandler
args: ('{{ glance_api_log_json_file }}',)
formatter: logstash
level: INFO
{%- if glance_api_audit_enable|bool %}
[handler_auditfile]
class: handlers.WatchedFileHandler
args: ('{{ glance_audit_log_location }}',)
formatter = minimal
level: INFO
{% endif %}
# datefmt must be set otherwise you end up with too many (msecs) fields
[formatter_context]
class: oslo_log.formatters.ContextFormatter
args: (datefmt=datefmt)
format: %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user)s %(tenant)s] %(instance)s%(message)s
datefmt: %Y-%m-%d %H:%M:%S
# the "format" and "datefmt" actually set the "type" and "tags"
[formatter_logstash]
class: logstash.LogstashFormatterVersion1
format: glance
datefmt: glance-api
[formatter_minimal]
format=%(message)s
07070100000063000081A40000000000000000000000015EFCE423000010C6000000000000000000000000000000000000005900000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/templates/glance-api-paste.ini.j2{#
#
# (c) Copyright 2015,2016 Hewlett Packard Enterprise Development LP
# (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.
#
#}
[composite:glance-api-healthcheck]
use = egg:Paste#urlmap
/ = glance-api-{{ glance_api_flavor }}
/healthcheck = healthcheck
# Use this pipeline for no auth or image caching - DEFAULT
[pipeline:glance-api]
pipeline = versionnegotiation osprofiler unauthenticated-context rootapp
# Use this pipeline for image caching and no auth
[pipeline:glance-api-caching]
pipeline = versionnegotiation osprofiler unauthenticated-context cache rootapp
# Use this pipeline for caching w/ management interface but no auth
[pipeline:glance-api-cachemanagement]
pipeline = versionnegotiation osprofiler unauthenticated-context cache cachemanage rootapp
# Use this pipeline for keystone auth
[pipeline:glance-api-keystone]
pipeline = versionnegotiation osprofiler authtoken context rootapp
# Use this pipeline for keystone auth with oslo middleware's audit
[pipeline:glance-api-keystone+audit]
pipeline = versionnegotiation osprofiler authtoken audit context rootapp
# Use this pipeline for keystone auth with oslo middleware's caching
[pipeline:glance-api-keystone+caching]
pipeline = versionnegotiation osprofiler authtoken context cache rootapp
# Use this pipeline for keystone auth with oslo middleware's caching and audit
[pipeline:glance-api-keystone+caching+audit]
pipeline = versionnegotiation osprofiler authtoken audit context cache rootapp
# Use this pipeline for keystone auth with caching and cache management
[pipeline:glance-api-keystone+cachemanagement]
pipeline = versionnegotiation osprofiler authtoken context cache cachemanage rootapp
# Use this pipeline for authZ only. This means that the registry will treat a
# user as authenticated without making requests to keystone to reauthenticate
# the user.
[pipeline:glance-api-trusted-auth]
pipeline = versionnegotiation osprofiler context rootapp
# Use this pipeline for authZ only. This means that the registry will treat a
# user as authenticated without making requests to keystone to reauthenticate
# the user and uses cache management
[pipeline:glance-api-trusted-auth+cachemanagement]
pipeline = versionnegotiation osprofiler context cache cachemanage rootapp
[composite:rootapp]
paste.composite_factory = glance.api:root_app_factory
/: apiversions
/v1: apiv1app
/v2: apiv2app
[app:apiversions]
paste.app_factory = glance.api.versions:create_resource
[app:apiv1app]
paste.app_factory = glance.api.v1.router:API.factory
[app:apiv2app]
paste.app_factory = glance.api.v2.router:API.factory
[filter:versionnegotiation]
paste.filter_factory = glance.api.middleware.version_negotiation:VersionNegotiationFilter.factory
[filter:cache]
paste.filter_factory = glance.api.middleware.cache:CacheFilter.factory
[filter:cachemanage]
paste.filter_factory = glance.api.middleware.cache_manage:CacheManageFilter.factory
[filter:context]
paste.filter_factory = glance.api.middleware.context:ContextMiddleware.factory
[filter:unauthenticated-context]
paste.filter_factory = glance.api.middleware.context:UnauthenticatedContextMiddleware.factory
[filter:authtoken]
paste.filter_factory = keystonemiddleware.auth_token:filter_factory
delay_auth_decision = true
[filter:gzip]
paste.filter_factory = glance.api.middleware.gzip:GzipMiddleware.factory
[filter:osprofiler]
paste.filter_factory = osprofiler.web:WsgiMiddleware.factory
hmac_keys = SECRET_KEY
enabled = no
[app:healthcheck]
paste.app_factory = oslo_middleware:Healthcheck.app_factory
backends = disable_by_file
disable_by_file_path = /var/run/glance-api/healthcheck_disable
[filter:audit]
paste.filter_factory = keystonemiddleware.audit:filter_factory
audit_map_file = {{ glance_api_conf_dir }}/glance-api-audit-map.conf
07070100000064000081A40000000000000000000000015EFCE42300000FC1000000000000000000000000000000000000005400000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/templates/glance-api.conf.j2#
# (c) Copyright 2015-2017 Hewlett Packard Enterprise Development LP
# (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.
#
[DEFAULT]
debug = {{ debug_logs }}
bind_host = {{ host.bind.GLA_API.internal.ip_address }}
bind_port = {{ glance_api_port }}
log_file = {{ glance_api_log_file }}
log_config_append={{ glance_api_conf_dir }}/glance-api-logging.conf
data_api = {{ glance_data_api }}
registry_host = {{ glance_registry_host }}
registry_port = {{ glance_registry_port }}
registry_client_protocol = {{ glance_registry_client_protocol }}
{% if glance_api_cache_active %}
image_cache_max_size = {{ glance_api_cache_max_size }}
image_cache_dir = {{ glance_api_cache_dir }}
{% endif %}
workers = {{ glance_worker_count }}
transport_url = {{ glance_default_notification_backend }}://{{ transport_url }}
# Revealing image locations can present a GRAVE SECURITY RISK as image
# locations can sometimes include credentials. Hence, this is set to False
# by default. Set this to True with EXTREME CAUTION and ONLY IF you know what
# you are doing!
show_image_direct_url = {{ glance_show_image_direct_url }}
show_multiple_locations = {{ glance_show_multiple_locations }}
[image_format]
container_formats = {{ container_formats }}
[keystone_authtoken]
auth_uri = {{ keystone_auth_uri }}
auth_url = {{ keystone_auth_url }}
auth_type = password
project_domain_name = {{ keystone_project_domain_name }}
user_domain_name = {{ keystone_user_domain_name}}
project_name = {{ glance_admin_project_name }}
username = {{ glance_admin_user }}
password = {{ glance_admin_password }}
cafile = {{ glance_cacert_file }}
service_token_roles_required = true
service_token_roles = admin
memcached_servers = {{ memcached_servers }}
memcache_security_strategy = ENCRYPT
memcache_secret_key = {{ memcache_secret_key }}
memcache_pool_socket_timeout = 1
[oslo_messaging_rabbit]
ssl = {{ rabbit_use_ssl }}
[paste_deploy]
flavor = healthcheck
[profiler]
enabled = {{ osprofiler_enabled }}
[glance_store]
stores = {{ glance_stores }}
default_store = {{ glance_default_store }}
swift_store_auth_insecure = {{ glance_store_swift_auth_insecure }}
swift_store_cacert = {{ glance_store_swift_store_cacert }}
swift_store_endpoint_type = {{ glance_store_swift_store_endpoint_type }}
{% if GLA_API.consumes_SWF_PRX is defined %}
swift_store_endpoint = {{ GLA_API.consumes_SWF_PRX.vips.private[0].url }}/v1/AUTH_{{ glance_swift_project_id }}
{% else %}
swift_store_region = {{ GLA.regions | first }}
{% endif %}
swift_store_container = {{ glance_store_swift_container }}
swift_store_large_object_size = {{ glance_store_swift_large_obj_size }}
swift_store_large_object_chunk_size = {{ glance_store_swift_large_obj_chunk }}
swift_store_create_container_on_put = {{ glance_store_swift_create_container }}
swift_store_multi_tenant = {{ glance_store_swift_multi_tenant }}
default_swift_reference = {{ glance_store_default_store_reference }}
swift_store_config_file = {{ glance_api_conf_dir }}/{{ glance_store_swift_store_config_file }}
swift_store_ssl_compression = {{ glance_store_swift_ssl_compression }}
filesystem_store_datadir = {{ glance_store_filesystem_store_datadir }}
{% if glance_ses_enabled|bool %}
rbd_store_pool = {{ glance_ses_pool_name }}
rbd_store_user = {{ glance_ses_user_name }}
rbd_store_ceph_conf = {{ glance_ses_ceph_conf_file_path }}
{% endif %}
[audit_middleware_notifications]
driver = log
[oslo_messaging_notifications]
driver = {{ glance_api_notification_driver }}
[barbican]
auth_endpoint = {{ keystone_auth_url }}/v3
07070100000065000081A40000000000000000000000015EFCE42300001CFE000000000000000000000000000000000000005600000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/templates/glance-cache.conf.j2#
# (c) Copyright 2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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.
#
{% if glance_api_cache_active %}
[DEFAULT]
#
# From glance.cache
#
# The path to the sqlite file database that will be used for image
# cache management. (string value)
#image_cache_sqlite_db = cache.db
# The driver to use for image cache management. (string value)
#image_cache_driver = sqlite
# The upper limit (the maximum size of accumulated cache in bytes)
# beyond which pruner, if running, starts cleaning the images cache.
# (integer value)
image_cache_max_size = {{ glance_api_cache_max_size }}
# The amount of time to let an image remain in the incomplete cache
# without being accessed. (integer value)
#image_cache_stall_time = 86400
# Base directory that the Image Cache uses. (string value)
image_cache_dir = {{ glance_api_cache_dir }}
# Address to find the registry server. (string value)
#registry_host = 0.0.0.0
# Port the registry server is listening on. (integer value)
# Minimum value: 1
# Maximum value: 65535
#registry_port = 9191
# Whether to pass through the user token when making requests to the
# registry. To prevent failures with token expiration during big files
# upload, it is recommended to set this parameter to False.If
# "use_user_token" is not in effect, then admin credentials can be
# specified. (boolean value)
#use_user_token = true
# The administrators user name. If "use_user_token" is not in effect,
# then admin credentials can be specified. (string value)
#admin_user = <None>
# The administrators password. If "use_user_token" is not in effect,
# then admin credentials can be specified. (string value)
#admin_password = <None>
# The tenant name of the administrative user. If "use_user_token" is
# not in effect, then admin tenant name can be specified. (string
# value)
#admin_tenant_name = <None>
# The URL to the keystone service. If "use_user_token" is not in
# effect and using keystone auth, then URL of keystone can be
# specified. (string value)
#auth_url = <None>
# The strategy to use for authentication. If "use_user_token" is not
# in effect, then auth strategy can be specified. (string value)
#auth_strategy = noauth
# The region for the authentication service. If "use_user_token" is
# not in effect and using keystone auth, then region name can be
# specified. (string value)
#auth_region = <None>
#
# From oslo.log
#
# Print debugging output (set logging level to DEBUG instead of
# default INFO level). (boolean value)
debug = true
# If set to false, will disable INFO logging level, making WARNING the
# default. (boolean value)
# This option is deprecated for removal.
# Its value may be silently ignored in the future.
#verbose = true
# The name of a logging configuration file. This file is appended to
# any existing logging configuration files. For details about logging
# configuration files, see the Python logging module documentation.
# (string value)
# Deprecated group/name - [DEFAULT]/log_config
#log_config_append = <None>
# DEPRECATED. A logging.Formatter log message format string which may
# use any of the available logging.LogRecord attributes. This option
# is deprecated. Please use logging_context_format_string and
# logging_default_format_string instead. (string value)
#log_format = <None>
# Format string for %%(asctime)s in log records. Default: %(default)s
# . (string value)
#log_date_format = %Y-%m-%d %H:%M:%S
# (Optional) Name of log file to output to. If no default is set,
# logging will go to stdout. (string value)
# Deprecated group/name - [DEFAULT]/logfile
log_file = {{ glance_api_cache_log_file }}
# (Optional) The base directory used for relative --log-file paths.
# (string value)
# Deprecated group/name - [DEFAULT]/logdir
#log_dir = <None>
# Use syslog for logging. Existing syslog format is DEPRECATED and
# will be changed later to honor RFC5424. (boolean value)
#use_syslog = false
# (Optional) Enables or disables syslog rfc5424 format for logging. If
# enabled, prefixes the MSG part of the syslog message with APP-NAME
# (RFC5424). The format without the APP-NAME is deprecated in Kilo,
# and will be removed in Mitaka, along with this option. (boolean
# value)
# This option is deprecated for removal.
# Its value may be silently ignored in the future.
#use_syslog_rfc_format = true
# Syslog facility to receive log lines. (string value)
#syslog_log_facility = LOG_USER
# Log output to standard error. (boolean value)
#use_stderr = true
# Format string to use for log messages with context. (string value)
#logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s
# Format string to use for log messages without context. (string
# value)
#logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
# Data to append to log format when level is DEBUG. (string value)
#logging_debug_format_suffix = %(funcName)s %(pathname)s:%(lineno)d
# Prefix each line of exception output with this format. (string
# value)
#logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s
# List of logger=LEVEL pairs. (list value)
#default_log_levels = amqp=WARN,amqplib=WARN,boto=WARN,qpid=WARN,sqlalchemy=WARN,suds=INFO,oslo.messaging=INFO,iso8601=WARN,requests.packages.urllib3.connectionpool=WARN,urllib3.connectionpool=WARN,websocket=WARN,requests.packages.urllib3.util.retry=WARN,urllib3.util.retry=WARN,keystonemiddleware=WARN,routes.middleware=WARN,stevedore=WARN,taskflow=WARN
# Enables or disables publication of error events. (boolean value)
#publish_errors = false
# The format for an instance that is passed with the log message.
# (string value)
#instance_format = "[instance: %(uuid)s] "
# The format for an instance UUID that is passed with the log message.
# (string value)
#instance_uuid_format = "[instance: %(uuid)s] "
# Enables or disables fatal status of deprecations. (boolean value)
#fatal_deprecations = false
[oslo_policy]
#
# From oslo.policy
#
# The JSON file that defines policies. (string value)
# Deprecated group/name - [DEFAULT]/policy_file
#policy_file = policy.json
# Default rule. Enforced when a requested rule is not found. (string
# value)
# Deprecated group/name - [DEFAULT]/policy_default_rule
#policy_default_rule = default
# Directories where policy configuration files are stored. They can be
# relative to any directory in the search path defined by the
# config_dir option, or absolute paths. The file defined by
# policy_file must exist for these directories to be searched.
# Missing or empty directories are ignored. (multi valued)
# Deprecated group/name - [DEFAULT]/policy_dirs
# This option is deprecated for removal.
# Its value may be silently ignored in the future.
#policy_dirs = policy.d
{% endif %}
07070100000066000081A40000000000000000000000015EFCE4230000042E000000000000000000000000000000000000005600000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/templates/glance-check.conf.j2{#
#
# (c) Copyright 2015-2016 Hewlett Packard Enterprise Development LP
# (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.
#
#}
[DEFAULT]
cacert_file: {{ trusted_ca_bundle }}
image_url = http://{{ glance_api_bind_host }}:{{ glance_api_port }}
endpoint_url = {{ glance_api_vip }}
username = {{ glance_check_user }}
project_name = {{ glance_check_tenant_name }}
password = {{ glance_check_password }}
auth_url = {{ keystone_auth_url }}
project_domain_name = {{ keystone_project_domain_name }}
user_domain_name = {{ keystone_user_domain_name}}
07070100000067000081A40000000000000000000000015EFCE4230000037A000000000000000000000000000000000000005C00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/templates/glance-swift-store.conf.j2{#
#
# (c) Copyright 2015 Hewlett Packard Enterprise Development LP
# (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.
#
#}
[{{ glance_store_default_store_reference }}]
user = {{ glance_store_swift_tenant_and_user }}
key = {{ glance_store_swift_key }}
auth_address = {{ glance_store_swift_store_auth_address }}
auth_version = {{ glance_store_swift_auth_version }}
07070100000068000081A40000000000000000000000015EFCE42300000996000000000000000000000000000000000000005000000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/templates/policy.json.j2{#
#
# (c) Copyright 2015 Hewlett Packard Enterprise Development LP
# (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.
#
#}
{
"context_is_admin": "role:admin or role:glance_admin",
"default": "role:admin or role:glance_admin",
"add_image": "",
"delete_image": "",
"get_image": "",
"get_images": "",
"modify_image": "",
"publicize_image": "role:admin or role:glance_admin",
"communitize_image": "",
"copy_from": "role:admin or role:glance_admin",
"download_image": "",
"upload_image": "",
"delete_image_location": "role:admin or role:glance_admin",
"get_image_location": "role:admin or role:glance_admin",
"set_image_location": "role:admin or role:glance_admin",
"add_member": "role:admin or role:glance_admin",
"delete_member": "role:admin or role:glance_admin",
"get_member": "role:admin or role:glance_admin",
"get_members": "role:admin or role:glance_admin",
"modify_member": "role:admin or role:glance_admin",
"manage_image_cache": "role:admin or role:glance_admin",
"get_task": "",
"get_tasks": "",
"add_task": "",
"modify_task": "",
"tasks_api_access": "!",
"deactivate": "role:admin or role:glance_admin",
"reactivate": "role:admin or role:glance_admin",
"get_metadef_namespace": "",
"get_metadef_namespaces":"",
"modify_metadef_namespace":"",
"add_metadef_namespace":"",
"get_metadef_object":"",
"get_metadef_objects":"",
"modify_metadef_object":"",
"add_metadef_object":"",
"list_metadef_resource_types":"",
"get_metadef_resource_type":"",
"add_metadef_resource_type_association":"",
"get_metadef_property":"",
"get_metadef_properties":"",
"modify_metadef_property":"",
"add_metadef_property":"",
"get_metadef_tag":"",
"get_metadef_tags":"",
"modify_metadef_tag":"",
"add_metadef_tag":"",
"add_metadef_tags":""
}
07070100000069000041ED0000000000000000000000025EFCE42300000000000000000000000000000000000000000000003C00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/vars0707010000006A000081A40000000000000000000000015EFCE42300000283000000000000000000000000000000000000004500000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-API/vars/main.yml#
# (c) Copyright 2015 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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.
#
---
0707010000006B000041ED0000000000000000000000085EFCE42300000000000000000000000000000000000000000000003700000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG0707010000006C000041ED0000000000000000000000025EFCE42300000000000000000000000000000000000000000000004000000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/defaults0707010000006D000081A40000000000000000000000015EFCE423000007F4000000000000000000000000000000000000004900000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/defaults/main.yml#
# (c) Copyright 2015-2017 Hewlett Packard Enterprise Development LP
# (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.
#
---
# Layout of this file:
# At the top of this file (following on from this text) are the root level
# variables. Variables defined here have global scope.
#
# Files are defined by identifiers followed by a colon(:), with sections in
# a file indented to the next level.
glance_registry_conf_dir: "{{ 'glance-registry' | config_dir() }}"
glance_registry_bin_dir: "{{ 'glance-registry' | bin_dir() }}"
# glance-registry.conf
## [DEFAULT]
glance_registry_bind_host: "{{ host.bind.GLA_REG.internal.ip_address }}"
glance_registry_log_file: "{{ log_dir }}/glance-registry.log"
glance_registry_log_json_file: "{{ log_dir }}/glance-registry-json.log"
## [database]
ca_file: "{{ trusted_ca_bundle }}"
db_ssl: "{% if GLA_API.consumes_FND_MDB.vips.private[0].use_tls %}?ssl_ca={{ ca_file }}{% endif %}"
database_connection: "mysql+pymysql://{{ GLA_API.consumes_FND_MDB.vars.accounts.glance.username }}:{{ GLA_API.consumes_FND_MDB.vars.accounts.glance.password | urlencode }}@{{ GLA_API.consumes_FND_MDB.vips.private[0].host }}/glance{{ db_ssl }}"
## WSGI Pipeline flavor
glance_registry_flavor: "{{ glance_default_flavor }}"
# Notifications
glance_registry_notification_driver: "{{ glance_default_notification_driver }}"
## Allows common to know which component
glance_component: glance-registry
## Healthcheck
glance_reg_private_url: "{{ GLA_API.consumes_GLA_REG.vips.private[0].url }}"
0707010000006E000041ED0000000000000000000000035EFCE42300000000000000000000000000000000000000000000003D00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files0707010000006F000041ED0000000000000000000000045EFCE42300000000000000000000000000000000000000000000004100000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc07070100000070000041ED0000000000000000000000025EFCE42300000000000000000000000000000000000000000000005100000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc/dbconfig-common07070100000071000081A40000000000000000000000015EFCE42300000015000000000000000000000000000000000000006400000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc/dbconfig-common/glance-common.confdbc_dbtype='sqlite3'
07070100000072000041ED0000000000000000000000025EFCE42300000000000000000000000000000000000000000000004A00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc/metadefs07070100000073000081A40000000000000000000000015EFCE4230000010E000000000000000000000000000000000000005100000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc/metadefs/READMEThis directory contains predefined namespaces for Glance Metadata Definitions
Catalog. Files from this directory can be loaded into the database using
db_load_metadefs command for glance-manage. Similarly you can unload the
definitions using db_unload_metadefs command.
07070100000074000081A40000000000000000000000015EFCE42300001445000000000000000000000000000000000000007500000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc/metadefs/cim-processor-allocation-setting-data.json{
"namespace": "CIM::ProcessorAllocationSettingData",
"display_name": "CIM Processor Allocation Setting",
"description": "Properties related to the resource allocation settings of a processor (CPU) from Common Information Model (CIM) schema (http://www.dmtf.org/standards/cim). These are properties that identify processor setting data and may be specified to volume, image, host aggregate, flavor and Nova server as scheduler hint. For each property details, please refer to http://schemas.dmtf.org/wbem/cim-html/2/CIM_ProcessorAllocationSettingData.html.",
"visibility": "public",
"protected": true,
"resource_type_associations": [
{
"name": "OS::Cinder::Volume",
"prefix": "CIM_PASD_",
"properties_target": "image"
},
{
"name": "OS::Glance::Image",
"prefix": "CIM_PASD_"
},
{
"name": "OS::Nova::Aggregate",
"prefix": "CIM_PASD_"
},
{
"name": "OS::Nova::Flavor",
"prefix": "CIM_PASD_"
},
{
"name": "OS::Nova::Server",
"properties_target": "scheduler_hint"
}
],
"properties": {
"InstructionSet": {
"title": "Instruction Set",
"description": "Identifies the instruction set of the processor within a processor architecture.",
"operators": ["<or>"],
"type": "string",
"enum": [
"x86:i386",
"x86:i486",
"x86:i586",
"x86:i686",
"x86:64",
"IA-64:IA-64",
"AS/400:TIMI",
"Power:Power_2.03",
"Power:Power_2.04",
"Power:Power_2.05",
"Power:Power_2.06",
"S/390:ESA/390",
"S/390:z/Architecture",
"S/390:z/Architecture_2",
"PA-RISC:PA-RISC_1.0",
"PA-RISC:PA-RISC_2.0",
"ARM:A32",
"ARM:A64",
"MIPS:MIPS_I",
"MIPS:MIPS_II",
"MIPS:MIPS_III",
"MIPS:MIPS_IV",
"MIPS:MIPS_V",
"MIPS:MIPS32",
"MIPS64:MIPS64",
"Alpha:Alpha",
"SPARC:SPARC_V7",
"SPARC:SPARC_V8",
"SPARC:SPARC_V9",
"SPARC:SPARC_JPS1",
"SPARC:UltraSPARC2005",
"SPARC:UltraSPARC2007",
"68k:68000",
"68k:68010",
"68k:68020",
"68k:68030",
"68k:68040",
"68k:68060"
]
},
"ProcessorArchitecture": {
"title": "Processor Architecture",
"description": "Identifies the processor architecture of the processor.",
"operators": ["<or>"],
"type": "string",
"enum": [
"x86",
"IA-64",
"AS/400",
"Power",
"S/390",
"PA-RISC",
"ARM",
"MIPS",
"Alpha",
"SPARC",
"68k"
]
},
"InstructionSetExtensionName": {
"title": "Instruction Set Extension",
"description": "Identifies the instruction set extensions of the processor within a processor architecture.",
"operators": ["<or>", "<all-in>"],
"type": "array",
"items": {
"type": "string",
"enum": [
"x86:3DNow",
"x86:3DNowExt",
"x86:ABM",
"x86:AES",
"x86:AVX",
"x86:AVX2",
"x86:BMI",
"x86:CX16",
"x86:F16C",
"x86:FSGSBASE",
"x86:LWP",
"x86:MMX",
"x86:PCLMUL",
"x86:RDRND",
"x86:SSE2",
"x86:SSE3",
"x86:SSSE3",
"x86:SSE4A",
"x86:SSE41",
"x86:SSE42",
"x86:FMA3",
"x86:FMA4",
"x86:XOP",
"x86:TBM",
"x86:VT-d",
"x86:VT-x",
"x86:EPT",
"x86:SVM",
"PA-RISC:MAX",
"PA-RISC:MAX2",
"ARM:DSP",
"ARM:Jazelle-DBX",
"ARM:Thumb",
"ARM:Thumb-2",
"ARM:ThumbEE)",
"ARM:VFP",
"ARM:NEON",
"ARM:TrustZone",
"MIPS:MDMX",
"MIPS:MIPS-3D",
"Alpha:BWX",
"Alpha:FIX",
"Alpha:CIX",
"Alpha:MVI"
]
}
}
},
"objects": []
}
07070100000075000081A40000000000000000000000015EFCE42300001B8B000000000000000000000000000000000000007400000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc/metadefs/cim-resource-allocation-setting-data.json{
"namespace": "CIM::ResourceAllocationSettingData",
"display_name": "CIM Resource Allocation Setting Data",
"description": "Properties from Common Information Model (CIM) schema (http://www.dmtf.org/standards/cim) that represent settings specifically related to an allocated resource that are outside the scope of the CIM class typically used to represent the resource itself. These properties may be specified to volume, host aggregate and flavor. For each property details, please refer to http://schemas.dmtf.org/wbem/cim-html/2/CIM_ResourceAllocationSettingData.html.",
"visibility": "public",
"protected": true,
"resource_type_associations": [
{
"name": "OS::Cinder::Volume",
"prefix": "CIM_RASD_",
"properties_target": "image"
},
{
"name": "OS::Nova::Aggregate",
"prefix": "CIM_RASD_"
},
{
"name": "OS::Nova::Flavor",
"prefix": "CIM_RASD_"
}
],
"properties": {
"Address": {
"title": "Address",
"description": "The address of the resource.",
"type": "string"
},
"AddressOnParent": {
"title": "Address On Parent",
"description": "Describes the address of this resource in the context of the Parent.",
"type": "string"
},
"AllocationUnits": {
"title": "Allocation Units",
"description": "This property specifies the units of allocation used by the Reservation and Limit properties.",
"type": "string"
},
"AutomaticAllocation": {
"title": "Automatic Allocation",
"description": "This property specifies if the resource will be automatically allocated.",
"type": "boolean"
},
"AutomaticDeallocation": {
"title": "Automatic Deallocation",
"description": "This property specifies if the resource will be automatically de-allocated.",
"type": "boolean"
},
"ConsumerVisibility": {
"title": "Consumer Visibility",
"description": "Describes the consumers visibility to the allocated resource.",
"operators": ["<or>"],
"type": "string",
"enum": [
"Unknown",
"Passed-Through",
"Virtualized",
"Not represented",
"DMTF reserved",
"Vendor Reserved"
]
},
"Limit": {
"title": "Limit",
"description": "This property specifies the upper bound, or maximum amount of resource that will be granted for this allocation.",
"type": "string"
},
"MappingBehavior": {
"title": "Mapping Behavior",
"description": "Specifies how this resource maps to underlying resources. If the HostResource array contains any entries, this property reflects how the resource maps to those specific resources.",
"operators": ["<or>"],
"type": "string",
"enum": [
"Unknown",
"Not Supported",
"Dedicated",
"Soft Affinity",
"Hard Affinity",
"DMTF Reserved",
"Vendor Reserved"
]
},
"OtherResourceType": {
"title": "Other Resource Type",
"description": "A string that describes the resource type when a well defined value is not available and ResourceType has the value 'Other'.",
"type": "string"
},
"Parent": {
"title": "Parent",
"description": "The Parent of the resource.",
"type": "string"
},
"PoolID": {
"title": "Pool ID",
"description": "This property specifies which ResourcePool the resource is currently allocated from, or which ResourcePool the resource will be allocated from when the allocation occurs.",
"type": "string"
},
"Reservation": {
"title": "Reservation",
"description": "This property specifies the amount of resource guaranteed to be available for this allocation.",
"type": "string"
},
"ResourceSubType": {
"title": "Resource Sub Type",
"description": "A string describing an implementation specific sub-type for this resource.",
"type": "string"
},
"ResourceType": {
"title": "Resource Type",
"description": "The type of resource this allocation setting represents.",
"operators": ["<or>"],
"type": "string",
"enum": [
"Other",
"Computer System",
"Processor",
"Memory",
"IDE Controller",
"Parallel SCSI HBA",
"FC HBA",
"iSCSI HBA",
"IB HCA",
"Ethernet Adapter",
"Other Network Adapter",
"I/O Slot",
"I/O Device",
"Floppy Drive",
"CD Drive",
"DVD drive",
"Disk Drive",
"Tape Drive",
"Storage Extent",
"Other storage device",
"Serial port",
"Parallel port",
"USB Controller",
"Graphics controller",
"IEEE 1394 Controller",
"Partitionable Unit",
"Base Partitionable Unit",
"Power",
"Cooling Capacity",
"Ethernet Switch Port",
"Logical Disk",
"Storage Volume",
"Ethernet Connection",
"DMTF reserved",
"Vendor Reserved"
]
},
"VirtualQuantity": {
"title": "Virtual Quantity",
"description": "This property specifies the quantity of resources presented to the consumer.",
"type": "string"
},
"VirtualQuantityUnits": {
"title": "Virtual Quantity Units",
"description": "This property specifies the units used by the VirtualQuantity property.",
"type": "string"
},
"Weight": {
"title": "Weight",
"description": "This property specifies a relative priority for this allocation in relation to other allocations from the same ResourcePool.",
"type": "string"
},
"Connection": {
"title": "Connection",
"description": "The thing to which this resource is connected.",
"type": "string"
},
"HostResource": {
"title": "Host Resource",
"description": "This property exposes specific assignment of resources.",
"type": "string"
}
},
"objects": []
}
07070100000076000081A40000000000000000000000015EFCE42300001430000000000000000000000000000000000000007300000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc/metadefs/cim-storage-allocation-setting-data.json{
"namespace": "CIM::StorageAllocationSettingData",
"display_name": "CIM Storage Allocation Setting Data",
"description": "Properties related to the allocation of virtual storage from Common Information Model (CIM) schema (http://www.dmtf.org/standards/cim). These properties may be specified to volume, host aggregate and flavor. For each property details, please refer to http://schemas.dmtf.org/wbem/cim-html/2/CIM_StorageAllocationSettingData.html.",
"visibility": "public",
"protected": true,
"resource_type_associations": [
{
"name": "OS::Cinder::Volume",
"prefix": "CIM_SASD_"
},
{
"name": "OS::Nova::Aggregate",
"prefix": "CIM_SASD_"
},
{
"name": "OS::Nova::Flavor",
"prefix": "CIM_SASD_"
}
],
"properties": {
"Access": {
"title": "Access",
"description": "Access describes whether the allocated storage extent is 1 (readable), 2 (writeable), or 3 (both).",
"operators": ["<or>"],
"type": "string",
"enum": [
"Unknown",
"Readable",
"Writeable",
"Read/Write Supported",
"DMTF Reserved"
]
},
"HostExtentName": {
"title": "Host Extent Name",
"description": "A unique identifier for the host extent.",
"type": "string"
},
"HostExtentNameFormat": {
"title": "Host Extent Name Format",
"description": "The HostExtentNameFormat property identifies the format that is used for the value of the HostExtentName property.",
"operators": ["<or>"],
"type": "string",
"enum": [
"Unknown",
"Other",
"SNVM",
"NAA",
"EUI64",
"T10VID",
"OS Device Name",
"DMTF Reserved"
]
},
"HostExtentNameNamespace": {
"title": "Host Extent Name Namespace",
"description": "If the host extent is a SCSI volume, then the preferred source for SCSI volume names is SCSI VPD Page 83 responses.",
"operators": ["<or>"],
"type": "string",
"enum": [
"Unknown",
"Other",
"VPD83Type3",
"VPD83Type2",
"VPD83Type1",
"VPD80",
"NodeWWN",
"SNVM",
"OS Device Namespace",
"DMTF Reserved"
]
},
"HostExtentStartingAddress": {
"title": "Host Extent Starting Address",
"description": "The HostExtentStartingAddress property identifies the starting address on the host storage extent identified by the value of the HostExtentName property that is used for the allocation of the virtual storage extent.",
"type": "string"
},
"HostResourceBlockSize": {
"title": "Host Resource Block Size",
"description": "Size in bytes of the blocks that are allocated at the host as the result of this storage resource allocation or storage resource allocation request.",
"type": "string"
},
"Limit": {
"title": "Limit",
"description": "The maximum amount of blocks that will be granted for this storage resource allocation at the host.",
"type": "string"
},
"OtherHostExtentNameFormat": {
"title": "Other Host Extent Name Format",
"description": "A string describing the format of the HostExtentName property if the value of the HostExtentNameFormat property is 1 (Other).",
"type": "string"
},
"OtherHostExtentNameNamespace": {
"title": "Other Host Extent Name Namespace",
"description": "A string describing the namespace of the HostExtentName property if the value of the HostExtentNameNamespace matches 1 (Other).",
"type": "string"
},
"Reservation": {
"title": "Reservation",
"description": "The amount of blocks that are guaranteed to be available for this storage resource allocation at the host.",
"type": "string"
},
"VirtualQuantity": {
"title": "Virtual Quantity",
"description": "Number of blocks that are presented to the consumer.",
"type": "string"
},
"VirtualQuantityUnits": {
"title": "Virtual Quantity Units",
"description": "This property specifies the units used by the VirtualQuantity property.",
"type": "string"
},
"VirtualResourceBlockSize": {
"title": "Virtual Resource Block Size",
"description": "Size in bytes of the blocks that are presented to the consumer as the result of this storage resource allocation or storage resource allocation request.",
"type": "string"
}
},
"objects": []
}
07070100000077000081A40000000000000000000000015EFCE42300001477000000000000000000000000000000000000006F00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc/metadefs/cim-virtual-system-setting-data.json{
"namespace": "CIM::VirtualSystemSettingData",
"display_name": "CIM Virtual System Setting Data",
"description": "A set of virtualization specific properties from Common Information Model (CIM) schema (http://www.dmtf.org/standards/cim), which define the virtual aspects of a virtual system. These properties may be specified to host aggregate and flavor. For each property details, please refer to http://schemas.dmtf.org/wbem/cim-html/2/CIM_VirtualSystemSettingData.html.",
"visibility": "public",
"protected": true,
"resource_type_associations": [
{
"name": "OS::Nova::Aggregate",
"prefix": "CIM_VSSD_"
},
{
"name": "OS::Nova::Flavor",
"prefix": "CIM_VSSD_"
}
],
"properties": {
"AutomaticRecoveryAction": {
"title": "Automatic Recovery Action",
"description": "Action to take for the virtual system when the software executed by the virtual system fails.",
"operators": ["<or>"],
"type": "string",
"enum": [
"None",
"Restart",
"Revert to snapshot",
"DMTF Reserved"
]
},
"AutomaticShutdownAction": {
"title": "Automatic Shutdown Action",
"description": "Action to take for the virtual system when the host is shut down.",
"operators": ["<or>"],
"type": "string",
"enum": [
"Turn Off",
"Save state",
"Shutdown",
"DMTF Reserved"
]
},
"AutomaticStartupAction": {
"title": "Automatic Startup Action",
"description": "Action to take for the virtual system when the host is started.",
"operators": ["<or>"],
"type": "string",
"enum": [
"None",
"Restart if previously active",
"Always startup",
"DMTF Reserved"
]
},
"AutomaticStartupActionDelay": {
"title": "Automatic Startup Action Delay",
"description": "Delay applicable to startup action.",
"type": "string"
},
"AutomaticStartupActionSequenceNumber": {
"title": "Automatic Startup Action Sequence Number",
"description": "Number indicating the relative sequence of virtual system activation when the host system is started.",
"type": "string"
},
"ConfigurationDataRoot": {
"title": "Configuration Data Root",
"description": "Filepath of a directory where information about the virtual system configuration is stored.",
"type": "string"
},
"ConfigurationFile": {
"title": "Configuration File",
"description": "Filepath of a file where information about the virtual system configuration is stored.",
"type": "string"
},
"ConfigurationID": {
"title": "Configuration ID",
"description": "Unique id of the virtual system configuration.",
"type": "string"
},
"CreationTime": {
"title": "Creation Time",
"description": "Time when the virtual system configuration was created.",
"type": "string"
},
"LogDataRoot": {
"title": "Log Data Root",
"description": "Filepath of a directory where log information about the virtual system is stored.",
"type": "string"
},
"RecoveryFile": {
"title": "Recovery File",
"description": "Filepath of a file where recovery relateded information of the virtual system is stored.",
"type": "string"
},
"SnapshotDataRoot": {
"title": "Snapshot Data Root",
"description": "Filepath of a directory where information about virtual system snapshots is stored.",
"type": "string"
},
"SuspendDataRoot": {
"title": "Suspend Data Root",
"description": "Filepath of a directory where suspend related information about the virtual system is stored.",
"type": "string"
},
"SwapFileDataRoot": {
"title": "Swap File Data Root",
"description": "Filepath of a directory where swapfiles of the virtual system are stored.",
"type": "string"
},
"VirtualSystemIdentifier": {
"title": "Virtual System Identifier",
"description": "VirtualSystemIdentifier shall reflect a unique name for the system as it is used within the virtualization platform.",
"type": "string"
},
"VirtualSystemType": {
"title": "Virtual System Type",
"description": "VirtualSystemType shall reflect a particular type of virtual system.",
"type": "string"
},
"Notes": {
"title": "Notes",
"description": "End-user supplied notes that are related to the virtual system.",
"type": "string"
}
},
"objects": []
}
07070100000078000081A40000000000000000000000015EFCE42300000442000000000000000000000000000000000000006800000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc/metadefs/compute-aggr-disk-filter.json{
"namespace": "OS::Compute::AggregateDiskFilter",
"display_name": "Disk Allocation per Host",
"description": "Properties related to the Nova scheduler filter AggregateDiskFilter. Filters aggregate hosts based on the available disk space compared to the requested disk space. Hosts in the aggregate with not enough usable disk will be filtered out. The filter must be enabled in the Nova scheduler to use these properties.",
"visibility": "public",
"protected": true,
"resource_type_associations": [
{
"name": "OS::Nova::Aggregate"
}
],
"properties": {
"disk_allocation_ratio": {
"title": "Disk Subscription Ratio",
"description": "Allows the host to be under and over subscribed for the amount of disk space requested for an instance. A ratio greater than 1.0 allows for over subscription (hosts may have less usable disk space than requested). A ratio less than 1.0 allows for under subscription.",
"type": "number",
"readonly": false
}
},
"objects": []
}
07070100000079000081A40000000000000000000000015EFCE42300000413000000000000000000000000000000000000006800000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc/metadefs/compute-aggr-iops-filter.json{
"namespace": "OS::Compute::AggregateIoOpsFilter",
"display_name": "IO Ops per Host",
"description": "Properties related to the Nova scheduler filter AggregateIoOpsFilter. Filters aggregate hosts based on the number of instances currently changing state. Hosts in the aggregate with too many instances changing state will be filtered out. The filter must be enabled in the Nova scheduler to use these properties.",
"visibility": "public",
"protected": true,
"resource_type_associations": [
{
"name": "OS::Nova::Aggregate"
}
],
"properties": {
"max_io_ops_per_host": {
"title": "Maximum IO Operations per Host",
"description": "Prevents hosts in the aggregate that have this many or more instances currently in build, resize, snapshot, migrate, rescue or unshelve to be scheduled for new instances.",
"type": "integer",
"readonly": false,
"default": 8,
"minimum": 1
}
},
"objects": []
}
0707010000007A000081A40000000000000000000000015EFCE42300000381000000000000000000000000000000000000006A00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc/metadefs/compute-aggr-num-instances.json{
"namespace": "OS::Compute::AggregateNumInstancesFilter",
"display_name": "Instances per Host",
"description": "Properties related to the Nova scheduler filter AggregateNumInstancesFilter. Filters aggregate hosts by the number of running instances on it. Hosts in the aggregate with too many instances will be filtered out. The filter must be enabled in the Nova scheduler to use these properties.", "visibility": "public",
"protected": false,
"resource_type_associations": [
{
"name": "OS::Nova::Aggregate"
}
],
"properties": {
"max_instances_per_host": {
"title": "Max Instances Per Host",
"description": "Maximum number of instances allowed to run on a host in the aggregate.",
"type": "integer",
"readonly": false,
"minimum": 0
}
},
"objects": []
}
0707010000007B000081A40000000000000000000000015EFCE42300000464000000000000000000000000000000000000006300000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc/metadefs/compute-cpu-pinning.json{
"namespace": "OS::Compute::CPUPinning",
"display_name": "CPU Pinning",
"description": "This provides the preferred CPU Pinning policy when pinning vCPU of the guest to pCPU of the host. Default 'shared' option doesn't change current default guest CPU placement policy. 'Dedicated' will make guest CPU(s) to be strictly pinned to set of host CPU(s). See also https://wiki.openstack.org/wiki/VirtDriverGuestCPUMemoryPlacement",
"visibility": "public",
"protected": true,
"resource_type_associations": [
{
"name": "OS::Glance::Image",
"prefix": "hw_"
},
{
"name": "OS::Cinder::Volume",
"prefix": "hw_",
"properties_target": "image"
},
{
"name": "OS::Nova::Flavor",
"prefix": "hw:"
}
],
"properties": {
"cpu_policy": {
"title": "CPU Pinning policy",
"description": "Type of CPU Pinning policy.",
"type": "string",
"enum": [
"shared",
"dedicated"
]
}
}
}
0707010000007C000081A40000000000000000000000015EFCE42300000479000000000000000000000000000000000000006C00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc/metadefs/compute-guest-memory-backing.json{
"namespace": "OS::Compute::GuestMemoryBacking",
"display_name": "Guest Memory Backing",
"description": "This provides the preferred backing option for guest RAM. Guest's memory can be backed by hugepages to limit TLB lookups. See also: https://wiki.openstack.org/wiki/VirtDriverGuestCPUMemoryPlacement",
"visibility": "public",
"protected": true,
"resource_type_associations": [
{
"name": "OS::Nova::Flavor",
"prefix": "hw:"
},
{
"name": "OS::Glance::Image",
"prefix": "hw_"
},
{
"name": "OS::Cinder::Volume",
"prefix": "hw_",
"properties_target": "image"
}
],
"properties": {
"mem_page_size": {
"title": "Size of memory page",
"description": "Page size to be used for Guest memory backing. Value can be specified as <number><unit> (i.e.: 2MB, 1GB) or 'any', 'small', 'large'. If this property is set in Image metadata then only 'any' and 'large' values are accepted in Flavor metadata by Nova API.",
"type": "string"
}
}
}0707010000007D000081A40000000000000000000000015EFCE423000003B0000000000000000000000000000000000000006600000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc/metadefs/compute-guest-shutdown.json{
"namespace": "OS::Compute::GuestShutdownBehavior",
"display_name": "Shutdown Behavior",
"description": "These properties allow modifying the shutdown behavior for stop, rescue, resize, and shelve operations.",
"visibility": "public",
"protected": true,
"resource_type_associations": [
{
"name": "OS::Glance::Image"
}
],
"properties": {
"os_shutdown_timeout": {
"title": "Shutdown timeout",
"description": "By default, guests will be given 60 seconds to perform a graceful shutdown. After that, the VM is powered off. This property allows overriding the amount of time (unit: seconds) to allow a guest OS to cleanly shut down before power off. A value of 0 (zero) means the guest will be powered off immediately with no opportunity for guest OS clean-up.",
"type": "integer",
"minimum": 0
}
},
"objects": []
}
0707010000007E000081A40000000000000000000000015EFCE42300002414000000000000000000000000000000000000006900000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc/metadefs/compute-host-capabilities.json{
"namespace": "OS::Compute::HostCapabilities",
"display_name": "Compute Host Capabilities",
"description": "Hardware capabilities provided by the compute host. This provides the ability to fine tune the hardware specification required when an instance is requested. The ComputeCapabilitiesFilter should be enabled in the Nova scheduler to use these properties. When enabled, this filter checks that the capabilities provided by the compute host satisfy any extra specifications requested. Only hosts that can provide the requested capabilities will be eligible for hosting the instance.",
"visibility": "public",
"protected": true,
"resource_type_associations": [
{
"name": "OS::Nova::Flavor",
"prefix": "capabilities:"
},
{
"name": "OS::Nova::Aggregate",
"prefix": "aggregate_instance_extra_specs:"
}
],
"properties": {
"cpu_info:vendor": {
"title": "Vendor",
"description": "Specifies the CPU manufacturer.",
"operators": ["<or>"],
"type": "string",
"enum": [
"Intel",
"AMD"
]
},
"cpu_info:model": {
"title": "Model",
"description": "Specifies the CPU model. Use this property to ensure that your vm runs on a a specific cpu model.",
"operators": ["<or>"],
"type": "string",
"enum": [
"Conroe",
"Core2Duo",
"Penryn",
"Nehalem",
"Westmere",
"SandyBridge",
"IvyBridge",
"Haswell",
"Broadwell",
"Delhi",
"Seoul",
"Abu Dhabi",
"Interlagos",
"Kabini",
"Valencia",
"Zurich",
"Budapest",
"Barcelona",
"Suzuka",
"Shanghai",
"Istanbul",
"Lisbon",
"Magny-Cours",
"Valencia",
"Cortex-A57",
"Cortex-A53",
"Cortex-A12",
"Cortex-A17",
"Cortex-A15",
"Coretx-A7",
"X-Gene"
]
},
"cpu_info:arch": {
"title": "Architecture",
"description": "Specifies the CPU architecture. Use this property to specify the architecture supported by the hypervisor.",
"operators": ["<or>"],
"type": "string",
"enum": [
"x86",
"x86_64",
"i686",
"ia64",
"ARMv8-A",
"ARMv7-A"
]
},
"cpu_info:topology:cores": {
"title": "cores",
"description": "Number of cores.",
"type": "integer",
"readonly": false,
"default": 1
},
"cpu_info:topology:threads": {
"title": "threads",
"description": "Number of threads.",
"type": "integer",
"readonly": false,
"default": 1
},
"cpu_info:topology:sockets": {
"title": "sockets",
"description": "Number of sockets.",
"type": "integer",
"readonly": false,
"default": 1
},
"cpu_info:features": {
"title": "Features",
"description": "Specifies CPU flags/features. Using this property you can specify the required set of instructions supported by a vm.",
"operators": ["<or>", "<all-in>"],
"type": "array",
"items": {
"type": "string",
"enum": [
"fpu",
"vme",
"de",
"pse",
"tsc",
"msr",
"pae",
"mce",
"cx8",
"apic",
"sep",
"mtrr",
"pge",
"mca",
"cmov",
"pat",
"pse36",
"pn",
"clflush",
"dts",
"acpi",
"mmx",
"fxsr",
"sse",
"sse2",
"ss",
"ht",
"tm",
"ia64",
"pbe",
"syscall",
"mp",
"nx",
"mmxext",
"fxsr_opt",
"pdpe1gb",
"rdtscp",
"lm",
"3dnowext",
"3dnow",
"arch_perfmon",
"pebs",
"bts",
"rep_good",
"nopl",
"xtopology",
"tsc_reliable",
"nonstop_tsc",
"extd_apicid",
"amd_dcm",
"aperfmperf",
"eagerfpu",
"nonstop_tsc_s3",
"pni",
"pclmulqdq",
"dtes64",
"monitor",
"ds_cpl",
"vmx",
"smx",
"est",
"tm2",
"ssse3",
"cid",
"fma",
"cx16",
"xtpr",
"pdcm",
"pcid",
"dca",
"sse4_1",
"sse4_2",
"x2apic",
"movbe",
"popcnt",
"tsc_deadline_timer",
"aes",
"xsave",
"avx",
"f16c",
"rdrand",
"hypervisor",
"rng",
"rng_en",
"ace",
"ace_en",
"ace2",
"ace2_en",
"phe",
"phe_en",
"pmm",
"pmm_en",
"lahf_lm",
"cmp_legacy",
"svm",
"extapic",
"cr8_legacy",
"abm",
"sse4a",
"misalignsse",
"3dnowprefetch",
"osvw",
"ibs",
"xop",
"skinit",
"wdt",
"lwp",
"fma4",
"tce",
"nodeid_msr",
"tbm",
"topoext",
"perfctr_core",
"perfctr_nb",
"bpext",
"perfctr_l2",
"mwaitx",
"ida",
"arat",
"cpb",
"epb",
"pln",
"pts",
"dtherm",
"hw_pstate",
"proc_feedback",
"hwp",
"hwp_notify",
"hwp_act_window",
"hwp_epp",
"hwp_pkg_req",
"intel_pt",
"tpr_shadow",
"vnmi",
"flexpriority",
"ept",
"vpid",
"npt",
"lbrv",
"svm_lock",
"nrip_save",
"tsc_scale",
"vmcb_clean",
"flushbyasid",
"decodeassists",
"pausefilter",
"pfthreshold",
"vmmcall",
"fsgsbase",
"tsc_adjust",
"bmi1",
"hle",
"avx2",
"smep",
"bmi2",
"erms",
"invpcid",
"rtm",
"cqm",
"mpx",
"avx512f",
"rdseed",
"adx",
"smap",
"pcommit",
"clflushopt",
"clwb",
"avx512pf",
"avx512er",
"avx512cd",
"sha_ni",
"xsaveopt",
"xsavec",
"xgetbv1",
"xsaves",
"cqm_llc",
"cqm_occup_llc",
"clzero"
]
}
}
},
"objects": []
}
0707010000007F000081A40000000000000000000000015EFCE4230000085A000000000000000000000000000000000000006200000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc/metadefs/compute-hypervisor.json{
"namespace": "OS::Compute::Hypervisor",
"display_name": "Hypervisor Selection",
"description": "OpenStack Compute supports many hypervisors, although most installations use only one hypervisor. For installations with multiple supported hypervisors, you can schedule different hypervisors using the ImagePropertiesFilter. This filters compute nodes that satisfy any architecture, hypervisor type, or virtual machine mode properties specified on the instance's image properties.",
"visibility": "public",
"protected": true,
"resource_type_associations": [
{
"name": "OS::Glance::Image"
}
],
"properties": {
"hypervisor_type": {
"title": "Hypervisor Type",
"description": "Hypervisor type required by the image. Used with the ImagePropertiesFilter. \n\n KVM - Kernel-based Virtual Machine. LXC - Linux Containers (through libvirt). QEMU - Quick EMUlator. UML - User Mode Linux. hyperv - Microsoft® hyperv. vmware - VMware® vsphere. Baremetal - physical provisioning. For more information, see: http://docs.openstack.org/trunk/config-reference/content/section_compute-hypervisors.html",
"type": "string",
"enum": [
"baremetal",
"hyperv",
"kvm",
"lxc",
"qemu",
"uml",
"vmware",
"xen"
]
},
"vm_mode": {
"title": "VM Mode",
"description": "The virtual machine mode. This represents the host/guest ABI (application binary interface) used for the virtual machine. Used with the ImagePropertiesFilter. \n\n hvm — Fully virtualized - This is the virtual machine mode (vm_mode) used by QEMU and KVM. \n\n xen - Xen 3.0 paravirtualized. \n\n uml — User Mode Linux paravirtualized. \n\n exe — Executables in containers. This is the mode used by LXC.",
"type": "string",
"enum": [
"hvm",
"xen",
"uml",
"exe"
]
}
},
"objects": []
}
07070100000080000081A40000000000000000000000015EFCE42300000745000000000000000000000000000000000000006500000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc/metadefs/compute-instance-data.json{
"namespace": "OS::Compute::InstanceData",
"display_name": "Instance Config Data",
"description": "Instances can perform self-configuration based on data made available to the running instance. These properties affect instance configuration.",
"visibility": "public",
"protected": true,
"resource_type_associations": [
{
"name": "OS::Glance::Image"
},
{
"name": "OS::Cinder::Volume",
"properties_target": "image"
}
],
"properties": {
"img_config_drive": {
"title": "Config Drive",
"description": "This property specifies whether or not Nova should use a config drive when booting the image. Mandatory means that Nova will always use a config drive when booting the image. OpenStack can be configured to write metadata to a special configuration drive that will be attached to the instance when it boots. The instance can retrieve any information from the config drive. One use case for the config drive is to pass network configuration information to the instance. See also: http://docs.openstack.org/user-guide/cli_config_drive.html",
"type": "string",
"enum": [
"optional",
"mandatory"
]
},
"os_require_quiesce": {
"title": "Require Quiescent File system",
"description": "This property specifies whether or not the filesystem must be quiesced during snapshot processing. For volume backed and image backed snapshots, yes means that snapshotting is aborted when quiescing fails, whereas, no means quiescing will be skipped and snapshot processing will continue after the quiesce failure.",
"type": "string",
"enum": [
"yes",
"no"
]
}
}
}
07070100000081000081A40000000000000000000000015EFCE423000011C6000000000000000000000000000000000000006500000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc/metadefs/compute-libvirt-image.json{
"namespace": "OS::Compute::LibvirtImage",
"display_name": "libvirt Driver Options for Images",
"description": "The libvirt Compute Driver Options for Glance Images. \n\nThese are properties specific to compute drivers. For a list of all hypervisors, see here: https://wiki.openstack.org/wiki/HypervisorSupportMatrix.",
"visibility": "public",
"protected": true,
"resource_type_associations": [
{
"name": "OS::Glance::Image"
}
],
"properties": {
"hw_disk_bus": {
"title": "Disk Bus",
"description": "Specifies the type of disk controller to attach disk devices to.",
"type": "string",
"enum": [
"scsi",
"virtio",
"uml",
"xen",
"ide",
"usb"
]
},
"hw_rng_model": {
"title": "Random Number Generator Device",
"description": "Adds a random-number generator device to the image's instances. The cloud administrator can enable and control device behavior by configuring the instance's flavor. By default: The generator device is disabled. /dev/random is used as the default entropy source. To specify a physical HW RNG device, use the following option in the nova.conf file: rng_dev_path=/dev/hwrng",
"type": "string",
"default": "virtio"
},
"hw_machine_type": {
"title": "Machine Type",
"description": "Enables booting an ARM system using the specified machine type. By default, if an ARM image is used and its type is not specified, Compute uses vexpress-a15 (for ARMv7) or virt (for AArch64) machine types. Valid types can be viewed by using the virsh capabilities command (machine types are displayed in the machine tag).",
"type": "string"
},
"hw_scsi_model": {
"title": "SCSI Model",
"description": "Enables the use of VirtIO SCSI (virtio-scsi) to provide block device access for compute instances; by default, instances use VirtIO Block (virtio-blk). VirtIO SCSI is a para-virtualized SCSI controller device that provides improved scalability and performance, and supports advanced SCSI hardware.",
"type": "string",
"default": "virtio-scsi"
},
"hw_video_model": {
"title": "Video Model",
"description": "The video image driver used.",
"type": "string",
"enum": [
"vga",
"cirrus",
"vmvga",
"xen",
"qxl"
]
},
"hw_video_ram": {
"title": "Max Video Ram",
"description": "Maximum RAM (unit: MB) for the video image. Used only if a hw_video:ram_max_mb value has been set in the flavor's extra_specs and that value is higher than the value set in hw_video_ram.",
"type": "integer",
"minimum": 0
},
"os_command_line": {
"title": "Kernel Command Line",
"description": "The kernel command line to be used by the libvirt driver, instead of the default. For linux containers (LXC), the value is used as arguments for initialization. This key is valid only for Amazon kernel, ramdisk, or machine images (aki, ari, or ami).",
"type": "string"
},
"hw_vif_model": {
"title": "Virtual Network Interface",
"description": "Specifies the model of virtual network interface device to use. The valid options depend on the hypervisor configuration. libvirt driver options: KVM and QEMU: e1000, ne2k_pci, pcnet, rtl8139, spapr-vlan, and virtio. Xen: e1000, netfront, ne2k_pci, pcnet, and rtl8139.",
"type": "string",
"enum": [
"e1000",
"e1000e",
"ne2k_pci",
"netfront",
"pcnet",
"rtl8139",
"spapr-vlan",
"virtio"
]
},
"hw_qemu_guest_agent": {
"title": "QEMU Guest Agent",
"description": "This is a background process which helps management applications execute guest OS level commands. For example, freezing and thawing filesystems, entering suspend. However, guest agent (GA) is not bullet proof, and hostile guest OS can send spurious replies.",
"type": "string",
"enum": ["yes", "no"]
}
},
"objects": []
}
07070100000082000081A40000000000000000000000015EFCE4230000060A000000000000000000000000000000000000005F00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc/metadefs/compute-libvirt.json{
"namespace": "OS::Compute::Libvirt",
"display_name": "libvirt Driver Options",
"description": "The libvirt compute driver options. \n\nThese are properties that affect the libvirt compute driver and may be specified on flavors and images. For a list of all hypervisors, see here: https://wiki.openstack.org/wiki/HypervisorSupportMatrix.",
"visibility": "public",
"protected": true,
"resource_type_associations": [
{
"name": "OS::Glance::Image",
"prefix": "hw_"
},
{
"name": "OS::Nova::Flavor",
"prefix": "hw:"
}
],
"properties": {
"serial_port_count": {
"title": "Serial Port Count",
"description": "Specifies the count of serial ports that should be provided. If hw:serial_port_count is not set in the flavor's extra_specs, then any count is permitted. If hw:serial_port_count is set, then this provides the default serial port count. It is permitted to override the default serial port count, but only with a lower value.",
"type": "integer",
"minimum": 0
},
"boot_menu": {
"title": "Boot Menu",
"description": "If true, enables the BIOS bootmenu. In cases where both the image metadata and Extra Spec are set, the Extra Spec setting is used. This allows for flexibility in setting/overriding the default behavior as needed.",
"type": "string",
"enum": ["true", "false"]
}
},
"objects": []
}
07070100000083000081A40000000000000000000000015EFCE42300001C2B000000000000000000000000000000000000005D00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc/metadefs/compute-quota.json{
"namespace": "OS::Compute::Quota",
"display_name": "Flavor Quota",
"description": "Compute drivers may enable quotas on CPUs available to a VM, disk tuning, bandwidth I/O, and instance VIF traffic control. See: http://docs.openstack.org/admin-guide-cloud/compute-flavors.html",
"visibility": "public",
"protected": true,
"resource_type_associations": [
{
"name": "OS::Nova::Flavor"
}
],
"objects": [
{
"name": "CPU Limits",
"description": "You can configure the CPU limits with control parameters.",
"properties": {
"quota:cpu_shares": {
"title": "Quota: CPU Shares",
"description": "Specifies the proportional weighted share for the domain. If this element is omitted, the service defaults to the OS provided defaults. There is no unit for the value; it is a relative measure based on the setting of other VMs. For example, a VM configured with value 2048 gets twice as much CPU time as a VM configured with value 1024.",
"type": "integer"
},
"quota:cpu_period": {
"title": "Quota: CPU Period",
"description": "Specifies the enforcement interval (unit: microseconds) for QEMU and LXC hypervisors. Within a period, each VCPU of the domain is not allowed to consume more than the quota worth of runtime. The value should be in range [1000, 1000000]. A period with value 0 means no value.",
"type": "integer",
"minimum": 1000,
"maximum": 1000000
},
"quota:cpu_quota": {
"title": "Quota: CPU Quota",
"description": "Specifies the maximum allowed bandwidth (unit: microseconds). A domain with a negative-value quota indicates that the domain has infinite bandwidth, which means that it is not bandwidth controlled. The value should be in range [1000, 18446744073709551] or less than 0. A quota with value 0 means no value. You can use this feature to ensure that all vCPUs run at the same speed.",
"type": "integer"
}
}
},
{
"name": "Disk QoS",
"description": "Using disk I/O quotas, you can set maximum disk write to 10 MB per second for a VM user.",
"properties": {
"quota:disk_read_bytes_sec": {
"title": "Quota: Disk read bytes / sec",
"description": "Sets disk I/O quota for disk read bytes / sec.",
"type": "integer"
},
"quota:disk_read_iops_sec": {
"title": "Quota: Disk read IOPS / sec",
"description": "Sets disk I/O quota for disk read IOPS / sec.",
"type": "integer"
},
"quota:disk_write_bytes_sec": {
"title": "Quota: Disk Write Bytes / sec",
"description": "Sets disk I/O quota for disk write bytes / sec.",
"type": "integer"
},
"quota:disk_write_iops_sec": {
"title": "Quota: Disk Write IOPS / sec",
"description": "Sets disk I/O quota for disk write IOPS / sec.",
"type": "integer"
},
"quota:disk_total_bytes_sec": {
"title": "Quota: Disk Total Bytes / sec",
"description": "Sets disk I/O quota for total disk bytes / sec.",
"type": "integer"
},
"quota:disk_total_iops_sec": {
"title": "Quota: Disk Total IOPS / sec",
"description": "Sets disk I/O quota for disk total IOPS / sec.",
"type": "integer"
}
}
},
{
"name": "Virtual Interface QoS",
"description": "Bandwidth QoS tuning for instance virtual interfaces (VIFs) may be specified with these properties. Incoming and outgoing traffic can be shaped independently. If not specified, no quality of service (QoS) is applied on that traffic direction. So, if you want to shape only the network's incoming traffic, use inbound only (and vice versa). The OpenStack Networking service abstracts the physical implementation of the network, allowing plugins to configure and manage physical resources. Virtual Interfaces (VIF) in the logical model are analogous to physical network interface cards (NICs). VIFs are typically owned a managed by an external service; for instance when OpenStack Networking is used for building OpenStack networks, VIFs would be created, owned, and managed in Nova. VIFs are connected to OpenStack Networking networks via ports. A port is analogous to a port on a network switch, and it has an administrative state. When a VIF is attached to a port the OpenStack Networking API creates an attachment object, which specifies the fact that a VIF with a given identifier is plugged into the port.",
"properties": {
"quota:vif_inbound_average": {
"title": "Quota: VIF Inbound Average",
"description": "Network Virtual Interface (VIF) inbound average in kilobytes per second. Specifies average bit rate on the interface being shaped.",
"type": "integer"
},
"quota:vif_inbound_burst": {
"title": "Quota: VIF Inbound Burst",
"description": "Network Virtual Interface (VIF) inbound burst in total kilobytes. Specifies the amount of bytes that can be burst at peak speed.",
"type": "integer"
},
"quota:vif_inbound_peak": {
"title": "Quota: VIF Inbound Peak",
"description": "Network Virtual Interface (VIF) inbound peak in kilobytes per second. Specifies maximum rate at which an interface can receive data.",
"type": "integer"
},
"quota:vif_outbound_average": {
"title": "Quota: VIF Outbound Average",
"description": "Network Virtual Interface (VIF) outbound average in kilobytes per second. Specifies average bit rate on the interface being shaped.",
"type": "integer"
},
"quota:vif_outbound_burst": {
"title": "Quota: VIF Outbound Burst",
"description": "Network Virtual Interface (VIF) outbound burst in total kilobytes. Specifies the amount of bytes that can be burst at peak speed.",
"type": "integer"
},
"quota:vif_outbound_peak": {
"title": "Quota: VIF Outbound Burst",
"description": "Network Virtual Interface (VIF) outbound peak in kilobytes per second. Specifies maximum rate at which an interface can send data.",
"type": "integer"
}
}
}
]
}
07070100000084000081A40000000000000000000000015EFCE42300000416000000000000000000000000000000000000006100000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc/metadefs/compute-randomgen.json{
"namespace": "OS::Compute::RandomNumberGenerator",
"display_name": "Random Number Generator",
"description": "If a random-number generator device has been added to the instance through its image properties, the device can be enabled and configured.",
"visibility": "public",
"protected": true,
"resource_type_associations": [
{
"name": "OS::Nova::Flavor"
}
],
"properties": {
"hw_rng:allowed": {
"title": "Random Number Generator Allowed",
"description": "",
"type": "boolean"
},
"hw_rng:rate_bytes": {
"title": "Random number generator limits.",
"description": "Allowed amount of bytes that the guest can read from the host's entropy per period.",
"type": "integer"
},
"hw_rng:rate_period": {
"title": "Random number generator read period.",
"description": "Duration of the read period in seconds.",
"type": "integer"
}
}
}07070100000085000081A40000000000000000000000015EFCE423000004B0000000000000000000000000000000000000005D00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc/metadefs/compute-trust.json{
"namespace": "OS::Compute::Trust",
"display_name": "Trusted Compute Pools (Intel® TXT)",
"description": "Trusted compute pools with Intel® Trusted Execution Technology (Intel® TXT) support IT compliance by protecting virtualized data centers - private, public, and hybrid clouds against attacks toward hypervisor and BIOS, firmware, and other pre-launch software components. The Nova trust scheduling filter must be enabled and configured with the trust attestation service in order to use this feature.",
"visibility": "public",
"protected": true,
"resource_type_associations": [
{
"name": "OS::Nova::Flavor"
}
],
"properties": {
"trust:trusted_host": {
"title": "Intel® TXT attestation",
"description": "Select to ensure that node has been attested by Intel® Trusted Execution Technology (Intel® TXT). The Nova trust scheduling filter must be enabled and configured with the trust attestation service in order to use this feature.",
"type": "string",
"enum": [
"trusted",
"untrusted",
"unknown"
]
}
}
}07070100000086000081A40000000000000000000000015EFCE423000007C2000000000000000000000000000000000000006400000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc/metadefs/compute-vcputopology.json{
"namespace": "OS::Compute::VirtCPUTopology",
"display_name": "Virtual CPU Topology",
"description": "This provides the preferred socket/core/thread counts for the virtual CPU instance exposed to guests. This enables the ability to avoid hitting limitations on vCPU topologies that OS vendors place on their products. See also: http://git.openstack.org/cgit/openstack/nova-specs/tree/specs/juno/virt-driver-vcpu-topology.rst",
"visibility": "public",
"protected": true,
"resource_type_associations": [
{
"name": "OS::Glance::Image",
"prefix": "hw_"
},
{
"name": "OS::Cinder::Volume",
"prefix": "hw_",
"properties_target": "image"
},
{
"name": "OS::Nova::Flavor",
"prefix": "hw:"
}
],
"properties": {
"cpu_sockets": {
"title": "vCPU Sockets",
"description": "Preferred number of sockets to expose to the guest.",
"type": "integer"
},
"cpu_cores": {
"title": "vCPU Cores",
"description": "Preferred number of cores to expose to the guest.",
"type": "integer"
},
"cpu_threads": {
"title": " vCPU Threads",
"description": "Preferred number of threads to expose to the guest.",
"type": "integer"
},
"cpu_maxsockets": {
"title": "Max vCPU Sockets",
"description": "Maximum number of sockets to expose to the guest.",
"type": "integer"
},
"cpu_maxcores": {
"title": "Max vCPU Cores",
"description": "Maximum number of cores to expose to the guest.",
"type": "integer"
},
"cpu_maxthreads": {
"title": "Max vCPU Threads",
"description": "Maximum number of threads to expose to the guest.",
"type": "integer"
}
}
}
07070100000087000081A40000000000000000000000015EFCE423000005FF000000000000000000000000000000000000006500000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc/metadefs/compute-vmware-flavor.json{
"namespace": "OS::Compute::VMwareFlavor",
"display_name": "VMware Driver Options for Flavors",
"description": "VMware Driver Options for Flavors may be used to customize and manage Nova Flavors. These are properties specific to VMWare compute drivers and will only have an effect if the VMWare compute driver is enabled in Nova. See: http://docs.openstack.org/admin-guide-cloud/compute-flavors.html",
"visibility": "public",
"protected": true,
"resource_type_associations": [
{
"name": "OS::Nova::Flavor"
}
],
"properties": {
"vmware:hw_version": {
"title": "VMware Hardware Version",
"description": "Specifies the hardware version VMware uses to create images. If the hardware version needs to be compatible with a cluster version, for backward compatibility or other circumstances, the vmware:hw_version key specifies a virtual machine hardware version. In the event that a cluster has mixed host version types, the key will enable the vCenter to place the cluster on the correct host.",
"type": "string"
},
"vmware:storage_policy": {
"title": "VMware Storage Policy",
"description": "Specifies the storage policy to be applied for newly created instance. If not provided, the default storage policy specified in config file will be used. If Storage Policy Based Management (SPBM) is not enabled in config file, this value won't be used.",
"type": "string"
}
}
}
07070100000088000081A40000000000000000000000015EFCE42300000672000000000000000000000000000000000000006B00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc/metadefs/compute-vmware-quota-flavor.json{
"namespace": "OS::Compute::VMwareQuotaFlavor",
"display_name": "VMware Quota for Flavors",
"description": "The VMware compute driver allows various compute quotas to be specified on flavors. When specified, the VMWare driver will ensure that the quota is enforced. These are properties specific to VMWare compute drivers and will only have an effect if the VMWare compute driver is enabled in Nova. For a list of hypervisors, see: https://wiki.openstack.org/wiki/HypervisorSupportMatrix. For flavor customization, see: http://docs.openstack.org/admin-guide-cloud/compute-flavors.html",
"visibility": "public",
"protected": true,
"resource_type_associations": [
{
"name": "OS::Nova::Flavor"
}
],
"properties": {
"quota:cpu_limit": {
"title": "Quota: CPU Limit",
"description": "Specifies the upper limit for CPU allocation in MHz. This parameter ensures that a machine never uses more than the defined amount of CPU time. It can be used to enforce a limit on the machine's CPU performance. The value should be a numerical value in MHz. If zero is supplied then the cpu_limit is unlimited.",
"type": "integer",
"minimum": 0
},
"quota:cpu_reservation": {
"title": "Quota: CPU Reservation Limit",
"description": "Specifies the guaranteed minimum CPU reservation in MHz. This means that if needed, the machine will definitely get allocated the reserved amount of CPU cycles. The value should be a numerical value in MHz.",
"type": "integer",
"minimum": 0
}
}
}
07070100000089000081A40000000000000000000000015EFCE42300001B84000000000000000000000000000000000000005E00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc/metadefs/compute-vmware.json{
"namespace": "OS::Compute::VMware",
"display_name": "VMware Driver Options",
"description": "The VMware compute driver options. \n\nThese are properties specific to VMWare compute drivers and will only have an effect if the VMWare compute driver is enabled in Nova. For a list of all hypervisors, see here: https://wiki.openstack.org/wiki/HypervisorSupportMatrix.",
"visibility": "public",
"protected": true,
"resource_type_associations": [
{
"name": "OS::Glance::Image"
}
],
"properties": {
"vmware_adaptertype": {
"title": "Disk Adapter Type",
"description": "The virtual SCSI or IDE controller used by the hypervisor.",
"type": "string",
"enum": [
"lsiLogic",
"lsiLogicsas",
"paraVirtual",
"busLogic",
"ide"
],
"default" : "lsiLogic"
},
"vmware_disktype": {
"title": "Disk Provisioning Type",
"description": "When performing operations such as creating a virtual disk, cloning, or migrating, the disk provisioning type may be specified. Please refer to VMware documentation for more.",
"type": "string",
"enum": [
"streamOptimized",
"sparse",
"preallocated"
],
"default" : "preallocated"
},
"vmware_ostype": {
"title": "OS Type",
"description": "A VMware GuestID which describes the operating system installed in the image. This value is passed to the hypervisor when creating a virtual machine. If not specified, the key defaults to otherGuest. See thinkvirt.com.",
"type": "string",
"enum": [
"asianux3_64Guest",
"asianux3Guest",
"asianux4_64Guest",
"asianux4Guest",
"asianux5_64Guest",
"centos64Guest",
"centosGuest",
"coreos64Guest",
"darwin10_64Guest",
"darwin10Guest",
"darwin11_64Guest",
"darwin11Guest",
"darwin12_64Guest",
"darwin13_64Guest",
"darwin14_64Guest",
"darwin64Guest",
"darwinGuest",
"debian4_64Guest",
"debian4Guest",
"debian5_64Guest",
"debian5Guest",
"debian6_64Guest",
"debian6Guest",
"debian7_64Guest",
"debian7Guest",
"debian8_64Guest",
"debian8Guest",
"dosGuest",
"eComStation2Guest",
"eComStationGuest",
"fedora64Guest",
"fedoraGuest",
"freebsd64Guest",
"freebsdGuest",
"genericLinuxGuest",
"mandrakeGuest",
"mandriva64Guest",
"mandrivaGuest",
"netware4Guest",
"netware5Guest",
"netware6Guest",
"nld9Guest",
"oesGuest",
"openServer5Guest",
"openServer6Guest",
"opensuse64Guest",
"opensuseGuest",
"oracleLinux64Guest",
"oracleLinuxGuest",
"os2Guest",
"other24xLinux64Guest",
"other24xLinuxGuest",
"other26xLinux64Guest",
"other26xLinuxGuest",
"other3xLinux64Guest",
"other3xLinuxGuest",
"otherGuest",
"otherGuest64",
"otherLinux64Guest",
"otherLinuxGuest",
"redhatGuest",
"rhel2Guest",
"rhel3_64Guest",
"rhel3Guest",
"rhel4_64Guest",
"rhel4Guest",
"rhel5_64Guest",
"rhel5Guest",
"rhel6_64Guest",
"rhel6Guest",
"rhel7_64Guest",
"rhel7Guest",
"sjdsGuest",
"sles10_64Guest",
"sles10Guest",
"sles11_64Guest",
"sles11Guest",
"sles12_64Guest",
"sles12Guest",
"sles64Guest",
"slesGuest",
"solaris10_64Guest",
"solaris10Guest",
"solaris11_64Guest",
"solaris6Guest",
"solaris7Guest",
"solaris8Guest",
"solaris9Guest",
"turboLinux64Guest",
"turboLinuxGuest",
"ubuntu64Guest",
"ubuntuGuest",
"unixWare7Guest",
"vmkernel5Guest",
"vmkernel6Guest",
"vmkernelGuest",
"win2000AdvServGuest",
"win2000ProGuest",
"win2000ServGuest",
"win31Guest",
"win95Guest",
"win98Guest",
"windows7_64Guest",
"windows7Guest",
"windows7Server64Guest",
"windows8_64Guest",
"windows8Guest",
"windows8Server64Guest",
"windows9_64Guest",
"windows9Guest",
"windows9Server64Guest",
"windowsHyperVGuest",
"winLonghorn64Guest",
"winLonghornGuest",
"winMeGuest",
"winNetBusinessGuest",
"winNetDatacenter64Guest",
"winNetDatacenterGuest",
"winNetEnterprise64Guest",
"winNetEnterpriseGuest",
"winNetStandard64Guest",
"winNetStandardGuest",
"winNetWebGuest",
"winNTGuest",
"winVista64Guest",
"winVistaGuest",
"winXPHomeGuest",
"winXPPro64Guest",
"winXPProGuest"
],
"default": "otherGuest"
},
"hw_vif_model": {
"title": "Virtual Network Interface",
"description": "Specifies the model of virtual network interface device to use. The valid options depend on the hypervisor. VMware driver supported options: e1000, e1000e, VirtualE1000, VirtualE1000e, VirtualPCNet32, VirtualSriovEthernetCard, and VirtualVmxnet.",
"type": "string",
"enum": [
"e1000",
"e1000e",
"VirtualE1000",
"VirtualE1000e",
"VirtualPCNet32",
"VirtualSriovEthernetCard",
"VirtualVmxnet",
"VirtualVmxnet3"
],
"default" : "e1000"
}
},
"objects": []
}
0707010000008A000081A40000000000000000000000015EFCE42300000548000000000000000000000000000000000000006000000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc/metadefs/compute-watchdog.json{
"namespace": "OS::Compute::Watchdog",
"display_name": "Watchdog Behavior",
"description": "Compute drivers may enable watchdog behavior over instances. See: http://docs.openstack.org/admin-guide-cloud/compute-flavors.html",
"visibility": "public",
"protected": true,
"resource_type_associations": [
{
"name": "OS::Glance::Image"
},
{
"name": "OS::Cinder::Volume",
"properties_target": "image"
},
{
"name": "OS::Nova::Flavor"
}
],
"properties": {
"hw_watchdog_action": {
"title": "Watchdog Action",
"description": "For the libvirt driver, you can enable and set the behavior of a virtual hardware watchdog device for each flavor. Watchdog devices keep an eye on the guest server, and carry out the configured action, if the server hangs. The watchdog uses the i6300esb device (emulating a PCI Intel 6300ESB). If hw_watchdog_action is not specified, the watchdog is disabled. Watchdog behavior set using a specific image's properties will override behavior set using flavors.",
"type": "string",
"enum": [
"disabled",
"reset",
"poweroff",
"pause",
"none"
]
}
}
}
0707010000008B000081A40000000000000000000000015EFCE42300000617000000000000000000000000000000000000005E00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc/metadefs/compute-xenapi.json{
"namespace": "OS::Compute::XenAPI",
"display_name": "XenAPI Driver Options",
"description": "The XenAPI compute driver options. \n\nThese are properties specific to compute drivers. For a list of all hypervisors, see here: https://wiki.openstack.org/wiki/HypervisorSupportMatrix.",
"visibility": "public",
"protected": true,
"resource_type_associations": [
{
"name": "OS::Glance::Image"
}
],
"properties": {
"os_type": {
"title": "OS Type",
"description": "The operating system installed on the image. The XenAPI driver contains logic that takes different actions depending on the value of the os_type parameter of the image. For example, for os_type=windows images, it creates a FAT32-based swap partition instead of a Linux swap partition, and it limits the injected host name to less than 16 characters.",
"type": "string",
"enum": [
"linux",
"windows"
]
},
"auto_disk_config": {
"title": "Disk Adapter Type",
"description": "If true, the root partition on the disk is automatically resized before the instance boots. This value is only taken into account by the Compute service when using a Xen-based hypervisor with the XenAPI driver. The Compute service will only attempt to resize if there is a single partition on the image, and only if the partition is in ext3 or ext4 format.",
"type": "boolean"
}
},
"objects": []
}
0707010000008C000081A40000000000000000000000015EFCE423000008F1000000000000000000000000000000000000006900000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc/metadefs/glance-common-image-props.json{
"display_name": "Common Image Properties",
"namespace": "OS::Glance::CommonImageProperties",
"description": "When adding an image to Glance, you may specify some common image properties that may prove useful to consumers of your image.",
"protected": true,
"resource_type_associations" : [
],
"properties": {
"kernel_id": {
"title": "Kernel ID",
"type": "string",
"pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$",
"description": "ID of image stored in Glance that should be used as the kernel when booting an AMI-style image."
},
"ramdisk_id": {
"title": "Ramdisk ID",
"type": "string",
"pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$",
"description": "ID of image stored in Glance that should be used as the ramdisk when booting an AMI-style image."
},
"instance_uuid": {
"title": "Instance ID",
"type": "string",
"description": "Metadata which can be used to record which instance this image is associated with. (Informational only, does not create an instance snapshot.)"
},
"architecture": {
"title": "CPU Architecture",
"description": "The CPU architecture that must be supported by the hypervisor. For example, x86_64, arm, or ppc64. Run uname -m to get the architecture of a machine. We strongly recommend using the architecture data vocabulary defined by the libosinfo project for this purpose.",
"type": "string"
},
"os_distro": {
"title": "OS Distro",
"description": "The common name of the operating system distribution in lowercase (uses the same data vocabulary as the libosinfo project). Specify only a recognized value for this field. Deprecated values are listed to assist you in searching for the recognized value.",
"type": "string"
},
"os_version": {
"title": "OS Version",
"description": "Operating system version as specified by the distributor. (for example, '11.10')",
"type": "string"
}
}
}
0707010000008D000081A40000000000000000000000015EFCE42300000522000000000000000000000000000000000000006000000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc/metadefs/operating-system.json{
"display_name": "Common Operating System Properties",
"namespace": "OS::OperatingSystem",
"description": "Details of the operating system contained within this image as well as common operating system properties that can be set on a VM instance created from this image.",
"protected": true,
"resource_type_associations" : [
{
"name": "OS::Glance::Image"
},
{
"name": "OS::Cinder::Volume",
"properties_target": "image"
}
],
"properties": {
"os_distro": {
"title": "OS Distro",
"description": "The common name of the operating system distribution in lowercase (uses the same data vocabulary as the libosinfo project). Specify only a recognized value for this field. Deprecated values are listed to assist you in searching for the recognized value.",
"type": "string"
},
"os_version": {
"title": "OS Version",
"description": "Operating system version as specified by the distributor. (for example, '11.10')",
"type": "string"
},
"os_admin_user": {
"title": "OS Admin User",
"description": "The name of the user with admin privileges.",
"type": "string"
}
}
}
0707010000008E000081A40000000000000000000000015EFCE4230000492B000000000000000000000000000000000000006200000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc/metadefs/software-databases.json{
"namespace": "OS::Software::DBMS",
"display_name": "Database Software",
"description": "A database is an organized collection of data. The data is typically organized to model aspects of reality in a way that supports processes requiring information. Database management systems are computer software applications that interact with the user, other applications, and the database itself to capture and analyze data. (http://en.wikipedia.org/wiki/Database)",
"visibility": "public",
"protected": true,
"resource_type_associations": [
{
"name": "OS::Glance::Image"
},
{
"name": "OS::Cinder::Volume",
"properties_target": "image"
},
{
"name": "OS::Nova::Server",
"properties_target": "metadata"
},
{
"name": "OS::Trove::Instance"
}
],
"objects": [
{
"name": "MySQL",
"description": "MySQL is an object-relational database management system (ORDBMS). The MySQL development project has made its source code available under the terms of the GNU General Public License, as well as under a variety of proprietary agreements. MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned by Oracle Corporation. MySQL is a popular choice of database for use in web applications, and is a central component of the widely used LAMP open source web application software stack (and other 'AMP' stacks). (http://en.wikipedia.org/wiki/MySQL)",
"properties": {
"sw_database_mysql_version": {
"title": "Version",
"description": "The specific version of MySQL.",
"type": "string"
},
"sw_database_mysql_listen_port": {
"title": "Listen Port",
"description": "The configured TCP/IP port which MySQL listens for incoming connections.",
"type": "integer",
"minimum": 1,
"maximum": 65535,
"default": 3606
},
"sw_database_mysql_admin": {
"title": "Admin User",
"description": "The primary user with privileges to perform administrative operations.",
"type": "string",
"default": "root"
}
}
},
{
"name": "PostgreSQL",
"description": "PostgreSQL, often simply 'Postgres', is an object-relational database management system (ORDBMS) with an emphasis on extensibility and standards-compliance. PostgreSQL is cross-platform and runs on many operating systems. (http://en.wikipedia.org/wiki/PostgreSQL)",
"properties": {
"sw_database_postgresql_version": {
"title": "Version",
"description": "The specific version of PostgreSQL.",
"type": "string"
},
"sw_database_postgresql_listen_port": {
"title": "Listen Port",
"description": "Specifies the TCP/IP port or local Unix domain socket file extension on which PostgreSQL is to listen for connections from client applications.",
"type": "integer",
"minimum": 1,
"maximum": 65535,
"default": 5432
},
"sw_database_postgresql_admin": {
"title": "Admin User",
"description": "The primary user with privileges to perform administrative operations.",
"type": "string",
"default": "postgres"
}
}
},
{
"name": "SQL Server",
"description": "Microsoft SQL Server is a relational database management system developed by Microsoft. There are at least a dozen different editions of Microsoft SQL Server aimed at different audiences and for workloads ranging from small single-machine applications to large Internet-facing applications with many concurrent users. Its primary query languages are T-SQL and ANSI SQL. (http://en.wikipedia.org/wiki/Microsoft_SQL_Server)",
"properties": {
"sw_database_sqlserver_version": {
"title": "Version",
"description": "The specific version of Microsoft SQL Server.",
"type": "string"
},
"sw_database_sqlserver_edition": {
"title": "Edition",
"description": "SQL Server is available in multiple editions, with different feature sets and targeting different users.",
"type": "string",
"default": "Express",
"enum": [
"Datacenter",
"Enterprise",
"Standard",
"Web",
"Business Intelligence",
"Workgroup",
"Express",
"Compact (SQL CE)",
"Developer",
"Embedded (SSEE)",
"Express",
"Fast Track",
"LocalDB",
"Parallel Data Warehouse (PDW)",
"Business Intelligence",
"Datawarehouse Appliance Edition"
]
},
"sw_database_sqlserver_listen_port": {
"title": "Listen Port",
"description": "Specifies the TCP/IP port or local Unix domain socket file extension on which SQL Server is to listen for connections from client applications. The default SQL Server port is 1433, and client ports are assigned a random value between 1024 and 5000.",
"type": "integer",
"minimum": 1,
"maximum": 65535,
"default": 1433
},
"sw_database_postsqlserver_admin": {
"title": "Admin User",
"description": "The primary user with privileges to perform administrative operations.",
"type": "string",
"default": "sa"
}
}
},
{
"name": "Oracle",
"description": "Oracle Database (commonly referred to as Oracle RDBMS or simply as Oracle) is an object-relational database management system produced and marketed by Oracle Corporation. (http://en.wikipedia.org/wiki/Oracle_Database)",
"properties": {
"sw_database_oracle_version": {
"title": "Version",
"description": "The specific version of Oracle.",
"type": "string"
},
"sw_database_oracle_edition": {
"title": "Edition",
"description": "Over and above the different versions of the Oracle database management software developed over time, Oracle Corporation subdivides its product into varying editions.",
"type": "string",
"default": "Express",
"enum": [
"Enterprise",
"Standard",
"Standard Edition One",
"Express (XE)",
"Workgroup",
"Lite"
]
},
"sw_database_oracle_listen_port": {
"title": "Listen Port",
"description": "Specifies the TCP/IP port or local Unix domain socket file extension on which Oracle is to listen for connections from client applications.",
"type": "integer",
"minimum": 1,
"maximum": 65535,
"default": 1521
}
}
},
{
"name": "DB2",
"description": "IBM DB2 is a family of database server products developed by IBM. These products all support the relational model, but in recent years some products have been extended to support object-relational features and non-relational structures, in particular XML. (http://en.wikipedia.org/wiki/IBM_DB2)",
"properties": {
"sw_database_db2_version": {
"title": "Version",
"description": "The specific version of DB2.",
"type": "string"
},
"sw_database_db2_port": {
"title": "Listen Port",
"description": "Specifies the TCP/IP port or local Unix domain socket file extension on which DB2 is to listen for connections from client applications.",
"type": "integer",
"minimum": 1,
"maximum": 65535,
"default": 5432
},
"sw_database_db2_admin": {
"title": "Admin User",
"description": "The primary user with privileges to perform administrative operations.",
"type": "string"
}
}
},
{
"name": "MongoDB",
"description": "MongoDB is a cross-platform document-oriented database. Classified as a NoSQL database, MongoDB uses JSON-like documents with dynamic schemas (MongoDB calls the format BSON), making the integration of data in certain types of applications easier and faster. Released under a combination of the GNU Affero General Public License and the Apache License, MongoDB is free and open-source software. (http://en.wikipedia.org/wiki/MongoDB)",
"properties": {
"sw_database_mongodb_version": {
"title": "Version",
"description": "The specific version of MongoDB.",
"type": "string"
},
"sw_database_mongodb_listen_port": {
"title": "Listen Port",
"description": "Specifies the TCP/IP port or local Unix domain socket file extension on which MongoDB is to listen for connections from client applications.",
"type": "integer",
"minimum": 1,
"maximum": 65535,
"default": 27017
},
"sw_database_mongodb_admin": {
"title": "Admin User",
"description": "The primary user with privileges to perform administrative operations.",
"type": "string"
}
}
},
{
"name": "Couchbase Server",
"description": "Couchbase Server, originally known as Membase, is an open source, distributed (shared-nothing architecture) NoSQL document-oriented database that is optimized for interactive applications. These applications must serve many concurrent users by creating, storing, retrieving, aggregating, manipulating and presenting data. In support of these kinds of application needs, Couchbase is designed to provide easy-to-scale key-value or document access with low latency and high sustained throughput. (http://en.wikipedia.org/wiki/Couchbase_Server)",
"properties": {
"sw_database_couchbaseserver_version": {
"title": "Version",
"description": "The specific version of Couchbase Server.",
"type": "string"
},
"sw_database_couchbaseserver_listen_port": {
"title": "Listen Port",
"description": "Specifies the TCP/IP port or local Unix domain socket file extension on which Couchbase is to listen for connections from client applications.",
"type": "integer",
"minimum": 1,
"maximum": 65535,
"default": 11211
},
"sw_database_couchbaseserver_admin": {
"title": "Admin User",
"description": "The primary user with privileges to perform administrative operations.",
"type": "string",
"default": "admin"
}
}
},
{
"name": "Redis",
"description": "Redis is a data structure server (NoSQL). It is open-source, networked, in-memory, and stores keys with optional durability. The development of Redis has been sponsored by Pivotal Software since May 2013; before that, it was sponsored by VMware. The name Redis means REmote DIctionary Server. (http://en.wikipedia.org/wiki/Redis)",
"properties": {
"sw_database_redis_version": {
"title": "Version",
"description": "The specific version of Redis.",
"type": "string"
},
"sw_database_redis_listen_port": {
"title": "Listen Port",
"description": "Specifies the TCP/IP port or local Unix domain socket file extension on which Redis is to listen for connections from client applications.",
"type": "integer",
"minimum": 1,
"maximum": 65535,
"default": 6379
},
"sw_database_redis_admin": {
"title": "Admin User",
"description": "The primary user with privileges to perform administrative operations.",
"type": "string",
"default": "admin"
}
}
},
{
"name": "CouchDB",
"description": "Apache CouchDB, commonly referred to as CouchDB, is an open source NoSQL database. It is a NoSQL database that uses JSON to store data, JavaScript as its query language using MapReduce, and HTTP for an API. One of its distinguishing features is multi-master replication. CouchDB was first released in 2005 and later became an Apache project in 2008. (http://en.wikipedia.org/wiki/CouchDB)",
"properties": {
"sw_database_couchdb_version": {
"title": "Version",
"description": "The specific version of CouchDB.",
"type": "string"
},
"sw_database_couchdb_listen_port": {
"title": "Listen Port",
"description": "Specifies the TCP/IP port or local Unix domain socket file extension on which CouchDB is to listen for connections from client applications.",
"type": "integer",
"minimum": 1,
"maximum": 65535,
"default": 5984
},
"sw_database_couchdb_admin": {
"title": "Admin User",
"description": "The primary user with privileges to perform administrative operations.",
"type": "string"
}
}
},
{
"name": "Apache Cassandra",
"description": "Apache Cassandra is an open source distributed NoSQL database management system designed to handle large amounts of data across many commodity servers, providing high availability with no single point of failure. (http://en.wikipedia.org/wiki/Apache_Cassandra)",
"properties": {
"sw_database_cassandra_version": {
"title": "Version",
"description": "The specific version of Apache Cassandra.",
"type": "string"
},
"sw_database_cassandra_listen_port": {
"title": "Listen Port",
"description": "Specifies the TCP/IP port or local Unix domain socket file extension on which Cassandra is to listen for connections from client applications.",
"type": "integer",
"minimum": 1,
"maximum": 65535,
"default": 9160
},
"sw_database_cassandra_admin": {
"title": "Admin User",
"description": "The primary user with privileges to perform administrative operations.",
"type": "string",
"default": "cassandra"
}
}
},
{
"name": "HBase",
"description": "HBase is an open source, non-relational (NoSQL), distributed database modeled after Google's BigTable and written in Java. It is developed as part of Apache Software Foundation's Apache Hadoop project and runs on top of HDFS (Hadoop Distributed Filesystem), providing BigTable-like capabilities for Hadoop. (http://en.wikipedia.org/wiki/Apache_HBase)",
"properties": {
"sw_database_hbase_version": {
"title": "Version",
"description": "The specific version of HBase.",
"type": "string"
}
}
},
{
"name": "Hazlecast",
"description": "In computing, Hazelcast is an in-memory open source software data grid based on Java. By having multiple nodes form a cluster, data is evenly distributed among the nodes. This allows for horizontal scaling both in terms of available storage space and processing power. Backups are also distributed in a similar fashion to other nodes, based on configuration, thereby protecting against single node failure. (http://en.wikipedia.org/wiki/Hazelcast)",
"properties": {
"sw_database_hazlecast_version": {
"title": "Version",
"description": "The specific version of Hazlecast.",
"type": "string"
},
"sw_database_hazlecast_port": {
"title": "Listen Port",
"description": "Specifies the TCP/IP port or local Unix domain socket file extension on which Hazlecast is to listen for connections between members.",
"type": "integer",
"minimum": 1,
"maximum": 65535,
"default": 5701
}
}
}
]
}
0707010000008F000081A40000000000000000000000015EFCE42300001484000000000000000000000000000000000000006100000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc/metadefs/software-runtimes.json{
"namespace": "OS::Software::Runtimes",
"display_name": "Runtime Environment",
"description": "Software is written in a specific programming language and the language must execute within a runtime environment. The runtime environment provides an abstraction to utilizing a computer's processor, memory (RAM), and other system resources.",
"visibility": "public",
"protected": true,
"resource_type_associations": [
{
"name": "OS::Glance::Image"
},
{
"name": "OS::Cinder::Volume",
"properties_target": "image"
},
{
"name": "OS::Nova::Server",
"properties_target": "metadata"
}
],
"objects": [
{
"name": "PHP",
"description": "PHP is a server-side scripting language designed for web development but also used as a general-purpose programming language. PHP code can be simply mixed with HTML code, or it can be used in combination with various templating engines and web frameworks. PHP code is usually processed by a PHP interpreter, which is usually implemented as a web server's native module or a Common Gateway Interface (CGI) executable. After the PHP code is interpreted and executed, the web server sends resulting output to its client, usually in form of a part of the generated web page – for example, PHP code can generate a web page's HTML code, an image, or some other data. PHP has also evolved to include a command-line interface (CLI) capability and can be used in standalone graphical applications. (http://en.wikipedia.org/wiki/PHP)",
"properties": {
"sw_runtime_php_version": {
"title": "Version",
"description": "The specific version of PHP.",
"type": "string"
}
}
},
{
"name": "Python",
"description": "Python is a widely used general-purpose, high-level programming language. Its design philosophy emphasizes code readability, and its syntax allows programmers to express concepts in fewer lines of code than would be possible in languages such as C++ or Java. The language provides constructs intended to enable clear programs on both a small and large scale. Python supports multiple programming paradigms, including object-oriented, imperative and functional programming or procedural styles. It features a dynamic type system and automatic memory management and has a large and comprehensive standard library. (http://en.wikipedia.org/wiki/Python_(programming_language))",
"properties": {
"sw_runtime_python_version": {
"title": "Version",
"description": "The specific version of python.",
"type": "string"
}
}
},
{
"name": "Java",
"description": "Java is a functional computer programming language that is concurrent, class-based, object-oriented, and specifically designed to have as few implementation dependencies as possible. It is intended to let application developers write once, run anywhere (WORA), meaning that code that runs on one platform does not need to be recompiled to run on another. Java applications are typically compiled to bytecode that can run on any Java virtual machine (JVM) regardless of computer architecture. (http://en.wikipedia.org/wiki/Java_(programming_language))",
"properties": {
"sw_runtime_java_version": {
"title": "Version",
"description": "The specific version of Java.",
"type": "string"
}
}
},
{
"name": "Ruby",
"description": "Ruby is a dynamic, reflective, object-oriented, general-purpose programming language. It was designed and developed in the mid-1990s by Yukihiro Matsumoto in Japan. According to its authors, Ruby was influenced by Perl, Smalltalk, Eiffel, Ada, and Lisp. It supports multiple programming paradigms, including functional, object-oriented, and imperative. It also has a dynamic type system and automatic memory management. (http://en.wikipedia.org/wiki/Python_(programming_language))",
"properties": {
"sw_runtime_ruby_version": {
"title": "Version",
"description": "The specific version of Ruby.",
"type": "string"
}
}
},
{
"name": "Perl",
"description": "Perl is a family of high-level, general-purpose, interpreted, dynamic programming languages. The languages in this family include Perl 5 and Perl 6. Though Perl is not officially an acronym, there are various backronyms in use, the most well-known being Practical Extraction and Reporting Language (http://en.wikipedia.org/wiki/Perl)",
"properties": {
"sw_runtime_perl_version": {
"title": "Version",
"description": "The specific version of Perl.",
"type": "string"
}
}
}
]
}
07070100000090000081A40000000000000000000000015EFCE4230000168C000000000000000000000000000000000000006300000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc/metadefs/software-webservers.json{
"namespace": "OS::Software::WebServers",
"display_name": "Web Servers",
"description": "A web server is a computer system that processes requests via HTTP, the basic network protocol used to distribute information on the World Wide Web. The most common use of web servers is to host websites, but there are other uses such as gaming, data storage, running enterprise applications, handling email, FTP, or other web uses. (http://en.wikipedia.org/wiki/Web_server)",
"visibility": "public",
"protected": true,
"resource_type_associations": [
{
"name": "OS::Glance::Image"
},
{
"name": "OS::Cinder::Volume",
"properties_target": "image"
},
{
"name": "OS::Nova::Server",
"properties_target": "metadata"
}
],
"objects": [
{
"name": "Apache HTTP Server",
"description": "The Apache HTTP Server, colloquially called Apache, is a Web server application notable for playing a key role in the initial growth of the World Wide Web. Apache is developed and maintained by an open community of developers under the auspices of the Apache Software Foundation. Most commonly used on a Unix-like system, the software is available for a wide variety of operating systems, including Unix, FreeBSD, Linux, Solaris, Novell NetWare, OS X, Microsoft Windows, OS/2, TPF, OpenVMS and eComStation. Released under the Apache License, Apache is open-source software. (http://en.wikipedia.org/wiki/Apache_HTTP_Server)",
"properties": {
"sw_webserver_apache_version": {
"title": "Version",
"description": "The specific version of Apache.",
"type": "string"
},
"sw_webserver_apache_http_port": {
"title": "HTTP Port",
"description": "The configured TCP/IP port on which the web server listens for incoming HTTP connections.",
"type": "integer",
"minimum": 1,
"maximum": 65535,
"default": 80
},
"sw_webserver_apache_https_port": {
"title": "HTTPS Port",
"description": "The configured TCP/IP port on which the web server listens for incoming HTTPS connections.",
"type": "integer",
"minimum": 1,
"maximum": 65535,
"default": 443
}
}
},
{
"name": "Nginx",
"description": "Nginx (pronounced 'engine-x') is an open source reverse proxy server for HTTP, HTTPS, SMTP, POP3, and IMAP protocols, as well as a load balancer, HTTP cache, and a web server (origin server). The nginx project started with a strong focus on high concurrency, high performance and low memory usage. It is licensed under the 2-clause BSD-like license and it runs on Linux, BSD variants, Mac OS X, Solaris, AIX, HP-UX, as well as on other *nix flavors. It also has a proof of concept port for Microsoft Windows. (http://en.wikipedia.org/wiki/Nginx)",
"properties": {
"sw_webserver_nginx_version": {
"title": "Version",
"description": "The specific version of Nginx.",
"type": "string"
},
"sw_webserver_nginx_http_port": {
"title": "HTTP Port",
"description": "The configured TCP/IP port on which the web server listens for incoming HTTP connections.",
"type": "integer",
"minimum": 1,
"maximum": 65535,
"default": 80
},
"sw_webserver_nginx_https_port": {
"title": "HTTPS Port",
"description": "The configured TCP/IP port on which the web server listens for incoming HTTPS connections.",
"type": "integer",
"minimum": 1,
"maximum": 65535,
"default": 443
}
}
},
{
"name": "IIS",
"description": "Internet Information Services (IIS, formerly Internet Information Server) is an extensible web server created by Microsoft. IIS supports HTTP, HTTPS, FTP, FTPS, SMTP and NNTP. IIS is not turned on by default when Windows is installed. The IIS Manager is accessed through the Microsoft Management Console or Administrative Tools in the Control Panel. (http://en.wikipedia.org/wiki/Internet_Information_Services)",
"properties": {
"sw_webserver_iis_version": {
"title": "Version",
"description": "The specific version of IIS.",
"type": "string"
},
"sw_webserver_iis_http_port": {
"title": "HTTP Port",
"description": "The configured TCP/IP port on which the web server listens for incoming HTTP connections.",
"type": "integer",
"minimum": 1,
"maximum": 65535,
"default": 80
},
"sw_webserver_iis_https_port": {
"title": "HTTPS Port",
"description": "The configured TCP/IP port on which the web server listens for incoming HTTPS connections.",
"type": "integer",
"minimum": 1,
"maximum": 65535,
"default": 443
}
}
}
]
}
07070100000091000081A40000000000000000000000015EFCE4230000044C000000000000000000000000000000000000006300000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/files/etc/metadefs/storage-volume-type.json{
"namespace": "OS::Cinder::Volumetype",
"display_name": "Cinder Volume Type",
"description": "The Cinder volume type configuration option. Volume type assignment provides a mechanism not only to provide scheduling to a specific storage back-end, but also can be used to specify specific information for a back-end storage device to act upon.",
"visibility": "public",
"protected": true,
"resource_type_associations": [
{
"name": "OS::Glance::Image",
"prefix": "cinder_"
}
],
"properties": {
"img_volume_type": {
"title": "Image Volume Type",
"description": "Specifies the volume type that should be applied during new volume creation with a image. This value is passed to Cinder when creating a new volume. Priority of volume type related parameters are 1.volume_type(via API or CLI), 2.cinder_img_volume_type, 3.default_volume_type(via cinder.conf). If not specified, volume_type or default_volume_type will be referred based on their priority.",
"type": "string"
}
}
}
07070100000092000041ED0000000000000000000000025EFCE42300000000000000000000000000000000000000000000003C00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/meta07070100000093000081A40000000000000000000000015EFCE423000002A4000000000000000000000000000000000000004500000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/meta/main.yml#
# (c) Copyright 2015 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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.
#
---
dependencies:
- role: _GLA-CMN
07070100000094000041ED0000000000000000000000025EFCE42300000000000000000000000000000000000000000000003D00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/tasks07070100000095000081A40000000000000000000000015EFCE42300000F2B000000000000000000000000000000000000004B00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/tasks/configure.yml#
# (c) Copyright 2015-2017 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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: ../../_GLA-CMN/tasks/configure.yml
- name: GLA-REG | configure | Create Glance directories
become: yes
file:
path: "{{ glance_registry_conf_dir }}"
owner: "{{ glance_system_user }}"
group: "{{ glance_system_group }}"
mode: 0755
state: directory
- name: GLA-REG | configure | Create glance registry log and json log files
become: yes
file:
path: "{{ item }}"
owner: "{{ glance_system_user }}"
group: "adm"
mode: 0640
state: touch
with_items:
- "{{ glance_registry_log_file }}"
- "{{ glance_registry_log_json_file }}"
- name: GLA-REG | configure | Create glance-registry-paste.ini from template
become: yes
template:
src: glance-registry-paste.ini.j2
dest: "{{ glance_registry_conf_dir }}/glance-registry-paste.ini"
owner: "{{ glance_system_user }}"
group: "{{ glance_system_group }}"
mode: 0400
register: ardana_notify_glance_registry_restart_required
- name: GLA-REG | configure | Create glance-registry.conf from template
become: yes
template:
src: glance-registry.conf.j2
dest: "{{ glance_registry_conf_dir }}/glance-registry.conf"
owner: "{{ glance_system_user }}"
group: "{{ glance_system_group }}"
mode: 0400
register: ardana_notify_glance_registry_restart_required
- name: GLA-REG | configure | Create glance-registry-logging.conf from template
become: yes
template:
src: glance-registry-logging.conf.j2
dest: "{{ glance_registry_conf_dir }}/glance-registry-logging.conf"
owner: "{{ glance_system_user }}"
group: "{{ glance_system_group }}"
mode: 0400
register: ardana_notify_glance_registry_restart_required
- name: GLA-REG | configure | Create Glance metadefs directory
become: yes
file:
path: "{{ glance_registry_conf_dir }}/metadefs"
owner: "{{ glance_system_user }}"
group: "{{ glance_system_group }}"
mode: 0755
state: directory
- name: GLA-REG | configure | Copy Glance metadefs configuration files
become: yes
copy:
src: "etc/metadefs/{{ item }}"
dest: "{{ glance_registry_conf_dir }}/metadefs/{{ item }}"
owner: "{{ glance_system_user }}"
group: "{{ glance_system_group }}"
mode: 0400
force: True
with_items:
- 'compute-aggr-disk-filter.json'
- 'compute-aggr-iops-filter.json'
- 'compute-aggr-num-instances.json'
- 'compute-guest-shutdown.json'
- 'compute-host-capabilities.json'
- 'compute-hypervisor.json'
- 'compute-instance-data.json'
- 'compute-libvirt.json'
- 'compute-quota.json'
- 'compute-randomgen.json'
- 'compute-trust.json'
- 'compute-vcputopology.json'
- 'compute-vmware.json'
- 'compute-watchdog.json'
- 'compute-xenapi.json'
- 'glance-common-image-props.json'
- 'compute-cpu-pinning.json'
- 'README'
register: ardana_notify_glance_registry_metadef_change
- name: GLA-REG | configure | Register glance-registry with systemd
become: yes
setup_systemd:
service: "glance-registry"
cmd: "glance-registry"
user: "{{ glance_system_user }}"
group: "{{ glance_system_group }}"
args:
"--config-file {{ glance_registry_conf_dir }}/glance-registry.conf
--log-file {{ glance_registry_log_file }}"
07070100000096000081A40000000000000000000000015EFCE423000004BE000000000000000000000000000000000000004E00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/tasks/db_configure.yml---
#
# (c) Copyright 2015-2017 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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: GLA-REG | db_configure | Create tables in glance database (db_sync)
become: yes
command: "{{ glance_registry_bin_dir }}/glance-manage
--config-dir {{ glance_registry_conf_dir }} db_sync"
ignore_errors: yes
run_once_per: verb_hosts.GLA_REG
register: db_sync_result
- name: GLA-REG | db_configure | Post create tables in glance database (db_sync)
fail:
msg: |
"Note: Check the glance registry log for db_sync errors."
"{{ db_sync_result.stderr }}"
when: db_sync_result.rc != 0
run_once_per: verb_hosts.GLA_REG
07070100000097000081A40000000000000000000000015EFCE423000007EE000000000000000000000000000000000000004900000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/tasks/install.yml#
# (c) Copyright 2015-2017 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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: ../../_GLA-CMN/tasks/install.yml
- name: GLA-REG | install | Install required packages in Debian derivatives
become: yes
apt:
name: "{{ item }}"
install_recommends: no
state: latest
with_items:
glance_registry_required_packages | default([])
when: ansible_os_family == 'Debian'
- name: GLA-REG | install | Update venv cache
become: yes
install_package:
cache: update
# Install Glance venv
- name: GLA-REG | install | Install Glance virtual env
become: yes
install_package:
name: glance
service: glance-registry
state: present
activate: act_off
register: glance_registry_install_package_result
- name: GLA-REG | install | Register venv change
command: echo "register venv change"
register: ardana_notify_glance_registry_venv_change
when: glance_registry_install_package_result.changed
- name: GLA-REG | install | Register restart required
command: echo "restart required"
register: ardana_notify_glance_registry_restart_required
when: glance_registry_install_package_result.changed
- name: GLA-REG | install | Set glance-registry directory paths
set_fact:
glance_registry_conf_dir: "{{ 'glance-registry' |
config_dir(glance_registry_install_package_result.version) }}"
glance_registry_bin_dir: "{{ 'glance-registry' |
bin_dir(glance_registry_install_package_result.version) }}"
07070100000098000081A40000000000000000000000015EFCE423000003AA000000000000000000000000000000000000004E00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/tasks/load_metadef.yml---
#
# (c) Copyright 2015-2017 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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: GLA-REG | load_metadef | Populate the default metadefs
become: yes
command:
"{{ glance_registry_bin_dir }}/glance-manage
--config-dir {{ glance_registry_conf_dir }} db load_metadefs
--path {{ glance_registry_conf_dir }}/metadefs"
run_once_per: verb_hosts.GLA_REG
07070100000099000081A40000000000000000000000015EFCE423000002ED000000000000000000000000000000000000004600000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/tasks/main.yml#
# (c) Copyright 2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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: GLA-REG | main | Set os-specific variables
include_vars: "{{ ansible_os_family | lower }}.yml"
0707010000009A000081A40000000000000000000000015EFCE423000004D0000000000000000000000000000000000000005000000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/tasks/reload_metadef.yml#
# (c) Copyright 2015-2017 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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: GLA-REG | reload_metadefs | Reload glance metadefs from default location
become: yes
command: "{{ glance_registry_bin_dir }}/glance-manage
--config-dir {{ glance_registry_conf_dir }} db load_metadefs
--merge --prefer_new --path {{ glance_registry_conf_dir }}/metadefs"
run_once_per: verb_hosts.GLA_REG
when: ardana_notify_glance_registry_metadef_change is defined and
ardana_notify_glance_registry_metadef_change.changed and
glance_registry_metadef_reload_result is not defined
register: glance_registry_metadef_reload_result
0707010000009B000081A40000000000000000000000015EFCE42300000514000000000000000000000000000000000000004F00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/tasks/set_httpcheck.yml#
# (c) Copyright 2015-2017 Hewlett Packard Enterprise Development LP
# (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: GLA-REG | set_httpcheck | Setup check against GLA-REG health local
become: yes
monasca_agent_plugin:
name: "httpcheck"
args:
url: "http://{{ glance_registry_bind_host }}:{{
glance_registry_port }}/healthcheck"
dimensions: "service:image-service,component:glance-registry"
match_pattern: ".*OK.*"
- name: GLA-REG | set_httpcheck | Setup check against GLA-REG health internal
become: yes
monasca_agent_plugin:
name: "httpcheck"
args:
url: "{{ glance_reg_private_url }}/healthcheck"
dimensions: "service:image-service,component:glance-registry"
match_pattern: ".*OK.*"
0707010000009C000081A40000000000000000000000015EFCE4230000063E000000000000000000000000000000000000004700000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/tasks/start.yml#
# (c) Copyright 2015-2017 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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: GLA-REG | start | Activate the latest installed version
become: yes
install_package:
name: glance
service: glance-registry
activate: act_on
version: "{{ glance_registry_install_package_result.version }}"
when: ardana_notify_glance_registry_venv_change is defined and
ardana_notify_glance_registry_venv_change.changed and
glance_registry_venv_change_result is not defined
register: glance_registry_venv_change_result
- name: GLA-REG | start | Restart glance-registry service
become: yes
service: name=glance-registry state=restarted
when: ardana_notify_glance_registry_restart_required is defined and
ardana_notify_glance_registry_restart_required.changed and
glance_registry_restarte_result is not defined
register: glance_registry_restart_result
- name: GLA-REG | start | Ensure glance-registry service is started
become: yes
service: name=glance-registry state=started
0707010000009D000081A40000000000000000000000015EFCE423000002AF000000000000000000000000000000000000004800000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/tasks/status.yml#
# (c) Copyright 2015 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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: ../../_GLA-CMN/tasks/status.yml
0707010000009E000081A40000000000000000000000015EFCE423000002FB000000000000000000000000000000000000004600000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/tasks/stop.yml#
# (c) Copyright 2015 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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: GLA-REG | stop | Stop the glance-registry
become: yes
service:
name: glance-registry
state: stopped
0707010000009F000041ED0000000000000000000000025EFCE42300000000000000000000000000000000000000000000004100000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/templates070701000000A0000081A40000000000000000000000015EFCE423000008E6000000000000000000000000000000000000006100000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/templates/glance-registry-logging.conf.j2{#
#
# (c) Copyright 2015 Hewlett Packard Enterprise Development LP
# (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.
#
#}
[loggers]
keys: root, iso8601, eventletwsgi
[handlers]
keys: watchedfile, logstash
[formatters]
keys: context, logstash
[logger_root]
qualname: root
handlers: watchedfile, logstash
level: NOTSET
[logger_iso8601]
qualname: iso8601
handlers: watchedfile, logstash
level: INFO
# Keep eventlet.wsgi.server chattiness to a minimum, otherwise
# the healthcheck middleware will flood the logs
[logger_eventletwsgi]
qualname: eventlet.wsgi.server
handlers: watchedfile, logstash
level: WARNING
# Writes to disk
# Note: log rotation configuration is being handled by Centralized Logging
# and is surfaced to customers on the deployer via ...configs/logging/vars/glance-clr.yml
[handler_watchedfile]
class: handlers.WatchedFileHandler
args: ( '{{ glance_registry_log_file }}',)
formatter: context
# Writes JSON to disk, beaver will ship to logstash
# Note: log rotation configuration is being handled by Centralized Logging
# and is surfaced to customers on the deployer via ...configs/logging/vars/glance-clr.yml
[handler_logstash]
class: handlers.WatchedFileHandler
args: ('{{ glance_registry_log_json_file }}',)
formatter: logstash
level: INFO
# datefmt must be set otherwise you end up with too many (msecs) fields
[formatter_context]
class: oslo_log.formatters.ContextFormatter
args: (datefmt=datefmt)
format: %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user)s %(tenant)s] %(instance)s%(message)s
datefmt: %Y-%m-%d %H:%M:%S
# the "format" and "datefmt" actually set the "type" and "tags"
[formatter_logstash]
class: logstash.LogstashFormatterVersion1
format: glance
datefmt: glance-registry
070701000000A1000081A40000000000000000000000015EFCE423000007B2000000000000000000000000000000000000005E00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/templates/glance-registry-paste.ini.j2{#
#
# (c) Copyright 2015 Hewlett Packard Enterprise Development LP
# (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.
#
#}
[composite:glance-registry-healthcheck]
use = egg:Paste#urlmap
/ = glance-registry-{{ glance_registry_flavor }}
/healthcheck = healthcheck
# Use this pipeline for no auth - DEFAULT
[pipeline:glance-registry]
pipeline = osprofiler unauthenticated-context registryapp
# Use this pipeline for keystone auth
[pipeline:glance-registry-keystone]
pipeline = osprofiler authtoken context registryapp
# Use this pipeline for authZ only. This means that the registry will treat a
# user as authenticated without making requests to keystone to reauthenticate
# the user.
[pipeline:glance-registry-trusted-auth]
pipeline = osprofiler context registryapp
[app:registryapp]
paste.app_factory = glance.registry.api:API.factory
[filter:context]
paste.filter_factory = glance.api.middleware.context:ContextMiddleware.factory
[filter:unauthenticated-context]
paste.filter_factory = glance.api.middleware.context:UnauthenticatedContextMiddleware.factory
[filter:authtoken]
paste.filter_factory = keystonemiddleware.auth_token:filter_factory
[filter:osprofiler]
paste.filter_factory = osprofiler.web:WsgiMiddleware.factory
hmac_keys = SECRET_KEY
enabled = no
[app:healthcheck]
paste.app_factory = oslo_middleware:Healthcheck.app_factory
backends = disable_by_file
disable_by_file_path = /var/run/glance-registry/healthcheck_disable070701000000A2000081A40000000000000000000000015EFCE423000007ED000000000000000000000000000000000000005900000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/templates/glance-registry.conf.j2#
# (c) Copyright 2016-2017 Hewlett Packard Enterprise Development LP
# (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.
#
[DEFAULT]
debug = {{ debug_logs }}
bind_host = {{ glance_registry_bind_host }}
bind_port = {{ glance_registry_port }}
log_file = {{ glance_registry_log_file }}
log_config_append={{ glance_registry_conf_dir }}/glance-registry-logging.conf
workers = {{ glance_worker_count }}
transport_url = {{ glance_default_notification_backend }}://{{ transport_url }}
[database]
connection = {{ database_connection }}
[keystone_authtoken]
auth_uri = {{ keystone_auth_uri }}
auth_url = {{ keystone_auth_url }}
auth_type = password
project_domain_name = {{ keystone_project_domain_name }}
user_domain_name = {{ keystone_user_domain_name}}
project_name = {{ glance_admin_project_name }}
username = {{ glance_admin_user }}
password = {{ glance_admin_password }}
cafile = {{ glance_cacert_file }}
service_token_roles_required = true
service_token_roles = admin
memcached_servers = {{ memcached_servers }}
memcache_security_strategy = ENCRYPT
memcache_secret_key = {{ memcache_secret_key }}
memcache_pool_socket_timeout = 1
[oslo_messaging_rabbit]
rabbit_hosts = {{ rabbit_hosts }}
rabbit_userid = {{ rabbit_userid }}
rabbit_password = {{ rabbit_password }}
ssl = {{ rabbit_use_ssl }}
[paste_deploy]
flavor = healthcheck
[profiler]
enabled = {{ osprofiler_enabled }}
container_formats = {{ container_formats }}
[oslo_messaging_notifications]
driver = {{ glance_registry_notification_driver }}
070701000000A3000041ED0000000000000000000000025EFCE42300000000000000000000000000000000000000000000003C00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/vars070701000000A4000081A40000000000000000000000015EFCE42300000348000000000000000000000000000000000000004700000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/vars/debian.yml#
# (c) Copyright 2016 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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.
# Contains packages required for glance-registry service in Debian System
---
# packages listed here will be installed by glance-registry install
glance_registry_required_packages:
- libmysqlclient18
070701000000A5000081A40000000000000000000000015EFCE42300000283000000000000000000000000000000000000004500000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/vars/main.yml#
# (c) Copyright 2015 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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.
#
---
070701000000A6000081A40000000000000000000000015EFCE42300000372000000000000000000000000000000000000004500000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/GLA-REG/vars/suse.yml#
# (c) Copyright 2017 Hewlett Packard Enterprise Development LP
# (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.
# Contains packages required for glance-registry service on SUSE Systems
---
# packages listed here will be installed by glance-registry install
glance_registry_required_packages:
- cron
- libmysqlclient18
- logrotate
- qemu-tools
070701000000A7000041ED0000000000000000000000065EFCE42300000000000000000000000000000000000000000000003800000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/_GLA-CMN070701000000A8000041ED0000000000000000000000025EFCE42300000000000000000000000000000000000000000000004100000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/_GLA-CMN/defaults070701000000A9000081A40000000000000000000000015EFCE42300001242000000000000000000000000000000000000004A00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/_GLA-CMN/defaults/main.yml#
# (c) Copyright 2015-2017 Hewlett Packard Enterprise Development LP
# (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.
#
---
# Layout of this file:
# At the top of this file (following on from this text) are the root level
# variables. Variables defined here have global scope.
#
# Files are defined by identifiers followed by a colon(:), with sections in
# a file indented to the next level.
# system level vars
# -----------------
# Values in this section relate to the build/install of glance
# at a system level
glance_system_group: glance
glance_system_user: glance
glance_system_createhome: false
glance_system_shell: /bin/false
glance_state_root_dir: ""
# Number of maximum worker allowed regardless of CPUs available
glance_max_workers: 8
# Number of glance workers. The default will be the maximum allowed
# by variable glance_max_workers
glance_worker_count: "{{ ansible_processor_count * ansible_processor_cores * 2 | default('{{ glance_max_workers }}') }}"
### CA & SSL
keys_path: "{{ glance_state_root_dir }}/var/lib/glance/keys"
### common
lock_path: "{{ glance_state_root_dir }}/var/lib/glance"
### Logging
log_dir: "{{ glance_state_root_dir }}/var/log/glance"
debug_logs: "True"
## [keystone_authtoken]
keystone_user_domain_name: "{{ KEY_API.vars.keystone_default_domain }}"
keystone_project_domain_name: "{{ keystone_user_domain_name }}"
keystone_project_name: "{{ KEY_API.vars.keystone_service_tenant }}"
keystone_auth_uri: "{{ KEY_API.advertises.vips.public[0].url }}"
keystone_auth_url: "{{ GLA_API.consumes_KEY_API.vips.private[0].url }}"
keystone_admin_user: "{{ KEY_API.vars.keystone_admin_user }}"
keystone_admin_password: "{{ KEY_API.vars.keystone_admin_pwd | quote }}"
keystone_admin_role_name: "{{ KEY_API.vars.keystone_admin_role }}"
keystone_member_role_name: "{{ KEY_API.vars.keystone_member_role }}"
keystone_admin_endpoint: "{{ GLA_API.consumes_KEY_API.vips.private[0].url }}/v3"
glance_admin_password: "{{ GLA_API.consumes_KEY_API.vars.keystone_glance_password | quote }}"
glance_admin_project_name: "{{ KEY_API.vars.keystone_service_tenant }}"
glance_admin_user: "{{ GLA_API.consumes_KEY_API.vars.keystone_glance_user }}"
glance_cacert_file: "{{ trusted_ca_bundle }}"
memcached_servers: "{% for x in GLA.consumes_FND_MEM.members.private %}{{ x.host }}:{{ x.port }}{%if not loop.last %},{% endif %}{% endfor %}"
memcache_secret_key: "{{ GLA.consumes_FND_MEM.vars.memcached.glance.secret_key | quote }}"
## Swift Creds
glance_swift_user: "{{ GLA_API.consumes_KEY_API.vars.keystone_glance_swift_user }}"
glance_swift_tenant_name: "{{ GLA_API.consumes_KEY_API.vars.keystone_glance_swift_tenant }}"
glance_swift_password: "{{ GLA_API.consumes_KEY_API.vars.keystone_glance_swift_password | quote }}"
glance_registry_port: "{{ GLA_API.consumes_GLA_REG.vips.private[0].port }}"
glance_api_port: "{{ GLA_API.advertises.vips.private[0].port }}"
# WSGI Pipeline flavor
glance_default_flavor: "keystone"
## OSProfiler
osprofiler_enabled: "False"
## Notifications
glance_default_notification_driver: "messaging"
glance_default_notification_backend: "rabbit"
### RabbitMQ
rabbit_hosts: "{% for x in GLA_API.consumes_FND_RMQ.members.private %}{{ x.host }}:{{ x.port }}{%if not loop.last %},{% endif %}{% endfor %}"
rabbit_password: "{{ GLA.consumes_FND_RMQ.vars.accounts.glance.password }}"
rabbit_userid: "{{ GLA.consumes_FND_RMQ.vars.accounts.glance.username }}"
rabbit_use_ssl: "{{ GLA.consumes_FND_RMQ.members.private[0].use_tls }}"
transport_url: >
{%- for x in GLA_API.consumes_FND_RMQ.members.private -%}
{{ rabbit_userid }}:{{ rabbit_password }}@{{ x.host }}:{{ x.port }}{%- if not loop.last -%},{%- endif -%}
{%- endfor -%}
## glance-check credentials
glance_check_user: "{{ GLA_API.consumes_KEY_API.vars.keystone_glance_check_user }}"
glance_check_tenant_name: "{{ GLA_API.consumes_KEY_API.vars.keystone_glance_check_tenant }}"
glance_check_password: "{{ GLA_API.consumes_KEY_API.vars.keystone_glance_check_password | quote }}"
ardana_user: "{{ ansible_env.USER }}"
ardana_group: "{{ ansible_env.USER }}"
# Allowed container formats
container_formats: "ami,ari,aki,bare,ovf,ova,docker"
070701000000AA000041ED0000000000000000000000025EFCE42300000000000000000000000000000000000000000000003D00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/_GLA-CMN/meta070701000000AB000081A40000000000000000000000015EFCE423000002A9000000000000000000000000000000000000004600000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/_GLA-CMN/meta/main.yml#
# (c) Copyright 2015 Hewlett Packard Enterprise Development LP
# (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.
#
---
dependencies:
- role: tls-vars
070701000000AC000041ED0000000000000000000000025EFCE42300000000000000000000000000000000000000000000003E00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/_GLA-CMN/tasks070701000000AD000081A40000000000000000000000015EFCE423000003FC000000000000000000000000000000000000005400000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/_GLA-CMN/tasks/_schedule_restart.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: _GLA-CMN | _schedule_restart | Schedule a restart for glance API
debug:
msg: "Trigger a change notification in glance API"
changed_when: true
register: ardana_notify_glance_api_restart_required
- name: _GLA-CMN | _schedule_restart | Schedule a restart for glance-registry
debug:
msg: "Trigger a change notification in glance registry"
changed_when: true
register: ardana_notify_glance_registry_restart_required
070701000000AE000081A40000000000000000000000015EFCE42300000460000000000000000000000000000000000000004C00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/_GLA-CMN/tasks/configure.yml#
# (c) Copyright 2015-2017 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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: _GLA-CMN | configure | Create Glance log directory
become: yes
file:
path: "{{ log_dir }}"
owner: "{{ glance_system_user }}"
group: "{{ glance_system_group }}"
mode: 0755
state: directory
- name: _GLA-CMN | configure | Set max worker count to 8 if dynamic
CPU based count is greater than {{ glance_max_workers }}
set_fact:
glance_worker_count: "{{ glance_max_workers }}"
when: glance_worker_count|int > glance_max_workers|int
070701000000AF000081A40000000000000000000000015EFCE423000003D5000000000000000000000000000000000000004A00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/_GLA-CMN/tasks/install.yml#
# (c) Copyright 2015-2017 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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: _GLA-CMN | install | Add glance group
become: yes
group: name={{ glance_system_group }}
- name: _GLA-CMN | install | Add glance user
become: yes
user:
name: "{{ glance_system_user }}"
group: "{{ glance_system_group }}"
createhome: "{{ glance_system_createhome }}"
shell: "{{ glance_system_shell }}"
070701000000B0000081A40000000000000000000000015EFCE423000004FC000000000000000000000000000000000000004900000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/_GLA-CMN/tasks/status.yml#
# (c) Copyright 2015 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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: _GLA-CMN | status | Print service being checked
debug:
msg: "Running service check for {{ glance_component }}"
run_once: true
- name: _GLA-CMN | status | Check system service running
command: systemctl status "{{ glance_component }}"
ignore_errors: yes
changed_when: false
register: systemctl_status_result
- name: _GLA-CMN | status | Report status of service
fail:
msg: |
{{ glance_component }} is not running.
systemctl status {{ glance_component }} output:
{{ systemctl_status_result.stdout }}
{{ systemctl_status_result.stderr }}
when: systemctl_status_result | failed
070701000000B1000041ED0000000000000000000000025EFCE42300000000000000000000000000000000000000000000003D00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/_GLA-CMN/vars070701000000B2000081A40000000000000000000000015EFCE42300000283000000000000000000000000000000000000004600000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/_GLA-CMN/vars/main.yml#
# (c) Copyright 2015 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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.
#
---
070701000000B3000041ED0000000000000000000000065EFCE42300000000000000000000000000000000000000000000004600000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/glance-cloud-configure070701000000B4000041ED0000000000000000000000025EFCE42300000000000000000000000000000000000000000000004F00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/glance-cloud-configure/defaults070701000000B5000081A40000000000000000000000015EFCE42300000587000000000000000000000000000000000000005800000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/glance-cloud-configure/defaults/main.yml#
# (c) Copyright 2015 Hewlett Packard Enterprise Development LP
# (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.
#
---
glance_auth_url: "{{ GLA_API.consumes_KEY_API.vips.private[0].url }}"
glance_admin_password: "{{ GLA_API.consumes_KEY_API.vars.keystone_glance_password | quote }}"
glance_admin_tenant_name: "{{ KEY_API.vars.keystone_service_tenant }}"
glance_admin_default_domain: "{{ KEY_API.vars.keystone_default_domain }}"
glance_admin_user: "{{ GLA_API.consumes_KEY_API.vars.keystone_glance_user }}"
glance_region_name: "{{ GLA.regions | first }}"
glance_default_image_name: "cirros-0.4.0-x86_64"
glance_default_image_url: "{{ local_image_mirror_url|default('http://download.cirros-cloud.net/0.4.0') }}/{{ glance_default_image_name }}-disk.img"
glance_default_image_file: "/tmp/{{ glance_default_image_name }}-disk.img"
glance_cacert_file: "{{ trusted_ca_bundle }}"
proxy: ""
070701000000B6000041ED0000000000000000000000025EFCE42300000000000000000000000000000000000000000000004B00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/glance-cloud-configure/meta070701000000B7000081A40000000000000000000000015EFCE42300000263000000000000000000000000000000000000005400000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/glance-cloud-configure/meta/main.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.
#
---
dependencies:
- role: tls-vars
070701000000B8000041ED0000000000000000000000025EFCE42300000000000000000000000000000000000000000000004C00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/glance-cloud-configure/tasks070701000000B9000081A40000000000000000000000015EFCE42300000E15000000000000000000000000000000000000006300000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/glance-cloud-configure/tasks/glance-image-setup.yml#
# (c) Copyright 2015-2016 Hewlett Packard Enterprise Development LP
# (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.
#
---
# Only upload an image if it doesn't already exist
- name: glance-cloud-configure | glance-image-setup | Retrieve image list
run_once_per: verb_hosts.GLA_API
command: "openstack \
--os-username {{ glance_admin_user }} \
--os-project-name {{ glance_admin_tenant_name }} \
--os-default-domain-name {{ glance_admin_default_domain }} \
--os-auth-url {{ glance_auth_url }} \
--os-region-name {{ glance_region_name }} \
--os-interface internal \
--os-cacert {{ glance_cacert_file }} \
--debug \
image list \
--format yaml"
environment:
OS_PASSWORD: "{{ glance_admin_password }}"
register: openstack_image_list_result
- name: glance-cloud-configure | glance-image-setup | Extract image list data
run_once_per: verb_hosts.GLA_API
set_fact:
_all_images: "{{ openstack_image_list_result.stdout | from_yaml }}"
- name: glance-cloud-configure | glance-image-setup | Find any cirros images
run_once_per: verb_hosts.GLA_API
set_fact:
_cirros_images: "{{ _all_images | selectattr('Name', 'equalto', glance_default_image_name) | list }}"
- name: glance-cloud-configure | glance-image-setup | Report if cirros image exists
run_once_per: verb_hosts.GLA_API
debug:
msg: |-
Found existing cirros image(s):
{% for i in _cirros_images %}
ID: {{ i.ID }} Status: {{ i.Status }} Name: {{ i.Name }}
{% endfor %}
when:
- (_cirros_images | length) > 0
- name: glance-cloud-configure | glance-image-setup | Download cirros image
become: yes
run_once_per: verb_hosts.GLA_API
get_url:
timeout: 30
url: "{{ glance_default_image_url }}"
dest: "{{ glance_default_image_file }}"
register: get_url_result
until: get_url_result|success
retries: 5
delay: 10
environment:
http_proxy: "{{ proxy }}"
when:
- (_cirros_images | length) == 0
#TODO: make this a configurable list of images to upload
- name: glance-cloud-configure | glance-image-setup | Upload cirros image
run_once_per: verb_hosts.GLA_API
command: "openstack \
--os-username {{ glance_admin_user }} \
--os-project-name {{ glance_admin_tenant_name }} \
--os-auth-url {{ glance_auth_url }} \
--os-region-name {{ glance_region_name }} \
--os-interface internal \
--os-cacert {{ glance_cacert_file }} \
--debug \
image create
--container-format bare \
--disk-format qcow2 \
--public \
--file {{ glance_default_image_file }} \
--os-identity-api-version 3 \
--tag {{ glance_default_image_name }} \
{{ glance_default_image_name }}"
environment:
OS_PASSWORD: "{{ glance_admin_password }}"
register: openstackclient_result
until: openstackclient_result|success
retries: 5
delay: 10
when:
- (_cirros_images | length) == 0
- name: glance-cloud-configure | glance-image-setup | Cirros image upload debug
debug:
var: openstackclient_result.stdout_lines
when:
- (_cirros_images | length) == 0
070701000000BA000041ED0000000000000000000000025EFCE42300000000000000000000000000000000000000000000004B00000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/glance-cloud-configure/vars070701000000BB000081A40000000000000000000000015EFCE42300000283000000000000000000000000000000000000005400000000ardana-glance-8.0+git.1593631779.76fa9b7/roles/glance-cloud-configure/vars/main.yml#
# (c) Copyright 2015 Hewlett Packard Enterprise Development LP
# (c) Copyright 2017 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.
#
---
07070100000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000B00000000TRAILER!!!642 blocks