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

Support bonded networking #560

Closed
schakrava opened this Issue Jan 3, 2015 · 4 comments

Comments

Projects
None yet
2 participants
@schakrava
Member

schakrava commented Jan 3, 2015

I tried to set up bonded networking. There were several issues I ran into.

NetworkManager conflicts with Rockstor and they both try to use different interface names and overwrite each others setting. I just uninstalled NetworkManager with yum.
Bonded networking adds a file /sys/class/net/bonding_masters which Rockstor tries to enumurate as a network interface and errors out. In system/osi.py network_devices I changed
    devices = os.listdir('/sys/class/net')
to
    ifpath = '/sys/class/net'
    devices = [name for name in os.listdir(ifpath) if os.path.isdir(os.path.join(ifpath, name))]
so it only enumerates directories.
If viewing the interface properties in Rockstor, even if no changes are made and cancel is clicked, Rockstor rewrites the ifcfg file and clobbers the bonding settings

It would be great if Rockstor could fully support bonded networking for either failover or aggregation, but at minimum it should play nicely with a manual setup.

@schakrava schakrava self-assigned this Jan 3, 2015

@schakrava schakrava added this to the Yosemite milestone Jan 3, 2015

@schakrava

This comment has been minimized.

Member

schakrava commented Jul 1, 2015

More user feedback to consider

I noticed that the default for the network interfaces is DHCP. I have 2 interfaces on the system, one for internal network testing (no DHCP) and one external with DHCP. I noticed that the Network Manager spams the logs trying to configure this second interface.
Include an option to manually disable network interfaces, if it is the only active interface have a warning before proceeding.
If the interface cannot be configured after 10 attempts, automatically disable it. This can always be reconfigured later.

@roweryan

This comment has been minimized.

roweryan commented Oct 7, 2015

If you can't support bonded networking yet, could you give us a way to configure the networking ourselves, so that rockstor doesn't overwrite it?

@schakrava

This comment has been minimized.

Member

schakrava commented Oct 9, 2015

@roweryan You might want to look at this wiki post on the forum: http://forum.rockstor.com/t/network-management-implementation-details/441

In summary, Rockstor doesn't (and shouldn't) override your custom configuration. It would be great if you get bonding working and share the steps by way of replying to that wiki post on the forum.

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 10, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 11, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 11, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 11, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 11, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 11, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 11, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 11, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 11, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 16, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 16, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 16, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 16, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 16, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 17, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 17, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 17, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 17, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 17, 2016

priyaganti added a commit to schakrava/rockstor-core that referenced this issue Apr 17, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 17, 2016

priyaganti added a commit to schakrava/rockstor-core that referenced this issue Apr 17, 2016

priyaganti added a commit to schakrava/rockstor-core that referenced this issue Apr 17, 2016

priyaganti added a commit to schakrava/rockstor-core that referenced this issue Apr 17, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 18, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 18, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 19, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 19, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 19, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 19, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 19, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 19, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 19, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 19, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 19, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 19, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 19, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 19, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 19, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 19, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 20, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 20, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 20, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 20, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 20, 2016

schakrava added a commit to schakrava/rockstor-core that referenced this issue Apr 20, 2016

schakrava added a commit that referenced this issue Apr 20, 2016

@schakrava schakrava modified the milestones: Looney Bean, Yosemite Apr 20, 2016

@schakrava

This comment has been minimized.

Member

schakrava commented Apr 20, 2016

Fixed by #1253

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment