-
Notifications
You must be signed in to change notification settings - Fork 139
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
Disabling Rockons service breaks Rockons UI page post rocknet config #2239
Comments
Thanks a lot for clearly laying out this issue, @phillxnet. |
Problem has been identified: rockstor-core/src/rockstor/system/docker.py Lines 152 to 153 in 1223360
This shouldn't include the EDIT: I forgot to mention maybe the most important point: |
Oh yes, I completely forgot about that one. Do you fancy making an additional issue for that? |
Yes, that my fault I'm afraid; in taking so long to tend to the rocknets pull request I appreciate that you had to rebase a number of times. |
@phillxnet , sorry for the lack of focus on my previous comment... I've created a dedicated issue for that. With regards to the current issue, there actually are a few points that are either broken (the one you described), or for which the error surfaced to the user could be more explicit when the Rock-on service is not running. I'll list them below and update as I find more (if any):
This could be further improved to specifically tell the user to check whether the Rock-on service is turned on.
|
…status to display/hide the edit and delete connection buttons accordingly (rockstor#2239)
…n service is OFF (rockstor#2239).
Verify that docker daemon is running before probing containers. Minor refactoring and comments on JS logic to detect rock-on service status to display/hide the edit and delete connection buttons accordingly (rockstor#2239) Raise explicit error when attempting to create a rocknet while Rock-on service is OFF (rockstor#2239). Change log level of unknown ctype: bridge connection error to "debug".
Verify that docker daemon is running before probing containers. Minor refactoring and comments on JS logic to detect rock-on service status to display/hide the edit and delete connection buttons accordingly (rockstor#2239) Raise explicit error when attempting to create a rocknet while Rock-on service is OFF (rockstor#2239). Change log level of unknown ctype: bridge connection error to "debug".
…k_fetch Improve handling of rock-on-related functions when Rock-ons service is OFF (#2239)
Post merge of pr "Implement docker networks. Fixes #1982." #2207 (4.0.5-0) we have a failure to check if docker is first enabled prior to attempting to query docker for rocknets purposes. This leads to the following error within the Web-UI on some pages (Rock-ons currently known):
['Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?', '']
Work around is to re-enable the Rock-ons service via the services page.
Thanks to @FroggyFlox for helping to narrow down this issue thus far.
Currently this issue is only associated with Rockstor version 4.0.5 (Release candidate 6).
The text was updated successfully, but these errors were encountered: