Open GreenUkr opened 2 years ago
@GreenUkr can you explain your Xenserver networking setup in more detail? Are you able to ssh to a VM running on your Xenserver deployment using password auth? That is the only supported auth at the moment.
This might be easier to discuss if you join the Discord mentioned in the project's README
Thank you for fast answer. Here is output 'ip a' and 'xe network-list'
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master ovs-system state UP group default qlen 1000
link/ether 0c:c4:7a:9a:90:ac brd ff:ff:ff:ff:ff:ff
3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master ovs-system state DOWN group default qlen 1000
link/ether 0c:c4:7a:9a:90:ad brd ff:ff:ff:ff:ff:ff
4: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 5a:1c:f2:39:26:4a brd ff:ff:ff:ff:ff:ff
5: xapi1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000
link/ether 0c:c4:7a:9a:90:ac brd ff:ff:ff:ff:ff:ff
inet 10.67.1.231/24 brd 10.67.1.255 scope global xapi1
valid_lft forever preferred_lft forever
uuid ( RO) : 3fcf8da9-3b91-0127-dc51-d60742d267ab
name-label ( RW): Pool-wide network associated with eth0
bridge ( RO): xenbr0
uuid ( RO) : 2f49b618-6930-63ec-ba8b-14e1dbc9e767
name-label ( RW): Pool-wide network associated with eth1
bridge ( RO): xenbr1
uuid ( RO) : 28ec3584-8d99-8519-497f-2d8281ce4ee2
name-label ( RW): Host internal management network
name-description ( RW): Network on which guests will be assigned a private link-local IP address which can be used to talk XenAPI
bridge ( RO): xenapi
uuid ( RO) : a4f87d60-d79d-b09a-25e9-e04b1b65a96b
name-label ( RW): MGMT
name-description ( RW): Default bond
bridge ( RO): xapi1
But. I solved my problem without packer (built ISO anyway is much bige than ubuntu vloud image). I used .ova import xe cli command and after that create from template with cloud-init file.
Hello. Any time I tried to build vm (ubuntu and centos) I got the same error: xenserver-iso.ubuntu-2004: Error detecting local IP: ssh: handshake failed
May be this error forced by using bond network on my xenserver