-
Notifications
You must be signed in to change notification settings - Fork 78
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
provider-azure bootDiagnostics for VM not working #618
Comments
Update: bootDiagnostics:
So, the first one according to the manual is an array, fine. The storageAccuntUri is a string but here is the catch it cannot be empty field or it will bark about a bad value. One would think that not existing string and an empty string would be the same thing but it ain't. (at least in my brain it was) |
@techny210, could you please give us the used MRs and reproduction steps so we can reproduce the bug? |
There was no MR per se. You can reproduce it by creating a vm with bootDiagnostics enabled. I could not. |
Could you please share the sample manifest of the resource you are trying to create, as follows:
|
|
@techny210, I cannot reproduce the error with the information you provided:
Please try with |
This provider repo does not have enough maintainers to address every issue. Since there has been no activity in the last 90 days it is now marked as |
Old issue, upgrade fixed it |
What happened?
VM can't be created from a simple k apply -f vm.yaml , it errors out with the following:
LinuxVirtualMachine in version "v1beta1" cannot be handled as a LinuxVirtualMachine: strict decoding error: unknown field "spec.forProvider.bootDiagnostics.storageAccountUri"
How can we reproduce it?
Create a vm with bootDiagnostics enabled
What environment did it happen in?
Crossplane version:
latest 1.14.5
kube vesion 1.28.3 on microk8s Ubuntu 22.04 LTS
apiVersion: compute.azure.upbound.io/v1beta1
kind: LinuxVirtualMachine
it is set correctly but for some reason, API does not recognize it as such
API docs on the website clearly show this option
bootDiagnostics:
storageAccountUri:
k get providers
NAME INSTALLED HEALTHY PACKAGE AGE
provider-azure-compute True True xpkg.upbound.io/upbound/provider-azure-compute:v0.40.0 8d
provider-azure-storage True True xpkg.upbound.io/upbound/provider-azure-storage:v0.40.0 8d
The text was updated successfully, but these errors were encountered: