hi wei, i tried to re deploy the db ran the MS again , in parallel i ran the devcloud python script , this is my MS console log , i saw some xen resources missing ,
WARN [cloud.cluster.ClusterManagerImpl] (Cluster-Notification-1:) Notifying management server join event took 175 ms INFO [cloud.configuration.ConfigurationManagerImpl] (1927634425@qtp-938693467-3:) adding a new subnet to the network 204 INFO [cloud.resource.ResourceManagerImpl] (1927634425@qtp-938693467-3:) Trying to add a new host at http://192.168.56.10/ in data center 1 INFO [xen.discoverer.XcpServerDiscoverer] (1927634425@qtp-938693467-3:) Found host devcloud ip=192.168.56.10 product version=1.6.0 INFO [xen.resource.CitrixResourceBase] (1927634425@qtp-938693467-3:) Private Network is Pool-wide network associated with eth0 for host 192.168.56.10 INFO [xen.resource.CitrixResourceBase] (1927634425@qtp-938693467-3:) Guest Network is Pool-wide network associated with eth0 for host 192.168.56.10 INFO [xen.resource.CitrixResourceBase] (1927634425@qtp-938693467-3:) Public Network is Pool-wide network associated with eth0 for host 192.168.56.10 INFO [xen.discoverer.XcpServerDiscoverer] (1927634425@qtp-938693467-3:) Host: devcloud connected with hypervisor type: XenServer. Checking CIDR... INFO [agent.manager.DirectAgentAttache] (1927634425@qtp-938693467-3:) StartupAnswer received 1 Interval = 60 *WARN [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate /home/punith/Desktop/apache-cloudstack-4.2.0-src/client/target/cloud-client-ui-4.2.0/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xcposs/../ovsgre * *WARN [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate /home/punith/Desktop/apache-cloudstack-4.2.0-src/client/target/cloud-client-ui-4.2.0/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xcposs/../../../../network/domr//ipassoc.sh * *WARN [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate /home/punith/Desktop/apache-cloudstack-4.2.0-src/client/target/cloud-client-ui-4.2.0/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xcposs/../../../../network/domr//getDomRVersion.sh * *WARN [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate /home/punith/Desktop/apache-cloudstack-4.2.0-src/client/target/cloud-client-ui-4.2.0/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xcposs/../../../../network/domr//getRouterStatus.sh * *WARN [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate /home/punith/Desktop/apache-cloudstack-4.2.0-src/client/target/cloud-client-ui-4.2.0/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xcposs/../../../../network/domr//networkUsage.sh * *WARN [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate /home/punith/Desktop/apache-cloudstack-4.2.0-src/client/target/cloud-client-ui-4.2.0/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xcposs/../../../../network/domr//l2tp_vpn.sh * *WARN [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate /home/punith/Desktop/apache-cloudstack-4.2.0-src/client/target/cloud-client-ui-4.2.0/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xcposs/../vhd-util * INFO [network.security.SecurityGroupListener] (1927634425@qtp-938693467-3:) Received a host startup notification INFO [network.security.SecurityGroupListener] (1927634425@qtp-938693467-3:) Scheduled network rules cleanup, interval=2669 INFO [network.security.SecurityGroupListener] (1927634425@qtp-938693467-3:) Received a host startup notification INFO [cloud.resource.ResourceManagerImpl] (1927634425@qtp-938693467-3:) server resources successfully discovered by XCP Agent INFO [datastore.lifecycle.CloudStackImageStoreLifeCycleImpl] (1927634425@qtp-938693467-3:) Trying to add a new data store at nfs://192.168.56.10/opt/storage/secondary to data center 1 INFO [cloud.configuration.ConfigurationManagerImpl] (1927634425@qtp-938693467-3:) No storage traffic type was specified by admin, create default storage traffic on physical network 200 with same configure of management traffic type INFO [storage.endpoint.DefaultEndPointSelector] (StatsCollector-3:) No running ssvm is found, so command will be sent to LocalHostEndPoint INFO [cloud.secstorage.PremiumSecondaryStorageManagerImpl] (secstorage-1:) No running secondary storage vms found in datacenter id=1, starting one INFO [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:) No stopped secondary storage vm is available, need to allocate a new secondary storage vm INFO [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:) No stopped console proxy is available, need to allocate a new console proxy INFO [storage.volume.VolumeServiceImpl] (consoleproxy-1:) lock is acquired for VMTemplateStoragePool 1 INFO [storage.volume.VolumeServiceImpl] (consoleproxy-1:) releasing lock for VMTemplateStoragePool 1 WARN [utils.db.Merovingian2] (consoleproxy-1:) Was unable to find lock for the key template_spool_ref1 and thread id 566503218 INFO [storage.volume.VolumeServiceImpl] (secstorage-1:) lock is acquired for VMTemplateStoragePool 1 INFO [storage.volume.VolumeServiceImpl] (secstorage-1:) Template routing-1 is already copied to primary storage, skip copying INFO [storage.endpoint.DefaultEndPointSelector] (StatsCollector-3:) No running ssvm is found, so command will be sent to LocalHostEndPoint INFO [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:) Console proxy v-2-VM is started INFO [storage.volume.VolumeServiceImpl] (secstorage-1:) releasing lock for VMTemplateStoragePool 1 **INFO [storage.image.TemplateServiceImpl] (AgentTaskPool-1:) Downloading builtin template tiny Linux to data center: 1* **INFO [storage.endpoint.DefaultEndPointSelector] (AgentTaskPool-1:) No running ssvm is found, so command will be sent to LocalHostEndPoint* **INFO [storage.endpoint.DefaultEndPointSelector] (StatsCollector-3:) No running ssvm is found, so command will be sent to LocalHostEndPoint* *WARN [storage.download.DownloadListener] (Timer-5:) Entering download error state: timeout waiting for response from storage host, TEMPLATE: 5 at host 0* INFO [storage.endpoint.DefaultEndPointSelector] (StatsCollector-3:) No running ssvm is found, so command will be sent to LocalHostEndPoint any thoughts ?? regards, punith s On Thu, Oct 3, 2013 at 7:13 PM, Wei ZHOU <ustcweiz...@gmail.com> wrote: > The virtual router will be created when you deploy the first VM. > > > 2013/10/3 Punith s <punit...@cloudbyte.com> > > > hi Wei , > > > > i found no system virtual running in my infrastructure !! , i think this > > is the main reason behind this mess ?? > > any suggestions to get a virtual router up? and should i be on static ip > > in my localhost ??thanks. > > > > regards, > > punith s > > > > > > > > > > > > > > On Thu, Oct 3, 2013 at 6:47 PM, Punith s <punit...@cloudbyte.com> wrote: > > > >> i have been running in the mode, till now it was just fine until my > >> system crashed , so i got the new 4.2.0 release and started building on > . > >> previously i had posted which devcloud mode is best suited for > >> development , you can refer this link > >> https://mail.google.com/mail/#sent/1411177bb5a650a2 > >> > >> the problem here is , i can see the system vm's shown as running in the > >> UI , but i cannot access their console from the MS, they are like half > live > >> half dead . > >> and secondary system vm is failing to download the template(tiny linux) > >> since the agent is shown null in the UI. > >> > >> i shall try to register a new template or iso from a remote web server. > >> > >> regards, > >> punith s > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> On Thu, Oct 3, 2013 at 6:28 PM > >> > >> , Wei ZHOU <ustcweiz...@gmail.com> wrote: > >> > >>> The host (management server ip) in global setting is fixed as > >>> 192.168.56.1 > >>> in tools/devcloud/devcloud.sql > >>> Maybe you need to change it. > >>> I use another virtualbox instance with ip 192.168.56.2 as the > management > >>> server, then I change "host" in global setting to 192.168.56.2 > >>> > >>> > >>> 2013/10/3 Punith s <punit...@cloudbyte.com> > >>> > >>> > no i'm using devcloud2 as the HOST ONLY MODE(xen) but i'm building > the > >>> MS > >>> > in my localhost which is a DHCP(10.11.1.135) > >>> > the devcloud's ip is 198.168.56.1. > >>> > > >>> > i'm building with ref's to this link > >>> > https://cwiki.apache.org/confluence/display/CLOUDSTACK/DevCloud > >>> > > >>> > > >>> > > >>> > > >>> > On Thu, Oct 3, 2013 at 5:57 PM, Wei ZHOU <ustcweiz...@gmail.com> > >>> wrote: > >>> > > >>> > > Is the ip of your management-server 192.168.56.1? > >>> > > > >>> > > > >>> > > 2013/10/3 Punith s <punit...@cloudbyte.com> > >>> > > > >>> > > > hi wei , > >>> > > > thanks for the reply but > >>> > > > > >>> > > > like i said i,m using devcloud2 as my host and building my basic > >>> > > > infrastructure by running the python script > >>> > > > python ../marvin/marvin/deployDataCenter.py -i devcloud.cfg which > >>> > > compised > >>> > > > the package containing sysvm's and tiny linux templates . > >>> > > > > >>> > > > all the system vm's are shown running the the MS , but the agent > >>> state > >>> > is > >>> > > > shown null(-), > >>> > > > > >>> > > > while creating the instance , i cannot add the default tiny linux > >>> > > template > >>> > > > since it is not in the ready state(not yet downloaded by the sec > >>> stor > >>> > vm) > >>> > > > even though the systemvm's are running, is this due to agent > state > >>> > shown > >>> > > > null ?? > >>> > > > > >>> > > > regards, > >>> > > > punith s > >>> > > > cloudbyte > >>> > > > > >>> > > > > >>> > > > > >>> > > > > >>> > > > On Thu, Oct 3, 2013 at 5:00 PM, Wei ZHOU <ustcweiz...@gmail.com> > >>> > wrote: > >>> > > > > >>> > > >> Please follow the link to install new systemvm template: > >>> > > >> > >>> > > >> > >>> > > > >>> > > >>> > https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+CloudStack#HowtobuildCloudStack-InstalltheSystemVMTemplate > >>> > > >> > >>> > > >> PS: The download url changed to > >>> > > http://download.cloud.com/templates/4.2/ > >>> > > >> systemvmtemplate-2013-07-12-master-xen.vhd.bz2< > >>> > > > >>> > > >>> > http://download.cloud.com/templates/4.2/systemvmtemplate-2013-07-12-master-xen.vhd.bz2 > >>> > > > > >>> > > >> . > >>> > > >> > >>> > > >> > >>> > > >> 2013/10/3 Punith s <punit...@cloudbyte.com> > >>> > > >> > >>> > > >> > hi everyone , > >>> > > >> > > >>> > > >> > i just build the cloudstack realese 4.2.0 on my devcloud2 to > >>> test my > >>> > > >> plugin > >>> > > >> > , > >>> > > >> > > >>> > > >> > but i'm unable to create the tiny linux instance here after > >>> running > >>> > > the > >>> > > >> > python ../marvin/marvin/deployDataCenter.py -i devcloud.cfg > >>> > > >> > > >>> > > >> > the template is not getting ready , any suggestions ?? > >>> > > >> > > >>> > > >> > the vmops.log file shows the following , > >>> > > >> > > >>> > > >> > 2013-10-03 16:12:30,599 DEBUG [cloud.api.ApiServlet] > >>> > > >> > (1995997711@qtp-1547603062-3:null) ===END=== 0:0:0:0:0:0:0:1 > >>> -- > >>> > GET > >>> > > >> > > >>> > > >> > > >>> > > >> > >>> > > > >>> > > >>> > > command=listTemplates&templatefilter=selfexecutable&zoneid=a2ed9972-3f9a-4bcc-b888-d68114a42b7a&response=json&sessionkey=yCeA7XxmdJZEF47qnBCzXPrV7Go%3D&_=1380796950532 > >>> > > >> > 2013-10-03 16:12:30,923 DEBUG > [agent.manager.DirectAgentAttache] > >>> > > >> > (DirectAgent-7:null) Seq 1-349175812: Response Received: > >>> > > >> > 2013-10-03 16:12:30,926 DEBUG [agent.transport.Request] > >>> > > >> > (DirectAgent-7:null) Seq 1-349175812: Processing: { Ans: , > >>> MgmtId: > >>> > > >> > 268749071320359, via: 1, Ver: v1, Flags: 10, > >>> > > >> > > >>> > > >> > > >>> > > >> > >>> > > > >>> > > >>> > [{"com.cloud.agent.api.ClusterSyncAnswer":{"_clusterId":1,"_newStates":{},"_isExecuted":false,"result":true,"wait":0}}] > >>> > > >> > } > >>> > > >> > 2013-10-03 16:12:31,140 DEBUG > >>> [storage.download.DownloadListener] > >>> > > >> > (Timer-5:null) timeout: transitioning to download error state, > >>> > > >> > currstate=NOT_DOWNLOADED, TEMPLATE: 5 at host 0 > >>> > > >> > 2013-10-03 16:12:31,141 DEBUG > >>> > [storage.image.BaseImageStoreDriverImpl] > >>> > > >> > (Timer-5:null) Performing image store createTemplate async > >>> callback > >>> > > >> > 2013-10-03 16:12:31,269 WARN > >>> [storage.download.DownloadListener] > >>> > > >> > (Timer-5:null) Entering download error state: timeout waiting > >>> for > >>> > > >> response > >>> > > >> > from storage host, TEMPLATE: 5 at host 0 > >>> > > >> > 2013-10-03 16:12:34,311 DEBUG [cloud.api.ApiServlet] > >>> > > >> > (1995997711@qtp-1547603062-3:null) ===START=== > >>> 0:0:0:0:0:0:0:1 -- > >>> > > GET > >>> > > >> > > >>> > > >> > > >>> > > >> > >>> > > > >>> > > >>> > > command=listZones&response=json&sessionkey=yCeA7XxmdJZEF47qnBCzXPrV7Go%3D&_=1380796954305 > >>> > > >> > 2013-10-03 16:12:34,346 DEBUG [cloud.api.ApiServlet] > >>> > > >> > (1995997711@qtp-1547603062-3:null) ===END=== 0:0:0:0:0:0:0:1 > >>> -- > >>> > GET > >>> > > >> > > >>> > > >> > > >>> > > >> > >>> > > > >>> > > >>> > > command=listZones&response=json&sessionkey=yCeA7XxmdJZEF47qnBCzXPrV7Go%3D&_=1380796954305 > >>> > > >> > > >>> > > >> > > >>> > > >> > thanks , > >>> > > >> > > >>> > > >> > regards, > >>> > > >> > punith s > >>> > > >> > cloudbyte.com > >>> > > >> > > >>> > > >> > >>> > > > > >>> > > > > >>> > > > >>> > > >>> > >> > >> > > >