Skip to content

opensuse and SLES support #11358

Description

@rajujith

problem

I tried installing CloudStack 4.20.1 on opensuse 15.6, and there is an error running the command 'cloudstack-setup-management' but the service starts.
I could try another minor version of openSUSE 15 or SLES for the management server and KVM, but the release notes don't mention the supported minor version.

It would be nice to have this clarified in the release notes, as we also expect support for the latest versions of OpenSUSE and SLES for both the management server and KVM.

Image Image

opensuse-mgmt1:~ # cloudstack-setup-management
Starting to configure CloudStack Management Server:
Configure CloudStack Management Server ...--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib64/python3.6/logging/__init__.py", line 996, in emit
    stream.write(msg)
UnicodeEncodeError: 'latin-1' codec can't encode character '\u2192' in position 526: ordinal not in range(256)
Call stack:
  File "/usr/bin/cloudstack-setup-management", line 67, in <module>
    syscfg.config()
  File "/usr/share/cloudstack-common/python-site/cloudutils/syscfg.py", line 85, in config
    if not service.configuration():
  File "/usr/share/cloudstack-common/python-site/cloudutils/serviceConfig.py", line 38, in configuration
    result = self.config()
  File "/usr/share/cloudstack-common/python-site/cloudutils/serviceConfigServer.py", line 90, in config
    self.syscfg.svo.stopService("cloudstack-management")
  File "/usr/share/cloudstack-common/python-site/cloudutils/utilities.py", line 181, in stopService
    if self.isServiceRunning(servicename) or force:
  File "/usr/share/cloudstack-common/python-site/cloudutils/utilities.py", line 172, in isServiceRunning
    o = bash("service " + servicename + " status")
  File "/usr/share/cloudstack-common/python-site/cloudutils/utilities.py", line 30, in __init__
    self.run()
  File "/usr/share/cloudstack-common/python-site/cloudutils/utilities.py", line 57, in run
    logging.debug("Failed to execute:" + self.getErrMsg())
Message: 'Failed to execute:* cloudstack-management.service - CloudStack Management Server\n     Loaded: loaded (/usr/lib/systemd/system/cloudstack-management.service; enabled; preset: disabled)\n    Drop-In: /etc/systemd/system/cloudstack-management.service.d\n             `-filelimit.conf\n     Active: inactive (dead)\n\nJul 31 09:55:31 opensuse-mgmt1 systemd[1]: /usr/lib/systemd/system/cloudstack-management.service:36: PIDFile= references a path below legacy directory /var/run/, updating /var/run/cloudstack-management.pid \u2192 /run/cloudstack-management.pid; please update the unit file accordingly.\nJul 31 09:55:35 opensuse-mgmt1 systemd[1]: /usr/lib/systemd/system/cloudstack-management.service:36: PIDFile= references a path below legacy directory /var/run/, updating /var/run/cloudstack-management.pid \u2192 /run/cloudstack-management.pid; please update the unit file accordingly.'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib64/python3.6/logging/__init__.py", line 996, in emit
    stream.write(msg)
UnicodeEncodeError: 'latin-1' codec can't encode character '\u2192' in position 526: ordinal not in range(256)
Call stack:
  File "/usr/bin/cloudstack-setup-management", line 67, in <module>
    syscfg.config()
  File "/usr/share/cloudstack-common/python-site/cloudutils/syscfg.py", line 85, in config
    if not service.configuration():
  File "/usr/share/cloudstack-common/python-site/cloudutils/serviceConfig.py", line 38, in configuration
    result = self.config()
  File "/usr/share/cloudstack-common/python-site/cloudutils/serviceConfigServer.py", line 91, in config
    if self.syscfg.svo.enableService("cloudstack-management"):
  File "/usr/share/cloudstack-common/python-site/cloudutils/utilities.py", line 197, in enableService
    return self.startService(servicename,force=forcestart)
  File "/usr/share/cloudstack-common/python-site/cloudutils/utilities.py", line 191, in startService
    if not self.isServiceRunning(servicename) or force:
  File "/usr/share/cloudstack-common/python-site/cloudutils/utilities.py", line 172, in isServiceRunning
    o = bash("service " + servicename + " status")
  File "/usr/share/cloudstack-common/python-site/cloudutils/utilities.py", line 30, in __init__
    self.run()
  File "/usr/share/cloudstack-common/python-site/cloudutils/utilities.py", line 57, in run
    logging.debug("Failed to execute:" + self.getErrMsg())
Message: 'Failed to execute:* cloudstack-management.service - CloudStack Management Server\n     Loaded: loaded (/usr/lib/systemd/system/cloudstack-management.service; enabled; preset: disabled)\n    Drop-In: /etc/systemd/system/cloudstack-management.service.d\n             `-filelimit.conf\n     Active: inactive (dead)\n\nJul 31 09:55:31 opensuse-mgmt1 systemd[1]: /usr/lib/systemd/system/cloudstack-management.service:36: PIDFile= references a path below legacy directory /var/run/, updating /var/run/cloudstack-management.pid \u2192 /run/cloudstack-management.pid; please update the unit file accordingly.\nJul 31 09:55:35 opensuse-mgmt1 systemd[1]: /usr/lib/systemd/system/cloudstack-management.service:36: PIDFile= references a path below legacy directory /var/run/, updating /var/run/cloudstack-management.pid \u2192 /run/cloudstack-management.pid; please update the unit file accordingly.\nJul 31 09:59:20 opensuse-mgmt1 systemd[1]: /usr/lib/systemd/system/cloudstack-management.service:36: PIDFile= references a path below legacy directory /var/run/, updating /var/run/cloudstack-management.pid \u2192 /run/cloudstack-management.pid; please update the unit file accordingly.'
Arguments: ()
[OK]
CloudStack Management Server setup is Done!
Please ensure ports 8080, 8250, 8443, and 9090 are opened and not firewalled for the management server and not in use by other processes on this host.

versions

4.20.1

The steps to reproduce the bug

What to do about it?

Expecting a proper support for openSUSE and have it clearly documented.

Activity

  1. added this to the 4.20.2 milestone on Jul 31, 2025
  2. yadvr commented on Jul 31, 2025

    @yadvr
    Member

    The comment on SLES is clearly mentioned in the docs that it's not tested as CloudStack management server host: https://docs.cloudstack.apache.org/en/latest/releasenotes/compat.html#supported-os-versions-for-management-server this is because SLES is like RHEL and behind paywall or licenses and not easily availalbe or accessible for community to try, test and support.

    We do however, base it might work on the basis that CloudStack works on openSuse 15 (old SPs). That said wider community doesn't use SLES or openSUSE so I'm not suprised if there are cracks in its maintenance. Usually this is because of some rpm dependency which has a different name or is missing, which can be solved by editing the rpm file or doing force install, or installing rpm from a different source (like rpmfind).

  3. vishesh92 commented on Sep 18, 2025

    @vishesh92
    Member

    I have created these 2 PRs which fixes some issues on openSUSE 15.6.
    #11614 (already merged) - causing issues with system VM template registration
    #11670 - fixes metrics for management server

  4. weizhouapache commented on Sep 24, 2025

    @weizhouapache
    Member

    thanks @vishesh92
    will you update the compatibility matrix in doc ?

  5. vishesh92 commented on Sep 24, 2025

    @vishesh92
    Member

    thanks @vishesh92 will you update the compatibility matrix in doc ?

    I already added it here: https://github.com/apache/cloudstack-documentation/pull/557/files

  6. vishesh92 commented on Sep 24, 2025

    @vishesh92
    Member

    @weizhouapache do we need to backport the change to 4.20 branch in cloudstack-documentation?

  7. weizhouapache commented on Sep 24, 2025

    @weizhouapache
    Member

    @weizhouapache do we need to backport the change to 4.20 branch in cloudstack-documentation?

    but EL10 is not supported in 4.20, right ?

  8. vishesh92 commented on Sep 24, 2025

    @vishesh92
    Member

    @weizhouapache do we need to backport the change to 4.20 branch in cloudstack-documentation?

    but EL10 is not supported in 4.20, right ?

    Correct. I will just create a new PR for SLES changes only against 4.20 branch.

  9. weizhouapache commented on Sep 24, 2025

    @weizhouapache
    Member

    @weizhouapache do we need to backport the change to 4.20 branch in cloudstack-documentation?

    but EL10 is not supported in 4.20, right ?

    Correct. I will just create a new PR for SLES changes only against 4.20 branch.

    good, thanks @vishesh92

  10. weizhouapache commented on Sep 24, 2025

    @weizhouapache
    Member
  11. weizhouapache commented on Sep 30, 2025

    @weizhouapache
    Member

    fixed by #11670 and #11614

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions