答复: hyper-v VR does not have management network

2014-12-19 Thread 穆凯辉
There is no failure in agent and mgmt. logs.

We checked the cpvm,ssvm and VR vm creation parameters, and found that:

Cpvm with devcieID 0 nic:
{deviceId:0,networkRateMbps:-1,defaultNic:false,uuid:25d5daa8-7ee0-
494c-93c9-05d2125778e6,ip:169.254.3.155,netmask:255.255.0.0,gatewa
y:169.254.0.1,mac:0e:00:a9:fe:03:9b,broadcastType:LinkLocal,type
:Control,isSecurityGroupEnabled:false}

Ssvm with device ID 0 nic:
{deviceId:0,networkRateMbps:-1,defaultNic:false,uuid:25d5daa8-7ee0-
494c-93c9-05d2125778e6,ip:169.254.3.155,netmask:255.255.0.0,gatewa
y:169.254.0.1,mac:0e:00:a9:fe:03:9b,broadcastType:LinkLocal,type
:Control,isSecurityGroupEnabled:false}

VR with device ID 1 nic:
{deviceId:1,networkRateMbps:-1,defaultNic:false,uuid:25d5daa8-7ee0-
494c-93c9-05d2125778e6,ip:192.168.10.117,netmask:255.255.255.0,gat
eway:192.168.10.254,mac:02:00:72:a9:00:01,broadcastType:Native,t
ype:Control,isSecurityGroupEnabled:false}

The broadcastType of VR is Native, but the broadcastType of the other two
is  LinkLocal.

Is this the problem?

-邮件原件-
发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com] 
发送时间: 2014年12月19日 12:22
收件人: dev@cloudstack.apache.org
主题: RE: hyper-v VR does not have management network

It works completely different for VMWare and HyperV.
Currently on which virtual switch the control nic of hyperv is present?
Is there any failure while creating VR on hyper-V?
Share the agent and mgmt. logs at the time of failure.

Thanks
Rajesh Battala

-Original Message-
From: 穆凯辉 [mailto:k...@landhightech.com] 
Sent: Friday, December 19, 2014 9:21 AM
To: dev@cloudstack.apache.org
Subject: 答复: hyper-v VR does not have management network

Hyper-v nics without name parameter:
{deviceId:1,networkRateMbps:
-1,defaultNic:false,uuid:dbc356b5-79ca-4f83-9df9-038f89290c89,ip:19
2.168.10.110,netmask:255.255.255.0,gateway:192.168.10.254,mac:02
:00:40:6f:00:06,broadcastType:Native,type:Control,isSecurityGroupE
nabled:false}


VMware exsi nics with name parameter vSwitch0.

{deviceId:1,networkRateMbps:-1,d
efaultNic:false,uuid:f1ea1c22-e4fa-4a25-9e75-221920982c76,ip:192.168
.10.150,netmask:255.255.255.0,gateway:192.168.10.254,mac:02:00:5
d:40:00:07,broadcastType:Native,type:Control,isSecurityGroupEnable
d:false,name:vSwitch0}


We have management virtual switch in Hyper-v host for the management and
storage network traffic.


Thank you very much


-邮件原件-
发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
发送时间: 2014年12月19日 11:37
收件人: dev@cloudstack.apache.org
主题: RE: hyper-v VR does not have management network

When I checked in the pasted log,
In the nic json details all the nics have names .
Name value is present in each nic details. All the nics have either public
or guest names.

Thanks
Rajesh Battala

-Original Message-
From: 穆凯辉 [mailto:k...@landhightech.com]
Sent: Friday, December 19, 2014 6:11 AM
To: dev@cloudstack.apache.org
Subject: 答复: hyper-v VR does not have management network

We also check the cloud agent status in VR vm, the process of which also
exists in VR.


-邮件原件-
发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
发送时间: 2014年12月18日 22:17
收件人: dev@cloudstack.apache.org
主题: RE: hyper-v VR does not have management network

Are you using traffic lables?
Hyperv will work only in dedicated zone only , you cannot replace esx host
with hyperv host and make the zone to work. 

There are no issues with VR to run on Hyperv. It works well.
If you are using traffic lables, make sure the traffic lable matches to
vswitch name on the hyperv host. If there is not matching vswitch name it
can fail creating the VM.

Thanks
Rajesh Battala


-Original Message-
From: 穆凯辉 [mailto:k...@landhightech.com]
Sent: Thursday, December 18, 2014 3:38 PM
To: dev@cloudstack.apache.org
Subject: hyper-v VR does not have management network

Hi,

 

We use hyper-v as the hypervisor for cloudstack 4.4.1. The ssvm and cpvm
start successfully.

But the VR vm can not connect to the cloudstack management. We found that
the VR vm used guest virtual switch for the first and second network, and
public virtual switch for the third network, and several network without
virtual switch. So we checked the log in cloudstack management, and found
the parameters to create the CR vm, shown as follows:

 

2014-12-18 16:48:21,045 DEBUG [c.c.h.h.r.HypervDirectConnectResource]
(DirectAgent-152:ctx-17dca502) POST response is
[{com.cloud.agent.api.StartAnswer:{result:true,details:null,vm:{id
:27,name:r-27-VM,type:DomainRouter,cpus:1,minSpeed:500,maxSpeed
:500,minRam:134217728,maxRam:134217728,arch:x86_64,os:Debian
GNU/Linux 5.0 (64-bit),bootArgs: template=domP name=r-27-VM
eth2ip=192.168.20.154 eth2mask=255.255.255.0 gateway=192.168.20.254
eth0ip=10.1.1.1 eth0mask=255.255.255.0 domain=cs2cloud.internal cidrsize=24
dhcprange=10.1.1.1 eth1ip=192.168.10.110 eth1mask=255.255.255.0
mgmtcidr=192.168.20.0/24 localgw=192.168.10.254 type=router
disable_rp_filter=true extra_pubnics=2 dns1=61.177.7.1 dns2=192.168.10.3

答复: hyper-v VR does not have management network

2014-12-19 Thread 穆凯辉
Sorry, SSVM with this parameter:

{deviceId:0,networkRateMbps:-1,defaultNic:false,uuid:25d5daa8-7ee0-
494c-93c9-05d2125778e6,ip:169.254.2.132,netmask:255.255.0.0,gatewa
y:169.254.0.1,mac:0e:00:a9:fe:02:84,broadcastType:LinkLocal,type
:Control,isSecurityGroupEnabled:false}


-邮件原件-
发件人: 穆凯辉 [mailto:k...@landhightech.com] 
发送时间: 2014年12月19日 16:40
收件人: 'dev@cloudstack.apache.org'
主题: 答复: hyper-v VR does not have management network

There is no failure in agent and mgmt. logs.

We checked the cpvm,ssvm and VR vm creation parameters, and found that:

Cpvm with devcieID 0 nic:
{deviceId:0,networkRateMbps:-1,defaultNic:false,uuid:25d5daa8-7ee0-
494c-93c9-05d2125778e6,ip:169.254.3.155,netmask:255.255.0.0,gatewa
y:169.254.0.1,mac:0e:00:a9:fe:03:9b,broadcastType:LinkLocal,type
:Control,isSecurityGroupEnabled:false}

Ssvm with device ID 0 nic:
{deviceId:0,networkRateMbps:-1,defaultNic:false,uuid:25d5daa8-7ee0-
494c-93c9-05d2125778e6,ip:169.254.3.155,netmask:255.255.0.0,gatewa
y:169.254.0.1,mac:0e:00:a9:fe:03:9b,broadcastType:LinkLocal,type
:Control,isSecurityGroupEnabled:false}

VR with device ID 1 nic:
{deviceId:1,networkRateMbps:-1,defaultNic:false,uuid:25d5daa8-7ee0-
494c-93c9-05d2125778e6,ip:192.168.10.117,netmask:255.255.255.0,gat
eway:192.168.10.254,mac:02:00:72:a9:00:01,broadcastType:Native,t
ype:Control,isSecurityGroupEnabled:false}

The broadcastType of VR is Native, but the broadcastType of the other two
is  LinkLocal.

Is this the problem?

-邮件原件-
发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com] 
发送时间: 2014年12月19日 12:22
收件人: dev@cloudstack.apache.org
主题: RE: hyper-v VR does not have management network

It works completely different for VMWare and HyperV.
Currently on which virtual switch the control nic of hyperv is present?
Is there any failure while creating VR on hyper-V?
Share the agent and mgmt. logs at the time of failure.

Thanks
Rajesh Battala

-Original Message-
From: 穆凯辉 [mailto:k...@landhightech.com] 
Sent: Friday, December 19, 2014 9:21 AM
To: dev@cloudstack.apache.org
Subject: 答复: hyper-v VR does not have management network

Hyper-v nics without name parameter:
{deviceId:1,networkRateMbps:
-1,defaultNic:false,uuid:dbc356b5-79ca-4f83-9df9-038f89290c89,ip:19
2.168.10.110,netmask:255.255.255.0,gateway:192.168.10.254,mac:02
:00:40:6f:00:06,broadcastType:Native,type:Control,isSecurityGroupE
nabled:false}


VMware exsi nics with name parameter vSwitch0.

{deviceId:1,networkRateMbps:-1,d
efaultNic:false,uuid:f1ea1c22-e4fa-4a25-9e75-221920982c76,ip:192.168
.10.150,netmask:255.255.255.0,gateway:192.168.10.254,mac:02:00:5
d:40:00:07,broadcastType:Native,type:Control,isSecurityGroupEnable
d:false,name:vSwitch0}


We have management virtual switch in Hyper-v host for the management and
storage network traffic.


Thank you very much


-邮件原件-
发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
发送时间: 2014年12月19日 11:37
收件人: dev@cloudstack.apache.org
主题: RE: hyper-v VR does not have management network

When I checked in the pasted log,
In the nic json details all the nics have names .
Name value is present in each nic details. All the nics have either public
or guest names.

Thanks
Rajesh Battala

-Original Message-
From: 穆凯辉 [mailto:k...@landhightech.com]
Sent: Friday, December 19, 2014 6:11 AM
To: dev@cloudstack.apache.org
Subject: 答复: hyper-v VR does not have management network

We also check the cloud agent status in VR vm, the process of which also
exists in VR.


-邮件原件-
发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
发送时间: 2014年12月18日 22:17
收件人: dev@cloudstack.apache.org
主题: RE: hyper-v VR does not have management network

Are you using traffic lables?
Hyperv will work only in dedicated zone only , you cannot replace esx host
with hyperv host and make the zone to work. 

There are no issues with VR to run on Hyperv. It works well.
If you are using traffic lables, make sure the traffic lable matches to
vswitch name on the hyperv host. If there is not matching vswitch name it
can fail creating the VM.

Thanks
Rajesh Battala


-Original Message-
From: 穆凯辉 [mailto:k...@landhightech.com]
Sent: Thursday, December 18, 2014 3:38 PM
To: dev@cloudstack.apache.org
Subject: hyper-v VR does not have management network

Hi,

 

We use hyper-v as the hypervisor for cloudstack 4.4.1. The ssvm and cpvm
start successfully.

But the VR vm can not connect to the cloudstack management. We found that
the VR vm used guest virtual switch for the first and second network, and
public virtual switch for the third network, and several network without
virtual switch. So we checked the log in cloudstack management, and found
the parameters to create the CR vm, shown as follows:

 

2014-12-18 16:48:21,045 DEBUG [c.c.h.h.r.HypervDirectConnectResource]
(DirectAgent-152:ctx-17dca502) POST response is
[{com.cloud.agent.api.StartAnswer:{result:true,details:null,vm:{id
:27,name:r-27-VM,type:DomainRouter,cpus:1,minSpeed:500,maxSpeed

RE: hyper-v VR does not have management network

2014-12-19 Thread Rajesh Battala
For Hyper-V linkLocal network is never used and configured. 


-Original Message-
From: 穆凯辉 [mailto:k...@landhightech.com] 
Sent: Friday, December 19, 2014 2:14 PM
To: dev@cloudstack.apache.org
Subject: 答复: hyper-v VR does not have management network

Sorry, SSVM with this parameter:

{deviceId:0,networkRateMbps:-1,defaultNic:false,uuid:25d5daa8-7ee0-
494c-93c9-05d2125778e6,ip:169.254.2.132,netmask:255.255.0.0,gatewa
y:169.254.0.1,mac:0e:00:a9:fe:02:84,broadcastType:LinkLocal,type
:Control,isSecurityGroupEnabled:false}


-邮件原件-
发件人: 穆凯辉 [mailto:k...@landhightech.com]
发送时间: 2014年12月19日 16:40
收件人: 'dev@cloudstack.apache.org'
主题: 答复: hyper-v VR does not have management network

There is no failure in agent and mgmt. logs.

We checked the cpvm,ssvm and VR vm creation parameters, and found that:

Cpvm with devcieID 0 nic:
{deviceId:0,networkRateMbps:-1,defaultNic:false,uuid:25d5daa8-7ee0-
494c-93c9-05d2125778e6,ip:169.254.3.155,netmask:255.255.0.0,gatewa
y:169.254.0.1,mac:0e:00:a9:fe:03:9b,broadcastType:LinkLocal,type
:Control,isSecurityGroupEnabled:false}

Ssvm with device ID 0 nic:
{deviceId:0,networkRateMbps:-1,defaultNic:false,uuid:25d5daa8-7ee0-
494c-93c9-05d2125778e6,ip:169.254.3.155,netmask:255.255.0.0,gatewa
y:169.254.0.1,mac:0e:00:a9:fe:03:9b,broadcastType:LinkLocal,type
:Control,isSecurityGroupEnabled:false}

VR with device ID 1 nic:
{deviceId:1,networkRateMbps:-1,defaultNic:false,uuid:25d5daa8-7ee0-
494c-93c9-05d2125778e6,ip:192.168.10.117,netmask:255.255.255.0,gat
eway:192.168.10.254,mac:02:00:72:a9:00:01,broadcastType:Native,t
ype:Control,isSecurityGroupEnabled:false}

The broadcastType of VR is Native, but the broadcastType of the other two is  
LinkLocal.

Is this the problem?

-邮件原件-
发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
发送时间: 2014年12月19日 12:22
收件人: dev@cloudstack.apache.org
主题: RE: hyper-v VR does not have management network

It works completely different for VMWare and HyperV.
Currently on which virtual switch the control nic of hyperv is present?
Is there any failure while creating VR on hyper-V?
Share the agent and mgmt. logs at the time of failure.

Thanks
Rajesh Battala

-Original Message-
From: 穆凯辉 [mailto:k...@landhightech.com]
Sent: Friday, December 19, 2014 9:21 AM
To: dev@cloudstack.apache.org
Subject: 答复: hyper-v VR does not have management network

Hyper-v nics without name parameter:
{deviceId:1,networkRateMbps:
-1,defaultNic:false,uuid:dbc356b5-79ca-4f83-9df9-038f89290c89,ip:19
2.168.10.110,netmask:255.255.255.0,gateway:192.168.10.254,mac:02
:00:40:6f:00:06,broadcastType:Native,type:Control,isSecurityGroupE
nabled:false}


VMware exsi nics with name parameter vSwitch0.

{deviceId:1,networkRateMbps:-1,d
efaultNic:false,uuid:f1ea1c22-e4fa-4a25-9e75-221920982c76,ip:192.168
.10.150,netmask:255.255.255.0,gateway:192.168.10.254,mac:02:00:5
d:40:00:07,broadcastType:Native,type:Control,isSecurityGroupEnable
d:false,name:vSwitch0}


We have management virtual switch in Hyper-v host for the management and 
storage network traffic.


Thank you very much


-邮件原件-
发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
发送时间: 2014年12月19日 11:37
收件人: dev@cloudstack.apache.org
主题: RE: hyper-v VR does not have management network

When I checked in the pasted log,
In the nic json details all the nics have names .
Name value is present in each nic details. All the nics have either public
or guest names.

Thanks
Rajesh Battala

-Original Message-
From: 穆凯辉 [mailto:k...@landhightech.com]
Sent: Friday, December 19, 2014 6:11 AM
To: dev@cloudstack.apache.org
Subject: 答复: hyper-v VR does not have management network

We also check the cloud agent status in VR vm, the process of which also exists 
in VR.


-邮件原件-
发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
发送时间: 2014年12月18日 22:17
收件人: dev@cloudstack.apache.org
主题: RE: hyper-v VR does not have management network

Are you using traffic lables?
Hyperv will work only in dedicated zone only , you cannot replace esx host with 
hyperv host and make the zone to work. 

There are no issues with VR to run on Hyperv. It works well.
If you are using traffic lables, make sure the traffic lable matches to vswitch 
name on the hyperv host. If there is not matching vswitch name it can fail 
creating the VM.

Thanks
Rajesh Battala


-Original Message-
From: 穆凯辉 [mailto:k...@landhightech.com]
Sent: Thursday, December 18, 2014 3:38 PM
To: dev@cloudstack.apache.org
Subject: hyper-v VR does not have management network

Hi,

 

We use hyper-v as the hypervisor for cloudstack 4.4.1. The ssvm and cpvm start 
successfully.

But the VR vm can not connect to the cloudstack management. We found that the 
VR vm used guest virtual switch for the first and second network, and public 
virtual switch for the third network, and several network without virtual 
switch. So we checked the log in cloudstack management, and found the 
parameters to create the CR vm, shown as follows:

 

2014-12-18 

[GitHub] cloudstack pull request: Adding Dockerfile and instructions

2014-12-19 Thread runseb
GitHub user runseb opened a pull request:

https://github.com/apache/cloudstack/pull/61

Adding Dockerfile and instructions

This adds a Dockerfile that builds an image to compile cloudstack from 
source.
The container is based on ubuntu 14.04
The simulator is used
Mysql is package in the container and runs with jetty via supervisor

The build can take a long time as it downloads all packages, once cached it 
is much faster.

The Dockerfile can be optimized to reduce the image size, once done I will 
upload to Docker hub.

This can also make its way onto 4.4, 4.5 and master branch but the Marvin 
package version will need to be checked.

Instructions are added in the README

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/runseb/cloudstack 4.3

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cloudstack/pull/61.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 #61


commit f6c7055f1047a5b47252d1b2eb42479ce1fd7cf6
Author: Sebastien Goasguen run...@gmail.com
Date:   2014-12-19T08:45:54Z

Adding Dockerfile and instructions




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: Adding Dockerfile and instructions

2014-12-19 Thread runseb
Github user runseb commented on the pull request:

https://github.com/apache/cloudstack/pull/61#issuecomment-67613351
  
If you try this on a Ubuntu docker host, you will need to get the latest 
version of Docker. the package defaults to 1.0.1 version which does not have 
the docker exec command.

sudo curl -sSL https://get.docker.com/ubuntu/ | sudo sh

On CentOS you should be fine with a yum install docker-ii


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


RE: hyper-v VR does not have management network

2014-12-19 Thread Anshul Gangwar
Please attach Hyper-V agent logs even if you are not seeing any error in them.

-Original Message-
From: 穆凯辉 [mailto:k...@landhightech.com] 
Sent: Friday, December 19, 2014 2:44 PM
To: dev@cloudstack.apache.org
Subject: 答复: hyper-v VR does not have management network

Do you mean our configuration about cloudstack has something wrong? This 
network linkLocal exists in our cloudstack networks table in DB, which has 
traffic_type Control, broadcast_domain_type LinkLocal, gateway 169.254.
0.0/16

How can we make the right configuration?



-邮件原件-
发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
发送时间: 2014年12月19日 16:54
收件人: dev@cloudstack.apache.org
主题: RE: hyper-v VR does not have management network

For Hyper-V linkLocal network is never used and configured. 


-Original Message-
From: 穆凯辉 [mailto:k...@landhightech.com]
Sent: Friday, December 19, 2014 2:14 PM
To: dev@cloudstack.apache.org
Subject: 答复: hyper-v VR does not have management network

Sorry, SSVM with this parameter:

{deviceId:0,networkRateMbps:-1,defaultNic:false,uuid:25d5daa8-7ee0-
494c-93c9-05d2125778e6,ip:169.254.2.132,netmask:255.255.0.0,gatewa
y:169.254.0.1,mac:0e:00:a9:fe:02:84,broadcastType:LinkLocal,type
:Control,isSecurityGroupEnabled:false}


-邮件原件-
发件人: 穆凯辉 [mailto:k...@landhightech.com]
发送时间: 2014年12月19日 16:40
收件人: 'dev@cloudstack.apache.org'
主题: 答复: hyper-v VR does not have management network

There is no failure in agent and mgmt. logs.

We checked the cpvm,ssvm and VR vm creation parameters, and found that:

Cpvm with devcieID 0 nic:
{deviceId:0,networkRateMbps:-1,defaultNic:false,uuid:25d5daa8-7ee0-
494c-93c9-05d2125778e6,ip:169.254.3.155,netmask:255.255.0.0,gatewa
y:169.254.0.1,mac:0e:00:a9:fe:03:9b,broadcastType:LinkLocal,type
:Control,isSecurityGroupEnabled:false}

Ssvm with device ID 0 nic:
{deviceId:0,networkRateMbps:-1,defaultNic:false,uuid:25d5daa8-7ee0-
494c-93c9-05d2125778e6,ip:169.254.3.155,netmask:255.255.0.0,gatewa
y:169.254.0.1,mac:0e:00:a9:fe:03:9b,broadcastType:LinkLocal,type
:Control,isSecurityGroupEnabled:false}

VR with device ID 1 nic:
{deviceId:1,networkRateMbps:-1,defaultNic:false,uuid:25d5daa8-7ee0-
494c-93c9-05d2125778e6,ip:192.168.10.117,netmask:255.255.255.0,gat
eway:192.168.10.254,mac:02:00:72:a9:00:01,broadcastType:Native,t
ype:Control,isSecurityGroupEnabled:false}

The broadcastType of VR is Native, but the broadcastType of the other two is  
LinkLocal.

Is this the problem?

-邮件原件-
发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
发送时间: 2014年12月19日 12:22
收件人: dev@cloudstack.apache.org
主题: RE: hyper-v VR does not have management network

It works completely different for VMWare and HyperV.
Currently on which virtual switch the control nic of hyperv is present?
Is there any failure while creating VR on hyper-V?
Share the agent and mgmt. logs at the time of failure.

Thanks
Rajesh Battala

-Original Message-
From: 穆凯辉 [mailto:k...@landhightech.com]
Sent: Friday, December 19, 2014 9:21 AM
To: dev@cloudstack.apache.org
Subject: 答复: hyper-v VR does not have management network

Hyper-v nics without name parameter:
{deviceId:1,networkRateMbps:
-1,defaultNic:false,uuid:dbc356b5-79ca-4f83-9df9-038f89290c89,ip:19
2.168.10.110,netmask:255.255.255.0,gateway:192.168.10.254,mac:02
:00:40:6f:00:06,broadcastType:Native,type:Control,isSecurityGroupE
nabled:false}


VMware exsi nics with name parameter vSwitch0.

{deviceId:1,networkRateMbps:-1,d
efaultNic:false,uuid:f1ea1c22-e4fa-4a25-9e75-221920982c76,ip:192.168
.10.150,netmask:255.255.255.0,gateway:192.168.10.254,mac:02:00:5
d:40:00:07,broadcastType:Native,type:Control,isSecurityGroupEnable
d:false,name:vSwitch0}


We have management virtual switch in Hyper-v host for the management and 
storage network traffic.


Thank you very much


-邮件原件-
发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
发送时间: 2014年12月19日 11:37
收件人: dev@cloudstack.apache.org
主题: RE: hyper-v VR does not have management network

When I checked in the pasted log,
In the nic json details all the nics have names .
Name value is present in each nic details. All the nics have either public
or guest names.

Thanks
Rajesh Battala

-Original Message-
From: 穆凯辉 [mailto:k...@landhightech.com]
Sent: Friday, December 19, 2014 6:11 AM
To: dev@cloudstack.apache.org
Subject: 答复: hyper-v VR does not have management network

We also check the cloud agent status in VR vm, the process of which also exists 
in VR.


-邮件原件-
发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
发送时间: 2014年12月18日 22:17
收件人: dev@cloudstack.apache.org
主题: RE: hyper-v VR does not have management network

Are you using traffic lables?
Hyperv will work only in dedicated zone only , you cannot replace esx host with 
hyperv host and make the zone to work. 

There are no issues with VR to run on Hyperv. It works well.
If you are using traffic lables, make sure the traffic lable matches to vswitch 
name on the hyperv host. If there is not matching vswitch 

RE: hyper-v VR does not have management network

2014-12-19 Thread Rajesh Battala
Network configuration in DB is correct. 
What I mean to convey is, even linklocal network is present hyperv won't use 
that linklocal network .

Can you please let us know what is that actual problem you are facing when 
deploying the VR in Hyper-V setup. 
So that we can help you looking at the logs and solve the issue.

Thanks
Rajesh Battala

-Original Message-
From: 穆凯辉 [mailto:k...@landhightech.com] 
Sent: Friday, December 19, 2014 2:44 PM
To: dev@cloudstack.apache.org
Subject: 答复: hyper-v VR does not have management network

Do you mean our configuration about cloudstack has something wrong? This 
network linkLocal exists in our cloudstack networks table in DB, which has 
traffic_type Control, broadcast_domain_type LinkLocal, gateway 169.254.
0.0/16

How can we make the right configuration?



-邮件原件-
发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
发送时间: 2014年12月19日 16:54
收件人: dev@cloudstack.apache.org
主题: RE: hyper-v VR does not have management network

For Hyper-V linkLocal network is never used and configured. 


-Original Message-
From: 穆凯辉 [mailto:k...@landhightech.com]
Sent: Friday, December 19, 2014 2:14 PM
To: dev@cloudstack.apache.org
Subject: 答复: hyper-v VR does not have management network

Sorry, SSVM with this parameter:

{deviceId:0,networkRateMbps:-1,defaultNic:false,uuid:25d5daa8-7ee0-
494c-93c9-05d2125778e6,ip:169.254.2.132,netmask:255.255.0.0,gatewa
y:169.254.0.1,mac:0e:00:a9:fe:02:84,broadcastType:LinkLocal,type
:Control,isSecurityGroupEnabled:false}


-邮件原件-
发件人: 穆凯辉 [mailto:k...@landhightech.com]
发送时间: 2014年12月19日 16:40
收件人: 'dev@cloudstack.apache.org'
主题: 答复: hyper-v VR does not have management network

There is no failure in agent and mgmt. logs.

We checked the cpvm,ssvm and VR vm creation parameters, and found that:

Cpvm with devcieID 0 nic:
{deviceId:0,networkRateMbps:-1,defaultNic:false,uuid:25d5daa8-7ee0-
494c-93c9-05d2125778e6,ip:169.254.3.155,netmask:255.255.0.0,gatewa
y:169.254.0.1,mac:0e:00:a9:fe:03:9b,broadcastType:LinkLocal,type
:Control,isSecurityGroupEnabled:false}

Ssvm with device ID 0 nic:
{deviceId:0,networkRateMbps:-1,defaultNic:false,uuid:25d5daa8-7ee0-
494c-93c9-05d2125778e6,ip:169.254.3.155,netmask:255.255.0.0,gatewa
y:169.254.0.1,mac:0e:00:a9:fe:03:9b,broadcastType:LinkLocal,type
:Control,isSecurityGroupEnabled:false}

VR with device ID 1 nic:
{deviceId:1,networkRateMbps:-1,defaultNic:false,uuid:25d5daa8-7ee0-
494c-93c9-05d2125778e6,ip:192.168.10.117,netmask:255.255.255.0,gat
eway:192.168.10.254,mac:02:00:72:a9:00:01,broadcastType:Native,t
ype:Control,isSecurityGroupEnabled:false}

The broadcastType of VR is Native, but the broadcastType of the other two is  
LinkLocal.

Is this the problem?

-邮件原件-
发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
发送时间: 2014年12月19日 12:22
收件人: dev@cloudstack.apache.org
主题: RE: hyper-v VR does not have management network

It works completely different for VMWare and HyperV.
Currently on which virtual switch the control nic of hyperv is present?
Is there any failure while creating VR on hyper-V?
Share the agent and mgmt. logs at the time of failure.

Thanks
Rajesh Battala

-Original Message-
From: 穆凯辉 [mailto:k...@landhightech.com]
Sent: Friday, December 19, 2014 9:21 AM
To: dev@cloudstack.apache.org
Subject: 答复: hyper-v VR does not have management network

Hyper-v nics without name parameter:
{deviceId:1,networkRateMbps:
-1,defaultNic:false,uuid:dbc356b5-79ca-4f83-9df9-038f89290c89,ip:19
2.168.10.110,netmask:255.255.255.0,gateway:192.168.10.254,mac:02
:00:40:6f:00:06,broadcastType:Native,type:Control,isSecurityGroupE
nabled:false}


VMware exsi nics with name parameter vSwitch0.

{deviceId:1,networkRateMbps:-1,d
efaultNic:false,uuid:f1ea1c22-e4fa-4a25-9e75-221920982c76,ip:192.168
.10.150,netmask:255.255.255.0,gateway:192.168.10.254,mac:02:00:5
d:40:00:07,broadcastType:Native,type:Control,isSecurityGroupEnable
d:false,name:vSwitch0}


We have management virtual switch in Hyper-v host for the management and 
storage network traffic.


Thank you very much


-邮件原件-
发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
发送时间: 2014年12月19日 11:37
收件人: dev@cloudstack.apache.org
主题: RE: hyper-v VR does not have management network

When I checked in the pasted log,
In the nic json details all the nics have names .
Name value is present in each nic details. All the nics have either public
or guest names.

Thanks
Rajesh Battala

-Original Message-
From: 穆凯辉 [mailto:k...@landhightech.com]
Sent: Friday, December 19, 2014 6:11 AM
To: dev@cloudstack.apache.org
Subject: 答复: hyper-v VR does not have management network

We also check the cloud agent status in VR vm, the process of which also exists 
in VR.


-邮件原件-
发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
发送时间: 2014年12月18日 22:17
收件人: dev@cloudstack.apache.org
主题: RE: hyper-v VR does not have management network

Are you using traffic lables?
Hyperv will work only in dedicated zone only , you cannot 

Christmas gifts

2014-12-19 Thread Sebastien Goasguen
It's christmas folks…

Let's all send a pull request to cloudstack :)

-seb

Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.1

2014-12-19 Thread Rohit Yadav

Hi,

We're past the voting window now. We'll wait indefinitely until we get
enough votes (as per bylaws for lazy consensus, at least 3 +1s) from our
PMC to pass this release.

Please test it before voting so as to avoid a bad release. Thanks.

On Thursday 18 December 2014 02:30 PM, Rohit Yadav wrote:

+1

- Manual QA against two different public CloudStack providers and
private deployment
- Testing by deploying a basic zone using bash script
(https://gist.github.com/bhaisaab/6b120bca5cbb4a2db732)
- Manual QA to test filtering against various display formats

On Monday 15 December 2014 11:40 AM, Rohit Yadav wrote:

Hi All,

I've created a 5.3.1 release of CloudMonkey, with the following artifacts
up for a vote:

Git Branch and Commit SHA:
https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=shortlog;h=refs/heads/master

Commit: 387f0338f9715f2337a9e10c92d1c76fa5d2a381

List of changes:
https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=blob_plain;f=CHANGES.md


Source release (checksums and signatures are available at the same
location):
https://dist.apache.org/repos/dist/dev/cloudstack/cloudmonkey-5.3.1/

PGP release keys (signed using key ID 0EE3D884):
https://dist.apache.org/repos/dist/release/cloudstack/KEYS

Vote will be open for 72 hours.

For sanity in tallying the vote, can PMC members please be sure to
indicate
(binding) with their vote?

[ ] +1 approve
[ ] +0 no opinion
[ ] -1 disapprove (and reason why)

Regards.



--
Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 8826230892 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab
PS. If you see any footer below, I did not add it :)
Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design 
Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Software
Engineeringhttp://shapeblue.com/cloudstack-software-engineering/
CloudStack Infrastructure
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training
Courseshttp://shapeblue.com/cloudstack-training/

This email and any attachments to it may be confidential and are
intended solely for the use of the individual to whom it is addressed.
Any views or opinions expressed are solely those of the author and do
not necessarily represent those of Shape Blue Ltd or related companies.
If you are not the intended recipient of this email, you must neither
take any action based upon its contents, nor copy or show it to anyone.
Please contact the sender if you believe you have received this email in
error. Shape Blue Ltd is a company incorporated in England  Wales.
ShapeBlue Services India LLP is a company incorporated in India and is
operated under license from Shape Blue Ltd. Shape Blue Brasil
Consultoria Ltda is a company incorporated in Brasil and is operated
under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company
registered by The Republic of South Africa and is traded under license
from Shape Blue Ltd. ShapeBlue is a registered trademark.


--
Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 8826230892 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab
PS. If you see any footer below, I did not add it :)
Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Software 
Engineeringhttp://shapeblue.com/cloudstack-software-engineering/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

This email and any attachments to it may be confidential and are intended solely 
for the use of the individual to whom it is addressed. Any views or opinions 
expressed are solely those of the author and do not necessarily represent those of 
Shape Blue Ltd or related companies. If you are not the intended recipient of this 
email, you must neither take any action based upon its contents, nor copy or show 
it to anyone. Please contact the sender if you believe you have received this email 
in error. Shape Blue Ltd is a company incorporated in England  Wales. 
ShapeBlue Services India LLP is a company incorporated in India and is operated 
under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company 
incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue 
SA Pty Ltd is a company registered by The Republic of South Africa and is traded 
under license from Shape Blue Ltd. ShapeBlue is a registered trademark.


Review Request 29242: CLOUDSTACK-8096: Fixed test_ssvm.py for issues while checking the result of diagnostic scripts

2014-12-19 Thread Gaurav Aradhye

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/29242/
---

Review request for cloudstack and SrikanteswaraRao Talluri.


Bugs: CLOUDSTACK-8096
https://issues.apache.org/jira/browse/CLOUDSTACK-8096


Repository: cloudstack-git


Description
---

After reboot SSVM and CPVM operation, if we run diagnostic script on SSVM, it 
fails with NFS server is not currently mounted. Also if we run command 
service cloud status, it says Cloudstack cloud service is not running.

But if we check after some time, everything is fine. Some delay in test cases 
is needed to allow the SSVM and CPVM to start all services.

Added the delay as part of configurableData section so that it can be changed 
whenever required using external script without touching the test case.

Also fixed import issues and pep8 issues.


Diffs
-

  test/integration/smoke/test_ssvm.py 5713569 
  tools/marvin/marvin/config/test_data.py 4ab7e56 

Diff: https://reviews.apache.org/r/29242/diff/


Testing
---

Test List secondary storage VMs ... === TestName: test_01_list_sec_storage_vm | 
Status : SUCCESS ===
ok
Test List console proxy VMs ... === TestName: test_02_list_cpvm_vm | Status : 
SUCCESS ===
ok
Test SSVM Internals ... === TestName: test_03_ssvm_internals | Status : SUCCESS 
===
ok
Test CPVM Internals ... === TestName: test_04_cpvm_internals | Status : SUCCESS 
===
ok
Test stop SSVM ... === TestName: test_05_stop_ssvm | Status : SUCCESS ===
ok
Test stop CPVM ... === TestName: test_06_stop_cpvm | Status : SUCCESS ===
ok
Test reboot SSVM ... === TestName: test_07_reboot_ssvm | Status : SUCCESS ===
ok
Test reboot CPVM ... === TestName: test_08_reboot_cpvm | Status : SUCCESS ===
ok
Test destroy SSVM ... === TestName: test_09_destroy_ssvm | Status : SUCCESS ===
ok
Test destroy CPVM ... === TestName: test_10_destroy_cpvm | Status : SUCCESS ===
ok

--
Ran 10 tests in 1555.479s

OK


Thanks,

Gaurav Aradhye



RE: [VOTE] Release Apache CloudStack CloudMonkey 5.3.1

2014-12-19 Thread Suresh Sadhu
Rohit,

I am seeing below exception after enabling zone,system vms fail to start .even 
after copying the vhd-util on host ,i still see  this below exception.
is there any specific reason for this below failure?

  at java.lang.Thread.run(Thread.java:745)
INFO  [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-90824cd9) releasing 
lock for VMTemplateStoragePool 96
WARN  [c.c.u.d.Merovingian2] (consoleproxy-1:ctx-90824cd9) Was unable to find 
lock for the key template_spool_ref96 and thread id 1326468965
INFO  [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-90824cd9) Unable to 
contact resource.
com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1] is 
unreachable: Unable to create Vol[42|vm=42|ROOT]:Catch Exception 
com.cloud.utils.exception.CloudRuntimeException for template +  due to 
com.cloud.utils.exception.CloudRuntimeException: failed to dd 
/var/run/cloud_mount/0ec57654-6b1c-4274-b07c-91f2a1eb3a1f//b051e4dc-1f05-49f8-8f61-4d6589005108.vhd
 to 
/var/run/sr-mount/4af66230-c143-a4d9-ce9b-63b9e64602d0/7e78e277-38e2-4a56-bbdd-66d124f2cd31.vhd
at 
org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1204)
at 
org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1256)
at 
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:963)
at 
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:761)
at 
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:745)
at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:555)
at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:941)
at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1666)
at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:157)
at 
com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:118)
at 
com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:35)
at 
com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:88)
at 
com.cloud.vm.SystemVmLoadScanner$1.runInContext(SystemVmLoadScanner.java:79)
at 
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at 
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
INFO  [c.c.h.x.r.CitrixResourceBase] (DirectAgent-11:ctx-49709bc5) VM does not 
exist on XenServer95d18ca7-b4d1-4135-9b27-42b9b62ae1f2
WARN  [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-90824cd9) Exception 
while trying to start console proxy
com.cloud.exception.InsufficientServerCapacityException: Unable to create a 
deployment for VM[ConsoleProxy|v-42-VM]Scope=interface com.cloud.dc.DataCenter; 
id=1
at 
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:922)
at 
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:761)
at 
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:745)
at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:555)
at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:941)
at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1666)
at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:157)
at 
com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:118)
at 
com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:35)
at 

Jenkins build is still unstable: simulator-singlerun #821

2014-12-19 Thread jenkins
See http://jenkins.buildacloud.org/job/simulator-singlerun/changes



答复: hyper-v VR does not have management network

2014-12-19 Thread 穆凯辉
The status of VR in Infrastructure In cloudstack is starting for a long
time, then Stopped.
When the status is starting, we log on the VR from hyper-v host, then we
find that it can not ping from management of cloudstack successfully. 
So we checked the networks of VR, and mailed to this list for help.

Thank you very much.


-邮件原件-
发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com] 
发送时间: 2014年12月19日 17:18
收件人: dev@cloudstack.apache.org
主题: RE: hyper-v VR does not have management network

Network configuration in DB is correct. 
What I mean to convey is, even linklocal network is present hyperv won't use
that linklocal network .

Can you please let us know what is that actual problem you are facing when
deploying the VR in Hyper-V setup. 
So that we can help you looking at the logs and solve the issue.

Thanks
Rajesh Battala

-Original Message-
From: 穆凯辉 [mailto:k...@landhightech.com] 
Sent: Friday, December 19, 2014 2:44 PM
To: dev@cloudstack.apache.org
Subject: 答复: hyper-v VR does not have management network

Do you mean our configuration about cloudstack has something wrong? This
network linkLocal exists in our cloudstack networks table in DB, which has
traffic_type Control, broadcast_domain_type LinkLocal, gateway 169.254.
0.0/16

How can we make the right configuration?



-邮件原件-
发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
发送时间: 2014年12月19日 16:54
收件人: dev@cloudstack.apache.org
主题: RE: hyper-v VR does not have management network

For Hyper-V linkLocal network is never used and configured. 


-Original Message-
From: 穆凯辉 [mailto:k...@landhightech.com]
Sent: Friday, December 19, 2014 2:14 PM
To: dev@cloudstack.apache.org
Subject: 答复: hyper-v VR does not have management network

Sorry, SSVM with this parameter:

{deviceId:0,networkRateMbps:-1,defaultNic:false,uuid:25d5daa8-7ee0-
494c-93c9-05d2125778e6,ip:169.254.2.132,netmask:255.255.0.0,gatewa
y:169.254.0.1,mac:0e:00:a9:fe:02:84,broadcastType:LinkLocal,type
:Control,isSecurityGroupEnabled:false}


-邮件原件-
发件人: 穆凯辉 [mailto:k...@landhightech.com]
发送时间: 2014年12月19日 16:40
收件人: 'dev@cloudstack.apache.org'
主题: 答复: hyper-v VR does not have management network

There is no failure in agent and mgmt. logs.

We checked the cpvm,ssvm and VR vm creation parameters, and found that:

Cpvm with devcieID 0 nic:
{deviceId:0,networkRateMbps:-1,defaultNic:false,uuid:25d5daa8-7ee0-
494c-93c9-05d2125778e6,ip:169.254.3.155,netmask:255.255.0.0,gatewa
y:169.254.0.1,mac:0e:00:a9:fe:03:9b,broadcastType:LinkLocal,type
:Control,isSecurityGroupEnabled:false}

Ssvm with device ID 0 nic:
{deviceId:0,networkRateMbps:-1,defaultNic:false,uuid:25d5daa8-7ee0-
494c-93c9-05d2125778e6,ip:169.254.3.155,netmask:255.255.0.0,gatewa
y:169.254.0.1,mac:0e:00:a9:fe:03:9b,broadcastType:LinkLocal,type
:Control,isSecurityGroupEnabled:false}

VR with device ID 1 nic:
{deviceId:1,networkRateMbps:-1,defaultNic:false,uuid:25d5daa8-7ee0-
494c-93c9-05d2125778e6,ip:192.168.10.117,netmask:255.255.255.0,gat
eway:192.168.10.254,mac:02:00:72:a9:00:01,broadcastType:Native,t
ype:Control,isSecurityGroupEnabled:false}

The broadcastType of VR is Native, but the broadcastType of the other two
is  LinkLocal.

Is this the problem?

-邮件原件-
发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
发送时间: 2014年12月19日 12:22
收件人: dev@cloudstack.apache.org
主题: RE: hyper-v VR does not have management network

It works completely different for VMWare and HyperV.
Currently on which virtual switch the control nic of hyperv is present?
Is there any failure while creating VR on hyper-V?
Share the agent and mgmt. logs at the time of failure.

Thanks
Rajesh Battala

-Original Message-
From: 穆凯辉 [mailto:k...@landhightech.com]
Sent: Friday, December 19, 2014 9:21 AM
To: dev@cloudstack.apache.org
Subject: 答复: hyper-v VR does not have management network

Hyper-v nics without name parameter:
{deviceId:1,networkRateMbps:
-1,defaultNic:false,uuid:dbc356b5-79ca-4f83-9df9-038f89290c89,ip:19
2.168.10.110,netmask:255.255.255.0,gateway:192.168.10.254,mac:02
:00:40:6f:00:06,broadcastType:Native,type:Control,isSecurityGroupE
nabled:false}


VMware exsi nics with name parameter vSwitch0.

{deviceId:1,networkRateMbps:-1,d
efaultNic:false,uuid:f1ea1c22-e4fa-4a25-9e75-221920982c76,ip:192.168
.10.150,netmask:255.255.255.0,gateway:192.168.10.254,mac:02:00:5
d:40:00:07,broadcastType:Native,type:Control,isSecurityGroupEnable
d:false,name:vSwitch0}


We have management virtual switch in Hyper-v host for the management and
storage network traffic.


Thank you very much


-邮件原件-
发件人: Rajesh Battala [mailto:rajesh.batt...@citrix.com]
发送时间: 2014年12月19日 11:37
收件人: dev@cloudstack.apache.org
主题: RE: hyper-v VR does not have management network

When I checked in the pasted log,
In the nic json details all the nics have names .
Name value is present in each nic details. All the nics have either public
or guest names.

Thanks
Rajesh Battala

-Original Message-
From: 穆凯辉 

Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.1

2014-12-19 Thread Sebastien Goasguen

On Dec 19, 2014, at 5:09 AM, Suresh Sadhu suresh.sa...@citrix.com wrote:

 Rohit,
 
 I am seeing below exception after enabling zone,system vms fail to start 
 .even after copying the vhd-util on host ,i still see  this below exception.
 is there any specific reason for this below failure?
 
  at java.lang.Thread.run(Thread.java:745)
 INFO  [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-90824cd9) releasing 
 lock for VMTemplateStoragePool 96
 WARN  [c.c.u.d.Merovingian2] (consoleproxy-1:ctx-90824cd9) Was unable to find 
 lock for the key template_spool_ref96 and thread id 1326468965
 INFO  [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-90824cd9) Unable 
 to contact resource.
 com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1] is 
 unreachable: Unable to create Vol[42|vm=42|ROOT]:Catch Exception 
 com.cloud.utils.exception.CloudRuntimeException for template +  due to 
 com.cloud.utils.exception.CloudRuntimeException: failed to dd 
 /var/run/cloud_mount/0ec57654-6b1c-4274-b07c-91f2a1eb3a1f//b051e4dc-1f05-49f8-8f61-4d6589005108.vhd
  to 
 /var/run/sr-mount/4af66230-c143-a4d9-ce9b-63b9e64602d0/7e78e277-38e2-4a56-bbdd-66d124f2cd31.vhd
at 
 org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1204)
at 
 org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1256)
at 
 com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:963)
at 
 com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:761)
at 
 com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:745)
at 
 com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:555)
at 
 com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:941)
at 
 com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1666)
at 
 com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:157)
at 
 com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:118)
at 
 com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:35)
at 
 com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:88)
at 
 com.cloud.vm.SystemVmLoadScanner$1.runInContext(SystemVmLoadScanner.java:79)
at 
 org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
at 
 org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at 
 org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at 
 org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at 
 org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
at 
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at 
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
 INFO  [c.c.h.x.r.CitrixResourceBase] (DirectAgent-11:ctx-49709bc5) VM does 
 not exist on XenServer95d18ca7-b4d1-4135-9b27-42b9b62ae1f2
 WARN  [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-90824cd9) Exception 
 while trying to start console proxy
 com.cloud.exception.InsufficientServerCapacityException: Unable to create a 
 deployment for VM[ConsoleProxy|v-42-VM]Scope=interface 
 com.cloud.dc.DataCenter; id=1
at 
 com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:922)
at 
 com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:761)
at 
 com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:745)
at 
 com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:555)
at 
 com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:941)
at 
 com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1666)
at 
 com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:157)
at 
 com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:118)
at 
 

RE: [VOTE] Release Apache CloudStack CloudMonkey 5.3.1

2014-12-19 Thread Suresh Sadhu
its my bad i have wrongly pasted it  to wrong mail thread . its for 4.3.2


sorry for the inconvenience.

regards
sadhu  

From: Sebastien Goasguen [run...@gmail.com]
Sent: Friday, December 19, 2014 3:50 PM
To: dev@cloudstack.apache.org
Subject: Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.1

On Dec 19, 2014, at 5:09 AM, Suresh Sadhu suresh.sa...@citrix.com wrote:

 Rohit,

 I am seeing below exception after enabling zone,system vms fail to start 
 .even after copying the vhd-util on host ,i still see  this below exception.
 is there any specific reason for this below failure?

  at java.lang.Thread.run(Thread.java:745)
 INFO  [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-90824cd9) releasing 
 lock for VMTemplateStoragePool 96
 WARN  [c.c.u.d.Merovingian2] (consoleproxy-1:ctx-90824cd9) Was unable to find 
 lock for the key template_spool_ref96 and thread id 1326468965
 INFO  [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-90824cd9) Unable 
 to contact resource.
 com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1] is 
 unreachable: Unable to create Vol[42|vm=42|ROOT]:Catch Exception 
 com.cloud.utils.exception.CloudRuntimeException for template +  due to 
 com.cloud.utils.exception.CloudRuntimeException: failed to dd 
 /var/run/cloud_mount/0ec57654-6b1c-4274-b07c-91f2a1eb3a1f//b051e4dc-1f05-49f8-8f61-4d6589005108.vhd
  to 
 /var/run/sr-mount/4af66230-c143-a4d9-ce9b-63b9e64602d0/7e78e277-38e2-4a56-bbdd-66d124f2cd31.vhd
at 
 org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1204)
at 
 org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1256)
at 
 com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:963)
at 
 com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:761)
at 
 com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:745)
at 
 com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:555)
at 
 com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:941)
at 
 com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1666)
at 
 com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:157)
at 
 com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:118)
at 
 com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:35)
at 
 com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:88)
at 
 com.cloud.vm.SystemVmLoadScanner$1.runInContext(SystemVmLoadScanner.java:79)
at 
 org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
at 
 org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at 
 org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at 
 org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at 
 org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
at 
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at 
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
 INFO  [c.c.h.x.r.CitrixResourceBase] (DirectAgent-11:ctx-49709bc5) VM does 
 not exist on XenServer95d18ca7-b4d1-4135-9b27-42b9b62ae1f2
 WARN  [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-90824cd9) Exception 
 while trying to start console proxy
 com.cloud.exception.InsufficientServerCapacityException: Unable to create a 
 deployment for VM[ConsoleProxy|v-42-VM]Scope=interface 
 com.cloud.dc.DataCenter; id=1
at 
 com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:922)
at 
 com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:761)
at 
 com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:745)
at 
 com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:555)
at 
 

RE: [VOTE] Apache Cloudstack 4.3.2

2014-12-19 Thread Suresh Sadhu
I am seeing below exception after enabling zone,system vms fail to start .even 
after copying the vhd-util on host ,i still see  this below exception.
is there any specific reason for this below failure?

  at java.lang.Thread.run(Thread.java:745)
INFO  [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-90824cd9) releasing 
lock for VMTemplateStoragePool 96
WARN  [c.c.u.d.Merovingian2] (consoleproxy-1:ctx-90824cd9) Was unable to find 
lock for the key template_spool_ref96 and thread id 1326468965
INFO  [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-90824cd9) Unable to 
contact resource.
com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1] is 
unreachable: Unable to create Vol[42|vm=42|ROOT]:Catch Exception 
com.cloud.utils.exception.CloudRuntimeException for template +  due to 
com.cloud.utils.exception.CloudRuntimeException: failed to dd 
/var/run/cloud_mount/0ec57654-6b1c-4274-b07c-91f2a1eb3a1f//b051e4dc-1f05-49f8-8f61-4d6589005108.vhd
 to 
/var/run/sr-mount/4af66230-c143-a4d9-ce9b-63b9e64602d0/7e78e277-38e2-4a56-bbdd-66d124f2cd31.vhd
at 
org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1204)
at 
org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1256)
at 
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:963)
at 
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:761)
at 
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:745)
at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:555)
at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:941)
at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1666)
at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:157)
at 
com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:118)
at 
com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:35)
at 
com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:88)
at 
com.cloud.vm.SystemVmLoadScanner$1.runInContext(SystemVmLoadScanner.java:79)
at 
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at 
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
INFO  [c.c.h.x.r.CitrixResourceBase] (DirectAgent-11:ctx-49709bc5) VM does not 
exist on XenServer95d18ca7-b4d1-4135-9b27-42b9b62ae1f2
WARN  [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-90824cd9) Exception 
while trying to start console proxy
com.cloud.exception.InsufficientServerCapacityException: Unable to create a 
deployment for VM[ConsoleProxy|v-42-VM]Scope=interface com.cloud.dc.DataCenter; 
id=1
at 
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:922)
at 
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:761)
at 
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:745)
at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:555)
at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:941)
at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1666)
at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:157)
at 
com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:118)
at 
com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:35)
at 

Re: [VOTE] Apache Cloudstack 4.3.2

2014-12-19 Thread Abhinandan Prateek
From the logs: StorageUnavailableException: Resource [StoragePool:1] is 
unreachable:

You have issues with your setup.

-abhi



 On 19-Dec-2014, at 4:09 pm, Suresh Sadhu suresh.sa...@citrix.com wrote:

 I am seeing below exception after enabling zone,system vms fail to start 
 .even after copying the vhd-util on host ,i still see  this below exception.
 is there any specific reason for this below failure?

  at java.lang.Thread.run(Thread.java:745)
 INFO  [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-90824cd9) releasing 
 lock for VMTemplateStoragePool 96
 WARN  [c.c.u.d.Merovingian2] (consoleproxy-1:ctx-90824cd9) Was unable to find 
 lock for the key template_spool_ref96 and thread id 1326468965
 INFO  [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-90824cd9) Unable 
 to contact resource.
 com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1] is 
 unreachable: Unable to create Vol[42|vm=42|ROOT]:Catch Exception 
 com.cloud.utils.exception.CloudRuntimeException for template +  due to 
 com.cloud.utils.exception.CloudRuntimeException: failed to dd 
 /var/run/cloud_mount/0ec57654-6b1c-4274-b07c-91f2a1eb3a1f//b051e4dc-1f05-49f8-8f61-4d6589005108.vhd
  to 
 /var/run/sr-mount/4af66230-c143-a4d9-ce9b-63b9e64602d0/7e78e277-38e2-4a56-bbdd-66d124f2cd31.vhd
at 
 org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1204)
at 
 org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1256)
at 
 com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:963)
at 
 com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:761)
at 
 com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:745)
at 
 com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:555)
at 
 com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:941)
at 
 com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1666)
at 
 com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:157)
at 
 com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:118)
at 
 com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:35)
at 
 com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:88)
at 
 com.cloud.vm.SystemVmLoadScanner$1.runInContext(SystemVmLoadScanner.java:79)
at 
 org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
at 
 org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at 
 org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at 
 org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at 
 org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
at 
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at 
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
 INFO  [c.c.h.x.r.CitrixResourceBase] (DirectAgent-11:ctx-49709bc5) VM does 
 not exist on XenServer95d18ca7-b4d1-4135-9b27-42b9b62ae1f2
 WARN  [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-90824cd9) Exception 
 while trying to start console proxy
 com.cloud.exception.InsufficientServerCapacityException: Unable to create a 
 deployment for VM[ConsoleProxy|v-42-VM]Scope=interface 
 com.cloud.dc.DataCenter; id=1
at 
 com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:922)
at 
 com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:761)
at 
 com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:745)
at 
 com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:555)
at 
 com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:941)
at 
 com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1666)
at 
 

Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.1

2014-12-19 Thread Sebastien Goasguen

On Dec 19, 2014, at 5:34 AM, Suresh Sadhu suresh.sa...@citrix.com wrote:

 its my bad i have wrongly pasted it  to wrong mail thread . its for 4.3.2
 


that's what I thought, can you repost on the 4.3.2 thread :)

 
 sorry for the inconvenience.
 
 regards
 sadhu  
 
 From: Sebastien Goasguen [run...@gmail.com]
 Sent: Friday, December 19, 2014 3:50 PM
 To: dev@cloudstack.apache.org
 Subject: Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.1
 
 On Dec 19, 2014, at 5:09 AM, Suresh Sadhu suresh.sa...@citrix.com wrote:
 
 Rohit,
 
 I am seeing below exception after enabling zone,system vms fail to start 
 .even after copying the vhd-util on host ,i still see  this below exception.
 is there any specific reason for this below failure?
 
 at java.lang.Thread.run(Thread.java:745)
 INFO  [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-90824cd9) releasing 
 lock for VMTemplateStoragePool 96
 WARN  [c.c.u.d.Merovingian2] (consoleproxy-1:ctx-90824cd9) Was unable to 
 find lock for the key template_spool_ref96 and thread id 1326468965
 INFO  [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-90824cd9) Unable 
 to contact resource.
 com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1] is 
 unreachable: Unable to create Vol[42|vm=42|ROOT]:Catch Exception 
 com.cloud.utils.exception.CloudRuntimeException for template +  due to 
 com.cloud.utils.exception.CloudRuntimeException: failed to dd 
 /var/run/cloud_mount/0ec57654-6b1c-4274-b07c-91f2a1eb3a1f//b051e4dc-1f05-49f8-8f61-4d6589005108.vhd
  to 
 /var/run/sr-mount/4af66230-c143-a4d9-ce9b-63b9e64602d0/7e78e277-38e2-4a56-bbdd-66d124f2cd31.vhd
   at 
 org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1204)
   at 
 org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1256)
   at 
 com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:963)
   at 
 com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:761)
   at 
 com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:745)
   at 
 com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:555)
   at 
 com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:941)
   at 
 com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1666)
   at 
 com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:157)
   at 
 com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:118)
   at 
 com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:35)
   at 
 com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:88)
   at 
 com.cloud.vm.SystemVmLoadScanner$1.runInContext(SystemVmLoadScanner.java:79)
   at 
 org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
   at 
 org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
   at 
 org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
   at 
 org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
   at 
 org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
   at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
   at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
   at 
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
   at 
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
   at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
   at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
   at java.lang.Thread.run(Thread.java:745)
 INFO  [c.c.h.x.r.CitrixResourceBase] (DirectAgent-11:ctx-49709bc5) VM does 
 not exist on XenServer95d18ca7-b4d1-4135-9b27-42b9b62ae1f2
 WARN  [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-90824cd9) 
 Exception while trying to start console proxy
 com.cloud.exception.InsufficientServerCapacityException: Unable to create a 
 deployment for VM[ConsoleProxy|v-42-VM]Scope=interface 
 com.cloud.dc.DataCenter; id=1
   at 
 com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:922)
   at 
 com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:761)
   at 
 com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:745)
   at 
 

Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.1

2014-12-19 Thread Erik Weber
On Mon, Dec 15, 2014 at 7:10 AM, Rohit Yadav bhais...@apache.org wrote:

 Hi All,

 I've created a 5.3.1 release of CloudMonkey, with the following artifacts
 up for a vote:

 Git Branch and Commit SHA:

 https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=shortlog;h=refs/heads/master
 Commit: 387f0338f9715f2337a9e10c92d1c76fa5d2a381

 List of changes:

 https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=blob_plain;f=CHANGES.md

 Source release (checksums and signatures are available at the same
 location):
 https://dist.apache.org/repos/dist/dev/cloudstack/cloudmonkey-5.3.1/

 PGP release keys (signed using key ID 0EE3D884):
 https://dist.apache.org/repos/dist/release/cloudstack/KEYS

 Vote will be open for 72 hours.

 For sanity in tallying the vote, can PMC members please be sure to indicate
 (binding) with their vote?

 [ ] +1 approve
 [ ] +0 no opinion
 [ ] -1 disapprove (and reason why)

 Regards.



+1

Testing done:
 + Successfully upgraded from 5.3.0 to 5.3.1 on Mac OS X
 + Sync works
 + Loading profile on the command line (with -p) works
 + Using param completion when not at the end of line/string works
 + Various daily list/reset/deploy tasks


-- 
Erik


RE: CLOUDSTACK-6543 Sorting the domain list in UI

2014-12-19 Thread Gabor Apati-Nagy
Well, thanks Abhinandan, I have just noticed I did not emphasize that I was not 
talking about the GUI in general or any other screens. What I talked about is 
only that one specific dropdown where users can select a domain on the Advanced 
Search panel. 

Definitely, for the UI in general this is not right approach. For many screens, 
api calls, we already use pagination, server side sorting - what is good 
practice. 
For this dropdown though, I wouldn't say we should change the API, because 
sorting at GUI side is easy and would work fine.

Sorry for the confusion.

Cheers,
Gabor

-Original Message-
From: Abhinandan Prateek [mailto:abhinandan.prat...@shapeblue.com] 
Sent: 19 December 2014 01:23
To: dev@cloudstack.apache.org
Subject: Re: CLOUDSTACK-6543 Sorting the domain list in UI

We should give it some more thought as UI side sorting is limited in its 
capability in case the data is huge and there is pagination.
There could be some default ordering that API’s implement. On top of it we 
could further have UI/javascript level sorting and searching.

 On 18-Dec-2014, at 10:47 pm, Mike Tutkowski mike.tutkow...@solidfire.com 
 wrote:

 +1 on GUI-side sorting (ideally it would be nice if we could sort by
 clicking a column header in a table...maybe some reasonable column 
 header would be selected by default for each table)

 On Thursday, December 18, 2014, Gabor Apati-Nagy  
 gabor.apati-n...@citrix.com wrote:

 My point here is: unless the API supported sorting as a parameter, we 
 should not rely on any expected sorting done by the API. It is really 
 the presentation layer's job to show the results in an order it wants 
 to. So instead of changing the API, I would suggest let's just sort it at UI 
 side.

 I see why sorting by name would be good in some cases, but if the 
 same names exist in different domains it could easily become 
 confusing. Or it can be even more confusing if someone tries to find 
 something by hierarchy
 - not knowing it's exact name, but knowing where it should be.

 As a future feature, there could be a browse domains or similar 
 selector where a popup could show them in a searchable grid or 
 similar where users could search by name for instance.

 So I am +1 for sorting at UI side and -1 for changing to Name (Path)
 format. And +1 for having the same format everywhere.

 Thanks,
 Gabor


 -Original Message-
 From: Remi Bergsma [mailto:rberg...@schubergphilis.com 
 javascript:;]
 Sent: 18 December 2014 12:16
 To: dev@cloudstack.apache.org javascript:;
 Subject: Re: CLOUDSTACK-6543 Sorting the domain list in UI

 Hi,

 The reason I’ve put the name upfront is because it allows for easy 
 navigation using a keyboard. But I see your point.

 About the format, it is not consistent now, as most lists display the 
 path whereas others display just the name (which is really not what you 
 want).
 For example when dedicating a zone to an account. I'd suggest 
 changing then all to the same format.

 As an alternative, would sorting it at the API level be better? Then 
 we wouldn’t have to do it client side and we’d only have to change it 
 at one place only.

 Regards,
 Remi


 On Dec 18, 2014, at 12:46 PM, Andrija Panic andrija.pa...@gmail.com 
 javascript:; wrote:

 +1 for sorting - somwhat painfull to find domains in current situation...

 On 18 December 2014 at 11:35, Gabor Apati-Nagy 
 gabor.apati-n...@citrix.com javascript:;
 wrote:

 Hi,

 I think sorting would be good to have, but I would not change the 
 display format because that would remove hierarchy (as a sorting
 criteria).

 Wouldn't it be good to sort just by path? (To me sorting looks like 
 an improvement, changing the format is more like a change that may 
 cause problem for some.)

 Cheers,
 Gabor


 -Original Message-
 From: Remi Bergsma [mailto:rberg...@schubergphilis.com 
 javascript:;]
 Sent: 18 December 2014 08:40
 To: dev@cloudstack.apache.org javascript:;
 Subject: CLOUDSTACK-6543 Sorting the domain list in UI

 Hi all,

 In our employee cloud most of our employees have their own Domain 
 to spin up machines. Since we have 150+ domains and the lists are 
 unsorted, it is very hard to find the one you need. The order 
 returned by the API is the order they were added.

 Without any knowledge of the CloudStack UI, I decided to spend some 
 spare time on this, to figure out a way of fixing this issue. I 
 succeeded, as in my dev environment it now shows alphabetically 
 ordered lists. Although, I discovered that the javascript code that 
 does the select for the domains is on many places in the code base 
 (25+
 occurrences, with 3 or so variations).
 Am I supposed to fix this ordering on all these occurrences or am 
 I missing something?

 First, I fixed it on the most obvious parts that bother us most:

 https://github.com/remibergsma/cloudstack/commit/af3a7755a26e13d36a
 36
 00f16acac61085a1fa50
 This I have verified works well.

 Then did a search and altered the others as well:

 

Jenkins build is still unstable: simulator-singlerun #822

2014-12-19 Thread jenkins
See http://jenkins.buildacloud.org/job/simulator-singlerun/changes



Cloudstack Simulator: unable to simulate infrastructure from basic.cfg

2014-12-19 Thread Ramzi Youssefi
Hello everyone,

Following this documentation:
http://docs.cloudstack.apache.org/en/latest/developer_guide.html I was
trying to simulate an infrastructure with the simulator but I get the
following error:


ryoussefi@callisto:~/Projects/cloudstack$ mvn -Pdeveloper,marvin.setup
-Dmarvin.config=setup/dev/basic.cfg -pl :cloud-marvin integration-test
[INFO] Scanning for projects...
[INFO]

[INFO]

[INFO] Building Apache CloudStack marvin 4.6.0-SNAPSHOT
[INFO]

[INFO]
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @
cloud-marvin ---
[INFO] Starting audit...
Audit done.

[INFO]
[INFO] --- gmaven-plugin:1.5:execute (setproperty) @ cloud-marvin ---
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:exec (generate-sources) @ cloud-marvin
---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @
cloud-marvin ---
[INFO]
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @
cloud-marvin ---
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:exec (pre-integration-test) @
cloud-marvin ---
Usage: deployAndRun.py [options]

deployAndRun.py: error: no such option: -c
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 10.415s
[INFO] Finished at: Fri Dec 19 12:49:36 CET 2014
[INFO] Final Memory: 42M/294M
[INFO]

[ERROR] Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (pre-integration-test) on
project cloud-marvin: Command execution failed. Process exited with an
error: 2 (Exit value: 2) - [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException


I have to say as well that the pip command

pip install tools/marvin/dist/Marvin-4.6.0-SNAPSHOT.tar.gz

was run with that compressed file and not with Marvin-0.1.0.tar.gz

Thanks for your help!

-- 
Ramzi Youssefi
Görlitzer Str. 49
01099 Dresden, Germany.
Cell: +49 173 1965465
Email: ryouss...@gmail.com


Cloudstack Simulator: unable to simulate infrastructure from basic.cfg

2014-12-19 Thread Ramzi Youssefi
Hello everyone,

Following this documentation:
http://docs.cloudstack.apache.org/en/latest/developer_guide.html I was
trying to simulate an infrastructure with the simulator but I get the
following error:


ryoussefi@callisto:~/Projects/cloudstack$ mvn -Pdeveloper,marvin.setup
-Dmarvin.config=setup/dev/basic.cfg -pl :cloud-marvin integration-test
[INFO] Scanning for projects...
[INFO]

[INFO]

[INFO] Building Apache CloudStack marvin 4.6.0-SNAPSHOT
[INFO]

[INFO]
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @
cloud-marvin ---
[INFO] Starting audit...
Audit done.

[INFO]
[INFO] --- gmaven-plugin:1.5:execute (setproperty) @ cloud-marvin ---
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:exec (generate-sources) @ cloud-marvin
---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @
cloud-marvin ---
[INFO]
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @
cloud-marvin ---
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:exec (pre-integration-test) @
cloud-marvin ---
Usage: deployAndRun.py [options]

deployAndRun.py: error: no such option: -c
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 10.415s
[INFO] Finished at: Fri Dec 19 12:49:36 CET 2014
[INFO] Final Memory: 42M/294M
[INFO]

[ERROR] Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (pre-integration-test) on
project cloud-marvin: Command execution failed. Process exited with an
error: 2 (Exit value: 2) - [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException


I have to say as well that the pip command

pip install tools/marvin/dist/Marvin-4.6.0-SNAPSHOT.tar.gz

was run with that compressed file and not with Marvin-0.1.0.tar.gz

Thanks for your help!

-- 
Ramzi Youssefi
Görlitzer Str. 49
01099 Dresden, Germany.
Cell: +49 173 1965465
Email: ryouss...@gmail.com


Review Request 29245: CLOUDSTACK-8098: Fixed VM snapshot issue in smoke/test_vm_snapshots.py

2014-12-19 Thread Gaurav Aradhye

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/29245/
---

Review request for cloudstack and SrikanteswaraRao Talluri.


Bugs: CLOUDSTACK-8098
https://issues.apache.org/jira/browse/CLOUDSTACK-8098


Repository: cloudstack-git


Description
---

The test case fails while reverting the VM snapshot because the snapshot does 
not contain the memory and VM is not in stopped state.

Solution:
Stop the VM before reverting the snapshot

Also fixed pep8 issues and imports.


Diffs
-

  test/integration/smoke/test_vm_snapshots.py 131da99 

Diff: https://reviews.apache.org/r/29245/diff/


Testing
---

Yes.

Log:
Test to create VM snapshots ... === TestName: test_01_create_vm_snapshots | 
Status : SUCCESS ===
ok
Test to revert VM snapshots ... === TestName: test_02_revert_vm_snapshots | 
Status : SUCCESS ===
ok
Test to delete vm snapshots ... === TestName: test_03_delete_vm_snapshots | 
Status : SUCCESS ===
ok

--
Ran 3 tests in 759.977s

OK


Thanks,

Gaurav Aradhye



Re: [VOTE] Apache Cloudstack 4.3.2

2014-12-19 Thread Gopalakrishnan S

Hi Suresh,

It does not create ROOT volume due to storage unavailablilty. You should 
check your primary and secondary storage connections.


Thank You.
Gopalakrishnan.S
Cloud Consultant - Fogpanel

- Original Message - 
From: Suresh Sadhu suresh.sa...@citrix.com

To: dev@cloudstack.apache.org; us...@cloudstack.apache.org
Cc: users...@cloudstack.apache.org
Sent: Friday, December 19, 2014 4:09 PM
Subject: RE: [VOTE] Apache Cloudstack 4.3.2


I am seeing below exception after enabling zone,system vms fail to start 
.even after copying the vhd-util on host ,i still see  this below exception.

is there any specific reason for this below failure?

 at java.lang.Thread.run(Thread.java:745)
INFO  [o.a.c.s.v.VolumeServiceImpl] (consoleproxy-1:ctx-90824cd9) releasing 
lock for VMTemplateStoragePool 96
WARN  [c.c.u.d.Merovingian2] (consoleproxy-1:ctx-90824cd9) Was unable to 
find lock for the key template_spool_ref96 and thread id 1326468965
INFO  [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-90824cd9) Unable 
to contact resource.
com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1] is 
unreachable: Unable to create Vol[42|vm=42|ROOT]:Catch Exception 
com.cloud.utils.exception.CloudRuntimeException for template +  due to 
com.cloud.utils.exception.CloudRuntimeException: failed to dd 
/var/run/cloud_mount/0ec57654-6b1c-4274-b07c-91f2a1eb3a1f//b051e4dc-1f05-49f8-8f61-4d6589005108.vhd 
to 
/var/run/sr-mount/4af66230-c143-a4d9-ce9b-63b9e64602d0/7e78e277-38e2-4a56-bbdd-66d124f2cd31.vhd
   at 
org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1204)
   at 
org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1256)
   at 
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:963)
   at 
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:761)
   at 
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:745)
   at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:555)
   at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:941)
   at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1666)
   at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:157)
   at 
com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:118)
   at 
com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:35)
   at 
com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:88)
   at 
com.cloud.vm.SystemVmLoadScanner$1.runInContext(SystemVmLoadScanner.java:79)
   at 
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
   at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
   at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
   at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
   at 
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
   at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

   at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
   at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
   at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
   at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
   at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

   at java.lang.Thread.run(Thread.java:745)
INFO  [c.c.h.x.r.CitrixResourceBase] (DirectAgent-11:ctx-49709bc5) VM does 
not exist on XenServer95d18ca7-b4d1-4135-9b27-42b9b62ae1f2
WARN  [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-90824cd9) 
Exception while trying to start console proxy
com.cloud.exception.InsufficientServerCapacityException: Unable to create a 
deployment for VM[ConsoleProxy|v-42-VM]Scope=interface 
com.cloud.dc.DataCenter; id=1
   at 
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:922)
   at 
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:761)
   at 
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:745)
   at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:555)
   at 
com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:941)
   at 

Review Request 29246: CLOUDSTACK-8099: Fixed missing import in test_dynamic_compute_offering.py

2014-12-19 Thread Ashutosh Kelkar

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/29246/
---

Review request for cloudstack and SrikanteswaraRao Talluri.


Bugs: CLOUDSTACK-8099
https://issues.apache.org/jira/browse/CLOUDSTACK-8099


Repository: cloudstack-git


Description
---

Fixed the missing unittest import and pep8 issues.


Diffs
-

  test/integration/component/test_dynamic_compute_offering.py d96fd84 

Diff: https://reviews.apache.org/r/29246/diff/


Testing
---

Tested with python command and pylint.


Thanks,

Ashutosh Kelkar



Re: CLOUDSTACK-6543 Sorting the domain list in UI

2014-12-19 Thread Abhinandan Prateek
Thanks Gabor, Probably I should have read the full thread before responding.

-abhi


 On 19-Dec-2014, at 4:48 pm, Gabor Apati-Nagy gabor.apati-n...@citrix.com 
 wrote:

 Well, thanks Abhinandan, I have just noticed I did not emphasize that I was 
 not talking about the GUI in general or any other screens. What I talked 
 about is only that one specific dropdown where users can select a domain on 
 the Advanced Search panel.

 Definitely, for the UI in general this is not right approach. For many 
 screens, api calls, we already use pagination, server side sorting - what is 
 good practice.
 For this dropdown though, I wouldn't say we should change the API, because 
 sorting at GUI side is easy and would work fine.

 Sorry for the confusion.

 Cheers,
 Gabor

 -Original Message-
 From: Abhinandan Prateek [mailto:abhinandan.prat...@shapeblue.com]
 Sent: 19 December 2014 01:23
 To: dev@cloudstack.apache.org
 Subject: Re: CLOUDSTACK-6543 Sorting the domain list in UI

 We should give it some more thought as UI side sorting is limited in its 
 capability in case the data is huge and there is pagination.
 There could be some default ordering that API’s implement. On top of it we 
 could further have UI/javascript level sorting and searching.

 On 18-Dec-2014, at 10:47 pm, Mike Tutkowski mike.tutkow...@solidfire.com 
 wrote:

 +1 on GUI-side sorting (ideally it would be nice if we could sort by
 clicking a column header in a table...maybe some reasonable column
 header would be selected by default for each table)

 On Thursday, December 18, 2014, Gabor Apati-Nagy 
 gabor.apati-n...@citrix.com wrote:

 My point here is: unless the API supported sorting as a parameter, we
 should not rely on any expected sorting done by the API. It is really
 the presentation layer's job to show the results in an order it wants
 to. So instead of changing the API, I would suggest let's just sort it at 
 UI side.

 I see why sorting by name would be good in some cases, but if the
 same names exist in different domains it could easily become
 confusing. Or it can be even more confusing if someone tries to find
 something by hierarchy
 - not knowing it's exact name, but knowing where it should be.

 As a future feature, there could be a browse domains or similar
 selector where a popup could show them in a searchable grid or
 similar where users could search by name for instance.

 So I am +1 for sorting at UI side and -1 for changing to Name (Path)
 format. And +1 for having the same format everywhere.

 Thanks,
 Gabor


 -Original Message-
 From: Remi Bergsma [mailto:rberg...@schubergphilis.com
 javascript:;]
 Sent: 18 December 2014 12:16
 To: dev@cloudstack.apache.org javascript:;
 Subject: Re: CLOUDSTACK-6543 Sorting the domain list in UI

 Hi,

 The reason I’ve put the name upfront is because it allows for easy
 navigation using a keyboard. But I see your point.

 About the format, it is not consistent now, as most lists display the
 path whereas others display just the name (which is really not what you 
 want).
 For example when dedicating a zone to an account. I'd suggest
 changing then all to the same format.

 As an alternative, would sorting it at the API level be better? Then
 we wouldn’t have to do it client side and we’d only have to change it
 at one place only.

 Regards,
 Remi


 On Dec 18, 2014, at 12:46 PM, Andrija Panic andrija.pa...@gmail.com
 javascript:; wrote:

 +1 for sorting - somwhat painfull to find domains in current situation...

 On 18 December 2014 at 11:35, Gabor Apati-Nagy
 gabor.apati-n...@citrix.com javascript:;
 wrote:

 Hi,

 I think sorting would be good to have, but I would not change the
 display format because that would remove hierarchy (as a sorting
 criteria).

 Wouldn't it be good to sort just by path? (To me sorting looks like
 an improvement, changing the format is more like a change that may
 cause problem for some.)

 Cheers,
 Gabor


 -Original Message-
 From: Remi Bergsma [mailto:rberg...@schubergphilis.com
 javascript:;]
 Sent: 18 December 2014 08:40
 To: dev@cloudstack.apache.org javascript:;
 Subject: CLOUDSTACK-6543 Sorting the domain list in UI

 Hi all,

 In our employee cloud most of our employees have their own Domain
 to spin up machines. Since we have 150+ domains and the lists are
 unsorted, it is very hard to find the one you need. The order
 returned by the API is the order they were added.

 Without any knowledge of the CloudStack UI, I decided to spend some
 spare time on this, to figure out a way of fixing this issue. I
 succeeded, as in my dev environment it now shows alphabetically
 ordered lists. Although, I discovered that the javascript code that
 does the select for the domains is on many places in the code base
 (25+
 occurrences, with 3 or so variations).
 Am I supposed to fix this ordering on all these occurrences or am
 I missing something?

 First, I fixed it on the most obvious parts that bother us most:

 

Review Request 29247: CLOUDSATCK-8100: Fixed pep8 issues in test_vpc.py

2014-12-19 Thread Gaurav Aradhye

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/29247/
---

Review request for cloudstack and SrikanteswaraRao Talluri.


Bugs: CLOUDSTACK-8100
https://issues.apache.org/jira/browse/CLOUDSTACK-8100


Repository: cloudstack-git


Description
---

Fixed pep8 issues and imports.


Diffs
-

  test/integration/component/test_vpc.py 13f0eff 

Diff: https://reviews.apache.org/r/29247/diff/


Testing
---

Yes.


Thanks,

Gaurav Aradhye



Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.1

2014-12-19 Thread Daan Hoogland
Rohit, I am testing against 4.4 simulator, I have tested against
master simulator. seems like I will +1 this before the end of the day.

One question though, is there a known issue with the color coding? it
seems to change halfway through words in the output and not be
consistent in the help/error messages. Not a blocker and I may need to
read more but it looks a bit strange.

On Fri, Dec 19, 2014 at 12:01 PM, Erik Weber terbol...@gmail.com wrote:
 On Mon, Dec 15, 2014 at 7:10 AM, Rohit Yadav bhais...@apache.org wrote:

 Hi All,

 I've created a 5.3.1 release of CloudMonkey, with the following artifacts
 up for a vote:

 Git Branch and Commit SHA:

 https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=shortlog;h=refs/heads/master
 Commit: 387f0338f9715f2337a9e10c92d1c76fa5d2a381

 List of changes:

 https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=blob_plain;f=CHANGES.md

 Source release (checksums and signatures are available at the same
 location):
 https://dist.apache.org/repos/dist/dev/cloudstack/cloudmonkey-5.3.1/

 PGP release keys (signed using key ID 0EE3D884):
 https://dist.apache.org/repos/dist/release/cloudstack/KEYS

 Vote will be open for 72 hours.

 For sanity in tallying the vote, can PMC members please be sure to indicate
 (binding) with their vote?

 [ ] +1 approve
 [ ] +0 no opinion
 [ ] -1 disapprove (and reason why)

 Regards.



 +1

 Testing done:
  + Successfully upgraded from 5.3.0 to 5.3.1 on Mac OS X
  + Sync works
  + Loading profile on the command line (with -p) works
  + Using param completion when not at the end of line/string works
  + Various daily list/reset/deploy tasks


 --
 Erik



-- 
Daan


Re: CLOUDSTACK-6543 Sorting the domain list in UI

2014-12-19 Thread Mike Tutkowski
Still...it can be difficult to find items in GUI tables when you have a
bunch of rows.

It would be nice if we solved that problem at some point with some sorting
capability.

I suppose right now people just use our filtering capability to find what
they need.

On Friday, December 19, 2014, Abhinandan Prateek 
abhinandan.prat...@shapeblue.com wrote:

 Thanks Gabor, Probably I should have read the full thread before
 responding.

 -abhi


  On 19-Dec-2014, at 4:48 pm, Gabor Apati-Nagy 
 gabor.apati-n...@citrix.com javascript:; wrote:
 
  Well, thanks Abhinandan, I have just noticed I did not emphasize that I
 was not talking about the GUI in general or any other screens. What I
 talked about is only that one specific dropdown where users can select a
 domain on the Advanced Search panel.
 
  Definitely, for the UI in general this is not right approach. For many
 screens, api calls, we already use pagination, server side sorting - what
 is good practice.
  For this dropdown though, I wouldn't say we should change the API,
 because sorting at GUI side is easy and would work fine.
 
  Sorry for the confusion.
 
  Cheers,
  Gabor
 
  -Original Message-
  From: Abhinandan Prateek [mailto:abhinandan.prat...@shapeblue.com
 javascript:;]
  Sent: 19 December 2014 01:23
  To: dev@cloudstack.apache.org javascript:;
  Subject: Re: CLOUDSTACK-6543 Sorting the domain list in UI
 
  We should give it some more thought as UI side sorting is limited in its
 capability in case the data is huge and there is pagination.
  There could be some default ordering that API’s implement. On top of it
 we could further have UI/javascript level sorting and searching.
 
  On 18-Dec-2014, at 10:47 pm, Mike Tutkowski 
 mike.tutkow...@solidfire.com javascript:; wrote:
 
  +1 on GUI-side sorting (ideally it would be nice if we could sort by
  clicking a column header in a table...maybe some reasonable column
  header would be selected by default for each table)
 
  On Thursday, December 18, 2014, Gabor Apati-Nagy 
  gabor.apati-n...@citrix.com javascript:; wrote:
 
  My point here is: unless the API supported sorting as a parameter, we
  should not rely on any expected sorting done by the API. It is really
  the presentation layer's job to show the results in an order it wants
  to. So instead of changing the API, I would suggest let's just sort it
 at UI side.
 
  I see why sorting by name would be good in some cases, but if the
  same names exist in different domains it could easily become
  confusing. Or it can be even more confusing if someone tries to find
  something by hierarchy
  - not knowing it's exact name, but knowing where it should be.
 
  As a future feature, there could be a browse domains or similar
  selector where a popup could show them in a searchable grid or
  similar where users could search by name for instance.
 
  So I am +1 for sorting at UI side and -1 for changing to Name (Path)
  format. And +1 for having the same format everywhere.
 
  Thanks,
  Gabor
 
 
  -Original Message-
  From: Remi Bergsma [mailto:rberg...@schubergphilis.com javascript:;
  javascript:;]
  Sent: 18 December 2014 12:16
  To: dev@cloudstack.apache.org javascript:; javascript:;
  Subject: Re: CLOUDSTACK-6543 Sorting the domain list in UI
 
  Hi,
 
  The reason I’ve put the name upfront is because it allows for easy
  navigation using a keyboard. But I see your point.
 
  About the format, it is not consistent now, as most lists display the
  path whereas others display just the name (which is really not what
 you want).
  For example when dedicating a zone to an account. I'd suggest
  changing then all to the same format.
 
  As an alternative, would sorting it at the API level be better? Then
  we wouldn’t have to do it client side and we’d only have to change it
  at one place only.
 
  Regards,
  Remi
 
 
  On Dec 18, 2014, at 12:46 PM, Andrija Panic andrija.pa...@gmail.com
 javascript:;
  javascript:; wrote:
 
  +1 for sorting - somwhat painfull to find domains in current
 situation...
 
  On 18 December 2014 at 11:35, Gabor Apati-Nagy
  gabor.apati-n...@citrix.com javascript:; javascript:;
  wrote:
 
  Hi,
 
  I think sorting would be good to have, but I would not change the
  display format because that would remove hierarchy (as a sorting
  criteria).
 
  Wouldn't it be good to sort just by path? (To me sorting looks like
  an improvement, changing the format is more like a change that may
  cause problem for some.)
 
  Cheers,
  Gabor
 
 
  -Original Message-
  From: Remi Bergsma [mailto:rberg...@schubergphilis.com
 javascript:;
  javascript:;]
  Sent: 18 December 2014 08:40
  To: dev@cloudstack.apache.org javascript:; javascript:;
  Subject: CLOUDSTACK-6543 Sorting the domain list in UI
 
  Hi all,
 
  In our employee cloud most of our employees have their own Domain
  to spin up machines. Since we have 150+ domains and the lists are
  unsorted, it is very hard to find the one you need. The order
  returned 

Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.1

2014-12-19 Thread Rohit Yadav

Hi Daan,

On Friday 19 December 2014 07:23 PM, Daan Hoogland wrote:

Rohit, I am testing against 4.4 simulator, I have tested against
master simulator. seems like I will +1 this before the end of the day.


Thanks for testing!


One question though, is there a known issue with the color coding? it
seems to change halfway through words in the output and not be
consistent in the help/error messages. Not a blocker and I may need to
read more but it looks a bit strange.


If you running the CLI as a tool on bash (single query like cloudmonkey
list users), no colors are output (say in a bash script) this is to
avoid printing escape chars (for color) which mess up in bash script
(when people try to grep/sed/awk stuff with the output).

In case colors are enabled then errors are printed in red color if they
start with Error string. The color scheme is haphazard for anyone (I
set the colors such that they looked best when using Solarized dark
theme on terminal http://ethanschoonover.com/solarized)

Please advise on the color behaviour and any improvements we should have?



On Fri, Dec 19, 2014 at 12:01 PM, Erik Weber terbol...@gmail.com wrote:

On Mon, Dec 15, 2014 at 7:10 AM, Rohit Yadav bhais...@apache.org wrote:


Hi All,

I've created a 5.3.1 release of CloudMonkey, with the following artifacts
up for a vote:

Git Branch and Commit SHA:

https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=shortlog;h=refs/heads/master
Commit: 387f0338f9715f2337a9e10c92d1c76fa5d2a381

List of changes:

https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=blob_plain;f=CHANGES.md

Source release (checksums and signatures are available at the same
location):
https://dist.apache.org/repos/dist/dev/cloudstack/cloudmonkey-5.3.1/

PGP release keys (signed using key ID 0EE3D884):
https://dist.apache.org/repos/dist/release/cloudstack/KEYS

Vote will be open for 72 hours.

For sanity in tallying the vote, can PMC members please be sure to indicate
(binding) with their vote?

[ ] +1 approve
[ ] +0 no opinion
[ ] -1 disapprove (and reason why)

Regards.




+1

Testing done:
  + Successfully upgraded from 5.3.0 to 5.3.1 on Mac OS X
  + Sync works
  + Loading profile on the command line (with -p) works
  + Using param completion when not at the end of line/string works
  + Various daily list/reset/deploy tasks


--
Erik






--
Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 8826230892 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab
PS. If you see any footer below, I did not add it :)
Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Software 
Engineeringhttp://shapeblue.com/cloudstack-software-engineering/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

This email and any attachments to it may be confidential and are intended solely 
for the use of the individual to whom it is addressed. Any views or opinions 
expressed are solely those of the author and do not necessarily represent those of 
Shape Blue Ltd or related companies. If you are not the intended recipient of this 
email, you must neither take any action based upon its contents, nor copy or show 
it to anyone. Please contact the sender if you believe you have received this email 
in error. Shape Blue Ltd is a company incorporated in England  Wales. 
ShapeBlue Services India LLP is a company incorporated in India and is operated 
under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company 
incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue 
SA Pty Ltd is a company registered by The Republic of South Africa and is traded 
under license from Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.1

2014-12-19 Thread Daan Hoogland
On Fri, Dec 19, 2014 at 4:03 PM, Rohit Yadav rohit.ya...@shapeblue.com wrote:
 Hi Daan,

 On Friday 19 December 2014 07:23 PM, Daan Hoogland wrote:

 Rohit, I am testing against 4.4 simulator, I have tested against
 master simulator. seems like I will +1 this before the end of the day.
have now confirmed with 4.4^HEAD and some more monkey testing then on master

+1 (binding)

...
 One question though, is there a known issue with the color coding? it
 seems to change halfway through words in the output and not be
 consistent in the help/error messages. Not a blocker and I may need to
 read more but it looks a bit strange.



 If you running the CLI as a tool on bash (single query like cloudmonkey
 list users), no colors are output (say in a bash script) this is to
 avoid printing escape chars (for color) which mess up in bash script
 (when people try to grep/sed/awk stuff with the output).

I am running interactive


 In case colors are enabled then errors are printed in red color if they
 start with Error string. The color scheme is haphazard for anyone (I
 set the colors such that they looked best when using Solarized dark
 theme on terminal http://ethanschoonover.com/solarized)

 Please advise on the color behaviour and any improvements we should have?

it is kind of christmassish and I like it but it seems like to have no
intention to make sense at all. I am using iTerm2 with no special
color configuration.
it seems to be all random coloring to me on regular output, see a
annotated fragment of output below:


id = 6afa0b72-8787-11e4-a3e5-964184d18d4f -- id in red-undelined, '='
in grey and value in yellow
aclid = 6af9e6f6-8787-11e4-a3e5-964184d18d4f -- same scheme
action = Deny -- green, light-blue, grey
cidrlist = 0.0.0.0/0 -- cid- in red-underline/-rlist in grey, '='
grey, '0.' in lightblue/'0.0.0/0' in grey
fordisplay = True
number = 1
protocol = all
state = Active -- 'Active' in purple
tags: -- red-underline
traffictype = Ingress

on error output:
(local)   add host
Missing arguments: password hypervisor podid url username zoneid

'password', 'hypervisor' and 'url' are grey, 'username' is green and
the rest of the line-elements are red-undelined


 On Fri, Dec 19, 2014 at 12:01 PM, Erik Weber terbol...@gmail.com wrote:

 On Mon, Dec 15, 2014 at 7:10 AM, Rohit Yadav bhais...@apache.org wrote:


 Hi All,

 I've created a 5.3.1 release of CloudMonkey, with the following
 artifacts
 up for a vote:

 Git Branch and Commit SHA:


 https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=shortlog;h=refs/heads/master
 Commit: 387f0338f9715f2337a9e10c92d1c76fa5d2a381

 List of changes:


 https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=blob_plain;f=CHANGES.md

 Source release (checksums and signatures are available at the same
 location):
 https://dist.apache.org/repos/dist/dev/cloudstack/cloudmonkey-5.3.1/

 PGP release keys (signed using key ID 0EE3D884):
 https://dist.apache.org/repos/dist/release/cloudstack/KEYS

 Vote will be open for 72 hours.

 For sanity in tallying the vote, can PMC members please be sure to
 indicate
 (binding) with their vote?

 [ ] +1 approve
 [ ] +0 no opinion
 [ ] -1 disapprove (and reason why)

 Regards.



 +1

 Testing done:
   + Successfully upgraded from 5.3.0 to 5.3.1 on Mac OS X
   + Sync works
   + Loading profile on the command line (with -p) works
   + Using param completion when not at the end of line/string works
   + Various daily list/reset/deploy tasks


 --
 Erik





 --
 Regards,
 Rohit Yadav
 Software Architect, ShapeBlue
 M. +91 8826230892 | rohit.ya...@shapeblue.com
 Blog: bhaisaab.org | Twitter: @_bhaisaab
 PS. If you see any footer below, I did not add it :)
 Find out more about ShapeBlue and our range of CloudStack related services

 IaaS Cloud Design 
 Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
 CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
 CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
 CloudStack Software
 Engineeringhttp://shapeblue.com/cloudstack-software-engineering/
 CloudStack Infrastructure
 Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
 CloudStack Bootcamp Training
 Courseshttp://shapeblue.com/cloudstack-training/

 This email and any attachments to it may be confidential and are intended
 solely for the use of the individual to whom it is addressed. Any views or
 opinions expressed are solely those of the author and do not necessarily
 represent those of Shape Blue Ltd or related companies. If you are not the
 intended recipient of this email, you must neither take any action based
 upon its contents, nor copy or show it to anyone. Please contact the sender
 if you believe you have received this email in error. Shape Blue Ltd is a
 company incorporated in England  Wales. ShapeBlue Services India LLP is a
 company incorporated in India and is operated 

Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.1

2014-12-19 Thread Rohit Yadav

Hi Daan,

On Friday 19 December 2014 08:50 PM, Daan Hoogland wrote:

On Fri, Dec 19, 2014 at 4:03 PM, Rohit Yadav rohit.ya...@shapeblue.com wrote:

Hi Daan,

On Friday 19 December 2014 07:23 PM, Daan Hoogland wrote:


Rohit, I am testing against 4.4 simulator, I have tested against
master simulator. seems like I will +1 this before the end of the day.

have now confirmed with 4.4^HEAD and some more monkey testing then on master

+1 (binding)

...

One question though, is there a known issue with the color coding? it
seems to change halfway through words in the output and not be
consistent in the help/error messages. Not a blocker and I may need to
read more but it looks a bit strange.





If you running the CLI as a tool on bash (single query like cloudmonkey
list users), no colors are output (say in a bash script) this is to
avoid printing escape chars (for color) which mess up in bash script
(when people try to grep/sed/awk stuff with the output).


I am running interactive



In case colors are enabled then errors are printed in red color if they
start with Error string. The color scheme is haphazard for anyone (I
set the colors such that they looked best when using Solarized dark
theme on terminal http://ethanschoonover.com/solarized)

Please advise on the color behaviour and any improvements we should have?


it is kind of christmassish and I like it but it seems like to have no
intention to make sense at all. I am using iTerm2 with no special
color configuration.
it seems to be all random coloring to me on regular output, see a
annotated fragment of output below:


id = 6afa0b72-8787-11e4-a3e5-964184d18d4f -- id in red-undelined, '='
in grey and value in yellow
aclid = 6af9e6f6-8787-11e4-a3e5-964184d18d4f -- same scheme
action = Deny -- green, light-blue, grey
cidrlist = 0.0.0.0/0 -- cid- in red-underline/-rlist in grey, '='
grey, '0.' in lightblue/'0.0.0/0' in grey
fordisplay = True
number = 1
protocol = all
state = Active -- 'Active' in purple
tags: -- red-underline
traffictype = Ingress

on error output:
(local)   add host
Missing arguments: password hypervisor podid url username zoneid

'password', 'hypervisor' and 'url' are grey, 'username' is green and
the rest of the line-elements are red-undelined


That's sort of expected. When I wrote the color output (using Pygments)
I thought some parts of the output (things like id, uuids, numbers,
names etc) were more important than others so I gave them different colors.

There are regex rules to decide what color the key or value should
get. It's sort of haphazard indeed (those who are not used to it):
https://github.com/apache/cloudstack-cloudmonkey/blob/master/cloudmonkey/printer.py

I've known this issue since the colors and regex rules are hardcoded in
above since the early days, I think one solution is to allow people plug
their color schemes and (regex) rules, perhaps for future versions.





On Fri, Dec 19, 2014 at 12:01 PM, Erik Weber terbol...@gmail.com wrote:


On Mon, Dec 15, 2014 at 7:10 AM, Rohit Yadav bhais...@apache.org wrote:



Hi All,

I've created a 5.3.1 release of CloudMonkey, with the following
artifacts
up for a vote:

Git Branch and Commit SHA:


https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=shortlog;h=refs/heads/master
Commit: 387f0338f9715f2337a9e10c92d1c76fa5d2a381

List of changes:


https://git-wip-us.apache.org/repos/asf?p=cloudstack-cloudmonkey.git;a=blob_plain;f=CHANGES.md

Source release (checksums and signatures are available at the same
location):
https://dist.apache.org/repos/dist/dev/cloudstack/cloudmonkey-5.3.1/

PGP release keys (signed using key ID 0EE3D884):
https://dist.apache.org/repos/dist/release/cloudstack/KEYS

Vote will be open for 72 hours.

For sanity in tallying the vote, can PMC members please be sure to
indicate
(binding) with their vote?

[ ] +1 approve
[ ] +0 no opinion
[ ] -1 disapprove (and reason why)

Regards.




+1

Testing done:
   + Successfully upgraded from 5.3.0 to 5.3.1 on Mac OS X
   + Sync works
   + Loading profile on the command line (with -p) works
   + Using param completion when not at the end of line/string works
   + Various daily list/reset/deploy tasks


--
Erik







--
Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 8826230892 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab
PS. If you see any footer below, I did not add it :)
Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design 
Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Software
Engineeringhttp://shapeblue.com/cloudstack-software-engineering/
CloudStack Infrastructure
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training

Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.1

2014-12-19 Thread Daan Hoogland
On Fri, Dec 19, 2014 at 4:38 PM, Rohit Yadav rohit.ya...@shapeblue.com
wrote:
...

 One question though, is there a known issue with the color coding? it
 seems to change halfway through words in the output and not be
 consistent in the help/error messages. Not a blocker and I may need to
 read more but it looks a bit strange.




 If you running the CLI as a tool on bash (single query like cloudmonkey
 list users), no colors are output (say in a bash script) this is to
 avoid printing escape chars (for color) which mess up in bash script
 (when people try to grep/sed/awk stuff with the output).


 I am running interactive


 In case colors are enabled then errors are printed in red color if they
 start with Error string. The color scheme is haphazard for anyone (I
 set the colors such that they looked best when using Solarized dark
 theme on terminal http://ethanschoonover.com/solarized)

 Please advise on the color behaviour and any improvements we should have?


 it is kind of christmassish and I like it but it seems like to have no
 intention to make sense at all. I am using iTerm2 with no special
 color configuration.
 it seems to be all random coloring to me on regular output, see a
 annotated fragment of output below:

 
 
 id = 6afa0b72-8787-11e4-a3e5-964184d18d4f -- id in red-undelined, '='
 in grey and value in yellow
 aclid = 6af9e6f6-8787-11e4-a3e5-964184d18d4f -- same scheme
 action = Deny -- green, light-blue, grey
 cidrlist = 0.0.0.0/0 -- cid- in red-underline/-rlist in grey, '='
 grey, '0.' in lightblue/'0.0.0/0' in grey
 fordisplay = True
 number = 1
 protocol = all
 state = Active -- 'Active' in purple
 tags: -- red-underline
 traffictype = Ingress

 on error output:
 (local) [image: ]  add host
 Missing arguments: password hypervisor podid url username zoneid

 'password', 'hypervisor' and 'url' are grey, 'username' is green and
 the rest of the line-elements are red-undelined


 That's sort of expected. When I wrote the color output (using Pygments)
 I thought some parts of the output (things like id, uuids, numbers,
 names etc) were more important than others so I gave them different colors.

 There are regex rules to decide what color the key or value should
 get. It's sort of haphazard indeed (those who are not used to it):
 https://github.com/apache/cloudstack-cloudmonkey/blob/
 master/cloudmonkey/printer.py


​Ok, i had a look, it seems the cid-rlist is a victem of the regexps,
kind-of-a-bug.​




 I've known this issue since the colors and regex rules are hardcoded in
 above since the early days, I think one solution is to allow people plug
 their color schemes and (regex) rules, perhaps for future versions.




  On Fri, Dec 19, 2014 at 12:01 PM, Erik Weber terbol...@gmail.com
 wrote:


 On Mon, Dec 15, 2014 at 7:10 AM, Rohit Yadav bhais...@apache.org
 wrote:



 Hi All,

 I've created a 5.3.1 release of CloudMonkey, with the following
 artifacts
 up for a vote:

 Git Branch and Commit SHA:


 https://git-wip-us.apache.org/repos/asf?p=cloudstack-
 cloudmonkey.git;a=shortlog;h=refs/heads/master
 Commit: 387f0338f9715f2337a9e10c92d1c76fa5d2a381

 List of changes:


 https://git-wip-us.apache.org/repos/asf?p=cloudstack-
 cloudmonkey.git;a=blob_plain;f=CHANGES.md

 Source release (checksums and signatures are available at the same
 location):
 https://dist.apache.org/repos/dist/dev/cloudstack/cloudmonkey-5.3.1/

 PGP release keys (signed using key ID 0EE3D884):
 https://dist.apache.org/repos/dist/release/cloudstack/KEYS

 Vote will be open for 72 hours.

 For sanity in tallying the vote, can PMC members please be sure to
 indicate
 (binding) with their vote?

 [ ] +1 approve
 [ ] +0 no opinion
 [ ] -1 disapprove (and reason why)

 Regards.



 +1

 Testing done:
+ Successfully upgraded from 5.3.0 to 5.3.1 on Mac OS X
+ Sync works
+ Loading profile on the command line (with -p) works
+ Using param completion when not at the end of line/string works
+ Various daily list/reset/deploy tasks


 --
 Erik






 --
 Regards,
 Rohit Yadav
 Software Architect, ShapeBlue
 M. +91 8826230892 | rohit.ya...@shapeblue.com
 Blog: bhaisaab.org | Twitter: @_bhaisaab
 PS. If you see any footer below, I did not add it :)
 Find out more about ShapeBlue and our range of CloudStack related
 services

 IaaS Cloud Design 
 Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
 CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
 CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
 CloudStack Software
 Engineeringhttp://shapeblue.com/cloudstack-software-engineering/
 CloudStack Infrastructure
 Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
 CloudStack Bootcamp Training
 Courseshttp://shapeblue.com/cloudstack-training/

 This email and any attachments to it may be confidential and are intended
 solely for the use of the individual to whom it is addressed. Any 

Re: Potential feature: Firewall comments

2014-12-19 Thread Logan Barfield
On this same note:  Is there currently a way to add DROP rules to the VR
firewall?  I know you can add a default allow egress policy and block
specific things, but that doesn't help for incoming threats.

For instance if you want to allow public access to a web server (port 80),
but want to block a particular attackers IP or subnet.  Right now you have
to set up a second level firewall on the VM itself for this.

Would it be feasible to add a Deny option to the firewall API?


Thank You,

Logan Barfield
Tranquil Hosting

On Mon, Dec 15, 2014 at 11:49 PM, Jayapal Reddy Uradi 
jayapalreddy.ur...@citrix.com wrote:

 +1

 When there are large set of rules, It will be useful.

 Thanks,
 Jayapal
 On 16-Dec-2014, at 4:17 AM, Logan Barfield lbarfi...@tqhosting.com
 wrote:

  Currently in the UI and API it can be difficult to tell what exactly a
  particular firewall rule is being used for.  I know that it is currently
  possible to add tags to firewall rules, but that seems suboptimal from
 an
  ease-of-use standpoint.
 
  Would it be feasible to add a comment or description field for
 firewall
  rules in advanced zones?  It could be added as an extra DB column, and
  appear in the UI and listFirewallRules API call (unless it's left blank).
  In theory the description/comment could also be added to the IPtables
 rule
  on the VR.
 
  This could probably also be applied to security groups.
 
 
  Thoughts, comments?




RE: Reboot of single hypervisor in zone leads to management network exhaustion

2014-12-19 Thread Somesh Naidu
A quick workaround is to disable the zone before rebooting the host.

-Original Message-
From: Nux! [mailto:n...@li.nux.ro] 
Sent: Thursday, December 18, 2014 4:16 AM
To: dev@cloudstack.apache.org
Subject: Re: Reboot of single hypervisor in zone leads to management network 
exhaustion

Heh :-)

There is a workaround, but this should get addressed in the code:
if your only hypervisor is down, stop trying to spin up system vms.

Any takers?

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
 From: sebgoa run...@gmail.com
 To: dev@cloudstack.apache.org
 Sent: Thursday, 18 December, 2014 08:52:22
 Subject: Re: Reboot of single hypervisor in zone leads to management network 
 exhaustion

 On Dec 18, 2014, at 12:43 AM, Nux! n...@li.nux.ro wrote:
 
 I hit this with 4.4.2 and KVM.
 
 The same problem is described here by Daniel, more than a year ago.
 https://issues.apache.org/jira/browse/CLOUDSTACK-4735
 
 Any tips on what to remove from the DB without killing it softly?
 
 Just put the Fugees very loud and it should work :)
 
 Merry christmas.
 
 
 Lucian
 
 --
 Sent from the Delta quadrant using Borg technology!
 
 Nux!
  www.nux.ro


Build failed in Jenkins: build-4.5-noredist #138

2014-12-19 Thread jenkins
See http://jenkins.buildacloud.org/job/build-4.5-noredist/138/changes

Changes:

[jessicawang] CLOUDSTACK-: UI  network  VPC  Router  Public IP 
Addresses  IP Address detailView  Configuration tab  Load Balancing  Select 
VM screen  implement keyword search.

[jessicawang] CLOUDSTACK-: UI  network  VPC  Router  Public IP 
Addresses  IP Address detailView  Configuration tab  Port Forwarding  
Select VM screen  implement keyword search.

--
[...truncated 27061 lines...]
 
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-core/1.0/doxia-core-1.0.pom
 (3 KB at 86.6 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.5.7/plexus-utils-1.5.7.pom
4/8 KB   
8/8 KB   
8/8 KB   
 
Downloaded: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.5.7/plexus-utils-1.5.7.pom
 (8 KB at 342.3 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-site-renderer/1.0/doxia-site-renderer-1.0.pom
4/5 KB   
5/5 KB   
 
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-site-renderer/1.0/doxia-site-renderer-1.0.pom
 (5 KB at 188.0 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-sitetools/1.0/doxia-sitetools-1.0.pom
4/10 KB   
8/10 KB   
10/10 KB   
   
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-sitetools/1.0/doxia-sitetools-1.0.pom
 (10 KB at 425.5 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-decoration-model/1.0/doxia-decoration-model-1.0.pom
4/4 KB 
 
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-decoration-model/1.0/doxia-decoration-model-1.0.pom
 (4 KB at 133.9 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-module-apt/1.0/doxia-module-apt-1.0.pom
3/3 KB   
 
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-module-apt/1.0/doxia-module-apt-1.0.pom
 (3 KB at 95.7 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-modules/1.0/doxia-modules-1.0.pom
3/3 KB   
 
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-modules/1.0/doxia-modules-1.0.pom
 (3 KB at 101.6 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-module-fml/1.0/doxia-module-fml-1.0.pom
3/3 KB   
 
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-module-fml/1.0/doxia-module-fml-1.0.pom
 (3 KB at 97.4 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-module-xdoc/1.0/doxia-module-xdoc-1.0.pom
3/3 KB   
 
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-module-xdoc/1.0/doxia-module-xdoc-1.0.pom
 (3 KB at 99.5 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-module-xhtml/1.0/doxia-module-xhtml-1.0.pom
2/2 KB   
 
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-module-xhtml/1.0/doxia-module-xhtml-1.0.pom
 (2 KB at 67.9 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-doxia-tools/1.0.2/maven-doxia-tools-1.0.2.pom
4/6 KB   
6/6 KB   
 
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-doxia-tools/1.0.2/maven-doxia-tools-1.0.2.pom
 (6 KB at 249.0 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-components/11/maven-shared-components-11.pom
4/9 KB   
8/9 KB   
9/9 KB   
 
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-components/11/maven-shared-components-11.pom
 (9 KB at 354.2 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-archiver/2.1.1/plexus-archiver-2.1.1.pom
3/3 KB   
 
Downloaded: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-archiver/2.1.1/plexus-archiver-2.1.1.pom
 (3 KB at 119.4 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/2.0.3/plexus-io-2.0.3.pom
2/2 KB   
 
Downloaded: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/2.0.3/plexus-io-2.0.3.pom
 (2 KB at 70.5 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/shared/file-management/1.2.1/file-management-1.2.1.pom
4/4 KB   
 
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/shared/file-management/1.2.1/file-management-1.2.1.pom
 (4 KB at 140.4 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-components/10/maven-shared-components-10.pom
4/9 KB   
8/9 KB   
9/9 KB   
 
Downloaded: 

Jenkins build is back to normal : build-4.5-noredist #139

2014-12-19 Thread jenkins
See http://jenkins.buildacloud.org/job/build-4.5-noredist/139/changes



Jenkins build is still unstable: simulator-singlerun #823

2014-12-19 Thread jenkins
See http://jenkins.buildacloud.org/job/simulator-singlerun/changes



Build failed in Jenkins: build-4.5-simulator #140

2014-12-19 Thread jenkins
See http://jenkins.buildacloud.org/job/build-4.5-simulator/140/changes

Changes:

[min.chen] CLOUDSTACK-8101: volume sync not working as expected - MS restart 
during

--
[...truncated 1264 lines...]
[INFO] Compiling 37 source files to 
http://jenkins.buildacloud.org/job/build-4.5-simulator/ws/engine/components-api/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-engine-components-api ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
http://jenkins.buildacloud.org/job/build-4.5-simulator/ws/engine/components-api/test/resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
cloud-engine-components-api ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ 
cloud-engine-components-api ---
[INFO] Surefire report directory: 
http://jenkins.buildacloud.org/job/build-4.5-simulator/ws/engine/components-api/target/surefire-reports

---
 T E S T S
---

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Server 4.5.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-server ---
[INFO] Deleting 
http://jenkins.buildacloud.org/job/build-4.5-simulator/ws/server/target 
(includes = [**/*], excludes = [])
[INFO] Deleting 
http://jenkins.buildacloud.org/job/build-4.5-simulator/ws/server (includes = 
[target, dist], excludes = [])
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-server ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-server 
---
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (generate-resource) @ cloud-server ---
[INFO] Executing tasks

main:
 [copy] Copying 3 files to 
http://jenkins.buildacloud.org/job/build-4.5-simulator/ws/server/target/conf
 [copy] Copying 1 file to 
http://jenkins.buildacloud.org/job/build-4.5-simulator/ws/server/target/conf
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-server ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 30 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-server 
---
[INFO] Compiling 362 source files to 
http://jenkins.buildacloud.org/job/build-4.5-simulator/ws/server/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-server ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 33 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
cloud-server ---
[INFO] Compiling 94 source files to 
http://jenkins.buildacloud.org/job/build-4.5-simulator/ws/server/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ cloud-server ---
[INFO] Surefire report directory: 
http://jenkins.buildacloud.org/job/build-4.5-simulator/ws/server/target/surefire-reports

---
 T E S T S
---
Running com.cloud.event.EventControlsUnitTest
log4j:WARN No appenders could be found for logger 
(com.cloud.event.EventControlsUnitTest).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more 
info.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.7 sec
Running com.cloud.keystore.KeystoreTest
org.apache.cloudstack.api.response.UserVmResponse/null/{id:3,securitygroup:[],nic:[],tags:[],affinitygroup:[]}
org.apache.cloudstack.api.response.AlertResponse/null/{id:100,description:Hello}
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.192 sec
Running com.cloud.alert.AlertControlsUnitTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.052 sec
Running com.cloud.capacity.CapacityManagerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.152 sec
Running com.cloud.servlet.StaticResourceServletTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.144 sec
Running com.cloud.servlet.ConsoleProxyServletTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running com.cloud.resourcelimit.ResourceLimitManagerImplTest
Tests 

missing date string on debian change log on 4.5-RC branch

2014-12-19 Thread Kuang-Ching Wang
Without the date string in the latest update entry dpkg-buildpackage will 
break.  Added a dummy date string and build starts working.

KC

Jenkins build is still unstable: simulator-singlerun #824

2014-12-19 Thread jenkins
See http://jenkins.buildacloud.org/job/simulator-singlerun/changes



Re: Cloudstack Simulator: unable to simulate infrastructure from basic.cfg

2014-12-19 Thread Santhosh Edukulla
Ramzi,

Use the below link to get the simulator up and running tests thereafter.

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Validating+check-ins+for+your+local+changes%2C+using+Simulator

Regards,
Santhosh

On Fri, Dec 19, 2014 at 11:00 PM, Ramzi Youssefi ryouss...@gmail.com wrote:
 Hello everyone,

 Following this documentation:
 http://docs.cloudstack.apache.org/en/latest/developer_guide.html I was
 trying to simulate an infrastructure with the simulator but I get the
 following error:


 ryoussefi@callisto:~/Projects/cloudstack$ mvn -Pdeveloper,marvin.setup
 -Dmarvin.config=setup/dev/basic.cfg -pl :cloud-marvin integration-test
 [INFO] Scanning for projects...
 [INFO]

 [INFO]
 
 [INFO] Building Apache CloudStack marvin 4.6.0-SNAPSHOT
 [INFO]
 
 [INFO]
 [INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @
 cloud-marvin ---
 [INFO] Starting audit...
 Audit done.

 [INFO]
 [INFO] --- gmaven-plugin:1.5:execute (setproperty) @ cloud-marvin ---
 [INFO]
 [INFO] --- exec-maven-plugin:1.2.1:exec (generate-sources) @ cloud-marvin
 ---
 [INFO]
 [INFO] --- maven-remote-resources-plugin:1.3:process (default) @
 cloud-marvin ---
 [INFO]
 [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @
 cloud-marvin ---
 [INFO]
 [INFO] --- exec-maven-plugin:1.2.1:exec (pre-integration-test) @
 cloud-marvin ---
 Usage: deployAndRun.py [options]

 deployAndRun.py: error: no such option: -c
 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 10.415s
 [INFO] Finished at: Fri Dec 19 12:49:36 CET 2014
 [INFO] Final Memory: 42M/294M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (pre-integration-test) on
 project cloud-marvin: Command execution failed. Process exited with an
 error: 2 (Exit value: 2) - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
 switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException


 I have to say as well that the pip command

 pip install tools/marvin/dist/Marvin-4.6.0-SNAPSHOT.tar.gz

 was run with that compressed file and not with Marvin-0.1.0.tar.gz

 Thanks for your help!

 --
 Ramzi Youssefi
 Görlitzer Str. 49
 01099 Dresden, Germany.
 Cell: +49 173 1965465
 Email: ryouss...@gmail.com


Jenkins build is still unstable: simulator-4.5-singlerun #112

2014-12-19 Thread jenkins
See http://jenkins.buildacloud.org/job/simulator-4.5-singlerun/changes



Re: Can't download ISO's can't setup Templates

2014-12-19 Thread Mohamed Infaz
Hi Prashanth,

Yes they are up now. I was trying to use the health check script by trying
to log on to the system vm. But i am unable to connect to the vm it says no
route to host.

Thank you.

On 19 December 2014 at 14:35, Prashant Kumar Mishra 
prashantkumar.mis...@citrix.com wrote:

 System vms are must for download/upload and deploy vm , make sure they are
 up . You can check cwiki for troubleshooting .

 Thanks
 prashant

 On 12/19/14, 9:11 AM, Mohamed Infaz infaz...@cse.mrt.ac.lk wrote:

 Hi All,
 
 Finally i have successfully added a host in to the management server. Now
 to create and instance i am unable to download an ISO image. When i click
 on the sample iso images which is CentOS 5.5(64-bit) no GUI (KVM). It
 shows
 that it is not ready and i also don't see the download status what could
 be
 the issue. I did correctly setup my primary and secondary storages. But i
 dont have a system vm! is it must to run a system vm? And why can't i
 download and iSO image and set up an instance.
 
 Thank you.




Jenkins build is still unstable: simulator-singlerun #825

2014-12-19 Thread jenkins
See http://jenkins.buildacloud.org/job/simulator-singlerun/changes



Build failed in Jenkins: build-master #2091

2014-12-19 Thread jenkins
See http://jenkins.buildacloud.org/job/build-master/2091/

--
[...truncated 139 lines...]
Receiving objects:   2% (10864/543168), 2.43 MiB | 337 KiB/s   
Receiving objects:   2% (12430/543168), 2.72 MiB | 368 KiB/s   
Receiving objects:   2% (14656/543168), 3.29 MiB | 422 KiB/s   
Receiving objects:   3% (16296/543168), 3.55 MiB | 444 KiB/s   
Receiving objects:   3% (17318/543168), 3.89 MiB | 482 KiB/s   
Receiving objects:   3% (20072/543168), 4.49 MiB | 529 KiB/s   
Receiving objects:   4% (21727/543168), 4.89 MiB | 555 KiB/s   
Receiving objects:   4% (22996/543168), 5.22 MiB | 586 KiB/s   
Receiving objects:   4% (26882/543168), 5.66 MiB | 617 KiB/s   
Receiving objects:   5% (27159/543168), 6.03 MiB | 642 KiB/s   
Receiving objects:   5% (30653/543168), 6.50 MiB | 675 KiB/s   
Receiving objects:   6% (32591/543168), 6.87 MiB | 698 KiB/s   
Receiving objects:   6% (34623/543168), 7.37 MiB | 725 KiB/s   
Receiving objects:   7% (38022/543168), 7.77 MiB | 741 KiB/s   
Receiving objects:   8% (43454/543168), 8.29 MiB | 789 KiB/s   
Receiving objects:   8% (43492/543168), 8.29 MiB | 789 KiB/s   
Receiving objects:   9% (48886/543168), 8.69 MiB | 758 KiB/s   
Receiving objects:   9% (50949/543168), 8.69 MiB | 758 KiB/s   
Receiving objects:  10% (54317/543168), 9.11 MiB | 762 KiB/s   
Receiving objects:  10% (57311/543168), 9.41 MiB | 745 KiB/s   
Receiving objects:  11% (59749/543168), 9.66 MiB | 715 KiB/s   
Receiving objects:  11% (65021/543168), 10.00 MiB | 680 KiB/s   
Receiving objects:  12% (65181/543168), 10.00 MiB | 680 KiB/s   
Receiving objects:  13% (70612/543168), 10.37 MiB | 667 KiB/s   
Receiving objects:  13% (72495/543168), 10.37 MiB | 667 KiB/s   
Receiving objects:  14% (76044/543168), 10.75 MiB | 652 KiB/s   
Receiving objects:  14% (80013/543168), 11.07 MiB | 631 KiB/s   
Receiving objects:  15% (81476/543168), 11.49 MiB | 599 KiB/s   
Receiving objects:  16% (86907/543168), 11.49 MiB | 599 KiB/s   
Receiving objects:  16% (89210/543168), 11.93 MiB | 623 KiB/s   
Receiving objects:  17% (92339/543168), 11.93 MiB | 623 KiB/s   
Receiving objects:  18% (97771/543168), 12.40 MiB | 633 KiB/s   
Receiving objects:  18% (98996/543168), 12.40 MiB | 633 KiB/s   
Receiving objects:  19% (103202/543168), 12.89 MiB | 667 KiB/s   
Receiving objects:  20% (108634/543168), 13.27 MiB | 693 KiB/s   
Receiving objects:  20% (11/543168), 13.27 MiB | 693 KiB/s   
Receiving objects:  21% (114066/543168), 13.79 MiB | 742 KiB/s   
Receiving objects:  21% (119305/543168), 14.01 MiB | 719 KiB/s   
Receiving objects:  22% (119497/543168), 14.01 MiB | 719 KiB/s   
Receiving objects:  23% (124929/543168), 14.63 MiB | 713 KiB/s   
Receiving objects:  23% (125548/543168), 14.63 MiB | 713 KiB/s   
Receiving objects:  24% (130361/543168), 14.87 MiB | 689 KiB/s   
Receiving objects:  24% (132108/543168), 15.20 MiB | 674 KiB/s   
Receiving objects:  24% (132773/543168), 15.37 MiB | 319 KiB/s   
Receiving objects:  24% (132809/543168), 15.38 MiB | 161 KiB/s   
Receiving objects:  24% (132857/543168), 15.39 MiB | 23 KiB/s   
Receiving objects:  24% (132958/543168), 15.39 MiB | 13 KiB/s   
Receiving objects:  24% (133048/543168), 15.40 MiB | 10 KiB/s   
Receiving objects:  24% (133118/543168), 15.41 MiB | 7 KiB/s   
Receiving objects:  24% (133220/543168), 15.42 MiB | 5 KiB/s   
Receiving objects:  24% (133307/543168), 15.43 MiB | 3 KiB/s   
Receiving objects:  24% (133388/543168), 15.44 MiB | 1 KiB/s   
Receiving objects:  24% (133479/543168), 15.46 MiB   
Receiving objects:  24% (133479/543168), 15.46 MiB   
Receiving objects:  24% (133538/543168), 15.48 MiB | 2 KiB/s   
Receiving objects:  24% (133585/543168), 15.49 MiB | 4 KiB/s   
Receiving objects:  24% (133627/543168), 15.50 MiB | 2 KiB/s   
Receiving objects:  24% (133658/543168), 15.50 MiB | 2 KiB/s   
Receiving objects:  24% (133699/543168), 15.51 MiB | 2 KiB/s   
Receiving objects:  24% (133770/543168), 15.52 MiB | 2 KiB/s   
Receiving objects:  24% (133890/543168), 15.53 MiB | 2 KiB/s   
Receiving objects:  24% (133988/543168), 15.54 MiB | 2 KiB/s   
Receiving objects:  24% (134050/543168), 15.54 MiB | 2 KiB/s   
Receiving objects:  24% (134122/543168), 15.55 MiB | 1 KiB/s   
Receiving objects:  24% (134185/543168), 15.56 MiB | 1 KiB/s   
Receiving objects:  24% (134230/543168), 15.57 MiB | 2 KiB/s   
Receiving objects:  24% (134257/543168), 15.57 MiB | 2 KiB/s   
Receiving objects:  24% (134312/543168), 15.58 MiB   
Receiving objects:  24% (134367/543168), 15.59 MiB   
Receiving objects:  24% (134409/543168), 15.60 MiB   
Receiving objects:  24% (134476/543168), 15.61 MiB   
Receiving objects:  24% (134571/543168), 15.61 MiB   
Receiving objects:  24% (134634/543168), 15.62 MiB   
Receiving objects:  24% (134731/543168), 15.63 MiB   
Receiving objects:  24% (134814/543168), 15.64 MiB   
Receiving objects:  24% (134888/543168), 15.64 MiB   
Receiving objects:  24% (134919/543168), 15.66 MiB | 4 KiB/s   
Receiving 

Jenkins build is back to normal : build-master #2092

2014-12-19 Thread jenkins
See http://jenkins.buildacloud.org/job/build-master/2092/changes



Jenkins build is still unstable: simulator-singlerun #826

2014-12-19 Thread jenkins
See http://jenkins.buildacloud.org/job/simulator-singlerun/changes