rajujith opened a new issue, #11358:
URL: https://github.com/apache/cloudstack/issues/11358

   ### 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. 
   
   <img width="704" height="361" alt="Image" 
src="https://github.com/user-attachments/assets/a932aa75-9f03-472e-b06b-1a5aefdb29fd";
 />
   <img width="725" height="348" alt="Image" 
src="https://github.com/user-attachments/assets/512f7a77-d414-4abf-8200-48970121a81d";
 />
   
   ```
   
   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. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to