Skip to content

Commit 53889fa

Browse files
committed
updating code
1 parent 5e9e1d7 commit 53889fa

5 files changed

+23
-7
lines changed

lib/qubinode_lab_sushy.sh

+17-1
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,28 @@ EOF
9898
extras-create-sushy-bmh.yaml -e ansible_python_interpreter=/usr/bin/python3
9999
else
100100
sudo ansible-galaxy collection install community.libvirt
101-
sudo ansible-playbook -e "@credentials-infrastructure.yaml" \
101+
sudo ansible-playboo k -e "@credentials-infrastructure.yaml" \
102102
--skip-tags=infra_libvirt_boot_vm,vmware_boot_vm,infra_libvirt_per_provider_setup,vmware_upload_iso \
103103
extras-create-sushy-bmh.yaml
104104
fi
105105
else
106106
cd $HOME/ocp4-ai-svc-universal
107+
cat >credentials-infrastructure.yaml<<EOF
108+
---
109+
infrastructure_providers:
110+
## Bare Metal Host Infrastructure Provider, sushy-tools virtual BMHs
111+
- name: sushyBMH
112+
type: libvirt
113+
credentials:
114+
manufacturer: sushy
115+
ipmi_manufacturer: sushy
116+
ipmi_transport: http
117+
ipmi_endpoint: $(hostname -I | awk '{print $2}'| sed 's/ //g')
118+
ipmi_port: 8111
119+
120+
EOF
121+
cat credentials-infrastructure.yaml
122+
cp $HOME/qubinode-installer/samples/extras-create-sushy-bmh.yaml .
107123
tmp=$(sudo virsh net-list | grep "vyos-network-1" | awk '{ print $3}')
108124
if ([ "x$tmp" != "x" ] || [ "x$tmp" == "xyes" ])
109125
then

samples/ocp4-ai-svc-universal/dhcp/sno-cluster-config-libvirt.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ rh_api_offline_token: "{{ lookup('file', rh_api_offline_token_path) }}"
1919
# cluster_type: Standard (HA CP+App Nodes), SNO (Single Node OpenShift)
2020
cluster_type: SNO
2121
# cluster_version can be x.y or x.y.z - must be formatted as a STRING
22-
cluster_version: "4.11.20"
22+
cluster_version: "4.11.21"
2323

2424
# cluster_name and cluster_domain will form the cluster base endpoint, eg cluster_name.cluster_domain
2525
# Ensure the DNS A records for {api,api-int,*.apps}.cluster_name.cluster_domain exist
@@ -61,7 +61,7 @@ cluster_nodes:
6161
disks:
6262
- size: 130
6363
name: boot
64-
- size: 130
64+
- size: 500
6565
name: lvm
6666
networking:
6767
interfaces:

samples/ocp4-ai-svc-universal/static/converged-cluster-config-libvirt.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ rh_api_offline_token: "{{ lookup('file', rh_api_offline_token_path) }}"
1919
# cluster_type: Standard (HA CP+App Nodes), SNO (Single Node OpenShift)
2020
cluster_type: Standard
2121
# cluster_version can be x.y or x.y.z - must be formatted as a STRING
22-
cluster_version: "4.11.20"
22+
cluster_version: "4.11.21"
2323

2424
# cluster_name and cluster_domain will form the cluster base endpoint, eg cluster_name.cluster_domain
2525
# Ensure the DNS A records for {api,api-int,*.apps}.cluster_name.cluster_domain exist

samples/ocp4-ai-svc-universal/static/full-cluster-config-libvirt.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ rh_api_offline_token: "{{ lookup('file', rh_api_offline_token_path) }}"
1919
# cluster_type: Standard (HA CP+App Nodes), SNO (Single Node OpenShift)
2020
cluster_type: Standard
2121
# cluster_version can be x.y or x.y.z - must be formatted as a STRING
22-
cluster_version: "4.11.20"
22+
cluster_version: "4.11.21"
2323

2424
# cluster_name and cluster_domain will form the cluster base endpoint, eg cluster_name.cluster_domain
2525
# Ensure the DNS A records for {api,api-int,*.apps}.cluster_name.cluster_domain exist

samples/ocp4-ai-svc-universal/static/sno-cluster-config-libvirt.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ rh_api_offline_token: "{{ lookup('file', rh_api_offline_token_path) }}"
1919
# cluster_type: Standard (HA CP+App Nodes), SNO (Single Node OpenShift)
2020
cluster_type: SNO
2121
# cluster_version can be x.y or x.y.z - must be formatted as a STRING
22-
cluster_version: "4.11.20"
22+
cluster_version: "4.11.21"
2323

2424
# cluster_name and cluster_domain will form the cluster base endpoint, eg cluster_name.cluster_domain
2525
# Ensure the DNS A records for {api,api-int,*.apps}.cluster_name.cluster_domain exist
@@ -61,7 +61,7 @@ cluster_nodes:
6161
disks:
6262
- size: 130
6363
name: boot
64-
- size: 130
64+
- size: 500
6565
name: lvm
6666
networking:
6767
interfaces:

0 commit comments

Comments
 (0)