Re: Removes the use local storage for systemvms

2014-12-18 Thread Rohit Yadav
Hi Frank,

On Thu, Dec 18, 2014 at 4:02 AM, Frank Zhang frank.zh...@citrix.com wrote:

 Hi Rohit:

 I see your commit:

 commit d276c0faab0ac4d200714d8eb2081ed1c47f13aa
 Author: Rohit Yadav rohit.ya...@shapeblue.com
 Date:   Mon Dec 8 21:54:31 2014 +0530

 developer: increase disable thresholds global settings for developers

 - Increases the disable thresholds for developers
 - Removes the use local storage for systemvms

 Signed-off-by: Rohit Yadav rohit.ya...@shapeblue.com
 (cherry picked from commit 314e2daccccdbdc34973d039d16817d2d166)
 Signed-off-by: Rohit Yadav rohit.ya...@shapeblue.com


 Is there any reason removing ' 'system.vm.use.local.storage' global
 setting? Is developer/developer-prefill.sql only for developers ?


developer/developer-prefill.sql runs only for developers when they do
deploydb using maven. This commit increases the cpu/mem/storage thresholds
for developers who may be using DevCloud or related resource constraint
testing platforms and removes forcing them to use local storage for
systemvms (the disk space of devcloud is limited, they are using NFS for
VMs anyway so not forcing it for systemvms by default).

Regards.


CLOUDSTACK-6543 Sorting the domain list in UI

2014-12-18 Thread Remi Bergsma
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/af3a7755a26e13d36a3600f16acac61085a1fa50
This I have verified works well.

Then did a search and altered the others as well:
https://github.com/remibergsma/cloudstack/commit/f0a2e09df4b9887d771250dc8682739b8728952b
This I still need to test/verify.

Before I proceed, could you let me know if this is the way to fix it (without 
refactoring the whole thing into a single shared function).

Thanks,
Remi



Jenkins build is still unstable: simulator-singlerun #807

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



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

2014-12-18 Thread sebgoa

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



Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.1

2014-12-18 Thread Rohit Yadav

+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.


Re: [VOTE] Apache Cloudstack 4.3.2

2014-12-18 Thread Rohit Yadav

+1

- Tested against DevCloud/KVM and baremetal server
- Tested basic VM lifecycles, deployed basic and advanced zone as per
release test procedure wiki
- Manual QA isolated, shared networks and VPC
- Upgraded a production ACS 4.3.1 deployment to 4.3.2, running without
hiccups for last three days

On Monday 15 December 2014 02:56 PM, Rohit Yadav wrote:

Hi All,

I've created a CloudStack 4.3.2 release, with the following artifacts up
for a vote:

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

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

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

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

For release testing procedure, please refer:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Release+test+procedure

Building from source is encouraged but for those people who are not able to
build from source, a deb/rpm repository built out of this artifact is
available for your test participation:
http://packages.bhaisaab.org/cloudstack/testing/

To encourage participation instead of the usual 72 hours window the vote
will be open for 120 hours (5 days) and includes users MLs.

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,
Rohit Yadav



--
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: ACS 4.4.1 How reinstall vm working within Xenserver 6.2.0

2014-12-18 Thread Yitao Jiang
After changed the value of  storage.cleanup.interval to 1, the volumn got
expunged.


---
Thanks,
Yitao(依涛 姜)
jiangyt.github.io

On Wed, Dec 17, 2014 at 2:55 PM, Yitao Jiang willier...@gmail.com wrote:

 Yes,Removed column is null.

 I'll check later to see whether its still exist.


 ---
 Thanks,
 Yitao(依涛 姜)
 jiangyt.github.io

 On Wed, Dec 17, 2014 at 12:35 AM, Somesh Naidu somesh.na...@citrix.com
 wrote:

  Besides the state of root volume is Destroy

 What about the removed column for that volume? Does that have a date or
 it's null?

  Is it a bug or missing something?
 It might be a bug if at some point the storage GC doesn't clean up this
 volume.

 -Original Message-
 From: Yitao Jiang [mailto:willier...@gmail.com]
 Sent: Tuesday, December 16, 2014 9:17 AM
 To: dev@cloudstack.apache.org
 Subject: ACS 4.4.1 How reinstall vm working within Xenserver 6.2.0

 Hi,
 I wonder how reinstall vm working now with ACS 4.4.1.

 I just reinstall a vm launched from template.It work successfully.
 But within Xencenter , There are two same Root volumes of reinstalled vm.
 Obviously, the former volume didn't expunged,Besides the state of root
 volume is Destroy
 Is it a bug or missing something?

 ---
 Thanks,
 Yitao(依涛 姜)
 jiangyt.github.io




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

2014-12-18 Thread Nux!
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


Review Request 29201: CLOUDSTACK-8089: Fixed test_explicit_dedication.py test case and moved to maint folder for it is to be run separately

2014-12-18 Thread Gaurav Aradhye

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

Review request for cloudstack and SrikanteswaraRao Talluri.


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


Repository: cloudstack-git


Description
---

This is extension of patch submitted by Saksham: 
https://reviews.apache.org/r/13560/diff/#

Imroved the code further and also moved the test case to maint folder because 
it needs to be run separately.


Diffs
-

  test/integration/component/maint/test_explicit_dedication.py PRE-CREATION 
  test/integration/component/test_explicit_dedication.py 71c4141 

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


Testing
---

Yes.

Log:
Test explicit dedication is placing vms of an account on dedicated hosts. ... 
=== TestName: test_01_deploy_vm_with_explicit_dedication | Status : SUCCESS ===
ok

--
Ran 1 test in 258.255s

OK


Thanks,

Gaurav Aradhye



hyper-v VR does not have management network

2014-12-18 Thread 穆凯辉
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
nic_macs=02:00:3d:47:00:02|02:00:40:6f:00:06|06:96:80:00:00:37|02:00:48:ab:0
0:1a|02:00:18:2f:00:1b|02:00:78:3c:00:1c|02:00:1b:aa:00:1d|02:00:79:37:00:1e
,rebootOnCrash:false,enableHA:true,limitCpuUse:false,enableDynamical
lyScaleVm:false,vncPassword:aa9ef9b5fb278d27,params:{},uuid:af08f8
42-49a9-4c24-8eb9-9e8fb89aea7c,disks:[{data:{org.apache.cloudstack.sto
rage.to.VolumeObjectTO:{uuid:22b14554-2172-4502-a125-4b2a4e0228c1,volu
meType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataSto
reTO:{uuid:88e26dcb-f058-36a7-a616-1f876b837977,id:4,poolType:SMB
,host:192.168.10.6,path:/primary?user=cloudadmindomain=cloud,port
:445,url:SMB://192.168.10.6/primary?user=cloudadmindomain=cloud/?ROLE=Pr
imarySTOREUUID=88e26dcb-f058-36a7-a616-1f876b837977}},name:ROOT-27,si
ze:1124355072,path:22b14554-2172-4502-a125-4b2a4e0228c1,volumeId:28,
vmName:r-27-VM,accountId:2,format:VHD,id:28,deviceId:0,hypervi
sorType:Hyperv}},diskSeq:0,path:22b14554-2172-4502-a125-4b2a4e0228c1
,type:ROOT,_details:{managed:false,storagePort:445,storageHo
st:192.168.10.6,volumeSize:1124355072}}],nics:[{deviceId:2,netwo
rkRateMbps:200,defaultNic:true,uuid:be7dc9f2-eff8-4a7e-8229-ffb3be8f04
af,ip:192.168.20.154,netmask:255.255.255.0,gateway:192.168.20.25
4,mac:06:96:80:00:00:37,dns1:61.177.7.1,dns2:192.168.10.3,broa
dcastType:Vlan,type:Public,broadcastUri:vlan://untagged,isolatio
nUri:vlan://untagged,isSecurityGroupEnabled:false,name:public},{de
viceId:0,networkRateMbps:200,defaultNic:false,uuid:b31abe5f-5f6d-414
3-9581-05f7ab68906a,ip:10.1.1.1,netmask:255.255.255.0,mac:02:00:
3d:47:00:02,dns1:61.177.7.1,dns2:192.168.10.3,broadcastType:Vlan
,type:Guest,broadcastUri:vlan://397,isolationUri:vlan://397,is
SecurityGroupEnabled:false,name:guest},{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},{deviceId:3,networkRateMbps:-1,defaultNic:false,ip:0
.0.0.0,netmask:255.255.255.255,gateway:192.168.20.254,mac:02:00:
48:ab:00:1a,dns1:61.177.7.1,dns2:192.168.10.3,broadcastType:Vlan
,type:Public,broadcastUri:vlan://untagged,isolationUri:vlan://un
tagged,isSecurityGroupEnabled:false,name:public},{deviceId:4,netwo
rkRateMbps:-1,defaultNic:false,ip:0.0.0.0,netmask:255.255.255.255
,gateway:192.168.20.254,mac:02:00:18:2f:00:1b,dns1:61.177.7.1,d
ns2:192.168.10.3,broadcastType:Vlan,type:Public,broadcastUri:v
lan://untagged,isolationUri:vlan://untagged,isSecurityGroupEnabled:fa
lse,name:public},{deviceId:5,networkRateMbps:-1,defaultNic:false,
ip:0.0.0.0,netmask:255.255.255.255,gateway:192.168.20.254,mac:
02:00:78:3c:00:1c,dns1:61.177.7.1,dns2:192.168.10.3,broadcastType
:Vlan,type:Public,broadcastUri:vlan://untagged,isolationUri:vla
n://untagged,isSecurityGroupEnabled:false,name:public},{deviceId:6,
networkRateMbps:-1,defaultNic:false,ip:0.0.0.0,netmask:255.255.25
5.255,gateway:192.168.20.254,mac:02:00:1b:aa:00:1d,dns1:61.177.7
.1,dns2:192.168.10.3,broadcastType:Vlan,type:Public,broadcastU
ri:vlan://untagged,isolationUri:vlan://untagged,isSecurityGroupEnabl
ed:false,name:public},{deviceId:7,networkRateMbps:-1,defaultNic:f
alse,ip:0.0.0.0,netmask:255.255.255.255,gateway:192.168.20.254,
mac:02:00:79:37:00:1e,dns1:61.177.7.1,dns2:192.168.10.3,broadcas
tType:Vlan,type:Public,broadcastUri:vlan://untagged,isolationUri
:vlan://untagged,isSecurityGroupEnabled:false,name:public}]},conte
xtMap:{}}}]

 

 

