Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

go-rancher-gen produces Warnings with Rancher 1.6.15 #12

Open
HTPC-Schrauber opened this issue Mar 29, 2018 · 1 comment
Open

go-rancher-gen produces Warnings with Rancher 1.6.15 #12

HTPC-Schrauber opened this issue Mar 29, 2018 · 1 comment

Comments

@HTPC-Schrauber
Copy link

Hi,

I had Rancher 1.6.10 with go-rancher-gen which worked fine. Now I upgraded to Rancher Server 1.6.15 and I get Warnings:
29.3.2018 13:32:42INFO[0000] Starting rancher-gen v0.6.0 (ee2ce5c)
29.3.2018 13:32:42INFO[0000] Initializing Rancher Metadata client (version latest)
29.3.2018 13:32:42INFO[0000] Polling Metadata with %d second interval5
29.3.2018 13:32:42WARN[0000] Unexpected format of service port: 0.0.0.0:500:500/udp
29.3.2018 13:32:42WARN[0000] Unexpected format of service port: 0.0.0.0:4500:4500/udp
29.3.2018 13:32:42INFO[0000] Destination file has been updated: /tmp/esb_ip
29.3.2018 13:32:42INFO[0000] Executing notify command '/opt/rancher-gen/provision_esb.sh'

What do the Warnings mean?
go-rancher-gen seems to work without problem, but I am still not sure if I can savely ignore the warnings.

Kind regards

@Munsio
Copy link
Member

Munsio commented Mar 30, 2018

It seems that in a newer version of rancher api they prefix the service port with the IP address.
It shouldn't be a problem but i will check if i am able to fix it.
https://github.com/CausticLab/go-rancher-gen/blob/master/runner.go#L442

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants