Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Fail edpm_network_config when there are schema errors #720

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

vcandapp
Copy link
Contributor

@vcandapp vcandapp commented Aug 5, 2024

Currently when there are schema errors in os-net-config, the logs are updated and no failure happens.
Updating this behaviour so that user can fix errors and re-run role

@openshift-ci openshift-ci bot requested review from fao89 and fultonj August 5, 2024 12:46
@vcandapp vcandapp requested review from Jaganathancse and karthiksundaravel and removed request for fultonj and fao89 August 5, 2024 12:46
file: network_config.yml
when: edpm_network_config_tool == 'os-net-config'

- name: Disable auto-configuration of all interfaces by NetworkManager
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we change block name similar like nmstate section
'Configure network with network role from system roles [os-net-config]'

roles/edpm_network_config/tasks/main.yml Show resolved Hide resolved
Copy link

@karthiksundaravel karthiksundaravel left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link

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/bea8f390d77f469bbd15aab2a9685112

✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 46m 26s
podified-multinode-edpm-deployment-crc FAILURE in 2h 10m 00s
cifmw-crc-podified-edpm-baremetal FAILURE in 2h 03m 32s
✔️ edpm-ansible-molecule-edpm_bootstrap SUCCESS in 6m 07s
✔️ edpm-ansible-molecule-edpm_podman SUCCESS in 6m 54s
✔️ edpm-ansible-molecule-edpm_module_load SUCCESS in 6m 15s
✔️ edpm-ansible-molecule-edpm_kernel SUCCESS in 12m 05s
✔️ edpm-ansible-molecule-edpm_libvirt SUCCESS in 10m 08s
✔️ edpm-ansible-molecule-edpm_nova SUCCESS in 10m 36s
✔️ edpm-ansible-molecule-edpm_frr SUCCESS in 7m 47s
✔️ edpm-ansible-molecule-edpm_iscsid SUCCESS in 6m 00s
✔️ edpm-ansible-molecule-edpm_ovn_bgp_agent SUCCESS in 8m 25s
✔️ edpm-ansible-molecule-edpm_ovs SUCCESS in 11m 54s
✔️ edpm-ansible-molecule-edpm_tripleo_cleanup SUCCESS in 4m 48s
adoption-standalone-to-crc-ceph-provider FAILURE in 2h 49m 22s

@vcandapp vcandapp force-pushed the osnet_updt branch 2 times, most recently from 5f07e56 to a8c794e Compare August 5, 2024 19:03
Copy link

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/99d7332914a34eab8a3f960458b62e4b

✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 06m 17s
podified-multinode-edpm-deployment-crc FAILURE in 2h 09m 40s
cifmw-crc-podified-edpm-baremetal FAILURE in 2h 03m 18s
✔️ edpm-ansible-molecule-edpm_bootstrap SUCCESS in 6m 33s
✔️ edpm-ansible-molecule-edpm_podman SUCCESS in 6m 11s
✔️ edpm-ansible-molecule-edpm_module_load SUCCESS in 5m 11s
✔️ edpm-ansible-molecule-edpm_kernel SUCCESS in 11m 47s
✔️ edpm-ansible-molecule-edpm_libvirt SUCCESS in 11m 53s
✔️ edpm-ansible-molecule-edpm_nova SUCCESS in 10m 46s
✔️ edpm-ansible-molecule-edpm_frr SUCCESS in 9m 11s
✔️ edpm-ansible-molecule-edpm_iscsid SUCCESS in 6m 53s
✔️ edpm-ansible-molecule-edpm_ovn_bgp_agent SUCCESS in 9m 40s
✔️ edpm-ansible-molecule-edpm_ovs SUCCESS in 14m 52s
✔️ edpm-ansible-molecule-edpm_tripleo_cleanup SUCCESS in 6m 15s
adoption-standalone-to-crc-ceph-provider FAILURE in 2h 48m 24s

Set no-auto-defult flag for os-net-config
@vcandapp
Copy link
Contributor Author

vcandapp commented Aug 6, 2024

@karthiksundaravel / @Jaganathancse , updated this PR for better tracking. This PR will have fix only for the no-auto-default. Will created a new PR for "--exit-on-validation-error"

Copy link

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/29eab19ff4b04edab2033286198dc0a0

✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 16m 47s
podified-multinode-edpm-deployment-crc FAILURE in 2h 09m 08s
cifmw-crc-podified-edpm-baremetal FAILURE in 2h 17m 59s
✔️ edpm-ansible-molecule-edpm_bootstrap SUCCESS in 7m 01s
✔️ edpm-ansible-molecule-edpm_podman SUCCESS in 6m 04s
✔️ edpm-ansible-molecule-edpm_module_load SUCCESS in 5m 10s
✔️ edpm-ansible-molecule-edpm_kernel SUCCESS in 10m 22s
✔️ edpm-ansible-molecule-edpm_libvirt SUCCESS in 9m 47s
✔️ edpm-ansible-molecule-edpm_nova SUCCESS in 10m 22s
✔️ edpm-ansible-molecule-edpm_frr SUCCESS in 7m 18s
✔️ edpm-ansible-molecule-edpm_iscsid SUCCESS in 4m 17s
✔️ edpm-ansible-molecule-edpm_ovn_bgp_agent SUCCESS in 7m 36s
✔️ edpm-ansible-molecule-edpm_ovs SUCCESS in 12m 42s
✔️ edpm-ansible-molecule-edpm_tripleo_cleanup SUCCESS in 3m 37s
adoption-standalone-to-crc-ceph-provider FAILURE in 2h 51m 39s

Copy link

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/ca21c54505884f99aa6234b9bb43f29d

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 25m 21s
podified-multinode-edpm-deployment-crc FAILURE in 1h 41m 39s
cifmw-crc-podified-edpm-baremetal FAILURE in 1h 40m 11s
✔️ edpm-ansible-molecule-edpm_bootstrap SUCCESS in 6m 59s
✔️ edpm-ansible-molecule-edpm_podman SUCCESS in 6m 01s
✔️ edpm-ansible-molecule-edpm_module_load SUCCESS in 5m 00s
✔️ edpm-ansible-molecule-edpm_kernel SUCCESS in 11m 04s
✔️ edpm-ansible-molecule-edpm_libvirt SUCCESS in 10m 22s
✔️ edpm-ansible-molecule-edpm_nova SUCCESS in 10m 19s
✔️ edpm-ansible-molecule-edpm_frr SUCCESS in 7m 30s
✔️ edpm-ansible-molecule-edpm_iscsid SUCCESS in 4m 51s
✔️ edpm-ansible-molecule-edpm_ovn_bgp_agent SUCCESS in 7m 36s
✔️ edpm-ansible-molecule-edpm_ovs SUCCESS in 12m 16s
✔️ edpm-ansible-molecule-edpm_tripleo_cleanup SUCCESS in 3m 58s
✔️ edpm-ansible-molecule-edpm_tuned SUCCESS in 5m 51s
adoption-standalone-to-crc-ceph-provider FAILURE in 2h 12m 45s

Copy link
Contributor

@slagle slagle left a comment

Choose a reason for hiding this comment

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

Can you update the PR description to match the commits? It seems to be about disabling NetworkManager when os-net-config is used.
Please drop the WIP and the merge commits in the PR as well if it's ready for review.

Copy link
Contributor

openshift-ci bot commented Nov 25, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: vcandapp
Once this PR has been reviewed and has the lgtm label, please assign jpodivin for approval. For more information see the Kubernetes Code Review Process.

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

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

Copy link
Contributor

openshift-ci bot commented Nov 25, 2024

@vcandapp: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/pre-commit-test b74429e link true /test pre-commit-test

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Copy link

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/2ebcd2d90b6e4d118c0be8d4b0b52ab1

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 51m 01s
podified-multinode-edpm-deployment-crc FAILURE in 1h 44m 37s
cifmw-crc-podified-edpm-baremetal FAILURE in 1h 30m 37s
edpm-ansible-tempest-multinode FAILURE in 1h 48m 00s
✔️ edpm-ansible-molecule-edpm_bootstrap SUCCESS in 6m 54s
✔️ edpm-ansible-molecule-edpm_podman SUCCESS in 6m 12s
✔️ edpm-ansible-molecule-edpm_module_load SUCCESS in 4m 40s
✔️ edpm-ansible-molecule-edpm_kernel SUCCESS in 9m 48s
✔️ edpm-ansible-molecule-edpm_libvirt SUCCESS in 9m 32s
✔️ edpm-ansible-molecule-edpm_nova SUCCESS in 10m 35s
✔️ edpm-ansible-molecule-edpm_frr SUCCESS in 6m 59s
✔️ edpm-ansible-molecule-edpm_iscsid SUCCESS in 4m 42s
✔️ edpm-ansible-molecule-edpm_ovn_bgp_agent SUCCESS in 7m 29s
✔️ edpm-ansible-molecule-edpm_ovs SUCCESS in 11m 46s
✔️ edpm-ansible-molecule-edpm_tripleo_cleanup SUCCESS in 3m 34s
✔️ edpm-ansible-molecule-edpm_tuned SUCCESS in 5m 54s
✔️ edpm-ansible-molecule-edpm_telemetry_power_monitoring SUCCESS in 7m 49s
adoption-standalone-to-crc-ceph-provider FAILURE in 2h 38m 32s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants