-
Notifications
You must be signed in to change notification settings - Fork 118
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
Move ironic into cluster #68
Conversation
Unless the downloading needs to be cluster-hosted as well it seems potentially simpler to download directly onto the host, then either run httpd natively, or run a container with httpd that mounts the host directory with the images? |
94a38b1
to
edc3005
Compare
@hardys We want the IPA images to be downloaded in the cluster though, right? I made the ipa-image-downloader an init container. I feel like it's kind of nice that all those bits are all hosted in one place. Could we run two different http servers for metal3-dev-env? The one on the provisioning host would be for a user to dump any provisioning images they want in (and we prepopulate it with CentOS). |
Well, it's not essential but yes - note we can use CACHEURL to point the ipa downloader container at the host, so we don't download the RDO tarball every run which will save some time/bandwidth. |
edc3005
to
f10b741
Compare
Ah good point about CACHEURL. I've put the httpd container back on the provisioning host, so we can grab centos there. IPA is still downloaded from within the cluster. I think this looks closer to how we did things with OpenShift. Should be ready for a look, along with metal3-io/baremetal-operator#309 |
/test-centos-integration |
f10b741
to
15d187a
Compare
/test-centos-integration |
/test-centos-integration |
00c15ca
to
4eeabdd
Compare
/test-centos-integration |
1 similar comment
/test-centos-integration |
To fix the interface issue, something similar to #71 can be done |
ea5ea40
to
b5db45e
Compare
/test-centos-integration |
1 similar comment
/test-centos-integration |
/test-centos-integration |
/test-integration |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: stbenjam 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 |
/test-centos-integration |
/test-integration |
7d38ac0
to
0610535
Compare
Last CI run passed: https://jenkins.nordix.org/job/airship_metal3io_metal3_dev_env_integration_test_ubuntu/34/ https://jenkins.nordix.org/job/airship_metal3io_metal3_dev_env_integration_test_centos/27/ I've squashed everything, and moved the code back to hitting metal3-io/baremetal-operator instead of my fork. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some checks could be added on the ironic setup, for the configmap and secret. For the deployment there is no need as this will be checked using the check_k8s_entity since the name does not change.
This deploys the Ironic containers in the cluster itself, rather than the provisioning host. The provisioning host still maintains an httpd server for hosting a cache of the IPA images, as well as any additional images the user wants to provision with (by default we populate it with CentOS).
0610535
to
5b67fd2
Compare
merged the baremetal-operator PR, so let's run CI on this one more time ... /test-centos-integration |
@stbenjam Can you prepare a docs PR against metal3-io/metal3-io.github.io that reflects the changes to how you would talk to the Ironic API? See the "try it" page contents. |
/test-centos-integration |
/hold Just seeing if prow is listening now ... |
Yay /hold cancel |
/test-integration |
1 similar comment
/test-integration |
Can we merge this ? Metal3-dev-env is broken without this. |
@maelk Sure, I think so, anything else we can address in follow-ups. If you do |
/lgtm |
This deploys the Ironic containers in the cluster itself, rather than
the provisioning host. The provisioning host still maintains an httpd
server for hosting a cache of the IPA images, as well as any additional
images the user wants to provision with (by default we populate it with
CentOS).
Goes with metal3-io/baremetal-operator#309
fixes #41