Skip to content

HTTP ERROR 503 Service Unavailable #9815

Closed

Description

@gobiursus
ISSUE TYPE
  • Bug Report
    503 Unavailable after installation
COMPONENT NAME
Management server
CLOUDSTACK VERSION
4.19.1.2
CONFIGURATION
OS / ENVIRONMENT

Debian 12.7 Stable

SUMMARY
STEPS TO REPRODUCE
apt install -y cloud-management-server
cloudstack-setup-databases cloud:<password>@localhost --deploy-as=root:<dbroot_password>
cloudstack-setup-management
On web browser access address: `http://management.ip:8080/client`.
EXPECTED RESULTS
Access into management interface on `http://management.ip:8080/client`
ACTUAL RESULTS
![image](https://github.com/user-attachments/assets/fe1db04c-954b-4fcd-82f9-2d3e52e4191d)

Activity

  1. weizhouapache commented on Oct 17, 2024

    @weizhouapache
    Member

    can you search Exception in the management-server.log ?

  2. gobiursus commented on Oct 18, 2024

    @gobiursus
    Author
    # grep -i -E 'exception' /var/log/cloudstack/management/management-server.log
    2024-10-17 21:32:20,090 WARN  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Failed to start module [storage-object-simulator] due to: [Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available].
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    2024-10-17 21:32:20,110 WARN  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Failed to start module [storage-volume-cloudbyte] due to: [Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available].
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    2024-10-17 21:32:20,129 WARN  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Failed to start module [storage-volume-datera] due to: [Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available].
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    2024-10-17 21:32:20,147 WARN  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Failed to start module [storage-volume-default] due to: [Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available].
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    2024-10-17 21:32:20,165 WARN  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Failed to start module [storage-volume-flasharray] due to: [Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available].
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    2024-10-17 21:32:20,185 WARN  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Failed to start module [storage-volume-linstor] due to: [Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available].
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    2024-10-17 21:32:20,203 WARN  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Failed to start module [storage-volume-primera] due to: [Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available].
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    2024-10-17 21:32:20,222 WARN  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Failed to start module [storage-volume-scaleio] due to: [Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available].
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    2024-10-17 21:32:20,241 WARN  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Failed to start module [storage-volume-solidfire] due to: [Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available].
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    2024-10-17 21:32:20,263 WARN  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Failed to start module [storage-volume-storpool] due to: [Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available].
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    2024-10-17 21:32:20,281 WARN  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Failed to start module [vmware-storage] due to: [Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available].
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    2024-10-17 21:32:20,297 WARN  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Failed to start module [cluster] due to: [Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available].
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    2024-10-17 21:32:20,314 WARN  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Failed to start module [balanced] due to: [Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available].
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    2024-10-17 21:32:20,332 WARN  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Failed to start module [condensed] due to: [Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available].
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    2024-10-17 21:32:20,348 WARN  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Failed to start module [discoverer] due to: [Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available].
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    2024-10-17 21:32:20,366 WARN  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Failed to start module [baremetal-discoverer] due to: [Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available].
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    2024-10-17 21:32:20,385 WARN  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Failed to start module [hyperv-discoverer] due to: [Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available].
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    2024-10-17 21:32:20,403 WARN  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Failed to start module [ovm-discoverer] due to: [Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available].
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    2024-10-17 21:32:20,420 WARN  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Failed to start module [ovm3-discoverer] due to: [Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available].
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    2024-10-17 21:32:20,438 WARN  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Failed to start module [secondary-storage-discoverer] due to: [Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available].
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    2024-10-17 21:32:20,458 WARN  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Failed to start module [server-discoverer] due to: [Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available].
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    2024-10-17 21:32:20,476 WARN  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Failed to start module [vmware-discoverer] due to: [Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available].
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    2024-10-17 21:32:20,496 WARN  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Failed to start module [xenserver-discoverer] due to: [Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available].
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    2024-10-17 21:32:20,512 WARN  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Failed to start module [outofbandmanagement] due to: [Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available].
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    2024-10-17 21:32:20,529 WARN  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Failed to start module [ipmitool] due to: [Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available].
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    2024-10-17 21:32:20,547 WARN  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Failed to start module [nested-cloudstack] due to: [Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available].
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    2024-10-17 21:32:20,565 WARN  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Failed to start module [redfish] due to: [Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available].
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.19.1.2.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]: Cannot resolve reference to bean 'DefaultConfigResources' while setting bean property 'locations'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'DefaultConfigResources' available
    
  3. gobiursus commented on Oct 18, 2024

    @gobiursus
    Author
  4. weizhouapache commented on Oct 18, 2024

    @weizhouapache
    Member

    @gobiursus
    from my experience, it is mostly caused by db misconfiguration.
    in short, the mgmt server cannot connect to the db

    can you re-do all steps and share the output ?

  5. gobiursus commented on Oct 18, 2024

    @gobiursus
    Author
  6. gobiursus commented on Oct 18, 2024

    @gobiursus
    Author

    There was no error during installation.

  7. gobiursus commented on Oct 18, 2024

    @gobiursus
    Author
    # apt install mariadb-server-10.5 #I got the error of this issue on MariaDB v10.11.16+Cloudstack on Noble, this time I am using v10.5 because I changed to focal.
    ...
    # apt install ./python3-mysql.connector_8.0.15-2build1_all.deb
    ...
    # mysql_secure_installation 
    
    NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
          SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!
    
    In order to log into MariaDB to secure it, we'll need the current
    password for the root user. If you've just installed MariaDB, and
    haven't set the root password yet, you should just press enter here.
    
    Enter current password for root (enter for none): 
    OK, successfully used password, moving on...
    
    Setting the root password or using the unix_socket ensures that nobody
    can log into the MariaDB root user without the proper authorisation.
    
    You already have your root account protected, so you can safely answer 'n'.
    
    Switch to unix_socket authentication [Y/n] 
    Enabled successfully!
    Reloading privilege tables..
     ... Success!
    
    
    You already have your root account protected, so you can safely answer 'n'.
    
    Change the root password? [Y/n] 
    New password: 
    Aborting!
    
    Cleaning up...
    root@manage:~# mysql_secure_installation 
    
    NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
          SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!
    
    In order to log into MariaDB to secure it, we'll need the current
    password for the root user. If you've just installed MariaDB, and
    haven't set the root password yet, you should just press enter here.
    
    Enter current password for root (enter for none): 
    OK, successfully used password, moving on...
    
    Setting the root password or using the unix_socket ensures that nobody
    can log into the MariaDB root user without the proper authorisation.
    
    You already have your root account protected, so you can safely answer 'n'.
    
    Switch to unix_socket authentication [Y/n] n
     ... skipping.
    
    You already have your root account protected, so you can safely answer 'n'.
    
    Change the root password? [Y/n] 
    New password: 
    Re-enter new password: 
    Password updated successfully!
    Reloading privilege tables..
     ... Success!
    
    
    By default, a MariaDB installation has an anonymous user, allowing anyone
    to log into MariaDB without having to have a user account created for
    them.  This is intended only for testing, and to make the installation
    go a bit smoother.  You should remove them before moving into a
    production environment.
    
    Remove anonymous users? [Y/n] 
     ... Success!
    
    Normally, root should only be allowed to connect from 'localhost'.  This
    ensures that someone cannot guess at the root password from the network.
    
    Disallow root login remotely? [Y/n] 
     ... Success!
    
    By default, MariaDB comes with a database named 'test' that anyone can
    access.  This is also intended only for testing, and should be removed
    before moving into a production environment.
    
    Remove test database and access to it? [Y/n] 
     - Dropping test database...
     ... Success!
     - Removing privileges on test database...
     ... Success!
    
    Reloading the privilege tables will ensure that all changes made so far
    will take effect immediately.
    
    Reload privilege tables now? [Y/n] 
     ... Success!
    
    Cleaning up...
    
    All done!  If you've completed all of the above steps, your MariaDB
    installation should now be secure.
    
    Thanks for using MariaDB!
    # # apt install cloudstack-ui cloudstack-usage cloudstack-management 
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    The following additional packages will be installed:
      alsa-topology-conf alsa-ucm-conf augeas-lenses augeas-tools ca-certificates-java cloudstack-common
      freeipmi-common genisoimage ibverbs-providers ieee-data ipmitool java-common keyutils libasound2
      libasound2-data libaugeas0 libavahi-client3 libavahi-common-data libavahi-common3
      libboost-iostreams1.74.0 libboost-thread1.74.0 libcups2 libevent-core-2.1-7 libfmt9 libfreeipmi17
      libfuse3-3 libgfapi0 libgfrpc0 libgfxdr0 libglusterfs0 libibverbs1 libiscsi7 libnfs13 libnfsidmap1
      libnspr4 libnss3 libopenipmi0 librados2 librbd1 librdmacm1 libsensors-config libsensors5
      libsnmp-base libsnmp40 libssh-4 nfs-common openipmi openjdk-17-jre-headless python3-anyio
      python3-click python3-colorama python3-dnspython python3-h11 python3-h2 python3-hpack
      python3-httpcore python3-httpx python3-hyperframe python3-markdown-it python3-mdurl python3-netaddr
      python3-pip python3-requests-toolbelt python3-rfc3986 python3-rich python3-sniffio python3-wheel
      qemu-block-extra qemu-utils rng-tools-debian rpcbind uuid-runtime
    Suggested packages:
      augeas-doc freeipmi-tools wodim cdrkit-doc default-jre libasound2-plugins alsa-utils cups-common
      fuse3 lm-sensors snmp-mibs-downloader open-iscsi watchdog libnss-mdns fonts-dejavu-extra
      fonts-ipafont-gothic fonts-ipafont-mincho fonts-wqy-microhei | fonts-wqy-zenhei fonts-indic
      python3-trio python3-aioquic python-netaddr-docs
    The following NEW packages will be installed:
      alsa-topology-conf alsa-ucm-conf augeas-lenses augeas-tools ca-certificates-java cloudstack-common
      cloudstack-management cloudstack-ui cloudstack-usage freeipmi-common genisoimage ibverbs-providers
      ieee-data ipmitool java-common keyutils libasound2 libasound2-data libaugeas0 libavahi-client3
      libavahi-common-data libavahi-common3 libboost-iostreams1.74.0 libboost-thread1.74.0 libcups2
      libevent-core-2.1-7 libfmt9 libfreeipmi17 libfuse3-3 libgfapi0 libgfrpc0 libgfxdr0 libglusterfs0
      libibverbs1 libiscsi7 libnfs13 libnfsidmap1 libnspr4 libnss3 libopenipmi0 librados2 librbd1
      librdmacm1 libsensors-config libsensors5 libsnmp-base libsnmp40 libssh-4 nfs-common openipmi
      openjdk-17-jre-headless python3-anyio python3-click python3-colorama python3-dnspython python3-h11
      python3-h2 python3-hpack python3-httpcore python3-httpx python3-hyperframe python3-markdown-it
      python3-mdurl python3-netaddr python3-pip python3-requests-toolbelt python3-rfc3986 python3-rich
      python3-sniffio python3-wheel qemu-block-extra qemu-utils rng-tools-debian rpcbind uuid-runtime
    0 upgraded, 75 newly installed, 0 to remove and 0 not upgraded.
    Need to get 1,729 MB of archives.
    After this operation, 2,074 MB of additional disk space will be used.
    Do you want to continue? [Y/n] 
    Get:1 https://download.cloudstack.org/ubuntu focal/4.19 all cloudstack-common all 4.19.1.2 [119 MB]
    ...
    Get:74 https://download.cloudstack.org/ubuntu focal/4.19 all cloudstack-ui all 4.19.1.2 [5,943 kB]     
    Get:75 https://download.cloudstack.org/ubuntu focal/4.19 all cloudstack-usage all 4.19.1.2 [67.5 MB]
    Fetched 1,729 MB in 1min 22s (21.1 MB/s)                                                               
    Extracting templates from packages: 100%
    Selecting previously unselected package freeipmi-common.
    (Reading database ... 95972 files and directories currently installed.)
    Preparing to unpack .../00-freeipmi-common_1.6.10-1_all.deb ...
    Unpacking freeipmi-common (1.6.10-1) ...
    Selecting previously unselected package libfreeipmi17.
    Preparing to unpack .../01-libfreeipmi17_1.6.10-1+b1_amd64.deb ...
    Unpacking libfreeipmi17 (1.6.10-1+b1) ...
    Selecting previously unselected package ipmitool.
    Preparing to unpack .../02-ipmitool_1.8.19-4+deb12u1_amd64.deb ...
    Unpacking ipmitool (1.8.19-4+deb12u1) ...
    Selecting previously unselected package libevent-core-2.1-7:amd64.
    Preparing to unpack .../03-libevent-core-2.1-7_2.1.12-stable-8_amd64.deb ...
    Unpacking libevent-core-2.1-7:amd64 (2.1.12-stable-8) ...
    Selecting previously unselected package libnfsidmap1:amd64.
    Preparing to unpack .../04-libnfsidmap1_1%3a2.6.2-4_amd64.deb ...
    Unpacking libnfsidmap1:amd64 (1:2.6.2-4) ...
    Selecting previously unselected package rpcbind.
    Preparing to unpack .../05-rpcbind_1.2.6-6+b1_amd64.deb ...
    Unpacking rpcbind (1.2.6-6+b1) ...
    Selecting previously unselected package keyutils.
    Preparing to unpack .../06-keyutils_1.6.3-2_amd64.deb ...
    Unpacking keyutils (1.6.3-2) ...
    Selecting previously unselected package nfs-common.
    Preparing to unpack .../07-nfs-common_1%3a2.6.2-4_amd64.deb ...
    Unpacking nfs-common (1:2.6.2-4) ...
    Selecting previously unselected package rng-tools-debian.
    Preparing to unpack .../08-rng-tools-debian_2.3_amd64.deb ...
    Unpacking rng-tools-debian (2.3) ...
    Selecting previously unselected package uuid-runtime.
    Preparing to unpack .../09-uuid-runtime_2.38.1-5+deb12u1_amd64.deb ...
    Unpacking uuid-runtime (2.38.1-5+deb12u1) ...
    Selecting previously unselected package alsa-topology-conf.
    Preparing to unpack .../10-alsa-topology-conf_1.2.5.1-2_all.deb ...
    Unpacking alsa-topology-conf (1.2.5.1-2) ...
    Selecting previously unselected package libasound2-data.
    Preparing to unpack .../11-libasound2-data_1.2.8-1_all.deb ...
    Unpacking libasound2-data (1.2.8-1) ...
    Selecting previously unselected package libasound2:amd64.
    Preparing to unpack .../12-libasound2_1.2.8-1+b1_amd64.deb ...
    Unpacking libasound2:amd64 (1.2.8-1+b1) ...
    Selecting previously unselected package alsa-ucm-conf.
    Preparing to unpack .../13-alsa-ucm-conf_1.2.8-1_all.deb ...
    Unpacking alsa-ucm-conf (1.2.8-1) ...
    Selecting previously unselected package augeas-lenses.
    Preparing to unpack .../14-augeas-lenses_1.14.0-1_all.deb ...
    Unpacking augeas-lenses (1.14.0-1) ...
    Selecting previously unselected package libaugeas0:amd64.
    Preparing to unpack .../15-libaugeas0_1.14.0-1_amd64.deb ...
    Unpacking libaugeas0:amd64 (1.14.0-1) ...
    Selecting previously unselected package augeas-tools.
    Preparing to unpack .../16-augeas-tools_1.14.0-1_amd64.deb ...
    Unpacking augeas-tools (1.14.0-1) ...
    Selecting previously unselected package ca-certificates-java.
    Preparing to unpack .../17-ca-certificates-java_20230710~deb12u1_all.deb ...
    Unpacking ca-certificates-java (20230710~deb12u1) ...
    Selecting previously unselected package genisoimage.
    Preparing to unpack .../18-genisoimage_9%3a1.1.11-3.4_amd64.deb ...
    Unpacking genisoimage (9:1.1.11-3.4) ...
    Selecting previously unselected package libibverbs1:amd64.
    Preparing to unpack .../19-libibverbs1_44.0-2_amd64.deb ...
    Unpacking libibverbs1:amd64 (44.0-2) ...
    Selecting previously unselected package ibverbs-providers:amd64.
    Preparing to unpack .../20-ibverbs-providers_44.0-2_amd64.deb ...
    Unpacking ibverbs-providers:amd64 (44.0-2) ...
    Selecting previously unselected package ieee-data.
    Preparing to unpack .../21-ieee-data_20220827.1_all.deb ...
    Unpacking ieee-data (20220827.1) ...
    Selecting previously unselected package java-common.
    Preparing to unpack .../22-java-common_0.74_all.deb ...
    Unpacking java-common (0.74) ...
    Selecting previously unselected package libavahi-common-data:amd64.
    Preparing to unpack .../23-libavahi-common-data_0.8-10_amd64.deb ...
    Unpacking libavahi-common-data:amd64 (0.8-10) ...
    Selecting previously unselected package libavahi-common3:amd64.
    Preparing to unpack .../24-libavahi-common3_0.8-10_amd64.deb ...
    Unpacking libavahi-common3:amd64 (0.8-10) ...
    Selecting previously unselected package libavahi-client3:amd64.
    Preparing to unpack .../25-libavahi-client3_0.8-10_amd64.deb ...
    Unpacking libavahi-client3:amd64 (0.8-10) ...
    Selecting previously unselected package libboost-iostreams1.74.0:amd64.
    Preparing to unpack .../26-libboost-iostreams1.74.0_1.74.0+ds1-21_amd64.deb ...
    Unpacking libboost-iostreams1.74.0:amd64 (1.74.0+ds1-21) ...
    Selecting previously unselected package libboost-thread1.74.0:amd64.
    Preparing to unpack .../27-libboost-thread1.74.0_1.74.0+ds1-21_amd64.deb ...
    Unpacking libboost-thread1.74.0:amd64 (1.74.0+ds1-21) ...
    Selecting previously unselected package libcups2:amd64.
    Preparing to unpack .../28-libcups2_2.4.2-3+deb12u8_amd64.deb ...
    Unpacking libcups2:amd64 (2.4.2-3+deb12u8) ...
    Selecting previously unselected package libfmt9:amd64.
    Preparing to unpack .../29-libfmt9_9.1.0+ds1-2_amd64.deb ...
    Unpacking libfmt9:amd64 (9.1.0+ds1-2) ...
    Selecting previously unselected package libfuse3-3:amd64.
    Preparing to unpack .../30-libfuse3-3_3.14.0-4_amd64.deb ...
    Unpacking libfuse3-3:amd64 (3.14.0-4) ...
    Selecting previously unselected package libgfxdr0:amd64.
    Preparing to unpack .../31-libgfxdr0_10.3-5_amd64.deb ...
    Unpacking libgfxdr0:amd64 (10.3-5) ...
    Selecting previously unselected package libglusterfs0:amd64.
    Preparing to unpack .../32-libglusterfs0_10.3-5_amd64.deb ...
    Unpacking libglusterfs0:amd64 (10.3-5) ...
    Selecting previously unselected package libgfrpc0:amd64.
    Preparing to unpack .../33-libgfrpc0_10.3-5_amd64.deb ...
    Unpacking libgfrpc0:amd64 (10.3-5) ...
    Selecting previously unselected package libgfapi0:amd64.
    Preparing to unpack .../34-libgfapi0_10.3-5_amd64.deb ...
    Unpacking libgfapi0:amd64 (10.3-5) ...
    Selecting previously unselected package librdmacm1:amd64.
    Preparing to unpack .../35-librdmacm1_44.0-2_amd64.deb ...
    Unpacking librdmacm1:amd64 (44.0-2) ...
    Selecting previously unselected package libiscsi7:amd64.
    Preparing to unpack .../36-libiscsi7_1.19.0-3_amd64.deb ...
    Unpacking libiscsi7:amd64 (1.19.0-3) ...
    Selecting previously unselected package libnfs13:amd64.
    Preparing to unpack .../37-libnfs13_4.0.0-1_amd64.deb ...
    Unpacking libnfs13:amd64 (4.0.0-1) ...
    Selecting previously unselected package libnspr4:amd64.
    Preparing to unpack .../38-libnspr4_2%3a4.35-1_amd64.deb ...
    Unpacking libnspr4:amd64 (2:4.35-1) ...
    Selecting previously unselected package libnss3:amd64.
    Preparing to unpack .../39-libnss3_2%3a3.87.1-1_amd64.deb ...
    Unpacking libnss3:amd64 (2:3.87.1-1) ...
    Selecting previously unselected package libopenipmi0.
    Preparing to unpack .../40-libopenipmi0_2.0.33-1+b1_amd64.deb ...
    Unpacking libopenipmi0 (2.0.33-1+b1) ...
    Selecting previously unselected package librados2.
    Preparing to unpack .../41-librados2_16.2.11+ds-2_amd64.deb ...
    Unpacking librados2 (16.2.11+ds-2) ...
    Selecting previously unselected package librbd1.
    Preparing to unpack .../42-librbd1_16.2.11+ds-2_amd64.deb ...
    Unpacking librbd1 (16.2.11+ds-2) ...
    Selecting previously unselected package libsensors-config.
    Preparing to unpack .../43-libsensors-config_1%3a3.6.0-7.1_all.deb ...
    Unpacking libsensors-config (1:3.6.0-7.1) ...
    Selecting previously unselected package libsensors5:amd64.
    Preparing to unpack .../44-libsensors5_1%3a3.6.0-7.1_amd64.deb ...
    Unpacking libsensors5:amd64 (1:3.6.0-7.1) ...
    Selecting previously unselected package libsnmp-base.
    Preparing to unpack .../45-libsnmp-base_5.9.3+dfsg-2_all.deb ...
    Unpacking libsnmp-base (5.9.3+dfsg-2) ...
    Selecting previously unselected package libsnmp40:amd64.
    Preparing to unpack .../46-libsnmp40_5.9.3+dfsg-2_amd64.deb ...
    Unpacking libsnmp40:amd64 (5.9.3+dfsg-2) ...
    Selecting previously unselected package libssh-4:amd64.
    Preparing to unpack .../47-libssh-4_0.10.6-0+deb12u1_amd64.deb ...
    Unpacking libssh-4:amd64 (0.10.6-0+deb12u1) ...
    Selecting previously unselected package openipmi.
    Preparing to unpack .../48-openipmi_2.0.33-1+b1_amd64.deb ...
    Unpacking openipmi (2.0.33-1+b1) ...
    Selecting previously unselected package openjdk-17-jre-headless:amd64.
    Preparing to unpack .../49-openjdk-17-jre-headless_17.0.12+7-2~deb12u1_amd64.deb ...
    Unpacking openjdk-17-jre-headless:amd64 (17.0.12+7-2~deb12u1) ...
    Selecting previously unselected package python3-sniffio.
    Preparing to unpack .../50-python3-sniffio_1.2.0-1_all.deb ...
    Unpacking python3-sniffio (1.2.0-1) ...
    Selecting previously unselected package python3-anyio.
    Preparing to unpack .../51-python3-anyio_3.6.2-1_all.deb ...
    Unpacking python3-anyio (3.6.2-1) ...
    Selecting previously unselected package python3-colorama.
    Preparing to unpack .../52-python3-colorama_0.4.6-2_all.deb ...
    Unpacking python3-colorama (0.4.6-2) ...
    Selecting previously unselected package python3-click.
    Preparing to unpack .../53-python3-click_8.1.3-2_all.deb ...
    Unpacking python3-click (8.1.3-2) ...
    Selecting previously unselected package python3-dnspython.
    Preparing to unpack .../54-python3-dnspython_2.3.0-1_all.deb ...
    Unpacking python3-dnspython (2.3.0-1) ...
    Selecting previously unselected package python3-h11.
    Preparing to unpack .../55-python3-h11_0.14.0-1_all.deb ...
    Unpacking python3-h11 (0.14.0-1) ...
    Selecting previously unselected package python3-hpack.
    Preparing to unpack .../56-python3-hpack_4.0.0-2_all.deb ...
    Unpacking python3-hpack (4.0.0-2) ...
    Selecting previously unselected package python3-hyperframe.
    Preparing to unpack .../57-python3-hyperframe_6.0.0-1_all.deb ...
    Unpacking python3-hyperframe (6.0.0-1) ...
    Selecting previously unselected package python3-h2.
    Preparing to unpack .../58-python3-h2_4.1.0-4_all.deb ...
    Unpacking python3-h2 (4.1.0-4) ...
    Selecting previously unselected package python3-httpcore.
    Preparing to unpack .../59-python3-httpcore_0.16.3-1_all.deb ...
    Unpacking python3-httpcore (0.16.3-1) ...
    Selecting previously unselected package python3-mdurl.
    Preparing to unpack .../60-python3-mdurl_0.1.2-1_all.deb ...
    Unpacking python3-mdurl (0.1.2-1) ...
    Selecting previously unselected package python3-markdown-it.
    Preparing to unpack .../61-python3-markdown-it_2.1.0-5_all.deb ...
    Unpacking python3-markdown-it (2.1.0-5) ...
    Selecting previously unselected package python3-rich.
    Preparing to unpack .../62-python3-rich_13.3.1-1_all.deb ...
    Unpacking python3-rich (13.3.1-1) ...
    Selecting previously unselected package python3-rfc3986.
    Preparing to unpack .../63-python3-rfc3986_1.5.0-2_all.deb ...
    Unpacking python3-rfc3986 (1.5.0-2) ...
    Selecting previously unselected package python3-httpx.
    Preparing to unpack .../64-python3-httpx_0.23.3-1_all.deb ...
    Unpacking python3-httpx (0.23.3-1) ...
    Selecting previously unselected package python3-netaddr.
    Preparing to unpack .../65-python3-netaddr_0.8.0-2_all.deb ...
    Unpacking python3-netaddr (0.8.0-2) ...
    Selecting previously unselected package python3-wheel.
    Preparing to unpack .../66-python3-wheel_0.38.4-2_all.deb ...
    Unpacking python3-wheel (0.38.4-2) ...
    Selecting previously unselected package python3-pip.
    Preparing to unpack .../67-python3-pip_23.0.1+dfsg-1_all.deb ...
    Unpacking python3-pip (23.0.1+dfsg-1) ...
    Selecting previously unselected package python3-requests-toolbelt.
    Preparing to unpack .../68-python3-requests-toolbelt_0.10.1-1_all.deb ...
    Unpacking python3-requests-toolbelt (0.10.1-1) ...
    Selecting previously unselected package qemu-utils.
    Preparing to unpack .../69-qemu-utils_1%3a7.2+dfsg-7+deb12u7_amd64.deb ...
    Unpacking qemu-utils (1:7.2+dfsg-7+deb12u7) ...
    Selecting previously unselected package qemu-block-extra.
    Preparing to unpack .../70-qemu-block-extra_1%3a7.2+dfsg-7+deb12u7_amd64.deb ...
    Unpacking qemu-block-extra (1:7.2+dfsg-7+deb12u7) ...
    Selecting previously unselected package cloudstack-common.
    Preparing to unpack .../71-cloudstack-common_4.19.1.2_all.deb ...
    Unpacking cloudstack-common (4.19.1.2) ...
    Selecting previously unselected package cloudstack-management.
    Preparing to unpack .../72-cloudstack-management_4.19.1.2_all.deb ...
    Unpacking cloudstack-management (4.19.1.2) ...
    Selecting previously unselected package cloudstack-ui.
    Preparing to unpack .../73-cloudstack-ui_4.19.1.2_all.deb ...
    Unpacking cloudstack-ui (4.19.1.2) ...
    Selecting previously unselected package cloudstack-usage.
    Preparing to unpack .../74-cloudstack-usage_4.19.1.2_all.deb ...
    Unpacking cloudstack-usage (4.19.1.2) ...
    Setting up genisoimage (9:1.1.11-3.4) ...
    Setting up python3-sniffio (1.2.0-1) ...
    Setting up libibverbs1:amd64 (44.0-2) ...
    Setting up libnfsidmap1:amd64 (1:2.6.2-4) ...
    Setting up python3-requests-toolbelt (0.10.1-1) ...
    Setting up java-common (0.74) ...
    Setting up python3-anyio (3.6.2-1) ...
    Setting up python3-hyperframe (6.0.0-1) ...
    Setting up ibverbs-providers:amd64 (44.0-2) ...
    Setting up python3-hpack (4.0.0-2) ...
    Setting up python3-colorama (0.4.6-2) ...
    Setting up augeas-lenses (1.14.0-1) ...
    Setting up freeipmi-common (1.6.10-1) ...
    Setting up libboost-iostreams1.74.0:amd64 (1.74.0+ds1-21) ...
    Setting up libsnmp-base (5.9.3+dfsg-2) ...
    Setting up libsensors-config (1:3.6.0-7.1) ...
    Setting up rpcbind (1.2.6-6+b1) ...
    Created symlink /etc/systemd/system/multi-user.target.wants/rpcbind.service → /lib/systemd/system/rpcbin
    d.service.
    Created symlink /etc/systemd/system/sockets.target.wants/rpcbind.socket → /lib/systemd/system/rpcbind.so
    cket.
    Setting up libnfs13:amd64 (4.0.0-1) ...
    Setting up python3-click (8.1.3-2) ...
    Setting up python3-wheel (0.38.4-2) ...
    Setting up libglusterfs0:amd64 (10.3-5) ...
    Setting up libasound2-data (1.2.8-1) ...
    Setting up python3-rfc3986 (1.5.0-2) ...
    Setting up libnspr4:amd64 (2:4.35-1) ...
    Setting up libavahi-common-data:amd64 (0.8-10) ...
    Setting up rng-tools-debian (2.3) ...
    Setting up libaugeas0:amd64 (1.14.0-1) ...
    Setting up python3-mdurl (0.1.2-1) ...
    Setting up libevent-core-2.1-7:amd64 (2.1.12-stable-8) ...
    Setting up python3-h11 (0.14.0-1) ...
    Setting up libsensors5:amd64 (1:3.6.0-7.1) ...
    Setting up python3-pip (23.0.1+dfsg-1) ...
    Setting up libfuse3-3:amd64 (3.14.0-4) ...
    Setting up libssh-4:amd64 (0.10.6-0+deb12u1) ...
    Setting up libfreeipmi17 (1.6.10-1+b1) ...
    Setting up libfmt9:amd64 (9.1.0+ds1-2) ...
    Setting up python3-markdown-it (2.1.0-5) ...
    Setting up keyutils (1.6.3-2) ...
    Setting up alsa-topology-conf (1.2.5.1-2) ...
    Setting up ieee-data (20220827.1) ...
    Setting up uuid-runtime (2.38.1-5+deb12u1) ...
    Adding group `uuidd' (GID 117) ...
    Done.
    Created symlink /etc/systemd/system/sockets.target.wants/uuidd.socket → /lib/systemd/system/uuidd.socket
    .
    uuidd.service is a disabled or a static unit, not starting it.
    Setting up python3-dnspython (2.3.0-1) ...
    Setting up cloudstack-ui (4.19.1.2) ...
    Setting up libasound2:amd64 (1.2.8-1+b1) ...
    Setting up qemu-utils (1:7.2+dfsg-7+deb12u7) ...
    Setting up python3-h2 (4.1.0-4) ...
    Setting up ca-certificates-java (20230710~deb12u1) ...
    No JRE found. Skipping Java certificates setup.
    Setting up libopenipmi0 (2.0.33-1+b1) ...
    Setting up ipmitool (1.8.19-4+deb12u1) ...
    ipmievd.service is a disabled or a static unit, not starting it.
    Setting up libgfxdr0:amd64 (10.3-5) ...
    Setting up libboost-thread1.74.0:amd64 (1.74.0+ds1-21) ...
    Setting up python3-httpcore (0.16.3-1) ...
    Setting up librdmacm1:amd64 (44.0-2) ...
    Setting up librados2 (16.2.11+ds-2) ...
    Setting up alsa-ucm-conf (1.2.8-1) ...
    Setting up python3-rich (13.3.1-1) ...
    Setting up libavahi-common3:amd64 (0.8-10) ...
    Setting up libnss3:amd64 (2:3.87.1-1) ...
    Setting up nfs-common (1:2.6.2-4) ...
    
    Creating config file /etc/idmapd.conf with new version
    
    Creating config file /etc/nfs.conf with new version
    Adding system user `statd' (UID 107) ...
    Adding new user `statd' (UID 107) with group `nogroup' ...
    Not creating home directory `/var/lib/nfs'.
    Created symlink /etc/systemd/system/multi-user.target.wants/nfs-client.target → /lib/systemd/system/nfs-
    client.target.
    Created symlink /etc/systemd/system/remote-fs.target.wants/nfs-client.target → /lib/systemd/system/nfs-c
    lient.target.
    auth-rpcgss-module.service is a disabled or a static unit, not starting it.
    nfs-idmapd.service is a disabled or a static unit, not starting it.
    nfs-utils.service is a disabled or a static unit, not starting it.
    proc-fs-nfsd.mount is a disabled or a static unit, not starting it.
    rpc-gssd.service is a disabled or a static unit, not starting it.
    rpc-statd-notify.service is a disabled or a static unit, not starting it.
    rpc-statd.service is a disabled or a static unit, not starting it.
    rpc-svcgssd.service is a disabled or a static unit, not starting it.
    rpc_pipefs.target is a disabled or a static unit, not starting it.
    var-lib-nfs-rpc_pipefs.mount is a disabled or a static unit, not starting it.
    Setting up libsnmp40:amd64 (5.9.3+dfsg-2) ...
    Setting up python3-httpx (0.23.3-1) ...
    Setting up augeas-tools (1.14.0-1) ...
    Setting up librbd1 (16.2.11+ds-2) ...
    Setting up python3-netaddr (0.8.0-2) ...
    Setting up openipmi (2.0.33-1+b1) ...
    Setting up libiscsi7:amd64 (1.19.0-3) ...
    Setting up libgfrpc0:amd64 (10.3-5) ...
    Setting up libavahi-client3:amd64 (0.8-10) ...
    Setting up cloudstack-common (4.19.1.2) ...
    Listing '/usr/lib/python3/dist-packages/cloudutils'...
    Compiling '/usr/lib/python3/dist-packages/cloudutils/__init__.py'...
    Compiling '/usr/lib/python3/dist-packages/cloudutils/cloudException.py'...
    Compiling '/usr/lib/python3/dist-packages/cloudutils/configFileOps.py'...
    Compiling '/usr/lib/python3/dist-packages/cloudutils/db.py'...
    Compiling '/usr/lib/python3/dist-packages/cloudutils/globalEnv.py'...
    Compiling '/usr/lib/python3/dist-packages/cloudutils/networkConfig.py'...
    Compiling '/usr/lib/python3/dist-packages/cloudutils/serviceConfig.py'...
    Compiling '/usr/lib/python3/dist-packages/cloudutils/serviceConfigServer.py'...
    Compiling '/usr/lib/python3/dist-packages/cloudutils/syscfg.py'...
    Compiling '/usr/lib/python3/dist-packages/cloudutils/utilities.py'...
    Setting up libgfapi0:amd64 (10.3-5) ...
    Setting up libcups2:amd64 (2.4.2-3+deb12u8) ...
    Setting up qemu-block-extra (1:7.2+dfsg-7+deb12u7) ...
    Setting up openjdk-17-jre-headless:amd64 (17.0.12+7-2~deb12u1) ...
    update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) i
    n auto mode
    update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/jpackage to provide /usr/bin/jpackage 
    (jpackage) in auto mode
    update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/keytool to provide /usr/bin/keytool (k
    eytool) in auto mode
    update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/rmiregistry to provide /usr/bin/rmireg
    istry (rmiregistry) in auto mode
    update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/lib/jexec to provide /usr/bin/jexec (jexec
    ) in auto mode
    Processing triggers for libc-bin (2.36-9+deb12u8) ...
    Processing triggers for man-db (2.11.2-2) ...
    Processing triggers for security-misc (3:39.9-1) ...
    INFO: triggered security-misc: 'security-misc' security-misc DPKG_MAINTSCRIPT_NAME: 'postinst' $\@: 'tri
    ggered /usr' 2: '/usr'
    /usr/libexec/security-misc/mmap-rnd-bits: INFO: Successfully written ASLR map config file:
    /etc/sysctl.d/30_security-misc_aslr-mmap.conf
    Running SUID Disabler and Permission Hardener... See also:
    https://www.kicksecure.com/wiki/SUID_Disabler_and_Permission_Hardener
    /var/lib/dpkg/info/security-misc.postinst: INFO: running: permission-hardener enable
    permission-hardener: [NOTICE]: Managing (S|G)UID of line: setuid='true'  existing_mode='4755' new_mode='
    744' file='/usr/sbin/mount.nfs'
    permission-hardener: [NOTICE]: Run: dpkg-statoverride --add --update root root 744 /usr/sbin/mount.nfs
    permission-hardener: [NOTICE]: To compare the current and previous permission modes, install 'meld' (or 
    preferred diff tool) for comparison of file mode changes:
        sudo apt install --no-install-recommends meld
        meld /var/lib/permission-hardener/existing_mode/statoverride /var/lib/permission-hardener/new_mode/s
    tatoverride
    /var/lib/dpkg/info/security-misc.postinst: INFO: Permission hardening success.
    Processing triggers for ca-certificates-java (20230710~deb12u1) ...
    Adding debian:ACCVRAIZ1.pem
    Adding debian:AC_RAIZ_FNMT-RCM.pem
    Adding debian:AC_RAIZ_FNMT-RCM_SERVIDORES_SEGUROS.pem
    Adding debian:Actalis_Authentication_Root_CA.pem
    Adding debian:AffirmTrust_Commercial.pem
    Adding debian:AffirmTrust_Networking.pem
    Adding debian:AffirmTrust_Premium_ECC.pem
    Adding debian:AffirmTrust_Premium.pem
    Adding debian:Amazon_Root_CA_1.pem
    Adding debian:Amazon_Root_CA_2.pem
    Adding debian:Amazon_Root_CA_3.pem
    Adding debian:Amazon_Root_CA_4.pem
    Adding debian:ANF_Secure_Server_Root_CA.pem
    Adding debian:Atos_TrustedRoot_2011.pem
    Adding debian:Autoridad_de_Certificacion_Firmaprofesional_CIF_A62634068_2.pem
    Adding debian:Autoridad_de_Certificacion_Firmaprofesional_CIF_A62634068.pem
    Adding debian:Baltimore_CyberTrust_Root.pem
    Adding debian:Buypass_Class_2_Root_CA.pem
    Adding debian:Buypass_Class_3_Root_CA.pem
    Adding debian:CA_Disig_Root_R2.pem
    Adding debian:ca.pem
    Adding debian:Certainly_Root_E1.pem
    Adding debian:Certainly_Root_R1.pem
    Adding debian:Certigna.pem
    Adding debian:Certigna_Root_CA.pem
    Adding debian:certSIGN_Root_CA_G2.pem
    Adding debian:certSIGN_ROOT_CA.pem
    Adding debian:Certum_EC-384_CA.pem
    Adding debian:Certum_Trusted_Network_CA_2.pem
    Adding debian:Certum_Trusted_Network_CA.pem
    Adding debian:Certum_Trusted_Root_CA.pem
    Adding debian:CFCA_EV_ROOT.pem
    Adding debian:Comodo_AAA_Services_root.pem
    Adding debian:COMODO_Certification_Authority.pem
    Adding debian:COMODO_ECC_Certification_Authority.pem
    Adding debian:COMODO_RSA_Certification_Authority.pem
    Adding debian:DigiCert_Assured_ID_Root_CA.pem
    Adding debian:DigiCert_Assured_ID_Root_G2.pem
    Adding debian:DigiCert_Assured_ID_Root_G3.pem
    Adding debian:DigiCert_Global_Root_CA.pem
    Adding debian:DigiCert_Global_Root_G2.pem
    Adding debian:DigiCert_Global_Root_G3.pem
    Adding debian:DigiCert_High_Assurance_EV_Root_CA.pem
    Adding debian:DigiCert_TLS_ECC_P384_Root_G5.pem
    Adding debian:DigiCert_TLS_RSA4096_Root_G5.pem
    Adding debian:DigiCert_Trusted_Root_G4.pem
    Adding debian:D-TRUST_BR_Root_CA_1_2020.pem
    Adding debian:D-TRUST_EV_Root_CA_1_2020.pem
    Adding debian:D-TRUST_Root_Class_3_CA_2_2009.pem
    Adding debian:D-TRUST_Root_Class_3_CA_2_EV_2009.pem
    Adding debian:emSign_ECC_Root_CA_-_C3.pem
    Adding debian:emSign_ECC_Root_CA_-_G3.pem
    Adding debian:emSign_Root_CA_-_C1.pem
    Adding debian:emSign_Root_CA_-_G1.pem
    Adding debian:Entrust.net_Premium_2048_Secure_Server_CA.pem
    Adding debian:Entrust_Root_Certification_Authority_-_EC1.pem
    Adding debian:Entrust_Root_Certification_Authority_-_G2.pem
    Adding debian:Entrust_Root_Certification_Authority_-_G4.pem
    Adding debian:Entrust_Root_Certification_Authority.pem
    Adding debian:ePKI_Root_Certification_Authority.pem
    Adding debian:e-Szigno_Root_CA_2017.pem
    Adding debian:E-Tugra_Certification_Authority.pem
    Adding debian:E-Tugra_Global_Root_CA_ECC_v3.pem
    Adding debian:E-Tugra_Global_Root_CA_RSA_v3.pem
    Adding debian:GDCA_TrustAUTH_R5_ROOT.pem
    Adding debian:GlobalSign_ECC_Root_CA_-_R4.pem
    Adding debian:GlobalSign_ECC_Root_CA_-_R5.pem
    Adding debian:GlobalSign_Root_CA.pem
    Adding debian:GlobalSign_Root_CA_-_R3.pem
    Adding debian:GlobalSign_Root_CA_-_R6.pem
    Adding debian:GlobalSign_Root_E46.pem
    Adding debian:GlobalSign_Root_R46.pem
    Adding debian:GLOBALTRUST_2020.pem
    Adding debian:Go_Daddy_Class_2_CA.pem
    Adding debian:Go_Daddy_Root_Certificate_Authority_-_G2.pem
    Adding debian:GTS_Root_R1.pem
    Adding debian:GTS_Root_R2.pem
    Adding debian:GTS_Root_R3.pem
    Adding debian:GTS_Root_R4.pem
    Adding debian:HARICA_TLS_ECC_Root_CA_2021.pem
    Adding debian:HARICA_TLS_RSA_Root_CA_2021.pem
    Adding debian:Hellenic_Academic_and_Research_Institutions_ECC_RootCA_2015.pem
    Adding debian:Hellenic_Academic_and_Research_Institutions_RootCA_2015.pem
    Adding debian:HiPKI_Root_CA_-_G1.pem
    Adding debian:Hongkong_Post_Root_CA_1.pem
    Adding debian:Hongkong_Post_Root_CA_3.pem
    Adding debian:IdenTrust_Commercial_Root_CA_1.pem
    Adding debian:IdenTrust_Public_Sector_Root_CA_1.pem
    Adding debian:ISRG_Root_X1.pem
    Adding debian:ISRG_Root_X2.pem
    Adding debian:Izenpe.com.pem
    Adding debian:Microsec_e-Szigno_Root_CA_2009.pem
    Adding debian:Microsoft_ECC_Root_Certificate_Authority_2017.pem
    Adding debian:Microsoft_RSA_Root_Certificate_Authority_2017.pem
    Adding debian:NAVER_Global_Root_Certification_Authority.pem
    Adding debian:NetLock_Arany_=Class_Gold=_Főtanúsítvány.pem
    Adding debian:OISTE_WISeKey_Global_Root_GB_CA.pem
    Adding debian:OISTE_WISeKey_Global_Root_GC_CA.pem
    Adding debian:QuoVadis_Root_CA_1_G3.pem
    Adding debian:QuoVadis_Root_CA_2_G3.pem
    Adding debian:QuoVadis_Root_CA_2.pem
    Adding debian:QuoVadis_Root_CA_3_G3.pem
    Adding debian:QuoVadis_Root_CA_3.pem
    Adding debian:Secure_Global_CA.pem
    Adding debian:SecureSign_RootCA11.pem
    Adding debian:SecureTrust_CA.pem
    Adding debian:Security_Communication_ECC_RootCA1.pem
    Adding debian:Security_Communication_RootCA2.pem
    Adding debian:Security_Communication_RootCA3.pem
    Adding debian:Security_Communication_Root_CA.pem
    Adding debian:SSL.com_EV_Root_Certification_Authority_ECC.pem
    Adding debian:SSL.com_EV_Root_Certification_Authority_RSA_R2.pem
    Adding debian:SSL.com_Root_Certification_Authority_ECC.pem
    Adding debian:SSL.com_Root_Certification_Authority_RSA.pem
    Adding debian:Starfield_Class_2_CA.pem
    Adding debian:Starfield_Root_Certificate_Authority_-_G2.pem
    Adding debian:Starfield_Services_Root_Certificate_Authority_-_G2.pem
    Adding debian:SwissSign_Gold_CA_-_G2.pem
    Adding debian:SwissSign_Silver_CA_-_G2.pem
    Adding debian:SZAFIR_ROOT_CA2.pem
    Adding debian:Telia_Root_CA_v2.pem
    Adding debian:TeliaSonera_Root_CA_v1.pem
    Adding debian:TrustCor_ECA-1.pem
    Adding debian:TrustCor_RootCert_CA-1.pem
    Adding debian:TrustCor_RootCert_CA-2.pem
    Adding debian:Trustwave_Global_Certification_Authority.pem
    Adding debian:Trustwave_Global_ECC_P256_Certification_Authority.pem
    Adding debian:Trustwave_Global_ECC_P384_Certification_Authority.pem
    Adding debian:T-TeleSec_GlobalRoot_Class_2.pem
    Adding debian:T-TeleSec_GlobalRoot_Class_3.pem
    Adding debian:TUBITAK_Kamu_SM_SSL_Kok_Sertifikasi_-_Surum_1.pem
    Adding debian:TunTrust_Root_CA.pem
    Adding debian:TWCA_Global_Root_CA.pem
    Adding debian:TWCA_Root_Certification_Authority.pem
    Adding debian:UCA_Extended_Validation_Root.pem
    Adding debian:UCA_Global_G2_Root.pem
    Adding debian:USERTrust_ECC_Certification_Authority.pem
    Adding debian:USERTrust_RSA_Certification_Authority.pem
    Adding debian:vTrus_ECC_Root_CA.pem
    Adding debian:vTrus_Root_CA.pem
    Adding debian:XRamp_Global_CA_Root.pem
    done.
    Setting up cloudstack-management (4.19.1.2) ...
    
    Thank you for installing Apache CloudStack Management Server 4.19.1.2 !
    
     * Project website:     https://cloudstack.apache.org/
     * Documentation:       https://docs.cloudstack.apache.org/en/4.19.1.2/
     * Release notes:       https://docs.cloudstack.apache.org/en/4.19.1.2/releasenotes/
     * Join mailing lists:  https://cloudstack.apache.org/mailing-lists.html
     * Take the survey:     https://cloudstack.apache.org/survey.html
     * Report issues:       https://github.com/apache/cloudstack/issues/new
    
    Created symlink /etc/systemd/system/multi-user.target.wants/cloudstack-management.service → /lib/systemd
    /system/cloudstack-management.service.
    Setting up cloudstack-usage (4.19.1.2) ...
    usermod: no changes
    Replacing usage server's db.properties with a link to the management server's db.properties
    
    Thank you for installing Apache CloudStack Usage Server 4.19.1.2 !
    
     * Project website:     https://cloudstack.apache.org/
     * Documentation:       https://docs.cloudstack.apache.org/en/4.19.1.2/
     * Release notes:       https://docs.cloudstack.apache.org/en/4.19.1.2/releasenotes/
     * Join mailing lists:  https://cloudstack.apache.org/mailing-lists.html
     * Take the survey:     https://cloudstack.apache.org/survey.html
     * Report issues:       https://github.com/apache/cloudstack/issues/new
    
    Created symlink /etc/systemd/system/multi-user.target.wants/cloudstack-usage.service → /lib/systemd/syst
    em/cloudstack-usage.service.
    
    # cloudstack-setup-databases cloud:passwd@localhost --deploy-as=root:passwd -i 192.168.100.100
    Mysql user name:cloud                                                           [ OK ]
    Mysql user password:******                                                      [ OK ]
    Mysql server ip:localhost                                                       [ OK ]
    Mysql server port:3306                                                          [ OK ]
    Mysql root user name:root                                                       [ OK ]
    Mysql root user password:******                                                 [ OK ]
    Using specified cluster management server node IP 192.168.100.100               [ OK ]
    Checking Cloud database files ...                                               [ OK ]
    Checking local machine hostname ...                                             [ OK ]
    Checking SELinux setup ...                                                      [ OK ]
    Preparing /etc/cloudstack/management/db.properties                              [ OK ]
    Applying /usr/share/cloudstack-management/setup/create-database.sql             [ OK ]
    Applying /usr/share/cloudstack-management/setup/create-schema.sql               [ OK ]
    Applying /usr/share/cloudstack-management/setup/create-database-premium.sql     [ OK ]
    Applying /usr/share/cloudstack-management/setup/create-schema-premium.sql       [ OK ]
    Applying /usr/share/cloudstack-management/setup/server-setup.sql                [ OK ]
    Applying /usr/share/cloudstack-management/setup/templates.sql                   [ OK ]
    Processing encryption ...                                                       [ OK ]
    Finalizing setup ...                                                            [ OK ]
    
    CloudStack has successfully initialized database, you can check your database configuration in /etc/cloudstack/management/db.properties
    
    # cloudstack-setup-management 
    Starting to configure CloudStack Management Server:
    Configure CloudStack Management Server ...[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.
    
  8. gobiursus commented on Oct 18, 2024

    @gobiursus
    Author

    I captured some extra stuff, I am not sure if they are related:

    ● cloudstack-management.service - CloudStack Management Server
         Loaded: loaded (/lib/systemd/system/cloudstack-management.service; enabled; preset: enabled)
         Active: active (running) since Fri 2024-10-18 14:33:44 EDT; 1s ago
       Main PID: 20191 (java)
          Tasks: 30 (limit: 9471)
         Memory: 320.8M
            CPU: 1.919s
         CGroup: /system.slice/cloudstack-management.service
                 └─20191 /usr/bin/java -Djava.security.properties=/etc/cloudstack/management/java.security.ciphers -Djava.awt.headless=true -Xmx2G -XX:+UseParallelGC -XX:MaxGCPauseMillis=500 -XX:+HeapDumpOnOutOfMem>
    
    Oct 18 14:33:44 manage systemd[1]: Started cloudstack-management.service - CloudStack Management Server.
    Oct 18 14:33:45 manage java[20191]: INFO  [o.a.c.ServerDaemon] (main:null) (logid:) Server configuration file found: /etc/cloudstack/management/server.properties
    Oct 18 14:33:45 manage java[20191]: INFO  [o.a.c.ServerDaemon] (main:null) (logid:) Initializing server daemon on null, with http.enable=true, http.port=8080, https.enable=false, https.port=8443, context.path=/>
    Oct 18 14:33:45 manage java[20191]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    Oct 18 14:33:45 manage java[20191]: SLF4J: Defaulting to no-operation (NOP) logger implementation
    Oct 18 14:33:45 manage java[20191]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details
    
  9. weizhouapache commented on Oct 18, 2024

    @weizhouapache
    Member

    I captured some extra stuff, I am not sure if they are related:

    ● cloudstack-management.service - CloudStack Management Server
         Loaded: loaded (/lib/systemd/system/cloudstack-management.service; enabled; preset: enabled)
         Active: active (running) since Fri 2024-10-18 14:33:44 EDT; 1s ago
       Main PID: 20191 (java)
          Tasks: 30 (limit: 9471)
         Memory: 320.8M
            CPU: 1.919s
         CGroup: /system.slice/cloudstack-management.service
                 └─20191 /usr/bin/java -Djava.security.properties=/etc/cloudstack/management/java.security.ciphers -Djava.awt.headless=true -Xmx2G -XX:+UseParallelGC -XX:MaxGCPauseMillis=500 -XX:+HeapDumpOnOutOfMem>
    
    Oct 18 14:33:44 manage systemd[1]: Started cloudstack-management.service - CloudStack Management Server.
    Oct 18 14:33:45 manage java[20191]: INFO  [o.a.c.ServerDaemon] (main:null) (logid:) Server configuration file found: /etc/cloudstack/management/server.properties
    Oct 18 14:33:45 manage java[20191]: INFO  [o.a.c.ServerDaemon] (main:null) (logid:) Initializing server daemon on null, with http.enable=true, http.port=8080, https.enable=false, https.port=8443, context.path=/>
    Oct 18 14:33:45 manage java[20191]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    Oct 18 14:33:45 manage java[20191]: SLF4J: Defaulting to no-operation (NOP) logger implementation
    Oct 18 14:33:45 manage java[20191]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details
    

    Logs look ok
    Can you load the full management-server.log ?

  10. gobiursus commented on Oct 18, 2024

    @gobiursus
    Author
  11. gobiursus commented on Oct 18, 2024

    @gobiursus
    Author
  12. penguin2716 commented on Oct 25, 2024

    @penguin2716

    I have the same issue after upgrading from 4.19.0.0 to 4.19.1.2 on Ubuntu 22.04. MySQL and the management server are running on the same node. After the following steps, the management console works now (although it may not be a good solution since the password is saved in plaintext). The problem may be related to somewhere around encryption / decryption logic?

    1. downgrade Java version from 17 to 11
    2. edit /etc/cloudstack/management/db.properties
    --- db.properties.bak   2024-10-25 08:51:07.179157143 +0900
    +++ db.properties       2024-10-25 08:50:10.391852007 +0900
    @@ -22,7 +22,7 @@
    
     # CloudStack database settings
     db.cloud.username=cloud
    -db.cloud.password=ENC(<encrypted_text>)
    +db.cloud.password=plain_password_text
     db.cloud.host=localhost
     db.cloud.driver=jdbc:mysql
     db.cloud.port=3306
    @@ -53,7 +53,7 @@
    
     # usage database settings
     db.usage.username=cloud
    -db.usage.password=ENC(<encrypted_text>)
    +db.usage.password=plain_password_text
     db.usage.host=localhost
     db.usage.driver=jdbc:mysql
     db.usage.port=3306
    @@ -100,4 +100,4 @@
     db.usage.secondsBeforeRetrySource=3600
     db.usage.queriesBeforeRetrySource=5000
     db.usage.initialTimeout=3600
    -db.cloud.encryptor.version=V2
    +#db.cloud.encryptor.version=V2
    $ java -version
    openjdk version "11.0.24" 2024-07-16
    OpenJDK Runtime Environment (build 11.0.24+8-post-Ubuntu-1ubuntu322.04)
    OpenJDK 64-Bit Server VM (build 11.0.24+8-post-Ubuntu-1ubuntu322.04, mixed mode, sharing)
    
    $ mysqld --version
    /usr/sbin/mysqld  Ver 8.0.39-0ubuntu0.22.04.1 for Linux on x86_64 ((Ubuntu))
    
    $ cat /etc/lsb-release
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=22.04
    DISTRIB_CODENAME=jammy
    DISTRIB_DESCRIPTION="Ubuntu 22.04.5 LTS"
    
  13. purteppers commented on Oct 30, 2024

    @purteppers

    I have the same issue after upgrading from 4.19.0.0 to 4.19.1.2 on Ubuntu 22.04. MySQL and the management server are running on the same node. After the following steps, the management console works now (although it may not be a good solution since the password is saved in plaintext). The problem may be related to somewhere around encryption / decryption logic?

    1. downgrade Java version from 17 to 11
    
    2. edit `/etc/cloudstack/management/db.properties`
    
    --- db.properties.bak   2024-10-25 08:51:07.179157143 +0900
    +++ db.properties       2024-10-25 08:50:10.391852007 +0900
    @@ -22,7 +22,7 @@
    
     # CloudStack database settings
     db.cloud.username=cloud
    -db.cloud.password=ENC(<encrypted_text>)
    +db.cloud.password=plain_password_text
     db.cloud.host=localhost
     db.cloud.driver=jdbc:mysql
     db.cloud.port=3306
    @@ -53,7 +53,7 @@
    
     # usage database settings
     db.usage.username=cloud
    -db.usage.password=ENC(<encrypted_text>)
    +db.usage.password=plain_password_text
     db.usage.host=localhost
     db.usage.driver=jdbc:mysql
     db.usage.port=3306
    @@ -100,4 +100,4 @@
     db.usage.secondsBeforeRetrySource=3600
     db.usage.queriesBeforeRetrySource=5000
     db.usage.initialTimeout=3600
    -db.cloud.encryptor.version=V2
    +#db.cloud.encryptor.version=V2
    $ java -version
    openjdk version "11.0.24" 2024-07-16
    OpenJDK Runtime Environment (build 11.0.24+8-post-Ubuntu-1ubuntu322.04)
    OpenJDK 64-Bit Server VM (build 11.0.24+8-post-Ubuntu-1ubuntu322.04, mixed mode, sharing)
    
    $ mysqld --version
    /usr/sbin/mysqld  Ver 8.0.39-0ubuntu0.22.04.1 for Linux on x86_64 ((Ubuntu))
    
    $ cat /etc/lsb-release
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=22.04
    DISTRIB_CODENAME=jammy
    DISTRIB_DESCRIPTION="Ubuntu 22.04.5 LTS"
    

    I was having the exact same issue on AlmaLinux 9.3 and this resolved the problem as well.

  14. weizhouapache commented on Oct 30, 2024

    @weizhouapache
    Member

    I was having the exact same issue on AlmaLinux 9.3 and this resolved the problem as well.

    @purteppers
    do you use mysql 8.0 as well ?

  15. purteppers commented on Oct 30, 2024

    @purteppers

    I was having the exact same issue on AlmaLinux 9.3 and this resolved the problem as well.

    @purteppers do you use mysql 8.0 as well ?

    Yes, specifically 8.0.36

  16. gobiursus commented on Oct 30, 2024

    @gobiursus
    Author
  17. locked and limited conversation to collaborators on Oct 31, 2024
  18. converted this issue into a discussion #9880 on Oct 31, 2024
  19. added this to the unplanned milestone on Sep 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions