Hello,
I’m using Packer to prepare images of Oracle Linux. Then, I use terraform as IaC part.
The packer part is looking good:
echo 'Initializing HashiCorp Packer and required plugins...'
Initializing HashiCorp Packer and required plugins...
+ packer init /tmp/build/ec120179/git_oracle/Packer/builds/linux/azure/oracle-linux
Installed plugin github.com/hashicorp/azure v1.4.3 in "/root/.config/packer/plugins/github.com/hashicorp/azure/packer-plugin-azure_v1.4.3_x5.0_linux_amd64"
+ echo 'Starting the HashiCorp Packer build...'
Starting the HashiCorp Packer build...
+ packer build -force -var-file=/tmp/build/ec120179/git_oracle/Packer/config/northEu/azure-oracle-linux.pkvars.hcl -var-file=/tmp/build/ec120179/git_oracle/Packer/config/northEu/build.pkrvars.hcl -var-file=/tmp/build/ec120179/git_oracle/Packer/config/northEu/ansible.pkrvars.hcl /tmp/build/ec120179/git_oracle/Packer/builds/linux/azure/oracle-linux
azure-arm.agent-source: output will be in this color.
==> azure-arm.agent-source: Running builder ...
==> azure-arm.agent-source: Getting tokens using client secret
==> azure-arm.agent-source: Getting tokens using client secret
azure-arm.agent-source: Creating Azure Resource Manager (ARM) client ...
==> azure-arm.agent-source: the managed image named oracle-linux already exists, but deleting it due to -force flag
==> azure-arm.agent-source: Getting source image id for the deployment ...
==> azure-arm.agent-source: -> SourceImageName: '/subscriptions/xxx/providers/Microsoft.Compute/locations/North Europe/publishers/oracle/ArtifactTypes/vmimage/offers/oracle-database-19-3/skus/oracle-database-19-0904/versions/latest'
==> azure-arm.agent-source: Creating resource group ...
==> azure-arm.agent-source: -> ResourceGroupName : 'pkr-Resource-Group-gofv1s0a61'
==> azure-arm.agent-source: -> Location : 'North Europe'
==> azure-arm.agent-source: -> Tags :
==> azure-arm.agent-source: Validating deployment template ...
==> azure-arm.agent-source: -> ResourceGroupName : 'pkr-Resource-Group-gofv1s0a61'
==> azure-arm.agent-source: -> DeploymentName : 'pkrdpgofv1s0a61'
==> azure-arm.agent-source: Deploying deployment template ...
==> azure-arm.agent-source: -> ResourceGroupName : 'pkr-Resource-Group-gofv1s0a61'
==> azure-arm.agent-source: -> DeploymentName : 'pkrdpgofv1s0a61'
==> azure-arm.agent-source: Getting the VM's IP address ...
==> azure-arm.agent-source: -> ResourceGroupName : 'pkr-Resource-Group-gofv1s0a61'
==> azure-arm.agent-source: -> PublicIPAddressName : 'pkripgofv1s0a61'
==> azure-arm.agent-source: -> NicName : 'pkrnigofv1s0a61'
==> azure-arm.agent-source: -> Network Connection : 'PrivateEndpoint'
==> azure-arm.agent-source: -> IP Address : '10.72.2.4'
==> azure-arm.agent-source: Waiting for SSH to become available...
==> azure-arm.agent-source: Connected to SSH!
==> azure-arm.agent-source: Provisioning with Ansible...
azure-arm.agent-source: Setting up proxy adapter for Ansible....
==> azure-arm.agent-source: Executing Ansible: -playbook -e packer_build_name="agent-source" -e packer_builder_type=azure-arm --ssh-extra-args '-o IdentitiesOnly=yes' -e display_skipped_hosts = false --ssh-extra-args -o HostKeyAlgorithms=+ssh-rsa -e _ssh_private_key_file=/tmp/-key2660295423 -i /tmp/packer-provisioner-3317166104 /tmp/build/ec120179/git_oracle/Packer/configuration/main.yml
azure-arm.agent-source:
azure-arm.agent-source: PLAY [all] *********************************************************************
azure-arm.agent-source:
azure-arm.agent-source: [WARNING]: Platform linux on host default is using the discovered Python
azure-arm.agent-source: TASK [Gathering Facts] *********************************************************
azure-arm.agent-source: interpreter at /usr/bin/python, but future installation of another Python
azure-arm.agent-source: ok: [default]
azure-arm.agent-source: interpreter could change this. See https://docs..com//2.9/referen
azure-arm.agent-source: ce_appendices/interpreter_discovery.html for more information.
azure-arm.agent-source: included: /tmp/build/ec120179/git_oracle/Packer/configuration/roles/base/tasks/redhat.yml for default
azure-arm.agent-source:
azure-arm.agent-source: TASK [base : OracleLinux - Updating the guest operating system.] ***************
azure-arm.agent-source: changed: [default]
azure-arm.agent-source:
azure-arm.agent-source: TASK [base : OracleLinux - Installing additional packages.] ********************
azure-arm.agent-source: changed: [default]
azure-arm.agent-source:
azure-arm.agent-source: TASK [base : OracleLinux - Importing Certificate Authority certificates.] ******
azure-arm.agent-source: changed: [default]
azure-arm.agent-source:
azure-arm.agent-source: TASK [debug] *******************************************************************
azure-arm.agent-source: ok: [default] => {
azure-arm.agent-source: "msg": "OracleLinux"
azure-arm.agent-source: }
azure-arm.agent-source:
azure-arm.agent-source: RUNNING HANDLER [base : RedHat - Updating the certificate authority trust.] ****
azure-arm.agent-source: changed: [default]
azure-arm.agent-source:
azure-arm.agent-source: PLAY RECAP *********************************************************************
azure-arm.agent-source: default : ok=7 changed=4 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0
azure-arm.agent-source:
==> azure-arm.agent-source: Provisioning with shell script: /tmp/packer-shell3881982195
azure-arm.agent-source: WARNING! The waagent service will be stopped.
azure-arm.agent-source: WARNING! All SSH host key pairs will be deleted.
azure-arm.agent-source: WARNING! Cached DHCP leases will be deleted.
azure-arm.agent-source: WARNING! root password will be disabled. You will not be able to login as root.
azure-arm.agent-source: WARNING! /etc/resolv.conf will be deleted.
azure-arm.agent-source: 2023-07-05T08:43:28.890504Z INFO MainThread Examine /proc/net/route for primary interface
azure-arm.agent-source: 2023-07-05T08:43:28.891346Z INFO MainThread Primary interface is [eth0]
==> azure-arm.agent-source: Querying the machine's properties ...
==> azure-arm.agent-source: -> ResourceGroupName : 'pkr-Resource-Group-gofv1s0a61'
==> azure-arm.agent-source: -> ComputeName : 'pkrvmgofv1s0a61'
==> azure-arm.agent-source: -> Managed OS Disk : '/subscriptions/xxxx/resourceGroups/pkr-Resource-Group-gofv1s0a61/providers/Microsoft.Compute/disks/pkrosgofv1s0a61'
==> azure-arm.agent-source: Querying the machine's additional disks properties ...
==> azure-arm.agent-source: -> ResourceGroupName : 'pkr-Resource-Group-gofv1s0a61'
==> azure-arm.agent-source: -> ComputeName : 'pkrvmgofv1s0a61'
==> azure-arm.agent-source: Powering off machine ...
==> azure-arm.agent-source: -> ResourceGroupName : 'pkr-Resource-Group-gofv1s0a61'
==> azure-arm.agent-source: -> ComputeName : 'pkrvmgofv1s0a61'
==> azure-arm.agent-source: -> Compute ResourceGroupName : 'pkr-Resource-Group-gofv1s0a61'
==> azure-arm.agent-source: -> Compute Name : 'pkrvmgofv1s0a61'
==> azure-arm.agent-source: -> Compute Location : 'North Europe'
==> azure-arm.agent-source: Generalizing machine ...
==> azure-arm.agent-source: Capturing image ...
==> azure-arm.agent-source: -> Image ResourceGroupName : 'Packer'
==> azure-arm.agent-source: -> Image Name : 'oracle-linux'
==> azure-arm.agent-source: -> Image Location : 'North Europe'
==> azure-arm.agent-source:
==> azure-arm.agent-source: Deleting Virtual Machine deployment and its attatched resources...
==> azure-arm.agent-source: Adding to deletion queue -> Microsoft.Compute/virtualMachines : 'pkrvmgofv1s0a61'
==> azure-arm.agent-source: Adding to deletion queue -> Microsoft.Network/networkInterfaces : 'pkrnigofv1s0a61'
==> azure-arm.agent-source: Waiting for deletion of all resources...
==> azure-arm.agent-source: Attempting deletion -> Microsoft.Network/networkInterfaces : 'pkrnigofv1s0a61'
==> azure-arm.agent-source: Attempting deletion -> Microsoft.Compute/virtualMachines : 'pkrvmgofv1s0a61'
==> azure-arm.agent-source: Couldn't delete Microsoft.Network/networkInterfaces resource. Will retry.
==> azure-arm.agent-source: Name: pkrnigofv1s0a61
==> azure-arm.agent-source: Attempting deletion -> Microsoft.Network/networkInterfaces : 'pkrnigofv1s0a61'
==> azure-arm.agent-source: Deleting -> Microsoft.Compute/disks : '/subscriptions/xxxx/resourceGroups/pkr-Resource-Group-gofv1s0a61/providers/Microsoft.Compute/disks/pkrosgofv1s0a61'
==> azure-arm.agent-source: Removing the created Deployment object: 'pkrdpgofv1s0a61'
==> azure-arm.agent-source:
==> azure-arm.agent-source: Cleanup requested, deleting resource group ...
==> azure-arm.agent-source: Resource group has been deleted.
==> azure-arm.agent-source: Running post-processor: (type manifest)
Build 'azure-arm.agent-source' finished after 20 minutes 24 seconds.
==> Wait completed after 20 minutes 24 seconds
==> Builds finished. The artifacts of successful builds are:
--> azure-arm.agent-source: Azure.ResourceManagement.VMImage:
OSType: Linux
ManagedImageResourceGroupName: Packer
ManagedImageName: oracle-linux
ManagedImageId: /subscriptions/xxxx/resourceGroups/Packer/providers/Microsoft.Compute/images/oracle-linux
ManagedImageLocation: North Europe
--> azure-arm.agent-source: Azure.ResourceManagement.VMImage:
OSType: Linux
ManagedImageResourceGroupName: Packer
ManagedImageName: oracle-linux
ManagedImageId: /subscriptions/xxxx/resourceGroups/Packer/providers/Microsoft.Compute/images/oracle-linux
ManagedImageLocation: North Europe
Here are the packer files:
oracle-linux.auto.pkrvars.hcl
os_image = "Oracle Database 19.3.0.0"
vm_guest_os_timezone = "Europe/Paris"
vm_guest_os_language = "en-US"
scripts = ["scripts/linux/oracle-linux.sh"]
communicator = "ssh"
image_offer = "oracle-database-19-3"
image_publisher = "oracle"
image_sku = "oracle-database-19-0904"
os_type = "Linux"
vm_size = "Standard_D2_v2"
virtual_network_name = "VNET-NE-10.72.2.0"
virtual_network_resource_group_name = "COMPUTE-LAB-COM"
virtual_network_subnet_name = "SUB-COM"
main_ansible = "/git_oracle/Packer/configuration/main.yml"
role_ansible = "/git_oracle/Packer/configuration/roles"
conf_ansible = "/git_oracle/Packer/configuration/ansible.cfg"
oracle-linux.pkr.hcl
/*
DESCRIPTION:
Microsoft Windows Server 2022 Standard template using the Packer Builder for Azure.
*/
// BLOCK: packer
// The Packer configuration.
packer {
required_version = ">= 1.7.7"
required_plugins {
azure = {
version = ">= v1.0.2"
source = "github.com/hashicorp/azure"
}
}
}
// BLOCK: locals
// Defines the local variables.
locals {
buildtime = formatdate("YYYY-MM-DD hh:mm ZZZ", timestamp())
manifest_date = formatdate("YYYY-MM-DD hh:mm:ss", timestamp())
manifest_path = "${path.cwd}/git_oracle/Packer/manifests/"
}
// BLOCK: source
// Defines the builder configuration blocks.
source "azure-arm" "agent-source" {
location = var.build_location
tenant_id = var.build_tenant_id
subscription_id = var.build_subscription_id
client_id = var.build_client_id
client_secret = var.build_client_secret
communicator = var.communicator
image_offer = var.image_offer
image_publisher = var.image_publisher
image_sku = var.image_sku
managed_image_name = var.build_agent_image_name
managed_image_resource_group_name = var.build_managed_image_resource_group_name
os_type = var.os_type
vm_size = var.vm_size
ssh_username = var.build_username
ssh_password = var.build_password
ssh_port = var.communicator_port
ssh_timeout = var.communicator_timeout
virtual_network_name = var.virtual_network_name
virtual_network_resource_group_name = var.virtual_network_resource_group_name
virtual_network_subnet_name = var.virtual_network_subnet_name
}
build {
sources = ["source.azure-arm.agent-source"]
provisioner "ansible" {
playbook_file = "${path.cwd}${var.main_ansible}"
roles_path = "${path.cwd}${var.role_ansible}"
ansible_env_vars = [
"ANSIBLE_CONFIG=${path.cwd}${var.conf_ansible}"
]
extra_arguments = [
"-e", "display_skipped_hosts = false", "--ssh-extra-args", "-o HostKeyAlgorithms=+ssh-rsa"
]
user = var.build_username
}
/* provisioner "shell" {
execute_command = "echo '${var.build_password}' | {{.Vars}} sudo -E -S sh -eux '{{.Path}}'"
environment_vars = [
"BUILD_USERNAME=${var.build_username}",
"BUILD_KEY=${var.build_key}",
"ANSIBLE_USERNAME=${var.ansible_username}",
"ANSIBLE_KEY=${var.ansible_key}"
]
scripts = formatlist("${path.cwd}/%s", var.scripts)
} */
provisioner "shell" {
execute_command = "chmod +x {{ .Path }}; {{ .Vars }} sudo -E sh '{{ .Path }}'"
inline = [
"/usr/sbin/waagent -force -deprovision && export HISTSIZE=0 && sync"
]
inline_shebang = "/bin/sh -x"
}
post-processor "manifest" {
output = "${local.manifest_path}${local.manifest_date}.json"
strip_path = true
strip_time = true
custom_data = {
ansible_username = var.ansible_username
build_username = var.build_username
buildtime = local.buildtime
}
}
}
(There is a variables.pkr.hcl as well, but not relevant to mention here imo)
There is a build.pkvars.hcl, ansible.pkvars.hcl and azure-oracle-linux.pkvars.hcl, but it’s only variable declaration files.
Once the image is created, I try to deploy a virtual machine to test the image, but terraform is stuck during the creation of the VM.
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# azurerm_linux_virtual_machine.oracle_linux will be created
+ resource "azurerm_linux_virtual_machine" "oracle_linux" {
+ admin_username = "terraform"
+ allow_extension_operations = true
+ computer_name = (known after apply)
+ disable_password_authentication = true
+ extensions_time_budget = "PT1H30M"
+ id = (known after apply)
+ location = "northeurope"
+ max_bid_price = -1
+ name = "pack-orac-dev"
+ network_interface_ids = (known after apply)
+ patch_mode = "ImageDefault"
+ platform_fault_domain = -1
+ priority = "Regular"
+ private_ip_address = (known after apply)
+ private_ip_addresses = (known after apply)
+ provision_vm_agent = true
+ public_ip_address = (known after apply)
+ public_ip_addresses = (known after apply)
+ resource_group_name = "Packer"
+ size = "Standard_A4_v2"
+ source_image_id = "/subscriptions/((redacted))/resourceGroups/Packer/providers/Microsoft.Compute/images/oracle-linux"
+ virtual_machine_id = (known after apply)
+ zone = (known after apply)
+ admin_ssh_key {
+ public_key = "XXX"
+ username = "terraform"
}
+ os_disk {
+ caching = "ReadWrite"
+ disk_size_gb = (known after apply)
+ name = "pack-orac-dev"
+ storage_account_type = "Standard_LRS"
+ write_accelerator_enabled = false
}
}
# azurerm_network_interface.oracle_linux will be created
+ resource "azurerm_network_interface" "oracle_linux" {
+ applied_dns_servers = (known after apply)
+ dns_servers = (known after apply)
+ enable_accelerated_networking = false
+ enable_ip_forwarding = false
+ id = (known after apply)
+ internal_dns_name_label = (known after apply)
+ internal_domain_name_suffix = (known after apply)
+ location = "northeurope"
+ mac_address = (known after apply)
+ name = "pack-orac-dev-nic"
+ private_ip_address = (known after apply)
+ private_ip_addresses = (known after apply)
+ resource_group_name = "Packer"
+ virtual_machine_id = (known after apply)
+ ip_configuration {
+ gateway_load_balancer_frontend_ip_configuration_id = (known after apply)
+ name = "SUB-COM"
+ primary = (known after apply)
+ private_ip_address = (known after apply)
+ private_ip_address_allocation = "Dynamic"
+ private_ip_address_version = "IPv4"
+ subnet_id = "/subscriptions/((redacted))/resourceGroups/COMPUTE-LAB-COM/providers/Microsoft.Network/virtualNetworks/VNET-NE-10.72.2.0/subnets/SUB-COM"
}
}
# random_password.admin_pwd will be created
+ resource "random_password" "admin_pwd" {
+ bcrypt_hash = (sensitive value)
+ id = (known after apply)
+ length = 16
+ lower = true
+ min_lower = 0
+ min_numeric = 0
+ min_special = 0
+ min_upper = 0
+ number = true
+ numeric = true
+ override_special = "!#$%&*()-_=+[]{}<>:?"
+ result = (sensitive value)
+ special = true
+ upper = true
}
Plan: 3 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ vm_ip = (known after apply)
random_password.admin_pwd: Creating...
random_password.admin_pwd: Creation complete after 0s [id=none]
azurerm_network_interface.oracle_linux: Creating...
azurerm_network_interface.oracle_linux: Creation complete after 1s [id=/subscriptions/((redacted))/resourceGroups/Packer/providers/Microsoft.Network/networkInterfaces/pack-orac-dev-nic]
azurerm_linux_virtual_machine.oracle_linux: Creating...
azurerm_linux_virtual_machine.oracle_linux: Still creating... [10s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [20s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [30s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [40s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [50s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [1m0s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [1m10s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [1m20s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [1m30s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [1m40s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [1m50s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [2m0s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [2m10s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [2m20s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [2m30s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [2m40s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [2m50s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [3m0s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [3m10s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [3m20s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [3m30s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [3m40s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [3m50s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [4m0s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [4m10s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [4m20s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [4m30s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [4m40s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [4m50s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [5m0s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [5m10s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [5m20s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [5m30s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [5m40s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [5m50s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [6m0s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [6m10s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [6m20s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [6m30s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [6m40s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [6m50s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [7m0s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [7m10s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [7m20s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [7m30s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [7m40s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [7m50s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [8m0s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [8m10s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [8m20s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [8m30s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [8m40s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [8m50s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [9m0s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [9m10s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [9m20s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [9m30s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [9m40s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [9m50s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [10m0s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [10m10s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [10m20s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [10m30s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [10m40s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [10m50s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [11m0s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [11m10s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [11m20s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [11m30s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [11m40s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [11m50s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [12m0s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [12m10s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [12m20s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [12m30s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [12m40s elapsed]
azurerm_linux_virtual_machine.oracle_linux: Still creating... [12m50s elapsed]
Even if I deploy a vm manually with the image, the deployment keeps ongoing, never succeed, never failed.
If you have any clue to troubleshoot, I could take a look at anything…
Thank you !