Yesterday we used vmware exsi as the hypervisor for cloudstack 4.4.1. The
ssvm, cpvm and VR vm all start successfully. And we can create vm instance
in vmware exsi hosts.

Today we use the same advanced network configuration, and just change the
vmware esxi to hyper-v 2012 r2. So we also checked the “right” logs for VR
vm creating in 

Jenkins build is still unstable: simulator-singlerun #808

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



Review Request 29202: CLOUDSTACK-8090: Moving test_dedicated_guest_vlan_ranges.py to maint folder for the test cases need to be run separately, serially

2014-12-18 Thread Gaurav Aradhye

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

Review request for cloudstack and SrikanteswaraRao Talluri.


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


Repository: cloudstack-git


Description
---

The test cases need to be run separately as they create vlan ranges, and 
dedicated them to an account/project. In between the vlans should not get 
consumed by other account. Else test cases will fail like following

Execute cmd: dedicateguestvlanrange failed, due to: errorCode: 431, 
errorText:Guest vlan from this range 3390 is allocated to a different account. 
Can only dedicate a range which has no allocated vlans or has vlans allocated 
to the same account


Diffs
-

  test/integration/component/maint/test_dedicate_guest_vlan_ranges.py 
PRE-CREATION 
  test/integration/component/test_dedicate_guest_vlan_ranges.py 9a0e7f0 

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


Testing
---

N/A


Thanks,

Gaurav Aradhye



RE: CLOUDSTACK-6543 Sorting the domain list in UI

2014-12-18 Thread Gabor Apati-Nagy
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] 
Sent: 18 December 2014 08:40
To: dev@cloudstack.apache.org
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/af3a7755a26e13d36a3600f16acac61085a1fa50
This I have verified works well.

Then did a search and altered the others as well:
https://github.com/remibergsma/cloudstack/commit/f0a2e09df4b9887d771250dc8682739b8728952b
This I still need to test/verify.

Before I proceed, could you let me know if this is the way to fix it (without 
refactoring the whole thing into a single shared function).

Thanks,
Remi



Jenkins build is still unstable: simulator-singlerun #809

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



merge back 4.5 to master

2014-12-18 Thread Daan Hoogland
H devs,

I submitted a fix in 4.5 that I want to merge to master in a few
minutes. please stop me if you are in progress of a similar action.

-- 
Daan


Re: CLOUDSTACK-6543 Sorting the domain list in UI

2014-12-18 Thread Andrija Panic
+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
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]
 Sent: 18 December 2014 08:40
 To: dev@cloudstack.apache.org
 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/af3a7755a26e13d36a3600f16acac61085a1fa50
 This I have verified works well.

 Then did a search and altered the others as well:

 https://github.com/remibergsma/cloudstack/commit/f0a2e09df4b9887d771250dc8682739b8728952b
 This I still need to test/verify.

 Before I proceed, could you let me know if this is the way to fix it
 (without refactoring the whole thing into a single shared function).

 Thanks,
 Remi



-- 

Andrija Panić


Re: Review Request 13560: CLOUDSTACK-4021 : Update the test test_explicit_dedication.py according to new changes to dedicated resources

2014-12-18 Thread Saksham Srivastava


 On Dec. 1, 2014, 3:33 a.m., Pierre-Luc Dion wrote:
  Is this still valid? could it be possible to resubmit a new patch from 
  master that remove conflict? 
  
  thanks

Yes this is still valid.
https://reviews.apache.org/r/29201/diff/ will address the issue.
Closing the current review request.


- Saksham


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


On Jan. 17, 2014, 11:06 a.m., Saksham Srivastava wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/13560/
 ---
 
 (Updated Jan. 17, 2014, 11:06 a.m.)
 
 
 Review request for cloudstack, Devdeep Singh, Girish Shilamkar, Prachi Damle, 
 and Rayees Namathponnan.
 
 
 Bugs: CLOUDSTACK-4021
 https://issues.apache.org/jira/browse/CLOUDSTACK-4021
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 test_explicit_dedication.py need to modified according to the new changes to 
 dedicate resources feature.
 Now dedicate a host first and use the created affinity group to deploy vm.
 
 
 Diffs
 -
 
   test/integration/component/test_explicit_dedication.py 7aefc21 
   tools/marvin/marvin/integration/lib/common.py 550de1a 
 
 Diff: https://reviews.apache.org/r/13560/diff/
 
 
 Testing
 ---
 
 test runs successfully whenever an empty host is found.
 
 
 Thanks,
 
 Saksham Srivastava
 




Build failed in Jenkins: simulator-4.5-singlerun #106

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

Changes:

[Daan Hoogland] CLOUDSTACK-7184 config value for xen heartbeat timeout

--
[...truncated 8608 lines...]
[INFO] Building Apache CloudStack DevCloud-KVM 4.5.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-devcloud-kvm ---
[INFO] Deleting 
http://jenkins.buildacloud.org/job/simulator-4.5-singlerun/ws/tools/devcloud-kvm/target
 (includes = [**/*], excludes = [])
[INFO] Deleting 
http://jenkins.buildacloud.org/job/simulator-4.5-singlerun/ws/tools/devcloud-kvm
 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-devcloud-kvm ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-devcloud-kvm ---
[INFO] 
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ 
cloud-devcloud-kvm ---
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ 
cloud-devcloud-kvm ---
[INFO] Installing 
http://jenkins.buildacloud.org/job/simulator-4.5-singlerun/ws/tools/devcloud-kvm/pom.xml
 to 
/var/lib/jenkins/.m2/repository/org/apache/cloudstack/cloud-devcloud-kvm/4.5.0-SNAPSHOT/cloud-devcloud-kvm-4.5.0-SNAPSHOT.pom
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration  SUCCESS 
[4.597s]
[INFO] Apache CloudStack . SUCCESS [3.671s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [2.167s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [5.029s]
[INFO] Apache CloudStack Utils ... SUCCESS [22.798s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.149s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [10.624s]
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [5.739s]
[INFO] Apache CloudStack API . SUCCESS [24.634s]
[INFO] Apache CloudStack Framework - REST  SUCCESS [3.871s]
[INFO] Apache CloudStack Framework - IPC . SUCCESS [6.552s]
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.585s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [6.301s]
[INFO] Apache CloudStack Framework - Security  SUCCESS [3.337s]
[INFO] Apache CloudStack Core  SUCCESS [28.959s]
[INFO] Apache CloudStack Agents .. SUCCESS [13.281s]
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [4.233s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [2.438s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [21.633s]
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [8.832s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [3.983s]
[INFO] Apache CloudStack Server .. SUCCESS [1:10.794s]
[INFO] Apache CloudStack Usage Server  SUCCESS [12.462s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS [13.044s]
[INFO] Apache CloudStack Cloud Services .. SUCCESS [0.075s]
[INFO] Apache CloudStack Secondary Storage ... SUCCESS [1.483s]
[INFO] Apache CloudStack Secondary Storage Service ... SUCCESS [7.663s]
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [9.814s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [5.737s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [3.983s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [3.457s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [3.074s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [9.645s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [2.728s]
[INFO] Apache CloudStack Cloud Engine Service  SUCCESS [7.439s]
[INFO] Apache CloudStack Plugin POM .. SUCCESS [1.112s]
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [8.486s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[3.080s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS 
[6.238s]
[INFO] Apache CloudStack Plugin - API SolidFire .. SUCCESS [3.422s]
[INFO] Apache CloudStack Plugin - API Discovery .. SUCCESS [6.327s]
[INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [3.031s]
[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor  SUCCESS [3.133s]
[INFO] Apache CloudStack Plugin - Explicit Dedication Processor  SUCCESS 
[3.339s]
[INFO] Apache CloudStack Plugin - User 

Re: CLOUDSTACK-6543 Sorting the domain list in UI

2014-12-18 Thread Remi Bergsma
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 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
 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]
 Sent: 18 December 2014 08:40
 To: dev@cloudstack.apache.org
 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/af3a7755a26e13d36a3600f16acac61085a1fa50
 This I have verified works well.
 
 Then did a search and altered the others as well:
 
 https://github.com/remibergsma/cloudstack/commit/f0a2e09df4b9887d771250dc8682739b8728952b
 This I still need to test/verify.
 
 Before I proceed, could you let me know if this is the way to fix it
 (without refactoring the whole thing into a single shared function).
 
 Thanks,
 Remi
 
 
 
 -- 
 
 Andrija Panić



Build failed in Jenkins: simulator-singlerun #810

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

Changes:

[talluri] CLOUDSTACK-8053: Fix loop termination - test_vpc_host_maintenance.py

[talluri] CLOUDSTACK-8049: Tagging test cases which cannot be run on simulator 
accordingly

[talluri] CLOUDSTACK-8048: Fix test_ss_limits.py

[jayapal] CLOUDSTACK-8030: Updated router to come up egress default ALLOW

[Rohit Yadav] CLOUDSTACK-7974: remove old hostname entry for a VM when adding a 
VM

[talluri] CLOUDSTACK-8057: test_dedicate_guest_vlan_range.py - Marking a test 
as invalid

[talluri] CLOUDSTACK-8059: test_host_high_availability.py - Adding necessary 
code to check the hosts in cluster and update the host with appropriate tags to 
make it HA enabled

[Rohit Yadav] CLOUDSTACK-8014: Fix NPE searching including removed templates

[w.zhou] CLOUDSTACK-2823: pass cmdline info to system vms for 30 times

[talluri] CLOUDSTACK-8062: test_multiple_ip_ranges.py - Fix the test case to 
avoid using same vlan IP range in each test case

[talluri] CLOUDSTACK:8018: Fix test_redundant_router.test_redundantVR_internals 
- The SSH to router was being done from wrong host

[talluri] CLOUDSTACK:8058: Fix test_reset_ssh_keypair.py for EIP setup

[min.chen] CLOUDSTACK-8061: Extracting volume when it is in migrating state 
causes

[w.zhou] CLOUDSTACK-255: fix NPE in createPortForwardingRule due to no 
PortForwarding provider

[talluri] CLOUDSTACK-8055: Tagging test cases which can't be run on simulator 
accordingly

[talluri] CLOUDSTACK-8068: Fixing test script issue in test_ps_project_limits.py

[talluri] CLOUDSTACK-8055: Tagging test cases which can't be run on simulator 
accordingly

[talluri] CLOUDSTACK-8069: Fixed test script in test_tags.py

[Rohit Yadav] CLOUDSTACK-8067: Fixed NPEs in MS log related to console proxy VM

[Rohit Yadav] CLOUDSTACK-8070: Upgrade router.ram.size using encryption util

[jayapal] CLOUDSTACK-8072: Fixed NPE in deleting default ACL items in default 
ACL

[mike.tutkowski] When deleting primary storage that's based on the 
SolidFireShared plug-in (which uses a shared-IOPS approach), remove the volume 
from the volume access group it's in

[Daan Hoogland] use directIO flags when dd'ing template

[jessicawang] CLOUDSTACK-8076: UI  Templates menu  Template/ISO  Filter by 
dropdown  add a new option, shared, which will list shared templates when 
being selected.

[brian.federle] CLOUDSTACK-8075: Front-end support for shared templates/ISOs

[jessicawang] CLOUDSTACK-8075: UI  Instances menu  Add Instance  Select 
template/ISO  add a new tab shared which will list shared templates/ISOs 
when being clicked.

[min.chen] CLOUDSTACK-8077: Not able to deploy VM using a shared template.

[talluri] CLOUDSTACK-8074: Fixed maint/test_multiple_ip_ranges.py

[talluri] CLOUDSTACK-8081: Fixed VM snapshot test cases in 
test_escalation_instances.py and also dealt cleanup issues

[talluri] CLOUDSTACK-8055: test_portable_ip.py - Tagging test case which can't 
be run on simulator

[talluri] CLOUDSTACK-8071: Fixed api key issue in test_snapshots_improvement.py

[jessicawang] CLOUDSTACK-8075: UI  Instances menu  Add Instance  Select 
template/ISO  shared tab  select a shared template, click Next button = 
fix error unable to find matched template object.

[prachi.damle] CLOUDSTACK-8079: If the cluster capacity threshold is reached, 
HA-enabled VM is not migrated on another host during HA

[prachi.damle] CLOUDSTACK-8078: [Automation] Deletion of Affinity Groups - 
CloudRuntimeException: No Event Pubish can be wrapped within DB Transaction!

[prachi.damle] CLOUDSTACK-8022: [Automation] Deletion of Domain with Cleanup 
set to true fails

[sudison] add event for volume migration

[sudison] if local storage is in maitenance mode or removed, won't change its

[sudison] if concurrent snapshot happening on the same vm, throw invalid 
parameter

[Daan Hoogland] CLOUDSTACK-7184 config value for xen heartbeat timeout

--
[...truncated 8728 lines...]
[INFO] Building Apache CloudStack DevCloud-KVM 4.6.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-devcloud-kvm ---
[INFO] Deleting 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/tools/devcloud-kvm/target
 (includes = [**/*], excludes = [])
