Giter Club home page Giter Club logo

Comments (3)

ikapelyukhin avatar ikapelyukhin commented on May 29, 2024

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.

crashmaster18 avatar crashmaster18 commented on May 29, 2024

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.

crashmaster18 avatar crashmaster18 commented on May 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.