haproxytech / vmware-haproxy

Apache License 2.0
52 stars 25 forks source link

some post ova deployment issues #30

Open JasonCormie opened 1 year ago

JasonCormie commented 1 year ago

I've just managed to deploy an ova based on this project for a tanzu trial but had to fix a number of things due to the code base being out of date (at a guess)

in usr/lib/python3.7/site-packages/cloudinit/distros /photon.py line17 from cloudinit.net.network_state import mask_to_net_prefix

mask _to_net_prefix has been removed upstream, replacing with ipv4_mask_to_net_prefix worked

The ovf says if you dont include a certificate a selfsign will be created, but that doesnt happen so I had to import a certificate

/var/lib/vmware/routetablectl.sh line 152 and 200 relies on ip rule add lookup when that has been deprecated, replacing lookup with table seems to work

line 116 while ip call "rule del from 0/0 to 0/0 table ${route_table_name} 2>/dev/null"; do true; done should be while call "ip rule del from 0/0 to 0/0 table ${route_table_name} 2>/dev/null"; do true; done

I also had to clear some duplicate lines from /etc/vmware/route-tables.cfg