Skip to content

Conversation

@hs0210
Copy link
Contributor

@hs0210 hs0210 commented Jan 6, 2022

startironic.sh itself is executed under the root user, so there is no need to use sudo. And using sudo leads to the loss of proxy env, which causes the failure of image-customization pull.

Before #5473 sudo has been used to run Ironic related containers, but no error was reported because the ironic image had been downloaded to the local beofre. But the image-customization container newly added by #5473 did not pull the image locally before, so it triggered this long-standing error.

This PR fix the first error in #5504

Signed-off-by: Hu Shuai [email protected]

@openshift-ci openshift-ci bot requested review from andfasano and sadasu January 6, 2022 09:07
@openshift-ci openshift-ci bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Jan 6, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 6, 2022

Hi @hs0210. Thanks for your PR.

I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

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.

@hs0210 hs0210 changed the title Fix image-customization image pull failure Fix image-customization-controller image pull failure Jan 6, 2022
@dtantsur
Copy link
Member

dtantsur commented Jan 6, 2022

/ok-to-test

@openshift-ci openshift-ci bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Jan 6, 2022
@zaneb
Copy link
Member

zaneb commented Jan 6, 2022

We'll need to open a bugzilla for this.

/label platform/baremetal
/approve

@openshift-ci openshift-ci bot added the platform/baremetal IPI bare metal hosts platform label Jan 6, 2022
@zaneb
Copy link
Member

zaneb commented Jan 6, 2022

We're also using sudo for some iptables commands, it wouldn't hurt to get rid of those as well so that we're less likely to repeat the error.

@hs0210
Copy link
Contributor Author

hs0210 commented Jan 7, 2022

We're also using sudo for some iptables commands, it wouldn't hurt to get rid of those as well so that we're less likely to repeat the error.

Done. I removed sudo from iptables commands.

@hs0210
Copy link
Contributor Author

hs0210 commented Jan 7, 2022

We'll need to open a bugzilla for this.

Understood, we will do.

@hs0210
Copy link
Contributor Author

hs0210 commented Jan 10, 2022

/retest

@hs0210
Copy link
Contributor Author

hs0210 commented Jan 11, 2022

We'll need to open a bugzilla for this.

@zaneb We have sent the bugzilla, PTAL.

@dtantsur
Copy link
Member

/retitle Bug 2039109: Fix image-customization-controller image pull failure

@openshift-ci openshift-ci bot changed the title Fix image-customization-controller image pull failure Bug 2039109: Fix image-customization-controller image pull failure Jan 11, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 11, 2022

@hs0210: An error was encountered searching for bug 2039109 on the Bugzilla server at https://bugzilla.redhat.com. No known errors were detected, please see the full error message for details.

Full error message. code 102: You are not authorized to access bug #2039109. Most likely the bug has been restricted for internal development processes and we cannot grant access. If you are a Red Hat customer with an active subscription, please visit the Red Hat Customer Portal for assistance with your issue If you are a Fedora Project user and require assistance, please consider using one of the mailing lists we host for the Fedora Project.

Please contact an administrator to resolve this issue, then request a bug refresh with /bugzilla refresh.

Details

In response to this:

Bug 2039109: Fix image-customization-controller image pull failure

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.

@dtantsur
Copy link
Member

@hs0210 as you can see from the bot, private bugzillas cannot be attached to pull requests. Could you please open it or file a public one with limited information? In the latter case, please update the title again.

@hs0210
Copy link
Contributor Author

hs0210 commented Jan 12, 2022

/bugzilla refresh

@openshift-ci openshift-ci bot added the bugzilla/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting. label Jan 12, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 12, 2022

@hs0210: This pull request references Bugzilla bug 2039109, which is invalid:

  • expected the bug to target the "4.10.0" release, but it targets "---" instead

Comment /bugzilla refresh to re-evaluate validity if changes to the Bugzilla bug are made, or edit the title of this pull request to link to a different bug.

Details

In response to this:

/bugzilla refresh

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 openshift-ci bot added the bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. label Jan 12, 2022
@rhjanders
Copy link

/bugzilla refresh

@openshift-ci openshift-ci bot added the bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. label Jan 12, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 12, 2022

@rhjanders: This pull request references Bugzilla bug 2039109, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

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

No GitHub users were found matching the public email listed for the QA contact in Bugzilla ([email protected]), skipping review request.

Details

In response to this:

/bugzilla refresh

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 openshift-ci bot removed the bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. label Jan 12, 2022
@dtantsur
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 12, 2022
@andfasano
Copy link
Contributor

/approve

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 12, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: andfasano, zaneb

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

The pull request process is described 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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 12, 2022
@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

8 similar comments
@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@hs0210
Copy link
Contributor Author

hs0210 commented Jan 13, 2022

/retest

@openshift-merge-robot openshift-merge-robot merged commit 3a0f63d into openshift:master Jan 13, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 13, 2022

@hs0210: All pull requests linked via external trackers have merged:

Bugzilla bug 2039109 has been moved to the MODIFIED state.

Details

In response to this:

Bug 2039109: Fix image-customization-controller image pull failure

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 Jan 13, 2022

@hs0210: all tests passed!

Full PR test history. Your PR dashboard.

Details

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.

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. bugzilla/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. platform/baremetal IPI bare metal hosts platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants