Skip to content

Fix the default value to import cifmw_nfs role#3073

Closed
amartyasinha wants to merge 1 commit intoopenstack-k8s-operators:mainfrom
amartyasinha:fix-nfs
Closed

Fix the default value to import cifmw_nfs role#3073
amartyasinha wants to merge 1 commit intoopenstack-k8s-operators:mainfrom
amartyasinha:fix-nfs

Conversation

@amartyasinha
Copy link
Copy Markdown
Contributor

Due to wrong default value in when condition, cifmw_nfs role was getting skipped, thus other required tasks were also getting skipped (For example, cifmw_nfs_ip var is set to the file during cifmw_nfs role / or earlier through nfs.yml playbook)

This PR fixes the issue caused through #3038

@amartyasinha amartyasinha requested a review from a team as a code owner June 17, 2025 08:57
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Jun 17, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@amartyasinha amartyasinha changed the title Correct the default value to import cifmw_nfs role Fix the default value to import cifmw_nfs role Jun 17, 2025
@tosky
Copy link
Copy Markdown
Contributor

tosky commented Jun 17, 2025

But this is not correct: by default the NFS server should not be deployed.

nftables_conf: /etc/sysconfig/nftables.conf
when:
- cifmw_edpm_deploy_nfs | default('false') | bool
- cifmw_edpm_deploy_nfs | default('true') | bool
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default value MUST not be changed. The NFS server must not be deployed by default.
The problem is that cifmw_edpm_deploy_nfs is set by a consumer of this code but not considered.

@softwarefactory-project-zuul
Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/b319f6e1a42c4b6fa2a38d285443babc

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 58m 47s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 14m 10s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 31m 01s
podified-multinode-hci-deployment-crc FAILURE in 55m 46s
adoption-standalone-to-crc-ceph-provider FAILURE in 1h 42m 30s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 36s
✔️ cifmw-pod-pre-commit SUCCESS in 8m 26s
build-push-container-cifmw-client FAILURE in 15m 45s

@amartyasinha amartyasinha deleted the fix-nfs branch January 9, 2026 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants