Skip to content
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

SCC credentials are needed even for OpenSUSE only environment #1025

Open
ramzcode opened this issue Aug 14, 2023 · 7 comments
Open

SCC credentials are needed even for OpenSUSE only environment #1025

ramzcode opened this issue Aug 14, 2023 · 7 comments
Labels
question Needs more discussion or research. user feedback Issues or feature requests received from users of RMT.

Comments

@ramzcode
Copy link

Trying to use RMT to sync or use with OpenSUSE Repo, with the SCC Credentials error can't be suppressed or disabled.

Is there a way to disable SCC validation to use with custom repos ?

There are no explicit doc on this but it say it supports custom repo sync

@ramzcode ramzcode changed the title SCC credentials are needed even for only OpenSUSE environment SCC credentials are needed even for OpenSUSE only environment Aug 14, 2023
@likhitha77
Copy link
Contributor

Hi,
The sync functionality in RMT is to allow it to sync with the products/repositiories in SCC. Generally, SCC doesn't support OpenSUSE repositories. Could you please provide more details on what you're trying to achieve here?

Also, you mentioned "it say it supports custom repo sync" - Could you please share your source for this?

@ramzcode
Copy link
Author

If thats the case then what custom repo really means in the docs, i thought we can still use RMT to add custom Repo like openSUSE to sync but then the creds were question since RMT wont allow to sync without setting it up with the password.

@likhitha77
Copy link
Contributor

likhitha77 commented Dec 19, 2023

The rmt-cli sync command is to sync with products and repositories managed by SCC only. It cannot be used to add custom repositories at the moment.

If you wish to mirror custom repositories, you can use the rmt-cli repos custom add URL NAME command. You can run rmt-cli repos custom help to get more information and options.
Currently, this requires SCC credentials too. We are discussing about allowing this functionality without the need for SCC credentials in the future. But in the meantime, to obtain SCC credentials you can create an SCC account and sign up for a trial subscription. This will create an organisation for you and you can use those credentials to proceed.

@ngetahun ngetahun added user feedback Issues or feature requests received from users of RMT. question Needs more discussion or research. labels Jan 19, 2024
@digitaltom
Copy link
Member

@ramzcode could you please provide more details about your workflow?

For me this works without issues (without having SCC credentials configured in the RMT config):

rmt-cli repos custom add http://download.opensuse.org/distribution/leap/15.5/repo/oss/ leap_15.5
rmt-cli mirror

@ramzcode
Copy link
Author

@digitaltom I am trying to use only OpenSUSE repo sync, for example this will not allow me to sync until i initialize the tool with a SCC credentials.

@digitaltom
Copy link
Member

Could you provide us the sequence of commands you're running, and the error? With the commands from my comment above it is supposed to work.

@ramzcode
Copy link
Author

rmt-cli sync

I believe this is the reason and not really needed if only OpenSUSE is needed and still rmt does not look at it as a mandatory field for mirror operations

rmt-cli mirror

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Needs more discussion or research. user feedback Issues or feature requests received from users of RMT.
Projects
None yet
Development

No branches or pull requests

4 participants