Skip to content

Unable to get VNC port #81

@wkoszek

Description

@wkoszek

I've managed to install packer-builder-xenserver and I'd like to make my first VM on XenServer. However it looks like the packer is failing to setup the VNC connection appropriately. Has any of your encountered this problem before?

Debug mode enabled. Builds will not be parallelized.
xenserver-iso output will be in this color.

==> xenserver-iso: XAPI client session established
==> xenserver-iso: Downloading or copying ISO
    xenserver-iso: Downloading or copying: http://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/10.1/FreeBSD-10.1-RELEASE-amd64-disc1.iso
==> xenserver-iso: Starting HTTP server on port 8000
==> xenserver-iso: Step: Upload VDI 'FreeBSD-10.1-RELEASE-amd64-disc1.iso'
==> xenserver-iso: PUT 'https://MYHOST/import_raw_vdi?session_id=OpaqueRef%3A82c1fe80-446f-b816-63ba-f4fa70373341&task_id=OpaqueRef%3A16b53b84-fdde-273a-b412-f6d1608bb894&vdi=OpaqueRef%3Aa4ebd59a-9718-6c1b-3de6-d9d12da1faae'
==> xenserver-iso: Step: Create Instance
==> xenserver-iso: Created instance '35efa0ab-964e-f24b-225b-47cc5617aec6'
==> xenserver-iso: Step: Start VM Paused
==> xenserver-iso: Step: Set SSH address to VM host IP
==> xenserver-iso: Set host SSH address to 'MYIPADDRESS'.
==> xenserver-iso: Step: forward the instances VNC port over SSH
==> xenserver-iso: Unable to get VNC port (is the VM running?): ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain
==> xenserver-iso: Destroying VM
==> xenserver-iso: Destroying VDI
==> xenserver-iso: Destroyed VDI 'FreeBSD-10.1-RELEASE-amd64-disc1.iso'
==> xenserver-iso: Deleting output directory...
Build 'xenserver-iso' errored: Build was halted.

==> Some builds didn't complete successfully and had errors:
--> xenserver-iso: Build was halted.

==> Builds finished but no artifacts were created.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions