[ https://issues.apache.org/jira/browse/CLOUDSTACK-1487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13591486#comment-13591486 ]
ASF subversion and git services commented on CLOUDSTACK-1487: ------------------------------------------------------------- Commit ee68560fe14edd420727118fb3d5f6da72313844 in branch refs/heads/4.1 from Chip Childers <chip.child...@gmail.com> [ https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;h=ee68560 ] Summary: Add EOF to agent.properties for proper parsing Detail: lack of newline at end of file was keeping cloudstack-setup-agent from properly editing/creating new config. BUG-ID: CLOUDSTACK-1487 Signed-off-by: Marcus Sorensen <mar...@betterservers.com> 1362191198 -0700 > cloudstack-setup-agent fails to set private.network.device on KVM host add > -------------------------------------------------------------------------- > > Key: CLOUDSTACK-1487 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1487 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Install and Setup, KVM > Affects Versions: 4.1.0 > Environment: CentOS 6.3, KVM > Reporter: Marcus Sorensen > Assignee: Marcus Sorensen > Priority: Blocker > Fix For: 4.1.0 > > > When setting up zone and adding a host, the management server connects to the > host and runs cloudstack-setup-agent. Per the management server log: > "cloudstack-setup-agent -m 172.17.10.10 -z 1 -p 1 -c 1 -g > 7e59f3ee-6112-301e-a361-ee475c63215a -a --pubNic=cloudbr1 --prvNic=cloudbr0 > --guestNic=cloudbr0 output:CloudStack Agent setup is done!" > but in the /etc/cloudstack/agent/agent.properties, private.network.device is > not set. This leaves people with a broken install with all sorts of symptoms > that one might create bug reports for. I'm not familiar enough with python or > all of the included cloudstack libraries to track it down. > see resulting file: > guest.network.device=cloudbr0 > workers=5 > port=8250 > resource=com.cloud.hypervisor.kvm.resource.LibvirtComputingResource > pod=1 > zone=1 > guid=7e59f3ee-6112-301e-a361-ee475c63215a > cluster=1 > public.network.device=cloudbr1 > local.storage.uuid=d6818058-ccad-4d8e-8473-7f7a0cfe3b7c > domr.scripts.dir=scripts/network/domr/kvm > host=172.17.10.10 > LibvirtComputingResource.id=1 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira