ConvoyPanel / panel

A modern platform tailored for hosting providers and enthusiasts to effortlessly interact with their servers. Seamlessly wrapping around Proxmox, Convoy is easily deployable, affordable at just $6 per node per month for commercial use, and completely free for personal and non-profit endeavors.
https://convoypanel.com
Other
308 stars 51 forks source link

Networking issue #83

Closed cloudrack-ca closed 3 months ago

cloudrack-ca commented 3 months ago

Current Behavior

Create a vm via convoypanel i.e ubuntu images 18 - 20 - 22 you will get an issue for ipv4 not connecting

for some reason on creation of the VM itself its missing the

            routes:
            -   on-link: true
                to: default
                via: xxx.xxx.xxx.xxx
            set-name: eth0

via the /etc/netplan/50-cloud-init.yaml inside of the VM that was created.

I have to manually go in and add this into every VM created from convoypanel......

Expected Behavior

ping google.com -4

to actually work i.e port 22 being accessible to world.

Steps to Reproduce

explained below

Screenshots

image image

image image

Proxmox OS Version

8.1.4

Operating System

Bookworm

Browser

Edge - Always Latest Non Dev Version

Additional Context

Offering a means to set this via the convoypanel would be the simplest fix In my eyes,

but yes I'm not sure where the bug lies I'm still going to need some more time to try to pinpoint the matter but bringing to your attention @ericwang401 in hopes maybe you know the bug / issue / seen it before / know the fix / or hopefully addressing a first time 🐛 we can 👟(squash)

Each server gets a Free IPv6 address to boot via our DHCPv6 protocols in place hence a connection on hop for ipv6 but nothing for ipv4 unless above is done.

Panel Version

v4

Error Logs

No response

Is there an existing issue for this?

cloudrack-ca commented 3 months ago

im not sure if you understand my issue but during the cloud-init deployment on the VM that was created the 50-cloud-init.yaml losses or never adds a routes block and adds gateway4: line instead as seen in screenshots.

(side note server name in images is named what it is one-two-three-ha-ha-ha cause at this point I'm losing my mind trying to find this darn 🐛 but I didn't dev convoy so I'm lost where to start looking) is it in the proxmox default cloud-init templating that needs to be addressed per a node? is it in convoy itself, can you also let me know what command or what is used to pull up a bug log for convoypanel? and if you would like to email me or if we can confirm secure communications I believe maybe I can hand off some credentials here and let you see the full configuration on my end offering more debugging from the convoypanel devs point of view.

dotcfg commented 3 months ago

This has nothing to do with convoy. Convoy just uses default proxmox cloud-init deployment and does not change anything to the vm config.

dotcfg commented 3 months ago

Solution 1: dont use ubuntu Solution 2: make an ubuntu bug or Solution 3: make a fixed template which dont have such issues. how you resolve this is up to you.

ericwang401 commented 3 months ago

im not sure if you understand my issue but during the cloud-init deployment on the VM that was created the 50-cloud-init.yaml losses or never adds a routes block and adds gateway4: line instead as seen in screenshots.

(side note server name in images is named what it is one-two-three-ha-ha-ha cause at this point I'm losing my mind trying to find this darn 🐛 but I didn't dev convoy so I'm lost where to start looking) is it in the proxmox default cloud-init templating that needs to be addressed per a node? is it in convoy itself, can you also let me know what command or what is used to pull up a bug log for convoypanel? and if you would like to email me or if we can confirm secure communications I believe maybe I can hand off some credentials here and let you see the full configuration on my end offering more debugging from the convoypanel devs point of view.

This is a strange issue. I wonder if it is possible if I could remove netplan from the Ubuntu images.

As for one-two-three-ha-ha-ha that seems like your server's hostname, whoever set one-two-three-ha-ha-ha as the hostname is the value for search in the netplan configuration.

ericwang401 commented 3 months ago

Solution 1: dont use ubuntu Solution 2: make an ubuntu bug or Solution 3: make a fixed template which dont have such issues. how you resolve this is up to you.

Please be respectful even though that this isn't exactly relevant to Convoy. I don't want to promote a hostile environment.

dotcfg commented 3 months ago

hm what isnt respectful there? its just facts i didnt blame anyone here :P

cloudrack-ca commented 3 months ago

im not sure if you understand my issue but during the cloud-init deployment on the VM that was created the 50-cloud-init.yaml losses or never adds a routes block and adds gateway4: line instead as seen in screenshots. (side note server name in images is named what it is one-two-three-ha-ha-ha cause at this point I'm losing my mind trying to find this darn 🐛 but I didn't dev convoy so I'm lost where to start looking) is it in the proxmox default cloud-init templating that needs to be addressed per a node? is it in convoy itself, can you also let me know what command or what is used to pull up a bug log for convoypanel? and if you would like to email me or if we can confirm secure communications I believe maybe I can hand off some credentials here and let you see the full configuration on my end offering more debugging from the convoypanel devs point of view.

This is a strange issue. I wonder if it is possible if I could remove netplan from the Ubuntu images.

As for one-two-three-ha-ha-ha that seems like your server's hostname, whoever set one-two-three-ha-ha-ha as the hostname is the value for search in the netplan configuration.

search under one-two-three-ha-ha-ha ran under search but comes from hostname under convoypanel right, but yes if there was a means to remove the netplan for the default templates so the community can have functioning ubuntu images, maybe workable.

AnushK-Fro commented 3 months ago

Out of curiosity, what hosting provider are you using? I believe the routes section should only be required for certain network configurations using routed setups I believe, hence why it's not in the default template.

I think you could try checking the Cloudinit config file and seeing if it's possible to do that automatically, otherwise, you could maybe do it through the host operating system depending on how your hosting provider does the network config.

ericwang401 commented 3 months ago

Closing because not enough information