SUSE Manager/TypicalProblems

From MicroFocusInternationalWiki
Jump to: navigation, search

SUSE Manager Main Page

Typical problems and their solution

Things to check first

  • Is there sufficient main memory?
    • SUSE Manager requires at least 4GB (four gigabytes) of main memory
    • Adding swap space is a good idea
  • Is there sufficient disk space?
    • SUSE Manager requires approx 30GB of disk space for a full SLES11SP1 repo
  • Are client and server synchronized on time?
    • Else the certification validation might fail. Run sntp -P no -r to synchronize time with;
  • Actions don't get scheduled/executed, a number of other things do not work as expected
    • Is Taskomatic running out of memory (can you find "OutOfMemoryError" in /var/log/rhn/rhn_taskomatic_daemon.log)?
    • Give taskomatic more memory by editing /etc/rhn/rhn.conf and adding taskomatic.maxmemory = 2048.

Setup problems

Hostname of the server

    • You cannot change the hostname of the server after setup
    • The hostname must resolve to the correct IP address via DNS
      • Make sure your DNS server is correctly configured

SSL certificate creation fails

    • You must enter a valid country code
      • e.g. UK is invalid, GB is valid

Client does not get activated

    • Often caused by a missing channel assignment:
      • Add Repositories to SUSE Manager
      • Combine Repositories to Channels
      • Assign Channels to Activation Codes
      • Activate the client with an Activation Codes

Other problems

Rollback does not work

When looking into /var/log/up2date you find something like

Traceback (most recent call last):
  File "/usr/sbin/rhn_check", line 332, in __run_action
    (status, message, data) = CheckCli.__do_call(method, params, kwargs)
  File "/usr/sbin/rhn_check", line 325, in __do_call
    retval = method(*params, **kwargs)
  File "/usr/share/rhn/actions/", line 194, in runTransaction
    return zypper.transact(transaction_data)
  File "/usr/share/rhn/actions/", line 153, in transact
    return self.__execute(args)
  File "/usr/share/rhn/actions/", line 85, in __execute
<type 'exceptions.TypeError'>: 'NoneType' object is not iterable

Make sure you have the latest version of zypp-plugin-spacewalk installed on your client. At least version 0.5-0.3.1 is needed for rollback to work properly.

Registration of bare metal provisioning

You can use the kernel parameter
to keep the discovery image up an running for further investigation.

SSL Certificate issues on bootstrapping SLES 12 SP2 clients or Minions

If you receive curl errors when running a minion bootstrap on SLES 12 SP2 this is most likely due to the SUMA Server Self-Signed Certificate not being present on clients.

  • Note: This procedure can apply to other situations where running Zypper results in SSL errors from Curl

There is a RPM present that will install the SSL certificate. This is located in http://suma.mydomain.mytld/pub/ and is usually named "rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm" so you could install this with the following:

rpm -Uvh http://suma.mydomain.mytld/pub/rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm

Make sure to use the non-https version of the pub directory.