Skip to content

Instantly share code, notes, and snippets.

@gbonk
Created March 5, 2018 21:29
Show Gist options
  • Save gbonk/135c5b04853f98b2d0ab9f4048ca999e to your computer and use it in GitHub Desktop.
Save gbonk/135c5b04853f98b2d0ab9f4048ca999e to your computer and use it in GitHub Desktop.
bash-3.2$ export PACKER_LOG=1
bash-3.2$ ./package.sh centos-base
Var-Files = -var-file=/tmp/credentials.json.nGXats
~/Documents/GitHub/devops-application/package/centos-base ~/Documents/GitHub/devops-application/package
2018/03/05 16:26:49 [INFO] Packer version: 1.2.2-dev (304376715d870fe086c4bdcab485e8135a925ce4+CHANGES)
2018/03/05 16:26:49 Packer Target OS/Arch: darwin amd64
2018/03/05 16:26:49 Built with Go Version: go1.9.4
2018/03/05 16:26:49 Detected home directory from env var: /Users/gregory
2018/03/05 16:26:49 Using internal plugin for amazon-ebssurrogate
2018/03/05 16:26:49 Using internal plugin for digitalocean
2018/03/05 16:26:49 Using internal plugin for parallels-iso
2018/03/05 16:26:49 Using internal plugin for alicloud-ecs
2018/03/05 16:26:49 Using internal plugin for null
2018/03/05 16:26:49 Using internal plugin for parallels-pvm
2018/03/05 16:26:49 Using internal plugin for amazon-ebsvolume
2018/03/05 16:26:49 Using internal plugin for file
2018/03/05 16:26:49 Using internal plugin for oracle-oci
2018/03/05 16:26:49 Using internal plugin for virtualbox-ovf
2018/03/05 16:26:49 Using internal plugin for vmware-iso
2018/03/05 16:26:49 Using internal plugin for vmware-vmx
2018/03/05 16:26:49 Using internal plugin for azure-arm
2018/03/05 16:26:49 Using internal plugin for cloudstack
2018/03/05 16:26:49 Using internal plugin for lxc
2018/03/05 16:26:49 Using internal plugin for profitbricks
2018/03/05 16:26:49 Using internal plugin for amazon-ebs
2018/03/05 16:26:49 Using internal plugin for docker
2018/03/05 16:26:49 Using internal plugin for hyperv-vmcx
2018/03/05 16:26:49 Using internal plugin for triton
2018/03/05 16:26:49 Using internal plugin for amazon-chroot
2018/03/05 16:26:49 Using internal plugin for hyperv-iso
2018/03/05 16:26:49 Using internal plugin for qemu
2018/03/05 16:26:49 Using internal plugin for oracle-classic
2018/03/05 16:26:49 Using internal plugin for virtualbox-iso
2018/03/05 16:26:49 Using internal plugin for amazon-instance
2018/03/05 16:26:49 Using internal plugin for lxd
2018/03/05 16:26:49 Using internal plugin for oneandone
2018/03/05 16:26:49 Using internal plugin for openstack
2018/03/05 16:26:49 Using internal plugin for googlecompute
2018/03/05 16:26:49 Using internal plugin for ncloud
2018/03/05 16:26:49 Using internal plugin for scaleway
2018/03/05 16:26:49 Using internal plugin for powershell
2018/03/05 16:26:49 Using internal plugin for puppet-server
2018/03/05 16:26:49 Using internal plugin for ansible
2018/03/05 16:26:49 Using internal plugin for chef-solo
2018/03/05 16:26:49 Using internal plugin for shell
2018/03/05 16:26:49 Using internal plugin for ansible-local
2018/03/05 16:26:49 Using internal plugin for chef-client
2018/03/05 16:26:49 Using internal plugin for salt-masterless
2018/03/05 16:26:49 Using internal plugin for windows-restart
2018/03/05 16:26:49 Using internal plugin for file
2018/03/05 16:26:49 Using internal plugin for puppet-masterless
2018/03/05 16:26:49 Using internal plugin for windows-shell
2018/03/05 16:26:49 Using internal plugin for converge
2018/03/05 16:26:49 Using internal plugin for shell-local
2018/03/05 16:26:49 Using internal plugin for shell-local
2018/03/05 16:26:49 Using internal plugin for vsphere-template
2018/03/05 16:26:49 Using internal plugin for artifice
2018/03/05 16:26:49 Using internal plugin for atlas
2018/03/05 16:26:49 Using internal plugin for compress
2018/03/05 16:26:49 Using internal plugin for docker-push
2018/03/05 16:26:49 Using internal plugin for googlecompute-export
2018/03/05 16:26:49 Using internal plugin for checksum
2018/03/05 16:26:49 Using internal plugin for docker-tag
2018/03/05 16:26:49 Using internal plugin for manifest
2018/03/05 16:26:49 Using internal plugin for alicloud-import
2018/03/05 16:26:49 Using internal plugin for docker-import
2018/03/05 16:26:49 Using internal plugin for docker-save
2018/03/05 16:26:49 Using internal plugin for amazon-import
2018/03/05 16:26:49 Using internal plugin for vagrant
2018/03/05 16:26:49 Using internal plugin for vagrant-cloud
2018/03/05 16:26:49 Using internal plugin for vsphere
2018/03/05 16:26:49 Detected home directory from env var: /Users/gregory
2018/03/05 16:26:49 Attempting to open config file: /Users/gregory/.packerconfig
2018/03/05 16:26:49 [WARN] Config file doesn't exist: /Users/gregory/.packerconfig
2018/03/05 16:26:49 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[docker:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker hyperv-iso:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso virtualbox-iso:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso amazon-ebssurrogate:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate parallels-iso:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso null:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null vmware-iso:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso hyperv-vmcx:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-vmcx triton:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton alicloud-ecs:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs amazon-ebsvolume:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume oracle-oci:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-oci lxc:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxc profitbricks:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks cloudstack:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack amazon-instance:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance googlecompute:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute ncloud:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-ncloud virtualbox-ovf:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf azure-arm:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm digitalocean:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean parallels-pvm:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm oneandone:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone openstack:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack vmware-vmx:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx qemu:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu scaleway:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-scaleway file:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file amazon-ebs:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs amazon-chroot:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot oracle-classic:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-classic lxd:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxd] PostProcessors:map[vsphere:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere docker-push:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push googlecompute-export:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export docker-tag:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag manifest:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest amazon-import:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import vagrant:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant compress:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress checksum:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum alicloud-import:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-alicloud-import shell-local:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local vsphere-template:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere-template artifice:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice docker-import:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import atlas:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas docker-save:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save vagrant-cloud:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud] Provisioners:map[converge:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge shell-local:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local powershell:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell shell:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell ansible-local:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local windows-shell:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell chef-solo:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo salt-masterless:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless puppet-masterless:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless file:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file puppet-server:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server ansible:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible chef-client:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client windows-restart:/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart]}
2018/03/05 16:26:49 Detected home directory from env var: /Users/gregory
2018/03/05 16:26:49 Setting cache directory: /Users/gregory/Documents/GitHub/devops-application/package/centos-base/packer_cache
2018/03/05 16:26:49 Detected home directory from env var: /Users/gregory
2018/03/05 16:26:49 Loading builder: azure-arm
2018/03/05 16:26:49 Plugin could not be found. Checking same directory as executable.
2018/03/05 16:26:49 Current exe path: /Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer
2018/03/05 16:26:49 Creating plugin client for path: /Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer
2018/03/05 16:26:49 Starting plugin: /Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer []string{"/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer", "plugin", "packer-builder-azure-arm"}
2018/03/05 16:26:49 Waiting for RPC address for: /Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer
2018/03/05 16:26:49 packer: 2018/03/05 16:26:49 [INFO] Packer version: 1.2.2-dev (304376715d870fe086c4bdcab485e8135a925ce4+CHANGES)
2018/03/05 16:26:49 packer: 2018/03/05 16:26:49 Packer Target OS/Arch: darwin amd64
2018/03/05 16:26:49 packer: 2018/03/05 16:26:49 Built with Go Version: go1.9.4
2018/03/05 16:26:49 packer: 2018/03/05 16:26:49 Detected home directory from env var: /Users/gregory
2018/03/05 16:26:49 packer: 2018/03/05 16:26:49 Attempting to open config file: /Users/gregory/.packerconfig
2018/03/05 16:26:49 packer: 2018/03/05 16:26:49 [WARN] Config file doesn't exist: /Users/gregory/.packerconfig
2018/03/05 16:26:49 packer: 2018/03/05 16:26:49 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2018/03/05 16:26:49 packer: 2018/03/05 16:26:49 Detected home directory from env var: /Users/gregory
2018/03/05 16:26:49 packer: 2018/03/05 16:26:49 Setting cache directory: /Users/gregory/Documents/GitHub/devops-application/package/centos-base/packer_cache
2018/03/05 16:26:49 packer: 2018/03/05 16:26:49 Detected home directory from env var: /Users/gregory
2018/03/05 16:26:49 packer: 2018/03/05 16:26:49 args: []string{"packer-builder-azure-arm"}
2018/03/05 16:26:49 packer: 2018/03/05 16:26:49 Plugin minimum port: 10000
2018/03/05 16:26:49 packer: 2018/03/05 16:26:49 Plugin maximum port: 25000
2018/03/05 16:26:49 packer: 2018/03/05 16:26:49 Plugin address: unix /var/folders/5m/gbyv5g9s2wzccv1r473vq4100000gn/T/packer-plugin161518090
2018/03/05 16:26:49 packer: 2018/03/05 16:26:49 Waiting for connection...
2018/03/05 16:26:49 packer: 2018/03/05 16:26:49 Serving a plugin connection...
2018/03/05 16:26:49 Loading provisioner: shell
2018/03/05 16:26:49 Plugin could not be found. Checking same directory as executable.
2018/03/05 16:26:49 Current exe path: /Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer
2018/03/05 16:26:49 Creating plugin client for path: /Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer
2018/03/05 16:26:49 Starting plugin: /Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer []string{"/Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer", "plugin", "packer-provisioner-shell"}
2018/03/05 16:26:49 Waiting for RPC address for: /Users/gregory/Documents/GitHub/devops-application/tooling/bin/packer
2018/03/05 16:26:49 packer: 2018/03/05 16:26:49 [INFO] Packer version: 1.2.2-dev (304376715d870fe086c4bdcab485e8135a925ce4+CHANGES)
2018/03/05 16:26:49 packer: 2018/03/05 16:26:49 Packer Target OS/Arch: darwin amd64
2018/03/05 16:26:49 packer: 2018/03/05 16:26:49 Built with Go Version: go1.9.4
2018/03/05 16:26:49 packer: 2018/03/05 16:26:49 Detected home directory from env var: /Users/gregory
2018/03/05 16:26:49 packer: 2018/03/05 16:26:49 Attempting to open config file: /Users/gregory/.packerconfig
2018/03/05 16:26:49 packer: 2018/03/05 16:26:49 [WARN] Config file doesn't exist: /Users/gregory/.packerconfig
2018/03/05 16:26:49 packer: 2018/03/05 16:26:49 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2018/03/05 16:26:49 packer: 2018/03/05 16:26:49 Detected home directory from env var: /Users/gregory
2018/03/05 16:26:49 packer: 2018/03/05 16:26:49 Setting cache directory: /Users/gregory/Documents/GitHub/devops-application/package/centos-base/packer_cache
2018/03/05 16:26:49 packer: 2018/03/05 16:26:49 Detected home directory from env var: /Users/gregory
2018/03/05 16:26:49 packer: 2018/03/05 16:26:49 args: []string{"packer-provisioner-shell"}
2018/03/05 16:26:49 packer: 2018/03/05 16:26:49 Plugin minimum port: 10000
2018/03/05 16:26:49 packer: 2018/03/05 16:26:49 Plugin maximum port: 25000
2018/03/05 16:26:49 packer: 2018/03/05 16:26:49 Plugin address: unix /var/folders/5m/gbyv5g9s2wzccv1r473vq4100000gn/T/packer-plugin473604758
2018/03/05 16:26:49 packer: 2018/03/05 16:26:49 Waiting for connection...
2018/03/05 16:26:49 packer: 2018/03/05 16:26:49 Serving a plugin connection...
2018/03/05 16:26:49 ui: azure-arm output will be in this color.
2018/03/05 16:26:49 ui:
2018/03/05 16:26:49 Build debug mode: false
2018/03/05 16:26:49 Force build: false
2018/03/05 16:26:49 On error:
2018/03/05 16:26:49 Preparing build: azure-arm
azure-arm output will be in this color.
2018/03/05 16:26:50 Waiting on builds to complete...
2018/03/05 16:26:50 Starting build run: azure-arm
2018/03/05 16:26:50 Running builder: azure-arm
2018/03/05 16:26:50 [INFO] (telemetry) Starting builder azure-arm
2018/03/05 16:26:50 ui: ==> azure-arm: Running builder ...
==> azure-arm: Running builder ...
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 :: Configuration
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 ClientID=112b9575-aa1b-4c57-b76b-6faab7041720
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 ClientSecret=************************************
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 ObjectID=
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 TenantID=0f4618be-f39c-4b96-a438-6beecbf48e27
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 SubscriptionID=684e7cc7-152c-4096-be71-3918b80a90fa
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 CaptureNamePrefix=
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 CaptureContainerName=
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 ImagePublisher=cloudera
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 ImageOffer=cloudera-centos-os
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 ImageSku=6_8
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 ImageVersion=2.0.4
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 ImageUrl=
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 CustomManagedImageResourceGroupName=
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 CustomManagedImageName=
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 Location=eastus2
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 VMSize=Standard_A1
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 ManagedImageResourceGroupName=vmi-2.21.12
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 ManagedImageName=image-cloudera-68
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 ManagedImageStorageAccountType=
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 ResourceGroupName=
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 StorageAccount=
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 TempComputeName=
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 TempResourceGroupName=
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 BuildResourceGroupName=
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 CloudEnvironmentName=Public
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 VirtualNetworkName=
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 VirtualNetworkSubnetName=
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 VirtualNetworkResourceGroupName=
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 CustomDataFile=
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 OSType=Linux
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 PlanName=
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 PlanProduct=
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 PlanPublisher=
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 PlanPromotionCode=
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 UserName=packer
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 Password=********************************
2018/03/05 16:26:50 ui: azure-arm: Creating Azure Resource Manager (ARM) client ...
azure-arm: Creating Azure Resource Manager (ARM) client ...
2018/03/05 16:26:50 packer: 2018/03/05 16:26:50 Azure request body="" method="GET" request="https://management.azure.com/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourcegroups/vmi-2.21.12?api-version=2016-09-01"
2018/03/05 16:26:51 packer: 2018/03/05 16:26:51 Azure response method="GET" request="https://management.azure.com/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourcegroups/vmi-2.21.12?api-version=2016-09-01" x-ms-request-id="5480882b-f57b-4981-8ff0-a37898ef7bcb" body="{\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/vmi-2.21.12\",\"name\":\"vmi-2.21.12\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" status="200 OK"
2018/03/05 16:26:51 packer: 2018/03/05 16:26:51 Azure response status="200 OK" method="GET" request="https://management.azure.com/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourcegroups/vmi-2.21.12?api-version=2016-09-01" x-ms-request-id="5480882b-f57b-4981-8ff0-a37898ef7bcb" body="{\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/vmi-2.21.12\",\"name\":\"vmi-2.21.12\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}"
2018/03/05 16:26:51 packer: 2018/03/05 16:26:51 Azure request body="" method="GET" request="https://management.azure.com/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/vmi-2.21.12/providers/Microsoft.Compute/images/image-cloudera-68?api-version=2016-04-30-preview"
2018/03/05 16:26:51 packer: 2018/03/05 16:26:51 Azure response x-ms-request-id="aa98ffc5-b77e-41da-bce6-07fb0bc4d208" body="{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource 'Microsoft.Compute/images/image-cloudera-68' under resource group 'vmi-2.21.12' was not found.\"}}" status="404 Not Found" method="GET" request="https://management.azure.com/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/vmi-2.21.12/providers/Microsoft.Compute/images/image-cloudera-68?api-version=2016-04-30-preview"
2018/03/05 16:26:51 packer: 2018/03/05 16:26:51 Azure response request="https://management.azure.com/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/vmi-2.21.12/providers/Microsoft.Compute/images/image-cloudera-68?api-version=2016-04-30-preview" x-ms-request-id="aa98ffc5-b77e-41da-bce6-07fb0bc4d208" body="{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource 'Microsoft.Compute/images/image-cloudera-68' under resource group 'vmi-2.21.12' was not found.\"}}" status="404 Not Found" method="GET"
2018/03/05 16:26:51 packer: 2018/03/05 16:26:51 Azure request method="HEAD" request="https://management.azure.com/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourcegroups/packer-Resource-Group-dm3jwqkww5?api-version=2016-09-01" body=""
2018/03/05 16:26:51 packer: 2018/03/05 16:26:51 Azure response status="404 Not Found" method="HEAD" request="https://management.azure.com/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourcegroups/packer-Resource-Group-dm3jwqkww5?api-version=2016-09-01" x-ms-request-id="794a9cdb-1406-43c6-856c-043f4d3e7128" body=""
2018/03/05 16:26:51 packer: 2018/03/05 16:26:51 Azure response status="404 Not Found" method="HEAD" request="https://management.azure.com/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourcegroups/packer-Resource-Group-dm3jwqkww5?api-version=2016-09-01" x-ms-request-id="794a9cdb-1406-43c6-856c-043f4d3e7128" body=""
2018/03/05 16:26:51 ui: ==> azure-arm: Creating resource group ...
==> azure-arm: Creating resource group ...
2018/03/05 16:26:51 ui: ==> azure-arm: -> ResourceGroupName : 'packer-Resource-Group-dm3jwqkww5'
==> azure-arm: -> ResourceGroupName : 'packer-Resource-Group-dm3jwqkww5'
2018/03/05 16:26:51 ui: ==> azure-arm: -> Location : 'eastus2'
==> azure-arm: -> Location : 'eastus2'
2018/03/05 16:26:51 ui: ==> azure-arm: -> Tags :
==> azure-arm: -> Tags :
2018/03/05 16:26:51 ui: ==> azure-arm: ->> scm-branch : master
==> azure-arm: ->> scm-branch : master
2018/03/05 16:26:51 ui: ==> azure-arm: ->> create-timestamp : 2018-03-05T21:26:49Z
==> azure-arm: ->> create-timestamp : 2018-03-05T21:26:49Z
2018/03/05 16:26:51 ui: ==> azure-arm: ->> create-user : Gregory Bonk
==> azure-arm: ->> create-user : Gregory Bonk
2018/03/05 16:26:51 ui: ==> azure-arm: ->> Name : Building the Centos Base Server
==> azure-arm: ->> Name : Building the Centos Base Server
2018/03/05 16:26:51 ui: ==> azure-arm: ->> role : centos-base-server
==> azure-arm: ->> role : centos-base-server
2018/03/05 16:26:51 ui: ==> azure-arm: ->> scm-id : 3c18576b60ce5a6b2ecb5baf9dca63bef8330489
==> azure-arm: ->> scm-id : 3c18576b60ce5a6b2ecb5baf9dca63bef8330489
2018/03/05 16:26:51 packer: 2018/03/05 16:26:51 Azure request method="PUT" request="https://management.azure.com/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourcegroups/packer-Resource-Group-dm3jwqkww5?api-version=2016-09-01" body="{\"location\":\"eastus2\",\"tags\":{\"Name\":\"Building the Centos Base Server\",\"create-timestamp\":\"2018-03-05T21:26:49Z\",\"create-user\":\"Gregory Bonk\",\"role\":\"centos-base-server\",\"scm-branch\":\"master\",\"scm-id\":\"3c18576b60ce5a6b2ecb5baf9dca63bef8330489\"}}"
2018/03/05 16:26:51 packer: 2018/03/05 16:26:51 Azure response status="201 Created" method="PUT" request="https://management.azure.com/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourcegroups/packer-Resource-Group-dm3jwqkww5?api-version=2016-09-01" x-ms-request-id="00bf0ddf-7e31-4a81-9584-75547ccbb702" body="{\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5\",\"name\":\"packer-Resource-Group-dm3jwqkww5\",\"location\":\"eastus2\",\"tags\":{\"Name\":\"Building the Centos Base Server\",\"create-timestamp\":\"2018-03-05T21:26:49Z\",\"create-user\":\"Gregory Bonk\",\"role\":\"centos-base-server\",\"scm-branch\":\"master\",\"scm-id\":\"3c18576b60ce5a6b2ecb5baf9dca63bef8330489\"},\"properties\":{\"provisioningState\":\"Succeeded\"}}"
2018/03/05 16:26:51 packer: 2018/03/05 16:26:51 Azure response status="201 Created" method="PUT" request="https://management.azure.com/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourcegroups/packer-Resource-Group-dm3jwqkww5?api-version=2016-09-01" x-ms-request-id="00bf0ddf-7e31-4a81-9584-75547ccbb702" body="{\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5\",\"name\":\"packer-Resource-Group-dm3jwqkww5\",\"location\":\"eastus2\",\"tags\":{\"Name\":\"Building the Centos Base Server\",\"create-timestamp\":\"2018-03-05T21:26:49Z\",\"create-user\":\"Gregory Bonk\",\"role\":\"centos-base-server\",\"scm-branch\":\"master\",\"scm-id\":\"3c18576b60ce5a6b2ecb5baf9dca63bef8330489\"},\"properties\":{\"provisioningState\":\"Succeeded\"}}"
2018/03/05 16:26:51 ui: ==> azure-arm: Validating deployment template ...
==> azure-arm: Validating deployment template ...
2018/03/05 16:26:51 ui: ==> azure-arm: -> ResourceGroupName : 'packer-Resource-Group-dm3jwqkww5'
==> azure-arm: -> ResourceGroupName : 'packer-Resource-Group-dm3jwqkww5'
2018/03/05 16:26:51 ui: ==> azure-arm: -> DeploymentName : 'pkrdpdm3jwqkww5'
==> azure-arm: -> DeploymentName : 'pkrdpdm3jwqkww5'
2018/03/05 16:26:51 packer: 2018/03/05 16:26:51 Azure request body="{\"properties\":{\"template\":{\"$schema\":\"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json\",\"contentVersion\":\"1.0.0.0\",\"parameters\":{\"adminPassword\":{\"type\":\"string\"},\"adminUsername\":{\"type\":\"string\"},\"dnsNameForPublicIP\":{\"type\":\"string\"},\"osDiskName\":{\"type\":\"string\"},\"storageAccountBlobEndpoint\":{\"type\":\"string\"},\"vmName\":{\"type\":\"string\"},\"vmSize\":{\"type\":\"string\"}},\"resources\":[{\"apiVersion\":\"[variables('publicIPAddressApiVersion')]\",\"location\":\"[variables('location')]\",\"name\":\"[variables('publicIPAddressName')]\",\"properties\":{\"dnsSettings\":{\"domainNameLabel\":\"[parameters('dnsNameForPublicIP')]\"},\"publicIPAllocationMethod\":\"[variables('publicIPAddressType')]\"},\"tags\":{\"Name\":\"Building the Centos Base Server\",\"create-timestamp\":\"2018-03-05T21:26:49Z\",\"create-user\":\"Gregory Bonk\",\"role\":\"centos-base-server\",\"scm-branch\":\"master\",\"scm-id\":\"3c18576b60ce5a6b2ecb5baf9dca63bef8330489\"},\"type\":\"Microsoft.Network/publicIPAddresses\"},{\"apiVersion\":\"[variables('virtualNetworksApiVersion')]\",\"location\":\"[variables('location')]\",\"name\":\"[variables('virtualNetworkName')]\",\"properties\":{\"addressSpace\":{\"addressPrefixes\":[\"[variables('addressPrefix')]\"]},\"subnets\":[{\"name\":\"[variables('subnetName')]\",\"properties\":{\"addressPrefix\":\"[variables('subnetAddressPrefix')]\"}}]},\"tags\":{\"Name\":\"Building the Centos Base Server\",\"create-timestamp\":\"2018-03-05T21:26:49Z\",\"create-user\":\"Gregory Bonk\",\"role\":\"centos-base-server\",\"scm-branch\":\"master\",\"scm-id\":\"3c18576b60ce5a6b2ecb5baf9dca63bef8330489\"},\"type\":\"Microsoft.Network/virtualNetworks\"},{\"apiVersion\":\"[variables('networkInterfacesApiVersion')]\",\"dependsOn\":[\"[concat('Microsoft.Network/publicIPAddresses/', variables('publicIPAddressName'))]\",\"[concat('Microsoft.Network/virtualNetworks/', variables('virtualNetworkName'))]\"],\"location\":\"[variables('location')]\",\"name\":\"[variables('nicName')]\",\"properties\":{\"ipConfigurations\":[{\"name\":\"ipconfig\",\"properties\":{\"privateIPAllocationMethod\":\"Dynamic\",\"publicIPAddress\":{\"id\":\"[resourceId('Microsoft.Network/publicIPAddresses', variables('publicIPAddressName'))]\"},\"subnet\":{\"id\":\"[variables('subnetRef')]\"}}}]},\"tags\":{\"Name\":\"Building the Centos Base Server\",\"create-timestamp\":\"2018-03-05T21:26:49Z\",\"create-user\":\"Gregory Bonk\",\"role\":\"centos-base-server\",\"scm-branch\":\"master\",\"scm-id\":\"3c18576b60ce5a6b2ecb5baf9dca63bef8330489\"},\"type\":\"Microsoft.Network/networkInterfaces\"},{\"apiVersion\":\"[variables('apiVersion')]\",\"dependsOn\":[\"[concat('Microsoft.Network/networkInterfaces/', variables('nicName'))]\"],\"location\":\"[variables('location')]\",\"name\":\"[parameters('vmName')]\",\"properties\":{\"diagnosticsProfile\":{\"bootDiagnostics\":{\"enabled\":false}},\"hardwareProfile\":{\"vmSize\":\"[parameters('vmSize')]\"},\"networkProfile\":{\"networkInterfaces\":[{\"id\":\"[resourceId('Microsoft.Network/networkInterfaces', variables('nicName'))]\"}]},\"osProfile\":{\"adminPassword\":\"[parameters('adminPassword')]\",\"adminUsername\":\"[parameters('adminUsername')]\",\"computerName\":\"[parameters('vmName')]\",\"linuxConfiguration\":{\"ssh\":{\"publicKeys\":[{\"keyData\":\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC5uLEl0YGgDuvS3RKKu2SagBzxqyMPX4Up8iaRu/YQdAMtBi424bXJMzgsXL+5tgXE0QgCJY3J6bleDhJ25RQzkAzQqvEls75wKEgb1BRPpNLBxRnr0ZsZlUXhrIHO6Q5sP+wTWj2LhT/tUYELM7OygMJfMNMtPrFsLuJK65XSDG6mmuuOEycAvkeJKen4sHY9mPZbfWcHTdvn6uEoSXMkOd18e8bOpgkRhJHiVajOv28IZSIYNSX7YkubReo9qJxDkmyG9C5f/cmtHf99JEtwEOVDttmvEjrLa288rmW0RGHxgLx1QR4lcey9yvrLDiHqvvcBQ1rKW7W580GMdELf packer Azure Deployment2018-03-05T16:26:50-05:00\",\"path\":\"[variables('sshKeyPath')]\"}]}}},\"storageProfile\":{\"imageReference\":{\"offer\":\"cloudera-centos-os\",\"publisher\":\"cloudera\",\"sku\":\"6_8\",\"version\":\"2.0.4\"},\"osDisk\":{\"caching\":\"ReadWrite\",\"createOption\":\"fromImage\",\"managedDisk\":{\"storageAccountType\":\"Standard_LRS\"},\"name\":\"osdisk\",\"osType\":\"Linux\"}}},\"tags\":{\"Name\":\"Building the Centos Base Server\",\"create-timestamp\":\"2018-03-05T21:26:49Z\",\"create-user\":\"Gregory Bonk\",\"role\":\"centos-base-server\",\"scm-branch\":\"master\",\"scm-id\":\"3c18576b60ce5a6b2ecb5baf9dca63bef8330489\"},\"type\":\"Microsoft.Compute/virtualMachines\"}],\"variables\":{\"addressPrefix\":\"10.0.0.0/16\",\"apiVersion\":\"2017-03-30\",\"location\":\"[resourceGroup().location]\",\"managedDiskApiVersion\":\"2017-03-30\",\"networkInterfacesApiVersion\":\"2017-04-01\",\"nicName\":\"packerNic\",\"publicIPAddressApiVersion\":\"2017-04-01\",\"publicIPAddressName\":\"packerPublicIP\",\"publicIPAddressType\":\"Dynamic\",\"sshKeyPath\":\"[concat('/home/',parameters('adminUsername'),'/.ssh/authorized_keys')]\",\"subnetAddressPrefix\":\"10.0.0.0/24\",\"subnetName\":\"packerSubnet\",\"subnetRef\":\"[concat(variables('vnetID'),'/subnets/',variables('subnetName'))]\",\"virtualNetworkName\":\"packerNetwork\",\"virtualNetworkResourceGroup\":\"[resourceGroup().name]\",\"virtualNetworksApiVersion\":\"2017-04-01\",\"vmStorageAccountContainerName\":\"images\",\"vnetID\":\"[resourceId(variables('virtualNetworkResourceGroup'), 'Microsoft.Network/virtualNetworks', variables('virtualNetworkName'))]\"}},\"parameters\":{\"adminPassword\":{\"value\":\"CyOYJmLBpcOPxTCgV07fVixoPE1tHn0s\"},\"adminUsername\":{\"value\":\"packer\"},\"dnsNameForPublicIP\":{\"value\":\"pkrvmdm3jwqkww5\"},\"osDiskName\":{\"value\":\"pkrosdm3jwqkww5\"},\"storageAccountBlobEndpoint\":{\"value\":\"\"},\"vmName\":{\"value\":\"pkrvmdm3jwqkww5\"},\"vmSize\":{\"value\":\"Standard_A1\"}},\"mode\":\"Incremental\"}}" method="POST" request="https://management.azure.com/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourcegroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Resources/deployments/pkrdpdm3jwqkww5/validate?api-version=2016-09-01"
2018/03/05 16:26:53 packer: 2018/03/05 16:26:53 Azure response status="200 OK" method="POST" request="https://management.azure.com/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourcegroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Resources/deployments/pkrdpdm3jwqkww5/validate?api-version=2016-09-01" x-ms-request-id="349ef0ed-f388-41c2-a518-af43ee812a3f" body="{\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Resources/deployments/pkrdpdm3jwqkww5\",\"name\":\"pkrdpdm3jwqkww5\",\"properties\":{\"templateHash\":\"362132652862380133\",\"parameters\":{\"adminPassword\":{\"type\":\"String\",\"value\":\"CyOYJmLBpcOPxTCgV07fVixoPE1tHn0s\"},\"adminUsername\":{\"type\":\"String\",\"value\":\"packer\"},\"dnsNameForPublicIP\":{\"type\":\"String\",\"value\":\"pkrvmdm3jwqkww5\"},\"osDiskName\":{\"type\":\"String\",\"value\":\"pkrosdm3jwqkww5\"},\"storageAccountBlobEndpoint\":{\"type\":\"String\",\"value\":\"\"},\"vmName\":{\"type\":\"String\",\"value\":\"pkrvmdm3jwqkww5\"},\"vmSize\":{\"type\":\"String\",\"value\":\"Standard_A1\"}},\"mode\":\"Incremental\",\"provisioningState\":\"Succeeded\",\"timestamp\":\"2018-03-05T21:26:52.8197462Z\",\"duration\":\"PT0S\",\"correlationId\":\"349ef0ed-f388-41c2-a518-af43ee812a3f\",\"providers\":[{\"namespace\":\"Microsoft.Network\",\"resourceTypes\":[{\"resourceType\":\"publicIPAddresses\",\"locations\":[\"eastus2\"]},{\"resourceType\":\"virtualNetworks\",\"locations\":[\"eastus2\"]},{\"resourceType\":\"networkInterfaces\",\"locations\":[\"eastus2\"]}]},{\"namespace\":\"Microsoft.Compute\",\"resourceTypes\":[{\"resourceType\":\"virtualMachines\",\"locations\":[\"eastus2\"]}]}],\"dependencies\":[{\"dependsOn\":[{\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Network/publicIPAddresses/packerPublicIP\",\"resourceType\":\"Microsoft.Network/publicIPAddresses\",\"resourceName\":\"packerPublicIP\"},{\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Network/virtualNetworks/packerNetwork\",\"resourceType\":\"Microsoft.Network/virtualNetworks\",\"resourceName\":\"packerNetwork\"}],\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Network/networkInterfaces/packerNic\",\"resourceType\":\"Microsoft.Network/networkInterfaces\",\"resourceName\":\"packerNic\"},{\"dependsOn\":[{\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Network/networkInterfaces/packerNic\",\"resourceType\":\"Microsoft.Network/networkInterfaces\",\"resourceName\":\"packerNic\"}],\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Compute/virtualMachines/pkrvmdm3jwqkww5\",\"resourceType\":\"Microsoft.Compute/virtualMachines\",\"resourceName\":\"pkrvmdm3jwqkww5\"}],\"validatedResources\":[{\"apiVersion\":\"2017-04-01\",\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Network/publicIPAddresses/packerPublicIP\",\"name\":\"packerPublicIP\",\"type\":\"Microsoft.Network/publicIPAddresses\",\"location\":\"eastus2\",\"tags\":{\"Name\":\"Building the Centos Base Server\",\"create-timestamp\":\"2018-03-05T21:26:49Z\",\"create-user\":\"Gregory Bonk\",\"role\":\"centos-base-server\",\"scm-branch\":\"master\",\"scm-id\":\"3c18576b60ce5a6b2ecb5baf9dca63bef8330489\"},\"properties\":{\"dnsSettings\":{\"domainNameLabel\":\"pkrvmdm3jwqkww5\"},\"publicIPAllocationMethod\":\"Dynamic\"}},{\"apiVersion\":\"2017-04-01\",\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Network/virtualNetworks/packerNetwork\",\"name\":\"packerNetwork\",\"type\":\"Microsoft.Network/virtualNetworks\",\"location\":\"eastus2\",\"tags\":{\"Name\":\"Building the Centos Base Server\",\"create-timestamp\":\"2018-03-05T21:26:49Z\",\"create-user\":\"Gregory Bonk\",\"role\":\"centos-base-server\",\"scm-branch\":\"master\",\"scm-id\":\"3c18576b60ce5a6b2ecb5baf9dca63bef8330489\"},\"properties\":{\"addressSpace\":{\"addressPrefixes\":[\"10.0.0.0/16\"]},\"subnets\":[{\"name\":\"packerSubnet\",\"properties\":{\"addressPrefix\":\"10.0.0.0/24\"}}]}},{\"dependsOn\":[\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Network/publicIPAddresses/packerPublicIP\",\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Network/virtualNetworks/packerNetwork\"],\"apiVersion\":\"2017-04-01\",\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Network/networkInterfaces/packerNic\",\"name\":\"packerNic\",\"type\":\"Microsoft.Network/networkInterfaces\",\"location\":\"eastus2\",\"tags\":{\"Name\":\"Building the Centos Base Server\",\"create-timestamp\":\"2018-03-05T21:26:49Z\",\"create-user\":\"Gregory Bonk\",\"role\":\"centos-base-server\",\"scm-branch\":\"master\",\"scm-id\":\"3c18576b60ce5a6b2ecb5baf9dca63bef8330489\"},\"properties\":{\"ipConfigurations\":[{\"name\":\"ipconfig\",\"properties\":{\"privateIPAllocationMethod\":\"Dynamic\",\"publicIPAddress\":{\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Network/publicIPAddresses/packerPublicIP\"},\"subnet\":{\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Network/virtualNetworks/packerNetwork/subnets/packerSubnet\"}}}]}},{\"dependsOn\":[\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Network/networkInterfaces/packerNic\"],\"apiVersion\":\"2017-03-30\",\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Compute/virtualMachines/pkrvmdm3jwqkww5\",\"name\":\"pkrvmdm3jwqkww5\",\"type\":\"Microsoft.Compute/virtualMachines\",\"location\":\"eastus2\",\"tags\":{\"Name\":\"Building the Centos Base Server\",\"create-timestamp\":\"2018-03-05T21:26:49Z\",\"create-user\":\"Gregory Bonk\",\"role\":\"centos-base-server\",\"scm-branch\":\"master\",\"scm-id\":\"3c18576b60ce5a6b2ecb5baf9dca63bef8330489\"},\"properties\":{\"diagnosticsProfile\":{\"bootDiagnostics\":{\"enabled\":false}},\"hardwareProfile\":{\"vmSize\":\"Standard_A1\"},\"networkProfile\":{\"networkInterfaces\":[{\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Network/networkInterfaces/packerNic\"}]},\"osProfile\":{\"adminPassword\":\"CyOYJmLBpcOPxTCgV07fVixoPE1tHn0s\",\"adminUsername\":\"packer\",\"computerName\":\"pkrvmdm3jwqkww5\",\"linuxConfiguration\":{\"ssh\":{\"publicKeys\":[{\"keyData\":\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC5uLEl0YGgDuvS3RKKu2SagBzxqyMPX4Up8iaRu/YQdAMtBi424bXJMzgsXL+5tgXE0QgCJY3J6bleDhJ25RQzkAzQqvEls75wKEgb1BRPpNLBxRnr0ZsZlUXhrIHO6Q5sP+wTWj2LhT/tUYELM7OygMJfMNMtPrFsLuJK65XSDG6mmuuOEycAvkeJKen4sHY9mPZbfWcHTdvn6uEoSXMkOd18e8bOpgkRhJHiVajOv28IZSIYNSX7YkubReo9qJxDkmyG9C5f/cmtHf99JEtwEOVDttmvEjrLa288rmW0RGHxgLx1QR4lcey9yvrLDiHqvvcBQ1rKW7W580GMdELf packer Azure Deployment2018-03-05T16:26:50-05:00\",\"path\":\"/home/packer/.ssh/authorized_keys\"}]}}},\"storageProfile\":{\"imageReference\":{\"offer\":\"cloudera-centos-os\",\"publisher\":\"cloudera\",\"sku\":\"6_8\",\"version\":\"2.0.4\"},\"osDisk\":{\"caching\":\"ReadWrite\",\"createOption\":\"fromImage\",\"managedDisk\":{\"storageAccountType\":\"Standard_LRS\"},\"name\":\"osdisk\",\"osType\":\"Linux\"}}}}]}}"
2018/03/05 16:26:53 packer: 2018/03/05 16:26:53 Azure response status="200 OK" method="POST" request="https://management.azure.com/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourcegroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Resources/deployments/pkrdpdm3jwqkww5/validate?api-version=2016-09-01" x-ms-request-id="349ef0ed-f388-41c2-a518-af43ee812a3f" body="{\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Resources/deployments/pkrdpdm3jwqkww5\",\"name\":\"pkrdpdm3jwqkww5\",\"properties\":{\"templateHash\":\"362132652862380133\",\"parameters\":{\"adminPassword\":{\"type\":\"String\",\"value\":\"CyOYJmLBpcOPxTCgV07fVixoPE1tHn0s\"},\"adminUsername\":{\"type\":\"String\",\"value\":\"packer\"},\"dnsNameForPublicIP\":{\"type\":\"String\",\"value\":\"pkrvmdm3jwqkww5\"},\"osDiskName\":{\"type\":\"String\",\"value\":\"pkrosdm3jwqkww5\"},\"storageAccountBlobEndpoint\":{\"type\":\"String\",\"value\":\"\"},\"vmName\":{\"type\":\"String\",\"value\":\"pkrvmdm3jwqkww5\"},\"vmSize\":{\"type\":\"String\",\"value\":\"Standard_A1\"}},\"mode\":\"Incremental\",\"provisioningState\":\"Succeeded\",\"timestamp\":\"2018-03-05T21:26:52.8197462Z\",\"duration\":\"PT0S\",\"correlationId\":\"349ef0ed-f388-41c2-a518-af43ee812a3f\",\"providers\":[{\"namespace\":\"Microsoft.Network\",\"resourceTypes\":[{\"resourceType\":\"publicIPAddresses\",\"locations\":[\"eastus2\"]},{\"resourceType\":\"virtualNetworks\",\"locations\":[\"eastus2\"]},{\"resourceType\":\"networkInterfaces\",\"locations\":[\"eastus2\"]}]},{\"namespace\":\"Microsoft.Compute\",\"resourceTypes\":[{\"resourceType\":\"virtualMachines\",\"locations\":[\"eastus2\"]}]}],\"dependencies\":[{\"dependsOn\":[{\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Network/publicIPAddresses/packerPublicIP\",\"resourceType\":\"Microsoft.Network/publicIPAddresses\",\"resourceName\":\"packerPublicIP\"},{\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Network/virtualNetworks/packerNetwork\",\"resourceType\":\"Microsoft.Network/virtualNetworks\",\"resourceName\":\"packerNetwork\"}],\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Network/networkInterfaces/packerNic\",\"resourceType\":\"Microsoft.Network/networkInterfaces\",\"resourceName\":\"packerNic\"},{\"dependsOn\":[{\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Network/networkInterfaces/packerNic\",\"resourceType\":\"Microsoft.Network/networkInterfaces\",\"resourceName\":\"packerNic\"}],\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Compute/virtualMachines/pkrvmdm3jwqkww5\",\"resourceType\":\"Microsoft.Compute/virtualMachines\",\"resourceName\":\"pkrvmdm3jwqkww5\"}],\"validatedResources\":[{\"apiVersion\":\"2017-04-01\",\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Network/publicIPAddresses/packerPublicIP\",\"name\":\"packerPublicIP\",\"type\":\"Microsoft.Network/publicIPAddresses\",\"location\":\"eastus2\",\"tags\":{\"Name\":\"Building the Centos Base Server\",\"create-timestamp\":\"2018-03-05T21:26:49Z\",\"create-user\":\"Gregory Bonk\",\"role\":\"centos-base-server\",\"scm-branch\":\"master\",\"scm-id\":\"3c18576b60ce5a6b2ecb5baf9dca63bef8330489\"},\"properties\":{\"dnsSettings\":{\"domainNameLabel\":\"pkrvmdm3jwqkww5\"},\"publicIPAllocationMethod\":\"Dynamic\"}},{\"apiVersion\":\"2017-04-01\",\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Network/virtualNetworks/packerNetwork\",\"name\":\"packerNetwork\",\"type\":\"Microsoft.Network/virtualNetworks\",\"location\":\"eastus2\",\"tags\":{\"Name\":\"Building the Centos Base Server\",\"create-timestamp\":\"2018-03-05T21:26:49Z\",\"create-user\":\"Gregory Bonk\",\"role\":\"centos-base-server\",\"scm-branch\":\"master\",\"scm-id\":\"3c18576b60ce5a6b2ecb5baf9dca63bef8330489\"},\"properties\":{\"addressSpace\":{\"addressPrefixes\":[\"10.0.0.0/16\"]},\"subnets\":[{\"name\":\"packerSubnet\",\"properties\":{\"addressPrefix\":\"10.0.0.0/24\"}}]}},{\"dependsOn\":[\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Network/publicIPAddresses/packerPublicIP\",\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Network/virtualNetworks/packerNetwork\"],\"apiVersion\":\"2017-04-01\",\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Network/networkInterfaces/packerNic\",\"name\":\"packerNic\",\"type\":\"Microsoft.Network/networkInterfaces\",\"location\":\"eastus2\",\"tags\":{\"Name\":\"Building the Centos Base Server\",\"create-timestamp\":\"2018-03-05T21:26:49Z\",\"create-user\":\"Gregory Bonk\",\"role\":\"centos-base-server\",\"scm-branch\":\"master\",\"scm-id\":\"3c18576b60ce5a6b2ecb5baf9dca63bef8330489\"},\"properties\":{\"ipConfigurations\":[{\"name\":\"ipconfig\",\"properties\":{\"privateIPAllocationMethod\":\"Dynamic\",\"publicIPAddress\":{\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Network/publicIPAddresses/packerPublicIP\"},\"subnet\":{\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Network/virtualNetworks/packerNetwork/subnets/packerSubnet\"}}}]}},{\"dependsOn\":[\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Network/networkInterfaces/packerNic\"],\"apiVersion\":\"2017-03-30\",\"id\":\"/subscriptions/684e7cc7-==> azure-arm: Deploying deployment template ...
152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Compute/virtualMachines/pkrvmdm3jwqkww5\",\"name\":\"pkrvmdm3jwqkww5\",\"type\":\"Microsoft.Compute/virtualMachines\",\"location\":\"eastus2\",\"tags\":{\"Name\":\"Building the Centos Base Server\",\"create-timestamp\":\"2018-03-05T21:26:49Z\",\"create-user\":\"Gregory Bonk\",\"role\":\"centos-base-server\",\"scm-branch\":\"master\",\"scm-id\":\"3c18576b60ce5a6b2ecb5baf9dca63bef8330489\"},\"properties\":{\"diagnosticsProfile\":{\"bootDiagnostics\":{\"enabled\":false}},\"hardwareProfile\":{\"vmSize\":\"Standard_A1\"},\"networkProfile\":{\"networkInterfaces\":[{\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Network/networkInterfaces/packerNic\"}]},\"osProfile\":{\"adminPassword\":\"CyOYJmLBpcOPxTCgV07fVixoPE1tHn0s\",\"adminUsername\":\"packer\",\"computerName\":\"pkrvmdm3jwqkww5\",\"linuxConfiguration\":{\"ssh\":{\"publicKeys\":[{\"keyData\":\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC5uLEl0YGgDuvS3RKKu2SagBzxqyMPX4Up8iaRu/YQdAMtBi424bXJMzgsXL+5tgXE0QgCJY3J6bleDhJ25RQzkAzQqvEls75wKEgb1BRPpNLBxRnr0ZsZlUXhrIHO6Q5sP+wTWj2LhT/tUYELM7OygMJfMNMtPrFsLuJK65XSDG6mmuuOEycAvkeJKen4sHY9mPZbfWcHTdvn6uEoSXMkOd18e8bOpgkRhJHiVajOv28IZSIYNSX7YkubReo9qJxDkmyG9C5f/cmtHf99JEtwEOVDttmvEjrLa288rmW0RGHxgLx1QR4lcey9yvrLDiHqvvcBQ1rKW7W580GMdELf packer Azure Deployment2018-03-05T16:26:50-05:00\",\"path\":\"/home/packer/.ssh/authorized_keys\"}]}}},\"storageProfile\":{\"imageReference\":{\"offer\":\"cloudera-centos-os\",\"publisher\":\"cloudera\",\"sku\":\"6_8\",\"version\":\"2.0.4\"},\"osDisk\":{\"caching\":\"ReadWrite\",\"createOption\":\"fromImage\",\"managedDisk\":{\"storageAccountType\":\"Standard_LRS\"},\"name\":\"osdisk\",\"osType\":\"Linux\"}}}}]}}"
2018/03/05 16:26:53 ui: ==> azure-arm: Deploying deployment template ...
2018/03/05 16:26:53 ui: ==> azure-arm: -> ResourceGroupName : 'packer-Resource-Group-dm3jwqkww5'
2018/03/05 16:26:53 ui: ==> azure-arm: -> DeploymentName : 'pkrdpdm3jwqkww5'
==> azure-arm: -> ResourceGroupName : 'packer-Resource-Group-dm3jwqkww5'
==> azure-arm: -> DeploymentName : 'pkrdpdm3jwqkww5'
2018/03/05 16:26:53 packer: 2018/03/05 16:26:53 Azure request method="PUT" request="https://management.azure.com/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourcegroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Resources/deployments/pkrdpdm3jwqkww5?api-version=2016-09-01" body="{\"properties\":{\"template\":{\"$schema\":\"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json\",\"contentVersion\":\"1.0.0.0\",\"parameters\":{\"adminPassword\":{\"type\":\"string\"},\"adminUsername\":{\"type\":\"string\"},\"dnsNameForPublicIP\":{\"type\":\"string\"},\"osDiskName\":{\"type\":\"string\"},\"storageAccountBlobEndpoint\":{\"type\":\"string\"},\"vmName\":{\"type\":\"string\"},\"vmSize\":{\"type\":\"string\"}},\"resources\":[{\"apiVersion\":\"[variables('publicIPAddressApiVersion')]\",\"location\":\"[variables('location')]\",\"name\":\"[variables('publicIPAddressName')]\",\"properties\":{\"dnsSettings\":{\"domainNameLabel\":\"[parameters('dnsNameForPublicIP')]\"},\"publicIPAllocationMethod\":\"[variables('publicIPAddressType')]\"},\"tags\":{\"Name\":\"Building the Centos Base Server\",\"create-timestamp\":\"2018-03-05T21:26:49Z\",\"create-user\":\"Gregory Bonk\",\"role\":\"centos-base-server\",\"scm-branch\":\"master\",\"scm-id\":\"3c18576b60ce5a6b2ecb5baf9dca63bef8330489\"},\"type\":\"Microsoft.Network/publicIPAddresses\"},{\"apiVersion\":\"[variables('virtualNetworksApiVersion')]\",\"location\":\"[variables('location')]\",\"name\":\"[variables('virtualNetworkName')]\",\"properties\":{\"addressSpace\":{\"addressPrefixes\":[\"[variables('addressPrefix')]\"]},\"subnets\":[{\"name\":\"[variables('subnetName')]\",\"properties\":{\"addressPrefix\":\"[variables('subnetAddressPrefix')]\"}}]},\"tags\":{\"Name\":\"Building the Centos Base Server\",\"create-timestamp\":\"2018-03-05T21:26:49Z\",\"create-user\":\"Gregory Bonk\",\"role\":\"centos-base-server\",\"scm-branch\":\"master\",\"scm-id\":\"3c18576b60ce5a6b2ecb5baf9dca63bef8330489\"},\"type\":\"Microsoft.Network/virtualNetworks\"},{\"apiVersion\":\"[variables('networkInterfacesApiVersion')]\",\"dependsOn\":[\"[concat('Microsoft.Network/publicIPAddresses/', variables('publicIPAddressName'))]\",\"[concat('Microsoft.Network/virtualNetworks/', variables('virtualNetworkName'))]\"],\"location\":\"[variables('location')]\",\"name\":\"[variables('nicName')]\",\"properties\":{\"ipConfigurations\":[{\"name\":\"ipconfig\",\"properties\":{\"privateIPAllocationMethod\":\"Dynamic\",\"publicIPAddress\":{\"id\":\"[resourceId('Microsoft.Network/publicIPAddresses', variables('publicIPAddressName'))]\"},\"subnet\":{\"id\":\"[variables('subnetRef')]\"}}}]},\"tags\":{\"Name\":\"Building the Centos Base Server\",\"create-timestamp\":\"2018-03-05T21:26:49Z\",\"create-user\":\"Gregory Bonk\",\"role\":\"centos-base-server\",\"scm-branch\":\"master\",\"scm-id\":\"3c18576b60ce5a6b2ecb5baf9dca63bef8330489\"},\"type\":\"Microsoft.Network/networkInterfaces\"},{\"apiVersion\":\"[variables('apiVersion')]\",\"dependsOn\":[\"[concat('Microsoft.Network/networkInterfaces/', variables('nicName'))]\"],\"location\":\"[variables('location')]\",\"name\":\"[parameters('vmName')]\",\"properties\":{\"diagnosticsProfile\":{\"bootDiagnostics\":{\"enabled\":false}},\"hardwareProfile\":{\"vmSize\":\"[parameters('vmSize')]\"},\"networkProfile\":{\"networkInterfaces\":[{\"id\":\"[resourceId('Microsoft.Network/networkInterfaces', variables('nicName'))]\"}]},\"osProfile\":{\"adminPassword\":\"[parameters('adminPassword')]\",\"adminUsername\":\"[parameters('adminUsername')]\",\"computerName\":\"[parameters('vmName')]\",\"linuxConfiguration\":{\"ssh\":{\"publicKeys\":[{\"keyData\":\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC5uLEl0YGgDuvS3RKKu2SagBzxqyMPX4Up8iaRu/YQdAMtBi424bXJMzgsXL+5tgXE0QgCJY3J6bleDhJ25RQzkAzQqvEls75wKEgb1BRPpNLBxRnr0ZsZlUXhrIHO6Q5sP+wTWj2LhT/tUYELM7OygMJfMNMtPrFsLuJK65XSDG6mmuuOEycAvkeJKen4sHY9mPZbfWcHTdvn6uEoSXMkOd18e8bOpgkRhJHiVajOv28IZSIYNSX7YkubReo9qJxDkmyG9C5f/cmtHf99JEtwEOVDttmvEjrLa288rmW0RGHxgLx1QR4lcey9yvrLDiHqvvcBQ1rKW7W580GMdELf packer Azure Deployment2018-03-05T16:26:50-05:00\",\"path\":\"[variables('sshKeyPath')]\"}]}}},\"storageProfile\":{\"imageReference\":{\"offer\":\"cloudera-centos-os\",\"publisher\":\"cloudera\",\"sku\":\"6_8\",\"version\":\"2.0.4\"},\"osDisk\":{\"caching\":\"ReadWrite\",\"createOption\":\"fromImage\",\"managedDisk\":{\"storageAccountType\":\"Standard_LRS\"},\"name\":\"osdisk\",\"osType\":\"Linux\"}}},\"tags\":{\"Name\":\"Building the Centos Base Server\",\"create-timestamp\":\"2018-03-05T21:26:49Z\",\"create-user\":\"Gregory Bonk\",\"role\":\"centos-base-server\",\"scm-branch\":\"master\",\"scm-id\":\"3c18576b60ce5a6b2ecb5baf9dca63bef8330489\"},\"type\":\"Microsoft.Compute/virtualMachines\"}],\"variables\":{\"addressPrefix\":\"10.0.0.0/16\",\"apiVersion\":\"2017-03-30\",\"location\":\"[resourceGroup().location]\",\"managedDiskApiVersion\":\"2017-03-30\",\"networkInterfacesApiVersion\":\"2017-04-01\",\"nicName\":\"packerNic\",\"publicIPAddressApiVersion\":\"2017-04-01\",\"publicIPAddressName\":\"packerPublicIP\",\"publicIPAddressType\":\"Dynamic\",\"sshKeyPath\":\"[concat('/home/',parameters('adminUsername'),'/.ssh/authorized_keys')]\",\"subnetAddressPrefix\":\"10.0.0.0/24\",\"subnetName\":\"packerSubnet\",\"subnetRef\":\"[concat(variables('vnetID'),'/subnets/',variables('subnetName'))]\",\"virtualNetworkName\":\"packerNetwork\",\"virtualNetworkResourceGroup\":\"[resourceGroup().name]\",\"virtualNetworksApiVersion\":\"2017-04-01\",\"vmStorageAccountContainerName\":\"images\",\"vnetID\":\"[resourceId(variables('virtualNetworkResourceGroup'), 'Microsoft.Network/virtualNetworks', variables('virtualNetworkName'))]\"}},\"parameters\":{\"adminPassword\":{\"value\":\"CyOYJmLBpcOPxTCgV07fVixoPE1tHn0s\"},\"adminUsername\":{\"value\":\"packer\"},\"dnsNameForPublicIP\":{\"value\":\"pkrvmdm3jwqkww5\"},\"osDiskName\":{\"value\":\"pkrosdm3jwqkww5\"},\"storageAccountBlobEndpoint\":{\"value\":\"\"},\"vmName\":{\"value\":\"pkrvmdm3jwqkww5\"},\"vmSize\":{\"value\":\"Standard_A1\"}},\"mode\":\"Incremental\"}}"
2018/03/05 16:26:55 packer: 2018/03/05 16:26:55 Azure response method="PUT" request="https://management.azure.com/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourcegroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Resources/deployments/pkrdpdm3jwqkww5?api-version=2016-09-01" x-ms-request-id="ca7ec18f-237c-42f9-92eb-c470ddf88027" body="{\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Resources/deployments/pkrdpdm3jwqkww5\",\"name\":\"pkrdpdm3jwqkww5\",\"properties\":{\"templateHash\":\"362132652862380133\",\"parameters\":{\"adminPassword\":{\"type\":\"String\",\"value\":\"CyOYJmLBpcOPxTCgV07fVixoPE1tHn0s\"},\"adminUsername\":{\"type\":\"String\",\"value\":\"packer\"},\"dnsNameForPublicIP\":{\"type\":\"String\",\"value\":\"pkrvmdm3jwqkww5\"},\"osDiskName\":{\"type\":\"String\",\"value\":\"pkrosdm3jwqkww5\"},\"storageAccountBlobEndpoint\":{\"type\":\"String\",\"value\":\"\"},\"vmName\":{\"type\":\"String\",\"value\":\"pkrvmdm3jwqkww5\"},\"vmSize\":{\"type\":\"String\",\"value\":\"Standard_A1\"}},\"mode\":\"Incremental\",\"provisioningState\":\"Accepted\",\"timestamp\":\"2018-03-05T21:26:54.8628128Z\",\"duration\":\"PT0.7094131S\",\"correlationId\":\"ca7ec18f-237c-42f9-92eb-c470ddf88027\",\"providers\":[{\"namespace\":\"Microsoft.Network\",\"resourceTypes\":[{\"resourceType\":\"publicIPAddresses\",\"locations\":[\"eastus2\"]},{\"resourceType\":\"virtualNetworks\",\"locations\":[\"eastus2\"]},{\"resourceType\":\"networkInterfaces\",\"locations\":[\"eastus2\"]}]},{\"namespace\":\"Microsoft.Compute\",\"resourceTypes\":[{\"resourceType\":\"virtualMachines\",\"locations\":[\"eastus2\"]}]}],\"dependencies\":[{\"dependsOn\":[{\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Network/publicIPAddresses/packerPublicIP\",\"resourceType\":\"Microsoft.Network/publicIPAddresses\",\"resourceName\":\"packerPublicIP\"},{\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Network/virtualNetworks/packerNetwork\",\"resourceType\":\"Microsoft.Network/virtualNetworks\",\"resourceName\":\"packerNetwork\"}],\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Network/networkInterfaces/packerNic\",\"resourceType\":\"Microsoft.Network/networkInterfaces\",\"resourceName\":\"packerNic\"},{\"dependsOn\":[{\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Network/networkInterfaces/packerNic\",\"resourceType\":\"Microsoft.Network/networkInterfaces\",\"resourceName\":\"packerNic\"}],\"id\":\"/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourceGroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Compute/virtualMachines/pkrvmdm3jwqkww5\",\"resourceType\":\"Microsoft.Compute/virtualMachines\",\"resourceName\":\"pkrvmdm3jwqkww5\"}]}}" status="201 Created"
2018/03/05 16:27:55 packer: 2018/03/05 16:27:55 Azure request method="GET" request="https://management.azure.com/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourcegroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Resources/deployments/pkrdpdm3jwqkww5/operationStatuses/08586813216713242393?api-version=2016-09-01" body=""
2018/03/05 16:27:55 packer: 2018/03/05 16:27:55 Azure response status="200 OK" method="GET" request="https://management.azure.com/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourcegroups/packer-Resource-Group-dm3jwqkww5/providers/Microsoft.Resources/deployments/pkrdpdm3jwqkww5/operationStatuses/08586813216713242393?api-version=2016-09-01" x-ms-request-id="416f0d7c-91a4-48bd-89b1-d83e9659908b" body="{\"status\":\"Failed\",\"error\":{\"code\":\"DeploymentFailed\",\"message\":\"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.\",\"details\":[{\"code\":\"Conflict\",\"message\":\"{\\r\\n \\\"status\\\": \\\"Failed\\\",\\r\\n \\\"error\\\": {\\r\\n \\\"code\\\": \\\"ResourceDeploymentFailure\\\",\\r\\n \\\"message\\\": \\\"The resource operation completed with terminal provisioning state 'Failed'.\\\",\\r\\n \\\"details\\\": [\\r\\n {\\r\\n \\\"code\\\": \\\"VMMarketplaceInvalidInput\\\",\\r\\n \\\"message\\\": \\\"Creating a virtual machine from Marketplace image requires Plan information in the request. OS disk name is 'osdisk'.\\\"\\r\\n }\\r\\n ]\\r\\n }\\r\\n}\"}]}}"
2018/03/05 16:27:55 ui: ==> azure-arm: ERROR: -> DeploymentFailed : At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.
==> azure-arm: ERROR: -> Conflict
==> azure-arm: ERROR: -> ResourceDeploymentFailure : The resource operation completed with terminal provisioning state 'Failed'.
==> azure-arm: ERROR: -> VMMarketplaceInvalidInput : Creating a virtual machine from Marketplace image requires Plan information in the request. OS disk name is 'osdisk'.
==> azure-arm:
2018/03/05 16:27:55 ui error: ==> azure-arm: resources.DeploymentsClient#CreateOrUpdate: Failure sending request: StatusCode=200 -- Original Error: Long running operation terminated with status 'Failed': Code="DeploymentFailed" Message="At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details."
==> azure-arm: ERROR: -> DeploymentFailed : At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.
==> azure-arm: ERROR: -> Conflict
2018/03/05 16:27:55 ui: ==> azure-arm:
==> azure-arm: Cleanup requested, deleting resource group ...
==> azure-arm: ERROR: -> ResourceDeploymentFailure : The resource operation completed with terminal provisioning state 'Failed'.
2018/03/05 16:27:55 packer: 2018/03/05 16:27:55 Azure request method="DELETE" request="https://management.azure.com/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourcegroups/packer-Resource-Group-dm3jwqkww5?api-version=2016-09-01" body=""
==> azure-arm: ERROR: -> VMMarketplaceInvalidInput : Creating a virtual machine from Marketplace image requires Plan information in the request. OS disk name is 'osdisk'.
==> azure-arm:
==> azure-arm: resources.DeploymentsClient#CreateOrUpdate: Failure sending request: StatusCode=200 -- Original Error: Long running operation terminated with status 'Failed': Code="DeploymentFailed" Message="At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details."
==> azure-arm:
==> azure-arm: Cleanup requested, deleting resource group ...
2018/03/05 16:27:56 packer: 2018/03/05 16:27:56 Azure response status="202 Accepted" method="DELETE" request="https://management.azure.com/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/resourcegroups/packer-Resource-Group-dm3jwqkww5?api-version=2016-09-01" x-ms-request-id="ddd0b961-74b8-4e91-9bc2-6977e9b51704" body=""
2018/03/05 16:28:11 packer: 2018/03/05 16:28:11 Azure request body="" method="GET" request="https://management.azure.com/subscriptions/684e7cc7-152c-4096-be71-3918b80a90fa/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QQ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment