Re: problem with release test procedure

2014-01-20 Thread Ja kub
where is 4.3 branch ?
I can't see it: http://www.eu.apache.org/dist/cloudstack/releases/ nor in
http://cloudstack.apache.org/downloads.html
is 4.3 stable ? should I try it ?

now I used  devcloud2.ova with size 1415790592

in directory: /opt/cloudstack/apache-cloudstack-4.2.1-src
I have run:

/opt/maven3/bin/mvn  clean install -Dmaven.test.skip=true -Dfindbugs.skip
-Dcheckstyle.skip  -P developer,systemvm; /opt/maven3/bin/mvn -P developer
-pl developer,tools/devcloud -Ddeploydb; /opt/maven3/bin/mvn -pl
:cloud-client-ui jetty:run

when jetty started, I run
/opt/maven3/bin/mvn -P developer -pl tools/devcloud -Ddeploysvr

below is jetty log:

INFO  [cloud.configuration.ConfigurationManagerImpl]
(1456467068@qtp-694040663-0:) adding a new subnet to the network 204
INFO  [cloud.resource.ResourceManagerImpl] (1456467068@qtp-694040663-0:)
Trying to add a new host at http://192.168.56.10/ in data center 1
INFO  [xen.discoverer.XcpServerDiscoverer] (1456467068@qtp-694040663-0:)
Found host devcloud ip=192.168.56.10 product version=1.6.0
INFO  [xen.resource.CitrixResourceBase] (1456467068@qtp-694040663-0:)
Private Network is Pool-wide network associated with eth0 for host
192.168.56.10
INFO  [xen.resource.CitrixResourceBase] (1456467068@qtp-694040663-0:) Guest
Network is Pool-wide network associated with eth0 for host 192.168.56.10
INFO  [xen.resource.CitrixResourceBase] (1456467068@qtp-694040663-0:)
Public Network is Pool-wide network associated with eth0 for host
192.168.56.10
INFO  [xen.discoverer.XcpServerDiscoverer] (1456467068@qtp-694040663-0:)
Host: devcloud connected with hypervisor type: XenServer. Checking CIDR...
INFO  [agent.manager.DirectAgentAttache] (1456467068@qtp-694040663-0:)
StartupAnswer received 1 Interval = 60
WARN  [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate
/opt/cloudstack/apache-cloudstack-4.2.1-src/client/target/cloud-client-ui-4.2.1/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xcposs/../ovsgre
WARN  [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate
/opt/cloudstack/apache-cloudstack-4.2.1-src/client/target/cloud-client-ui-4.2.1/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xcposs/../../../../network/domr//ipassoc.sh
WARN  [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate
/opt/cloudstack/apache-cloudstack-4.2.1-src/client/target/cloud-client-ui-4.2.1/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xcposs/../../../../network/domr//getDomRVersion.sh
WARN  [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate
/opt/cloudstack/apache-cloudstack-4.2.1-src/client/target/cloud-client-ui-4.2.1/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xcposs/../../../../network/domr//getRouterStatus.sh
WARN  [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate
/opt/cloudstack/apache-cloudstack-4.2.1-src/client/target/cloud-client-ui-4.2.1/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xcposs/../../../../network/domr//networkUsage.sh
WARN  [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate
/opt/cloudstack/apache-cloudstack-4.2.1-src/client/target/cloud-client-ui-4.2.1/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xcposs/../../../../network/domr//l2tp_vpn.sh
WARN  [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate
/opt/cloudstack/apache-cloudstack-4.2.1-src/client/target/cloud-client-ui-4.2.1/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xcposs/../vhd-util
INFO  [network.security.SecurityGroupListener] (1456467068@qtp-694040663-0:)
Received a host startup notification
INFO  [network.security.SecurityGroupListener] (1456467068@qtp-694040663-0:)
Scheduled network rules cleanup, interval=2318
INFO  [network.security.SecurityGroupListener] (1456467068@qtp-694040663-0:)
Received a host startup notification
INFO  [cloud.resource.ResourceManagerImpl] (1456467068@qtp-694040663-0:)
server resources successfully discovered by XCP Agent
INFO  [datastore.lifecycle.CloudStackImageStoreLifeCycleImpl]
(1456467068@qtp-694040663-0:) Trying to add a new data store at nfs://
192.168.56.10/opt/storage/secondary to data center 1
INFO  [cloud.configuration.ConfigurationManagerImpl]
(1456467068@qtp-694040663-0:) 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 

Re: problem with release test procedure

2014-01-20 Thread sebgoa

On Jan 20, 2014, at 10:58 AM, Ja kub  wrote:

> I am using 4.2.1-src branch, now I used smaller vbox image (900MB, I can't
> remember which image I used earlier),
> 

Can you try the other image, there was a bug in 4.2.1 for devcloud

> 
> below is full log of jetty, starting from execution of mvn -P developer -pl
> tools/devcloud -Ddeploysvr
> 
> INFO  [cloud.configuration.ConfigurationManagerImpl] (507621488@qtp-
> 562387789-3:) adding a new subnet to the network 204
> INFO  [cloud.resource.ResourceManagerImpl] (507621488@qtp-562387789-3:)
> Trying to add a new host at http://192.168.56.10/ in data center 1
> INFO  [xen.discoverer.XcpServerDiscoverer] (507621488@qtp-562387789-3:)
> Found host devcloud ip=192.168.56.10 product version=1.6.0
> INFO  [xen.resource.CitrixResourceBase] (507621488@qtp-562387789-3:)
> Private Network is Pool-wide network associated with eth0 for host
> 192.168.56.10
> INFO  [xen.resource.CitrixResourceBase] (507621488@qtp-562387789-3:) Guest
> Network is Pool-wide network associated with eth0 for host 192.168.56.10
> INFO  [xen.resource.CitrixResourceBase] (507621488@qtp-562387789-3:) Public
> Network is Pool-wide network associated with eth0 for host 192.168.56.10
> INFO  [xen.discoverer.XcpServerDiscoverer] (507621488@qtp-562387789-3:)
> Host: devcloud connected with hypervisor type: XenServer. Checking CIDR...
> INFO  [agent.manager.DirectAgentAttache] (507621488@qtp-562387789-3:)
> StartupAnswer received 1 Interval = 60
> WARN  [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate
> /opt/cloudstack/apache-cloudstack-4.2.1-src/client/target/cloud-client-ui-4.2.1/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xcposs/../ovsgre
> WARN  [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate
> /opt/cloudstack/apache-cloudstack-4.2.1-src/client/target/cloud-client-ui-4.2.1/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xcposs/../../../../network/domr//ipassoc.sh
> WARN  [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate
> /opt/cloudstack/apache-cloudstack-4.2.1-src/client/target/cloud-client-ui-4.2.1/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xcposs/../../../../network/domr//getDomRVersion.sh
> WARN  [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate
> /opt/cloudstack/apache-cloudstack-4.2.1-src/client/target/cloud-client-ui-4.2.1/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xcposs/../../../../network/domr//getRouterStatus.sh
> WARN  [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate
> /opt/cloudstack/apache-cloudstack-4.2.1-src/client/target/cloud-client-ui-4.2.1/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xcposs/../../../../network/domr//networkUsage.sh
> WARN  [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate
> /opt/cloudstack/apache-cloudstack-4.2.1-src/client/target/cloud-client-ui-4.2.1/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xcposs/../../../../network/domr//l2tp_vpn.sh
> WARN  [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate
> /opt/cloudstack/apache-cloudstack-4.2.1-src/client/target/cloud-client-ui-4.2.1/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xcposs/../vhd-util
> INFO  [network.security.SecurityGroupListener] (507621488@qtp-562387789-3:)
> Received a host startup notification
> INFO  [network.security.SecurityGroupListener] (507621488@qtp-562387789-3:)
> Scheduled network rules cleanup, interval=1841
> INFO  [network.security.SecurityGroupListener] (507621488@qtp-562387789-3:)
> Received a host startup notification
> INFO  [cloud.resource.ResourceManagerImpl] (507621488@qtp-562387789-3:)
> server resources successfully discovered by XCP Agent
> INFO  [datastore.lifecycle.CloudStackImageStoreLifeCycleImpl]
> (507621488@qtp-562387789-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]
> (507621488@qtp-562387789-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
> WARN  [xen.resource.CitrixResourceBase] (DirectAgent-4:) kill_copy_process
> failed
> WARN  [xen.resource.XenServerStorageProcessor] (DirectAgent-4:) can no

Re: problem with release test procedure

2014-01-20 Thread Ja kub
I am using 4.2.1-src branch, now I used smaller vbox image (900MB, I can't
remember which image I used earlier),


below is full log of jetty, starting from execution of mvn -P developer -pl
tools/devcloud -Ddeploysvr

INFO  [cloud.configuration.ConfigurationManagerImpl] (507621488@qtp-
562387789-3:) adding a new subnet to the network 204
INFO  [cloud.resource.ResourceManagerImpl] (507621488@qtp-562387789-3:)
Trying to add a new host at http://192.168.56.10/ in data center 1
INFO  [xen.discoverer.XcpServerDiscoverer] (507621488@qtp-562387789-3:)
Found host devcloud ip=192.168.56.10 product version=1.6.0
INFO  [xen.resource.CitrixResourceBase] (507621488@qtp-562387789-3:)
Private Network is Pool-wide network associated with eth0 for host
192.168.56.10
INFO  [xen.resource.CitrixResourceBase] (507621488@qtp-562387789-3:) Guest
Network is Pool-wide network associated with eth0 for host 192.168.56.10
INFO  [xen.resource.CitrixResourceBase] (507621488@qtp-562387789-3:) Public
Network is Pool-wide network associated with eth0 for host 192.168.56.10
INFO  [xen.discoverer.XcpServerDiscoverer] (507621488@qtp-562387789-3:)
Host: devcloud connected with hypervisor type: XenServer. Checking CIDR...
INFO  [agent.manager.DirectAgentAttache] (507621488@qtp-562387789-3:)
StartupAnswer received 1 Interval = 60
WARN  [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate
/opt/cloudstack/apache-cloudstack-4.2.1-src/client/target/cloud-client-ui-4.2.1/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xcposs/../ovsgre
WARN  [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate
/opt/cloudstack/apache-cloudstack-4.2.1-src/client/target/cloud-client-ui-4.2.1/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xcposs/../../../../network/domr//ipassoc.sh
WARN  [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate
/opt/cloudstack/apache-cloudstack-4.2.1-src/client/target/cloud-client-ui-4.2.1/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xcposs/../../../../network/domr//getDomRVersion.sh
WARN  [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate
/opt/cloudstack/apache-cloudstack-4.2.1-src/client/target/cloud-client-ui-4.2.1/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xcposs/../../../../network/domr//getRouterStatus.sh
WARN  [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate
/opt/cloudstack/apache-cloudstack-4.2.1-src/client/target/cloud-client-ui-4.2.1/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xcposs/../../../../network/domr//networkUsage.sh
WARN  [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate
/opt/cloudstack/apache-cloudstack-4.2.1-src/client/target/cloud-client-ui-4.2.1/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xcposs/../../../../network/domr//l2tp_vpn.sh
WARN  [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate
/opt/cloudstack/apache-cloudstack-4.2.1-src/client/target/cloud-client-ui-4.2.1/WEB-INF/classes/scripts/vm/hypervisor/xenserver/xcposs/../vhd-util
INFO  [network.security.SecurityGroupListener] (507621488@qtp-562387789-3:)
Received a host startup notification
INFO  [network.security.SecurityGroupListener] (507621488@qtp-562387789-3:)
Scheduled network rules cleanup, interval=1841
INFO  [network.security.SecurityGroupListener] (507621488@qtp-562387789-3:)
Received a host startup notification
INFO  [cloud.resource.ResourceManagerImpl] (507621488@qtp-562387789-3:)
server resources successfully discovered by XCP Agent
INFO  [datastore.lifecycle.CloudStackImageStoreLifeCycleImpl]
(507621488@qtp-562387789-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]
(507621488@qtp-562387789-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
WARN  [xen.resource.CitrixResourceBase] (DirectAgent-4:) kill_copy_process
failed
WARN  [xen.resource.XenServerStorageProcessor] (DirectAgent-4:) can not
create vdi in sr 9f3f9262-3f77-09cc-2df7-0d8475676260
WARN  [xen.resource.XenServerStorageProcessor] (DirectAgent-4:) Catch
Exception com.cloud.utils.exception.CloudRuntimeException for template +
due to com.cloud.utils.exception.CloudRuntimeExceptio

Re: problem with release test procedure

2014-01-17 Thread Amogh Vasekar
Hi,
Is the SSVM in up when checked from the UI? You may need to change the
"host" config in global parameters to 192.168.56.10 (assuming you are
running the management server from within DevCloud).

HTH,
Amogh

On 1/17/14 7:47 AM, "Ja kub"  wrote:

>Hi,
>
>
>Has anybody recently tested creating instance with virtualbox image ?
>Was it successful ?
>
>I am a complete newbie,
>
>I try to do
>https://cwiki.apache.org/confluence/display/CLOUDSTACK/Release+test+proced
>ure
>
>and
>
>https://cwiki.apache.org/confluence/display/CLOUDSTACK/DevCloud#DevCloud-S
>ettingup%28VirtualBox%29
>
>I donwloaded and imported to virtualbox devcloud2.ova image.
>
>I can ssh to it as root,
>
>after mvn -P developer -pl tools/devcloud -Ddeploysvr
>it is visible in hosts,
>
>I can see two templates in templates tab, but I cannot create new
>instance,
>because I see no template in create new instance flow.
>
>after jetty start at end of logs I can see:
>
>INFO  [utils.component.ComponentContext] (Timer-2:) Starting
>com.cloud.baremetal.networkservice.BaremetalPxeElement_EnhancerByCloudStac
>k_5e4410f
>INFO  [utils.component.ComponentContext] (Timer-2:) Starting
>com.cloud.server.ManagementServerImpl_EnhancerByCloudStack_6e54ed66
>INFO  [cloud.server.ManagementServerImpl] (Timer-2:) Startup CloudStack
>management server...
>INFO  [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:) We are
>good, no orphan management server msid in host table is found
>INFO  [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:) No
>inactive
>management server node found
>WARN  [apache.cloudstack.alerts] (Cluster-Notification-1:)  alertType:: 14
>// dataCenterId:: 0 // podId:: 0 // clusterId:: null // message::
>Management server node 127.0.0.1 is up
>WARN  [cloud.cluster.ClusterManagerImpl] (Cluster-Notification-1:)
>Notifying management server join event took 35 ms
>INFO  [xen.resource.CitrixResourceBase] (AgentTaskPool-1:) Private Network
>is Pool-wide network associated with eth0 for host 192.168.56.10
>INFO  [xen.resource.CitrixResourceBase] (AgentTaskPool-1:) Guest Network
>is
>Pool-wide network associated with eth0 for host 192.168.56.10
>INFO  [xen.resource.CitrixResourceBase] (AgentTaskPool-1:) Public Network
>is Pool-wide network associated with eth0 for host 192.168.56.10
>INFO  [xen.discoverer.XcpServerDiscoverer] (AgentTaskPool-1:) Host:
>devcloud connected with hypervisor type: XenServer. Checking CIDR...
>INFO  [agent.manager.DirectAgentAttache] (AgentTaskPool-1:) StartupAnswer
>received 1 Interval = 60
>INFO  [xen.resource.CitrixResourceBase] (DirectAgent-1:) Host
>192.168.56.10
>OpaqueRef:0d19f3fa-7f04-543a-d906-aaf478fc574c: Host 192.168.56.10 is
>already setup.
>INFO  [network.security.SecurityGroupListener] (AgentTaskPool-1:) Received
>a host startup notification
>INFO  [network.security.SecurityGroupListener] (AgentTaskPool-1:)
>Scheduled
>network rules cleanup, interval=2406
>INFO  [network.security.SecurityGroupListener] (AgentTaskPool-1:) Received
>a host startup notification
>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  [apache.cloudstack.alerts] (CapacityChecker:)  alertType:: 5 //
>dataCenterId:: 1 // podId:: 1 // clusterId:: null // message:: System
>Alert: Number of unallocated private IPs is low in pod test00 of
>availability zone DevCloud0
>
>
>BR
>Jakub