[
https://issues.apache.org/jira/browse/CLOUDSTACK-995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sangeetha Hariharan reopened CLOUDSTACK-995:
--------------------------------------------
Edison,
With your fixes , I assume we should be able to add the host with out having to
do any workarounds to cgconfig.conf.
Was the check in done for “network-refractor” build ?
With the latest “network-refractor” build , I am still not able to add the host
successfully with no changes made to cgconfig.conf .
Following error seen in agent.log
exiting.
DEBUG:root:execute:hostname -f
DEBUG:root:execute:selinuxenabled
DEBUG:root:execute:setenforce 0
DEBUG:root:execute:service libvirtd status
DEBUG:root:Failed to execute:libvirtd is stopped
DEBUG:root:execute:service libvirtd status
DEBUG:root:Failed to execute:libvirtd is stopped
DEBUG:root:execute:service libvirtd start
DEBUG:root:Failed to execute:libcgroup initialization failed: Cgroup is not
mounted
DEBUG:root:execute:setenforce 1
DEBUG:root:execute:service network restart
DEBUG:root:Failed to execute:dhclient(26209) is already running - exiting.
This version of ISC DHCP is based on the release available
on ftp.isc.org. Features have been added and other changes
have been made to the base software release in order to make
it work better with this distribution.
Please report for this software via the Red Hat Bugzilla site:
http://bugzilla.redhat.com
exiting.
> Not able to add the KVM host.
> -----------------------------
>
> Key: CLOUDSTACK-995
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-995
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Management Server
> Affects Versions: 4.1.0
> Environment: Build from network-refactor branch.
> Reporter: Sangeetha Hariharan
> Assignee: edison su
> Priority: Critical
> Fix For: 4.1.0
>
> Attachments: management-server.zip, setup.log
>
>
> Set up:
> Installed management server.
> Tried to configure an advanced zone with KVM hypervisor - Centos 6.2.
> I am NOT able to add the KVM host successfully.
>
> I get the following error in management server logs :
>
> 2013-01-16 21:02:32,794 INFO [cloud.resource.ResourceManagerImpl]
> (catalina-exec-7:null) Trying to add a new host at http://10.223.59.4 in data
> center 1
> 2013-01-16 21:02:33,038 DEBUG [utils.ssh.SSHCmdHelper] (catalina-exec-7:null)
> Executing cmd: lsmod|grep kvm
> 2013-01-16 21:02:34,168 DEBUG [utils.ssh.SSHCmdHelper] (catalina-exec-7:null)
> lsmod|grep kvm output:kvm_intel 50380 0
> kvm 305081 1 kvm_intel
>
> …..
> 2013-01-16 21:02:35,176 DEBUG [utils.ssh.SSHCmdHelper] (catalina-exec-7:null)
> Executing cmd: cloud-setup-agent -m 10.223.59.3 -z 1 -p 1 -c 1 -g
> 01481220-7c8d-3d22-aa72-80d909038f98 -a --pubNic=cloudbr0 --prvNic=cloudbr0
> --guestNic=cloudbr0
> 2013-01-16 21:02:58,319 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl]
> (consoleproxy-1:null) Skip capacity scan due to there is no Primary Storage
> UPintenance mode
> 2013-01-16 21:02:58,726 DEBUG
> [network.router.VirtualNetworkApplianceManagerImpl]
> (RouterStatusMonitor-1:null) Found 0 routers.
> 2013-01-16 21:03:13,078 DEBUG [cloud.server.StatsCollector]
> (StatsCollector-2:null) HostStatsCollector is running...
> 2013-01-16 21:03:13,078 DEBUG [cloud.server.StatsCollector]
> (StatsCollector-1:null) VmStatsCollector is running...
> 2013-01-16 21:03:13,175 DEBUG [cloud.server.StatsCollector]
> (StatsCollector-2:null) StorageCollector is running...
> 2013-01-16 21:03:28,319 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl]
> (consoleproxy-1:null) Skip capacity scan due to there is no Primary Storage
> UPintenance mode
> 2013-01-16 21:03:28,727 DEBUG
> [network.router.VirtualNetworkApplianceManagerImpl]
> (RouterStatusMonitor-1:null) Found 0 routers.
> 2013-01-16 21:03:41,434 DEBUG [utils.ssh.SSHCmdHelper] (catalina-exec-7:null)
> cloud-setup-agent -m 10.223.59.3 -z 1 -p 1 -c 1 -g
> 01481220-7c8d-3d22-aa72-80d909038f98 -a --pubNic=cloudbr0 --prvNic=cloudbr0
> --guestNic=cloudbr0 output:[Failed]
> ibvirt ... bvirt
> Try to restore your system:
> Restore SElinux ...
--
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