Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bf143f7

Browse filesBrowse files
committed
[WIP] Move to redfish
Signed-off-by: Iury Gregory Melo Ferreira <imelofer@redhat.com>
1 parent cb5b9c7 commit bf143f7
Copy full SHA for bf143f7

File tree

Expand file treeCollapse file tree

2 files changed

+16
-14
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+16
-14
lines changed

‎.github/workflows/functional-baremetal.yaml

Copy file name to clipboardExpand all lines: .github/workflows/functional-baremetal.yaml
+9-7Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,9 @@ jobs:
5454
with:
5555
branch: ${{ matrix.openstack_version }}
5656
conf_overrides: |
57-
# pyghmi is not mirrored on github
58-
PYGHMI_REPO=https://opendev.org/x/pyghmi
5957
enable_plugin ironic https://github.com/openstack/ironic ${{ matrix.openstack_version }}
60-
LIBS_FROM_GIT=pyghmi,virtualbmc
61-
FORCE_CONFIG_DRIVE=True
58+
LIBS_FROM_GIT=sushy-tools,virtualbmc
59+
FORCE_CONFIG_DRIVE=False
6260
Q_AGENT=openvswitch
6361
Q_ML2_TENANT_NETWORK_TYPE=vxlan
6462
Q_ML2_PLUGIN_MECHANISM_DRIVERS=openvswitch
@@ -73,8 +71,12 @@ jobs:
7371
IRONIC_BAREMETAL_BASIC_OPS=True
7472
IRONIC_BUILD_DEPLOY_RAMDISK=False
7573
IRONIC_AUTOMATED_CLEAN_ENABLED=False
76-
IRONIC_CALLBACK_TIMEOUT=600
77-
IRONIC_DEPLOY_DRIVER=ipmi
74+
IRONIC_CALLBACK_TIMEOUT=1800
75+
IRONIC_DEPLOY_DRIVER=redfish
76+
IRONIC_ENABLED_HARDWARE_TYPES=redfish
77+
IRONIC_ENABLED_BOOT_INTERFACES=ipxe,redfish-virtual-media,http-ipxe
78+
IRONIC_ENABLED_MANAGEMENT_INTERFACES=redfish
79+
IRONIC_ENABLED_POWER_INTERFACES=redfish
7880
IRONIC_INSPECTOR_BUILD_RAMDISK=False
7981
IRONIC_RAMDISK_TYPE=tinyipa
8082
IRONIC_TEMPEST_BUILD_TIMEOUT=720
@@ -84,7 +86,7 @@ jobs:
8486
IRONIC_VM_LOG_DIR=/opt/stack/new/ironic-bm-logs
8587
IRONIC_VM_SPECS_RAM=1024
8688
IRONIC_DEFAULT_DEPLOY_INTERFACE=direct
87-
IRONIC_ENABLED_DEPLOY_INTERFACES=direct,fake
89+
IRONIC_ENABLED_DEPLOY_INTERFACES=direct
8890
SWIFT_ENABLE_TEMPURLS=True
8991
SWIFT_TEMPURL_KEY=secretkey
9092
enabled_services: "ir-api,ir-cond,s-account,s-container,s-object,s-proxy,q-svc,q-agt,q-dhcp,q-l3,q-meta,-cinder,-c-sch,-c-api,-c-vol,-c-bak,-ovn,-ovn-controller,-ovn-northd,-q-ovn-metadata-agent,${{ matrix.additional_services }}"

‎internal/acceptance/openstack/baremetal/v1/baremetal.go

Copy file name to clipboardExpand all lines: internal/acceptance/openstack/baremetal/v1/baremetal.go
+7-7Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ func CreateNode(t *testing.T, client *gophercloud.ServiceClient) (*nodes.Node, e
1919

2020
node, err := nodes.Create(context.TODO(), client, nodes.CreateOpts{
2121
Name: name,
22-
Driver: "ipmi",
22+
Driver: "redfish",
2323
BootInterface: "ipxe",
2424
RAIDInterface: "agent",
2525
DriverInfo: map[string]any{
26-
"ipmi_port": "6230",
27-
"ipmi_username": "admin",
28-
"deploy_kernel": "http://172.22.0.1/images/tinyipa-stable-rocky.vmlinuz",
29-
"ipmi_address": "192.168.122.1",
30-
"deploy_ramdisk": "http://172.22.0.1/images/tinyipa-stable-rocky.gz",
31-
"ipmi_password": "admin",
26+
"redfish_username": "admin",
27+
"deploy_kernel": "http://172.22.0.1/images/tinyipa-stable-rocky.vmlinuz",
28+
"redfish_address": "192.168.122.1:9132",
29+
"redfish_system_id": "/redfish/v1/Systems/" + name,
30+
"deploy_ramdisk": "http://172.22.0.1/images/tinyipa-stable-rocky.gz",
31+
"redfish_password": "password",
3232
},
3333
}).Extract()
3434

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.