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

Openvswitch package install required #866

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Jaganathancse
Copy link
Contributor

@Jaganathancse Jaganathancse commented Jan 28, 2025

This change is to fix the openvswitch package missing
issue during configure ovs dpdk for pre provisioned
EDPM nodes.

We already have ovs packages installation, ovs services
are enabled and running part in configure-network which
is common for all deployment.

To avoid issue in configure ovs dpdk, we are adding only
openvswitch package installation part and not using
existing edpm_ovs install.yml task to avoid complete
redundat like ovs services configuration, enable
and running part.

@openshift-ci openshift-ci bot requested review from slagle and stuggi January 28, 2025 15:34
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 elaborate or share details on the issue that's being fixed? this looks like it could be redundant given the other tasks that are already in place.

@@ -33,6 +33,8 @@ edpm_bootstrap_packages_bootstrap:
- nftables
- NetworkManager
- openstack-selinux
- openvswitch
Copy link
Contributor

Choose a reason for hiding this comment

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

openvswitch should get installed by edpm_ovs, which is included by playbooks/configure_network.yml

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes installed openvswitch during configure nework but failing for pre provisioned node.
we need to install in configure ovs dpdk which is called before configure network. we cannot change the order.
so to avoid redundant, i am going to include edpm_ovs role in configure_ovs_dpdk.yml playbook.
this is only duplication for ovs dpdk. for other features only via configire_network.yml playbook.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

or can we move this ovs install steps to bootsrap commonly?

@@ -33,6 +33,8 @@ edpm_bootstrap_packages_bootstrap:
- nftables
- NetworkManager
- openstack-selinux
- openvswitch
- os-net-config
Copy link
Contributor

Choose a reason for hiding this comment

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

already installed by edpm_network_config, which actually includes edpm_bootstrap/tasks/packages.yml, and then the very next task is to install os-net-config, so this could be redundant.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

but os-net-config mantioned in meta default arguments_spec.yaml,
can i remove this os-net-config also in arguments_spec default?

ansible.builtin.dnf:
name: openvswitch
state: present

Copy link
Contributor

@slagle slagle Jan 28, 2025

Choose a reason for hiding this comment

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

would you want to use edpm_ovs/tasks/install.yml here instead? The other task that would be done is to ensure that the openvswitch service is started. Does dpdk require that?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

using edpm_ovs/tasks/install.yml in configure ovs dpdk playbook, will create the enabled and running ovs part duplication also.
Configure ovs dpdk is require only openvswitch package installation and not to be enabled and running.
configure network is common for all feature and configure ovs dpdk is specific to only ovs dpdk.
better we can add only openvswitch installation here and we can avoid redundant ovs configuration and enabled part if we are not using ovs install.yml here.

This change is to fix the openvswitch package missing
issue during configure ovs dpdk for pre provisioned
EDPM nodes.

We already have ovs packages installation, ovs services
are enabled and running part in configure-network which
is common for all deployment.

To avoid issue in configure ovs dpdk, we are adding only
openvswitch package installation part and not using
existing edpm_ovs install.yml task to avoid complete
redundat like ovs services configuration, enable
and running part.
@openshift-ci openshift-ci bot added the lgtm label Jan 28, 2025
Copy link
Contributor

openshift-ci bot commented Jan 28, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Jaganathancse, slagle

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

The pull request process is described 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 Jan 28, 2025

New changes are detected. LGTM label has been removed.

@Jaganathancse Jaganathancse changed the title Bootstrap openvswitch package installation Openvswitch package install required Jan 28, 2025
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/03dfb4ed3e104e02b880689b39decdab

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 11m 56s
podified-multinode-edpm-deployment-crc FAILURE in 1h 17m 09s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 31m 30s
✔️ noop SUCCESS in 0s
edpm-ansible-tempest-multinode FAILURE in 1h 58m 50s
adoption-standalone-to-crc-ceph-provider FAILURE in 1h 40m 12s

@Jaganathancse
Copy link
Contributor Author

recheck

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

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 25m 51s
podified-multinode-edpm-deployment-crc FAILURE in 1h 17m 44s
cifmw-crc-podified-edpm-baremetal FAILURE in 1h 33m 34s
✔️ noop SUCCESS in 0s
edpm-ansible-tempest-multinode FAILURE in 2h 13m 03s
adoption-standalone-to-crc-ceph-provider FAILURE in 1h 38m 23s

@Jaganathancse
Copy link
Contributor Author

recheck

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

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 21m 47s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 15m 41s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 26m 00s
✔️ noop SUCCESS in 0s
✔️ edpm-ansible-tempest-multinode SUCCESS in 1h 47m 25s
adoption-standalone-to-crc-ceph-provider FAILURE in 1h 38m 16s

@Jaganathancse
Copy link
Contributor Author

recheck

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/1ffccc647d244abcb32a88b1249e99ba

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 39m 12s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 17m 29s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 33m 04s
✔️ noop SUCCESS in 0s
✔️ edpm-ansible-tempest-multinode SUCCESS in 1h 46m 58s
adoption-standalone-to-crc-ceph-provider FAILURE in 1h 41m 13s

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

Successfully merging this pull request may close these issues.

2 participants