[INFO] Deleting 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/tools/devcloud-kvm 
(includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-devcloud-kvm ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-devcloud-kvm ---
[INFO] 
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ 
cloud-devcloud-kvm ---
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ 
cloud-devcloud-kvm ---
[INFO] Installing 

Build failed in Jenkins: simulator-singlerun #811

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

Changes:

[saksham.srivastava] CLOUDSTACK-8091: Stale entry exists for a VM NIC even 
after an exception while adding a new nic to vm

--
[...truncated 8733 lines...]
[INFO] Building Apache CloudStack DevCloud-KVM 4.6.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-devcloud-kvm ---
[INFO] Deleting 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/tools/devcloud-kvm/target
 (includes = [**/*], excludes = [])
[INFO] Deleting 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/tools/devcloud-kvm 
(includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-devcloud-kvm ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-devcloud-kvm ---
[INFO] 
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ 
cloud-devcloud-kvm ---
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ 
cloud-devcloud-kvm ---
[INFO] Installing 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/tools/devcloud-kvm/pom.xml
 to 
/var/lib/jenkins/.m2/repository/org/apache/cloudstack/cloud-devcloud-kvm/4.6.0-SNAPSHOT/cloud-devcloud-kvm-4.6.0-SNAPSHOT.pom
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration  SUCCESS 
[2.622s]
[INFO] Apache CloudStack . SUCCESS [2.569s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [0.961s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [4.498s]
[INFO] Apache CloudStack Utils ... SUCCESS [22.028s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.071s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [10.538s]
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [5.935s]
[INFO] Apache CloudStack API . SUCCESS [22.621s]
[INFO] Apache CloudStack Framework - REST  SUCCESS [3.521s]
[INFO] Apache CloudStack Framework - IPC . SUCCESS [6.015s]
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.056s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [7.256s]
[INFO] Apache CloudStack Framework - Security  SUCCESS [3.582s]
[INFO] Apache CloudStack Core  SUCCESS [29.869s]
[INFO] Apache CloudStack Agents .. SUCCESS [9.384s]
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [5.150s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [2.857s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [21.000s]
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [8.038s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [4.185s]
[INFO] Apache CloudStack Server .. SUCCESS [59.616s]
[INFO] Apache CloudStack Usage Server  SUCCESS [9.977s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS [13.084s]
[INFO] Apache CloudStack Cloud Services .. SUCCESS [0.047s]
[INFO] Apache CloudStack Secondary Storage ... SUCCESS [0.412s]
[INFO] Apache CloudStack Secondary Storage Service ... SUCCESS [7.600s]
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [10.040s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [5.909s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [4.175s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [3.872s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [3.639s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [9.767s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [2.582s]
[INFO] Apache CloudStack Cloud Engine Service  SUCCESS [7.042s]
[INFO] Apache CloudStack Plugin POM .. SUCCESS [1.363s]
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [9.051s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[3.070s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS 
[6.800s]
[INFO] Apache CloudStack Plugin - API SolidFire .. SUCCESS [3.700s]
[INFO] Apache CloudStack Plugin - API Discovery .. SUCCESS [6.019s]
[INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [2.827s]
[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor  SUCCESS [2.987s]
[INFO] Apache CloudStack Plugin - Explicit Dedication Processor  SUCCESS 
[3.618s]
[INFO] Apache 

Re: [VOTE] Apache Cloudstack 4.3.2

2014-12-18 Thread Ian Duffy
+1 (binding)

Tested with devcloud4/xenserver 6.2
On 18 Dec 2014 09:04, Rohit Yadav rohit.ya...@shapeblue.com wrote:

 +1

 - Tested against DevCloud/KVM and baremetal server
 - Tested basic VM lifecycles, deployed basic and advanced zone as per
 release test procedure wiki
 - Manual QA isolated, shared networks and VPC
 - Upgraded a production ACS 4.3.1 deployment to 4.3.2, running without
 hiccups for last three days

 On Monday 15 December 2014 02:56 PM, Rohit Yadav wrote:

 Hi All,

 I've created a CloudStack 4.3.2 release, with the following artifacts up
 for a vote:

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

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

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

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

 For release testing procedure, please refer:
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/
 Release+test+procedure

 Building from source is encouraged but for those people who are not able
 to
 build from source, a deb/rpm repository built out of this artifact is
 available for your test participation:
 http://packages.bhaisaab.org/cloudstack/testing/

 To encourage participation instead of the usual 72 hours window the vote
 will be open for 120 hours (5 days) and includes users MLs.

 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,
 Rohit Yadav


 --
 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] Apache Cloudstack 4.3.2

2014-12-18 Thread Abhinandan Prateek
+1

Tested VM lifecycle
Deployed advanced zone w/o sec group with single XenServer
Volume and VM snapshots for XenServer
Account creation and deletion
Storage tags

Have been running 4.3 for around 4 days without issues.

-abhi

 On 18-Dec-2014, at 2:33 pm, Rohit Yadav rohit.ya...@shapeblue.com wrote:

 +1

 - Tested against DevCloud/KVM and baremetal server
 - Tested basic VM lifecycles, deployed basic and advanced zone as per
 release test procedure wiki
 - Manual QA isolated, shared networks and VPC
 - Upgraded a production ACS 4.3.1 deployment to 4.3.2, running without
 hiccups for last three days

 On Monday 15 December 2014 02:56 PM, Rohit Yadav wrote:
 Hi All,

 I've created a CloudStack 4.3.2 release, with the following artifacts up
 for a vote:

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

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

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

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

 For release testing procedure, please refer:
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Release+test+procedure

 Building from source is encouraged but for those people who are not able to
 build from source, a deb/rpm repository built out of this artifact is
 available for your test participation:
 http://packages.bhaisaab.org/cloudstack/testing/

 To encourage participation instead of the usual 72 hours window the vote
 will be open for 120 hours (5 days) and includes users MLs.

 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,
 Rohit Yadav


 --
 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.

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 

Build failed in Jenkins: simulator-singlerun #812

2014-12-18 Thread jenkins
See http://jenkins.buildacloud.org/job/simulator-singlerun/812/

--
[...truncated 8730 lines...]
[INFO] Building Apache CloudStack DevCloud-KVM 4.6.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-devcloud-kvm ---
[INFO] Deleting 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/tools/devcloud-kvm/target
 (includes = [**/*], excludes = [])
[INFO] Deleting 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/tools/devcloud-kvm 
(includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-devcloud-kvm ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-devcloud-kvm ---
[INFO] 
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ 
cloud-devcloud-kvm ---
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ 
cloud-devcloud-kvm ---
[INFO] Installing 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/tools/devcloud-kvm/pom.xml
 to 
/var/lib/jenkins/.m2/repository/org/apache/cloudstack/cloud-devcloud-kvm/4.6.0-SNAPSHOT/cloud-devcloud-kvm-4.6.0-SNAPSHOT.pom
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration  SUCCESS 
[2.770s]
[INFO] Apache CloudStack . SUCCESS [5.145s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [2.235s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [8.328s]
[INFO] Apache CloudStack Utils ... SUCCESS [22.556s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.080s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [10.273s]
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [5.877s]
[INFO] Apache CloudStack API . SUCCESS [22.201s]
[INFO] Apache CloudStack Framework - REST  SUCCESS [3.462s]
[INFO] Apache CloudStack Framework - IPC . SUCCESS [5.882s]
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.059s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [7.178s]
[INFO] Apache CloudStack Framework - Security  SUCCESS [3.353s]
[INFO] Apache CloudStack Core  SUCCESS [28.382s]
[INFO] Apache CloudStack Agents .. SUCCESS [9.475s]
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [4.275s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [2.822s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [20.135s]
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [9.033s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [3.907s]
[INFO] Apache CloudStack Server .. SUCCESS [1:05.405s]
[INFO] Apache CloudStack Usage Server  SUCCESS [9.108s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS [13.031s]
[INFO] Apache CloudStack Cloud Services .. SUCCESS [0.048s]
[INFO] Apache CloudStack Secondary Storage ... SUCCESS [0.340s]
[INFO] Apache CloudStack Secondary Storage Service ... SUCCESS [7.286s]
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [9.703s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [6.277s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [3.994s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [3.603s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [3.316s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [9.701s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [2.941s]
[INFO] Apache CloudStack Cloud Engine Service  SUCCESS [6.476s]
[INFO] Apache CloudStack Plugin POM .. SUCCESS [1.692s]
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [8.581s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[3.411s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS 
[7.351s]
[INFO] Apache CloudStack Plugin - API SolidFire .. SUCCESS [3.253s]
[INFO] Apache CloudStack Plugin - API Discovery .. SUCCESS [5.824s]
[INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [3.577s]
[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor  SUCCESS [3.115s]
[INFO] Apache CloudStack Plugin - Explicit Dedication Processor  SUCCESS 
[3.133s]
[INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment Planner  
SUCCESS [3.163s]
[INFO] Apache CloudStack Plugin - User Dispersing Deployment 

Re: Deploy new VM - click on Finish - nothing happens !

2014-12-18 Thread Alexey Samarin
Well, yes!

Аfter an attempt to create a VM, in the Web console appears - the element is
not found.

Thanks!

2014-12-17 17:11 GMT+03:00 Andrija Panic andrija.pa...@gmail.com:

 Alex,

 After you have the error - please imiddiately right-click anywehre on page
 -- inspect element, switch to CONSOLE tab, and there you should see your
 error together with URL executed - so if you can confirm the error that I
 have - that would be great.

 thx

 On 17 December 2014 at 15:07, Alexey Samarin nrg3...@gmail.com wrote:
 
  Hi,
  I also have this bug, and if create vm from the user admin - no problem.
  But
  when I try to create the VM as a regular user - nothing happens, nothing
 in
  the logs also.
  CS version: 4.4.1
 
  Thanks!
 
  2014-12-17 14:31 GMT+03:00 Stephen Turner stephen.tur...@citrix.com:
  
   I've responded on the ticket.
  
   --
   Stephen Turner
  
  
   -Original Message-
   From: Andrija Panic [mailto:andrija.pa...@gmail.com]
   Sent: 17 December 2014 09:28
   To: dev@cloudstack.apache.org; us...@cloudstack.apache.org
   Subject: Deploy new VM - click on Finish - nothing happens !
  
   Hi,
  
   I managed to capture some (bug?) - you start new VM wizard, click all
 the
   way through the end, and after pressing the FINISH button - simply
  nothing
   happens, no spining weel in UI, nothing...
  
   Here is my comment - please check this - seems pretty annoying for end
   user...
  
  
  
 
 https://issues.apache.org/jira/browse/CLOUDSTACK-7907?focusedCommentId=14249648page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14249648
  
   Thanks
   --
  
   Andrija Panić
  
 


 --

 Andrija Panić



Re: Deploy new VM - click on Finish - nothing happens !

2014-12-18 Thread Alexey Samarin
Hi,
I also have this bug, and if create vm from the user admin - no problem. But
when I try to create the VM as a regular user - nothing happens, nothing in
the logs also.
CS version: 4.4.1

Thanks!

2014-12-17 14:31 GMT+03:00 Stephen Turner stephen.tur...@citrix.com:

 I've responded on the ticket.

 --
 Stephen Turner


 -Original Message-
 From: Andrija Panic [mailto:andrija.pa...@gmail.com]
 Sent: 17 December 2014 09:28
 To: dev@cloudstack.apache.org; us...@cloudstack.apache.org
 Subject: Deploy new VM - click on Finish - nothing happens !

 Hi,

 I managed to capture some (bug?) - you start new VM wizard, click all the
 way through the end, and after pressing the FINISH button - simply nothing
 happens, no spining weel in UI, nothing...

 Here is my comment - please check this - seems pretty annoying for end
 user...


 https://issues.apache.org/jira/browse/CLOUDSTACK-7907?focusedCommentId=14249648page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14249648

 Thanks
 --

 Andrija Panić



RE: hyper-v VR does not have management network

2014-12-18 Thread Rajesh Battala
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
nic_macs=02:00:3d:47:00:02|02:00:40:6f:00:06|06:96:80:00:00:37|02:00:48:ab:0
0:1a|02:00:18:2f:00:1b|02:00:78:3c:00:1c|02:00:1b:aa:00:1d|02:00:79:37:00:1e
,rebootOnCrash:false,enableHA:true,limitCpuUse:false,enableDynamical
lyScaleVm:false,vncPassword:aa9ef9b5fb278d27,params:{},uuid:af08f8
42-49a9-4c24-8eb9-9e8fb89aea7c,disks:[{data:{org.apache.cloudstack.sto
rage.to.VolumeObjectTO:{uuid:22b14554-2172-4502-a125-4b2a4e0228c1,volu
meType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataSto
reTO:{uuid:88e26dcb-f058-36a7-a616-1f876b837977,id:4,poolType:SMB
,host:192.168.10.6,path:/primary?user=cloudadmindomain=cloud,port
:445,url:SMB://192.168.10.6/primary?user=cloudadmindomain=cloud/?ROLE=Pr
imarySTOREUUID=88e26dcb-f058-36a7-a616-1f876b837977}},name:ROOT-27,si
ze:1124355072,path:22b14554-2172-4502-a125-4b2a4e0228c1,volumeId:28,
vmName:r-27-VM,accountId:2,format:VHD,id:28,deviceId:0,hypervi
sorType:Hyperv}},diskSeq:0,path:22b14554-2172-4502-a125-4b2a4e0228c1
,type:ROOT,_details:{managed:false,storagePort:445,storageHo
st:192.168.10.6,volumeSize:1124355072}}],nics:[{deviceId:2,netwo
rkRateMbps:200,defaultNic:true,uuid:be7dc9f2-eff8-4a7e-8229-ffb3be8f04
af,ip:192.168.20.154,netmask:255.255.255.0,gateway:192.168.20.25
4,mac:06:96:80:00:00:37,dns1:61.177.7.1,dns2:192.168.10.3,broa
dcastType:Vlan,type:Public,broadcastUri:vlan://untagged,isolatio
nUri:vlan://untagged,isSecurityGroupEnabled:false,name:public},{de
viceId:0,networkRateMbps:200,defaultNic:false,uuid:b31abe5f-5f6d-414
3-9581-05f7ab68906a,ip:10.1.1.1,netmask:255.255.255.0,mac:02:00:
3d:47:00:02,dns1:61.177.7.1,dns2:192.168.10.3,broadcastType:Vlan
,type:Guest,broadcastUri:vlan://397,isolationUri:vlan://397,is
SecurityGroupEnabled:false,name:guest},{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},{deviceId:3,networkRateMbps:-1,defaultNic:false,ip:0
.0.0.0,netmask:255.255.255.255,gateway:192.168.20.254,mac:02:00:
48:ab:00:1a,dns1:61.177.7.1,dns2:192.168.10.3,broadcastType:Vlan
,type:Public,broadcastUri:vlan://untagged,isolationUri:vlan://un
tagged,isSecurityGroupEnabled:false,name:public},{deviceId:4,netwo
rkRateMbps:-1,defaultNic:false,ip:0.0.0.0,netmask:255.255.255.255
,gateway:192.168.20.254,mac:02:00:18:2f:00:1b,dns1:61.177.7.1,d
ns2:192.168.10.3,broadcastType:Vlan,type:Public,broadcastUri:v
lan://untagged,isolationUri:vlan://untagged,isSecurityGroupEnabled:fa
lse,name:public},{deviceId:5,networkRateMbps:-1,defaultNic:false,
ip:0.0.0.0,netmask:255.255.255.255,gateway:192.168.20.254,mac:
02:00:78:3c:00:1c,dns1:61.177.7.1,dns2:192.168.10.3,broadcastType
:Vlan,type:Public,broadcastUri:vlan://untagged,isolationUri:vla
n://untagged,isSecurityGroupEnabled:false,name:public},{deviceId:6,
networkRateMbps:-1,defaultNic:false,ip:0.0.0.0,netmask:255.255.25
5.255,gateway:192.168.20.254,mac:02:00:1b:aa:00:1d,dns1:61.177.7
.1,dns2:192.168.10.3,broadcastType:Vlan,type:Public,broadcastU
ri:vlan://untagged,isolationUri:vlan://untagged,isSecurityGroupEnabl
ed:false,name:public},{deviceId:7,networkRateMbps:-1,defaultNic:f

Jenkins build is unstable: simulator-singlerun #813

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



RE: CLOUDSTACK-6543 Sorting the domain list in UI

2014-12-18 Thread Gabor Apati-Nagy
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] 
Sent: 18 December 2014 12:16
To: dev@cloudstack.apache.org
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 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
 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]
 Sent: 18 December 2014 08:40
 To: dev@cloudstack.apache.org
 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/af3a7755a26e13d36a36
 00f16acac61085a1fa50
 This I have verified works well.
 
 Then did a search and altered the others as well:
 
 https://github.com/remibergsma/cloudstack/commit/f0a2e09df4b9887d7712
 50dc8682739b8728952b
 This I still need to test/verify.
 
 Before I proceed, could you let me know if this is the way to fix it 
 (without refactoring the whole thing into a single shared function).
 
 Thanks,
 Remi
 
 
 
 --
 
 Andrija Panić



Jenkins build is unstable: simulator-4.5-singlerun #107

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



Add Storage Network

2014-12-18 Thread Logan Barfield
During initial deployment we went with a simpler network design by letting
secondary storage traffic run over the management network.  We would like
to offload secondary storage to a separate network, and are trying to
figure out the best method of doing so.

Based on the recommendations in the documentation we would need to add a
new Physical Network, and add the Storage traffic type to that network.

Could we instead just add a new traffic type to the existing network, just
set up the specified VLAN + Storage subnet on a separate NIC on the
hypervisor?

For Primary Storage the NIC used is just determined by the hypervisor's
routing table, so wouldn't it work the same for the secondary storage
network, or is there a reason it should be added as a separate Physical
Network in CloudStack?


Re: Add Storage Network

2014-12-18 Thread Marcus
My guess is that you're right. I haven't seen anything that ties the
'physical network' to a specific NIC, thus if you register the traffic type
it should work so long as the hosts are able to route to that subnet on
*any* NIC. I'm not sure what hypervisor you're using, but for KVM at least,
you've also got to think about the bridge that SSVMs will want to attach
to. This is determined by bridge name (traffic label), and I believe if it
is set up in advance on the hosts it won't try to bridge to the primary
interface.

On Thu, Dec 18, 2014 at 8:06 AM, Logan Barfield lbarfi...@tqhosting.com
wrote:

 During initial deployment we went with a simpler network design by letting
 secondary storage traffic run over the management network.  We would like
 to offload secondary storage to a separate network, and are trying to
 figure out the best method of doing so.

 Based on the recommendations in the documentation we would need to add a
 new Physical Network, and add the Storage traffic type to that network.

 Could we instead just add a new traffic type to the existing network, just
 set up the specified VLAN + Storage subnet on a separate NIC on the
 hypervisor?

 For Primary Storage the NIC used is just determined by the hypervisor's
 routing table, so wouldn't it work the same for the secondary storage
 network, or is there a reason it should be added as a separate Physical
 Network in CloudStack?



Re: CLOUDSTACK-7117

2014-12-18 Thread Daan Hoogland
ok, pity

I see that 7117 is related to 7112 but that doesn't seem right to me.
This was closed, reopened and closed again so if it is related I think
you hit a bug that has intermittent behavior. I saw the same log as
the one in 7117 but mine was on the real side of the keyboard. You
better edit this tickets or add one.

You can check any of the tomcat conf files to see if changes there are
in your way.

On Wed, Dec 17, 2014 at 10:29 PM, Daniel Mezentsev d...@soleks.com wrote:
 Daan,
 in my sudoers file i have
 cloud ALL =NOPASSWD : ALL
 so it's pretty much like root
 i didn't run cloudstack-setup-management because i was trying to do upgrade,
 and i can't remove zone (advanced) from my config,
 it's in production. On the other hand i don't see updates in regards to that
 issue.

 Daniel, I hit this bug as well setting up a new env based on 4.4.2 as
 well but it turned out I hadn't ran cloudstack-setup-management
 succesfuly. Can you check that? the issue I think is in the setup of
 the sudo rights. check if the line at the botom of the sudoers file on
 the ms reads something like

 cloud ALL =NOPASSWD : /bin/chmod, /bin/cp, /bin/mkdir, /bin/mount,
 /bin/umount, /usr/bin/keytool

 regards,

 On Wed, Dec 17, 2014 at 8:12 PM, Daniel Mezentsev d...@soleks.com wrote:

 After upgrade 4.2.1-4.4.2 i hit that bug. On JIRA it's marked as resolved,
 but for version 4.5.0.
 Can somebody gimme heads-up what is the status of this bug for 4.4.2.

 Daniel Mezentsev, founder
 (+1) 604 313 8592.
 Soleks Data Group.
 Shaping the clouds.

 --Daan



 Daniel Mezentsev, founder
 (+1) 604 313 8592.
 Soleks Data Group.
 Shaping the clouds.



-- 
Daan


Jenkins build is still unstable: simulator-singlerun #814

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



Re: CLOUDSTACK-6543 Sorting the domain list in UI

2014-12-18 Thread Mike Tutkowski
+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/af3a7755a26e13d36a36
  00f16acac61085a1fa50
  This I have verified works well.
 
  Then did a search and altered the others as well:
 
  https://github.com/remibergsma/cloudstack/commit/f0a2e09df4b9887d7712
  50dc8682739b8728952b
  This I still need to test/verify.
 
  Before I proceed, could you let me know if this is the way to fix it
  (without refactoring the whole thing into a single shared function).
 
  Thanks,
  Remi
 
 
 
  --
 
  Andrija Panić



-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the cloud
http://solidfire.com/solution/overview/?video=play*™*


Re: Add Storage Network

2014-12-18 Thread Logan Barfield
Thanks for the confirmation.  I probably won't get around to actually
messing with it until January, so maybe someone else will chime in for more
verification.


Thank You,

Logan Barfield
Tranquil Hosting

On Thu, Dec 18, 2014 at 11:58 AM, Marcus shadow...@gmail.com wrote:

 My guess is that you're right. I haven't seen anything that ties the
 'physical network' to a specific NIC, thus if you register the traffic type
 it should work so long as the hosts are able to route to that subnet on
 *any* NIC. I'm not sure what hypervisor you're using, but for KVM at least,
 you've also got to think about the bridge that SSVMs will want to attach
 to. This is determined by bridge name (traffic label), and I believe if it
 is set up in advance on the hosts it won't try to bridge to the primary
 interface.

 On Thu, Dec 18, 2014 at 8:06 AM, Logan Barfield lbarfi...@tqhosting.com
 wrote:
 
  During initial deployment we went with a simpler network design by
 letting
  secondary storage traffic run over the management network.  We would like
  to offload secondary storage to a separate network, and are trying to
  figure out the best method of doing so.
 
  Based on the recommendations in the documentation we would need to add a
  new Physical Network, and add the Storage traffic type to that network.
 
  Could we instead just add a new traffic type to the existing network,
 just
  set up the specified VLAN + Storage subnet on a separate NIC on the
  hypervisor?
 
  For Primary Storage the NIC used is just determined by the hypervisor's
  routing table, so wouldn't it work the same for the secondary storage
  network, or is there a reason it should be added as a separate Physical
  Network in CloudStack?
 



maven run doesn't log to vmops.log anymore

2014-12-18 Thread Daan Hoogland
H devs,

Did anybody decide not to log to vmops.log anymore. A lot of trace log
(from the hyperv module) is coming to the console but the log4j config
there hasn't changed so someone made sure it is used instead of the
default one.

anyone?

-- 
Daan


RE: Removes the use local storage for systemvms

2014-12-18 Thread Frank Zhang
Alright, so it won't affect customer

From: Rohit Yadav [mailto:bhais...@apache.org]
Sent: Thursday, December 18, 2014 12:17 AM
To: Frank Zhang
Cc: dev@cloudstack.apache.org
Subject: Re: Removes the use local storage for systemvms

Hi Frank,

On Thu, Dec 18, 2014 at 4:02 AM, Frank Zhang 
frank.zh...@citrix.commailto:frank.zh...@citrix.com wrote:
Hi Rohit:

I see your commit:

commit d276c0faab0ac4d200714d8eb2081ed1c47f13aa
Author: Rohit Yadav 
rohit.ya...@shapeblue.commailto:rohit.ya...@shapeblue.com
Date:   Mon Dec 8 21:54:31 2014 +0530

developer: increase disable thresholds global settings for developers

- Increases the disable thresholds for developers
- Removes the use local storage for systemvms

Signed-off-by: Rohit Yadav 
rohit.ya...@shapeblue.commailto:rohit.ya...@shapeblue.com
(cherry picked from commit 314e2daccccdbdc34973d039d16817d2d166)
Signed-off-by: Rohit Yadav 
rohit.ya...@shapeblue.commailto:rohit.ya...@shapeblue.com


Is there any reason removing ' 'system.vm.use.local.storage' global setting? Is 
developer/developer-prefill.sql only for developers ?

developer/developer-prefill.sql runs only for developers when they do deploydb 
using maven. This commit increases the cpu/mem/storage thresholds for 
developers who may be using DevCloud or related resource constraint testing 
platforms and removes forcing them to use local storage for systemvms (the disk 
space of devcloud is limited, they are using NFS for VMs anyway so not forcing 
it for systemvms by default).

Regards.


Jenkins build is still unstable: simulator-singlerun #815

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



Jenkins build is still unstable: simulator-singlerun #816

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



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

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



Re: [VOTE] Apache Cloudstack 4.3.2

2014-12-18 Thread Sebastien Goasguen
+1 (binding)

Checked:

-signatures
-diff with git and reset on commit of rc
-RAT
-build
-simulator smoke tests


On Dec 18, 2014, at 8:00 AM, Abhinandan Prateek 
abhinandan.prat...@shapeblue.com wrote:

 +1
 
 Tested VM lifecycle
 Deployed advanced zone w/o sec group with single XenServer
 Volume and VM snapshots for XenServer
 Account creation and deletion
 Storage tags
 
 Have been running 4.3 for around 4 days without issues.
 
 -abhi
 
 On 18-Dec-2014, at 2:33 pm, Rohit Yadav rohit.ya...@shapeblue.com wrote:
 
 +1
 
 - Tested against DevCloud/KVM and baremetal server
 - Tested basic VM lifecycles, deployed basic and advanced zone as per
 release test procedure wiki
 - Manual QA isolated, shared networks and VPC
 - Upgraded a production ACS 4.3.1 deployment to 4.3.2, running without
 hiccups for last three days
 
 On Monday 15 December 2014 02:56 PM, Rohit Yadav wrote:
 Hi All,
 
 I've created a CloudStack 4.3.2 release, with the following artifacts up
 for a vote:
 
 Git Branch and Commit SHA:
 https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.3
 Commit: a15acb8e74d52bdd973f613c19dc3afd42771be4
 
 List of changes:
 https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=blob_plain;f=CHANGES.md;hb=4.3
 
 Source release (checksums and signatures are available at the same
 location): https://dist.apache.org/repos/dist/dev/cloudstack/4.3.2/
 
 PGP release keys (signed using 0EE3D884):
 https://dist.apache.org/repos/dist/release/cloudstack/KEYS
 
 For release testing procedure, please refer:
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Release+test+procedure
 
 Building from source is encouraged but for those people who are not able to
 build from source, a deb/rpm repository built out of this artifact is
 available for your test participation:
 http://packages.bhaisaab.org/cloudstack/testing/
 
 To encourage participation instead of the usual 72 hours window the vote
 will be open for 120 hours (5 days) and includes users MLs.
 
 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,
 Rohit Yadav
 
 
 --
 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.
 
 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 

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

2014-12-18 Thread 穆凯辉
Besides the zone for vmware esxi, we set up another zone for hyper-v with
windows smb for primary and secondary storage.

We use three lables for management, public and guest networks. The cpvm and
ssvm also have the correct management lable for management network traffic.

We set trunk port for the guest network in physical switch, access ports for
the management and public network traffic.

The traffic lables also match the virtual switch names in hyper-v host.

Thank you very much.

khmu
-邮件原件-
发件人: 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
nic_macs=02:00:3d:47:00:02|02:00:40:6f:00:06|06:96:80:00:00:37|02:00:48:ab:0
0:1a|02:00:18:2f:00:1b|02:00:78:3c:00:1c|02:00:1b:aa:00:1d|02:00:79:37:00:1e
,rebootOnCrash:false,enableHA:true,limitCpuUse:false,enableDynamical
lyScaleVm:false,vncPassword:aa9ef9b5fb278d27,params:{},uuid:af08f8
42-49a9-4c24-8eb9-9e8fb89aea7c,disks:[{data:{org.apache.cloudstack.sto
rage.to.VolumeObjectTO:{uuid:22b14554-2172-4502-a125-4b2a4e0228c1,volu
meType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataSto
reTO:{uuid:88e26dcb-f058-36a7-a616-1f876b837977,id:4,poolType:SMB
,host:192.168.10.6,path:/primary?user=cloudadmindomain=cloud,port
:445,url:SMB://192.168.10.6/primary?user=cloudadmindomain=cloud/?ROLE=Pr
imarySTOREUUID=88e26dcb-f058-36a7-a616-1f876b837977}},name:ROOT-27,si
ze:1124355072,path:22b14554-2172-4502-a125-4b2a4e0228c1,volumeId:28,
vmName:r-27-VM,accountId:2,format:VHD,id:28,deviceId:0,hypervi
sorType:Hyperv}},diskSeq:0,path:22b14554-2172-4502-a125-4b2a4e0228c1
,type:ROOT,_details:{managed:false,storagePort:445,storageHo
st:192.168.10.6,volumeSize:1124355072}}],nics:[{deviceId:2,netwo
rkRateMbps:200,defaultNic:true,uuid:be7dc9f2-eff8-4a7e-8229-ffb3be8f04
af,ip:192.168.20.154,netmask:255.255.255.0,gateway:192.168.20.25
4,mac:06:96:80:00:00:37,dns1:61.177.7.1,dns2:192.168.10.3,broa
dcastType:Vlan,type:Public,broadcastUri:vlan://untagged,isolatio
nUri:vlan://untagged,isSecurityGroupEnabled:false,name:public},{de
viceId:0,networkRateMbps:200,defaultNic:false,uuid:b31abe5f-5f6d-414
3-9581-05f7ab68906a,ip:10.1.1.1,netmask:255.255.255.0,mac:02:00:
3d:47:00:02,dns1:61.177.7.1,dns2:192.168.10.3,broadcastType:Vlan
,type:Guest,broadcastUri:vlan://397,isolationUri:vlan://397,is
SecurityGroupEnabled:false,name:guest},{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},{deviceId:3,networkRateMbps:-1,defaultNic:false,ip:0
.0.0.0,netmask:255.255.255.255,gateway:192.168.20.254,mac:02:00:
48:ab:00:1a,dns1:61.177.7.1,dns2:192.168.10.3,broadcastType:Vlan
,type:Public,broadcastUri:vlan://untagged,isolationUri:vlan://un
tagged,isSecurityGroupEnabled:false,name:public},{deviceId:4,netwo
rkRateMbps:-1,defaultNic:false,ip:0.0.0.0,netmask:255.255.255.255
,gateway:192.168.20.254,mac:02:00:18:2f:00:1b,dns1:61.177.7.1,d
ns2:192.168.10.3,broadcastType:Vlan,type:Public,broadcastUri:v

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

2014-12-18 Thread 穆凯辉
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
nic_macs=02:00:3d:47:00:02|02:00:40:6f:00:06|06:96:80:00:00:37|02:00:48:ab:0
0:1a|02:00:18:2f:00:1b|02:00:78:3c:00:1c|02:00:1b:aa:00:1d|02:00:79:37:00:1e
,rebootOnCrash:false,enableHA:true,limitCpuUse:false,enableDynamical
lyScaleVm:false,vncPassword:aa9ef9b5fb278d27,params:{},uuid:af08f8
42-49a9-4c24-8eb9-9e8fb89aea7c,disks:[{data:{org.apache.cloudstack.sto
rage.to.VolumeObjectTO:{uuid:22b14554-2172-4502-a125-4b2a4e0228c1,volu
meType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataSto
reTO:{uuid:88e26dcb-f058-36a7-a616-1f876b837977,id:4,poolType:SMB
,host:192.168.10.6,path:/primary?user=cloudadmindomain=cloud,port
:445,url:SMB://192.168.10.6/primary?user=cloudadmindomain=cloud/?ROLE=Pr
imarySTOREUUID=88e26dcb-f058-36a7-a616-1f876b837977}},name:ROOT-27,si
ze:1124355072,path:22b14554-2172-4502-a125-4b2a4e0228c1,volumeId:28,
vmName:r-27-VM,accountId:2,format:VHD,id:28,deviceId:0,hypervi
sorType:Hyperv}},diskSeq:0,path:22b14554-2172-4502-a125-4b2a4e0228c1
,type:ROOT,_details:{managed:false,storagePort:445,storageHo
st:192.168.10.6,volumeSize:1124355072}}],nics:[{deviceId:2,netwo
rkRateMbps:200,defaultNic:true,uuid:be7dc9f2-eff8-4a7e-8229-ffb3be8f04
af,ip:192.168.20.154,netmask:255.255.255.0,gateway:192.168.20.25
4,mac:06:96:80:00:00:37,dns1:61.177.7.1,dns2:192.168.10.3,broa
dcastType:Vlan,type:Public,broadcastUri:vlan://untagged,isolatio
nUri:vlan://untagged,isSecurityGroupEnabled:false,name:public},{de
viceId:0,networkRateMbps:200,defaultNic:false,uuid:b31abe5f-5f6d-414
3-9581-05f7ab68906a,ip:10.1.1.1,netmask:255.255.255.0,mac:02:00:
3d:47:00:02,dns1:61.177.7.1,dns2:192.168.10.3,broadcastType:Vlan
,type:Guest,broadcastUri:vlan://397,isolationUri:vlan://397,is
SecurityGroupEnabled:false,name:guest},{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},{deviceId:3,networkRateMbps:-1,defaultNic:false,ip:0
.0.0.0,netmask:255.255.255.255,gateway:192.168.20.254,mac:02:00:
48:ab:00:1a,dns1:61.177.7.1,dns2:192.168.10.3,broadcastType:Vlan
,type:Public,broadcastUri:vlan://untagged,isolationUri:vlan://un
tagged,isSecurityGroupEnabled:false,name:public},{deviceId:4,netwo
rkRateMbps:-1,defaultNic:false,ip:0.0.0.0,netmask:255.255.255.255
,gateway:192.168.20.254,mac:02:00:18:2f:00:1b,dns1:61.177.7.1,d
ns2:192.168.10.3,broadcastType:Vlan,type:Public,broadcastUri:v
lan://untagged,isolationUri:vlan://untagged,isSecurityGroupEnabled:fa
lse,name:public},{deviceId:5,networkRateMbps:-1,defaultNic:false,
ip:0.0.0.0,netmask:255.255.255.255,gateway:192.168.20.254,mac:
02:00:78:3c:00:1c,dns1:61.177.7.1,dns2:192.168.10.3,broadcastType
:Vlan,type:Public,broadcastUri:vlan://untagged,isolationUri:vla
n://untagged,isSecurityGroupEnabled:false,name:public},{deviceId:6,
networkRateMbps:-1,defaultNic:false,ip:0.0.0.0,netmask:255.255.25

Re: Review Request 29201: CLOUDSTACK-8089: Fixed test_explicit_dedication.py test case and moved to maint folder for it is to be run separately

2014-12-18 Thread Gaurav Aradhye

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

(Updated Dec. 19, 2014, 12:56 a.m.)


Review request for cloudstack, Pierre-Luc Dion and SrikanteswaraRao Talluri.


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


Repository: cloudstack-git


Description
---

This is extension of patch submitted by Saksham: 
https://reviews.apache.org/r/13560/diff/#

Imroved the code further and also moved the test case to maint folder because 
it needs to be run separately.


Diffs
-

  test/integration/component/maint/test_explicit_dedication.py PRE-CREATION 
  test/integration/component/test_explicit_dedication.py 71c4141 

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


Testing
---

Yes.

Log:
Test explicit dedication is placing vms of an account on dedicated hosts. ... 
=== TestName: test_01_deploy_vm_with_explicit_dedication | Status : SUCCESS ===
ok

--
Ran 1 test in 258.255s

OK


Thanks,

Gaurav Aradhye



Re: Review Request 21624: Mouseover to click for quickview

2014-12-18 Thread Axel Delahaye

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

(Updated Dec. 19, 2014, 1:05 a.m.)


Review request for cloudstack and Pierre-Luc Dion.


Repository: cloudstack-git


Description
---

To avoid undesired opening of the quickview or mistake.
Ex: destroy an instance and it was the top instance quickview which was open.

For the quickview '+' button, I change the mouseover to the click handler.


Diffs
-

  ui/scripts/ui/widgets/listView.js d5ba2fe 

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


Testing
---


Thanks,

Axel Delahaye



Re: CLOUDSTACK-6543 Sorting the domain list in UI

2014-12-18 Thread Abhinandan Prateek
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/af3a7755a26e13d36a36
 00f16acac61085a1fa50
 This I have verified works well.

 Then did a search and altered the others as well:

 https://github.com/remibergsma/cloudstack/commit/f0a2e09df4b9887d7712
 50dc8682739b8728952b
 This I still need to test/verify.

 Before I proceed, could you let me know if this is the way to fix it
 (without refactoring the whole thing into a single shared function).

 Thanks,
 Remi



 --

 Andrija Panić



 --
 *Mike Tutkowski*
 *Senior CloudStack Developer, SolidFire Inc.*
 e: mike.tutkow...@solidfire.com
 o: 303.746.7302
 Advancing the way the world uses the cloud
 http://solidfire.com/solution/overview/?video=play*™*

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 

Upgrade your git clients

2014-12-18 Thread John Kinsella
Folks - just heard of a vulnerability in apparently all git clients where if 
you’re using a case-insensitive filesystem (e.g. Windows or OSX), somebody 
could overwrite your .git/config directory, resulting in running commands on 
your local box.

Short story, upgrade your git clients.

More info here:
https://github.com/blog/1938-git-client-vulnerability-announced

John


Jenkins build is still unstable: simulator-singlerun #817

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



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

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

Changes:

[jessicawang] CLOUDSTACK-6744  UI  zone wizard  baremetal hypervisor  
support EIP ELB feature.

--
[...truncated 1072 lines...]
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-framework-cluster ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ 
cloud-framework-cluster ---
[INFO] Compiling 28 source files to 
http://jenkins.buildacloud.org/job/build-4.5-simulator/ws/framework/cluster/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-framework-cluster ---
[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/framework/cluster/test/resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
cloud-framework-cluster ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ 
cloud-framework-cluster ---
[INFO] Surefire report directory: 
http://jenkins.buildacloud.org/job/build-4.5-simulator/ws/framework/cluster/target/surefire-reports

---
 T E S T S
---

Results :

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

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

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-framework-events ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-framework-events ---
[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/framework/events/resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ 
cloud-framework-events ---
[INFO] Compiling 5 source files to 
http://jenkins.buildacloud.org/job/build-4.5-simulator/ws/framework/events/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-framework-events ---
[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/framework/events/test/resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
cloud-framework-events ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ 
cloud-framework-events ---
[INFO] Surefire report directory: 
http://jenkins.buildacloud.org/job/build-4.5-simulator/ws/framework/events/target/surefire-reports

---
 T E S T S
---

Results :

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

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

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-engine-schema 

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

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



RE: hyper-v VR does not have management network

2014-12-18 Thread Rajesh Battala
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
nic_macs=02:00:3d:47:00:02|02:00:40:6f:00:06|06:96:80:00:00:37|02:00:48:ab:0
0:1a|02:00:18:2f:00:1b|02:00:78:3c:00:1c|02:00:1b:aa:00:1d|02:00:79:37:00:1e
,rebootOnCrash:false,enableHA:true,limitCpuUse:false,enableDynamical
lyScaleVm:false,vncPassword:aa9ef9b5fb278d27,params:{},uuid:af08f8
42-49a9-4c24-8eb9-9e8fb89aea7c,disks:[{data:{org.apache.cloudstack.sto
rage.to.VolumeObjectTO:{uuid:22b14554-2172-4502-a125-4b2a4e0228c1,volu
meType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataSto
reTO:{uuid:88e26dcb-f058-36a7-a616-1f876b837977,id:4,poolType:SMB
,host:192.168.10.6,path:/primary?user=cloudadmindomain=cloud,port
:445,url:SMB://192.168.10.6/primary?user=cloudadmindomain=cloud/?ROLE=Pr
imarySTOREUUID=88e26dcb-f058-36a7-a616-1f876b837977}},name:ROOT-27,si
ze:1124355072,path:22b14554-2172-4502-a125-4b2a4e0228c1,volumeId:28,
vmName:r-27-VM,accountId:2,format:VHD,id:28,deviceId:0,hypervi
sorType:Hyperv}},diskSeq:0,path:22b14554-2172-4502-a125-4b2a4e0228c1
,type:ROOT,_details:{managed:false,storagePort:445,storageHo
st:192.168.10.6,volumeSize:1124355072}}],nics:[{deviceId:2,netwo
rkRateMbps:200,defaultNic:true,uuid:be7dc9f2-eff8-4a7e-8229-ffb3be8f04
af,ip:192.168.20.154,netmask:255.255.255.0,gateway:192.168.20.25
4,mac:06:96:80:00:00:37,dns1:61.177.7.1,dns2:192.168.10.3,broa
dcastType:Vlan,type:Public,broadcastUri:vlan://untagged,isolatio
nUri:vlan://untagged,isSecurityGroupEnabled:false,name:public},{de
viceId:0,networkRateMbps:200,defaultNic:false,uuid:b31abe5f-5f6d-414
3-9581-05f7ab68906a,ip:10.1.1.1,netmask:255.255.255.0,mac:02:00:
3d:47:00:02,dns1:61.177.7.1,dns2:192.168.10.3,broadcastType:Vlan
,type:Guest,broadcastUri:vlan://397,isolationUri:vlan://397,is
SecurityGroupEnabled:false,name:guest},{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},{deviceId:3,networkRateMbps:-1,defaultNic:false,ip:0
.0.0.0,netmask:255.255.255.255,gateway:192.168.20.254,mac:02:00:
48:ab:00:1a,dns1:61.177.7.1,dns2:192.168.10.3,broadcastType:Vlan
,type:Public,broadcastUri:vlan://untagged,isolationUri:vlan://un
tagged,isSecurityGroupEnabled:false,name:public},{deviceId:4,netwo
rkRateMbps:-1,defaultNic:false,ip:0.0.0.0,netmask:255.255.255.255
,gateway:192.168.20.254,mac:02:00:18:2f:00:1b,dns1:61.177.7.1,d
ns2:192.168.10.3,broadcastType:Vlan,type:Public,broadcastUri:v

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

2014-12-18 Thread Mohamed Infaz
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.


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

2014-12-18 Thread 穆凯辉
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
nic_macs=02:00:3d:47:00:02|02:00:40:6f:00:06|06:96:80:00:00:37|02:00:48:ab:0
0:1a|02:00:18:2f:00:1b|02:00:78:3c:00:1c|02:00:1b:aa:00:1d|02:00:79:37:00:1e
,rebootOnCrash:false,enableHA:true,limitCpuUse:false,enableDynamical
lyScaleVm:false,vncPassword:aa9ef9b5fb278d27,params:{},uuid:af08f8
42-49a9-4c24-8eb9-9e8fb89aea7c,disks:[{data:{org.apache.cloudstack.sto
rage.to.VolumeObjectTO:{uuid:22b14554-2172-4502-a125-4b2a4e0228c1,volu
meType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataSto
reTO:{uuid:88e26dcb-f058-36a7-a616-1f876b837977,id:4,poolType:SMB
,host:192.168.10.6,path:/primary?user=cloudadmindomain=cloud,port
:445,url:SMB://192.168.10.6/primary?user=cloudadmindomain=cloud/?ROLE=Pr
imarySTOREUUID=88e26dcb-f058-36a7-a616-1f876b837977}},name:ROOT-27,si
ze:1124355072,path:22b14554-2172-4502-a125-4b2a4e0228c1,volumeId:28,
vmName:r-27-VM,accountId:2,format:VHD,id:28,deviceId:0,hypervi
sorType:Hyperv}},diskSeq:0,path:22b14554-2172-4502-a125-4b2a4e0228c1
,type:ROOT,_details:{managed:false,storagePort:445,storageHo
st:192.168.10.6,volumeSize:1124355072}}],nics:[{deviceId:2,netwo
rkRateMbps:200,defaultNic:true,uuid:be7dc9f2-eff8-4a7e-8229-ffb3be8f04
af,ip:192.168.20.154,netmask:255.255.255.0,gateway:192.168.20.25
4,mac:06:96:80:00:00:37,dns1:61.177.7.1,dns2:192.168.10.3,broa
dcastType:Vlan,type:Public,broadcastUri:vlan://untagged,isolatio
nUri:vlan://untagged,isSecurityGroupEnabled:false,name:public},{de
viceId:0,networkRateMbps:200,defaultNic:false,uuid:b31abe5f-5f6d-414
3-9581-05f7ab68906a,ip:10.1.1.1,netmask:255.255.255.0,mac:02:00:
3d:47:00:02,dns1:61.177.7.1,dns2:192.168.10.3,broadcastType:Vlan

Jenkins build is still unstable: simulator-singlerun #818

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



RE: hyper-v VR does not have management network

2014-12-18 Thread Rajesh Battala
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
nic_macs=02:00:3d:47:00:02|02:00:40:6f:00:06|06:96:80:00:00:37|02:00:48:ab:0
0:1a|02:00:18:2f:00:1b|02:00:78:3c:00:1c|02:00:1b:aa:00:1d|02:00:79:37:00:1e
,rebootOnCrash:false,enableHA:true,limitCpuUse:false,enableDynamical
lyScaleVm:false,vncPassword:aa9ef9b5fb278d27,params:{},uuid:af08f8
42-49a9-4c24-8eb9-9e8fb89aea7c,disks:[{data:{org.apache.cloudstack.sto
rage.to.VolumeObjectTO:{uuid:22b14554-2172-4502-a125-4b2a4e0228c1,volu
meType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataSto
reTO:{uuid:88e26dcb-f058-36a7-a616-1f876b837977,id:4,poolType:SMB
,host:192.168.10.6,path:/primary?user=cloudadmindomain=cloud,port
:445,url:SMB://192.168.10.6/primary?user=cloudadmindomain=cloud/?ROLE=Pr
imarySTOREUUID=88e26dcb-f058-36a7-a616-1f876b837977}},name:ROOT-27,si
ze:1124355072,path:22b14554-2172-4502-a125-4b2a4e0228c1,volumeId:28,
vmName:r-27-VM,accountId:2,format:VHD,id:28,deviceId:0,hypervi
sorType:Hyperv}},diskSeq:0,path:22b14554-2172-4502-a125-4b2a4e0228c1
,type:ROOT,_details:{managed:false,storagePort:445,storageHo
st:192.168.10.6,volumeSize:1124355072}}],nics:[{deviceId:2,netwo
rkRateMbps:200,defaultNic:true,uuid:be7dc9f2-eff8-4a7e-8229-ffb3be8f04

Re: Review Request 29194: CLOUDSTACK-8087: Fixed test_vpc_on_host_maintenance.py

2014-12-18 Thread SrikanteswaraRao Talluri

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

Ship it!


162f61b73fa0e8faa981bc090df27fea8afc4c50 master
6c722c9d219ae3bedad12a28105800b096eeb147 4.5

- SrikanteswaraRao Talluri


On Dec. 18, 2014, 6:39 a.m., Ashutosh Kelkar wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/29194/
 ---
 
 (Updated Dec. 18, 2014, 6:39 a.m.)
 
 
 Review request for cloudstack and SrikanteswaraRao Talluri.
 
 
 Bugs: CLOUDSTACK-8087
 https://issues.apache.org/jira/browse/CLOUDSTACK-8087
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 Passed start=False while creating VPC because it is being created when hosts 
 are in maintenance state.
 Fixed pep8 issues too.
 
 
 Diffs
 -
 
   test/integration/component/maint/test_vpc_on_host_maintenance.py eb3360a 
 
 Diff: https://reviews.apache.org/r/29194/diff/
 
 
 Testing
 ---
 
 Yes.
 
 It still fails while asserting the state of VPC. On hold until heard from 
 developer. Logged product bug for this.
 
 
 Thanks,
 
 Ashutosh Kelkar
 




Jenkins build is back to normal : build-4.5-simulator #137

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



Jenkins build is still unstable: simulator-singlerun #819

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



Re: Review Request 29187: CLOUDSTACK-8086: Simulator needs a Portable IP Range to execute Portable IP Test Cases

2014-12-18 Thread SrikanteswaraRao Talluri

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

Ship it!


696698090eb2ea548bfc74b802ba7dd01a584b91 master
f2c7ead8ee68de963a97eae9dc78bf524565691e 4.5

- SrikanteswaraRao Talluri


On Dec. 18, 2014, 2:29 a.m., Chandan Purushothama wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/29187/
 ---
 
 (Updated Dec. 18, 2014, 2:29 a.m.)
 
 
 Review request for cloudstack and SrikanteswaraRao Talluri.
 
 
 Bugs: CLOUDSTACK-8086
 https://issues.apache.org/jira/browse/CLOUDSTACK-8086
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 Currently test cases are failing in Simulator, since the portable IP Range 
 dictionary is empty in testdata.py. Fake IP Range information needs to be 
 provided so that the test cases can be run without any issues.
 
 
 Diffs
 -
 
   tools/marvin/marvin/config/test_data.py 269f46e 
 
 Diff: https://reviews.apache.org/r/29187/diff/
 
 
 Testing
 ---
 
 Testing not done
 
 
 Thanks,
 
 Chandan Purushothama
 




Re: Review Request 29151: CLOUDSTACK-8084: Fixed test_17_add_nic_different_zone in test_add_remove_network.py

2014-12-18 Thread SrikanteswaraRao Talluri

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

Ship it!


3090e4a0301c4be50d0d46703b2d9fa070c2e91b master
0db63d87aa40de7493a6bc66b7686cf8922bc742 4.5

- SrikanteswaraRao Talluri


On Dec. 17, 2014, 12:17 p.m., Gaurav Aradhye wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/29151/
 ---
 
 (Updated Dec. 17, 2014, 12:17 p.m.)
 
 
 Review request for cloudstack and SrikanteswaraRao Talluri.
 
 
 Bugs: CLOUDSTACK-8084
 https://issues.apache.org/jira/browse/CLOUDSTACK-8084
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 The network was created within root admin account, so it had a risk of 
 getting used by other test cases by default. In that case cleanup would fail.
 
 Created the network in account created by the test case.
 
 
 Diffs
 -
 
   test/integration/component/test_add_remove_network.py aacd44b 
 
 Diff: https://reviews.apache.org/r/29151/diff/
 
 
 Testing
 ---
 
 Yes.
 
 Log:
 Add network to vm where both belong to different zones ... === TestName: 
 test_17_add_nic_different_zone | Status : SUCCESS ===
 ok
 
 --
 Ran 1 test in 308.910s
 
 OK
 
 
 Thanks,
 
 Gaurav Aradhye
 




Re: Review Request 29202: CLOUDSTACK-8090: Moving test_dedicated_guest_vlan_ranges.py to maint folder for the test cases need to be run separately, serially

2014-12-18 Thread SrikanteswaraRao Talluri

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

Ship it!


95b558414f0808d63920a2906f484fd6b15a4713 master
d88126988b04bb8a58fb70e195722b01b45f05dc 4.5

- SrikanteswaraRao Talluri


On Dec. 18, 2014, 10:33 a.m., Gaurav Aradhye wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/29202/
 ---
 
 (Updated Dec. 18, 2014, 10:33 a.m.)
 
 
 Review request for cloudstack and SrikanteswaraRao Talluri.
 
 
 Bugs: CLOUDSTACK-8090
 https://issues.apache.org/jira/browse/CLOUDSTACK-8090
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 The test cases need to be run separately as they create vlan ranges, and 
 dedicated them to an account/project. In between the vlans should not get 
 consumed by other account. Else test cases will fail like following
 
 Execute cmd: dedicateguestvlanrange failed, due to: errorCode: 431, 
 errorText:Guest vlan from this range 3390 is allocated to a different 
 account. Can only dedicate a range which has no allocated vlans or has vlans 
 allocated to the same account
 
 
 Diffs
 -
 
   test/integration/component/maint/test_dedicate_guest_vlan_ranges.py 
 PRE-CREATION 
   test/integration/component/test_dedicate_guest_vlan_ranges.py 9a0e7f0 
 
 Diff: https://reviews.apache.org/r/29202/diff/
 
 
 Testing
 ---
 
 N/A
 
 
 Thanks,
 
 Gaurav Aradhye
 




Jenkins build is still unstable: simulator-singlerun #820

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



Review Request 29241: CLOUDSTACK-8095: Fixed Iso attach issue in test_escalations_instances.py

2014-12-18 Thread Ashutosh Kelkar

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

Review request for cloudstack and SrikanteswaraRao Talluri.


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


Repository: cloudstack-git


Description
---

The test case was failing while attaching Iso to VM because it did not check 
whether the Iso is compatible to the VM.
Added the check for xenserver and vmware compatible Iso so that xs-tools iso 
would get attached in case of XenServer and similar to vmware.
Also fixed pep8 issues.


Diffs
-

  test/integration/component/test_escalations_instances.py e79cd3d 

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


Testing
---

@Desc: Test Attach ISO to VM and Detach ISO from VM. ... === TestName: 
test_13_attach_detach_iso | Status : SUCCESS ===
ok

--
Ran 1 test in 167.657s

OK


Thanks,

Ashutosh Kelkar



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

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