failure

package
v0.0.0-...-9dbf4e6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AzureInvalidTemplateDeployment = InstallFailingReason{
	Name:    "AzureInvalidTemplateDeployment",
	Reason:  "AzureInvalidTemplateDeployment",
	Message: "Deployment failed. Please see details for more information.",
	SearchRegexes: []*regexp.Regexp{
		regexp.MustCompile(`"code":\w?"InvalidTemplateDeployment"`),
	},
}
View Source
var AzureKeyBasedAuthenticationNotPermitted = InstallFailingReason{
	Name:    "AzureKeyBasedAuthenticationNotPermitted",
	Reason:  "AzureKeyBasedAuthenticationNotPermitted",
	Message: "Deployment failed with KeyBasedAuthenticationNotPermitted error. Please see details for more information.",
	SearchRegexes: []*regexp.Regexp{

		regexp.MustCompile(`(?s)cluster([a-z0-9]){10}.*KeyBasedAuthenticationNotPermitted`),
	},
}
View Source
var AzureOSProvisioningTimedOut = InstallFailingReason{
	Name:    "AzureOSProvisioningTimedOut",
	Reason:  "AzureOSProvisioningTimedOut",
	Message: "Deployment failed due to OSProvisioningTimedOut. The cluster's virtual machines failed to start up in time. Please check your network configuration.",
	SearchRegexes: []*regexp.Regexp{
		regexp.MustCompile(`"code\W*:\W*"OSProvisioningTimedOut\W*"`),
	},
}
View Source
var AzureRequestDisallowedByPolicy = InstallFailingReason{
	Name:    "AzureRequestDisallowedByPolicy",
	Reason:  "AzureRequestDisallowedByPolicy",
	Message: "Deployment failed due to RequestDisallowedByPolicy. Please see details for more information.",
	SearchRegexes: []*regexp.Regexp{
		regexp.MustCompile(`"code":\w?"InvalidTemplateDeployment".*"code":\w?"RequestDisallowedByPolicy"`),
	},
}
View Source
var AzureZonalAllocationFailed = InstallFailingReason{
	Name:    "AzureZonalAllocationFailed",
	Reason:  "AzureZonalAllocationFailed",
	Message: "Deployment failed. Please see details for more information.",
	SearchRegexes: []*regexp.Regexp{
		regexp.MustCompile(`"code\W*":\W*"ZonalAllocationFailed\W*"`),
	},
}

Functions

func HandleProvisionFailed

func HandleProvisionFailed(ctx context.Context, cd *hivev1.ClusterDeployment, cond hivev1.ClusterDeploymentCondition, installLog *string) error

Types

type InstallFailingReason

type InstallFailingReason struct {
	Name          string
	Reason        string
	Message       string
	SearchRegexes []*regexp.Regexp
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL