PDA

View Full Version : SLES 12 SP3 SMT: Which repos/products to select?



bausch
12-Feb-2019, 13:19
This is a newbie question. I am trying to set up an SMT server on SLES12sp3 and don't know what to mirror. This is for a 60-days trial license.

The documentation (https://www.suse.com/documentation/sles-12/singlehtml/book_smt/book_smt.html#smt.mirroring.manage) says:


For example, to enable all repositories belonging to SUSE Linux Enterprise Server 10 SP3 for PowerPC architecture, use the smt-repos -p SUSE-Linux-Enterprise-Server-SP3,10,ppc command. The list of known products can be obtained with the smt-list-products command.

So I try


$ sudo smt-repos -p SUSE-Linux-Enterprise-Server-SP3,12,x86_64
Error: Product (SUSE-Linux-Enterprise-Server-SP3,12,x86_64) not found.


smt-list-products returns hundreds of products, including SUSE-Linux-Enterprise-Server-SP3 for version 10, but not version 12.

The Subscriptions page on the SCC site lists several base products, among them SUSE Linux Enterprise Server 12 SP3.

I am thoroughly confused. Which product(s) should I select?

eblock
12-Feb-2019, 14:04
Hi and welcome to the forum!

I'm not entirely sure it's SLES12SP3, but what about this:


smt-admin:~ # smt-list-products | grep "SLES.*12.3"
| 100706 | SLES | 12.3 | aarch64 | - | 0 |
| 100696 | SLES | 12.3 | ppc64le | - | 0 |
| 100702 | SLES | 12.3 | s390x | - | 0 |
| 100689 | SLES | 12.3 | x86_64 | - | 0 |
[...]

You can check with smt-repos -m if your desired version is available:


smt-admin:~ # smt-repos -m | grep SLES12-SP3
| No | 791 | nu | SLES12-SP3-Debuginfo-Pool | sle-12-x86_64 | SLES12-SP3-Debuginfo-Pool for sle-12-x86_64 | Yes | No |
| No | 792 | nu | SLES12-SP3-Debuginfo-Updates | sle-12-x86_64 | SLES12-SP3-Debuginfo-Updates for sle-12-x86_64 | Yes | No |
| No | 793 | nu | SLES12-SP3-Installer-Updates | sle-12-x86_64 | SLES12-SP3-Installer-Updates for sle-12-x86_64 | Yes | No |
| Yes | 794 | nu | SLES12-SP3-Pool | sle-12-x86_64 | SLES12-SP3-Pool for sle-12-x86_64 | Yes | No |
| No | 795 | nu | SLES12-SP3-Source-Pool | sle-12-x86_64 | SLES12-SP3-Source-Pool for sle-12-x86_64 | Yes | No |
| Yes | 796 | nu | SLES12-SP3-Updates | sle-12-x86_64 | SLES12-SP3-Updates for sle-12-x86_64 | Yes | No |

To enable the SLES12SP3 Pool and Update repositories run:

smt-repos SLES12-SP3-Pool sle-12-x86_64 -e
smt-repos SLES12-SP3-Updates sle-12-x86_64 -e

bausch
12-Feb-2019, 15:25
The world is a village :)

Yes, I have tried other products with no success, and I simply don't know which of the many products that look like SLES I should choose.

eblock
12-Feb-2019, 15:44
Bernd, is that you? :D

If you just need basic SLES12SP3 with Updates it should be sufficient to enable those two repos I mentioned in the previous answer. What happens if you run

smt-repos SLES12-SP3-Pool sle-12-x86_64 -e
smt-repos SLES12-SP3-Updates sle-12-x86_64 -e

Are there errors or are they enabled successfully? If not, can you paste error messages?

bausch
13-Feb-2019, 00:48
Yes, I can add these two repos. I should have read your earlier reply.
Thanks a lot, you saved me a few hours or days :)

Slightly off-topic: I may also need OpenStack repos, but again I am not sure what exactly I need. Helion OpenStack 8 to be precise (which is probably subtly different from SUSE OpenStack Cloud 8; not sure). So if you have ideas, they are very welcome.

And yes, it's me.

eblock
13-Feb-2019, 10:39
Glad I could help!

I see Helion OpenStack available as a product:

smt-admin:~ # smt-list-products | grep helion
| 100685 | hpe-helion-openstack | 8 | x86_64 | - | 0 |


If I'm not completely wrong here, you can register for Helion OpenStack via yast add-on, and then it should be available for enabling with smt-repos -e.