[ https://issues.apache.org/jira/browse/CLOUDSTACK-8016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14345714#comment-14345714 ]
ASF GitHub Bot commented on CLOUDSTACK-8016: -------------------------------------------- GitHub user K0zka opened a pull request: https://github.com/apache/cloudstack/pull/93 kvm: Check the return value of the cloudstack-setup-agent command Bug-Url: https://issues.apache.org/jira/browse/CLOUDSTACK-8016 Signed-off-by: Laszlo Hornyak <laszlo.horn...@gmail.com> You can merge this pull request into a Git repository by running: $ git pull https://github.com/K0zka/cloudstack CLOUDSTACK-8016 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/93.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #93 ---- commit 6e6270e9f9eefb8f4927c73869c42010619c7a9c Author: Laszlo Hornyak <laszlo.horn...@gmail.com> Date: 2015-01-17T21:09:16Z kvm: Check the return value of the cloudstack-setup-agent command Bug-Url: https://issues.apache.org/jira/browse/CLOUDSTACK-8016 Signed-off-by: Laszlo Hornyak <laszlo.horn...@gmail.com> ---- > return code of the call to cloudstack-setup-agent is not checked > ---------------------------------------------------------------- > > Key: CLOUDSTACK-8016 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8016 > Project: CloudStack > Issue Type: Improvement > Security Level: Public(Anyone can view this level - this is the > default.) > Components: KVM, Management Server > Affects Versions: 4.6.0 > Reporter: Laszlo Hornyak > Assignee: Laszlo Hornyak > Priority: Trivial > Labels: host, kvm, libvirt, resourcemanager > > When the user tries to add a host, on which no cloudstack is installed yet, > the management server will run cloudstack-setup-agent on the host but it does > not check the return code and will wait for the cloudstack agent to connect. > It does not wait forever, but it will spend quite some time in the loop and > at the end no error message is logged or shown to the user (except that the > host could not be added). -- This message was sent by Atlassian JIRA (v6.3.4#6332)