# SLES 12, SMT, and namespaces

**URL:** <https://forums.suse.com/t/sles-12-smt-and-namespaces/26520>\
**Category:** SLES Updates\
**Created:** [January 2, 2015, 5:00am UTC](https://forums.suse.com/t/sles-12-smt-and-namespaces/26520 "2015-01-02T05:00:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![asbestoshead](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@asbestoshead](https://forums.suse.com/u/asbestoshead)\
**Post date:** [January 2, 2015, 5:00am UTC](https://forums.suse.com/t/sles-12-smt-and-namespaces/26520/1 "2015-01-02T05:00:26Z")

</div>

Hi,

In SLES 11 SP2 and SP3 I’ve been making use of SMT namespaces (staging groups) to handle multiple independent groups of systems on one SMT server.

In SLES 12 the --namespace argument to clientSetup4SMT.sh is ignored. It’s only used for suse\_register configuration (i.e. SLES 11, pre-SUSEConnect).

When I register a SLES 12 machine to SMT, SUSEConnect sets up the update repos pointing to the default namespace. How can I make SUSEConnect use an alternate namespace?

Thanks,  
Mike

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [January 6, 2015, 3:30pm UTC](https://forums.suse.com/t/sles-12-smt-and-namespaces/26520/2 "2015-01-06T15:30:17Z")

</div>

asbestoshead,

It appears that in the past few days you have not received a response to your  
posting. That concerns us, and has triggered this automated reply.

Has your issue been resolved? If not, you might try one of the following options:

- Visit [http://www.suse.com/support](http://www.suse.com/support) and search the knowledgebase and/or check all  
the other support options available.
- You could also try posting your message again. Make sure it is posted in the  
correct newsgroup. ([http://forums.suse.com](http://forums.suse.com))

Be sure to read the forum FAQ about what to expect in the way of responses:  
[http://forums.suse.com/faq.php](http://forums.suse.com/faq.php)

If this is a reply to a duplicate posting, please ignore and accept our apologies  
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your SUSE Forums Team  
[http://forums.suse.com](http://forums.suse.com)

---

<div class="post-metadata">

**Author:** ![mjh53](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@mjh53](https://forums.suse.com/u/mjh53)\
**Post date:** [February 2, 2015, 3:03pm UTC](https://forums.suse.com/t/sles-12-smt-and-namespaces/26520/3 "2015-02-02T15:03:27Z")

</div>

I have this issue as well.

I’ve even tried hard-coding the repositories to point to repo/testing - but as soon as “zypper update” is run, it refreshes the services and overwrites the repo urls.

How do we register a client against the ‘testing’ patch staging repository?

## Thanks, Mark Harrison

Intellectual Property Office

---

<div class="post-metadata">

**Author:** ![corywagner](https://avatars.discourse-cdn.com/v4/letter/c/f4b2a3/32.png) [@corywagner](https://forums.suse.com/u/corywagner)\
**Post date:** [December 20, 2016, 7:33pm UTC](https://forums.suse.com/t/sles-12-smt-and-namespaces/26520/4 "2016-12-20T19:33:23Z")

</div>

When I first started using SLE 12, I thought that namespace registration was broken, because clientSetup4SMT.sh ignores that flag for SLE 12. However, I recently discovered that SUSEConnect, which is used for registration in SLE 12, has a “–namespace” option. So, you could modify clientSetup4SMT.sh to execute “$SUSEConnect --namespace $NAMESPACE” as a separate command after registration, whenever a namespace is set, like this:

`if [-n "$NAMESPACE"]; then
    $SUSEConnect --namespace $NAMESPACE
fi`
