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

   For the sake of sanity, I re-ran the command as you suggested
   
   ```
    sudo /usr/bin/cloudstack-setup-agent
   Welcome to the CloudStack Agent Setup:
   Please input the Management Server Hostname/IP-Address:[localhost]
   Please input the Zone Id:[default]
   Please input the Pod Id:[default]
   Please input the Cluster Id:[default]
   Please input the Hypervisor type kvm/lxc:[kvm]
   Failed to get default route. Please configure your network to have a default 
route
   ```
   
   This indeed creates the following log:
   ```
   cat /var/log/cloudstack/agent/setup.log
   DEBUG:root:execute:route -n|awk '/^0.0.0.0/ {print $2,$8}
   ```
   
   But there's still no trace of the reason why `route -n|awk '/^0.0.0.0/ 
{print $2,$8}' failed with a permission error from the cloudstack-setup-agent, 
whereas running the same from commandline as non root works, even without sudo.
   
   So I still think that the raised exception is never written to the logfile.


-- 
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