Stable updates regression Rockstor 4 release candidate. Fixes #2227 #2228
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The existing url encoded stable updates credentials were not found by zypper from within the Web-UI hosted command environment. Fix by moving to explicit file storage of credentials using the default location for credentials.global.dir, see: /etc/zypp/zypp.conf.
Thanks to forum member GeoffA for reporting this issue and extensive early testing.
Thanks to @FroggyFlox for pointers and research on zypper function and capability.
Fixes #2227
Ready for review.
zypper url modifications:
N.B. The 'user' element is still required within the url.
Testing
An existing 4.0.2-0 Release candidate 3 was patched in place and updated successfully via Web-UI to 4.0.3-0 (RC3) via:
The last step in this case undoes the proposed changes but proves the ability of a patched 4.0.2-0 to subscribe to and update from the Stable channel.
During development and the above proof of function the Stable channel web server logs were monitored for evidence of any 401 access indicating the prior issue detailed failure to authenticate.