You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/04/07 21:40:46 UTC

[GitHub] [cloudstack] rwdj opened a new issue, #6232: HTTP ERROR 503 Service Unavailable /client

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

   ##### ISSUE TYPE
    * Bug Report
   
   ##### COMPONENT NAME
   ~~~
   UI
   ~~~
   
   ##### CLOUDSTACK VERSION
   ~~~
   cloudstack-management 4.16.1.0-1.el8
   mysql 8.0.26
   mysql-connector-java 8.0.28
   mysql-connector-python 8.0.23
   Java OpenJDK 11: OpenJDK Runtime Environment 18.9 (build 11.0.14.1+1-LTS)
   ~~~
   
   ##### CONFIGURATION
   I haven't configured the networking yet, because I wanted to see the GUI and then I'd shut it all down and get to the nitty gritty of the networking. The database is on the management machine as this is a test.
   
   ##### OS / ENVIRONMENT
   RHEL 8 using CentOS 8 repo: https://download.cloudstack.org/centos/8/4.16/
   
   ##### SUMMARY
   Unable to access the cloudstack UI. Getting 503 error.
   
   ##### STEPS TO REPRODUCE
   ~~~
   dnf install cloudstack-management mysql-connector-java
   # Configure the database.
   cloudstack-setup-databases cloud:<cloud_user_db_password>@localhost --deploy-as=root:<root_user_db_password>
   firewall-cmd --add-port={8080,8250,8443,9090}/tcp --permanent
   cloudstack-setup-management
   # Open browser to localhost:8080
   ~~~
   
   Note: I originally didn't have mysql-connector-java installed. I retraced my steps, dropped cloud and cloud_usage databases, and completely installed (dnf reinstall). It hasn't helped. That was also the solution of #3843 and #4027, minus the aspects that are supposed to be fixed.
   
   ##### EXPECTED RESULTS
   ~~~
   To see the UI.
   ~~~
   
   ##### ACTUAL RESULTS
   HTTP ERROR 503 Service Unavailable in browser at localhost:8080/client/
   
   This is the full contents of the log starting from boot when restarting the service to opening the page. I'd love to have a more verbose log or be pointed in any direction to get better logs. It's not saying anything unlike #3843 and #4027.
   After `systemctl restart cloudstack-management`:
   /var/log/cloudstack/management/management-server.log
   ~~~
   2022-04-07 17:15:26,893 INFO  [o.a.c.ServerDaemon] (main:null) (logid:) Server configuration file found: /etc/cloudstack/management/server.properties
   2022-04-07 17:15:26,911 DEBUG [c.c.u.c.EncryptionSecretKeyChecker] (main:null) (logid:) Encryption Type: null
   2022-04-07 17:15:26,915 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=/client
   2022-04-07 17:15:31,705 INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Loading module context [bootstrap] from URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.16.1.0.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context.xml]
   2022-04-07 17:15:31,706 INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Loading module context [bootstrap] from URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.16.1.0.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]
   2022-04-07 17:15:31,850 DEBUG [c.c.u.c.EncryptionSecretKeyChecker] (main:null) (logid:) Encryption Type: file
   ~~~
   /var/log/cloudstack/management/access.log
   ~~~
   127.0.0.1 - - [07/Apr/2022:21:26:11 +0000] "GET /client/ HTTP/1.1" 503 394 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.60 Safari/537.36" 28
   127.0.0.1 - - [07/Apr/2022:21:26:12 +0000] "GET /client/ HTTP/1.1" 503 394 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.60 Safari/537.36" 1
   127.0.0.1 - - [07/Apr/2022:21:26:12 +0000] "GET /client/favicon.ico HTTP/1.1" 503 405 "http://localhost:8080/client/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.60 Safari/537.36" 1
   ~~~
   


-- 
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-unsubscribe@cloudstack.apache.org.apache.org

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


[GitHub] [cloudstack] rwdj commented on issue #6232: HTTP ERROR 503 Service Unavailable /client

Posted by GitBox <gi...@apache.org>.
rwdj commented on issue #6232:
URL: https://github.com/apache/cloudstack/issues/6232#issuecomment-1092824593

   I'm in the middle of gathering the logs including the installation proccess from clean state (going through steps above) to finish.


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] rwdj commented on issue #6232: HTTP ERROR 503 Service Unavailable /client

Posted by GitBox <gi...@apache.org>.
rwdj commented on issue #6232:
URL: https://github.com/apache/cloudstack/issues/6232#issuecomment-1093169854

   I'm okay with highly technical troubleshooting. Installing extra software will need to be discussed, but I can get neck deep in verbose logging just fine. I dearly wish I had meaningful logs here.


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] DaanHoogland commented on issue #6232: HTTP ERROR 503 Service Unavailable /client

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on issue #6232:
URL: https://github.com/apache/cloudstack/issues/6232#issuecomment-1094618197

   @rwdj (cc @nvazquez ) I went through the ticket a bit loosely but cannot see anything jumping out that would constitute a clue. I suppose the java process is running as systemctl reports it. I've never seen anything like the described yet.
   Maybe try starting the service by hand in a terminal (as opposed to by systemctl) and see if it gives  more output?


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] rwdj commented on issue #6232: HTTP ERROR 503 Service Unavailable /client

Posted by GitBox <gi...@apache.org>.
rwdj commented on issue #6232:
URL: https://github.com/apache/cloudstack/issues/6232#issuecomment-1093164694

   No luck.
   
   I rebooted the machine and stopped cloudstack-management. Then I re-read through those instructions and noticed it says to stop firewalld and start iptables. Then I went through my earlier commands (comparing with instructions to check for missed steps), and no luck. Same issue. Same output.


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] rwdj commented on issue #6232: HTTP ERROR 503 Service Unavailable /client

Posted by GitBox <gi...@apache.org>.
rwdj commented on issue #6232:
URL: https://github.com/apache/cloudstack/issues/6232#issuecomment-1095108400

   A quick search tells me this issue doesn't belong in this repo (I don't see the file that creates the key: cloudstack-setup-databases. Where am I headed next with this issue?


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] nvazquez commented on issue #6232: HTTP ERROR 503 Service Unavailable /client

Posted by GitBox <gi...@apache.org>.
nvazquez commented on issue #6232:
URL: https://github.com/apache/cloudstack/issues/6232#issuecomment-1093074368

   @rwdj I am able to run successfully on CentOS 8.5.2111. Have followed the docs on: http://docs.cloudstack.apache.org/en/latest/installguide/management-server/index.html.
   
   The differences I see from your steps is that I used iptables instead of firewall-cmd and used the `-i <IP>` option on the `cloudstack-setup-databases` script. Can you please retry considering both changes?


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] nvazquez commented on issue #6232: HTTP ERROR 503 Service Unavailable /client

Posted by GitBox <gi...@apache.org>.
nvazquez commented on issue #6232:
URL: https://github.com/apache/cloudstack/issues/6232#issuecomment-1092746295

   Hi @rwdj can you please upload your full management server logs?


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] rwdj commented on issue #6232: HTTP ERROR 503 Service Unavailable /client

Posted by GitBox <gi...@apache.org>.
rwdj commented on issue #6232:
URL: https://github.com/apache/cloudstack/issues/6232#issuecomment-1093272880

   None of the partitions are over 33%.
   
   I'm aware it's likely something special about the machine, but I'm not able to work with a 100% fresh machine. This machine was recently imaged. If I get it reimaged, it'll likely have the same issue, whatever it is. So, I need to identify the problem if I'm to continue this test.


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] rwdj commented on issue #6232: HTTP ERROR 503 Service Unavailable /client

Posted by GitBox <gi...@apache.org>.
rwdj commented on issue #6232:
URL: https://github.com/apache/cloudstack/issues/6232#issuecomment-1094151823

   I'll note, since I haven't mentioned it yet, that SELinux is permissive as instructed. So it's not SELinux blocking anything.


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] nvazquez commented on issue #6232: HTTP ERROR 503 Service Unavailable /client

Posted by GitBox <gi...@apache.org>.
nvazquez commented on issue #6232:
URL: https://github.com/apache/cloudstack/issues/6232#issuecomment-1093120837

   Sorry forgot to mention that I also had a difference on the connectors, I didn't have to explicitly install any of them, was installed as a dependency to the cloudstack-management package and is working fine with `mariadb-connector-c-config`:
   
   ````
   # yum install cloudstack-management
   Last metadata expiration check: 0:00:24 ago on Fri 08 Apr 2022 12:02:35 PM EDT.
   Dependencies resolved.
   ===============================================================================
    Package                    Arch   Version                    Repository  Size
   ===============================================================================
   Installing:
    cloudstack-management      x86_64 4.16.1.0-1.el8             cloudstack 1.4 G
   Installing dependencies:
    cloudstack-common          x86_64 4.16.1.0-1.el8             cloudstack  94 M
    copy-jdk-configs           noarch 4.0-2.el8                  appstream   31 k
    glibc                      i686   2.28-164.el8               baseos     3.4 M
    ipmitool                   x86_64 1.8.18-18.el8              appstream  395 k
    iptables-services          x86_64 1.8.4-20.el8               baseos      63 k
    java-11-openjdk            x86_64 1:11.0.13.0.8-4.el8_5      appstream  266 k
    java-11-openjdk-headless   x86_64 1:11.0.13.0.8-4.el8_5      appstream   40 M
    javapackages-filesystem    noarch 5.3.0-1.module_el8.0.0+11+5b8c10bd
                                                                 appstream   30 k
    lksctp-tools               x86_64 1.0.18-3.el8               baseos     100 k
    mariadb-connector-c-config noarch 3.1.11-2.el8_3             appstream   15 k
    mysql                      x86_64 8.0.26-1.module_el8.4.0+915+de215114
                                                                 appstream   12 M
    mysql-common               x86_64 8.0.26-1.module_el8.4.0+915+de215114
                                                                 appstream  134 k
    ttmkfdir                   x86_64 3.0.9-54.el8               appstream   62 k
    tzdata-java                noarch 2021e-1.el8                appstream  191 k
    xorg-x11-fonts-Type1       noarch 7.5-19.el8                 appstream  522 k
   Enabling module streams:
    javapackages-runtime              201801                                     
    mysql                             8.0                                        
   
   Transaction Summary
   ===============================================================================
   Install  16 Packages
   ````
   
   


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] rwdj commented on issue #6232: HTTP ERROR 503 Service Unavailable /client

Posted by GitBox <gi...@apache.org>.
rwdj commented on issue #6232:
URL: https://github.com/apache/cloudstack/issues/6232#issuecomment-1092241473

   As noted, I have seen #3843 and #4027. They didn't help, unfortunately.


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] rwdj commented on issue #6232: HTTP ERROR 503 Service Unavailable /client

Posted by GitBox <gi...@apache.org>.
rwdj commented on issue #6232:
URL: https://github.com/apache/cloudstack/issues/6232#issuecomment-1092818644

   The system log has this to say:
   ~~~
   Apr 07 17:44:09 rwdj systemd[1]: Started CloudStack Management Server.
   Apr 07 17:44:11 rwdj java[487657]: INFO  [o.a.c.ServerDaemon] (main:null) (logid:) Server configuration file found: /etc/cloudstack/management/server.properties
   Apr 07 17:44:11 rwdj java[487657]: 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=/client
   Apr 07 17:44:11 rwdj java[487657]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
   Apr 07 17:44:11 rwdj java[487657]: SLF4J: Defaulting to no-operation (NOP) logger implementation
   Apr 07 17:44:11 rwdj java[487657]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
   Apr 07 17:44:15 rwdj java[487657]: INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Loading module context [bootstrap] from URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.16.1.0.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context.xml]
   Apr 07 17:44:15 rwdj java[487657]: INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Loading module context [bootstrap] from URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.16.1.0.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]
   ~~~


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] rwdj commented on issue #6232: wrong file rights on key file doesn't generate proper error message

Posted by GitBox <gi...@apache.org>.
rwdj commented on issue #6232:
URL: https://github.com/apache/cloudstack/issues/6232#issuecomment-1096781585

   I can't because I need to move onto other work, but I can demonstrate the fact the key is produced with bad permissions in this environment is reproducible.
   ~~~
   [root@rwdj ~]# cd /etc/cloudstack/management
   [root@rwdj management]# umask
   0077
   [root@rwdj management]# rm -f key
   [root@rwdj management]# cloudstack-setup-databases cloud:cloud --deploy-as=root:root -i 127.0.0.1
   <omitted>
   [root@rwdj management]# ls -l key
   -rw-------. 1 root root 8 Apr 12 09:52 key
   ~~~
   I can also pick out the exact line that writes it: https://github.com/apache/cloudstack/blob/4.16/setup/bindir/cloud-setup-databases.in#L400
   ^ With umask 077 and ran by root, I can see why the file would be generated that way.
   
   The cause is the umask. But while this is technically an env issue, this env is a [specification](https://www.stigviewer.com/stig/red_hat_enterprise_linux_8/2021-12-03/finding/V-230385) of DISA's [Security Technical Implementation Guides](https://public.cyber.mil/stigs/).
   
   I'd also like to point out there are two issues here: the lack of error when the key isn't with correct permissions and the way the key is generated in a specific environment which can make testing slightly more difficult.


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] rwdj commented on issue #6232: HTTP ERROR 503 Service Unavailable /client

Posted by GitBox <gi...@apache.org>.
rwdj commented on issue #6232:
URL: https://github.com/apache/cloudstack/issues/6232#issuecomment-1092831676

   /var/log/cloudstack/management/access.log
   ~~~
   127.0.0.1 - - [08/Apr/2022:12:53:20 +0000] "GET /client/ HTTP/1.1" 503 394 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.60 Safari/537.36" 29
   127.0.0.1 - - [08/Apr/2022:12:53:20 +0000] "GET /client/favicon.ico HTTP/1.1" 503 405 "http://localhost:8080/client/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.60 Safari/537.36" 2
   ~~~
   /var/log/cloudstack/management/apilog.log
   ~~~
   <empty>
   ~~~
   /var/log/cloudstack/management/management-server.log
   ~~~
   2022-04-08 08:53:07,115 INFO  [o.a.c.ServerDaemon] (main:null) (logid:) Server configuration file found: /etc/cloudstack/management/server.properties
   2022-04-08 08:53:07,125 DEBUG [c.c.u.c.EncryptionSecretKeyChecker] (main:null) (logid:) Encryption Type: null
   2022-04-08 08:53:07,128 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=/client
   2022-04-08 08:53:11,582 INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Loading module context [bootstrap] from URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.16.1.0.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context.xml]
   2022-04-08 08:53:11,583 INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Loading module context [bootstrap] from URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.16.1.0.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]
   2022-04-08 08:53:11,710 DEBUG [c.c.u.c.EncryptionSecretKeyChecker] (main:null) (logid:) Encryption Type: file
   ~~~
   /var/log/cloudstack/management/setupManagement.log
   ~~~
   DEBUG:root:execute:hostname -f
   DEBUG:root:execute:touch /var/run/cloudstack-management.pid
   DEBUG:root:execute:chown cloud.cloud /var/run/cloudstack-management.pid
   DEBUG:root:execute:hostname --fqdn
   DEBUG:root:execute:mkdir -p /var/lib/cloudstack/
   DEBUG:root:execute:chown cloud:cloud -R /var/lib/cloudstack/
   DEBUG:root:execute:service cloudstack-management status
   DEBUG:root:Failed to execute:Redirecting to /bin/systemctl status cloudstack-management.service
   DEBUG:root:execute:chkconfig --level 2345 cloudstack-management on
   DEBUG:root:execute:service cloudstack-management status
   DEBUG:root:Failed to execute:Redirecting to /bin/systemctl status cloudstack-management.service
   DEBUG:root:execute:service cloudstack-management start
   ~~~
   systemctl status cloudstack-management
   ~~~
   Apr 08 08:53:05 rwdj systemd[1]: Started CloudStack Management Server.
   Apr 08 08:53:07 rwdj java[530071]: INFO  [o.a.c.ServerDaemon] (main:null) (logid:) Server configuration file found: /etc/cloudstack/management/server.properties
   Apr 08 08:53:07 rwdj java[530071]: 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=/client
   Apr 08 08:53:07 rwdj java[530071]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
   Apr 08 08:53:07 rwdj java[530071]: SLF4J: Defaulting to no-operation (NOP) logger implementation
   Apr 08 08:53:07 rwdj java[530071]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
   Apr 08 08:53:11 rwdj java[530071]: INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Loading module context [bootstrap] from URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.16.1.0.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context.xml]
   Apr 08 08:53:11 rwdj java[530071]: INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Loading module context [bootstrap] from URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.16.1.0.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]
   ~~~
   


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] nvazquez commented on issue #6232: HTTP ERROR 503 Service Unavailable /client

Posted by GitBox <gi...@apache.org>.
nvazquez commented on issue #6232:
URL: https://github.com/apache/cloudstack/issues/6232#issuecomment-1094148801

   @rohityadavcloud @DaanHoogland any hint on what else to check that could be causing the server to start?


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] boring-cyborg[bot] commented on issue #6232: HTTP ERROR 503 Service Unavailable /client

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #6232:
URL: https://github.com/apache/cloudstack/issues/6232#issuecomment-1092228675

   Thanks for opening your first issue here! Be sure to follow the issue template!
   


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] weizhouapache commented on issue #6232: wrong file rights on key file doesn't generate proper error message

Posted by GitBox <gi...@apache.org>.
weizhouapache commented on issue #6232:
URL: https://github.com/apache/cloudstack/issues/6232#issuecomment-1096989215

   @rwdj 
   good finding.I agree the `umask` caused the issue.
   as far as I know, the default `umask` output is `0022` (for root admin). If you run `umask 0022`, then setup database, it should work.
   if so, we can update cloudstack document to highlight it.


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] nvazquez commented on issue #6232: HTTP ERROR 503 Service Unavailable /client

Posted by GitBox <gi...@apache.org>.
nvazquez commented on issue #6232:
URL: https://github.com/apache/cloudstack/issues/6232#issuecomment-1092912211

   Thanks @rwdj - I don't see what could be wrong. Right after the last line on the logs then CloudStack should start loading the modules. Attempting to replicate and will update soon


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] rwdj commented on issue #6232: HTTP ERROR 503 Service Unavailable /client

Posted by GitBox <gi...@apache.org>.
rwdj commented on issue #6232:
URL: https://github.com/apache/cloudstack/issues/6232#issuecomment-1093114367

   I completely turned off the firewall for testing and did the following (turning the firewall back on now because, yeah). Same result. But blocked ports shouldn't affect it as it's not doing anything off the machine yet. This is on the same machine. I also tried setting the IP as 127.0.0.1 explicitly as shown.
   ~~~
   [root@rwdj logs]# mysql -p -u root -e 'DROP DATABASE cloud; DROP DATABASE cloud_usage;'
   Enter password: 
   [root@rwdj logs]# systemctl stop firewalld nftables iptables
   [root@rwdj logs]# cloudstack-setup-databases cloud:<omitted> --deploy-as=root:<omitted> -i 127.0.0.1
   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 127.0.0.1                     [ 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
   
   [root@rwdj logs]# cloudstack-setup-management
   Starting to configure CloudStack Management Server:
   Configure CloudStack Management Server ...[OK]
   CloudStack Management Server setup is Done!
   Please ensure the following ports are open for the management server to function properly : 8080 8250 8443 9090
   ~~~


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] nvazquez commented on issue #6232: HTTP ERROR 503 Service Unavailable /client

Posted by GitBox <gi...@apache.org>.
nvazquez commented on issue #6232:
URL: https://github.com/apache/cloudstack/issues/6232#issuecomment-1092762872

   Hi @rwdj have tried stopping the service and start? Do you get any relevant information after the management server logs get stuck by executing `service cloudstack-management status`?


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] rwdj commented on issue #6232: HTTP ERROR 503 Service Unavailable /client

Posted by GitBox <gi...@apache.org>.
rwdj commented on issue #6232:
URL: https://github.com/apache/cloudstack/issues/6232#issuecomment-1092771943

   I'll be away from my machine for around an hour.


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] rohityadavcloud closed issue #6232: wrong file rights on key file doesn't generate proper error message

Posted by GitBox <gi...@apache.org>.
rohityadavcloud closed issue #6232: wrong file rights on key file doesn't generate proper error message
URL: https://github.com/apache/cloudstack/issues/6232


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] nvazquez commented on issue #6232: HTTP ERROR 503 Service Unavailable /client

Posted by GitBox <gi...@apache.org>.
nvazquez commented on issue #6232:
URL: https://github.com/apache/cloudstack/issues/6232#issuecomment-1093138265

   That is not needed, only need the cloudstack-common and cloudstack-management packages. Not sure what could be causing the issue, can you try restarting the mysql service and stop/start the cloudstack-management? If that also doesn't work I would advise if you could consider start again from scratch checking if somehow any step was omitted from: http://docs.cloudstack.apache.org/en/latest/installguide/management-server/index.html


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] nvazquez commented on issue #6232: HTTP ERROR 503 Service Unavailable /client

Posted by GitBox <gi...@apache.org>.
nvazquez commented on issue #6232:
URL: https://github.com/apache/cloudstack/issues/6232#issuecomment-1093251617

   Retried from scratch on RHEL8.6, sorry first time tried on CentOS8 instead of RHEL.
   
   cloudstack-management installation:
   ````
   [root@rhel8 ~]# yum install cloudstack-management
   Updating Subscription Management repositories.
   Last metadata expiration check: 0:01:04 ago on Fri 08 Apr 2022 02:47:03 PM EDT.
   Dependencies resolved.
   =======================================================================================================================================================================================
    Package                                   Architecture          Version                                                    Repository                                            Size
   =======================================================================================================================================================================================
   Installing:
    cloudstack-management                     x86_64                4.16.1.0-1.el8                                             cloudstack                                           1.4 G
   Installing dependencies:
    adwaita-cursor-theme                      noarch                3.28.0-3.el8                                               rhel-8-for-x86_64-appstream-beta-rpms                647 k
    adwaita-icon-theme                        noarch                3.28.0-3.el8                                               rhel-8-for-x86_64-appstream-beta-rpms                 11 M
    alsa-lib                                  x86_64                1.2.6.1-3.el8                                              rhel-8-for-x86_64-appstream-beta-rpms                491 k
    at-spi2-atk                               x86_64                2.26.2-1.el8                                               rhel-8-for-x86_64-appstream-beta-rpms                 89 k
    at-spi2-core                              x86_64                2.28.0-1.el8                                               rhel-8-for-x86_64-appstream-beta-rpms                169 k
    atk                                       x86_64                2.28.1-1.el8                                               rhel-8-for-x86_64-appstream-beta-rpms                272 k
    cloudstack-common                         x86_64                4.16.1.0-1.el8                                             cloudstack                                            94 M
    colord-libs                               x86_64                1.4.2-1.el8                                                rhel-8-for-x86_64-appstream-beta-rpms                236 k
    copy-jdk-configs                          noarch                4.0-2.el8                                                  rhel-8-for-x86_64-appstream-beta-rpms                 31 k
    fribidi                                   x86_64                1.0.4-8.el8                                                rhel-8-for-x86_64-appstream-beta-rpms                 89 k
    gdk-pixbuf2-modules                       x86_64                2.36.12-5.el8                                              rhel-8-for-x86_64-appstream-beta-rpms                109 k
    genisoimage                               x86_64                1.1.11-39.el8                                              rhel-8-for-x86_64-appstream-beta-rpms                316 k
    giflib                                    x86_64                5.1.4-3.el8                                                rhel-8-for-x86_64-appstream-beta-rpms                 51 k
    glibc                                     i686                  2.28-189.el8                                               rhel-8-for-x86_64-baseos-beta-rpms                   2.0 M
    graphite2                                 x86_64                1.3.10-10.el8                                              rhel-8-for-x86_64-appstream-beta-rpms                122 k
    gssproxy                                  x86_64                0.8.0-20.el8                                               rhel-8-for-x86_64-baseos-beta-rpms                   119 k
    gtk-update-icon-cache                     x86_64                3.22.30-10.el8                                             rhel-8-for-x86_64-appstream-beta-rpms                 33 k
    harfbuzz                                  x86_64                1.7.5-3.el8                                                rhel-8-for-x86_64-appstream-beta-rpms                294 k
    hicolor-icon-theme                        noarch                0.17-2.el8                                                 rhel-8-for-x86_64-appstream-beta-rpms                 48 k
    ipmitool                                  x86_64                1.8.18-18.el8                                              rhel-8-for-x86_64-appstream-beta-rpms                395 k
    iptables-services                         x86_64                1.8.4-22.el8                                               rhel-8-for-x86_64-baseos-beta-rpms                    63 k
    jasper-libs                               x86_64                2.0.14-5.el8                                               rhel-8-for-x86_64-appstream-beta-rpms                167 k
    java-11-openjdk                           x86_64                1:11.0.14.0.9-6.el8                                        rhel-8-for-x86_64-appstream-beta-rpms                269 k
    java-11-openjdk-headless                  x86_64                1:11.0.14.0.9-6.el8                                        rhel-8-for-x86_64-appstream-beta-rpms                 40 M
    javapackages-filesystem                   noarch                5.3.0-1.module+el8+2447+6f56d9a6                           rhel-8-for-x86_64-appstream-beta-rpms                 30 k
    jbigkit-libs                              x86_64                2.1-14.el8                                                 rhel-8-for-x86_64-appstream-beta-rpms                 55 k
    keyutils                                  x86_64                1.5.10-9.el8                                               rhel-8-for-x86_64-baseos-beta-rpms                    66 k
    lcms2                                     x86_64                2.9-2.el8                                                  rhel-8-for-x86_64-appstream-beta-rpms                165 k
    libXcomposite                             x86_64                0.4.4-14.el8                                               rhel-8-for-x86_64-appstream-beta-rpms                 29 k
    libXcursor                                x86_64                1.1.15-3.el8                                               rhel-8-for-x86_64-appstream-beta-rpms                 36 k
    libXdamage                                x86_64                1.1.4-14.el8                                               rhel-8-for-x86_64-appstream-beta-rpms                 27 k
    libXfixes                                 x86_64                5.0.3-7.el8                                                rhel-8-for-x86_64-appstream-beta-rpms                 25 k
    libXft                                    x86_64                2.3.3-1.el8                                                rhel-8-for-x86_64-appstream-beta-rpms                 67 k
    libXi                                     x86_64                1.7.10-1.el8                                               rhel-8-for-x86_64-appstream-beta-rpms                 49 k
    libXinerama                               x86_64                1.1.4-1.el8                                                rhel-8-for-x86_64-appstream-beta-rpms                 16 k
    libXrandr                                 x86_64                1.5.2-1.el8                                                rhel-8-for-x86_64-appstream-beta-rpms                 34 k
    libXtst                                   x86_64                1.2.3-7.el8                                                rhel-8-for-x86_64-appstream-beta-rpms                 22 k
    libdatrie                                 x86_64                0.2.9-7.el8                                                rhel-8-for-x86_64-appstream-beta-rpms                 33 k
    libepoxy                                  x86_64                1.5.8-1.el8                                                rhel-8-for-x86_64-appstream-beta-rpms                225 k
    libfontenc                                x86_64                1.1.3-8.el8                                                rhel-8-for-x86_64-appstream-beta-rpms                 37 k
    libjpeg-turbo                             x86_64                1.5.3-12.el8                                               rhel-8-for-x86_64-appstream-beta-rpms                157 k
    libthai                                   x86_64                0.1.27-2.el8                                               rhel-8-for-x86_64-appstream-beta-rpms                203 k
    libtiff                                   x86_64                4.0.9-21.el8                                               rhel-8-for-x86_64-appstream-beta-rpms                188 k
    libusal                                   x86_64                1.1.11-39.el8                                              rhel-8-for-x86_64-appstream-beta-rpms                145 k
    libverto-libevent                         x86_64                0.3.0-5.el8                                                rhel-8-for-x86_64-baseos-beta-rpms                    16 k
    libwayland-client                         x86_64                1.19.0-1.el8                                               rhel-8-for-x86_64-appstream-beta-rpms                 39 k
    libwayland-cursor                         x86_64                1.19.0-1.el8                                               rhel-8-for-x86_64-appstream-beta-rpms                 26 k
    libwayland-egl                            x86_64                1.19.0-1.el8                                               rhel-8-for-x86_64-appstream-beta-rpms                 19 k
    lksctp-tools                              x86_64                1.0.18-3.el8                                               rhel-8-for-x86_64-baseos-beta-rpms                   100 k
    lua                                       x86_64                5.3.4-12.el8                                               rhel-8-for-x86_64-appstream-beta-rpms                192 k
    mariadb-connector-c-config                noarch                3.1.11-2.el8_3                                             rhel-8-for-x86_64-appstream-beta-rpms                 15 k
    mysql                                     x86_64                8.0.26-1.module+el8.4.0+12359+b8928c02                     rhel-8-for-x86_64-appstream-beta-rpms                 12 M
    mysql-common                              x86_64                8.0.26-1.module+el8.4.0+12359+b8928c02                     rhel-8-for-x86_64-appstream-beta-rpms                134 k
    nfs-utils                                 x86_64                1:2.3.3-50.el8                                             rhel-8-for-x86_64-baseos-beta-rpms                   503 k
    pango                                     x86_64                1.42.4-8.el8                                               rhel-8-for-x86_64-appstream-beta-rpms                297 k
    python3-pip                               noarch                9.0.3-22.el8                                               rhel-8-for-x86_64-appstream-beta-rpms                 20 k
    python36                                  x86_64                3.6.8-38.module+el8.5.0+12207+5c5719bc                     rhel-8-for-x86_64-appstream-beta-rpms                 19 k
    qemu-img                                  x86_64                15:6.2.0-8.module+el8.6.0+14324+050a5215                   rhel-8-for-x86_64-appstream-beta-rpms                2.1 M
    rest                                      x86_64                0.8.1-2.el8                                                rhel-8-for-x86_64-appstream-beta-rpms                 71 k
    rpcbind                                   x86_64                1.2.5-8.el8                                                rhel-8-for-x86_64-baseos-beta-rpms                    70 k
    ttmkfdir                                  x86_64                3.0.9-54.el8                                               rhel-8-for-x86_64-appstream-beta-rpms                 62 k
    tzdata-java                               noarch                2021e-1.el8                                                rhel-8-for-x86_64-appstream-beta-rpms                191 k
    xorg-x11-font-utils                       x86_64                1:7.5-41.el8                                               rhel-8-for-x86_64-appstream-beta-rpms                104 k
    xorg-x11-fonts-Type1                      noarch                7.5-19.el8                                                 rhel-8-for-x86_64-appstream-beta-rpms                522 k
   Installing weak dependencies:
    dconf                                     x86_64                0.28.0-4.el8                                               rhel-8-for-x86_64-appstream-beta-rpms                108 k
    gtk3                                      x86_64                3.22.30-10.el8                                             rhel-8-for-x86_64-appstream-beta-rpms                4.5 M
   Enabling module streams:
    javapackages-runtime                                            201801                                                                                                               
    mysql                                                           8.0                                                                                                                  
    python36                                                        3.6                                                                                                                  
   
   Transaction Summary
   =======================================================================================================================================================================================
   Install  67 Packages
   
   Total download size: 1.5 G
   ````
   
   I am able to start it properly, not really sure what can be the issue. Unfortunately nothing else can be obtained from those logs, it simply stops logging. Sorry for the silly suggestion but could be worth checking the disk space as well, just in case


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] rohityadavcloud commented on issue #6232: wrong file rights on key file doesn't generate proper error message

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on issue #6232:
URL: https://github.com/apache/cloudstack/issues/6232#issuecomment-1096600941

   Hi @rwdj based on the discussions, I think this may be an env issue. The bug report is alright. If you're still experimenting, can you start with a fresh/clean env again and see if you can reproduce it?


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] DaanHoogland commented on issue #6232: HTTP ERROR 503 Service Unavailable /client

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on issue #6232:
URL: https://github.com/apache/cloudstack/issues/6232#issuecomment-1096409638

   good find @rwdj, so we should rename this to something like "wrong file rights on key file doesn't generate proper error message"?


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] rohityadavcloud commented on issue #6232: wrong file rights on key file doesn't generate proper error message

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on issue #6232:
URL: https://github.com/apache/cloudstack/issues/6232#issuecomment-1179565101

   Fixed in https://github.com/apache/cloudstack/pull/6542


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] rwdj commented on issue #6232: HTTP ERROR 503 Service Unavailable /client

Posted by GitBox <gi...@apache.org>.
rwdj commented on issue #6232:
URL: https://github.com/apache/cloudstack/issues/6232#issuecomment-1095076889

   @DaanHoogland, it gives the same output and hangs without exit.
   ~~~
   [root@rwdj ~]# su - cloud
   
   [cloud@rwdj ~]$ source /etc/default/cloudstack-management
   
   [cloud@rwdj ~]$ export CLASSPATH BOOTSTRAP_CLASS JAVA_OPTS
   
   [cloud@rwdj ~]$ umask 0022
   
   [cloud@rwdj ~]$ cd /var/log/cloudstack/management
   
   [cloud@rwdj management]$ /usr/bin/java -version
   openjdk version "11.0.14.1" 2022-02-08 LTS [...]
   
   [cloud@rwdj management]$ /usr/bin/java $JAVA_DEBUG $JAVA_OPTS -cp $CLASSPATH $BOOTSTRAP_CLASS
   INFO  [o.a.c.ServerDaemon] (main:null) (logid:) Server configuration file found: /etc/cloudstack/management/server.properties
   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=/client                             
   SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".                                        
   SLF4J: Defaulting to no-operation (NOP) logger implementation                                           
   SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.                      
   INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Loading module context [bootstrap]
   from URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.16.1.0.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context.xml]
   INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Loading module context [bootstrap]
   from URL [jar:file:/usr/share/cloudstack-management/lib/cloudstack-4.16.1.0.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]
   ~~~


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] rwdj commented on issue #6232: HTTP ERROR 503 Service Unavailable /client

Posted by GitBox <gi...@apache.org>.
rwdj commented on issue #6232:
URL: https://github.com/apache/cloudstack/issues/6232#issuecomment-1092772707

   But yes, I'd restarted the service and it showed it was running fine. But you want the startup log, which will take me a bit to get to. 


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] rwdj commented on issue #6232: HTTP ERROR 503 Service Unavailable /client

Posted by GitBox <gi...@apache.org>.
rwdj commented on issue #6232:
URL: https://github.com/apache/cloudstack/issues/6232#issuecomment-1095097818

   I've made it further. /etc/cloudstack/management/key, as generated and not touched by me, was generated as the following:
   ~~~
   -rw-------. 1 root root      8 Apr  8 14:20 key
   ~~~
   A chown to :cloud and chmod to 640 and I'm to a new error. I doubt the new error is related to the current issue: it's database connection related. So, I'll work on that on my own.
   
   I started to check permissions for things I might have missed because the system is configured to use umask 0077 (required), so I started looking for any file cloud:cloud couldn't access. I'd have thought it would have a meaningful error if it couldn't read /etc/cloudstack/management/key, but here we are.


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] rwdj commented on issue #6232: wrong file rights on key file doesn't generate proper error message

Posted by GitBox <gi...@apache.org>.
rwdj commented on issue #6232:
URL: https://github.com/apache/cloudstack/issues/6232#issuecomment-1096848542

   Generally speaking, I'm less concerned about it now that this tickets exists as a paper trail for people with google-fu. It's not a major thing and only makes things a tiny bit more difficult after you know what's going on. But the fixes are equally simple. I'm just not sure how y'all want to go about this. 


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] rwdj commented on issue #6232: HTTP ERROR 503 Service Unavailable /client

Posted by GitBox <gi...@apache.org>.
rwdj commented on issue #6232:
URL: https://github.com/apache/cloudstack/issues/6232#issuecomment-1093124254

   I have that too: mariadb-connector-c-config-3.1.11-2.el8_3.noarch
   And I didn't initially have mysql-connector-java installed until I checked the referenced tickets before submitting this. I assume mysql-connector-python was just someone being overzealous in the referenced tickets, but I installed that at the same time anyways.


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] rwdj commented on issue #6232: HTTP ERROR 503 Service Unavailable /client

Posted by GitBox <gi...@apache.org>.
rwdj commented on issue #6232:
URL: https://github.com/apache/cloudstack/issues/6232#issuecomment-1093127495

   Probably irrelevant, but I also have cloudstack-mysql-ha-4.16.1.0-1.el8.x86_64 installed now. That was because I ran into this issue and checked the CLASSPATH in /etc/default/cloudstack-management and tried finding packages that might have missing libraries. Alas, I now have it all.


-- 
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-unsubscribe@cloudstack.apache.org

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