Skip to content

Commit 21d095f

Browse files
authored
fix for blazar deployment (#1192)
1 parent 52cba8b commit 21d095f

File tree

4 files changed

+15
-25
lines changed

4 files changed

+15
-25
lines changed

base-helm-configs/blazar/blazar-helm-overrides.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
---
22
endpoints:
3-
identity:
4-
auth:
5-
admin:
6-
region_name: RegionOne
7-
blazar:
8-
region_name: RegionOne
9-
test:
10-
region_name: RegionOne
113
reservation:
124
hosts:
135
public: blazar-api

bin/install-blazar.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
#GLOBAL_OVERRIDES_DIR="/etc/genestack/helm-configs/global_overrides"
3+
GLOBAL_OVERRIDES_DIR="/etc/genestack/helm-configs/global_overrides"
44
SERVICE_CONFIG_DIR="/etc/genestack/helm-configs/blazar"
55
BASE_OVERRIDES="/opt/genestack/base-helm-configs/blazar/blazar-helm-overrides.yaml"
66

@@ -26,8 +26,7 @@ HELM_CMD="helm upgrade --install blazar openstack-helm/blazar --version ${BLAZAR
2626
HELM_CMD+=" -f ${BASE_OVERRIDES}"
2727

2828
# Append YAML files from the directories
29-
#for dir in "$GLOBAL_OVERRIDES_DIR" "$SERVICE_CONFIG_DIR"; do
30-
for dir in "$SERVICE_CONFIG_DIR"; do
29+
for dir in "$GLOBAL_OVERRIDES_DIR" "$SERVICE_CONFIG_DIR"; do
3130
if compgen -G "${dir}/*.yaml" > /dev/null; then
3231
for yaml_file in "${dir}"/*.yaml; do
3332
HELM_CMD+=" -f ${yaml_file}"
@@ -37,7 +36,6 @@ done
3736

3837
HELM_CMD+=" --set endpoints.identity.auth.admin.password=\"$(kubectl --namespace openstack get secret keystone-admin -o jsonpath='{.data.password}' | base64 -d)\""
3938
HELM_CMD+=" --set endpoints.identity.auth.blazar.password=\"$(kubectl --namespace openstack get secret blazar-admin -o jsonpath='{.data.password}' | base64 -d)\""
40-
HELM_CMD+=" --set endpoints.identity.auth.service.password=\"$(kubectl --namespace openstack get secret blazar-keystone-service-password -o jsonpath='{.data.password}' | base64 -d)\""
4139
HELM_CMD+=" --set endpoints.identity.auth.test.password=\"$(kubectl --namespace openstack get secret blazar-keystone-test-password -o jsonpath='{.data.password}' | base64 -d)\""
4240
HELM_CMD+=" --set endpoints.oslo_db.auth.admin.password=\"$(kubectl --namespace openstack get secret mariadb -o jsonpath='{.data.root-password}' | base64 -d)\""
4341
HELM_CMD+=" --set endpoints.oslo_db.auth.blazar.password=\"$(kubectl --namespace openstack get secret blazar-db-password -o jsonpath='{.data.password}' | base64 -d)\""

helm-chart-versions.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
charts:
22
barbican: 2024.2.208+13651f45-628a320c
3-
blazar: 2025.1.1+4172872b0
3+
blazar: 2025.1.2+a4df9c709
44
ceilometer: 2024.2.115+13651f45-628a320c
55
cinder: 2024.2.409+13651f45-628a320c
66
envoy: v1.4.2

scripts/hyperconverged-lab.sh

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -550,18 +550,6 @@ conf:
550550
blazar:
551551
oslo_messaging_notifications:
552552
driver: noop
553-
554-
endpoints:
555-
reservation:
556-
host_fqdn_override:
557-
public:
558-
tls: {}
559-
host: blazar.${GATEWAY_DOMAIN}
560-
port:
561-
api:
562-
public: 443
563-
scheme:
564-
public: https
565553
EOF
566554
fi
567555
@@ -876,12 +864,24 @@ endpoints:
876864
public: 443
877865
scheme:
878866
public: https
867+
reservation:
868+
host_fqdn_override:
869+
public:
870+
tls: {}
871+
host: blazar.${GATEWAY_DOMAIN}
872+
port:
873+
api:
874+
public: 443
875+
scheme:
876+
public: https
879877
identity:
880878
auth:
881879
admin:
882880
region_name: *region
883881
barbican:
884882
region_name: *region
883+
blazar:
884+
region_name: *region
885885
cinder:
886886
region_name: *region
887887
ceilometer:

0 commit comments

Comments
 (0)