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

upstream rebase and fixed hostname issue #303

Merged
merged 116 commits into from
Sep 27, 2024

Conversation

mukrishn
Copy link

@mukrishn mukrishn commented Mar 5, 2024

Description

Rebased from upstream openshift-kni/baremetal-deploy

fix to disable hostname from lab dhcp server and public interface during first boot - slack thread

Fixes # (issue)

Added a new nmstate config for day-1 installation - link

Added a networkData secret in baremetalhost resource in day-2 scaling playbook, config

Please select the appropriate options:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • This change is a documentation update

Testing

  • 4.14.14
  • 4.14.18

Test Configuration:

  • Versions: 4.14.14, 4.14.18
  • Lab: scale
  • Network: singlestack IPv4
  • Hardware: FC640, R640

Checklist

  • I have performed a self-review of my own code
  • If a change is adding a feature, it should require a change to the README.md and the review should catch this.
  • If the change is a fix, it should have an issue. The review should make sure the comments state the issue (not just the number) and it should use the keywords that will close the issue on merge.
  • A change should not be merged unless it passes CI or there is a comment/update saying what testing was passed.
  • PRs should not be merged unless positively reviewed.

dependabot bot and others added 30 commits November 3, 2021 12:10
…#812)

Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.4 to 2.4.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v2.3.4...v2.4.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ift-kni#813)

