I wouldn't say that, but I don't think there are a lot of people here in
this group that have experience from it. There is some work to merge it
into the main Packer codebase and after that I guess there will be some
more people who knows how it works.

On Mon, Feb 4, 2019 at 11:40 PM Steven Stratis <[email protected]>
wrote:

> Is this the wrong place to be posting about vSpher-iso builder issues?
>
> On Friday, February 1, 2019 at 11:48:04 PM UTC-5, Steven Stratis wrote:
>>
>> Hello, I'm in a vSphere/vCenter 6.5 private cloud environment using
>> Packer version 1.3.3.
>>
>>
>> The vsphere-iso packer script is getting to the Waiting for IP phase
>> while building my Ubuntu 18.04 image but after a few minutes failing with
>> the following error.
>>
>>
>> Build 'vsphere-iso' errored: 502 Proxy Error
>>
>>
>> Any idea what could be the cause of this? I'm unfortunately not seeing
>> any additional logging information that could give me a place to look.
>>
>> Below is a print out of the logs.
>> https://gist.github.com/spstratis/b286519455d79a68c2ae7d863a83bfa9
>>
>>
>> And here is my packer script with sensitive values hidden.
>>
>> {
>>   "builders": [
>>     {
>>       "type": "vsphere-iso",
>>
>>       "vcenter_server": "{{user `vsphere_domain`}}",
>>       "username": "{{user `vsphere_user`}}",
>>       "password": "{{user `vsphere_pass`}}",
>>       "insecure_connection": "false",
>>
>>       "vm_name": "newyu_ubuntu1804",
>>       "cluster":"Cluster1",
>>       "host":"{{user `vsphere_host`}}",
>>       "guest_os_type": "ubuntu64Guest",
>>
>>       "datastore": "pcc-005044",
>>       "network": "VM Network",
>>       "convert_to_template": "true",
>>       "folder":"Newyu",
>>
>>       "ssh_username": "dev",
>>       "ssh_password": "dev",
>>
>>       "CPUs": 1,
>>       "RAM": 1024,
>>       "RAM_reserve_all": true,
>>
>>       "disk_size": 32768,
>>       "disk_thin_provisioned": false,
>>
>>       "network_card": "vmxnet3",
>>
>>       "iso_checksum": "{{user `iso_checksum`}}",
>>       "iso_checksum_type": "{{user `iso_checksum_type`}}",
>>       "iso_url": "{{user `mirror`}}/{{user `mirror_directory`}}/{{user 
>> `iso_name`}}",
>>       "http_directory": "http",
>>       "boot_command": [
>>         "<esc><wait>",
>>         "<esc><wait>",
>>         "<enter><wait>",
>>         "/install/vmlinuz<wait>",
>>         " auto<wait>",
>>         " console-setup/ask_detect=false<wait>",
>>         " console-setup/layoutcode=us<wait>",
>>         " console-setup/modelcode=pc105<wait>",
>>         " debconf/frontend=noninteractive<wait>",
>>         " debian-installer=en_US.UTF-8<wait>",
>>         " fb=false<wait>",
>>         " initrd=/install/initrd.gz<wait>",
>>         " kbd-chooser/method=us<wait>",
>>         " keyboard-configuration/layout=USA<wait>",
>>         " keyboard-configuration/variant=USA<wait>",
>>         " locale=en_US.UTF-8<wait>",
>>         " netcfg/get_domain=vm<wait>",
>>         " netcfg/get_hostname=ubuntubase<wait>",
>>         " grub-installer/bootdev=/dev/sda<wait>",
>>         " noapic<wait>",
>>         " preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/{{user 
>> `preseed_path`}}<wait>",
>>         " -- <wait>",
>>         "<enter><wait>"
>>       ]
>>     }
>>   ],
>>   "variables": {
>>     "cpus": "1",
>>     "disk_size": "65536",
>>     "headless": "true",
>>     "iso_checksum": 
>> "a5b0ea5918f850124f3d72ef4b85bda82f0fcd02ec721be19c1a6952791c8ee8",
>>     "iso_checksum_type": "sha256",
>>     "iso_name": "ubuntu-18.04.1-server-amd64.iso",
>>     "memory": "1024",
>>     "mirror": "http://cdimage.ubuntu.com";,
>>     "mirror_directory": "ubuntu/releases/18.04.1/release",
>>     "name": "ubuntu-18.04",
>>     "preseed_path": "preseed.cfg",
>>     "template": "ubuntu-18.04-amd64",
>>
>>     "vsphere_ip": "x.x.x.x",
>>     "vsphere_host": "x.x.x.x",
>>     "vsphere_domain": "pcc-x-x-x-x.ovh.com",
>>     "vsphere_user": "admin",
>>     "vsphere_pass": "<password>",
>>     "vsphere_datacenter": "datacenter-41",
>>     "vsphere_cluster": "domain-c46",
>>     "vsphere_datastore": "pcc-005044",
>>     "vsphere_network": "VM Network"
>>   }
>> }
>>
>> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/packer/issues
> IRC: #packer-tool on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Packer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/packer-tool/8dabc613-79fa-46c4-bbf2-e04867521e67%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/8dabc613-79fa-46c4-bbf2-e04867521e67%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CALz9Rt9dQ_WO8BSWE_g%2B035qVA8jB-%3DBsGjHG42%3DrJLdJ%3Dx_Eg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to