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

bare-metal install network setup does not check if configured provisioning ip range is sufficient #185

Open
parity3 opened this issue Nov 20, 2015 · 1 comment

Comments

@parity3
Copy link

parity3 commented Nov 20, 2015

The system services will fail to start when there are more zones than can be provisioned in the initial sdc 7 setup. Originally I elected for admin as 10.2.1.251-255 and external is 10.2.1.240-248 on the same subnet, not knowing that each zone would need to get its own IP.

It would have been nice to have this checked earlier. Something weird happened where zones were allocated in an incremented network of 10.2.2.0/24 IPs and then was unable to route to them.

After restarting the setup and choosing 100-175, 175-250 ranges the setup process and sdc-healthcheck finished successfully.

@numericillustration
Copy link
Contributor

Also the installer doesn't sanity check the valid subnet size so if you supply say a /27 it will accept it and fail at init in napi with
http://pastebin.com/vXWJP93a
from somewhere in here
https:/joyent/sdc-napi/blob/47ab1da00612ff5e319d9abbfb036da503b85fb6/lib/models/network.js#L806-L815

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

2 participants