Updates the requirements on [ansible](https://github.com/ansible/ansible) to permit the latest version.
- [Release notes](https://github.com/ansible/ansible/releases)
- [Commits](https://github.com/ansible/ansible/commits)

---
updated-dependencies:
- dependency-name: ansible
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [technote-space/broken-link-checker-action](https://github.com/technote-space/broken-link-checker-action) from 2.2.9 to 2.2.10.
- [Release notes](https://github.com/technote-space/broken-link-checker-action/releases)
- [Changelog](https://github.com/technote-space/broken-link-checker-action/blob/main/.releasegarc)
- [Commits](technote-space/broken-link-checker-action@v2.2.9...v2.2.10)

---
updated-dependencies:
- dependency-name: technote-space/broken-link-checker-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
…thub_actions/technote-space/broken-link-checker-action-2.2.10
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2.2.2 to 2.3.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v2.2.2...v2.3.0)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.6 to 2.1.7.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](actions/cache@v2.1.6...v2.1.7)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
…hift-kni#817)

Updates the requirements on [ansible](https://github.com/ansible/ansible) to permit the latest version.
- [Release notes](https://github.com/ansible/ansible/releases)
- [Commits](https://github.com/ansible/ansible/commits)

---
updated-dependencies:
- dependency-name: ansible
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v2.3.0...v2.3.1)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
…hift-kni#819)

Updates the requirements on [ansible](https://github.com/ansible/ansible) to permit the latest version.
- [Release notes](https://github.com/ansible/ansible/releases)
- [Commits](https://github.com/ansible/ansible/commits)

---
updated-dependencies:
- dependency-name: ansible
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ift-kni#821)

Updates the requirements on [ansible](https://github.com/ansible/ansible) to permit the latest version.
- [Release notes](https://github.com/ansible/ansible/releases)
- [Commits](https://github.com/ansible/ansible/commits)

---
updated-dependencies:
- dependency-name: ansible
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Allow to set the provisioningDHCPRange if the prov_dhcp_range variable is set
The previous owners of this repository have moved
onto other things, I'll will be keeping things operating
until more permanent owners are identified.
…t-kni#825)

Bumps [technote-space/broken-link-checker-action](https://github.com/technote-space/broken-link-checker-action) from 2.2.10 to 2.2.11.
- [Release notes](https://github.com/technote-space/broken-link-checker-action/releases)
- [Changelog](https://github.com/technote-space/broken-link-checker-action/blob/main/.releasegarc)
- [Commits](technote-space/broken-link-checker-action@v2.2.10...v2.2.11)

---
updated-dependencies:
- dependency-name: technote-space/broken-link-checker-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ift-kni#827)

Updates the requirements on [ansible](https://github.com/ansible/ansible) to permit the latest version.
- [Release notes](https://github.com/ansible/ansible/releases)
- [Commits](https://github.com/ansible/ansible/commits)

---
updated-dependencies:
- dependency-name: ansible
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Set defaults for increase_bootstrap_timeout and increase_install_timeout
vars
…t-kni#829)

Bumps [technote-space/broken-link-checker-action](https://github.com/technote-space/broken-link-checker-action) from 2.2.11 to 2.2.12.
- [Release notes](https://github.com/technote-space/broken-link-checker-action/releases)
- [Changelog](https://github.com/technote-space/broken-link-checker-action/blob/main/.releasegarc)
- [Commits](technote-space/broken-link-checker-action@v2.2.11...v2.2.12)

---
updated-dependencies:
- dependency-name: technote-space/broken-link-checker-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This allows for irmc BMC to be used in the install-config.yaml.
* Use openshift-baremetal-install coreos print-stream-json to obtain RHCOS image paths

- Starting in 4.8 the installer contains pinned images of RHCOS in the binary
- Format of the stream is different so its parsing differs to older versions

* Use correct conditional on rhcos facts

* Use proper rhcos key
Bumps [technote-space/broken-link-checker-action](https://github.com/technote-space/broken-link-checker-action) from 2.2.12 to 2.3.1.
- [Release notes](https://github.com/technote-space/broken-link-checker-action/releases)
- [Changelog](https://github.com/technote-space/broken-link-checker-action/blob/main/.releasegarc)
- [Commits](technote-space/broken-link-checker-action@v2.2.12...v2.3.1)

---
updated-dependencies:
- dependency-name: technote-space/broken-link-checker-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [actions/stale](https://github.com/actions/stale) from 4 to 6.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](actions/stale@v4...v6)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.7 to 3.0.11.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v2.1.7...v3.0.11)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
BZ-1937458: Remove reference to openstack baremetal and update it to baremetal
Update install-config.j2 template to support provisioningDHCPRange
@mukrishn
Copy link
Author

Tested on R650, had some lab issue but able to deploy all control plane nodes successfully.

$ oc get nodes
NAME                                        STATUS   ROLES                         AGE     VERSION
f04-h09-000-r640.rdu2.scalelab.redhat.com   Ready    control-plane,master,worker   7h18m   v1.27.10+28ed2d7
f04-h10-000-r640.rdu2.scalelab.redhat.com   Ready    control-plane,master,worker   7h18m   v1.27.10+28ed2d7
f04-h11-000-r640.rdu2.scalelab.redhat.com   Ready    control-plane,master,worker   7h18m   v1.27.10+28ed2d7

@mukrishn mukrishn force-pushed the rebase branch 2 times, most recently from 422f6ce to 0aa4c46 Compare March 24, 2024 20:38
@mukrishn
Copy link
Author

tested deployment with updated config

$ oc get nodes 
NAME                                        STATUS   ROLES                         AGE     VERSION
master-0                                    Ready    control-plane,master,worker   14h     v1.27.10+28ed2d7
master-1                                    Ready    control-plane,master,worker   14h     v1.27.10+28ed2d7
master-2                                    Ready    control-plane,master,worker   14h     v1.27.10+28ed2d7

scale worker is partially tested, need a lab allocation to test it thoroughly.

@mukrishn mukrishn changed the title [WIP]rebase from upstream openshift-kni rebase from upstream openshift-kni Mar 25, 2024
@mukrishn mukrishn changed the title rebase from upstream openshift-kni upstream rebase and fixed hostname issue Mar 25, 2024
@mukrishn
Copy link
Author

tested this on FC640s, thanks @wilsondav for the lab env.

$ oc get nodes
NAME              STATUS   ROLES                  AGE     VERSION
master-0          Ready    control-plane,master   47m     v1.27.10+28ed2d7
master-1          Ready    control-plane,master   48m     v1.27.10+28ed2d7
master-2          Ready    control-plane,master   47m     v1.27.10+28ed2d7
worker000-fc640   Ready    worker                 11m     v1.27.10+28ed2d7
worker001-fc640   Ready    worker                 11m     v1.27.10+28ed2d7
worker002-fc640   Ready    worker                 11m     v1.27.10+28ed2d7
worker003-fc640   Ready    worker                 8m38s   v1.27.10+28ed2d7

@mukrishn
Copy link
Author

@josecastillolema @wilsondav please review

@mukrishn mukrishn requested a review from HughNhan March 28, 2024 14:18
@josecastillolema
Copy link

Thanks @mukrishn , will validate the PR in the small VCP env.

@josecastillolema
Copy link

@wilsondav can you please paste here the errors you had with this PR in cloud18 and cloud26?

@josecastillolema
Copy link

Regarding the fixed hostname issue, it looks like fresh installs works fine but scale ups lack the fix, i.e.:

e23-h24-b03-fc640.rdu2.scalelab.redhat.com   Ready    worker                 3h41m   v1.27.11+749fe1d
e23-h24-b04-fc640.rdu2.scalelab.redhat.com   Ready    worker                 3h40m   v1.27.11+749fe1d
master-0                                     Ready    control-plane,master   5h53m   v1.27.11+749fe1d
master-1                                     Ready    control-plane,master   5h53m   v1.27.11+749fe1d
master-2                                     Ready    control-plane,master   5h52m   v1.27.11+749fe1d
worker000-fc640                              Ready    worker                 5h16m   v1.27.11+749fe1d
worker001-fc640                              Ready    worker                 5h16m   v1.27.11+749fe1d

Could the PR be split into two?
One for the upstream rebase and another one for the fixed hostname issue?

Thanks

@mukrishn mukrishn mentioned this pull request Apr 22, 2024
12 tasks
@mukrishn
Copy link
Author

@josecastillolema PR #307 is rebase

Copy link

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

@mukrishn mukrishn merged commit 348b396 into redhat-performance:master Sep 27, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.