-
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
(t) legacy binary path in some scripts #2470
Comments
Another instance:
This is legacy code now, though, and should not be affected by the Poetry move. |
This one should be corrected |
... should be corrected. |
... should be corrected. |
... should be corrected. |
All @FroggyFlox found legacy bin paths have now been addressed in my working branch against this issue. |
We also have the following comments on running subsets of our tests: Extracted form "
We have also a shell definition here:
Lines 129 to 132 in ccd21f7
'rcli' is one of our currently legacy entry-points. This file is thought to be redundant but should be removed under it's own issue to prove this claim.
|
A follow up issue has now been created and linked back to this one concerning the many comment changes required within our test. As these also require other modifications given we no longer maintain a test-settings.py |
I have included, by way of establishing an in-code reference for the future, a fix for the following single test subset instructional comment:
|
Replace all currently identified, previously missed, live legacy binary paths. Thanks to FroggyFlox on GitHub for greatly assisting with these changes. Affects: - debugmode selection script - docker wrapper functions - replication - task scheduling ## Includes - an example of a change required to our various test comments concerning a similar change required that will be addressed in a follow-up patch (test_btrfs.py) - user facing text changes pertaining to related path changes: (login.html, oauth_app.py)
…n_some_scripts (t) legacy binary path in some scripts/functions #2470
Closing as: Thanks again to @FroggyFlox for much of the ground work on this one. |
On an RPM-installed Rockstor 4.5.4-0, we see the following error when trying to run the
debug-mode
script:This is due to the following now-erroneous path defined:
rockstor-core/src/rockstor/scripts/debugmode.py
Line 32 in 28292f5
This should be using our poetry venv instead.
[phillxnet: EDIT] instances found to date summarised:
rockstor-core/src/rockstor/scripts/debugmode.py
Line 32 in ccd21f7
rockstor-core/src/rockstor/smart_manager/views/docker_service.py
Line 142 in eeb0084
rockstor-core/src/rockstor/smart_manager/views/replication.py
Line 55 in ccd21f7
rockstor-core/src/rockstor/smart_manager/views/task_scheduler.py
Line 104 in 28292f5
rockstor-core/src/rockstor/smart_manager/views/task_scheduler.py
Line 110 in 28292f5
rockstor-core/src/rockstor/smart_manager/views/task_scheduler.py
Line 116 in 28292f5
rockstor-core/src/rockstor/storageadmin/views/oauth_app.py
Line 87 in 28292f5
rockstor-core/src/rockstor/storageadmin/templates/storageadmin/login.html
Line 141 in 28292f5
The text was updated successfully, but these errors were encountered: