Skip to content

🐛 Centralize assignment of HTTP_PORT#728

Merged
metal3-io-bot merged 1 commit intometal3-io:mainfrom
elfosardo:single_http_port_config
Sep 5, 2025
Merged

🐛 Centralize assignment of HTTP_PORT#728
metal3-io-bot merged 1 commit intometal3-io:mainfrom
elfosardo:single_http_port_config

Conversation

@elfosardo
Copy link
Member

This is actually a bug fix, as ironic-common.sh, when invoked without setting HTTP_PORT, will fail, as no default value is defined.
We set HTTP_PORT default value in ironic-common.sh to 80 as correctly written in the docs, and then export it.
Removing assignments from all other scripts to avoid mistakes and confusion.

Signed-off-by: Riccardo Pittau elfosardo@gmail.com

This is actually a bug fix, as ironic-common.sh, when invoked
without setting HTTP_PORT, will fail, as no default value is
defined.
We set HTTP_PORT default value in ironic-common.sh to 80 as
correctly written in the docs, and then export it.
Removing assignments from all other scripts to avoid mistakes
and confusion.

Signed-off-by: Riccardo Pittau <elfosardo@gmail.com>
@metal3-io-bot metal3-io-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Aug 11, 2025
@elfosardo
Copy link
Member Author

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

@elfosardo
Copy link
Member Author

/cc @dtantsur @Rozzii @tuminoid

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.

/lgtm

All of the script source ironic-common.sh so good simplification.

@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label Aug 11, 2025
Copy link
Member

@Rozzii Rozzii left a comment

Choose a reason for hiding this comment

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

/lgtm

@Rozzii Rozzii moved this to Ironic-image WIP in Metal3 - Roadmap Aug 12, 2025
@Rozzii Rozzii added this to the ironic-image - v32.0 milestone Aug 12, 2025
@Rozzii
Copy link
Member

Rozzii commented Aug 12, 2025

/hold
Just holding to avoid producing broken container images
Feel free to remove the hold after the upstream Ironic master branch is deemed stable for CI

@metal3-io-bot metal3-io-bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 12, 2025
@elfosardo
Copy link
Member Author

@Rozzii I don't think there's any instability left in ironic, CI integration job is passing just fine there
was there anything left to fix?

@Rozzii
Copy link
Member

Rozzii commented Aug 13, 2025

@Rozzii I don't think there's any instability left in ironic, CI integration job is passing just fine there was there anything left to fix?

Then I will remove the holds.

Copy link
Member

@Rozzii Rozzii left a comment

Choose a reason for hiding this comment

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

/hold cancel

@metal3-io-bot metal3-io-bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 13, 2025
@dtantsur
Copy link
Member

dtantsur commented Sep 5, 2025

/approve

@metal3-io-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dtantsur

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

@metal3-io-bot metal3-io-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 5, 2025
@metal3-io-bot metal3-io-bot merged commit 5ac3fb1 into metal3-io:main Sep 5, 2025
8 checks passed
@github-project-automation github-project-automation bot moved this from Ironic-image WIP to Done / Closed in Metal3 - Roadmap Sep 5, 2025
hroyrh pushed a commit to hroyrh/ironic-image that referenced this pull request Dec 18, 2025
OCPBUGS-65969: Set the tls cacert path to writable mount when the IRONIC_CACERT_FILE is unset
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

Status: Done / Closed

Development

Successfully merging this pull request may close these issues.

5 participants