-
Notifications
You must be signed in to change notification settings - Fork 119
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
Initial support for ironic-standalone-operator #1466
Initial support for ironic-standalone-operator #1466
Conversation
Skipping CI for Draft Pull Request. |
c94ffab
to
76c7680
Compare
76c7680
to
2f0662b
Compare
2f0662b
to
60f36fd
Compare
Doing so simplifies downstream customizations, e.g. in metal3-dev-env: metal3-io/metal3-dev-env#1466. Signed-off-by: Dmitry Tantsur <dtantsur@protonmail.com>
/test metal3-dev-env-integration-test-ubuntu-main Should be solved now |
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.
Its WIP, but two tiny nits, and one question.
The whole file needs cleanup on Bash so not picking on any of that, this PR is following convention just fine.
60f36fd
to
d615a9f
Compare
9ec2532
to
e7c25d5
Compare
9720d0d
to
bd4eb00
Compare
1dcba20
to
c4d9b87
Compare
/test metal3-centos-e2e-integration-test-release-1-8 |
d20194d
to
fe232f7
Compare
/test metal3-centos-e2e-integration-test-release-1-8 |
It looks like you've made good progress with the dev-env part and it is now actually failing mostly to IRSO implementation. Does that sound about right? |
Not exactly. The previous couple of failures are related to gluing BMO and newly deployed Ironic together. I presume the last failure was because of authentication, but without metal3-io/baremetal-operator#2083 (now merged) I could not confirm that. |
Okay, correcting: the very last failure may actually be a bug in IrSO. |
fe232f7
to
a029bd7
Compare
/test metal3-centos-e2e-integration-test-release-1-8 |
Yay, it works (fails only on the re-pivoting test). |
a029bd7
to
83a4e1b
Compare
/test metal3-centos-e2e-integration-test-release-1-8 |
It works, but does not pass the re-pivoting test in the CAPM3 suite. Signed-off-by: Dmitry Tantsur <dtantsur@protonmail.com>
8ddc395
to
bb69cf9
Compare
/test metal3-centos-e2e-integration-test-release-1-8 |
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.
Completely optional nits. Looking solid, with documented variables and generally clean addition.
This will help greatly everyone to start experimenting with IRSO!
/approve
} | ||
|
||
launch_ironic_via_irso() { | ||
if [ "${IRONIC_BASIC_AUTH}" != "true" ]; then |
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.
if [ "${IRONIC_BASIC_AUTH}" != "true" ]; then | |
if [[ "${IRONIC_BASIC_AUTH}" != "true" ]]; then |
function update_component_image(){ | ||
IMPORT=$1 | ||
ORIG_IMAGE=$2 | ||
function get_component_image(){ |
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.
function get_component_image(){ | |
get_component_image() { |
# | ||
# Update the CAPM3 and BMO manifests to use local images as defined in variables | ||
# | ||
function update_component_image(){ |
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.
function update_component_image(){ | |
update_component_image() { |
@@ -213,3 +213,6 @@ | |||
# To enable FakeIPA and run dev-env on a fake platform | |||
# export NODES_PLATFORM="fake" | |||
# export FAKE_IPA_IMAGE=192.168.111.1:5000/localimages/fake-ipa | |||
|
|||
# Whether to use ironic-standalone-operator to deploy Ironic. | |||
# export USE_IRSO="true" |
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.
I think this config is supposed to have default values shown, but quickly checking others, we have already mixed it. Up to you which one you want to have here.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tuminoid 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 |
I wonder if I should fix them in a follow-up or just wait for your reformatting of this file? |
If the tests pass, I can fix them later, or if you have any other need to push fixes to this PR, fix them as you go? |
/lgtm |
Installs ironic-standalone-operator by default (but does not use it).
Adds a new option USE_IRSO (default false) to use the operator to provision Ironic.
Signed-off-by: Dmitry Tantsur dtantsur@protonmail.com