Skip to content

Commit

Permalink
Merge pull request #344 from tosky/unibeta-reenable-glance-nfs
Browse files Browse the repository at this point in the history
[uni02beta] Reenable file/NFS for glance

Most of the issues described in https://issues.redhat.com/browse/OSPRH-7396 were addressed, at least on the controlplane side. As glance is mostly concerned with that part, it should work again.
This is a revert of

b917c31 [uni02beta] Drop NFS from Glance
87d9931 Set UNI-Beta to replica: 1

Reviewed-by: Andrew Bays <[email protected]>
  • Loading branch information
softwarefactory-project-zuul[bot] authored Jul 25, 2024
2 parents 43e4900 + d06ac9f commit 7e113ed
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
11 changes: 11 additions & 0 deletions dt/uni02beta/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,17 @@ replacements:
- spec.glance.template.glanceAPIs.default.type
options:
create: true
- source:
kind: ConfigMap
name: service-values
fieldPath: data.glance.extraMounts
targets:
- select:
kind: OpenStackControlPlane
fieldPaths:
- spec.glance.template.extraMounts
options:
create: true
# Manila
- source:
kind: ConfigMap
Expand Down
15 changes: 12 additions & 3 deletions examples/dt/uni02beta/control-plane/service-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,19 @@ data:
databaseInstance: openstack
glanceAPIs:
default:
# NOTE: (fpantano) - replica here must be 1 because
# we removed NFS extraMounts via PR#288 due to OSPRH-7396
replicas: 1
replicas: 3
type: single
extraMounts:
- extraVol:
- extraVolType: Nfs
mounts:
- mountPath: /var/lib/glance/images
name: nfs
volumes:
- name: nfs
nfs:
path: _replaced_
server: _replaced_

heat:
enabled: true

0 comments on commit 7e113ed

Please sign in to comment.