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

🐛 Fix incorrect htpasswd file generation #1786

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

Rozzii
Copy link
Member

@Rozzii Rozzii commented Jun 14, 2024

This commit:

  • removes the unnecessary parts of the htpasswd file generation and clears up the content of the file

The reason:

  • The original command was designed to generate an env variable but the new ironic-image logic expects the content to be suitable for a htpasswd file this the variable name and the "=" is not needed.

Fixes: #1785

This commit:
  - removes the unnecessary parts of the htpaswd file generation and clears
    up the content of the file

The reason:
   - The original command was designed to generate an env variable but the
     new ironic-image logic expects the content of to be suitable for a
     htpaswd file this the variable name and the "=" is not needed.

Signed-off-by: Adam Rozman <adam.rozman@est.tech>
@metal3-io-bot metal3-io-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jun 14, 2024
@Rozzii Rozzii changed the title 🐛 Fix incorrect htpaswd file generation 🐛 Fix incorrect htpasswd file generation Jun 14, 2024
@Rozzii
Copy link
Member Author

Rozzii commented Jun 14, 2024

/test ?

@metal3-io-bot
Copy link
Contributor

@Rozzii: The following commands are available to trigger required jobs:

  • /test generate
  • /test gomod
  • /test manifestlint
  • /test markdownlint
  • /test shellcheck
  • /test test

The following commands are available to trigger optional jobs:

  • /test metal3-centos-e2e-basic-test-main
  • /test metal3-centos-e2e-feature-test-main
  • /test metal3-centos-e2e-integration-test-main
  • /test metal3-dev-env-integration-test-centos-main
  • /test metal3-dev-env-integration-test-ubuntu-main
  • /test metal3-e2e-1-26-1-27-upgrade-test-main
  • /test metal3-e2e-1-27-1-28-upgrade-test-main
  • /test metal3-e2e-1-28-1-29-upgrade-test-main
  • /test metal3-e2e-clusterctl-upgrade-test-main
  • /test metal3-ubuntu-e2e-basic-test-main
  • /test metal3-ubuntu-e2e-feature-test-main
  • /test metal3-ubuntu-e2e-integration-test-main

Use /test all to run the following jobs that were automatically triggered:

  • generate
  • gomod
  • manifestlint
  • shellcheck

In response to this:

/test ?

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.

@Rozzii
Copy link
Member Author

Rozzii commented Jun 14, 2024

/test metal3-centos-e2e-integration-test-main

Copy link
Member

@tuminoid tuminoid left a comment

Choose a reason for hiding this comment

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

It worked on my manual test 👍

/lgtm

@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label Jun 14, 2024
@Rozzii
Copy link
Member Author

Rozzii commented Jun 14, 2024

/cc @kashifest

@tuminoid
Copy link
Member

/cc @dtantsur

@kashifest
Copy link
Member

/approve
thanks for the fix and debugging @Rozzii @tuminoid

@metal3-io-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kashifest

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

@metal3-io-bot metal3-io-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 14, 2024
@metal3-io-bot metal3-io-bot merged commit 11b0bca into metal3-io:main Jun 14, 2024
59 checks passed
@metal3-io-bot metal3-io-bot deleted the fix_deploy_htpass branch June 14, 2024 12:59
mquhuy pushed a commit to Nordix/baremetal-operator that referenced this pull request Jun 18, 2024
🐛 Fix incorrect htpasswd file generation
mquhuy pushed a commit to Nordix/baremetal-operator that referenced this pull request Jun 18, 2024
🐛 Fix incorrect htpasswd file generation
mquhuy pushed a commit to Nordix/baremetal-operator that referenced this pull request Jun 18, 2024
🐛 Fix incorrect htpasswd file generation
mquhuy pushed a commit to Nordix/baremetal-operator that referenced this pull request Jun 18, 2024
🐛 Fix incorrect htpasswd file generation
mquhuy pushed a commit to Nordix/baremetal-operator that referenced this pull request Jun 18, 2024
🐛 Fix incorrect htpasswd file generation
mquhuy pushed a commit to Nordix/baremetal-operator that referenced this pull request Jun 18, 2024
🐛 Fix incorrect htpasswd file generation
mquhuy pushed a commit to Nordix/baremetal-operator that referenced this pull request Jun 19, 2024
🐛 Fix incorrect htpasswd file generation
mquhuy pushed a commit to Nordix/baremetal-operator that referenced this pull request Jun 19, 2024
🐛 Fix incorrect htpasswd file generation
mquhuy pushed a commit to Nordix/baremetal-operator that referenced this pull request Jun 19, 2024
🐛 Fix incorrect htpasswd file generation
mquhuy pushed a commit to Nordix/baremetal-operator that referenced this pull request Jun 20, 2024
🐛 Fix incorrect htpasswd file generation
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. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

All Metal3 Centos E2E main tests fail with #1685
4 participants