-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to get VNC port #81
Comments
I'm investigating. I've run the builder with the |
@wkoszek - any progress on this? I'm seeing the same behavior building an Ubuntu Bionic image on XenServer 7.2. Edit: In my environment, it was due to using a non-local user for XenServer authentication. Since the builder establishes an SSH connection to the XenServer (in order to forward the VNC connection) you need a user that can login directly to the box running XenServer. I was trying to use a user that was configured in XenServer for LDAP login. |
@jesseops So it works all right for you? Personally after trying the ecosystem around I installed Vagrant on my server. Securing stuff correctly was two days of work, but I haven't had problems ever since. |
It does now, just needed a user that could SSH to the actual host running
Xen.
We're pretty heavily invested in Xen (to the tune of 4k VMs) so definitely
happy I could get this builder working.
…On Mon, Apr 2, 2018, 5:29 PM Wojciech Adam Koszek ***@***.***> wrote:
@jesseops <https://github.com/jesseops> So it works all right for you?
Personally after trying the ecosystem around xenserver I decided to
switch away from it. I tried vagrant-xenserver, and I recall that didn't
work. Then I tried fog-xenserver and that didn't work either...
I installed Vagrant on my server. Securing stuff correctly was two days of
work, but I haven't had problems ever since.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#81 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEZlvkeai5Hdf1KdrBTue9qDw4gu_oTjks5tkrRjgaJpZM4M5Tnt>
.
|
any progress on this? I'm facing the same issue
|
I have the same issue: Error log: 2019/07/04 10:45:09 machine readable: xenserver-iso,error []string{"Build was halted."} ==> Builds finished but no artifacts were created. build config:
This is in one LAN, no firewalls between, I can ssh as root using password in the build file, |
Hello @madwizard I tend to use the repository at : https://github.com/ctlam/packer-builder-xenserver. There is a fix for this issue in this repository. Hopefully that should get you unblocked. Hope this helps. Regards, |
I also wanted to mention that I've been developing a fork that fixes this issue as well (https://github.com/ddelnano/packer-builder-xenserver/). My fork also has pre-built binaries and uses the latest packer so it would be easy to get setup with. |
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?The text was updated successfully, but these errors were encountered: