terraform/oci: Add VM.Standard.x86.Generic shape to available options
PATCH 1/1 terraform/oci: Add VM.Standard.x86.Generic shape to available options
The VM.Standard.x86.Generic is another shape available for Oracle Linux kernel developers. This commit adds this shape to the list of available flexible shapes.
---
Chuck,
Kconfig's "choice" construct does not allow "free text" to be entered. Hence, I had to add the new entry as a choice.
Also, I did not find any official documentation for VM.Standard.x86.Generic. The limits for OCPUs and memory were obtained from the web console which is used during the creation of a VM.
terraform/oci/kconfigs/shapes/Kconfig.flex | 7 +++++++ 1 file changed, 7 insertions(+)
terraform/oci/kconfigs/shapes/Kconfig.flex +7 -0
@@ -9,6 +9,13 @@ choice https://docs.oracle.com/en-us/iaas/Content/Compute/References/computeshapes.htm#flexible +config TERRAFORM_OCI_SHAPE_VM_STANDARD_X86_GENERIC + bool "VM.Standard.x86.Generic" + depends on TARGET_ARCH_X86_64 + help + Selecting this option provisions each guest with between 1 + and 32 OCPUs (physical cores) and up to 512MB of memory. + config TERRAFORM_OCI_SHAPE_VM_STANDARD3_FLEX bool "VM.Standard3.Flex" depends on TARGET_ARCH_X86_64
Signature · 1 line
2.45.2
Quoted 8 lines · Chandan Babu R
The VM.Standard.x86.Generic is another shape available for Oracle Linux kernel developers. This commit adds this shape to the list of available flexible shapes.
Signed-off-by Chandan Babu R <[email protected]>---
Chuck,
Quoted 6 lines
Kconfig's "choice" construct does not allow "free text" to be entered. Hence, I had to add the new entry as a choice.
Also, I did not find any official documentation for VM.Standard.x86.Generic. The limits for OCPUs and memory were obtained from the web console which is used during the creation of a VM.
I don't understand. Is there a problem with commit 0283fcd8dc6f ("terraform/OCI: Add a generic shape selector") ?
Quoted 21 lines
terraform/oci/kconfigs/shapes/Kconfig.flex | 7 +++++++ 1 file changed, 7 insertions(+)terraform/oci/kconfigs/shapes/Kconfig.flex +7
-0@@ -9,6 +9,13 @@ choice https://docs.oracle.com/en-us/iaas/Content/Compute/References/computeshapes.htm#flexible +config TERRAFORM_OCI_SHAPE_VM_STANDARD_X86_GENERIC + bool "VM.Standard.x86.Generic" + depends on TARGET_ARCH_X86_64 + help + Selecting this option provisions each guest with between 1 + and 32 OCPUs (physical cores) and up to 512MB of memory. + config TERRAFORM_OCI_SHAPE_VM_STANDARD3_FLEX bool "VM.Standard3.Flex" depends on TARGET_ARCH_X86_64
Signature · 1 line
Chuck Lever
Quoted 10 lines · Chandan Babu R
The VM.Standard.x86.Generic is another shape available for Oracle Linux kernel developers. This commit adds this shape to the list of available flexible shapes.
Signed-off-by Chandan Babu R <[email protected]>---
Chuck,Kconfig's "choice" construct does not allow "free text" to be entered. Hence, I had to add the new entry as a choice.
You can resolve this as follows?
terraform/oci/kconfigs/shapes/Kconfig.flex +1 -0
@@ -73,6 +73,7 @@ endchoice config TERRAFORM_OCI_SHAPE string output yaml + default "VM.Standard.x86.Generic" if TERRAFORM_OCI_SHAPE_VM_STANDARD_X86_GENERIC default "VM.Standard3.Flex" if TERRAFORM_OCI_SHAPE_VM_STANDARD3_FLEX default "VM.Standard.E4.Flex" if TERRAFORM_OCI_SHAPE_VM_STANDARD_E4_FLEX default "VM.Standard.E5.Flex" if TERRAFORM_OCI_SHAPE_VM_STANDARD_E5_FLEX
Quoted 19 lines · Luis Chamberlain
Quoted 10 lines · Chandan Babu R
The VM.Standard.x86.Generic is another shape available for Oracle Linux kernel developers. This commit adds this shape to the list of available flexible shapes.
Signed-off-by Chandan Babu R <[email protected]>---
Chuck,Kconfig's "choice" construct does not allow "free text" to be entered. Hence, I had to add the new entry as a choice.
You can resolve this as follows?
terraform/oci/kconfigs/shapes/Kconfig.flex +0
-0
terraform/oci/kconfigs/shapes/Kconfig.flex endchoice · line 79
Quoted 7 lines
terraform/oci/kconfigs/shapes/Kconfig.flex +1
-0@@ -73,6 +73,7 @@ endchoice config TERRAFORM_OCI_SHAPE string output yaml + default "VM.Standard.x86.Generic" if TERRAFORM_OCI_SHAPE_VM_STANDARD_X86_GENERIC default "VM.Standard3.Flex" if TERRAFORM_OCI_SHAPE_VM_STANDARD3_FLEX default "VM.Standard.E4.Flex" if TERRAFORM_OCI_SHAPE_VM_STANDARD_E4_FLEX default "VM.Standard.E5.Flex" if TERRAFORM_OCI_SHAPE_VM_STANDARD_E5_FLEX
I'm able to select the VM.Standard.x86.Generic shape by going to
Bring up methods -> Node bring up methods
Choose Terraform then OCI, then
Compute -> OCI shape family
and choose "Generic"
Is that not working?
Signature · 1 line
Chuck Lever
Quoted 32 lines · Chuck Lever
Quoted 19 lines · Luis Chamberlain
Quoted 10 lines · Chandan Babu R
The VM.Standard.x86.Generic is another shape available for Oracle Linux kernel developers. This commit adds this shape to the list of available flexible shapes.
Signed-off-by Chandan Babu R <[email protected]>---
Chuck,Kconfig's "choice" construct does not allow "free text" to be entered. Hence, I had to add the new entry as a choice.
You can resolve this as follows?
terraform/oci/kconfigs/shapes/Kconfig.flex +0
-0terraform/oci/kconfigs/shapes/Kconfig.flex endchoice · line 79
Quoted 7 lines
terraform/oci/kconfigs/shapes/Kconfig.flex +1
-0@@ -73,6 +73,7 @@ endchoice config TERRAFORM_OCI_SHAPE string output yaml + default "VM.Standard.x86.Generic" if TERRAFORM_OCI_SHAPE_VM_STANDARD_X86_GENERIC default "VM.Standard3.Flex" if TERRAFORM_OCI_SHAPE_VM_STANDARD3_FLEX default "VM.Standard.E4.Flex" if TERRAFORM_OCI_SHAPE_VM_STANDARD_E4_FLEX default "VM.Standard.E5.Flex" if TERRAFORM_OCI_SHAPE_VM_STANDARD_E5_FLEXI'm able to select the VM.Standard.x86.Generic shape by going to
Bring up methods -> Node bring up methods
Quoted 7 lines
Choose Terraform then OCI, then
Compute -> OCI shape family
and choose "Generic"
Is that not working?
Oh never mind, I thought Chandan had an issue with using kconfig choice to map to string. If the respective string is already populated my recomendaiton is nonsense :)
Luis
Quoted 37 lines · Luis Chamberlain
Quoted 36 lines · Chuck Lever
Quoted 19 lines · Luis Chamberlain
Quoted 10 lines · Chandan Babu R
The VM.Standard.x86.Generic is another shape available for Oracle Linux kernel developers. This commit adds this shape to the list of available flexible shapes.
Signed-off-by Chandan Babu R <[email protected]>---
Chuck,Kconfig's "choice" construct does not allow "free text" to be entered. Hence, I had to add the new entry as a choice.
You can resolve this as follows?
terraform/oci/kconfigs/shapes/Kconfig.flex +0
-0terraform/oci/kconfigs/shapes/Kconfig.flex endchoice · line 79
Quoted 7 lines
terraform/oci/kconfigs/shapes/Kconfig.flex +1
-0@@ -73,6 +73,7 @@ endchoice config TERRAFORM_OCI_SHAPE string output yaml + default "VM.Standard.x86.Generic" if TERRAFORM_OCI_SHAPE_VM_STANDARD_X86_GENERIC default "VM.Standard3.Flex" if TERRAFORM_OCI_SHAPE_VM_STANDARD3_FLEX default "VM.Standard.E4.Flex" if TERRAFORM_OCI_SHAPE_VM_STANDARD_E4_FLEX default "VM.Standard.E5.Flex" if TERRAFORM_OCI_SHAPE_VM_STANDARD_E5_FLEXI'm able to select the VM.Standard.x86.Generic shape by going to
Bring up methods -> Node bring up methods
Choose Terraform then OCI, then
Compute -> OCI shape family
Quoted 8 lines
Quoted 3 lines
and choose "Generic"
Is that not working?
Oh never mind, I thought Chandan had an issue with using kconfig choice to map to string. If the respective string is already populated my recomendaiton is nonsense :)
Sorry, it was my mistake. I did not check the options under "Generic Shapes".
Sorry once again.
Signature · 1 line
Chandan
Quoted 42 lines · Chandan Babu R
Quoted 41 lines · Luis Chamberlain
Quoted 39 lines · Chuck Lever
Quoted 19 lines · Luis Chamberlain
Quoted 10 lines · Chandan Babu R
The VM.Standard.x86.Generic is another shape available for Oracle Linux kernel developers. This commit adds this shape to the list of available flexible shapes.
Signed-off-by Chandan Babu R <[email protected]>---
Chuck,Kconfig's "choice" construct does not allow "free text" to be entered. Hence, I had to add the new entry as a choice.
You can resolve this as follows?
terraform/oci/kconfigs/shapes/Kconfig.flex +0
-0terraform/oci/kconfigs/shapes/Kconfig.flex endchoice · line 79
Quoted 7 lines
terraform/oci/kconfigs/shapes/Kconfig.flex +1
-0@@ -73,6 +73,7 @@ endchoice config TERRAFORM_OCI_SHAPE string output yaml + default "VM.Standard.x86.Generic" if TERRAFORM_OCI_SHAPE_VM_STANDARD_X86_GENERIC default "VM.Standard3.Flex" if TERRAFORM_OCI_SHAPE_VM_STANDARD3_FLEX default "VM.Standard.E4.Flex" if TERRAFORM_OCI_SHAPE_VM_STANDARD_E4_FLEX default "VM.Standard.E5.Flex" if TERRAFORM_OCI_SHAPE_VM_STANDARD_E5_FLEXI'm able to select the VM.Standard.x86.Generic shape by going to
Bring up methods -> Node bring up methods
Choose Terraform then OCI, then
Compute -> OCI shape family
and choose "Generic"
Is that not working?
Quoted 9 lines
Quoted 4 lines
Oh never mind, I thought Chandan had an issue with using kconfig choice to map to string. If the respective string is already populated my recomendaiton is nonsense :)
Sorry, it was my mistake. I did not check the options under "Generic Shapes".
Sorry once again.
It is perhaps not as obvious as it should be.
Signature · 1 line
Chuck Lever
Quoted 48 lines · Chuck Lever
Quoted 47 lines · Chandan Babu R
Quoted 45 lines · Luis Chamberlain
Quoted 32 lines · Chuck Lever
Quoted 19 lines · Luis Chamberlain
Quoted 10 lines · Chandan Babu R
The VM.Standard.x86.Generic is another shape available for Oracle Linux kernel developers. This commit adds this shape to the list of available flexible shapes.
Signed-off-by Chandan Babu R <[email protected]>---
Chuck,Kconfig's "choice" construct does not allow "free text" to be entered. Hence, I had to add the new entry as a choice.
You can resolve this as follows?
terraform/oci/kconfigs/shapes/Kconfig.flex +0
-0terraform/oci/kconfigs/shapes/Kconfig.flex endchoice · line 79
Quoted 7 lines
terraform/oci/kconfigs/shapes/Kconfig.flex +1
-0@@ -73,6 +73,7 @@ endchoice config TERRAFORM_OCI_SHAPE string output yaml + default "VM.Standard.x86.Generic" if TERRAFORM_OCI_SHAPE_VM_STANDARD_X86_GENERIC default "VM.Standard3.Flex" if TERRAFORM_OCI_SHAPE_VM_STANDARD3_FLEX default "VM.Standard.E4.Flex" if TERRAFORM_OCI_SHAPE_VM_STANDARD_E4_FLEX default "VM.Standard.E5.Flex" if TERRAFORM_OCI_SHAPE_VM_STANDARD_E5_FLEXI'm able to select the VM.Standard.x86.Generic shape by going to
Bring up methods -> Node bring up methods
Quoted 7 lines
Choose Terraform then OCI, then
Compute -> OCI shape family
and choose "Generic"
Is that not working?
Oh never mind, I thought Chandan had an issue with using kconfig choice to map to string. If the respective string is already populated my recomendaiton is nonsense :)
Quoted 6 lines
Quoted 4 lines
Sorry, it was my mistake. I did not check the options under "Generic Shapes".
Sorry once again.
It is perhaps not as obvious as it should be.
The classification of shapes is correct. I somehow missed the "Generic" shape menu entry.
Signature · 1 line
Chandan