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

OCPBUGS-7638: typo s/iface_default_hint_file/default_bridge_file/ #4004

Merged
merged 1 commit into from Oct 27, 2023

Conversation

rbbratta
Copy link
Contributor

typo s/iface_default_hint_file/default_bridge_file/

We are reading the wrong file.

This is why [ -f ] checks are bad, they aren't atomic. Actually reading the file is the only true test.

configure-ovs.sh[8910]: ++ get_default_bridge_interface /var/lib/ovnk/iface_default_hint /etc/ovnk/extra_bridge /run/nodeip-configuration/primary-ip /etc/ovnk/default_bridge
configure-ovs.sh[8910]: ++ local iface=
configure-ovs.sh[8910]: ++ local counter=0
configure-ovs.sh[8910]: ++ local iface_default_hint_file=/var/lib/ovnk/iface_default_hint
configure-ovs.sh[8910]: ++ local extra_bridge_file=/etc/ovnk/extra_bridge
configure-ovs.sh[8910]: ++ local ip_hint_file=/run/nodeip-configuration/primary-ip
configure-ovs.sh[8910]: ++ local default_bridge_file=/etc/ovnk/default_bridge
configure-ovs.sh[8910]: ++ local extra_bridge=
configure-ovs.sh[8910]: ++ '[' -f /etc/ovnk/extra_bridge ']'
configure-ovs.sh[8910]: ++ '[' -f /etc/ovnk/default_bridge ']'
configure-ovs.sh[8911]: +++ cat /var/lib/ovnk/iface_default_hint
configure-ovs.sh[8911]: cat: /var/lib/ovnk/iface_default_hint: No such file or directory
configure-ovs.sh[8910]: ++ iface=
configure-ovs.sh[8910]: ++ '[' -z '' ']'
configure-ovs.sh[8910]: ++ echo 'ERROR: User specified bridge file detected without any data'
configure-ovs.sh[8910]: ++ exit 1
configure-ovs.sh[8883]: + iface='ERROR: User specified bridge file detected without any data'
configure-ovs.sh[8883]: ++ handle_exit
configure-ovs.sh[8883]: ++ e=1

@openshift-ci-robot openshift-ci-robot added jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. labels Oct 26, 2023
@openshift-ci-robot
Copy link
Contributor

