Skip to content

PRODENG-3100 Linux native MCR install#608

Merged
james-nesbitt merged 10 commits intomainfrom
PRODENG-3100-MCR-wout-installsh
Mar 25, 2026
Merged

PRODENG-3100 Linux native MCR install#608
james-nesbitt merged 10 commits intomainfrom
PRODENG-3100-MCR-wout-installsh

Conversation

@james-nesbitt
Copy link
Copy Markdown
Collaborator

  • drop install.sh for all linux configurers

@james-nesbitt james-nesbitt changed the title PRODENG-3100 EL native MCR install PRODENG-3100 Linux native MCR install Jan 16, 2026
@james-nesbitt james-nesbitt force-pushed the PRODENG-3100-MCR-wout-installsh branch from e776423 to d2e2a69 Compare January 16, 2026 13:41
Comment thread pkg/configurer/sles/sles.go
@james-nesbitt james-nesbitt force-pushed the PRODENG-3100-MCR-wout-installsh branch from d2e2a69 to b39ecd3 Compare January 19, 2026 10:18
- drop install.sh for all linux configurers
- linux configurer package based installers for el, sles and ubuntu
- move installer download into the configurers, and drop the download phase
	- configurer download code has downloads globally.
	- only windows configurer uses the installer downloader
- drop the installer download mke phase

TODO

- windows installs may fail for fips version, need to test

ALSO

- some more linting:
	- interface{} -> any

Signed-off-by: James Nesbitt <jnesbitt@mirantis.com>
@james-nesbitt james-nesbitt force-pushed the PRODENG-3100-MCR-wout-installsh branch from b39ecd3 to 01a9396 Compare January 19, 2026 13:57
Signed-off-by: James Nesbitt <jnesbitt@mirantis.com>
- we don't use MCR version input, so we have to drop related
  functionality:
  - telemetry relies on channel
  - we drop all pretending that we are verifying version (we didn't
    do it properly before anyway)
- the very bad `EnsureMCRVersion` is replaced with `EnsureMCRRunning`
  which doesn't totally behave the same (doesn't restart)

Signed-off-by: James Nesbitt <jnesbitt@mirantis.com>
@james-nesbitt james-nesbitt force-pushed the PRODENG-3100-MCR-wout-installsh branch 4 times, most recently from d69b957 to 2a67096 Compare January 26, 2026 13:44
- migrate 1.5 -> 1.6, which is actually kind of painful
- update aws example Terraform that generates launchpad yaml
- update smoke test to use new terraform, and also to test on RHEL9,
  Ubuntu22 and Sles15
- some fixes for the native configurers

Signed-off-by: James Nesbitt <jnesbitt@mirantis.com>
@james-nesbitt james-nesbitt force-pushed the PRODENG-3100-MCR-wout-installsh branch from 2a67096 to 6b32aed Compare January 26, 2026 13:55
@james-nesbitt james-nesbitt force-pushed the PRODENG-3100-MCR-wout-installsh branch 10 times, most recently from 3346947 to cc87604 Compare February 27, 2026 15:53
@james-nesbitt
Copy link
Copy Markdown
Collaborator Author

Currently, the smoke test fails on uninstall. I will look deeper.

@james-nesbitt
Copy link
Copy Markdown
Collaborator Author

I've been re-running the reset process and have not been able to duplicate the failed smoke test. I am preparing this for release.

@james-nesbitt james-nesbitt force-pushed the PRODENG-3100-MCR-wout-installsh branch 2 times, most recently from b6a04f3 to 3938022 Compare March 19, 2026 13:08
- refactor configurer, reducing the interface
  - consolidate a number of methods into one
  - drop the base configurer installMCR method
  - configurers now implement InstallMCR()
- some fixes to the core cmds to avoid stalling
  - reset no longer checks for version upgrade
- test/example fixes
  - added better firewall rules to help avoid install failures

Signed-off-by: James Nesbitt <jnesbitt@mirantis.com>
Signed-off-by: James Nesbitt <james.r.nesbitt@gmail.com>
Signed-off-by: James Nesbitt <jnesbitt@mirantis.com>
@james-nesbitt james-nesbitt force-pushed the PRODENG-3100-MCR-wout-installsh branch from 3938022 to 12e651a Compare March 19, 2026 13:12
@james-nesbitt james-nesbitt marked this pull request as ready for review March 19, 2026 13:44
Comment thread pkg/configurer/enterpriselinux/el.go
Comment thread pkg/configurer/ubuntu/ubuntu.go Outdated
Comment thread pkg/configurer/enterpriselinux/el.go
Comment thread pkg/configurer/sles/sles.go
Comment thread pkg/configurer/ubuntu/ubuntu.go
Comment thread pkg/configurer/ubuntu/ubuntu.go
Comment thread pkg/product/mke/config/configurer_test.go
Comment thread pkg/product/mke/config/configurer_test.go Outdated
james-nesbitt and others added 5 commits March 24, 2026 14:37
Co-authored-by: Cory Snider <corhere@gmail.com>
Co-authored-by: Cory Snider <corhere@gmail.com>
Co-authored-by: Cory Snider <corhere@gmail.com>
Co-authored-by: Cory Snider <corhere@gmail.com>
- simpler mke configurer validation test

Signed-off-by: James Nesbitt <jnesbitt@mirantis.com>
@james-nesbitt james-nesbitt merged commit 38186d3 into main Mar 25, 2026
8 checks passed
@james-nesbitt james-nesbitt deleted the PRODENG-3100-MCR-wout-installsh branch March 25, 2026 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants