Results 1 to 4 of 4

Thread: Using RMT in SLES 12.4, 15.x, and openSUSE

  1. #1

    Using RMT in SLES 12.4, 15.x, and openSUSE

    Here's a question on RMT registration: When running rmt-client-setup you get a message stating that the client machine is registered with the RMT server. But is there any way to tell from the perspective of the RMT server what devices have been registered? I couldn't find any version of the rmt-cli command that provides that info and I couldn't locate any file on the RMT server containing information on "registered" devices. It seems that the only way to tell a device is "registered" with the RMT Server is to go to "Software Repositories" in YaST on the client and see URL(s) for the RMT Server listed there. Is that the case?

    Thanks!

    Rich...

  2. #2

    Re: Using RMT in SLES 12.4, 15.x, and openSUSE

    Quote Originally Posted by rich_hanley View Post
    Here's a question on RMT registration: When running rmt-client-setup you get a message stating that the client machine is registered with the RMT server. But is there any way to tell from the perspective of the RMT server what devices have been registered? I couldn't find any version of the rmt-cli command that provides that info and I couldn't locate any file on the RMT server containing information on "registered" devices. It seems that the only way to tell a device is "registered" with the RMT Server is to go to "Software Repositories" in YaST on the client and see URL(s) for the RMT Server listed there. Is that the case?
    RMT depends on MySQL (MariaDB?) and according to the schema at https://github.com/SUSE/rmt/blob/master/db/schema.rb it creates a systems table so perhaps you can try checking that?

    HTH.
    Simon
    SUSE Knowledge Partner
    ------------------------------------------------------------------------
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below. Thanks.

  3. #3

    Re: Using RMT in SLES 12.4, 15.x, and openSUSE

    Thanks for the help Simon! That tidbit got me headed down the correct path. But you would think we would have some options on the rmt-cli command to get at that kind of information without having to go directly to the rmt db. Thanks again. I appreciate the lead! Rich...

  4. Re: Using RMT in SLES 12.4, 15.x, and openSUSE

    Hello, Rich.

    Quote Originally Posted by rich_hanley View Post
    Thanks for the help Simon! That tidbit got me headed down the correct path. But you would think we would have some options on the rmt-cli command to get at that kind of information without having to go directly to the rmt db. Thanks again. I appreciate the lead! Rich...
    Most recent version of RMT has a rmt-cli systems list command:

    Code:
    ivan@e210:~> rmt-cli systems list
    +--------------------------------------+--------------+-------------------------+-------------------------+------------------------------------------+
    | Login                                | Hostname     | Registration time       | Last seen               | Products                                 |
    +--------------------------------------+--------------+-------------------------+-------------------------+------------------------------------------+
    | SCC_1976a476888646f58cc6676f09ef55f9 | e7e63808f2d1 | 2019-06-07 12:45:16 UTC | 2019-06-07 12:45:50 UTC | sles/15/x86_64                           |
    |                                      |              |                         |                         | sle-module-basesystem/15/x86_64          |
    |                                      |              |                         |                         | sle-module-server-applications/15/x86_64 |
    +--------------------------------------+--------------+-------------------------+-------------------------+------------------------------------------+
    The most recent version probably wasn't released into the main repos yet, you can find the most recent version in RMT devel project in OBS: https://build.opensuse.org/project/s...gement:SCC:RMT

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •