Skip to content
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

vmamd/sysinfo doesn't handle dhcp ip change #625

Open
JustinAzoff opened this issue May 12, 2016 · 2 comments
Open

vmamd/sysinfo doesn't handle dhcp ip change #625

JustinAzoff opened this issue May 12, 2016 · 2 comments
Assignees

Comments

@JustinAzoff
Copy link

This presents similar to #481, but is related to the admin ip address changing. I ran into an issue when I changed the DHCP ip address for the global zone after the first boot:
{"name":"vmadmd","hostname":"srv2","pid":40182,"level":30,"msg":"spawning vnc listener for .. on 192.168.2.188","time":"2016-05-11T23:27:27.682Z","v":0}
...
Uncaught Error: listen EADDRNOTAVAIL

The root cause of this was that the sysinfo data was still returning the old IP address. I fixed things by clearing the sysinfo cache.

I think the simple fix for this is to have an /etc/dhcp/eventhook that runs sysinfo -u when a lease changes.

@rmustacc
Copy link
Contributor

rmustacc commented Jun 1, 2016

@melloc you may want to look at this. Though we like have similar issues with vnc and changing IPs across that. We'll have to figure out how to prioritize that.

@melloc
Copy link
Contributor

melloc commented Jun 1, 2016

@JustinAzoff I'd like to solve this by using sysevents as discussed here. There are some other things that I need to finish up before I can look into doing it, though.

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

No branches or pull requests

3 participants