Skip to content

Commit

Permalink
Merge pull request openstack-k8s-operators#373 from eshulman2/hci_fixes
Browse files Browse the repository at this point in the history
NFV-HCI minor fixes

minor fixes for NFV hci deployment

Reviewed-by: Andrew Bays <[email protected]>
Reviewed-by: Ella Shulman <[email protected]>
  • Loading branch information
2 parents 4b43496 + c26f63d commit c1d4fa5
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 5 deletions.
20 changes: 20 additions & 0 deletions automation/mocks/nfv-ovs-dpdk-sriov-hci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
cifmw_baremetal_hosts:
compute-0:
connection: ipmi://10.10.100.100
boot_mode: UEFI
nics:
- mac: "89:9a:b7:cb:4a:3f"
network: provision
credentials_file: "/home/user/foo.yaml"
root_device_hint_field: "wwnWithExtension"
root_device_hint: "0x6509a4c0ac82ff002dbccf463196ca41"
compute-1:
connection: ipmi://10.10.100.101
boot_mode: UEFI
nics:
- mac: "53:b0:4d:06:56:ea"
network: provision
credentials_file: "/home/user/foo.yaml"
root_device_hint_field: "wwnWithExtension"
root_device_hint: "0x55cd2e414e372c06"
11 changes: 7 additions & 4 deletions automation/vars/nfv-ovs-dpdk-sriov-hci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,10 @@ vas:
post_stage_run:
- name: Deploy Ceph
type: playbook
source: "../../playbooks/ceph.yml"
source: "../../hooks/playbooks/ceph-bm.yml"
inventory: "${HOME}/ci-framework-data/artifacts/zuul_inventory.yml"
extra_vars:
cifmw_cephadm_log_path: /home/zuul/ci-framework-data/logs/ceph

- path: examples/dt/nfv/nfv-ovs-dpdk-sriov-hci
wait_conditions:
Expand All @@ -69,9 +71,10 @@ vas:
- path: examples/dt/nfv/nfv-ovs-dpdk-sriov-hci/deployment
wait_conditions:
- >-
oc -n openstack wait
osdpns openstack-edpm --for condition=Ready
--timeout=60m
oc -n openstack
wait openstackdataplanedeployments.dataplane.openstack.org
edpm-deployment-post-ceph
--for condition=Ready --timeout=60m
values:
- name: edpm-deployment-values-post-ceph
src_file: values.yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,14 @@ replacements:
- spec.servicesOverride
options:
create: true
- source:
kind: ConfigMap
name: edpm-deployment-values-post-ceph
fieldPath: data.deployment.name
targets:
- select:
kind: OpenStackDataPlaneDeployment
fieldPaths:
- metadata.name
options:
create: true
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,3 @@ data:
- configure-os
- ssh-known-hosts
- run-os
- reboot-os
1 change: 1 addition & 0 deletions zuul.d/validations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
cifmw_architecture_scenario: hci
- job:
files:
- automation/mocks/nfv-ovs-dpdk-sriov-hci.yaml
- examples/dt/nfv/nfv-ovs-dpdk-sriov-hci
- examples/dt/nfv/nfv-ovs-dpdk-sriov-hci/control-plane
- examples/dt/nfv/nfv-ovs-dpdk-sriov-hci/control-plane/nncp
Expand Down

0 comments on commit c1d4fa5

Please sign in to comment.