Comments (3)
Hello, Kevin.
Thanks for taking the time to report the issue.
The config file is in YAML format, seems like there's an issue with the formatting. Could you please post your config file? (Please edit out your credentials)
The format for the scc
section should be as follows:
scc:
username: xxxxx
password: xxxxx
Spaces must be used for indentation. This denotes a hash in YAML, which is what RMT expects.
I was able to replicate your issue with the following contents in the scc
section:
scc: "username: xxxxx password: xxxxx"
This is a string rather than a hash, which would raise an exception.
Actually, we might consider choosing a different format for the config file, as YAML is pretty sensitive to formatting.
Thanks, Ivan.
from rmt.
Ah ha! I bet I forgot the spaces. I'm used to YAML configs, I know better. Eventually if there's a simple YAST module for this, most SLE admins will likely use that anyway. I will confirm this is the issue and report back. -Kevin
from rmt.
Ivan,
That was the issue indeed. Thank you again for your efforts on this - we've grown a bit tired of some SMT issues with SLE of late, and having opensuse support is fantastic for those edge cases where we use it. We will continue to watch this project with interest, as well as test and report back any other issues.
server:/ # rmt-cli scc sync
I, [2017-11-06T11:20:47.322331 #23801] INFO -- : Cleaning up the database
I, [2017-11-06T11:20:47.367464 #23801] INFO -- : Downloading data from SCC
I, [2017-11-06T11:21:24.902792 #23801] INFO -- : Updating products
I, [2017-11-06T11:22:56.273179 #23801] INFO -- : Updating repositories
I, [2017-11-06T11:23:12.965261 #23801] INFO -- : Updating subscriptions
I, [2017-11-06T11:23:13.890528 #23801] INFO -- : Done!'
from rmt.
Related Issues (20)
- Directories will be created with wrong permissions HOT 3
- rmt-cli sync issues HOT 6
- SSL configuration settings support for database settings in `/etc/rmt.conf` HOT 1
- Move documentation for rmt.conf to it's own manpage HOT 2
- RMT CLI logfile info for Mirroring HOT 5
- SCC credentials are needed even for OpenSUSE only environment HOT 7
- rmt-mirror reports error from cron job, but ok from command-line on opensuse15.5 HOT 2
- Missing details in error "Not all mandatory repositories are mirrored for product X"
- Offline import repos fail with files that included the special symbol(s) HOT 1
- feature request: allow RMT clients to download packages that are not mirrored but accessible via RMT server HOT 1
- rmt-cli mirror - "Checksum doesn't match" - http redirection issue HOT 2
- rmt-cli mirror error while moving directory: Invalid argument @ apply2files HOT 1
- Unable to mirror openSUSE Tumbleweed HOT 8
- Feature: Automatically cleanup systems which did not contact RMT since n days HOT 3
- Clarify/Improve the http_client proxy settings behaviour
- [bug] rmt error, client can't register. registration proxy server doesn't support this function. HOT 4
- feature: Allow filtering out debuginfo packages from a repo
- New `setup` command for `bin/rmt-cli`
- SSL issues with `rmt-client-setup-res` HOT 6
- Update translation license headers HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rmt.