@rbbratta: This pull request references Jira Issue OCPBUGS-7638, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.15.0) matches configured target version for branch (4.15.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @rbbratta

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

typo s/iface_default_hint_file/default_bridge_file/

We are reading the wrong file.

This is why [ -f ] checks are bad, they aren't atomic. Actually reading the file is the only true test.

configure-ovs.sh[8910]: ++ get_default_bridge_interface /var/lib/ovnk/iface_default_hint /etc/ovnk/extra_bridge /run/nodeip-configuration/primary-ip /etc/ovnk/default_bridge
configure-ovs.sh[8910]: ++ local iface=
configure-ovs.sh[8910]: ++ local counter=0
configure-ovs.sh[8910]: ++ local iface_default_hint_file=/var/lib/ovnk/iface_default_hint
configure-ovs.sh[8910]: ++ local extra_bridge_file=/etc/ovnk/extra_bridge
configure-ovs.sh[8910]: ++ local ip_hint_file=/run/nodeip-configuration/primary-ip
configure-ovs.sh[8910]: ++ local default_bridge_file=/etc/ovnk/default_bridge
configure-ovs.sh[8910]: ++ local extra_bridge=
configure-ovs.sh[8910]: ++ '[' -f /etc/ovnk/extra_bridge ']'
configure-ovs.sh[8910]: ++ '[' -f /etc/ovnk/default_bridge ']'
configure-ovs.sh[8911]: +++ cat /var/lib/ovnk/iface_default_hint
configure-ovs.sh[8911]: cat: /var/lib/ovnk/iface_default_hint: No such file or directory
configure-ovs.sh[8910]: ++ iface=
configure-ovs.sh[8910]: ++ '[' -z '' ']'
configure-ovs.sh[8910]: ++ echo 'ERROR: User specified bridge file detected without any data'
configure-ovs.sh[8910]: ++ exit 1
configure-ovs.sh[8883]: + iface='ERROR: User specified bridge file detected without any data'
configure-ovs.sh[8883]: ++ handle_exit
configure-ovs.sh[8883]: ++ e=1

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/test-infra repository.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 26, 2023

@openshift-ci-robot: GitHub didn't allow me to request PR reviews from the following users: rbbratta.

Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

@rbbratta: This pull request references Jira Issue OCPBUGS-7638, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.15.0) matches configured target version for branch (4.15.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @rbbratta

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

typo s/iface_default_hint_file/default_bridge_file/

We are reading the wrong file.

This is why [ -f ] checks are bad, they aren't atomic. Actually reading the file is the only true test.

configure-ovs.sh[8910]: ++ get_default_bridge_interface /var/lib/ovnk/iface_default_hint /etc/ovnk/extra_bridge /run/nodeip-configuration/primary-ip /etc/ovnk/default_bridge
configure-ovs.sh[8910]: ++ local iface=
configure-ovs.sh[8910]: ++ local counter=0
configure-ovs.sh[8910]: ++ local iface_default_hint_file=/var/lib/ovnk/iface_default_hint
configure-ovs.sh[8910]: ++ local extra_bridge_file=/etc/ovnk/extra_bridge
configure-ovs.sh[8910]: ++ local ip_hint_file=/run/nodeip-configuration/primary-ip
configure-ovs.sh[8910]: ++ local default_bridge_file=/etc/ovnk/default_bridge
configure-ovs.sh[8910]: ++ local extra_bridge=
configure-ovs.sh[8910]: ++ '[' -f /etc/ovnk/extra_bridge ']'
configure-ovs.sh[8910]: ++ '[' -f /etc/ovnk/default_bridge ']'
configure-ovs.sh[8911]: +++ cat /var/lib/ovnk/iface_default_hint
configure-ovs.sh[8911]: cat: /var/lib/ovnk/iface_default_hint: No such file or directory
configure-ovs.sh[8910]: ++ iface=
configure-ovs.sh[8910]: ++ '[' -z '' ']'
configure-ovs.sh[8910]: ++ echo 'ERROR: User specified bridge file detected without any data'
configure-ovs.sh[8910]: ++ exit 1
configure-ovs.sh[8883]: + iface='ERROR: User specified bridge file detected without any data'
configure-ovs.sh[8883]: ++ handle_exit
configure-ovs.sh[8883]: ++ e=1

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/test-infra repository.

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/test-infra repository.

```
configure-ovs.sh[8910]: ++ get_default_bridge_interface /var/lib/ovnk/iface_default_hint /etc/ovnk/extra_bridge /run/nodeip-configuration/primary-ip /etc/ovnk/default_bridge
configure-ovs.sh[8910]: ++ local iface=
configure-ovs.sh[8910]: ++ local counter=0
configure-ovs.sh[8910]: ++ local iface_default_hint_file=/var/lib/ovnk/iface_default_hint
configure-ovs.sh[8910]: ++ local extra_bridge_file=/etc/ovnk/extra_bridge
configure-ovs.sh[8910]: ++ local ip_hint_file=/run/nodeip-configuration/primary-ip
configure-ovs.sh[8910]: ++ local default_bridge_file=/etc/ovnk/default_bridge
configure-ovs.sh[8910]: ++ local extra_bridge=
configure-ovs.sh[8910]: ++ '[' -f /etc/ovnk/extra_bridge ']'
configure-ovs.sh[8910]: ++ '[' -f /etc/ovnk/default_bridge ']'
configure-ovs.sh[8911]: +++ cat /var/lib/ovnk/iface_default_hint
configure-ovs.sh[8911]: cat: /var/lib/ovnk/iface_default_hint: No such file or directory
configure-ovs.sh[8910]: ++ iface=
configure-ovs.sh[8910]: ++ '[' -z '' ']'
configure-ovs.sh[8910]: ++ echo 'ERROR: User specified bridge file detected without any data'
configure-ovs.sh[8910]: ++ exit 1
configure-ovs.sh[8883]: + iface='ERROR: User specified bridge file detected without any data'
configure-ovs.sh[8883]: ++ handle_exit
configure-ovs.sh[8883]: ++ e=1
```
@rbbratta
Copy link
Contributor Author

/cc @trozet

@openshift-ci openshift-ci bot requested a review from trozet October 26, 2023 17:47
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 26, 2023

@rbbratta: 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/okd-scos-e2e-aws-ovn 0c9872f link false /test okd-scos-e2e-aws-ovn

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/test-infra repository. I understand the commands that are listed here.

@jcaamano
Copy link
Contributor

/lgtm

@jcaamano
Copy link
Contributor

/cc @sinnykumari

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Oct 27, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 27, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jcaamano, rbbratta, sinnykumari

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 27, 2023
@openshift-ci openshift-ci bot merged commit fdb3a89 into openshift:master Oct 27, 2023
13 of 14 checks passed
@openshift-ci-robot
Copy link
Contributor

@rbbratta: Jira Issue OCPBUGS-7638: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-7638 has been moved to the MODIFIED state.

In response to this:

typo s/iface_default_hint_file/default_bridge_file/

We are reading the wrong file.

This is why [ -f ] checks are bad, they aren't atomic. Actually reading the file is the only true test.

configure-ovs.sh[8910]: ++ get_default_bridge_interface /var/lib/ovnk/iface_default_hint /etc/ovnk/extra_bridge /run/nodeip-configuration/primary-ip /etc/ovnk/default_bridge
configure-ovs.sh[8910]: ++ local iface=
configure-ovs.sh[8910]: ++ local counter=0
configure-ovs.sh[8910]: ++ local iface_default_hint_file=/var/lib/ovnk/iface_default_hint
configure-ovs.sh[8910]: ++ local extra_bridge_file=/etc/ovnk/extra_bridge
configure-ovs.sh[8910]: ++ local ip_hint_file=/run/nodeip-configuration/primary-ip
configure-ovs.sh[8910]: ++ local default_bridge_file=/etc/ovnk/default_bridge
configure-ovs.sh[8910]: ++ local extra_bridge=
configure-ovs.sh[8910]: ++ '[' -f /etc/ovnk/extra_bridge ']'
configure-ovs.sh[8910]: ++ '[' -f /etc/ovnk/default_bridge ']'
configure-ovs.sh[8911]: +++ cat /var/lib/ovnk/iface_default_hint
configure-ovs.sh[8911]: cat: /var/lib/ovnk/iface_default_hint: No such file or directory
configure-ovs.sh[8910]: ++ iface=
configure-ovs.sh[8910]: ++ '[' -z '' ']'
configure-ovs.sh[8910]: ++ echo 'ERROR: User specified bridge file detected without any data'
configure-ovs.sh[8910]: ++ exit 1
configure-ovs.sh[8883]: + iface='ERROR: User specified bridge file detected without any data'
configure-ovs.sh[8883]: ++ handle_exit
configure-ovs.sh[8883]: ++ e=1

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/test-infra repository.

@openshift-merge-robot
Copy link
Contributor

Fix included in accepted release 4.15.0-0.nightly-2023-10-27-135451

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants