Skip to content

opensuse and SLES support #11358

@rajujith

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.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions