Skip to content

Conversation

@sadasu
Copy link
Contributor

@sadasu sadasu commented Jan 9, 2020

A new CRD is being added to metal3.io API group that contains config
necessary to provision baremetal hosts.

@openshift-ci-robot openshift-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jan 9, 2020
@sadasu sadasu force-pushed the new-metal3-CR branch 3 times, most recently from 8bde4ad to fbb4aeb Compare January 9, 2020 17:16
@enxebre
Copy link
Member

enxebre commented Jan 9, 2020

/retest

@sadasu sadasu force-pushed the new-metal3-CR branch 2 times, most recently from 7ec2b94 to d49ef11 Compare January 10, 2020 00:38
@enxebre
Copy link
Member

enxebre commented Jan 10, 2020

/retest

at the desired state
type: integer
format: int32
version: v1alpha1
Copy link
Member

@enxebre enxebre Jan 10, 2020

Choose a reason for hiding this comment

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

are you planning going alpha or promoting beta later on?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Promoting beta later on. But at this point want to leave it as alpha for this PR.

@enxebre
Copy link
Member

enxebre commented Jan 10, 2020

/retest

subresources:
scale:
labelSelectorPath: .status.labelSelector
specReplicasPath: .spec.replicas
Copy link
Contributor

Choose a reason for hiding this comment

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

Again, not a blocker for your own API, but we haven't generally placed scaling options here for operator-y things. I just encourage you to be sure you want to.

Copy link
Contributor

Choose a reason for hiding this comment

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

Again, not a blocker for your own API, but we haven't generally placed scaling options here for operator-y things. I just encourage you to be sure you want to.

this still looks questionable. especially since you don't have spec.replicas in your schema.

@deads2k
Copy link
Contributor

deads2k commented Jan 10, 2020

A couple optional suggestions for consideration from me. Nothing that I would consider blocking.

@sadasu sadasu force-pushed the new-metal3-CR branch 3 times, most recently from 278a918 to 3dedb8c Compare January 10, 2020 16:37
@sadasu sadasu changed the title WIP: Adding a new CRD for configuration needed for Baremetal provisioning Adding a new CRD for configuration needed for Baremetal provisioning Jan 10, 2020
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 10, 2020
@sadasu
Copy link
Contributor Author

sadasu commented Jan 10, 2020

/test e2e-aws-upgrade

@sadasu
Copy link
Contributor Author

sadasu commented Jan 10, 2020

/test e2e-aws-upgrade

1 similar comment
@sadasu
Copy link
Contributor Author

sadasu commented Jan 12, 2020

/test e2e-aws-upgrade

@enxebre
Copy link
Member

enxebre commented Jan 13, 2020

/approve

@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: enxebre

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

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 13, 2020
validation:
openAPIV3Schema:
description: 'Provisioning contains configuration used by the Provisioning
service (Ironic) to provision baremetal hosts. \n Provisioning is created
Copy link

Choose a reason for hiding this comment

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

nit I would just say "the metal3 provisioning services", Ironic is supposed to be an implementation detail.

@hardys
Copy link

hardys commented Jan 13, 2020

Small nit in the description but this lgtm, we can adjust the description in some subsequent PR if this is otherwise good to merge.

@enxebre
Copy link
Member

enxebre commented Jan 14, 2020

let's move on and do any farther interaction in follow ups
/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 14, 2020
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

1 similar comment
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@enxebre
Copy link
Member

enxebre commented Jan 14, 2020

/retest

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@sadasu
Copy link
Contributor Author

sadasu commented Jan 14, 2020

/test e2e-aws

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

12 similar comments
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit 6eaee18 into openshift:master Jan 15, 2020
Copy link

@imain imain left a comment

Choose a reason for hiding this comment

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

Just a few description nits. Nice work Sandhya.

properties:
provisioningInterface:
description: provisioningInterface is the name of the network interface
on a baremetal server to the provisioning network. It can have values
Copy link

Choose a reason for hiding this comment

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

This sentence seems awkward to me. I think I would say "proisioningInterface is the name of the network interface on a baremetal server that is used to provision new machines"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you for the comment @imain . I will take care of it in the next MAO patch containing changes to read this CR.

provisioningInterface:
description: provisioningInterface is the name of the network interface
on a baremetal server to the provisioning network. It can have values
like eth1 or ens3.
Copy link

Choose a reason for hiding this comment

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

I like the examples here.

enxebre added a commit to enxebre/machine-api-operator that referenced this pull request Jan 16, 2020
This is so baremetal can fetch the provisioning.metal3.io object and parametarise their deployment. Related openshift/api#540 and openshift#460
enxebre added a commit to enxebre/machine-api-operator that referenced this pull request Jan 16, 2020
This is so baremetal can fetch the provisioning.metal3.io object and parametarise their deployment. Related openshift/api#540 and openshift#460
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/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants