-
Notifications
You must be signed in to change notification settings - Fork 254
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
🐛 Proceed to power off after deprovisioning #1312
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,57 +5,49 @@ digraph BaremetalHost { | |
|
||
Unmanaged [shape=doublecircle] | ||
Unmanaged -> Registering [label="BMC.* != \"\""] | ||
Unmanaged -> Deleting1 [label="!DeletionTimestamp.IsZero()"] | ||
|
||
Deleting1 [shape=point] | ||
Unmanaged -> PoweringOffBeforeDelete [label="!DeletionTimestamp.IsZero()"] | ||
|
||
ExternallyProvisioned [label="Externally\nProvisioned"] | ||
|
||
Registering -> Inspecting [label="!externallyProvisioned && NeedsHardwareInspection()"] | ||
Registering -> Preparing [label="!externallyProvisioned && inspectionDisabled()"] | ||
Registering -> Inspecting [label="!externallyProvisioned &&\nNeedsHardwareInspection()"] | ||
Registering -> Preparing [label="!externallyProvisioned &&\ninspectionDisabled()"] | ||
Registering -> ExternallyProvisioned [label="externallyProvisioned"] | ||
Registering -> Deleting2 [label="!DeletionTimestamp.IsZero()"] | ||
|
||
Deleting2 [shape=point] | ||
Registering -> PoweringOffBeforeDelete [label="!DeletionTimestamp.IsZero()"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We already have a follow up for this here #1356 |
||
|
||
ExternallyProvisioned -> Inspecting [label="!externallyProvisioned && NeedsHardwareInspection()"] | ||
ExternallyProvisioned -> Preparing [label="!externallyProvisioned && !NeedsHardwareInspection()"] | ||
ExternallyProvisioned -> Inspecting [label="!externallyProvisioned &&\nNeedsHardwareInspection()"] | ||
ExternallyProvisioned -> Preparing [label="!externallyProvisioned &&\n!NeedsHardwareInspection()"] | ||
Available -> ExternallyProvisioned [label="externallyProvisioned"] | ||
|
||
Inspecting -> Preparing [label="done"] | ||
Inspecting -> Deleting3 [label="!DeletionTimestamp.IsZero()"] | ||
|
||
Deleting3 [shape=point] | ||
|
||
Deleting5 [shape=point] | ||
Inspecting -> PoweringOffBeforeDelete [label="!DeletionTimestamp.IsZero()"] | ||
|
||
Preparing -> Available [label="done"] | ||
Preparing -> Deleting6 [label="!DeletionTimestamp.IsZero()"] | ||
|
||
Deleting6 [shape=point] | ||
Preparing -> PoweringOffBeforeDelete [label="!DeletionTimestamp.IsZero()"] | ||
|
||
Available [shape=doublecircle] | ||
Available -> Provisioning [label="NeedsProvisioning()"] | ||
Available -> Preparing [label="saveHostProvisioningSettings()"] | ||
Available -> Preparing [label="getHostFirmwareSettings()"] | ||
Available -> Deleting7 [label="!DeletionTimestamp.IsZero()"] | ||
Available -> PoweringOffBeforeDelete [label="!DeletionTimestamp.IsZero()"] | ||
Available -> Inspecting [label="hasInspectAnnotation()"] | ||
|
||
Deleting7 [shape=point] | ||
|
||
Provisioning -> Provisioned [label=done] | ||
Provisioning -> Deprovisioning [label="failed || !DeletionTimestamp.IsZero()"] | ||
Provisioning -> Deprovisioning [label="failed ||\n!DeletionTimestamp.IsZero()"] | ||
|
||
Provisioned [shape=doublecircle] | ||
Provisioned -> Deprovisioning [label="provisioningCancelled()"] | ||
Provisioned -> Deprovisioning [label="!DeletionTimestamp.IsZero()"] | ||
|
||
ExternallyProvisioned [shape=doublecircle] | ||
ExternallyProvisioned -> Deleting [label="!DeletionTimestamp.IsZero()"] | ||
ExternallyProvisioned -> PoweringOffBeforeDelete [label="!DeletionTimestamp.IsZero()"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. People have complained about all the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🤔 that's... not outstanding, but maybe not so bad that it's worth the ongoing confusion to avoid it. WDYT? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK, I pushed the diagram changes. I think it's reasonably clear. |
||
|
||
Deprovisioning -> Provisioning [label="NeedsProvisioning()"] | ||
Deprovisioning -> Available [label="!NeedsProvisioning()"] | ||
Deprovisioning -> Deleting [label="!DeletionTimestamp.IsZero()"] | ||
|
||
Deprovisioning -> PoweringOffBeforeDelete | ||
PoweringOffBeforeDelete -> Deleting | ||
|
||
Deleting [shape=doublecircle] | ||
} |
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.
This make me worried. Unmanaged hosts cannot be powered off. Isn't it the cause of the issue that we've recently discussed?
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.
We already have a follow up for this here #1356