deajan commented on issue #10703:
URL: https://github.com/apache/cloudstack/issues/10703#issuecomment-2802548151

   Yes, permission error does not raise, unless I "make it raise" by modding 
the source script.
   Reading the sources, the bash Class should catch the traceback and print/log 
the corresponding error, but it doesn't.
   
   I would love to add the host via the UI, but no:
   
   
![Image](https://github.com/user-attachments/assets/6f6bce5b-e697-4fa7-a0ff-1ec5bed0d021)
   
   My machine is a fresh AlmaLinux 9.5 with a SCAP profile enabled, so I can 
understand that the SCAP profile configs may break things, and I am willing to 
get my hands dirty configuring the right stuff.
   But without even getting logs, it's hard to do so.
   
   Other missing logs example:
   For the above screenshot error, I tried to run manually 
`/usr/share/cloudstack-common/scripts/util/keystore-setup` which fails with:
   ```
   Failed to generate CSR file, retrying after removing existing settings
   Reverting libvirtd to not listen on TLS
   Removing cloud.* files in /etc/cloudstack/agent
   Retrying to generate CSR file
   Failed to generate CSR file while retrying
   ```
   Looking into that script, I see that every ran command is redirected with ` 
>/dev/null 2>&1` instead of a log file, so things get hard to debug.


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

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

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

Reply via email to