Re: Review Request: Fixed issue in configuring private gateway with sourcenatsupported=false in API

2013-05-13 Thread Kishan Kavala

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

Ship it!


commit 55739f93b877dfcc878b1e86ed8bee64744852aa

- Kishan Kavala


On May 13, 2013, 3:53 p.m., Jayapal Reddy wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/11087/
> ---
> 
> (Updated May 13, 2013, 3:53 p.m.)
> 
> 
> Review request for cloudstack, Abhinandan Prateek and Kishan Kavala.
> 
> 
> Description
> ---
> 
> Fixed issue in configuring private gateway API with sourcenatsupported 
> parameter false
> 
> 
> This addresses bug CLOUDSTACK-2403.
> 
> 
> Diffs
> -
> 
>   
> api/src/org/apache/cloudstack/api/command/admin/vpc/CreatePrivateGatewayCmd.java
>  6decaad 
> 
> Diff: https://reviews.apache.org/r/11087/diff/
> 
> 
> Testing
> ---
> 
> Tested by calling API with sourcenatsupported=false 
> 
> 
> Thanks,
> 
> Jayapal Reddy
> 
>



Re: Review Request: CLOUDSTACK -2297 : Delete Account/Domain is not updating the resources usage of the parent domain

2013-05-13 Thread Sanjay Tripathi

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

(Updated May 14, 2013, 6:55 a.m.)


Review request for cloudstack, Devdeep Singh, Sateesh Chodapuneedi, and Min 
Chen.


Description
---

CLOUDSTACK-2297 : Delete Account/Domain is not updating the resources usage of 
the parent domain


This addresses bug CLOUDSTACK-2297.


Diffs (updated)
-

  engine/schema/src/com/cloud/configuration/dao/ResourceCountDao.java 111bcb1 
  engine/schema/src/com/cloud/configuration/dao/ResourceCountDaoImpl.java 
52bc746 
  engine/schema/src/com/cloud/configuration/dao/ResourceLimitDao.java 5fd79b3 
  engine/schema/src/com/cloud/configuration/dao/ResourceLimitDaoImpl.java 
d337070 
  server/src/com/cloud/user/AccountManagerImpl.java 4088f64 
  server/src/com/cloud/user/DomainManagerImpl.java dbcbe4e 

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


Testing
---

Tests:

1. Create Child domains under ROOT domain
2. Create user/admin accounts under this child domain
3. Deploy one instance as the child Domain user & other instance as one more 
account.
4. Delete the Account

Verify the resources usage

5. Delete the Domain

Verify the resources usage

Observation:
Delete Account/Domain is updating the resources usage of the parent domain 


Thanks,

Sanjay Tripathi



Re: Review Request: CLOUDSTACK -2297 : Delete Account/Domain is not updating the resources usage of the parent domain

2013-05-13 Thread Sanjay Tripathi

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

(Updated May 14, 2013, 6:50 a.m.)


Review request for cloudstack, Devdeep Singh, Sateesh Chodapuneedi, and Min 
Chen.


Changes
---

Updated patch.


Description
---

CLOUDSTACK-2297 : Delete Account/Domain is not updating the resources usage of 
the parent domain


This addresses bug CLOUDSTACK-2297.


Diffs (updated)
-

  engine/schema/src/com/cloud/configuration/dao/ResourceCountDao.java 111bcb1 
  engine/schema/src/com/cloud/configuration/dao/ResourceCountDaoImpl.java 
52bc746 
  engine/schema/src/com/cloud/configuration/dao/ResourceLimitDao.java 5fd79b3 
  engine/schema/src/com/cloud/configuration/dao/ResourceLimitDaoImpl.java 
d337070 
  server/src/com/cloud/user/AccountManagerImpl.java 4088f64 
  server/src/com/cloud/user/DomainManagerImpl.java dbcbe4e 

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


Testing
---

Tests:

1. Create Child domains under ROOT domain
2. Create user/admin accounts under this child domain
3. Deploy one instance as the child Domain user & other instance as one more 
account.
4. Delete the Account

Verify the resources usage

5. Delete the Domain

Verify the resources usage

Observation:
Delete Account/Domain is updating the resources usage of the parent domain 


Thanks,

Sanjay Tripathi



Re: Fwd: [IP CLEARANCE] CloudStack Marvin Test Suite

2013-05-13 Thread Prasanna Santhanam
On Tue, May 14, 2013 at 10:29:07AM +0530, Prasanna Santhanam wrote:
> On Wed, May 08, 2013 at 08:00:38PM -0400, Chip Childers wrote:
> > On Wed, May 08, 2013 at 10:43:03AM +0530, Prasanna Santhanam wrote:
> > > Thanks Chip, Indeed I've been waiting for this to finally get through
> > > legal. I'll merge it at a suitable time once the vote passes.
> > > 
> > > There's going to be a some more patches coming to fix the changes
> > > we've made in the past few months to be get these tests to running
> > > state. All this work was done on github/cloudstack-qa from where the
> > > patches will be generated for reviewboard.
> > 
> > Let's just make sure that they come in from the individuals that
> > authored each bit of code.
> 
> Merged with master (894413e362a588cc0612cfeac2b11617f4954eac). RAT
> check ensured. I'll have the orignal authors bring in the fixes.
> 

I made some minor syntax fixes (a92abaa) to the merged tests and
posted bugs for the issues that still need resolving in the test
scripts.

CLOUDSTACK-2471
CLOUDSTACK-2472
CLOUDSTACK-2473
CLOUDSTACK-2474

The original authors will pick these up.

Thanks,

-- 
Prasanna.,


Powered by BigRock.com



Re: Review Request: CLOUDSTACK-1904: API : UI : Admin can not delete Events/Archive from other accounts

2013-05-13 Thread Devdeep Singh


> On May 14, 2013, 6 a.m., Devdeep Singh wrote:
> > Ship It!

Can a committer pick up these changes and apply them?


- Devdeep


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


On May 13, 2013, 9:57 a.m., Sanjay Tripathi wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10796/
> ---
> 
> (Updated May 13, 2013, 9:57 a.m.)
> 
> 
> Review request for cloudstack, Devdeep Singh, Sateesh Chodapuneedi, and Min 
> Chen.
> 
> 
> Description
> ---
> 
> CLOUDSTACK-1904: API : UI : Admin can not delete Events/Archive from other 
> accounts.
> 
> 
> This addresses bug CLOUDSTACK-1904.
> 
> 
> Diffs
> -
> 
>   api/src/org/apache/cloudstack/api/command/user/event/DeleteEventsCmd.java 
> 55ca92a 
>   engine/schema/src/com/cloud/domain/dao/DomainDao.java afeb0f4 
>   engine/schema/src/com/cloud/domain/dao/DomainDaoImpl.java c30ca5e 
>   engine/schema/src/com/cloud/event/dao/EventDao.java da5f47a 
>   engine/schema/src/com/cloud/event/dao/EventDaoImpl.java 6ba59c5 
>   engine/schema/src/com/cloud/user/dao/AccountDao.java 3b7fa66 
>   engine/schema/src/com/cloud/user/dao/AccountDaoImpl.java 892fdcd 
>   server/src/com/cloud/server/ManagementServerImpl.java 86c1a64 
>   server/test/com/cloud/event/EventControlsUnitTest.java 3c25275 
> 
> Diff: https://reviews.apache.org/r/10796/diff/
> 
> 
> Testing
> ---
> 
> Tests:
> 1. Create a domain.
> 2. Create an admin account (a11) under this domain.
> 3. Login to the domain admin account and then logout (this is to generate 
> login/logout events).
> 4. Login to Root Admin account.
> 5. Go to Events and try to delete/archive events with account=a11 (domain 
> admin account).
> 6. Event got deleted and verifies the control flow of admin accounts in 
> CloudStack.
> 
> 
> Thanks,
> 
> Sanjay Tripathi
> 
>



Re: Review Request: CLOUDSTACK-1904: API : UI : Admin can not delete Events/Archive from other accounts

2013-05-13 Thread Devdeep Singh

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

Ship it!


Ship It!

- Devdeep Singh


On May 13, 2013, 9:57 a.m., Sanjay Tripathi wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10796/
> ---
> 
> (Updated May 13, 2013, 9:57 a.m.)
> 
> 
> Review request for cloudstack, Devdeep Singh, Sateesh Chodapuneedi, and Min 
> Chen.
> 
> 
> Description
> ---
> 
> CLOUDSTACK-1904: API : UI : Admin can not delete Events/Archive from other 
> accounts.
> 
> 
> This addresses bug CLOUDSTACK-1904.
> 
> 
> Diffs
> -
> 
>   api/src/org/apache/cloudstack/api/command/user/event/DeleteEventsCmd.java 
> 55ca92a 
>   engine/schema/src/com/cloud/domain/dao/DomainDao.java afeb0f4 
>   engine/schema/src/com/cloud/domain/dao/DomainDaoImpl.java c30ca5e 
>   engine/schema/src/com/cloud/event/dao/EventDao.java da5f47a 
>   engine/schema/src/com/cloud/event/dao/EventDaoImpl.java 6ba59c5 
>   engine/schema/src/com/cloud/user/dao/AccountDao.java 3b7fa66 
>   engine/schema/src/com/cloud/user/dao/AccountDaoImpl.java 892fdcd 
>   server/src/com/cloud/server/ManagementServerImpl.java 86c1a64 
>   server/test/com/cloud/event/EventControlsUnitTest.java 3c25275 
> 
> Diff: https://reviews.apache.org/r/10796/diff/
> 
> 
> Testing
> ---
> 
> Tests:
> 1. Create a domain.
> 2. Create an admin account (a11) under this domain.
> 3. Login to the domain admin account and then logout (this is to generate 
> login/logout events).
> 4. Login to Root Admin account.
> 5. Go to Events and try to delete/archive events with account=a11 (domain 
> admin account).
> 6. Event got deleted and verifies the control flow of admin accounts in 
> CloudStack.
> 
> 
> Thanks,
> 
> Sanjay Tripathi
> 
>



Re: Fwd: [IP CLEARANCE] CloudStack Marvin Test Suite

2013-05-13 Thread Prasanna Santhanam
On Wed, May 08, 2013 at 08:00:38PM -0400, Chip Childers wrote:
> On Wed, May 08, 2013 at 10:43:03AM +0530, Prasanna Santhanam wrote:
> > Thanks Chip, Indeed I've been waiting for this to finally get through
> > legal. I'll merge it at a suitable time once the vote passes.
> > 
> > There's going to be a some more patches coming to fix the changes
> > we've made in the past few months to be get these tests to running
> > state. All this work was done on github/cloudstack-qa from where the
> > patches will be generated for reviewboard.
> 
> Let's just make sure that they come in from the individuals that
> authored each bit of code.

Merged with master (894413e362a588cc0612cfeac2b11617f4954eac). RAT
check ensured. I'll have the orignal authors bring in the fixes.

Thanks,

-- 
Prasanna.,


Powered by BigRock.com



RE: [DESIGN] Database Access Layer

2013-05-13 Thread Rajesh Battala
Thanks a lot for the article. 

> -Original Message-
> From: Alex Huang [mailto:alex.hu...@citrix.com]
> Sent: Monday, May 13, 2013 10:23 PM
> To: dev@cloudstack.apache.org
> Subject: [DESIGN] Database Access Layer
> 
> It's taken me a while to write this.  Hope it's still useful to some.  
> Apologize
> for the tardiness.
> 
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Data+Access+Laye
> r
> 
> --Alex


Re: [PROPOSAL] VMSync improvement to better co-operate with external managers for features like HA/DRS and FT

2013-05-13 Thread Kelven Yang
Murali,

I've updated the document to give more background details on the thought
process. I'm sorry that I'm having hard time to describe it like other
normal high-level FS, since the change is at architecture level, and to
understand why we are doing this makes sense from conceptual level. The
document is more organized as a thought process.

Kelven

On 5/6/13 5:11 AM, "Murali Reddy"  wrote:

>
>Great to see long-standing problem being addressed. I get how revamped
>job's framework that can handle both internal and external jobs with
>ability to serialize the operations on a VM will help in VmSync. But I
>could not understand how a message bus that helps in coordinate activities
>with in management server, will be used to solve the vmsync issues. Can
>you please elobrate how you intend to use message bus.
>
>On 04/05/13 8:06 AM, "Kelven Yang"  wrote:
>
>>I would like to propose an improvement effort on VMSync. This is to help
>>build better interaction with external virtualization manager (i.e.,
>>vCenter) for features like native HA, DRS and FT.
>>
>>https://cwiki.apache.org/confluence/display/CLOUDSTACK/FS+-+VMSync+improv
>>e
>>ment
>>
>>Since it is a low-level change and hard to describe it in short, only
>>high-level principals are detailed in FS.
>>
>>Please review the first draft of FS and provide your comments and
>>feedback.
>>
>>Kelven
>>
>
>



Re: [PROPOSAL] VMSync improvement to better co-operate with external managers for features like HA/DRS and FT

2013-05-13 Thread Kelven Yang
Sadhu,

I've updated document, please check out the section on Use cases for
guidelines to determine expected system behave from the implementation.

Kelven
 

On 5/10/13 3:29 AM, "Suresh Sadhu"  wrote:

>Hi Kelven,
>
>how does the state transition logic handled when a running job stuck in
>staring /stopping state and other operations are in queued on the same
>object ,Also  does VirtualMachinePowerStateSync  handle host power off
>scenarios? Earlier, we used to show VMs are up and running  even host is
>powered  off.
>
>
>As functional spec has  only high-level details, can you please  provide
>some guidelines  to QA to cover the corner scenarios once you are done
>with this feature implementation.
>
>
>
>Regards
>Sadhu
>
>-Original Message-
>From: Kelven Yang [mailto:kelven.y...@citrix.com]
>Sent: 04 May 2013 08:14
>To: dev@cloudstack.apache.org
>Subject: [PROPOSAL] VMSync improvement to better co-operate with external
>managers for features like HA/DRS and FT
>
>I would like to propose an improvement effort on VMSync. This is to help
>build better interaction with external virtualization manager (i.e.,
>vCenter) for features like native HA, DRS and FT.
>
>https://cwiki.apache.org/confluence/display/CLOUDSTACK/FS+-+VMSync+improve
>ment
>
>Since it is a low-level change and hard to describe it in short, only
>high-level principals are detailed in FS.
>
>Please review the first draft of FS and provide your comments and
>feedback.
>
>Kelven



Re: [MERGE]PVLAN branch to MASTER(v2)

2013-05-13 Thread Chip Childers
On Mon, May 13, 2013 at 03:16:28PM -0700, Sheng Yang wrote:
> FS at:
> https://cwiki.apache.org/CLOUDSTACK/pvlan-for-isolation-within-a-vlan.html
> 
> PVLAN branch has been under development for some time, and now the
> functionality works on KVM and Xen, would be followed by VMware soon
> 
> VM live migration is not supported so far. Code is ready basically, but I
> am waiting for the fix of
> https://issues.apache.org/jira/browse/CLOUDSTACK-1638 .
> 
> We're using ovs/open flow to manipulate ingress/egress traffic to emulate
> the isolation PVLAN function on KVM and Xen. The details are in the FS.
> 
> The core code change is minimal and there is no DB change, because we took
> advantage of "broadcast domain" to introduce "pvlan://" broadcast URI to
> describe the primary and isolated PVLAN for the network.
> 
> The code has passed the RAT, and no new dependency is added.

How is the OpenFlow functionality controlled?  Via libvirt?

> 
> I've added a new integration smoke test test_pvlan.py. Related unit tests
> are also added for NetUtils. I've done some basic regression tests, so far
> so good. Sangeetha already tested the functionality of Xen part, and it
> works.
> 
> Integration test at: test/integration/smoke/test_pvlan.py
> 
> If there is no objection, I would merge the branch in 48 hours.
> 
> Thanks.
> 
> --Sheng


Re: [DOCS] Quick Install Guide updated lately?

2013-05-13 Thread David Nalley
On Mon, May 13, 2013 at 8:33 PM, Jessica Tomechak
 wrote:
> There is a Quick Install Guide published on the docs site for 4.0.x. Has
> that been updated for 4.1, or is it even going to be published for 4.1? I'm
> asking because I am trying to fill in at least a sentence on the "New to
> CS" pages in the project wiki, and one thing I'd do is direct people to the
> quick install guide if it's still useful.
>
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Quick_Install_Guide/index.html
>
> Jessica T.

It hasn't been updated for 4.1, it probably should be, but unlikely to
be done before 4.1.0 releases (unless someone else picks it up very
quickly).


[DOCS] Quick Install Guide updated lately?

2013-05-13 Thread Jessica Tomechak
There is a Quick Install Guide published on the docs site for 4.0.x. Has
that been updated for 4.1, or is it even going to be published for 4.1? I'm
asking because I am trying to fill in at least a sentence on the "New to
CS" pages in the project wiki, and one thing I'd do is direct people to the
quick install guide if it's still useful.

http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Quick_Install_Guide/index.html

Jessica T.


RE: [jira] [Commented] (CLOUDSTACK-2463) CS Upgrade 2.2.14 to 4.1.0 failed due to no public network found (configuration : advanced network with security groups)

2013-05-13 Thread Jessica Wang
I'll remove this option (Advance zone with SG) from UI in 4.1 branch.
Will submit a patch soon.


-Original Message-
From: Anthony Xu [mailto:xuefei...@citrix.com] 
Sent: Monday, May 13, 2013 1:46 PM
To: Alena Prokharchyk; dev@cloudstack.apache.org; Chip Childers
Subject: RE: [jira] [Commented] (CLOUDSTACK-2463) CS Upgrade 2.2.14 to 4.1.0 
failed due to no public network found (configuration : advanced network with 
security groups)

Advance zone with SG is not in 4.1.

Anthony

-Original Message-
From: Alena Prokharchyk 
Sent: Monday, May 13, 2013 1:37 PM
To: dev@cloudstack.apache.org; Chip Childers; Anthony Xu
Subject: Re: [jira] [Commented] (CLOUDSTACK-2463) CS Upgrade 2.2.14 to 4.1.0 
failed due to no public network found (configuration : advanced network with 
security groups)

Anthony, do we even support Advance zone with SG in 4.1? I thought you've 
checked it in in 4.2 only. If this is true, then:

* no upgrade support for SG enabled setups to 4.1 should be provided
* 4.1 UI shouldn't let you create Advance zone with SG enabled. If UI for SG 
enabled Advance zone was somehow merged to 4.1 branch, it should be reverted as 
there is no backend/db upgrade support exist there.


-Alena.



On 5/13/13 1:10 PM, "Paul Angus"  wrote:

>Done. :)
>
>Regards,
>
>Paul Angus
>S: +44 20 3603 0540 | M: +447711418784
>paul.an...@shapeblue.com
>
>-Original Message-
>From: Wei ZHOU [mailto:ustcweiz...@gmail.com]
>Sent: 13 May 2013 18:38
>To: dev@cloudstack.apache.org
>Subject: Re: [jira] [Commented] (CLOUDSTACK-2463) CS Upgrade 2.2.14 to
>4.1.0 failed due to no public network found (configuration : advanced 
>network with security groups)
>
>Thanks,  Paul.
>
>Could you login to the database and paste the result of the commands 
>Nicolas listed in Description?
>
>
>2013/5/13 Paul Angus (JIRA) 
>
>>
>> [
>> https://issues.apache.org/jira/browse/CLOUDSTACK-2463?page=com.atlass
>> i 
>> an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentI
>> d
>> =13656100#comment-13656100]
>>
>> Paul Angus commented on CLOUDSTACK-2463:
>> 
>>
>> On a clean build of ACS4.1-SNAPSHOT from 13/05/13 I created an 
>> advanced zone with security groups.
>>
>> When attempting to enable the zone I received the following message:
>>
>> 'Cannot enable this Zone since: Unable to find the default physical 
>> network with traffic=Public in the specified zone id'
>>
>> As it was an advanced zone with security groups I didn't get the 
>> option to add/configure a public network.
>>
>> > CS Upgrade 2.2.14 to 4.1.0 failed due to no public network found
>> (configuration : advanced network with security groups)
>> >
>> -
>> -
>> --
>> >
>> > Key: CLOUDSTACK-2463
>> > URL:
>> https://issues.apache.org/jira/browse/CLOUDSTACK-2463
>> > Project: CloudStack
>> >  Issue Type: Bug
>> >  Security Level: Public(Anyone can view this level - this is 
>> > the
>> default.)
>> >Affects Versions: 4.1.0
>> >Reporter: Nicolas Lamirault
>> >Assignee: Wei Zhou
>> >Priority: Blocker
>> > Fix For: 4.1.0
>> >
>> >
>> > According Wei Zhou last patch (
>> https://issues.apache.org/jira/browse/CLOUDSTACK-528), i can add a 
>> new secondary storage. The SSVM creation failed due to :
>> > 2013-05-13 15:17:52,868 DEBUG
>> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) 
>> Zone 1 is ready to launch secondary storage VM
>> > 2013-05-13 15:17:52,879 INFO
>> [cloud.secstorage.PremiumSecondaryStorageManagerImpl]
>> (secstorage-1:null) No running secondary storage vms found in 
>> datacenter id=1, starting one
>> > 2013-05-13 15:17:52,889 INFO
>> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) 
>> No stopped secondary storage vm is available, need to allocate a new 
>> secondary storage vm
>> > 2013-05-13 15:17:52,894 DEBUG
>> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) 
>> Assign secondary storage vm from a newly started instance for request 
>> from data center : 1
>> > 2013-05-13 15:17:52,922 WARN [cloud.vm.SystemVmLoadScanner]
>> (secstorage-1:null) Unexpected exception Found 22 networks of type 
>> Guest when expect to find 1
>> > com.cloud.utils.exception.CloudRuntimeException: Found 22 networks 
>> > of
>> type Guest when expect to find 1
>> > at
>> com.cloud.storage.secondary.SecondaryStorageManagerImpl.createSecStor
>> a
>> geVmInstance(SecondaryStorageManagerImpl.java:552)
>> > at
>> com.cloud.storage.secondary.SecondaryStorageManagerImpl.startNew(Seco
>> n
>> daryStorageManagerImpl.java:499)
>> > at
>> com.cloud.storage.secondary.SecondaryStorageManagerImpl.allocCapacity
>> (
>> SecondaryStorageManagerImpl.java:666)
>> > at
>> com.cloud.storage.secondary.SecondaryStorageManage

Re: Review Request: Implicit dedication of resources to an account

2013-05-13 Thread Prachi Damle

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


Thanks for a clean patch and an extensive unit test. Have following review 
comments:

1) When we list the VMs on a host (List userVms = 
_vmDao.listByHostId(host);), also consider the VMs that are stopped on this 
host (lastHostId) but are still within skip.counting.hours [Such VMs can get 
started back on the same host] Refer the DeploymentPlanningManagerImpl:: 
checkHostReservationRelease method that does a similar check to see if any 
stopped VMs are within skip.counting.hours

2) checkHostSuitabilityForImplicitDedication - The planner in the 
serviceoffering can be null, it is an optional property now. So if it is null, 
you should check the if the global config vm.deployment.planner points to 
ImplicitDedicationPlanner



- Prachi Damle


On May 10, 2013, 4:09 p.m., Devdeep Singh wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/11045/
> ---
> 
> (Updated May 10, 2013, 4:09 p.m.)
> 
> 
> Review request for cloudstack and Prachi Damle.
> 
> 
> Description
> ---
> 
> Changes for implicitly dedicating a resource. This patch implements the 
> implicit dedication portion of the feature described in the following FS
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Dedicated+Resources+-+Private+zone%2C+pod%2C+cluster%2C+host+Functional+Spec
> 
> Patch includes the following changes:
> 1. A new implicit planner which extends the functionality provided by 
> FirstFitPlanner.
> 2. Implicit planner can be used in either strict or preferred mode. In strict 
> mode it tries to deploy a vm of a given account on a host on which vms of the 
> account are already running. If no such host is found it'll search for an 
> empty host to service the request. Otherwise the deploy vm request fails.
> 3. In preferred mode, if a host which is running vms of the account or an 
> empty host isn't found, the planner then tries to deploy on any other host 
> provided it isn't running implicitly dedicated strict vms of any other 
> account.
> 4. Updated the createServiceOffering api to configure the details for the 
> planner that the service offering is using.
> 5. Made db changes to store the service offering details for the planner.
> 6. Unit tests for testing the implicit planner functionality.
> 
> 
> This addresses bug https://issues.apache.org/jira/browse/CLOUDSTACK-681.
> 
> 
> Diffs
> -
> 
>   api/src/com/cloud/deploy/DeploymentPlanner.java eb56a59 
>   api/src/org/apache/cloudstack/api/ApiConstants.java f179aaa 
>   
> api/src/org/apache/cloudstack/api/command/admin/offering/CreateServiceOfferingCmd.java
>  c155b70 
>   client/pom.xml 197ba27 
>   client/tomcatconf/applicationContext.xml.in d5c61bb 
>   client/tomcatconf/componentContext.xml.in 8a45e5f 
>   engine/schema/src/com/cloud/service/ServiceOfferingDetailsVO.java 
> PRE-CREATION 
>   engine/schema/src/com/cloud/service/ServiceOfferingVO.java fd31d30 
>   engine/schema/src/com/cloud/service/dao/ServiceOfferingDao.java 589de7c 
>   engine/schema/src/com/cloud/service/dao/ServiceOfferingDaoImpl.java 062103e 
>   engine/schema/src/com/cloud/service/dao/ServiceOfferingDetailsDao.java 
> PRE-CREATION 
>   engine/schema/src/com/cloud/service/dao/ServiceOfferingDetailsDaoImpl.java 
> PRE-CREATION 
>   plugins/deployment-planners/implicit-dedication/pom.xml PRE-CREATION 
>   
> plugins/deployment-planners/implicit-dedication/src/com/cloud/deploy/ImplicitDedicationPlanner.java
>  PRE-CREATION 
>   
> plugins/deployment-planners/implicit-dedication/test/org/apache/cloudstack/implicitplanner/ImplicitPlannerTest.java
>  PRE-CREATION 
>   plugins/pom.xml e49fac9 
>   server/src/com/cloud/configuration/ConfigurationManager.java 2ce3fa0 
>   server/src/com/cloud/configuration/ConfigurationManagerImpl.java d17b4d1 
>   server/test/com/cloud/vpc/MockConfigurationManagerImpl.java f02895c 
>   
> server/test/org/apache/cloudstack/networkoffering/ChildTestConfiguration.java 
> 7ffbe32 
>   setup/db/db/schema-410to420.sql 65ddaaa 
> 
> Diff: https://reviews.apache.org/r/11045/diff/
> 
> 
> Testing
> ---
> 
> Following tests were done:
> 1. Deployed an instance for an account created using a service offering using 
> implicit planner. Verified the host on which the first vm was deployed gets 
> picked up for subsequent deployment requests for that account (using service 
> offering with implicit planner).
> 2. If a deploy vm request is placed from another account, the host running 
> implicit vm of a different account isn't picked up.
> 3. Verified for a deployment request with implicit planner in strict mode, 
> first the planner looks for hosts running implicit vm of t

Re: Review Request: Protect VNC port with password on KVM.

2013-05-13 Thread Fang Wang

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

(Updated May 13, 2013, 10:32 p.m.)


Review request for cloudstack, edison su and Kelven Yang.


Description
---

Add the protection for VNC port with password on KVM. 


Diffs
-

  
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
 8fe8c88 

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


Testing
---


Thanks,

Fang Wang



[ACS42]Request to change status to Resolved if a feature has been merged in to Master

2013-05-13 Thread Sudha Ponnaganti
Dev team,

Please make sure to change status of the New Feature / Improvement to Resolved 
status once feature has been merged in to Master. Below are the features listed 
in the table. Status shows Open / In progress for few features which are 
already in Master. This helps QA /automation to pick up the feature for 
validation.

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Cloudstack+4.2+Release

thanks
/Sudha


Re: Review Request: Protect VNC port with password on KVM.

2013-05-13 Thread Fang Wang


> On May 10, 2013, 8:59 p.m., David Nalley wrote:
> > Is there a jira bug for this? 
> > 
> > What kind of testing can we add to this to confirm it actually works as 
> > intended?

there is not a bug for this, it is part of some security enhancements. 


- Fang


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


On May 10, 2013, 8:08 p.m., Fang Wang wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/11058/
> ---
> 
> (Updated May 10, 2013, 8:08 p.m.)
> 
> 
> Review request for cloudstack and Kelven Yang.
> 
> 
> Description
> ---
> 
> Add the protection for VNC port with password on KVM. 
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
>  8fe8c88 
> 
> Diff: https://reviews.apache.org/r/11058/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Fang Wang
> 
>



[MERGE]PVLAN branch to MASTER(v2)

2013-05-13 Thread Sheng Yang
FS at:
https://cwiki.apache.org/CLOUDSTACK/pvlan-for-isolation-within-a-vlan.html

PVLAN branch has been under development for some time, and now the
functionality works on KVM and Xen, would be followed by VMware soon

VM live migration is not supported so far. Code is ready basically, but I
am waiting for the fix of
https://issues.apache.org/jira/browse/CLOUDSTACK-1638 .

We're using ovs/open flow to manipulate ingress/egress traffic to emulate
the isolation PVLAN function on KVM and Xen. The details are in the FS.

The core code change is minimal and there is no DB change, because we took
advantage of "broadcast domain" to introduce "pvlan://" broadcast URI to
describe the primary and isolated PVLAN for the network.

The code has passed the RAT, and no new dependency is added.

I've added a new integration smoke test test_pvlan.py. Related unit tests
are also added for NetUtils. I've done some basic regression tests, so far
so good. Sangeetha already tested the functionality of Xen part, and it
works.

Integration test at: test/integration/smoke/test_pvlan.py

If there is no objection, I would merge the branch in 48 hours.

Thanks.

--Sheng


CloudStack Collaboration Conference Deadline Extended to May 19th

2013-05-13 Thread Joe Brockmeier
Hi all,

We've received a number of excellent proposals for the CloudStack
Collaboration Conference, but also a number of requests for a little
more time to get a good proposal in. So we've extended the CFP by *one
week* to May 19th. 

You can see the CFP, and submit your proposal, here:

http://www.cloudstackcollab.org/CfP/

Have questions about the CFP, or want feedback before submitting your
final proposal? Feel free to email plann...@cloudstackcollab.org. 

Best,

jzb
-- 
Joe Brockmeier
j...@zonker.net
Twitter: @jzb
http://www.dissociatedpress.net/


Re: Storage Configuration Guide

2013-05-13 Thread Mike Tutkowski
Line is removed.

Sorry about that again.

If you see any more issues, please let me know.

Thanks!


On Mon, May 13, 2013 at 3:14 PM, Mike Tutkowski <
mike.tutkow...@solidfire.com> wrote:

> I'm sorry about that, Joe. We converted this over from a SolidFire-branded
> doc with the intent of removing branding and lines like this. I can remove
> that line right now.
>
>
> On Mon, May 13, 2013 at 2:51 PM, Joe Brockmeier  wrote:
>
>> Hi Mike,
>>
>> On Mon, May 13, 2013, at 03:19 PM, Mike Tutkowski wrote:
>> > Please let me know if you have any comments.
>>
>> Great to see additional docs being added, and I don't mind them being
>> specific to one device/product, etc. (at least initially).
>>
>> However, this doesn't really belong on the wiki or anything we
>> distribute:
>>
>> "If you have any questions regarding the steps and/recommendations
>> outlined above, or would like to see a live demo, please contact us at
>> sa...@solidfire.com."
>>
>> When submitting stuff, can we make sure to strip things like that before
>> they're posted? Thanks!
>>
>> Best,
>>
>> jzb
>> --
>> Joe Brockmeier
>> j...@zonker.net
>> Twitter: @jzb
>> http://www.dissociatedpress.net/
>>
>
>
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkow...@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the 
> cloud
> *™*
>



-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud
*™*


Re: Storage Configuration Guide

2013-05-13 Thread Mike Tutkowski
I'm sorry about that, Joe. We converted this over from a SolidFire-branded
doc with the intent of removing branding and lines like this. I can remove
that line right now.


On Mon, May 13, 2013 at 2:51 PM, Joe Brockmeier  wrote:

> Hi Mike,
>
> On Mon, May 13, 2013, at 03:19 PM, Mike Tutkowski wrote:
> > Please let me know if you have any comments.
>
> Great to see additional docs being added, and I don't mind them being
> specific to one device/product, etc. (at least initially).
>
> However, this doesn't really belong on the wiki or anything we
> distribute:
>
> "If you have any questions regarding the steps and/recommendations
> outlined above, or would like to see a live demo, please contact us at
> sa...@solidfire.com."
>
> When submitting stuff, can we make sure to strip things like that before
> they're posted? Thanks!
>
> Best,
>
> jzb
> --
> Joe Brockmeier
> j...@zonker.net
> Twitter: @jzb
> http://www.dissociatedpress.net/
>



-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud
*™*


Re: Storage Configuration Guide

2013-05-13 Thread Joe Brockmeier
Hi Mike, 

On Mon, May 13, 2013, at 03:19 PM, Mike Tutkowski wrote:
> Please let me know if you have any comments.

Great to see additional docs being added, and I don't mind them being
specific to one device/product, etc. (at least initially).

However, this doesn't really belong on the wiki or anything we
distribute:

"If you have any questions regarding the steps and/recommendations
outlined above, or would like to see a live demo, please contact us at
sa...@solidfire.com."

When submitting stuff, can we make sure to strip things like that before
they're posted? Thanks!

Best,

jzb
-- 
Joe Brockmeier
j...@zonker.net
Twitter: @jzb
http://www.dissociatedpress.net/


RE: [jira] [Commented] (CLOUDSTACK-2463) CS Upgrade 2.2.14 to 4.1.0 failed due to no public network found (configuration : advanced network with security groups)

2013-05-13 Thread Anthony Xu
Advance zone with SG is not in 4.1.

Anthony

-Original Message-
From: Alena Prokharchyk 
Sent: Monday, May 13, 2013 1:37 PM
To: dev@cloudstack.apache.org; Chip Childers; Anthony Xu
Subject: Re: [jira] [Commented] (CLOUDSTACK-2463) CS Upgrade 2.2.14 to 4.1.0 
failed due to no public network found (configuration : advanced network with 
security groups)

Anthony, do we even support Advance zone with SG in 4.1? I thought you've 
checked it in in 4.2 only. If this is true, then:

* no upgrade support for SG enabled setups to 4.1 should be provided
* 4.1 UI shouldn't let you create Advance zone with SG enabled. If UI for SG 
enabled Advance zone was somehow merged to 4.1 branch, it should be reverted as 
there is no backend/db upgrade support exist there.


-Alena.



On 5/13/13 1:10 PM, "Paul Angus"  wrote:

>Done. :)
>
>Regards,
>
>Paul Angus
>S: +44 20 3603 0540 | M: +447711418784
>paul.an...@shapeblue.com
>
>-Original Message-
>From: Wei ZHOU [mailto:ustcweiz...@gmail.com]
>Sent: 13 May 2013 18:38
>To: dev@cloudstack.apache.org
>Subject: Re: [jira] [Commented] (CLOUDSTACK-2463) CS Upgrade 2.2.14 to
>4.1.0 failed due to no public network found (configuration : advanced 
>network with security groups)
>
>Thanks,  Paul.
>
>Could you login to the database and paste the result of the commands 
>Nicolas listed in Description?
>
>
>2013/5/13 Paul Angus (JIRA) 
>
>>
>> [
>> https://issues.apache.org/jira/browse/CLOUDSTACK-2463?page=com.atlass
>> i 
>> an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentI
>> d
>> =13656100#comment-13656100]
>>
>> Paul Angus commented on CLOUDSTACK-2463:
>> 
>>
>> On a clean build of ACS4.1-SNAPSHOT from 13/05/13 I created an 
>> advanced zone with security groups.
>>
>> When attempting to enable the zone I received the following message:
>>
>> 'Cannot enable this Zone since: Unable to find the default physical 
>> network with traffic=Public in the specified zone id'
>>
>> As it was an advanced zone with security groups I didn't get the 
>> option to add/configure a public network.
>>
>> > CS Upgrade 2.2.14 to 4.1.0 failed due to no public network found
>> (configuration : advanced network with security groups)
>> >
>> -
>> -
>> --
>> >
>> > Key: CLOUDSTACK-2463
>> > URL:
>> https://issues.apache.org/jira/browse/CLOUDSTACK-2463
>> > Project: CloudStack
>> >  Issue Type: Bug
>> >  Security Level: Public(Anyone can view this level - this is 
>> > the
>> default.)
>> >Affects Versions: 4.1.0
>> >Reporter: Nicolas Lamirault
>> >Assignee: Wei Zhou
>> >Priority: Blocker
>> > Fix For: 4.1.0
>> >
>> >
>> > According Wei Zhou last patch (
>> https://issues.apache.org/jira/browse/CLOUDSTACK-528), i can add a 
>> new secondary storage. The SSVM creation failed due to :
>> > 2013-05-13 15:17:52,868 DEBUG
>> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) 
>> Zone 1 is ready to launch secondary storage VM
>> > 2013-05-13 15:17:52,879 INFO
>> [cloud.secstorage.PremiumSecondaryStorageManagerImpl]
>> (secstorage-1:null) No running secondary storage vms found in 
>> datacenter id=1, starting one
>> > 2013-05-13 15:17:52,889 INFO
>> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) 
>> No stopped secondary storage vm is available, need to allocate a new 
>> secondary storage vm
>> > 2013-05-13 15:17:52,894 DEBUG
>> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) 
>> Assign secondary storage vm from a newly started instance for request 
>> from data center : 1
>> > 2013-05-13 15:17:52,922 WARN [cloud.vm.SystemVmLoadScanner]
>> (secstorage-1:null) Unexpected exception Found 22 networks of type 
>> Guest when expect to find 1
>> > com.cloud.utils.exception.CloudRuntimeException: Found 22 networks 
>> > of
>> type Guest when expect to find 1
>> > at
>> com.cloud.storage.secondary.SecondaryStorageManagerImpl.createSecStor
>> a
>> geVmInstance(SecondaryStorageManagerImpl.java:552)
>> > at
>> com.cloud.storage.secondary.SecondaryStorageManagerImpl.startNew(Seco
>> n
>> daryStorageManagerImpl.java:499)
>> > at
>> com.cloud.storage.secondary.SecondaryStorageManagerImpl.allocCapacity
>> (
>> SecondaryStorageManagerImpl.java:666)
>> > at
>> com.cloud.storage.secondary.SecondaryStorageManagerImpl.expandPool(Se
>> c
>> ondaryStorageManagerImpl.java:1300)
>> > at
>> com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(Prem
>> i
>> umSecondaryStorageManagerImpl.java:121)
>> > at
>> com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(Prem
>> i
>> umSecondaryStorageManagerImpl.java:52)
>> > at
>> com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:10
>> 4
>> )
>> >  

Re: [jira] [Commented] (CLOUDSTACK-2463) CS Upgrade 2.2.14 to 4.1.0 failed due to no public network found (configuration : advanced network with security groups)

2013-05-13 Thread Alena Prokharchyk
Anthony, do we even support Advance zone with SG in 4.1? I thought you've
checked it in in 4.2 only. If this is true, then:

* no upgrade support for SG enabled setups to 4.1 should be provided
* 4.1 UI shouldn't let you create Advance zone with SG enabled. If UI for
SG enabled Advance zone was somehow merged to 4.1 branch, it should be
reverted as there is no backend/db upgrade support exist there.


-Alena.



On 5/13/13 1:10 PM, "Paul Angus"  wrote:

>Done. :)
>
>Regards,
>
>Paul Angus
>S: +44 20 3603 0540 | M: +447711418784
>paul.an...@shapeblue.com
>
>-Original Message-
>From: Wei ZHOU [mailto:ustcweiz...@gmail.com]
>Sent: 13 May 2013 18:38
>To: dev@cloudstack.apache.org
>Subject: Re: [jira] [Commented] (CLOUDSTACK-2463) CS Upgrade 2.2.14 to
>4.1.0 failed due to no public network found (configuration : advanced
>network with security groups)
>
>Thanks,  Paul.
>
>Could you login to the database and paste the result of the commands
>Nicolas listed in Description?
>
>
>2013/5/13 Paul Angus (JIRA) 
>
>>
>> [
>> https://issues.apache.org/jira/browse/CLOUDSTACK-2463?page=com.atlassi
>> an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId
>> =13656100#comment-13656100]
>>
>> Paul Angus commented on CLOUDSTACK-2463:
>> 
>>
>> On a clean build of ACS4.1-SNAPSHOT from 13/05/13 I created an
>> advanced zone with security groups.
>>
>> When attempting to enable the zone I received the following message:
>>
>> 'Cannot enable this Zone since: Unable to find the default physical
>> network with traffic=Public in the specified zone id'
>>
>> As it was an advanced zone with security groups I didn't get the
>> option to add/configure a public network.
>>
>> > CS Upgrade 2.2.14 to 4.1.0 failed due to no public network found
>> (configuration : advanced network with security groups)
>> >
>> --
>> --
>> >
>> > Key: CLOUDSTACK-2463
>> > URL:
>> https://issues.apache.org/jira/browse/CLOUDSTACK-2463
>> > Project: CloudStack
>> >  Issue Type: Bug
>> >  Security Level: Public(Anyone can view this level - this is the
>> default.)
>> >Affects Versions: 4.1.0
>> >Reporter: Nicolas Lamirault
>> >Assignee: Wei Zhou
>> >Priority: Blocker
>> > Fix For: 4.1.0
>> >
>> >
>> > According Wei Zhou last patch (
>> https://issues.apache.org/jira/browse/CLOUDSTACK-528), i can add a new
>> secondary storage. The SSVM creation failed due to :
>> > 2013-05-13 15:17:52,868 DEBUG
>> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
>> Zone 1 is ready to launch secondary storage VM
>> > 2013-05-13 15:17:52,879 INFO
>> [cloud.secstorage.PremiumSecondaryStorageManagerImpl]
>> (secstorage-1:null) No running secondary storage vms found in
>> datacenter id=1, starting one
>> > 2013-05-13 15:17:52,889 INFO
>> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) No
>> stopped secondary storage vm is available, need to allocate a new
>> secondary storage vm
>> > 2013-05-13 15:17:52,894 DEBUG
>> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
>> Assign secondary storage vm from a newly started instance for request
>> from data center : 1
>> > 2013-05-13 15:17:52,922 WARN [cloud.vm.SystemVmLoadScanner]
>> (secstorage-1:null) Unexpected exception Found 22 networks of type
>> Guest when expect to find 1
>> > com.cloud.utils.exception.CloudRuntimeException: Found 22 networks
>> > of
>> type Guest when expect to find 1
>> > at
>> com.cloud.storage.secondary.SecondaryStorageManagerImpl.createSecStora
>> geVmInstance(SecondaryStorageManagerImpl.java:552)
>> > at
>> com.cloud.storage.secondary.SecondaryStorageManagerImpl.startNew(Secon
>> daryStorageManagerImpl.java:499)
>> > at
>> com.cloud.storage.secondary.SecondaryStorageManagerImpl.allocCapacity(
>> SecondaryStorageManagerImpl.java:666)
>> > at
>> com.cloud.storage.secondary.SecondaryStorageManagerImpl.expandPool(Sec
>> ondaryStorageManagerImpl.java:1300)
>> > at
>> com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(Premi
>> umSecondaryStorageManagerImpl.java:121)
>> > at
>> com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(Premi
>> umSecondaryStorageManagerImpl.java:52)
>> > at
>> com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:104
>> )
>> > at
>> com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:3
>> 3)
>> > at
>> com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:
>> 81)
>> > at
>> com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:72)
>> > at
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441
>> )
>> > at
>> java.util.concurrent.FutureTask$Sync.innerRu

Storage Configuration Guide

2013-05-13 Thread Mike Tutkowski
Hi everyone,

We have fielded several questions regarding how to configure storage in
CloudStack for XenServer and VMware environments.

As a result, I went ahead and developed a config guide for customers.

We decided this guide would be nice to have on the ACS Wiki, so I have gone
ahead and created the following page (under Cloud Operators):

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Storage+Configuration+Guide

It does use SolidFire as the example storage, but the focus of the document
is on how to configure ACS storage for XenServer and VMware environments.

Please let me know if you have any comments.

Thanks!

-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud
*™*


RE: [jira] [Commented] (CLOUDSTACK-2463) CS Upgrade 2.2.14 to 4.1.0 failed due to no public network found (configuration : advanced network with security groups)

2013-05-13 Thread Paul Angus
Done. :)

Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com

-Original Message-
From: Wei ZHOU [mailto:ustcweiz...@gmail.com]
Sent: 13 May 2013 18:38
To: dev@cloudstack.apache.org
Subject: Re: [jira] [Commented] (CLOUDSTACK-2463) CS Upgrade 2.2.14 to 4.1.0 
failed due to no public network found (configuration : advanced network with 
security groups)

Thanks,  Paul.

Could you login to the database and paste the result of the commands Nicolas 
listed in Description?


2013/5/13 Paul Angus (JIRA) 

>
> [
> https://issues.apache.org/jira/browse/CLOUDSTACK-2463?page=com.atlassi
> an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId
> =13656100#comment-13656100]
>
> Paul Angus commented on CLOUDSTACK-2463:
> 
>
> On a clean build of ACS4.1-SNAPSHOT from 13/05/13 I created an
> advanced zone with security groups.
>
> When attempting to enable the zone I received the following message:
>
> 'Cannot enable this Zone since: Unable to find the default physical
> network with traffic=Public in the specified zone id'
>
> As it was an advanced zone with security groups I didn't get the
> option to add/configure a public network.
>
> > CS Upgrade 2.2.14 to 4.1.0 failed due to no public network found
> (configuration : advanced network with security groups)
> >
> --
> --
> >
> > Key: CLOUDSTACK-2463
> > URL:
> https://issues.apache.org/jira/browse/CLOUDSTACK-2463
> > Project: CloudStack
> >  Issue Type: Bug
> >  Security Level: Public(Anyone can view this level - this is the
> default.)
> >Affects Versions: 4.1.0
> >Reporter: Nicolas Lamirault
> >Assignee: Wei Zhou
> >Priority: Blocker
> > Fix For: 4.1.0
> >
> >
> > According Wei Zhou last patch (
> https://issues.apache.org/jira/browse/CLOUDSTACK-528), i can add a new
> secondary storage. The SSVM creation failed due to :
> > 2013-05-13 15:17:52,868 DEBUG
> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
> Zone 1 is ready to launch secondary storage VM
> > 2013-05-13 15:17:52,879 INFO
> [cloud.secstorage.PremiumSecondaryStorageManagerImpl]
> (secstorage-1:null) No running secondary storage vms found in
> datacenter id=1, starting one
> > 2013-05-13 15:17:52,889 INFO
> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) No
> stopped secondary storage vm is available, need to allocate a new
> secondary storage vm
> > 2013-05-13 15:17:52,894 DEBUG
> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
> Assign secondary storage vm from a newly started instance for request
> from data center : 1
> > 2013-05-13 15:17:52,922 WARN [cloud.vm.SystemVmLoadScanner]
> (secstorage-1:null) Unexpected exception Found 22 networks of type
> Guest when expect to find 1
> > com.cloud.utils.exception.CloudRuntimeException: Found 22 networks
> > of
> type Guest when expect to find 1
> > at
> com.cloud.storage.secondary.SecondaryStorageManagerImpl.createSecStora
> geVmInstance(SecondaryStorageManagerImpl.java:552)
> > at
> com.cloud.storage.secondary.SecondaryStorageManagerImpl.startNew(Secon
> daryStorageManagerImpl.java:499)
> > at
> com.cloud.storage.secondary.SecondaryStorageManagerImpl.allocCapacity(
> SecondaryStorageManagerImpl.java:666)
> > at
> com.cloud.storage.secondary.SecondaryStorageManagerImpl.expandPool(Sec
> ondaryStorageManagerImpl.java:1300)
> > at
> com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(Premi
> umSecondaryStorageManagerImpl.java:121)
> > at
> com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(Premi
> umSecondaryStorageManagerImpl.java:52)
> > at
> com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:104
> )
> > at
> com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:3
> 3)
> > at
> com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:
> 81)
> > at
> com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:72)
> > at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441
> )
> > at
> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:
> 317)
> > at
> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
> > at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.a
> ccess$101(ScheduledThreadPoolExecutor.java:98)
> > at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.r
> unPeriodic(ScheduledThreadPoolExecutor.java:180)
> > at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.r
> un(ScheduledThreadPoolExecutor.java:204)
> > at
> java.util.concurrent.ThreadPoolExecut

Re: Build failed in Jenkins: build-docs-admin-master #1721

2013-05-13 Thread Chip Childers
On Mon, May 13, 2013 at 06:28:09PM +, Nitin Mehta wrote:
> 
> 
> On 13/05/13 11:52 PM, "Chip Childers"  wrote:
> 
> >On Mon, May 13, 2013 at 06:13:46PM +, Nitin Mehta wrote:
> >> From link below the command "mvn -P developer -pl :cloud-apidoc" works
> >> fine without even putting any fix for the gslb.xml
> >> 
> >>https://cwiki.apache.org/CLOUDSTACK/how-to-generate-cloudstack-api-docume
> >>nt
> >> ation.html
> >
> >This is the admin guide, not the api docs.
> 
> Got it Chip. But I guess there must still be a way to build it right ?
> 
> >
> >> 
> >> 
> >> How do I verify my fix ?
> >
> >I suspect that you simply have a merge conflict that was committed in
> >the file.  Just review the file in question for "<<<" and work out the
> >right version to keep (normal conflict resolution).
> 
> I did that and wanted to verify it, but anyways I have pushed my changes
> removing the conflict messages like "<< HEAD" etc.

Build instructions within this page:

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Releasing+Docs


Re: Build failed in Jenkins: build-docs-admin-master #1721

2013-05-13 Thread Nitin Mehta


On 13/05/13 11:52 PM, "Chip Childers"  wrote:

>On Mon, May 13, 2013 at 06:13:46PM +, Nitin Mehta wrote:
>> From link below the command "mvn -P developer -pl :cloud-apidoc" works
>> fine without even putting any fix for the gslb.xml
>> 
>>https://cwiki.apache.org/CLOUDSTACK/how-to-generate-cloudstack-api-docume
>>nt
>> ation.html
>
>This is the admin guide, not the api docs.

Got it Chip. But I guess there must still be a way to build it right ?

>
>> 
>> 
>> How do I verify my fix ?
>
>I suspect that you simply have a merge conflict that was committed in
>the file.  Just review the file in question for "<<<" and work out the
>right version to keep (normal conflict resolution).

I did that and wanted to verify it, but anyways I have pushed my changes
removing the conflict messages like "<< HEAD" etc.

>
>
>Here's the snippet from the build log that points me to this resolution:
>
>> >> not well-formed (invalid token) at line 160, column 1, byte 11490:
>> >>   
>> >> Configuring GSLB
>> >> <<< HEAD
>> >> ^
>> >> A GSLB deployment is the logical collection of GSLB
>> >> virtual
>> >>server, GSLB service, LB
>> >>   virtual server, service, domain, and ADNS service. To create
>> >>   a
>> >>GSLB site, you must configure
>> >>  at /usr/lib/perl5/vendor_perl/XML/Parser.pm line 187
>> >> Processing file
>> >>tmp/en-US/xml_tmp/external-guest-lb-integration.xml ->
>> >>tmp/en-US/xml/external-guest-lb-integration.xml
>> >> Processing file tmp/en-US/xml_tmp/extracting-source.xml ->
>> >>tmp/en-US/xml/extracting-source.xml
>> >> Processing file tmp/en-US/xml_tmp/feature-overview.xml ->
>> >>tmp/en-US/xml/feature-overview.xml
>> >> Processing file tmp/en-US/xml_tmp/feedback.xml ->
>> >>tmp/en-US/xml/feedback.xml
>> >> Processing file tmp/en-US/xml_tmp/firewall-rules.xml ->
>> >>tmp/en-US/xml/firewall-rules.xml
>> >> Processing file tmp/en-US/xml_tmp/first_ms_node_install.xml
>> >> ->
>> >>tmp/en-US/xml/first_ms_node_install.xml
>> >> Processing file
>> >>tmp/en-US/xml_tmp/generic-firewall-provisions.xml ->
>> >>tmp/en-US/xml/generic-firewall-provisions.xml
>> >> Processing file tmp/en-US/xml_tmp/getting-release.xml ->
>> >>tmp/en-US/xml/getting-release.xml
>> >> Processing file tmp/en-US/xml_tmp/global-config.xml ->
>> >>tmp/en-US/xml/global-config.xml
>> >> Processing file
>> >>tmp/en-US/xml_tmp/globally-configured-limits.xml ->
>> >>tmp/en-US/xml/globally-configured-limits.xml
>> >> Processing file tmp/en-US/xml_tmp/gslb.xml ->
>> >>tmp/en-US/xml/gslb.xml
>> >> Build step 'Execute shell' marked build as failure
>> >> Archiving workspace
>> >> Deleting old workspace snapshot from #1720.
>> >> Archiving artifacts
>



Re: [MERGE] CLOUDSTACK-652 elastic IP

2013-05-13 Thread Chip Childers
On Mon, May 13, 2013 at 04:33:02PM +, Murali Reddy wrote:
> I would like to merge feature proposed as elastic IP [1] in to master. 
> Feature has been developed in feature branch 'portablepublicip' [4]
> 
> In the original proposal [1] and FS [2] I was intending to introduces AWS 
> like EIP semantics that provide a ability to move public IP across the 
> availability zones.  Since the real value of this feature is ability to move 
> public IP across the zones, so tying it with just static NAT (which is EIP) 
> is restricitve . So I have developed the feature in generic way so as to 
> enable all network services not just static NAT and yet keep the public IP 
> transferrable across the networks in a zone or across zones. I updated the FS 
> which reflects simplified semantics at [3]. Also, to keep with generic 
> semantics, I am proposing this pool of public IP's to be called 'portable 
> ip's instead of 'EIP'.
> 
> Integration tests for this feature is available at [5]. Branch is synced to 
> latest master and passes RAT check.
> 
> [1] 
> http://mail-archives.apache.org/mod_mbox/incubator-cloudstack-dev/201303.mbox/%3ccd6c2308.373dc%25murali.re...@citrix.com%3E
> [2] https://cwiki.apache.org/confluence/display/CLOUDSTACK/EIP+Enhancements
> [3] https://cwiki.apache.org/confluence/display/CLOUDSTACK/portable+public+IP
> [4] 
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/portablepublicip
> [5] 
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=blob;f=test/integration/smoke/test_portable_publicip.py;h=101747d958e90dd017323b34bae910f0199fc3c5;hb=refs/heads/portablepublicip

FWIW, this looks good to me.  +1


Re: Build failed in Jenkins: build-docs-admin-master #1721

2013-05-13 Thread Chip Childers
On Mon, May 13, 2013 at 06:13:46PM +, Nitin Mehta wrote:
> From link below the command "mvn -P developer -pl :cloud-apidoc" works
> fine without even putting any fix for the gslb.xml
> https://cwiki.apache.org/CLOUDSTACK/how-to-generate-cloudstack-api-document
> ation.html

This is the admin guide, not the api docs.

> 
> 
> How do I verify my fix ?

I suspect that you simply have a merge conflict that was committed in
the file.  Just review the file in question for "<<<" and work out the
right version to keep (normal conflict resolution).


Here's the snippet from the build log that points me to this resolution:

> >> not well-formed (invalid token) at line 160, column 1, byte 11490:
> >>   
> >> Configuring GSLB
> >> <<< HEAD
> >> ^
> >> A GSLB deployment is the logical collection of GSLB
> >> virtual
> >>server, GSLB service, LB
> >>   virtual server, service, domain, and ADNS service. To create
> >>   a
> >>GSLB site, you must configure
> >>  at /usr/lib/perl5/vendor_perl/XML/Parser.pm line 187
> >> Processing file
> >>tmp/en-US/xml_tmp/external-guest-lb-integration.xml ->
> >>tmp/en-US/xml/external-guest-lb-integration.xml
> >> Processing file tmp/en-US/xml_tmp/extracting-source.xml ->
> >>tmp/en-US/xml/extracting-source.xml
> >> Processing file tmp/en-US/xml_tmp/feature-overview.xml ->
> >>tmp/en-US/xml/feature-overview.xml
> >> Processing file tmp/en-US/xml_tmp/feedback.xml ->
> >>tmp/en-US/xml/feedback.xml
> >> Processing file tmp/en-US/xml_tmp/firewall-rules.xml ->
> >>tmp/en-US/xml/firewall-rules.xml
> >> Processing file tmp/en-US/xml_tmp/first_ms_node_install.xml
> >> ->
> >>tmp/en-US/xml/first_ms_node_install.xml
> >> Processing file
> >>tmp/en-US/xml_tmp/generic-firewall-provisions.xml ->
> >>tmp/en-US/xml/generic-firewall-provisions.xml
> >> Processing file tmp/en-US/xml_tmp/getting-release.xml ->
> >>tmp/en-US/xml/getting-release.xml
> >> Processing file tmp/en-US/xml_tmp/global-config.xml ->
> >>tmp/en-US/xml/global-config.xml
> >> Processing file
> >>tmp/en-US/xml_tmp/globally-configured-limits.xml ->
> >>tmp/en-US/xml/globally-configured-limits.xml
> >> Processing file tmp/en-US/xml_tmp/gslb.xml ->
> >>tmp/en-US/xml/gslb.xml
> >> Build step 'Execute shell' marked build as failure
> >> Archiving workspace
> >> Deleting old workspace snapshot from #1720.
> >> Archiving artifacts



[ACS41] CLOUDSTACK-2064 - Help needed on VMware related bug!

2013-05-13 Thread Chip Childers
CLOUDSTACK-2064 - "The Vmware template dosent have permissions to be
copied from secondary storage."

I need someone to grab this one and work on resolving it please!

-chip


Re: Build failed in Jenkins: build-docs-admin-master #1721

2013-05-13 Thread Nitin Mehta
>From link below the command "mvn -P developer -pl :cloud-apidoc" works
fine without even putting any fix for the gslb.xml
https://cwiki.apache.org/CLOUDSTACK/how-to-generate-cloudstack-api-document
ation.html


How do I verify my fix ?

On 13/05/13 11:40 PM, "Chip Childers"  wrote:

>Nitin,
>
>Have you resolved this now?
>
>On Mon, May 13, 2013 at 2:02 PM,   wrote:
>> See 
>>
>>
>> Changes:
>>
>> [nitin.mehta] Fixing apidocs adding the new category meta data apis
>>
>> --
>> [...truncated 17 lines...]
>> Setting up en-US
>> Processing file tmp/en-US/xml/Common_Content/Conventions.xml ->
>>tmp/en-US/xml/Common_Content/Conventions.xml
>> Processing file tmp/en-US/xml/Common_Content/Feedback.xml ->
>>tmp/en-US/xml/Common_Content/Feedback.xml
>> Processing file tmp/en-US/xml/Common_Content/Legal_Notice.xml
>>-> tmp/en-US/xml/Common_Content/Legal_Notice.xml
>> Processing file tmp/en-US/xml_tmp/Admin_Guide.xml ->
>>tmp/en-US/xml/Admin_Guide.xml
>> Processing file tmp/en-US/xml_tmp/Author_Group.xml ->
>>tmp/en-US/xml/Author_Group.xml
>> Processing file tmp/en-US/xml_tmp/Book_Info.xml ->
>>tmp/en-US/xml/Book_Info.xml
>> Processing file
>>tmp/en-US/xml_tmp/Book_Info_Release_Notes_4-0.xml ->
>>tmp/en-US/xml/Book_Info_Release_Notes_4-0.xml
>> Processing file
>>tmp/en-US/xml_tmp/CloudStack_Nicira_NVP_Guide.xml ->
>>tmp/en-US/xml/CloudStack_Nicira_NVP_Guide.xml
>> Processing file
>>tmp/en-US/xml_tmp/Common_Content/Legal_Notice.xml ->
>>tmp/en-US/xml/Common_Content/Legal_Notice.xml
>> Processing file tmp/en-US/xml_tmp/Common_Content/feedback.xml
>>-> tmp/en-US/xml/Common_Content/feedback.xml
>> Processing file tmp/en-US/xml_tmp/Developers_Guide.xml ->
>>tmp/en-US/xml/Developers_Guide.xml
>> Processing file tmp/en-US/xml_tmp/Installation_Guide.xml ->
>>tmp/en-US/xml/Installation_Guide.xml
>> Processing file
>>tmp/en-US/xml_tmp/LDAPserver-for-user-authentication.xml ->
>>tmp/en-US/xml/LDAPserver-for-user-authentication.xml
>> Processing file tmp/en-US/xml_tmp/MidoNet_Plugin_Guide.xml ->
>>tmp/en-US/xml/MidoNet_Plugin_Guide.xml
>> Processing file tmp/en-US/xml_tmp/Preface.xml ->
>>tmp/en-US/xml/Preface.xml
>> Processing file tmp/en-US/xml_tmp/Release_Notes.xml ->
>>tmp/en-US/xml/Release_Notes.xml
>> Processing file tmp/en-US/xml_tmp/Revision_History.xml ->
>>tmp/en-US/xml/Revision_History.xml
>> Processing file
>>tmp/en-US/xml_tmp/Revision_History_Install_Guide.xml ->
>>tmp/en-US/xml/Revision_History_Install_Guide.xml
>> Processing file
>>tmp/en-US/xml_tmp/SSL-keystore-path-and-password.xml ->
>>tmp/en-US/xml/SSL-keystore-path-and-password.xml
>> Processing file
>>tmp/en-US/xml_tmp/VPN-user-usage-record-format.xml ->
>>tmp/en-US/xml/VPN-user-usage-record-format.xml
>> Processing file tmp/en-US/xml_tmp/about-clusters.xml ->
>>tmp/en-US/xml/about-clusters.xml
>> Processing file tmp/en-US/xml_tmp/about-hosts.xml ->
>>tmp/en-US/xml/about-hosts.xml
>> Processing file tmp/en-US/xml_tmp/about-password-encryption.xml
>>-> tmp/en-US/xml/about-password-encryption.xml
>> Processing file tmp/en-US/xml_tmp/about-physical-networks.xml
>>-> tmp/en-US/xml/about-physical-networks.xml
>> Processing file tmp/en-US/xml_tmp/about-pods.xml ->
>>tmp/en-US/xml/about-pods.xml
>> Processing file tmp/en-US/xml_tmp/about-primary-storage.xml ->
>>tmp/en-US/xml/about-primary-storage.xml
>> Processing file tmp/en-US/xml_tmp/about-regions.xml ->
>>tmp/en-US/xml/about-regions.xml
>> Processing file tmp/en-US/xml_tmp/about-secondary-storage.xml
>>-> tmp/en-US/xml/about-secondary-storage.xml
>> Processing file tmp/en-US/xml_tmp/about-security-groups.xml ->
>>tmp/en-US/xml/about-security-groups.xml
>> Processing file tmp/en-US/xml_tmp/about-virtual-networks.xml ->
>>tmp/en-US/xml/about-virtual-networks.xml
>> Processing file tmp/en-US/xml_tmp/about-working-with-vms.xml ->
>>tmp/en-US/xml/about-working-with-vms.xml
>> Processing file tmp/en-US/xml_tmp/about-zones.xml ->
>>tmp/en-US/xml/about-zones.xml
>> Processing file tmp/en-US/xml_tmp/accept-membership-invite.xml
>>-> tmp/en-US/xml/accept-membership-invite.xml
>> Processing file tmp/en-US/xml_tmp/accessing-vms.xml ->
>>tmp/en-US/xml/accessing-vms.xml
>>  [31m*WARNING: Questionable tag found: inlinegraphic
>>  [0m [31m   This tag breaks section 508 accessibility standards and
>>makes translation extremely difficult.
>>  [0mConsider not using this tag
>>
>>  [31m*WARNING: Unvalidated tag: 'inlinegraphic'. This tag may not be
>>displayed correctly, may generate invalid xhtml, or may breach Section
>>508 Accessibility standards.
>>  [0mProcessing file tmp/en-US/xml_tmp/accounts-users-domains.xml ->
>>tmp/en-US/xml/accoun

RE: [MERGE] UI support for Cisco ASA1000v

2013-05-13 Thread Brian Federle
Merged to master.

-Original Message-
From: Brian Federle [mailto:brian.fede...@citrix.com] 
Sent: Friday, May 10, 2013 12:58 PM
To: dev@cloudstack.apache.org; Jessica Wang
Cc: Sonny Chhen
Subject: [MERGE] UI support for Cisco ASA1000v

Hi all,

I would like to merge UI support for Cisco VNMC provider with ASA 1000v support 
JIRA ticket: https://issues.apache.org/jira/browse/CLOUDSTACK-1816
FS: 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Cisco+VNMC+integration
Branch: ui-cisco-asa1000v-support
Unit tests: N/A (UI only)
RAT report ran successfully
Discussion: http://apache.markmail.org/thread/dn5673bx3iigtllw


Re: Build failed in Jenkins: build-docs-admin-master #1721

2013-05-13 Thread Chip Childers
Nitin,

Have you resolved this now?

On Mon, May 13, 2013 at 2:02 PM,   wrote:
> See 
>
> Changes:
>
> [nitin.mehta] Fixing apidocs adding the new category meta data apis
>
> --
> [...truncated 17 lines...]
> Setting up en-US
> Processing file tmp/en-US/xml/Common_Content/Conventions.xml -> 
> tmp/en-US/xml/Common_Content/Conventions.xml
> Processing file tmp/en-US/xml/Common_Content/Feedback.xml -> 
> tmp/en-US/xml/Common_Content/Feedback.xml
> Processing file tmp/en-US/xml/Common_Content/Legal_Notice.xml -> 
> tmp/en-US/xml/Common_Content/Legal_Notice.xml
> Processing file tmp/en-US/xml_tmp/Admin_Guide.xml -> 
> tmp/en-US/xml/Admin_Guide.xml
> Processing file tmp/en-US/xml_tmp/Author_Group.xml -> 
> tmp/en-US/xml/Author_Group.xml
> Processing file tmp/en-US/xml_tmp/Book_Info.xml -> 
> tmp/en-US/xml/Book_Info.xml
> Processing file tmp/en-US/xml_tmp/Book_Info_Release_Notes_4-0.xml -> 
> tmp/en-US/xml/Book_Info_Release_Notes_4-0.xml
> Processing file tmp/en-US/xml_tmp/CloudStack_Nicira_NVP_Guide.xml -> 
> tmp/en-US/xml/CloudStack_Nicira_NVP_Guide.xml
> Processing file tmp/en-US/xml_tmp/Common_Content/Legal_Notice.xml -> 
> tmp/en-US/xml/Common_Content/Legal_Notice.xml
> Processing file tmp/en-US/xml_tmp/Common_Content/feedback.xml -> 
> tmp/en-US/xml/Common_Content/feedback.xml
> Processing file tmp/en-US/xml_tmp/Developers_Guide.xml -> 
> tmp/en-US/xml/Developers_Guide.xml
> Processing file tmp/en-US/xml_tmp/Installation_Guide.xml -> 
> tmp/en-US/xml/Installation_Guide.xml
> Processing file 
> tmp/en-US/xml_tmp/LDAPserver-for-user-authentication.xml -> 
> tmp/en-US/xml/LDAPserver-for-user-authentication.xml
> Processing file tmp/en-US/xml_tmp/MidoNet_Plugin_Guide.xml -> 
> tmp/en-US/xml/MidoNet_Plugin_Guide.xml
> Processing file tmp/en-US/xml_tmp/Preface.xml -> 
> tmp/en-US/xml/Preface.xml
> Processing file tmp/en-US/xml_tmp/Release_Notes.xml -> 
> tmp/en-US/xml/Release_Notes.xml
> Processing file tmp/en-US/xml_tmp/Revision_History.xml -> 
> tmp/en-US/xml/Revision_History.xml
> Processing file tmp/en-US/xml_tmp/Revision_History_Install_Guide.xml 
> -> tmp/en-US/xml/Revision_History_Install_Guide.xml
> Processing file tmp/en-US/xml_tmp/SSL-keystore-path-and-password.xml 
> -> tmp/en-US/xml/SSL-keystore-path-and-password.xml
> Processing file tmp/en-US/xml_tmp/VPN-user-usage-record-format.xml -> 
> tmp/en-US/xml/VPN-user-usage-record-format.xml
> Processing file tmp/en-US/xml_tmp/about-clusters.xml -> 
> tmp/en-US/xml/about-clusters.xml
> Processing file tmp/en-US/xml_tmp/about-hosts.xml -> 
> tmp/en-US/xml/about-hosts.xml
> Processing file tmp/en-US/xml_tmp/about-password-encryption.xml -> 
> tmp/en-US/xml/about-password-encryption.xml
> Processing file tmp/en-US/xml_tmp/about-physical-networks.xml -> 
> tmp/en-US/xml/about-physical-networks.xml
> Processing file tmp/en-US/xml_tmp/about-pods.xml -> 
> tmp/en-US/xml/about-pods.xml
> Processing file tmp/en-US/xml_tmp/about-primary-storage.xml -> 
> tmp/en-US/xml/about-primary-storage.xml
> Processing file tmp/en-US/xml_tmp/about-regions.xml -> 
> tmp/en-US/xml/about-regions.xml
> Processing file tmp/en-US/xml_tmp/about-secondary-storage.xml -> 
> tmp/en-US/xml/about-secondary-storage.xml
> Processing file tmp/en-US/xml_tmp/about-security-groups.xml -> 
> tmp/en-US/xml/about-security-groups.xml
> Processing file tmp/en-US/xml_tmp/about-virtual-networks.xml -> 
> tmp/en-US/xml/about-virtual-networks.xml
> Processing file tmp/en-US/xml_tmp/about-working-with-vms.xml -> 
> tmp/en-US/xml/about-working-with-vms.xml
> Processing file tmp/en-US/xml_tmp/about-zones.xml -> 
> tmp/en-US/xml/about-zones.xml
> Processing file tmp/en-US/xml_tmp/accept-membership-invite.xml -> 
> tmp/en-US/xml/accept-membership-invite.xml
> Processing file tmp/en-US/xml_tmp/accessing-vms.xml -> 
> tmp/en-US/xml/accessing-vms.xml
>  [31m*WARNING: Questionable tag found: inlinegraphic
>  [0m [31m   This tag breaks section 508 accessibility standards and makes 
> translation extremely difficult.
>  [0mConsider not using this tag
>
>  [31m*WARNING: Unvalidated tag: 'inlinegraphic'. This tag may not be 
> displayed correctly, may generate invalid xhtml, or may breach Section 508 
> Accessibility standards.
>  [0mProcessing file tmp/en-US/xml_tmp/accounts-users-domains.xml -> 
> tmp/en-US/xml/accounts-users-domains.xml
> Processing file tmp/en-US/xml_tmp/accounts.xml -> 
> tmp/en-US/xml/accounts.xml
> Processing file tmp/en-US/xml_tmp/acquire-new-ip-address.xml -> 
> tmp/en-US/xml/acquire-new-ip-address.xml
> Processing file tmp/en-US/xml_tmp/acquire-new-ip-for-vpc.xml -> 
> tmp/en-US

Re: [HELP] apache wiki & GIT is down

2013-05-13 Thread David Nalley
On Mon, May 13, 2013 at 1:53 PM, Chip Childers
 wrote:
> On Mon, May 13, 2013 at 10:44:47AM -0700, Kelven Yang wrote:
>> Could someone look at it and bring it up?
>>
>> Kelven
>
> The ASF Colo is currently having issues.  This isn't just a CloudStack
> thing.

https://twitter.com/infrabot/status/333286597665632257

That's still the issue today.

--David


Re: [HELP] apache wiki & GIT is down

2013-05-13 Thread Chip Childers
On Mon, May 13, 2013 at 10:44:47AM -0700, Kelven Yang wrote:
> Could someone look at it and bring it up?
> 
> Kelven

The ASF Colo is currently having issues.  This isn't just a CloudStack
thing.


RE: [HELP] apache wiki & GIT is down

2013-05-13 Thread Alex Huang
Both are up for me.

--Alex

> -Original Message-
> From: Kelven Yang [mailto:kelven.y...@citrix.com]
> Sent: Monday, May 13, 2013 10:45 AM
> To: dev@cloudstack.apache.org
> Subject: [HELP] apache wiki & GIT is down
> 
> Could someone look at it and bring it up?
> 
> Kelven


[HELP] apache wiki & GIT is down

2013-05-13 Thread Kelven Yang
Could someone look at it and bring it up?

Kelven


Re: [jira] [Commented] (CLOUDSTACK-2463) CS Upgrade 2.2.14 to 4.1.0 failed due to no public network found (configuration : advanced network with security groups)

2013-05-13 Thread Wei ZHOU
Thanks,  Paul.

Could you login to the database and paste the result of the commands
Nicolas listed in Description?


2013/5/13 Paul Angus (JIRA) 

>
> [
> https://issues.apache.org/jira/browse/CLOUDSTACK-2463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13656100#comment-13656100]
>
> Paul Angus commented on CLOUDSTACK-2463:
> 
>
> On a clean build of ACS4.1-SNAPSHOT from 13/05/13 I created an advanced
> zone with security groups.
>
> When attempting to enable the zone I received the following message:
>
> 'Cannot enable this Zone since: Unable to find the default physical
> network with traffic=Public in the specified zone id'
>
> As it was an advanced zone with security groups I didn't get the option to
> add/configure a public network.
>
> > CS Upgrade 2.2.14 to 4.1.0 failed due to no public network found
> (configuration : advanced network with security groups)
> >
> 
> >
> > Key: CLOUDSTACK-2463
> > URL:
> https://issues.apache.org/jira/browse/CLOUDSTACK-2463
> > Project: CloudStack
> >  Issue Type: Bug
> >  Security Level: Public(Anyone can view this level - this is the
> default.)
> >Affects Versions: 4.1.0
> >Reporter: Nicolas Lamirault
> >Assignee: Wei Zhou
> >Priority: Blocker
> > Fix For: 4.1.0
> >
> >
> > According Wei Zhou last patch (
> https://issues.apache.org/jira/browse/CLOUDSTACK-528), i can add a new
> secondary storage. The SSVM creation failed due to :
> > 2013-05-13 15:17:52,868 DEBUG
> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1
> is ready to launch secondary storage VM
> > 2013-05-13 15:17:52,879 INFO
> [cloud.secstorage.PremiumSecondaryStorageManagerImpl] (secstorage-1:null)
> No running secondary storage vms found in datacenter id=1, starting one
> > 2013-05-13 15:17:52,889 INFO
> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) No
> stopped secondary storage vm is available, need to allocate a new secondary
> storage vm
> > 2013-05-13 15:17:52,894 DEBUG
> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Assign
> secondary storage vm from a newly started instance for request from data
> center : 1
> > 2013-05-13 15:17:52,922 WARN [cloud.vm.SystemVmLoadScanner]
> (secstorage-1:null) Unexpected exception Found 22 networks of type Guest
> when expect to find 1
> > com.cloud.utils.exception.CloudRuntimeException: Found 22 networks of
> type Guest when expect to find 1
> > at
> com.cloud.storage.secondary.SecondaryStorageManagerImpl.createSecStorageVmInstance(SecondaryStorageManagerImpl.java:552)
> > at
> com.cloud.storage.secondary.SecondaryStorageManagerImpl.startNew(SecondaryStorageManagerImpl.java:499)
> > at
> com.cloud.storage.secondary.SecondaryStorageManagerImpl.allocCapacity(SecondaryStorageManagerImpl.java:666)
> > at
> com.cloud.storage.secondary.SecondaryStorageManagerImpl.expandPool(SecondaryStorageManagerImpl.java:1300)
> > at
> com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:121)
> > at
> com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:52)
> > at
> com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:104)
> > at
> com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:33)
> > at
> com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:81)
> > at
> com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:72)
> > at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
> > at
> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
> > at
> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
> > at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
> > at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
> > at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
> > at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> > at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> > at java.lang.Thread.run(Thread.java:662)
> > We try this patch :
> > diff --git
> a/server/src/com/cloud/storage/secondary/SecondaryStorageManagerImpl.java
> b/server/src/com/cloud/storage/secondary/SecondaryStorageManagerImpl.java
> > index fca89dc..d40d22f 100755
> > ---
> a/server/src/com/cloud/

Re: Commit 8d53b1ef05a45604d76b2cf80094f688edf15b44

2013-05-13 Thread Nitin Mehta


On 13/05/13 9:48 PM, "David Nalley"  wrote:

>Hi Nitin:
>
>Go through and see what changed that you didn't intend - and revert
>those individual commits.


David - I googled a bit more and read on this. From my reading it seems
that the flow I followed doesn't harm the branch from code perspective. So
no harm done in terms of code being lost.
The only issue could be that a bit of history being jumbled in terms of
parents.
Reverting my commits would be more trickier and can be more difficult
given the size. I also discussed this with one of my friends explaining
him this flow and he backed my findings as well.

I had done sanity testing after pushing the code and that worked fine. The
doc file (which Hugo pointed to) I had mistakenly added without resolving
the conflicts which I will shortly fix.
If anyone sees any other issues with this do let me know.



>I'd like to understand what happened though - did you rebase your
>branch before the merge??
>
>--David
>
>On Mon, May 13, 2013 at 11:54 AM, Nitin Mehta 
>wrote:
>> David - It seems like I messed up my merge here. It wasn't done as a
>> single commit and therefore the difficulty of reverting it back.
>> Would you have any suggestions to revert it here ?
>>
>> On 13/05/13 8:52 PM, "David Nalley"  wrote:
>>
>>>Speaking of, I saw lots of stuff in that merge that didn't appear to
>>>be related to your merge. I am concerned that it effectively reverted
>>>a number of things.
>>>
>>>--David
>>>
>>>On Mon, May 13, 2013 at 11:07 AM, Nitin Mehta 
>>>wrote:
 Sure. Looking into it.

 On 13/05/13 8:14 PM, "Hugo Trippaers" 
 wrote:

>Nitin,
>
>Can you please fix your commit with id
>8d53b1ef05a45604d76b2cf80094f688edf15b44
>
>You committed a file with conflicts (docs/en-US/gslb.xml) and it's
>breaking the docs build.
>
>
>Cheers,
>
>Hugo

>>



[DESIGN] Database Access Layer

2013-05-13 Thread Alex Huang
It's taken me a while to write this.  Hope it's still useful to some.  
Apologize for the tardiness.

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Data+Access+Layer

--Alex


RE: [ACS41] Security Groups in Advanced zone

2013-05-13 Thread Paul Angus
Done.

Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com

-Original Message-
From: Chip Childers [mailto:chip.child...@sungard.com]
Sent: 13 May 2013 17:34
To: dev@cloudstack.apache.org
Subject: Re: [ACS41] Security Groups in Advanced zone

On Mon, May 13, 2013 at 04:29:28PM +, Paul Angus wrote:
> Thanks Chip.
>
> BTW it's not just an upgrade bug. This was a sparkling clean build.

Please provide any relevant info in the bug, so that we can be sure that path 
is addressed too!

Thanks Paul!

>
> Regards,
>
> Paul Angus
> S: +44 20 3603 0540 | M: +447711418784 paul.an...@shapeblue.com
>
> -Original Message-
> From: Chip Childers [mailto:chip.child...@sungard.com]
> Sent: 13 May 2013 17:21
> To: dev@cloudstack.apache.org
> Subject: Re: [ACS41] Security Groups in Advanced zone
>
> On Mon, May 13, 2013 at 10:33:42AM +, Paul Angus wrote:
> > Guys,
> >
> > Now KVM is running ok I've added my hosts BUT when I try to enable the zone 
> > I get the following error:
> >
> > Cannot enable this Zone since: Unable to find the default physical
> > network with traffic=Public in the specified zone id
> >
> > As it was an advanced zone with security groups I didn't get the option to 
> > add/configure a public network.
>
> CLOUDSTACK-2463 has been opened to track this.
>
> 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 operated 
> under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>
>

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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.



Re: [ACS41] Security Groups in Advanced zone

2013-05-13 Thread Chip Childers
On Mon, May 13, 2013 at 04:29:28PM +, Paul Angus wrote:
> Thanks Chip.
> 
> BTW it's not just an upgrade bug. This was a sparkling clean build.

Please provide any relevant info in the bug, so that we can be sure that
path is addressed too!

Thanks Paul!

> 
> Regards,
> 
> Paul Angus
> S: +44 20 3603 0540 | M: +447711418784
> paul.an...@shapeblue.com
> 
> -Original Message-
> From: Chip Childers [mailto:chip.child...@sungard.com]
> Sent: 13 May 2013 17:21
> To: dev@cloudstack.apache.org
> Subject: Re: [ACS41] Security Groups in Advanced zone
> 
> On Mon, May 13, 2013 at 10:33:42AM +, Paul Angus wrote:
> > Guys,
> >
> > Now KVM is running ok I've added my hosts BUT when I try to enable the zone 
> > I get the following error:
> >
> > Cannot enable this Zone since: Unable to find the default physical network 
> > with traffic=Public in the specified zone id
> >
> > As it was an advanced zone with security groups I didn't get the option to 
> > add/configure a public network.
> 
> CLOUDSTACK-2463 has been opened to track this.
> 
> 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 operated 
> under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
> 
> 


Re: Upgrade from 3.0.2 to 4.0.2 fails due to db schema upgrade fail

2013-05-13 Thread Joe Brockmeier
On Mon, May 13, 2013, at 11:24 AM, France wrote:
> I guess 4.1 is still a long way from being released:
> https://cwiki.apache.org/CLOUDSTACK/cloudstack-41-release.html
> because we haven't even hit the code freeze yet.

We're close to the 4.1.0 release - we've hit a number of upgrade
blockers, but as soon as those are resolved, Chip should be calling for
a vote and the release will come out shortly after that. 

Best,

jzb
-- 
Joe Brockmeier
j...@zonker.net
Twitter: @jzb
http://www.dissociatedpress.net/


[MERGE] CLOUDSTACK-652 elastic IP

2013-05-13 Thread Murali Reddy
I would like to merge feature proposed as elastic IP [1] in to master. Feature 
has been developed in feature branch 'portablepublicip' [4]

In the original proposal [1] and FS [2] I was intending to introduces AWS like 
EIP semantics that provide a ability to move public IP across the availability 
zones.  Since the real value of this feature is ability to move public IP 
across the zones, so tying it with just static NAT (which is EIP) is 
restricitve . So I have developed the feature in generic way so as to enable 
all network services not just static NAT and yet keep the public IP 
transferrable across the networks in a zone or across zones. I updated the FS 
which reflects simplified semantics at [3]. Also, to keep with generic 
semantics, I am proposing this pool of public IP's to be called 'portable ip's 
instead of 'EIP'.

Integration tests for this feature is available at [5]. Branch is synced to 
latest master and passes RAT check.

[1] 
http://mail-archives.apache.org/mod_mbox/incubator-cloudstack-dev/201303.mbox/%3ccd6c2308.373dc%25murali.re...@citrix.com%3E
[2] https://cwiki.apache.org/confluence/display/CLOUDSTACK/EIP+Enhancements
[3] https://cwiki.apache.org/confluence/display/CLOUDSTACK/portable+public+IP
[4] 
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/portablepublicip
[5] 
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=blob;f=test/integration/smoke/test_portable_publicip.py;h=101747d958e90dd017323b34bae910f0199fc3c5;hb=refs/heads/portablepublicip


Re: Upgrade from 3.0.2 to 4.0.2 fails due to db schema upgrade fail

2013-05-13 Thread Chip Childers
On Mon, May 13, 2013 at 06:24:02PM +0200, France wrote:
> 
> On May 13, 2013, at 10:27 AM, Sebastien Goasguen wrote:
> 
> > 
> > On May 11, 2013, at 9:40 AM, France  wrote:
> > 
> >> https://issues.apache.org/jira/browse/CLOUDSTACK-2214
> >> bug is described in URL above.
> >> +1 from me. ;-)
> >> 
> >> I wish you nice weekend.
> >> F.
> > 
> > France, thanks. We are dealing with a few upgrade bugs at the moment.
> > 
> > We will get back to you asap.
> > 
> > -Sebastien
> 
> Hi Sebastien,
> 
> i just saw the bug is supposed to be fixed, but won't be released:
> "CLOUDSTACK-2172 is the resolution to this bug.  Since the project will not 
> be releasing a 4.0.3 release, the next version (4.1.0) will have the fix 
> included in it."
> 
> I would suggest that you still release fixed version and make a fix for 4.0.2.
> Even if you don't, I still propose, that you at least fix release notes and 
> note, that there is no upgrade path from 3.* to 4.0.2. (Maybe even from 4.0.0 
> to 4.0.2?)

This is disappointing, yes.  We wouldn't have released 4.0.2 if we knew
the upgrade was broken.  However, we can't "re-release" a version.

Perhaps we can update the published release notes though.

> 
> I guess 4.1 is still a long way from being released:
> https://cwiki.apache.org/CLOUDSTACK/cloudstack-41-release.html
> because we haven't even hit the code freeze yet.

That "Status" is inaccurate (and is now just removed).

Actually, we're only working on the *final* bugs to do the 4.1 release.
These are actually (as Sebastian noted) all upgrade related.  You can
watch this list to know where we stand (look for [ACS41] tagged email
subjects).  As of this morning, only 3 bugs outstanding for 4.1.0.



RE: [ACS41] Security Groups in Advanced zone

2013-05-13 Thread Paul Angus
Thanks Chip.

BTW it's not just an upgrade bug. This was a sparkling clean build.

Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com

-Original Message-
From: Chip Childers [mailto:chip.child...@sungard.com]
Sent: 13 May 2013 17:21
To: dev@cloudstack.apache.org
Subject: Re: [ACS41] Security Groups in Advanced zone

On Mon, May 13, 2013 at 10:33:42AM +, Paul Angus wrote:
> Guys,
>
> Now KVM is running ok I've added my hosts BUT when I try to enable the zone I 
> get the following error:
>
> Cannot enable this Zone since: Unable to find the default physical network 
> with traffic=Public in the specified zone id
>
> As it was an advanced zone with security groups I didn't get the option to 
> add/configure a public network.

CLOUDSTACK-2463 has been opened to track this.

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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.



Re: Upgrade from 3.0.2 to 4.0.2 fails due to db schema upgrade fail

2013-05-13 Thread France

On May 13, 2013, at 10:27 AM, Sebastien Goasguen wrote:

> 
> On May 11, 2013, at 9:40 AM, France  wrote:
> 
>> https://issues.apache.org/jira/browse/CLOUDSTACK-2214
>> bug is described in URL above.
>> +1 from me. ;-)
>> 
>> I wish you nice weekend.
>> F.
> 
> France, thanks. We are dealing with a few upgrade bugs at the moment.
> 
> We will get back to you asap.
> 
> -Sebastien

Hi Sebastien,

i just saw the bug is supposed to be fixed, but won't be released:
"CLOUDSTACK-2172 is the resolution to this bug.  Since the project will not be 
releasing a 4.0.3 release, the next version (4.1.0) will have the fix included 
in it."

I would suggest that you still release fixed version and make a fix for 4.0.2.
Even if you don't, I still propose, that you at least fix release notes and 
note, that there is no upgrade path from 3.* to 4.0.2. (Maybe even from 4.0.0 
to 4.0.2?)

I guess 4.1 is still a long way from being released:
https://cwiki.apache.org/CLOUDSTACK/cloudstack-41-release.html
because we haven't even hit the code freeze yet.

How long do you think we will have to wait for release of 4.1 so we can finally 
move away from Citrixs release and use Apache one?

Regards,
F.



Re: Commit 8d53b1ef05a45604d76b2cf80094f688edf15b44

2013-05-13 Thread Nitin Mehta
David - I followed the following flow below. I had done the same earlier
as well except that I had squashed the changes into 1 commit.


git checkout -b develop
...make some changes...
...notice master has been updated...
...commit changes to develop...
git checkout master
git pull
...bring those changes back into develop...
git checkout develop
git merge master
...make some more changes...
...commit them to develop...
...merge them into master...
git checkout master
git pull
git merge develop






On 13/05/13 9:48 PM, "David Nalley"  wrote:

>Hi Nitin:
>
>Go through and see what changed that you didn't intend - and revert
>those individual commits.
>I'd like to understand what happened though - did you rebase your
>branch before the merge??
>
>--David
>
>On Mon, May 13, 2013 at 11:54 AM, Nitin Mehta 
>wrote:
>> David - It seems like I messed up my merge here. It wasn't done as a
>> single commit and therefore the difficulty of reverting it back.
>> Would you have any suggestions to revert it here ?
>>
>> On 13/05/13 8:52 PM, "David Nalley"  wrote:
>>
>>>Speaking of, I saw lots of stuff in that merge that didn't appear to
>>>be related to your merge. I am concerned that it effectively reverted
>>>a number of things.
>>>
>>>--David
>>>
>>>On Mon, May 13, 2013 at 11:07 AM, Nitin Mehta 
>>>wrote:
 Sure. Looking into it.

 On 13/05/13 8:14 PM, "Hugo Trippaers" 
 wrote:

>Nitin,
>
>Can you please fix your commit with id
>8d53b1ef05a45604d76b2cf80094f688edf15b44
>
>You committed a file with conflicts (docs/en-US/gslb.xml) and it's
>breaking the docs build.
>
>
>Cheers,
>
>Hugo

>>



Re: [ACS41] Security Groups in Advanced zone

2013-05-13 Thread Chip Childers
On Mon, May 13, 2013 at 10:33:42AM +, Paul Angus wrote:
> Guys,
> 
> Now KVM is running ok I've added my hosts BUT when I try to enable the zone I 
> get the following error:
> 
> Cannot enable this Zone since: Unable to find the default physical network 
> with traffic=Public in the specified zone id
> 
> As it was an advanced zone with security groups I didn't get the option to 
> add/configure a public network.

CLOUDSTACK-2463 has been opened to track this.


Re: Build Failure: 4.1 Branch

2013-05-13 Thread Chip Childers
On Mon, May 13, 2013 at 03:52:44PM +0200, Wei ZHOU wrote:
> Hi Chip,
> 
> I am sure I checkout the latest source code on 4.1 branch.
> It is weird that it failed on shashi's machine, but succeed on my machine.
> Both machines have the same major version of java (1.6.0_*), and maven
> (3.0.4)
> I can also build the RPMs for CentOS 6.3

Strange, since I too can't reproduce the issue.

Can you try running the build with the -X flag to get the debugging
info?

> 
> Wei
> 
> 
> 2013/5/13 Chip Childers 
> 
> > On Mon, May 13, 2013 at 12:50:15PM +0200, Wei ZHOU wrote:
> > > Hi Shashi,
> > >
> > > I checkouted the latest source code of 4.1 branch, and built it
> > > successfully by
> > > mvn -P developer,systemvm clean install
> > >
> > > Wei
> > >
> > >
> > > 2013/5/13 Shashi Dahal 
> > >
> > > > Hi All,
> > > >
> > > > I tried to build today from latest codes and it failed.
> > > >
> > > > Branch 4.1
> > > >
> > > > Latest git log:
> > > > commit a86e53d187d7ff18b86f44ec83322a8e37016f3f
> > > > Merge: a3b5980 840bf2e
> > > > Author: Chip Childers 
> > > > Date:   Sat May 11 18:26:41 2013 +0100
> > > >
> > > > Merge branch '4.1' of
> > > > https://git-wip-us.apache.org/repos/asf/cloudstack into 4.1
> > > >
> > > > ..
> > > >
> > > > Commands:
> > > > git clone https://git-wip-us.apache.org/repos/asf/cloudstack.git
> > > > cd cloudstack
> > > > mvn3 -P developer
> >
> >
> > Did you actually checkout the 4.1 branch?  Perhaps master is broken?
> >


Re: Commit 8d53b1ef05a45604d76b2cf80094f688edf15b44

2013-05-13 Thread David Nalley
Hi Nitin:

Go through and see what changed that you didn't intend - and revert
those individual commits.
I'd like to understand what happened though - did you rebase your
branch before the merge??

--David

On Mon, May 13, 2013 at 11:54 AM, Nitin Mehta  wrote:
> David - It seems like I messed up my merge here. It wasn't done as a
> single commit and therefore the difficulty of reverting it back.
> Would you have any suggestions to revert it here ?
>
> On 13/05/13 8:52 PM, "David Nalley"  wrote:
>
>>Speaking of, I saw lots of stuff in that merge that didn't appear to
>>be related to your merge. I am concerned that it effectively reverted
>>a number of things.
>>
>>--David
>>
>>On Mon, May 13, 2013 at 11:07 AM, Nitin Mehta 
>>wrote:
>>> Sure. Looking into it.
>>>
>>> On 13/05/13 8:14 PM, "Hugo Trippaers" 
>>> wrote:
>>>
Nitin,

Can you please fix your commit with id
8d53b1ef05a45604d76b2cf80094f688edf15b44

You committed a file with conflicts (docs/en-US/gslb.xml) and it's
breaking the docs build.


Cheers,

Hugo
>>>
>


RE: Commit 8d53b1ef05a45604d76b2cf80094f688edf15b44

2013-05-13 Thread Hugo Trippaers


> -Original Message-
> From: Chip Childers [mailto:chip.child...@sungard.com]
> Sent: Monday, May 13, 2013 6:07 PM
> To: dev@cloudstack.apache.org
> Cc: ni...@apache.org
> Subject: Re: Commit 8d53b1ef05a45604d76b2cf80094f688edf15b44
> 
> On Mon, May 13, 2013 at 03:54:51PM +, Nitin Mehta wrote:
> > David - It seems like I messed up my merge here. It wasn't done as a
> > single commit and therefore the difficulty of reverting it back.
> > Would you have any suggestions to revert it here ?
> 
> AFAIK, you need to go through and revert all relevant commits.  I'd do it
> sooner rather than later too...  so that it's not harder.
> 
> I may be wrong though...
> 

This is a nice write up of the evilness of reverting merges: 
http://opensource.apple.com/source/Git/Git-26/src/git-htmldocs/howto/revert-a-faulty-merge.txt

You can technically use the revert -m on the merge commit. But you have to take 
some steps in the future if you want to merge that same (fixed) merge again.


Cheers,

Hugo


> >
> > On 13/05/13 8:52 PM, "David Nalley"  wrote:
> >
> > >Speaking of, I saw lots of stuff in that merge that didn't appear to
> > >be related to your merge. I am concerned that it effectively reverted
> > >a number of things.
> > >
> > >--David
> > >
> > >On Mon, May 13, 2013 at 11:07 AM, Nitin Mehta
> > >
> > >wrote:
> > >> Sure. Looking into it.
> > >>
> > >> On 13/05/13 8:14 PM, "Hugo Trippaers"
> > >> 
> > >> wrote:
> > >>
> > >>>Nitin,
> > >>>
> > >>>Can you please fix your commit with id
> > >>>8d53b1ef05a45604d76b2cf80094f688edf15b44
> > >>>
> > >>>You committed a file with conflicts (docs/en-US/gslb.xml) and it's
> > >>>breaking the docs build.
> > >>>
> > >>>
> > >>>Cheers,
> > >>>
> > >>>Hugo
> > >>
> >
> >


Re: Commit 8d53b1ef05a45604d76b2cf80094f688edf15b44

2013-05-13 Thread Chip Childers
On Mon, May 13, 2013 at 03:54:51PM +, Nitin Mehta wrote:
> David - It seems like I messed up my merge here. It wasn't done as a
> single commit and therefore the difficulty of reverting it back.
> Would you have any suggestions to revert it here ?

AFAIK, you need to go through and revert all relevant commits.  I'd do
it sooner rather than later too...  so that it's not harder.

I may be wrong though...  

> 
> On 13/05/13 8:52 PM, "David Nalley"  wrote:
> 
> >Speaking of, I saw lots of stuff in that merge that didn't appear to
> >be related to your merge. I am concerned that it effectively reverted
> >a number of things.
> >
> >--David
> >
> >On Mon, May 13, 2013 at 11:07 AM, Nitin Mehta 
> >wrote:
> >> Sure. Looking into it.
> >>
> >> On 13/05/13 8:14 PM, "Hugo Trippaers" 
> >> wrote:
> >>
> >>>Nitin,
> >>>
> >>>Can you please fix your commit with id
> >>>8d53b1ef05a45604d76b2cf80094f688edf15b44
> >>>
> >>>You committed a file with conflicts (docs/en-US/gslb.xml) and it's
> >>>breaking the docs build.
> >>>
> >>>
> >>>Cheers,
> >>>
> >>>Hugo
> >>
> 
> 


[ACS41] Latest release blockers

2013-05-13 Thread Chip Childers
Here's where we stand (CC'ed the list of people that are assigned or have
outstanding questions to answer):

CLOUDSTACK-2440 MS fails to start after upgrade to 4.1

Hugo fixed the first part of this bug, but there is an outstanding
question for Kishan.  Kishan, please comment in the bug.


CLOUDSTACK-2463 CS Upgrade 2.2.14 to 4.1.0 failed due to no public
network found (configuration : advanced network with security groups)

Wei is working on this one, and will ask if any info is needed.


CLOUDSTACK-2064 The Vmware template dosent have permissions to be copied
from secondary storage.

Frank - Abhinandan assigned this to you (noticed no comment asking if
you wanted it), but I'm not sure if you are the guy to take it or not.  
Do you mind looking to see if you can resolve this bug?  If you need
someone else to look, just unassign it.


Re: Commit 8d53b1ef05a45604d76b2cf80094f688edf15b44

2013-05-13 Thread Nitin Mehta
David - It seems like I messed up my merge here. It wasn't done as a
single commit and therefore the difficulty of reverting it back.
Would you have any suggestions to revert it here ?

On 13/05/13 8:52 PM, "David Nalley"  wrote:

>Speaking of, I saw lots of stuff in that merge that didn't appear to
>be related to your merge. I am concerned that it effectively reverted
>a number of things.
>
>--David
>
>On Mon, May 13, 2013 at 11:07 AM, Nitin Mehta 
>wrote:
>> Sure. Looking into it.
>>
>> On 13/05/13 8:14 PM, "Hugo Trippaers" 
>> wrote:
>>
>>>Nitin,
>>>
>>>Can you please fix your commit with id
>>>8d53b1ef05a45604d76b2cf80094f688edf15b44
>>>
>>>You committed a file with conflicts (docs/en-US/gslb.xml) and it's
>>>breaking the docs build.
>>>
>>>
>>>Cheers,
>>>
>>>Hugo
>>



Review Request: Fixed issue in configuring private gateway with sourcenatsupported=false in API

2013-05-13 Thread Jayapal Reddy

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

Review request for cloudstack, Abhinandan Prateek and Kishan Kavala.


Description
---

Fixed issue in configuring private gateway API with sourcenatsupported 
parameter false


This addresses bug CLOUDSTACK-2403.


Diffs
-

  
api/src/org/apache/cloudstack/api/command/admin/vpc/CreatePrivateGatewayCmd.java
 6decaad 

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


Testing
---

Tested by calling API with sourcenatsupported=false 


Thanks,

Jayapal Reddy



Re: Review Request: (CLOUDSTACK-528) fix some mistakes in configuration table which cause addSecondaryStorage failed when upgrade from 3.0.* to 4.*

2013-05-13 Thread Chip Childers

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

Ship it!


In 4.1:

commit 5ccdf7dc4ad86145633124b9540aadfbfc423f6f
Author: Wei Zhou 
Date:   Mon May 13 16:50:29 2013 +0100

CLOUDSTACK-528: Correct a bunch of mistakes in the 3.0.x to 4.0 db
script
Signed-off-by: Chip Childers 

- Chip Childers


On May 13, 2013, 3:38 p.m., Wei Zhou wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/11088/
> ---
> 
> (Updated May 13, 2013, 3:38 p.m.)
> 
> 
> Review request for cloudstack and Chip Childers.
> 
> 
> Description
> ---
> 
> There are some mistakes in configuration table.
> fixed them by this patch.
> 
> 
> This addresses bug CLOUDSTACK-528.
> 
> 
> Diffs
> -
> 
>   setup/db/db/schema-302to40.sql a947ac1 
> 
> Diff: https://reviews.apache.org/r/11088/diff/
> 
> 
> Testing
> ---
> 
> Nicolas has tested it.
> We also need an additional patch for the following new issue (Advanced 
> Network with Security Groups).
> 
> 
> Thanks,
> 
> Wei Zhou
> 
>



Review Request: (CLOUDSTACK-528) fix some mistakes in configuration table which cause addSecondaryStorage failed when upgrade from 3.0.* to 4.*

2013-05-13 Thread Wei Zhou

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

Review request for cloudstack and Chip Childers.


Description
---

There are some mistakes in configuration table.
fixed them by this patch.


This addresses bug CLOUDSTACK-528.


Diffs
-

  setup/db/db/schema-302to40.sql a947ac1 

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


Testing
---

Nicolas has tested it.
We also need an additional patch for the following new issue (Advanced Network 
with Security Groups).


Thanks,

Wei Zhou



Re: Commit 8d53b1ef05a45604d76b2cf80094f688edf15b44

2013-05-13 Thread David Nalley
Speaking of, I saw lots of stuff in that merge that didn't appear to
be related to your merge. I am concerned that it effectively reverted
a number of things.

--David

On Mon, May 13, 2013 at 11:07 AM, Nitin Mehta  wrote:
> Sure. Looking into it.
>
> On 13/05/13 8:14 PM, "Hugo Trippaers" 
> wrote:
>
>>Nitin,
>>
>>Can you please fix your commit with id
>>8d53b1ef05a45604d76b2cf80094f688edf15b44
>>
>>You committed a file with conflicts (docs/en-US/gslb.xml) and it's
>>breaking the docs build.
>>
>>
>>Cheers,
>>
>>Hugo
>


Re: Make a Federation with CloudStack

2013-05-13 Thread Chip Childers
On Sat, May 11, 2013 at 10:30:36AM -0700, Ahmad Emneina wrote:
> I believe its slated for the 4.1 release... here's the functional spec:
> 
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/AWS-Style+Regions+Functional+Spec

AFAIK, sort of, although it doesn't present a single API endpoint for all
regions.  It only provides a sync of account data between regions.  You
still have to "target" a specific region's API endpoint to create infra
in that region.

> 
> 
> 
> On Sat, May 11, 2013 at 5:32 AM, MEHDI ALI SOLTANI <
> mehdi_alisolt...@yahoo.com> wrote:
> 
> > Hi Dears Developers
> > I want to make a federation , I know the concepts but, I would like know
> > the easiest  way with  CloudStack.
> > Actually  my issue is send a request from for example cloud A to Cloud B ,
> > and cloud B fulfill the request as the requests which receive from it's
> > customers. I think there should be a broker as a cloud exchange requests.
> >
> > sincerely
> > Mehdi Ali Soltani


Re: Commit 8d53b1ef05a45604d76b2cf80094f688edf15b44

2013-05-13 Thread Nitin Mehta
Sure. Looking into it.

On 13/05/13 8:14 PM, "Hugo Trippaers" 
wrote:

>Nitin,
>
>Can you please fix your commit with id
>8d53b1ef05a45604d76b2cf80094f688edf15b44
>
>You committed a file with conflicts (docs/en-US/gslb.xml) and it's
>breaking the docs build.
>
>
>Cheers,
>
>Hugo



Re: Regrading support for intel txt

2013-05-13 Thread David Nalley
On Mon, May 13, 2013 at 7:27 AM, Devdeep Singh  wrote:
> Hi,
>
> I was working on intel txt support [1] and I needed some suggestions and 
> feedback. I am developing the feature here [2] and it has a dependency on a 
> client library (given by intel) which is used for talking to an attestation 
> server. Right now I am not sure under what license will the library be made 
> available. So I have kept this feature as part of nonoss. However, it is 
> possible that the license may be so restrictive that we cannot include it as 
> we do for nonoss. Considering this, what are the options available? Should it 
> be kept as a separate maven profile? Once it is resolved that the license 
> allows nonoss or even oss, we move it there?
>
> [1] 
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Support+for+Intel+TXT+Technology
> [2] https://github.com/devdeep/cloudstack/tree/intel-txt
>
> Regards,
> Devdeep


Devdeep:

First, thanks for bringing this issue to the list. I greatly appreciate it.
Second: Is there a link to this library?

--David


Commit 8d53b1ef05a45604d76b2cf80094f688edf15b44

2013-05-13 Thread Hugo Trippaers
Nitin,

Can you please fix your commit with id 8d53b1ef05a45604d76b2cf80094f688edf15b44

You committed a file with conflicts (docs/en-US/gslb.xml) and it's breaking the 
docs build.


Cheers,

Hugo


Re: Review Request: ACL on private gateway feature

2013-05-13 Thread Kishan Kavala

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

Ship it!


commit 2d950e2858a2c67a41dd69d368a7432b00f64233

- Kishan Kavala


On May 13, 2013, 1:14 p.m., Jayapal Reddy wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10942/
> ---
> 
> (Updated May 13, 2013, 1:14 p.m.)
> 
> 
> Review request for cloudstack, Abhinandan Prateek, Kishan Kavala, and Murali 
> Reddy.
> 
> 
> Description
> ---
> 
> ACL on private gateway feature.
> ACLs are implemented with the container model
> 
> 
> This addresses bug CLOUDSTACK-768.
> 
> 
> Diffs
> -
> 
>   api/src/com/cloud/network/NetworkService.java 4a6a84f 
>   api/src/com/cloud/network/element/VpcProvider.java 81b1cf3 
>   api/src/com/cloud/network/vpc/NetworkACLService.java 0258333 
>   api/src/com/cloud/network/vpc/VpcGateway.java e3530d0 
>   api/src/com/cloud/network/vpc/VpcService.java 23e2764 
>   
> api/src/org/apache/cloudstack/api/command/admin/vpc/CreatePrivateGatewayCmd.java
>  2055695 
>   
> api/src/org/apache/cloudstack/api/command/user/network/ReplaceNetworkACLListCmd.java
>  b8abc78 
>   api/src/org/apache/cloudstack/api/response/PrivateGatewayResponse.java 
> ca76062 
>   core/src/com/cloud/agent/api/routing/NetworkElementCommand.java 41ae80f 
>   
> core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java 
> db50f3f 
>   engine/schema/src/com/cloud/network/vpc/VpcGatewayVO.java e8dcb46 
>   engine/schema/src/com/cloud/network/vpc/dao/VpcGatewayDao.java 600d67f 
>   engine/schema/src/com/cloud/network/vpc/dao/VpcGatewayDaoImpl.java a1cd934 
>   patches/systemvm/debian/config/opt/cloud/bin/vpc_privategw_acl.sh 
> PRE-CREATION 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
>  8fe8c88 
>   
> plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
>  7ce3b93 
>   
> plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
>  9f6a9f0 
>   server/src/com/cloud/api/ApiResponseHelper.java 7b2bb03 
>   server/src/com/cloud/network/element/VpcVirtualRouterElement.java 8b0c58a 
>   server/src/com/cloud/network/router/VpcVirtualNetworkApplianceManager.java 
> 306b1a8 
>   
> server/src/com/cloud/network/router/VpcVirtualNetworkApplianceManagerImpl.java
>  dbfd88c 
>   server/src/com/cloud/network/vpc/NetworkACLManager.java 0ff3e88 
>   server/src/com/cloud/network/vpc/NetworkACLManagerImpl.java 71d6da4 
>   server/src/com/cloud/network/vpc/NetworkACLServiceImpl.java 7c50d90 
>   server/src/com/cloud/network/vpc/PrivateGatewayProfile.java 20947db 
>   server/src/com/cloud/network/vpc/VpcManagerImpl.java b70ede8 
>   server/test/com/cloud/vpc/MockVpcManagerImpl.java 3835c2e 
>   server/test/com/cloud/vpc/MockVpcVirtualNetworkApplianceManager.java 
> 0f12c43 
>   server/test/com/cloud/vpc/NetworkACLManagerTest.java dc53b2b 
>   server/test/com/cloud/vpc/NetworkACLServiceTest.java 145efb4 
>   server/test/org/apache/cloudstack/privategw/AclOnPrivateGwTest.java 
> PRE-CREATION 
>   setup/db/db/schema-410to420.sql 136d61b 
>   test/integration/smoke/test_network_acl.py 300fff9 
>   test/integration/smoke/test_privategw_acl.py PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/10942/diff/
> 
> 
> Testing
> ---
> 
> 1. Tested creation of private gateway with acl id
> 2. replacenetworkacl for privategateway id
> 3. add new acl item and checking the applying item on private gw
> 4. restart router and see the rules are added or not.
> 
> 
> Thanks,
> 
> Jayapal Reddy
> 
>



RE: [ACS41] Help requested on 2 packaging issues

2013-05-13 Thread Hugo Trippaers
I'll have a look at it right away.

Cheers,

Hugo

> -Original Message-
> From: Chip Childers [mailto:chip.child...@sungard.com]
> Sent: Monday, May 13, 2013 3:14 PM
> To: n...@apache.org; h...@apache.org
> Cc: dev@cloudstack.apache.org
> Subject: [ACS41] Help requested on 2 packaging issues
> 
> Noa, Hugo,
> 
> Any chance I can ask you folks to look at the following issue blocking 4.1?
> 
> CLOUDSTACK-2440 appears to be an RPM upgrade issue.
> 
> -chip


Re: Build Failure: 4.1 Branch

2013-05-13 Thread Wei ZHOU
Hi Chip,

I am sure I checkout the latest source code on 4.1 branch.
It is weird that it failed on shashi's machine, but succeed on my machine.
Both machines have the same major version of java (1.6.0_*), and maven
(3.0.4)
I can also build the RPMs for CentOS 6.3

Wei


2013/5/13 Chip Childers 

> On Mon, May 13, 2013 at 12:50:15PM +0200, Wei ZHOU wrote:
> > Hi Shashi,
> >
> > I checkouted the latest source code of 4.1 branch, and built it
> > successfully by
> > mvn -P developer,systemvm clean install
> >
> > Wei
> >
> >
> > 2013/5/13 Shashi Dahal 
> >
> > > Hi All,
> > >
> > > I tried to build today from latest codes and it failed.
> > >
> > > Branch 4.1
> > >
> > > Latest git log:
> > > commit a86e53d187d7ff18b86f44ec83322a8e37016f3f
> > > Merge: a3b5980 840bf2e
> > > Author: Chip Childers 
> > > Date:   Sat May 11 18:26:41 2013 +0100
> > >
> > > Merge branch '4.1' of
> > > https://git-wip-us.apache.org/repos/asf/cloudstack into 4.1
> > >
> > > ..
> > >
> > > Commands:
> > > git clone https://git-wip-us.apache.org/repos/asf/cloudstack.git
> > > cd cloudstack
> > > mvn3 -P developer
>
>
> Did you actually checkout the 4.1 branch?  Perhaps master is broken?
>


RE: Build Failure: 4.1 Branch

2013-05-13 Thread Pranav Saxena
Master is absolutely fine . I deployed the latest master few hours back .

-Original Message-
From: Chip Childers [mailto:chip.child...@sungard.com] 
Sent: Monday, May 13, 2013 6:50 PM
To: dev@cloudstack.apache.org
Subject: Re: Build Failure: 4.1 Branch

On Mon, May 13, 2013 at 12:50:15PM +0200, Wei ZHOU wrote:
> Hi Shashi,
> 
> I checkouted the latest source code of 4.1 branch, and built it 
> successfully by mvn -P developer,systemvm clean install
> 
> Wei
> 
> 
> 2013/5/13 Shashi Dahal 
> 
> > Hi All,
> >
> > I tried to build today from latest codes and it failed.
> >
> > Branch 4.1
> >
> > Latest git log:
> > commit a86e53d187d7ff18b86f44ec83322a8e37016f3f
> > Merge: a3b5980 840bf2e
> > Author: Chip Childers 
> > Date:   Sat May 11 18:26:41 2013 +0100
> >
> > Merge branch '4.1' of
> > https://git-wip-us.apache.org/repos/asf/cloudstack into 4.1
> >
> > ..
> >
> > Commands:
> > git clone https://git-wip-us.apache.org/repos/asf/cloudstack.git
> > cd cloudstack
> > mvn3 -P developer


Did you actually checkout the 4.1 branch?  Perhaps master is broken?


Re: [GSOC] Student interviews

2013-05-13 Thread Sebastien Goasguen

On May 13, 2013, at 7:45 AM, ADAMA COULIBALY  wrote:

> Hi Sebastien,
> 
> OK, Do you mean Thursday 16th? 3:00pm eastern time is OK.
> 

Yes, that's when you and I talk on Skype.

> Adama
> 
> 
> On Fri, May 10, 2013 at 4:48 AM, Sebastien Goasguen wrote:
> 
>> 
>> Hi, Let's do it thursday 15th at 3pm, I believe you are on eastern time
>> zone right ?
>> 
>> You can find me on Skype at sebgoasguen
>> 
>> -sebastien
>> 
>> On May 9, 2013, at 2:51 PM, ADAMA COULIBALY  wrote:
>> 
>>> Hi Sebastien,
>>> 
>>> My phone number is (1) 267-243-3954
>>> The best time to call me : 10:00 am to 12:00
>>>   2:pm   to 5: pm
>>> any day after this Wednesday 15th May, ( From Monday to Wednesday I will
>> be
>>> busy with my final)
>>> So let know the day and time then I will be ready for your phone call.
>>> 
>>> Best Regards,
>>> 
>>> Adama
>>> 
>>> 
>>> On Thu, May 9, 2013 at 12:33 PM, Sebastien Goasguen >> wrote:
>>> 
 Hi,
 
 I would like to schedule phone/skype interviews with all the students
>> who
 submitted proposals.
 (This is authorized and recommended by ASF gsoc guidelines)
 
 Please get in touch with me on IRC or direct email to set a meeting
>> time.
 
 Once the times are set I will send it to the list and welcome anyone who
 wants to participate in the call.
 
 Cheers,
 
 -Sebastien
>> 
>> 



Re: Build Failure: 4.1 Branch

2013-05-13 Thread Chip Childers
On Mon, May 13, 2013 at 12:50:15PM +0200, Wei ZHOU wrote:
> Hi Shashi,
> 
> I checkouted the latest source code of 4.1 branch, and built it
> successfully by
> mvn -P developer,systemvm clean install
> 
> Wei
> 
> 
> 2013/5/13 Shashi Dahal 
> 
> > Hi All,
> >
> > I tried to build today from latest codes and it failed.
> >
> > Branch 4.1
> >
> > Latest git log:
> > commit a86e53d187d7ff18b86f44ec83322a8e37016f3f
> > Merge: a3b5980 840bf2e
> > Author: Chip Childers 
> > Date:   Sat May 11 18:26:41 2013 +0100
> >
> > Merge branch '4.1' of
> > https://git-wip-us.apache.org/repos/asf/cloudstack into 4.1
> >
> > ..
> >
> > Commands:
> > git clone https://git-wip-us.apache.org/repos/asf/cloudstack.git
> > cd cloudstack
> > mvn3 -P developer


Did you actually checkout the 4.1 branch?  Perhaps master is broken?


Re: Review Request: ACL on private gateway feature

2013-05-13 Thread Jayapal Reddy

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

(Updated May 13, 2013, 1:14 p.m.)


Review request for cloudstack, Abhinandan Prateek, Kishan Kavala, and Murali 
Reddy.


Changes
---

Updated review comments


Description
---

ACL on private gateway feature.
ACLs are implemented with the container model


This addresses bug CLOUDSTACK-768.


Diffs (updated)
-

  api/src/com/cloud/network/NetworkService.java 4a6a84f 
  api/src/com/cloud/network/element/VpcProvider.java 81b1cf3 
  api/src/com/cloud/network/vpc/NetworkACLService.java 0258333 
  api/src/com/cloud/network/vpc/VpcGateway.java e3530d0 
  api/src/com/cloud/network/vpc/VpcService.java 23e2764 
  
api/src/org/apache/cloudstack/api/command/admin/vpc/CreatePrivateGatewayCmd.java
 2055695 
  
api/src/org/apache/cloudstack/api/command/user/network/ReplaceNetworkACLListCmd.java
 b8abc78 
  api/src/org/apache/cloudstack/api/response/PrivateGatewayResponse.java 
ca76062 
  core/src/com/cloud/agent/api/routing/NetworkElementCommand.java 41ae80f 
  core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java 
db50f3f 
  engine/schema/src/com/cloud/network/vpc/VpcGatewayVO.java e8dcb46 
  engine/schema/src/com/cloud/network/vpc/dao/VpcGatewayDao.java 600d67f 
  engine/schema/src/com/cloud/network/vpc/dao/VpcGatewayDaoImpl.java a1cd934 
  patches/systemvm/debian/config/opt/cloud/bin/vpc_privategw_acl.sh 
PRE-CREATION 
  
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
 8fe8c88 
  
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
 7ce3b93 
  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
 9f6a9f0 
  server/src/com/cloud/api/ApiResponseHelper.java 7b2bb03 
  server/src/com/cloud/network/element/VpcVirtualRouterElement.java 8b0c58a 
  server/src/com/cloud/network/router/VpcVirtualNetworkApplianceManager.java 
306b1a8 
  
server/src/com/cloud/network/router/VpcVirtualNetworkApplianceManagerImpl.java 
dbfd88c 
  server/src/com/cloud/network/vpc/NetworkACLManager.java 0ff3e88 
  server/src/com/cloud/network/vpc/NetworkACLManagerImpl.java 71d6da4 
  server/src/com/cloud/network/vpc/NetworkACLServiceImpl.java 7c50d90 
  server/src/com/cloud/network/vpc/PrivateGatewayProfile.java 20947db 
  server/src/com/cloud/network/vpc/VpcManagerImpl.java b70ede8 
  server/test/com/cloud/vpc/MockVpcManagerImpl.java 3835c2e 
  server/test/com/cloud/vpc/MockVpcVirtualNetworkApplianceManager.java 0f12c43 
  server/test/com/cloud/vpc/NetworkACLManagerTest.java dc53b2b 
  server/test/com/cloud/vpc/NetworkACLServiceTest.java 145efb4 
  server/test/org/apache/cloudstack/privategw/AclOnPrivateGwTest.java 
PRE-CREATION 
  setup/db/db/schema-410to420.sql 136d61b 
  test/integration/smoke/test_network_acl.py 300fff9 
  test/integration/smoke/test_privategw_acl.py PRE-CREATION 

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


Testing
---

1. Tested creation of private gateway with acl id
2. replacenetworkacl for privategateway id
3. add new acl item and checking the applying item on private gw
4. restart router and see the rules are added or not.


Thanks,

Jayapal Reddy



[ACS41] Help requested on 2 packaging issues

2013-05-13 Thread Chip Childers
Noa, Hugo,

Any chance I can ask you folks to look at the following issue blocking
4.1?

CLOUDSTACK-2440 appears to be an RPM upgrade issue.

-chip


RE: Regrading support for intel txt

2013-05-13 Thread Hugo Trippaers
Heya,

> -Original Message-
> From: Devdeep Singh [mailto:devdeep.si...@citrix.com]
> Sent: Monday, May 13, 2013 1:28 PM
> To: dev@cloudstack.apache.org
> Subject: Regrading support for intel txt
> 
> Hi,
> 
> I was working on intel txt support [1] and I needed some suggestions and
> feedback. I am developing the feature here [2] and it has a dependency on a
> client library (given by intel) which is used for talking to an attestation 
> server.
> Right now I am not sure under what license will the library be made available.
> So I have kept this feature as part of nonoss. However, it is possible that 
> the
> license may be so restrictive that we cannot include it as we do for nonoss.
> Considering this, what are the options available? Should it be kept as a
> separate maven profile? 

Just like the other non-oss components it should have its own profile. We just 
use the nonoss define to activate all those profiles at once. Technically you 
could do a build with just the netscaler or midonet support enabled with the -P 
flag.

> Once it is resolved that the license allows nonoss or
> even oss, we move it there?

The issue is the availability of the jar file and the availability of the api 
description. If the jar file is freely available for download (that is without 
having to login to a website or accept some eula) than we can include it in the 
regular build. It would be even easier if the jar would be on a maven 
respository.

If the jar file is not available or has restrictions on distribution (like an 
eula or to have a valid login account) then people cannot compile the code 
without obtaining this library. Then we need to put it in a special profile and 
disable it by default. (nonoss is actually a misnomer for this)

If the api is not publicly available then we can't even add code using that api 
to our repository. But I'm not sure if that is even possible. If we run into 
that we might need to have a chat with some legal types to get feedback. Let's 
cross that bridge only when we have to.

Feel free to send the link to the library around so we can check the 
distribution restrictions if any.

Cheers,

Hugo

> 
> [1]
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Support+for+Int
> el+TXT+Technology
> [2] https://github.com/devdeep/cloudstack/tree/intel-txt
> 
> Regards,
> Devdeep


Re: Enabling access for jira account

2013-05-13 Thread Joe Brockmeier
On Mon, May 13, 2013, at 03:58 AM, Gaurav Aradhye wrote:
> Could you please enable create/modify access for my jira account:
> gauravaradhye ?

This should be done. 

Best,

jzb
-- 
Joe Brockmeier
j...@zonker.net
Twitter: @jzb
http://www.dissociatedpress.net/


Re: Jira account access.

2013-05-13 Thread Joe Brockmeier
On Mon, May 13, 2013, at 03:57 AM, Ashutosh Kelkar wrote:
> Hello,
> 
> Could you please enable create/modify access for my jira account:
> ashutoshk ?

You should be able to do this now. Please let me know if you have any
problems. Thanks!

Best,

jzb
-- 
Joe Brockmeier
j...@zonker.net
Twitter: @jzb
http://www.dissociatedpress.net/


Re: [MERGE] CS-2163

2013-05-13 Thread Nitin Mehta
This has been merged into master now.

On 12/05/13 2:40 PM, "Nitin Mehta"  wrote:

>Chip - The change is not significant but a subset of the work already
>done. Going this path makes the model of adding semantic metadata more
>flexible and can be extended to have a more flexible ACL in future as
>well.
>I am already done with the changes and have added the unit and integration
>tests as well. The RAT build passes as well.
>
>On 11/05/13 11:02 PM, "Chip Childers"  wrote:
>
>>On Thu, May 09, 2013 at 09:55:02AM +, Nitin Mehta wrote:
>>> Updated the FS [1] as per the discussion. So the plan is to introduce a
>>> generic api to
>>> add semantic meta data to the first class objects.
>>> 
>>> AddResourceDetail - Add details to resource
>>> 
>>> * resourceIds - List of resource ids
>>> * resourceType - Example - volume, nic etc.
>>> * details - Map of key/value pairs
>>> 
>>> DeleteResourceDetail - Remove detail to resource
>>> 
>>> * resourceIds - List of resource ids
>>> * resourceType - Example - volume, nic etc.
>>> * details - Map of key/value pairs
>>> 
>>> ListResourceDetails - lists details for a resource
>>> 
>>> * resourceId 
>>> * resourceType - Example - volume, nic etc.
>>> * key
>>> * value
>>> 
>>> 
>>> 
>>> [1] - 
>>> 
>>>https://cwiki.apache.org/confluence/display/CLOUDSTACK/Ability+to+have+b
>>>e
>>>tt
>>> er+control+over+first+class+objects+in+CS
>>
>>Is your plan to re-work the feature now?
>



Re: [GSOC] Student interviews

2013-05-13 Thread ADAMA COULIBALY
Hi Sebastien,

OK, Do you mean Thursday 16th? 3:00pm eastern time is OK.

Adama


On Fri, May 10, 2013 at 4:48 AM, Sebastien Goasguen wrote:

>
> Hi, Let's do it thursday 15th at 3pm, I believe you are on eastern time
> zone right ?
>
> You can find me on Skype at sebgoasguen
>
> -sebastien
>
> On May 9, 2013, at 2:51 PM, ADAMA COULIBALY  wrote:
>
> > Hi Sebastien,
> >
> > My phone number is (1) 267-243-3954
> > The best time to call me : 10:00 am to 12:00
> >2:pm   to 5: pm
> > any day after this Wednesday 15th May, ( From Monday to Wednesday I will
> be
> > busy with my final)
> > So let know the day and time then I will be ready for your phone call.
> >
> > Best Regards,
> >
> > Adama
> >
> >
> > On Thu, May 9, 2013 at 12:33 PM, Sebastien Goasguen  >wrote:
> >
> >> Hi,
> >>
> >> I would like to schedule phone/skype interviews with all the students
> who
> >> submitted proposals.
> >> (This is authorized and recommended by ASF gsoc guidelines)
> >>
> >> Please get in touch with me on IRC or direct email to set a meeting
> time.
> >>
> >> Once the times are set I will send it to the list and welcome anyone who
> >> wants to participate in the call.
> >>
> >> Cheers,
> >>
> >> -Sebastien
>
>


Re: Review Request: Cloudstack-702 Multiple Ip ranges in different subnets

2013-05-13 Thread Koushik Das


> On May 13, 2013, 11:37 a.m., Koushik Das wrote:
> > Ship It!

Committed to master

commit 052c24c4d1c881f791b804dbb9c2fc083af7da36


- Koushik


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


On May 13, 2013, 9:34 a.m., bharat kumar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/11027/
> ---
> 
> (Updated May 13, 2013, 9:34 a.m.)
> 
> 
> Review request for cloudstack, Abhinandan Prateek and Koushik Das.
> 
> 
> Description
> ---
> 
> Cloudstack-702. Multiple ip ranges in different subnets. 
> 
> This feature enables adding of guest ip ranges (public ips)  form different 
> subnets.
> 
> In order to provide the dhcp service to a different subnet we create an 
> ipalias on the router. This allows the router to listen to the dhcp request 
> from the guest vms and respond accordingly. Every time a vm is deployed in 
> the new subnet we configure an ip alias on the router. Cloudstack uses 
> dnsmasq to provide dhcp service. We need to configure the dnsmasq to issue 
> ips on the new subnets. Added a new class dnsmasqconfigurator which generates 
> the dnsmasq confg file, this file replaces the old config in the router. 
> 
> The details of the alias ips are stored in db in the nic_ip_alias table. 
> Every time a new subnet is added one of the ip from the subnet is used to 
> configure the ip alias. 
> 
> I have pushed the code to  
> https://github.com/bvbharatk/cloud-stack/tree/Cloudstack-702 , also rebased 
> the code with master. 
> I need to test the code for advanced sg enabled network using kvm.
> 
> This is duplicate of the pervious review request 
> https://reviews.apache.org/r/10948/. please ignore it. 
> 
> I have added the unit test
> Marvin tests are at 
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=53e4965
> 
> Also accomodated some of the changes suggested by koushik. 
> corrected the import statements. renamed the IpAlias command to createIpAlias 
> command. 
>  
> This feature supports only ipv4
> 
> 
> This addresses bug Cloudstack-702.
> 
> 
> Diffs
> -
> 
>   api/src/com/cloud/agent/api/to/DnsmasqTO.java PRE-CREATION 
>   api/src/com/cloud/exception/MissingParameterValueException.java 
> PRE-CREATION 
>   api/src/com/cloud/network/element/DhcpServiceProvider.java f73590c 
>   api/src/com/cloud/vm/NicIpAlias.java PRE-CREATION 
>   client/tomcatconf/applicationContext.xml.in a41797e 
>   core/src/com/cloud/agent/api/routing/CreateIpAliasCommand.java PRE-CREATION 
>   core/src/com/cloud/agent/api/routing/DeleteIpAliasCommand.java PRE-CREATION 
>   core/src/com/cloud/agent/api/routing/DnsMasqConfigCommand.java PRE-CREATION 
>   core/src/com/cloud/agent/api/routing/IpAliasTO.java PRE-CREATION 
>   
> core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java 
> b9bda4d 
>   core/src/com/cloud/network/DnsMasqConfigurator.java PRE-CREATION 
>   engine/schema/src/com/cloud/dc/dao/VlanDao.java cc82632 
>   engine/schema/src/com/cloud/dc/dao/VlanDaoImpl.java 100295b 
>   engine/schema/src/com/cloud/network/dao/IPAddressDao.java 3d588fa 
>   engine/schema/src/com/cloud/network/dao/IPAddressDaoImpl.java 73f310f 
>   engine/schema/src/com/cloud/vm/dao/NicDao.java 12efe08 
>   engine/schema/src/com/cloud/vm/dao/NicDaoImpl.java fa30168 
>   patches/systemvm/debian/config/root/createIpAlias.sh PRE-CREATION 
>   patches/systemvm/debian/config/root/deleteIpAlias.sh PRE-CREATION 
>   patches/systemvm/debian/config/root/dnsmasq.sh PRE-CREATION 
>   
> plugins/hypervisors/baremetal/src/com/cloud/baremetal/networkservice/BaremetalDhcpElement.java
>  b72d1c8 
>   
> plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
>  6d7e0e7 
>   
> plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
>  bac361d 
>   
> plugins/network-elements/midonet/src/com/cloud/network/element/MidoNetElement.java
>  804e4a6 
>   scripts/vm/hypervisor/xenserver/createipAlias.sh PRE-CREATION 
>   scripts/vm/hypervisor/xenserver/deleteipAlias.sh PRE-CREATION 
>   scripts/vm/hypervisor/xenserver/vmops 30b5300 
>   scripts/vm/hypervisor/xenserver/xcpserver/patch b7961bb 
>   scripts/vm/hypervisor/xenserver/xenserver56/patch 36dba3d 
>   scripts/vm/hypervisor/xenserver/xenserver56fp1/patch d20e60f 
>   scripts/vm/hypervisor/xenserver/xenserver60/patch c9125f4 
>   server/src/com/cloud/configuration/ConfigurationManager.java d2f8319 
>   server/src/com/cloud/configuration/ConfigurationManagerImpl.java fdc0ffb 
>   server/src/com/cloud/network/NetworkManager.java 34a092a 
>   server/src/com/cloud/network/NetworkManagerImpl.java 29c04ed 
>   server/src/com/cloud/network/addr/PublicIp.jav

Re: Review Request: Cloudstack-702 Multiple Ip ranges in different subnets

2013-05-13 Thread Koushik Das

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

Ship it!


Ship It!

- Koushik Das


On May 13, 2013, 9:34 a.m., bharat kumar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/11027/
> ---
> 
> (Updated May 13, 2013, 9:34 a.m.)
> 
> 
> Review request for cloudstack, Abhinandan Prateek and Koushik Das.
> 
> 
> Description
> ---
> 
> Cloudstack-702. Multiple ip ranges in different subnets. 
> 
> This feature enables adding of guest ip ranges (public ips)  form different 
> subnets.
> 
> In order to provide the dhcp service to a different subnet we create an 
> ipalias on the router. This allows the router to listen to the dhcp request 
> from the guest vms and respond accordingly. Every time a vm is deployed in 
> the new subnet we configure an ip alias on the router. Cloudstack uses 
> dnsmasq to provide dhcp service. We need to configure the dnsmasq to issue 
> ips on the new subnets. Added a new class dnsmasqconfigurator which generates 
> the dnsmasq confg file, this file replaces the old config in the router. 
> 
> The details of the alias ips are stored in db in the nic_ip_alias table. 
> Every time a new subnet is added one of the ip from the subnet is used to 
> configure the ip alias. 
> 
> I have pushed the code to  
> https://github.com/bvbharatk/cloud-stack/tree/Cloudstack-702 , also rebased 
> the code with master. 
> I need to test the code for advanced sg enabled network using kvm.
> 
> This is duplicate of the pervious review request 
> https://reviews.apache.org/r/10948/. please ignore it. 
> 
> I have added the unit test
> Marvin tests are at 
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=53e4965
> 
> Also accomodated some of the changes suggested by koushik. 
> corrected the import statements. renamed the IpAlias command to createIpAlias 
> command. 
>  
> This feature supports only ipv4
> 
> 
> This addresses bug Cloudstack-702.
> 
> 
> Diffs
> -
> 
>   api/src/com/cloud/agent/api/to/DnsmasqTO.java PRE-CREATION 
>   api/src/com/cloud/exception/MissingParameterValueException.java 
> PRE-CREATION 
>   api/src/com/cloud/network/element/DhcpServiceProvider.java f73590c 
>   api/src/com/cloud/vm/NicIpAlias.java PRE-CREATION 
>   client/tomcatconf/applicationContext.xml.in a41797e 
>   core/src/com/cloud/agent/api/routing/CreateIpAliasCommand.java PRE-CREATION 
>   core/src/com/cloud/agent/api/routing/DeleteIpAliasCommand.java PRE-CREATION 
>   core/src/com/cloud/agent/api/routing/DnsMasqConfigCommand.java PRE-CREATION 
>   core/src/com/cloud/agent/api/routing/IpAliasTO.java PRE-CREATION 
>   
> core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java 
> b9bda4d 
>   core/src/com/cloud/network/DnsMasqConfigurator.java PRE-CREATION 
>   engine/schema/src/com/cloud/dc/dao/VlanDao.java cc82632 
>   engine/schema/src/com/cloud/dc/dao/VlanDaoImpl.java 100295b 
>   engine/schema/src/com/cloud/network/dao/IPAddressDao.java 3d588fa 
>   engine/schema/src/com/cloud/network/dao/IPAddressDaoImpl.java 73f310f 
>   engine/schema/src/com/cloud/vm/dao/NicDao.java 12efe08 
>   engine/schema/src/com/cloud/vm/dao/NicDaoImpl.java fa30168 
>   patches/systemvm/debian/config/root/createIpAlias.sh PRE-CREATION 
>   patches/systemvm/debian/config/root/deleteIpAlias.sh PRE-CREATION 
>   patches/systemvm/debian/config/root/dnsmasq.sh PRE-CREATION 
>   
> plugins/hypervisors/baremetal/src/com/cloud/baremetal/networkservice/BaremetalDhcpElement.java
>  b72d1c8 
>   
> plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
>  6d7e0e7 
>   
> plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
>  bac361d 
>   
> plugins/network-elements/midonet/src/com/cloud/network/element/MidoNetElement.java
>  804e4a6 
>   scripts/vm/hypervisor/xenserver/createipAlias.sh PRE-CREATION 
>   scripts/vm/hypervisor/xenserver/deleteipAlias.sh PRE-CREATION 
>   scripts/vm/hypervisor/xenserver/vmops 30b5300 
>   scripts/vm/hypervisor/xenserver/xcpserver/patch b7961bb 
>   scripts/vm/hypervisor/xenserver/xenserver56/patch 36dba3d 
>   scripts/vm/hypervisor/xenserver/xenserver56fp1/patch d20e60f 
>   scripts/vm/hypervisor/xenserver/xenserver60/patch c9125f4 
>   server/src/com/cloud/configuration/ConfigurationManager.java d2f8319 
>   server/src/com/cloud/configuration/ConfigurationManagerImpl.java fdc0ffb 
>   server/src/com/cloud/network/NetworkManager.java 34a092a 
>   server/src/com/cloud/network/NetworkManagerImpl.java 29c04ed 
>   server/src/com/cloud/network/addr/PublicIp.java 25e9d30 
>   server/src/com/cloud/network/element/VirtualRouterElement.java 28473cc 
>   server/src/com/cloud/

Regrading support for intel txt

2013-05-13 Thread Devdeep Singh
Hi,

I was working on intel txt support [1] and I needed some suggestions and 
feedback. I am developing the feature here [2] and it has a dependency on a 
client library (given by intel) which is used for talking to an attestation 
server. Right now I am not sure under what license will the library be made 
available. So I have kept this feature as part of nonoss. However, it is 
possible that the license may be so restrictive that we cannot include it as we 
do for nonoss. Considering this, what are the options available? Should it be 
kept as a separate maven profile? Once it is resolved that the license allows 
nonoss or even oss, we move it there?

[1] 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Support+for+Intel+TXT+Technology
[2] https://github.com/devdeep/cloudstack/tree/intel-txt

Regards,
Devdeep


Re: Build Failure: 4.1 Branch

2013-05-13 Thread Wei ZHOU
Hi Shashi,

I checkouted the latest source code of 4.1 branch, and built it
successfully by
mvn -P developer,systemvm clean install

Wei


2013/5/13 Shashi Dahal 

> Hi All,
>
> I tried to build today from latest codes and it failed.
>
> Branch 4.1
>
> Latest git log:
> commit a86e53d187d7ff18b86f44ec83322a8e37016f3f
> Merge: a3b5980 840bf2e
> Author: Chip Childers 
> Date:   Sat May 11 18:26:41 2013 +0100
>
> Merge branch '4.1' of
> https://git-wip-us.apache.org/repos/asf/cloudstack into 4.1
>
> ..
>
> Commands:
> git clone https://git-wip-us.apache.org/repos/asf/cloudstack.git
> cd cloudstack
> mvn3 -P developer
>
> Build Logs:
>
> [INFO] Apache CloudStack Cloud Engine API  SUCCESS [1.993s]
> [INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS
> [4.159s]
> [INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [0.788s]
> [INFO] Apache CloudStack Engine Storage Backup Component . SUCCESS [1.911s]
> [INFO] Apache CloudStack Engine Storage Image Motion Component  SUCCESS
> [2.322s]
> [INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS
> [2.226s]
> [INFO] Apache CloudStack Client UI ... SUCCESS [5.154s]
> [INFO] Apache CloudStack Test  SUCCESS [4.280s]
> [INFO] Apache CloudStack Engine Storage integration test Component
>  FAILURE [1.508s]
> [INFO] Apache CloudStack Cloud Engine Service  SKIPPED
> [INFO] Apache CloudStack Developer Tools . SKIPPED
> [INFO] Apache CloudStack apidoc Tools  SKIPPED
> [INFO] Apache CloudStack DevCloud  SKIPPED
> [INFO] Apache CloudStack DevCloud-KVM  SKIPPED
> [INFO] Apache CloudStack Developer Tools: marvin . SKIPPED
> [INFO] Apache CloudStack Developer Tools: cloudmonkey cli  SKIPPED
> [INFO]
> 
> [INFO] BUILD FAILURE
> [INFO]
> 
> [INFO] Total time: 3:18.016s
> [INFO] Finished at: Mon May 13 11:40:20 CEST 2013
> [INFO] Final Memory: 41M/253M
> [INFO]
> 
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile
> (default-testCompile) on project cloud-engine-storage-integration-test:
> Compilation failure
> [ERROR] Failure executing javac,  but could not parse the error:
> [ERROR] javac: no source files
> [ERROR] Usage: javac  
> [ERROR] use -help for a list of possible options
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn  -rf :cloud-engine-storage-integration-test
>
>
> I was able to successfully build multiple-times before.
>
> Please check/fix.
>
> I am trying to rebuild the packages to re-do the 2.2.14 to 4.1 migration
> in order to check if all issues that I have reported are fixed.
>
>
> Cheers.
> Shashi
>


[ACS41] Security Groups in Advanced zone

2013-05-13 Thread Paul Angus
Guys,

Now KVM is running ok I've added my hosts BUT when I try to enable the zone I 
get the following error:

Cannot enable this Zone since: Unable to find the default physical network with 
traffic=Public in the specified zone id

As it was an advanced zone with security groups I didn't get the option to 
add/configure a public network.



Regards

Paul Angus
Senior Consultant / Cloud Architect

[cid:image002.png@01CE1071.C6CC9C10]

S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com | 
www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

ShapeBlue are proud to be sponsoring CloudStack Collaboration  Conference NA
[https://cwiki.apache.org/confluence/download/attachments/30760149/CloudStack+Collaboration+Conference+Banner+v2+Blue+Background+Only.jpg?version=3&modificationDate=1367282397297]

Apache CloudStack Bootcamp training courses
20/21 May, London
22/23 June, Santa Clara  
CA

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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: Review Request: ACL on private gateway feature

2013-05-13 Thread Jayapal Reddy

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

(Updated May 13, 2013, 10:14 a.m.)


Review request for cloudstack, Abhinandan Prateek, Kishan Kavala, and Murali 
Reddy.


Changes
---

Updated the merge conflicts and review comments


Description
---

ACL on private gateway feature.
ACLs are implemented with the container model


This addresses bug CLOUDSTACK-768.


Diffs (updated)
-

  api/src/com/cloud/network/NetworkService.java 5d4fd67 
  api/src/com/cloud/network/element/VpcProvider.java 81b1cf3 
  api/src/com/cloud/network/vpc/NetworkACLService.java 0258333 
  api/src/com/cloud/network/vpc/VpcGateway.java e3530d0 
  api/src/com/cloud/network/vpc/VpcService.java 23e2764 
  
api/src/org/apache/cloudstack/api/command/admin/vpc/CreatePrivateGatewayCmd.java
 2055695 
  
api/src/org/apache/cloudstack/api/command/user/network/ReplaceNetworkACLListCmd.java
 b8abc78 
  api/src/org/apache/cloudstack/api/response/PrivateGatewayResponse.java 
ca76062 
  core/src/com/cloud/agent/api/routing/NetworkElementCommand.java 41ae80f 
  core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java 
b9bda4d 
  engine/schema/src/com/cloud/network/vpc/VpcGatewayVO.java e8dcb46 
  engine/schema/src/com/cloud/network/vpc/dao/VpcGatewayDao.java 600d67f 
  engine/schema/src/com/cloud/network/vpc/dao/VpcGatewayDaoImpl.java a1cd934 
  patches/systemvm/debian/config/opt/cloud/bin/vpc_privategw_acl.sh 
PRE-CREATION 
  
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
 8fe8c88 
  
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
 6d7e0e7 
  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
 bac361d 
  server/src/com/cloud/api/ApiResponseHelper.java 7b4c1f9 
  server/src/com/cloud/network/element/VpcVirtualRouterElement.java 8b0c58a 
  server/src/com/cloud/network/router/VpcVirtualNetworkApplianceManager.java 
306b1a8 
  
server/src/com/cloud/network/router/VpcVirtualNetworkApplianceManagerImpl.java 
dbfd88c 
  server/src/com/cloud/network/vpc/NetworkACLManager.java 0ff3e88 
  server/src/com/cloud/network/vpc/NetworkACLManagerImpl.java 71d6da4 
  server/src/com/cloud/network/vpc/NetworkACLServiceImpl.java 7c50d90 
  server/src/com/cloud/network/vpc/PrivateGatewayProfile.java 20947db 
  server/src/com/cloud/network/vpc/VpcManagerImpl.java 9993c06 
  server/test/com/cloud/vpc/MockVpcManagerImpl.java b4851d6 
  server/test/com/cloud/vpc/MockVpcVirtualNetworkApplianceManager.java 2886af4 
  server/test/com/cloud/vpc/NetworkACLManagerTest.java dc53b2b 
  server/test/org/apache/cloudstack/privategw/AclOnPrivateGwTest.java 
PRE-CREATION 
  setup/db/db/schema-410to420.sql 6e74537 
  test/integration/smoke/test_network_acl.py 300fff9 
  test/integration/smoke/test_privategw_acl.py PRE-CREATION 

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


Testing
---

1. Tested creation of private gateway with acl id
2. replacenetworkacl for privategateway id
3. add new acl item and checking the applying item on private gw
4. restart router and see the rules are added or not.


Thanks,

Jayapal Reddy



Re: [ACS41] Release Blocker Update for 2013-05-08

2013-05-13 Thread Sebastien Goasguen

On May 10, 2013, at 8:17 AM, Kishan Kavala  wrote:

> 
> 
>> -Original Message-
>> From: Sebastien Goasguen [mailto:run...@gmail.com]
>> Sent: Friday, 10 May 2013 3:28 PM
>> To: dev@cloudstack.apache.org
>> Subject: Re: [ACS41] Release Blocker Update for 2013-05-08
>> 
>> 
>> On May 10, 2013, at 2:47 AM, Kishan Kavala 
>> wrote:
>> 
>>> 
>>> 
 -Original Message-
 From: Sebastien Goasguen [mailto:run...@gmail.com]
 Sent: Thursday, 9 May 2013 9:45 PM
 To: dev@cloudstack.apache.org
 Subject: Re: [ACS41] Release Blocker Update for 2013-05-08
 
 
 On May 9, 2013, at 8:54 AM, Kishan Kavala 
>> wrote:
 
> 
> 
>> -Original Message-
>> From: Chip Childers [mailto:chip.child...@sungard.com]
>> Sent: Wednesday, 8 May 2013 10:48 PM
>> To: dev@cloudstack.apache.org
>> Cc: Kishan Kavala
>> Subject: [ACS41] Release Blocker Update for 2013-05-08
>> 
>> Here's where we stand:
>> 
>> CLOUDSTACK-2309
>> Upgrade from 2.2.14 to 4.1.0 : network static routes deleted on
>> SSVM
>> 
>> Kishan - any update on 2309?  Also note that Wei suggested a fix to
>> the  reporter for 528.  However, you said you thought 2309 and 528
>> could be  related.  Can you review the suggestion?
>> 
> Chip,
> I successfully upgraded from 2.2.14 to 4.1 . SSVM came up after
> stopping
 and starting. All the routes were also properly configured.
> I'll work with Nicolas to see if all the upgrades steps were followed.
> 
> Routes won't be configured if SecStorageVMSetupCommand is not sent
> to
 SSVM.
> 
> ~kishan
> 
 
 Kishan, which hypervisor and OS did you use
 
 thanks
 
 -sebastien
 
>>> [KK]  Sebastien, I tested it on XenServer/RHEL6.2.
>>> 
>> Any chance to test with vshpere/esx
> 
> I tested with Vmware today and found few issues:
> 
> 1. Code to handle new VmWare template as per release notes is missing.
> 
> I fixed this in master and submitted patch for 4.1. Patch request [1]
> Fix should go into 4.0 branch as well.
> 
> 2.  MS failed to start after upgrading with error:
> 
> Starting cloudstack-management: sed: can't read 
> /usr/share/cloudstack-management/conf/server.xml: No such file or directory
> /etc/rc.d/init.d/tomcat6: line 191: /var/log/cloudstack-management/initd.log: 
> No such file or directory
> Error code 4   [FAILED]
> 
> Filed bug: CLOUDSTACK-2440
> 
> 3. Ran into CLOUDSTACK-2064 while restarting SSVM after upgrade. I had to 
> manually change permissions for cloud user to make it work.
> 
> With the fix and workarounds ,  SSVM started without any issues and the 
> routes were are also setup.
> 
> [1] https://reviews.apache.org/r/11042/
> 

Kishan, are you on IRC ? l_a_m is in now.

He updated 528 with some hot fixes he had to make, he can add secondary storage 
now, but the SSVM don'ts start…or are not even there.

Would be a good IRC discussion.

-sebastien

Re: Review Request: CLOUDSTACK-2189 volume is stuck in resizing state

2013-05-13 Thread Sateesh Chodapuneedi

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

Ship it!


Branch: refs/heads/master
Commit: 756a4179e28b66fe42fec40c0b183907eab0dde2


- Sateesh Chodapuneedi


On May 6, 2013, 12:53 p.m., Rajesh Battala wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10947/
> ---
> 
> (Updated May 6, 2013, 12:53 p.m.)
> 
> 
> Review request for cloudstack, Devdeep Singh and edison su.
> 
> 
> Description
> ---
> 
> After resize operation, the state of the volume is resizing only.
> The issue is, VolumeServiceImpl is calling the wrong call back for the resize 
> volume operation.
> Fixed the issue by calling the right callback which will change the state 
> transition from resizing to Ready.
> 
> 
> This addresses bug CLOUDSTACK-2189.
> 
> 
> Diffs
> -
> 
>   
> engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java
>  b39502b 
> 
> Diff: https://reviews.apache.org/r/10947/diff/
> 
> 
> Testing
> ---
> 
> Unittests are success.
> Created a volume of 5 GB, verified the state in the db and in the kvm. 
> Resized the volume to 20GB, volume attached to the kvm instance had increased 
> to 20GB, resizevolume logs shows the volume is increased.
> DB is now having the state change from Resizing to Ready.
> 
> The testing output is pasted on the bug comment
> 
> 
> Thanks,
> 
> Rajesh Battala
> 
>



Re: Review Request: CLOUDSTACK-1904: API : UI : Admin can not delete Events/Archive from other accounts

2013-05-13 Thread Sanjay Tripathi

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

(Updated May 13, 2013, 9:57 a.m.)


Review request for cloudstack, Devdeep Singh, Sateesh Chodapuneedi, and Min 
Chen.


Changes
---

Updated patch as per review comments.


Description
---

CLOUDSTACK-1904: API : UI : Admin can not delete Events/Archive from other 
accounts.


This addresses bug CLOUDSTACK-1904.


Diffs (updated)
-

  api/src/org/apache/cloudstack/api/command/user/event/DeleteEventsCmd.java 
55ca92a 
  engine/schema/src/com/cloud/domain/dao/DomainDao.java afeb0f4 
  engine/schema/src/com/cloud/domain/dao/DomainDaoImpl.java c30ca5e 
  engine/schema/src/com/cloud/event/dao/EventDao.java da5f47a 
  engine/schema/src/com/cloud/event/dao/EventDaoImpl.java 6ba59c5 
  engine/schema/src/com/cloud/user/dao/AccountDao.java 3b7fa66 
  engine/schema/src/com/cloud/user/dao/AccountDaoImpl.java 892fdcd 
  server/src/com/cloud/server/ManagementServerImpl.java 86c1a64 
  server/test/com/cloud/event/EventControlsUnitTest.java 3c25275 

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


Testing
---

Tests:
1. Create a domain.
2. Create an admin account (a11) under this domain.
3. Login to the domain admin account and then logout (this is to generate 
login/logout events).
4. Login to Root Admin account.
5. Go to Events and try to delete/archive events with account=a11 (domain admin 
account).
6. Event got deleted and verifies the control flow of admin accounts in 
CloudStack.


Thanks,

Sanjay Tripathi



Build Failure: 4.1 Branch

2013-05-13 Thread Shashi Dahal
Hi All,

I tried to build today from latest codes and it failed.

Branch 4.1

Latest git log:
commit a86e53d187d7ff18b86f44ec83322a8e37016f3f
Merge: a3b5980 840bf2e
Author: Chip Childers 
Date:   Sat May 11 18:26:41 2013 +0100

Merge branch '4.1' of https://git-wip-us.apache.org/repos/asf/cloudstack 
into 4.1

..

Commands:
git clone https://git-wip-us.apache.org/repos/asf/cloudstack.git
cd cloudstack
mvn3 -P developer

Build Logs:

[INFO] Apache CloudStack Cloud Engine API  SUCCESS [1.993s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS [4.159s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [0.788s]
[INFO] Apache CloudStack Engine Storage Backup Component . SUCCESS [1.911s]
[INFO] Apache CloudStack Engine Storage Image Motion Component  SUCCESS [2.322s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [2.226s]
[INFO] Apache CloudStack Client UI ... SUCCESS [5.154s]
[INFO] Apache CloudStack Test  SUCCESS [4.280s]
[INFO] Apache CloudStack Engine Storage integration test Component  FAILURE 
[1.508s]
[INFO] Apache CloudStack Cloud Engine Service  SKIPPED
[INFO] Apache CloudStack Developer Tools . SKIPPED
[INFO] Apache CloudStack apidoc Tools  SKIPPED
[INFO] Apache CloudStack DevCloud  SKIPPED
[INFO] Apache CloudStack DevCloud-KVM  SKIPPED
[INFO] Apache CloudStack Developer Tools: marvin . SKIPPED
[INFO] Apache CloudStack Developer Tools: cloudmonkey cli  SKIPPED
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 3:18.016s
[INFO] Finished at: Mon May 13 11:40:20 CEST 2013
[INFO] Final Memory: 41M/253M
[INFO] 
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile 
(default-testCompile) on project cloud-engine-storage-integration-test: 
Compilation failure
[ERROR] Failure executing javac,  but could not parse the error:
[ERROR] javac: no source files
[ERROR] Usage: javac  
[ERROR] use -help for a list of possible options
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn  -rf :cloud-engine-storage-integration-test


I was able to successfully build multiple-times before.

Please check/fix.

I am trying to rebuild the packages to re-do the 2.2.14 to 4.1 migration in 
order to check if all issues that I have reported are fixed.


Cheers.
Shashi


RE: [ACS4.1] cloudstack-agent

2013-05-13 Thread Paul Angus
Thanks Prasanna,

Libvirt had installed, qemu-kvm hadn't.

Has this already been filed as a bug?



Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.an...@shapeblue.com

-Original Message-
From: Prasanna Santhanam [mailto:t...@apache.org]
Sent: 13 May 2013 09:10
To: dev@cloudstack.apache.org
Subject: Re: [ACS4.1] cloudstack-agent

On Mon, May 13, 2013 at 07:27:54AM +, Paul Angus wrote:
> It's the same hardware as for the 4.0.2 build - it's scripted and only
> difference is the repo used.
>

I've seen this happen when scripting my install on switching to 4.1.
KVM modules are not detected even though virtualization is enabled on the host. 
After installing qemu-kvm and libvirt the cloudstack install went fine.

https://github.com/vogxn/acs-infra-test/commit/2215407ca65206933144a46f26687150ac0d8169

--
Prasanna.,


Powered by BigRock.com


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 operated under 
license from Shape Blue Ltd. ShapeBlue is a registered trademark.



Re: Review Request: ACL on private gateway feature

2013-05-13 Thread Kishan Kavala

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



server/src/com/cloud/network/vpc/NetworkACLManagerImpl.java


acl_id for gateway cannot be null 



server/src/com/cloud/network/vpc/VpcManagerImpl.java


Import should be replaced with single imports



setup/db/db/schema-410to420.sql


acl_id for vpc_gateway can be not null field. gateway will be associated 
witl acl at all times


- Kishan Kavala


On May 10, 2013, 12:52 p.m., Jayapal Reddy wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10942/
> ---
> 
> (Updated May 10, 2013, 12:52 p.m.)
> 
> 
> Review request for cloudstack, Abhinandan Prateek, Kishan Kavala, and Murali 
> Reddy.
> 
> 
> Description
> ---
> 
> ACL on private gateway feature.
> ACLs are implemented with the container model
> 
> 
> This addresses bug CLOUDSTACK-768.
> 
> 
> Diffs
> -
> 
>   api/src/com/cloud/agent/api/routing/NetworkElementCommand.java 41ae80f 
>   api/src/com/cloud/network/NetworkService.java bea92dc 
>   api/src/com/cloud/network/element/VpcProvider.java 81b1cf3 
>   api/src/com/cloud/network/firewall/NetworkACLService.java 5f068a3 
>   api/src/com/cloud/network/vpc/VpcGateway.java e3530d0 
>   api/src/com/cloud/network/vpc/VpcService.java 23e2764 
>   
> api/src/org/apache/cloudstack/api/command/admin/vpc/CreatePrivateGatewayCmd.java
>  2055695 
>   
> api/src/org/apache/cloudstack/api/command/user/network/ReplaceNetworkACLListCmd.java
>  b8abc78 
>   
> core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java 
> b9bda4d 
>   patches/systemvm/debian/config/opt/cloud/bin/vpc_privategw_acl.sh 
> PRE-CREATION 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
>  8fe8c88 
>   
> plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
>  030eff0 
>   
> plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
>  bac361d 
>   server/src/com/cloud/network/NetworkServiceImpl.java 7045eff 
>   server/src/com/cloud/network/element/VpcVirtualRouterElement.java 8b0c58a 
>   server/src/com/cloud/network/router/VpcVirtualNetworkApplianceManager.java 
> 306b1a8 
>   
> server/src/com/cloud/network/router/VpcVirtualNetworkApplianceManagerImpl.java
>  1d901d9 
>   server/src/com/cloud/network/vpc/NetworkACLManager.java 1b1e958 
>   server/src/com/cloud/network/vpc/NetworkACLManagerImpl.java 67547c6 
>   server/src/com/cloud/network/vpc/NetworkACLServiceImpl.java 2844dcb 
>   server/src/com/cloud/network/vpc/PrivateGatewayProfile.java 20947db 
>   server/src/com/cloud/network/vpc/VpcGatewayVO.java e8dcb46 
>   server/src/com/cloud/network/vpc/VpcManagerImpl.java 4af9278 
>   server/src/com/cloud/network/vpc/dao/VpcGatewayDao.java 600d67f 
>   server/src/com/cloud/network/vpc/dao/VpcGatewayDaoImpl.java a1cd934 
>   server/test/com/cloud/vpc/MockVpcManagerImpl.java b4851d6 
>   server/test/com/cloud/vpc/MockVpcVirtualNetworkApplianceManager.java 
> ef5478b 
>   server/test/com/cloud/vpc/dao/MockNetworkDaoImpl.java a483291 
>   setup/db/db/schema-410to420.sql 8fdf0a0 
> 
> Diff: https://reviews.apache.org/r/10942/diff/
> 
> 
> Testing
> ---
> 
> 1. Tested creation of private gateway with acl id
> 2. replacenetworkacl for privategateway id
> 3. add new acl item and checking the applying item on private gw
> 4. restart router and see the rules are added or not.
> 
> 
> Thanks,
> 
> Jayapal Reddy
> 
>



RE: Review Request: (CLOUDSTACK-1325) add password in response of RestoreVM

2013-05-13 Thread Harikrishna Patnala

Chip, can you push this patch on 4.0.1, this patch is specific to 4.0.1.
I have already pushed the similar patch on master. 

Thankyou


From: Animesh Chaturvedi
Sent: Friday, May 10, 2013 4:49 AM
To: dev@cloudstack.apache.org; Prasanna Santhanam; Harikrishna Patnala; 
Abhinandan Prateek
Cc: Sateesh Chodapuneedi; cloudstack; Wei Zhou
Subject: RE: Review Request: (CLOUDSTACK-1325) add password in response of 
RestoreVM

Abhi following up on this can you review and apply

> -Original Message-
> From: Prasanna Santhanam [mailto:nore...@reviews.apache.org] On Behalf
> Of Prasanna Santhanam
> Sent: Sunday, May 05, 2013 10:13 PM
> To: Harikrishna Patnala; Abhinandan Prateek
> Cc: Sateesh Chodapuneedi; Prasanna Santhanam; cloudstack; Wei Zhou
> Subject: Re: Review Request: (CLOUDSTACK-1325) add password in response
> of RestoreVM
>
>
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/9539/
> ---
>
> (Updated May 6, 2013, 5:12 a.m.)
>
>
> Review request for cloudstack, Abhinandan Prateek and Harikrishna Patnala.
>
>
> Changes
> ---
>
> This is the same as Hari's patch and was submitted much earlier. Abhi - can
> you please review and apply this?
>
>
> Description
> ---
>
> In 4.0.1, There is no password field in the respone of RestoreVM.
> Please see https://issues.apache.org/jira/browse/CLOUDSTACK-1325
>
> This patch add a new password in the response.
>
>
> This addresses bug CLOUDSTACK-1325.
>
>
> Diffs
> -
>
>   api/src/com/cloud/vm/UserVmService.java 6635657
>   server/src/com/cloud/vm/UserVmManagerImpl.java dbcbeb8
>
> Diff: https://reviews.apache.org/r/9539/diff/
>
>
> Testing
> ---
>
> Testing manually ok.
>
> command=restoreVirtualMachine&response=json&virtualmachineid=1a53a3
> 08-c870-452a-9eff-23975919286b
>  public $jobid =>
>  string(36) "7e855ed2-b5ab-4449-a163-5c1af62019ab"
>
> command=queryAsyncJobResult&response=json&jobid=7e855ed2-b5ab-
> 4449-a163-5c1af62019ab
>  public $password =>
>  string(9) "mD5qkzmdk"
>
>
> Thanks,
>
> Wei Zhou



Re: Review Request: Cloudstack-702 Multiple Ip ranges in different subnets

2013-05-13 Thread bharat kumar

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

(Updated May 13, 2013, 9:34 a.m.)


Review request for cloudstack, Abhinandan Prateek and Koushik Das.


Changes
---

removed white space changes in bash scripts.


Description
---

Cloudstack-702. Multiple ip ranges in different subnets. 

This feature enables adding of guest ip ranges (public ips)  form different 
subnets.

In order to provide the dhcp service to a different subnet we create an ipalias 
on the router. This allows the router to listen to the dhcp request from the 
guest vms and respond accordingly. Every time a vm is deployed in the new 
subnet we configure an ip alias on the router. Cloudstack uses dnsmasq to 
provide dhcp service. We need to configure the dnsmasq to issue ips on the new 
subnets. Added a new class dnsmasqconfigurator which generates the dnsmasq 
confg file, this file replaces the old config in the router. 

The details of the alias ips are stored in db in the nic_ip_alias table. Every 
time a new subnet is added one of the ip from the subnet is used to configure 
the ip alias. 

I have pushed the code to  
https://github.com/bvbharatk/cloud-stack/tree/Cloudstack-702 , also rebased the 
code with master. 
I need to test the code for advanced sg enabled network using kvm.

This is duplicate of the pervious review request 
https://reviews.apache.org/r/10948/. please ignore it. 

I have added the unit test
Marvin tests are at 
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=53e4965

Also accomodated some of the changes suggested by koushik. 
corrected the import statements. renamed the IpAlias command to createIpAlias 
command. 
 
This feature supports only ipv4


This addresses bug Cloudstack-702.


Diffs (updated)
-

  api/src/com/cloud/agent/api/to/DnsmasqTO.java PRE-CREATION 
  api/src/com/cloud/exception/MissingParameterValueException.java PRE-CREATION 
  api/src/com/cloud/network/element/DhcpServiceProvider.java f73590c 
  api/src/com/cloud/vm/NicIpAlias.java PRE-CREATION 
  client/tomcatconf/applicationContext.xml.in a41797e 
  core/src/com/cloud/agent/api/routing/CreateIpAliasCommand.java PRE-CREATION 
  core/src/com/cloud/agent/api/routing/DeleteIpAliasCommand.java PRE-CREATION 
  core/src/com/cloud/agent/api/routing/DnsMasqConfigCommand.java PRE-CREATION 
  core/src/com/cloud/agent/api/routing/IpAliasTO.java PRE-CREATION 
  core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java 
b9bda4d 
  core/src/com/cloud/network/DnsMasqConfigurator.java PRE-CREATION 
  engine/schema/src/com/cloud/dc/dao/VlanDao.java cc82632 
  engine/schema/src/com/cloud/dc/dao/VlanDaoImpl.java 100295b 
  engine/schema/src/com/cloud/network/dao/IPAddressDao.java 3d588fa 
  engine/schema/src/com/cloud/network/dao/IPAddressDaoImpl.java 73f310f 
  engine/schema/src/com/cloud/vm/dao/NicDao.java 12efe08 
  engine/schema/src/com/cloud/vm/dao/NicDaoImpl.java fa30168 
  patches/systemvm/debian/config/root/createIpAlias.sh PRE-CREATION 
  patches/systemvm/debian/config/root/deleteIpAlias.sh PRE-CREATION 
  patches/systemvm/debian/config/root/dnsmasq.sh PRE-CREATION 
  
plugins/hypervisors/baremetal/src/com/cloud/baremetal/networkservice/BaremetalDhcpElement.java
 b72d1c8 
  
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
 6d7e0e7 
  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
 bac361d 
  
plugins/network-elements/midonet/src/com/cloud/network/element/MidoNetElement.java
 804e4a6 
  scripts/vm/hypervisor/xenserver/createipAlias.sh PRE-CREATION 
  scripts/vm/hypervisor/xenserver/deleteipAlias.sh PRE-CREATION 
  scripts/vm/hypervisor/xenserver/vmops 30b5300 
  scripts/vm/hypervisor/xenserver/xcpserver/patch b7961bb 
  scripts/vm/hypervisor/xenserver/xenserver56/patch 36dba3d 
  scripts/vm/hypervisor/xenserver/xenserver56fp1/patch d20e60f 
  scripts/vm/hypervisor/xenserver/xenserver60/patch c9125f4 
  server/src/com/cloud/configuration/ConfigurationManager.java d2f8319 
  server/src/com/cloud/configuration/ConfigurationManagerImpl.java fdc0ffb 
  server/src/com/cloud/network/NetworkManager.java 34a092a 
  server/src/com/cloud/network/NetworkManagerImpl.java 29c04ed 
  server/src/com/cloud/network/addr/PublicIp.java 25e9d30 
  server/src/com/cloud/network/element/VirtualRouterElement.java 28473cc 
  server/src/com/cloud/network/router/VirtualNetworkApplianceManager.java 
fcf650f 
  server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java 
e3dd06b 
  server/src/com/cloud/vm/dao/NicIpAliasDao.java PRE-CREATION 
  server/src/com/cloud/vm/dao/NicIpAliasDaoImpl.java PRE-CREATION 
  server/src/com/cloud/vm/dao/NicIpAliasVO.java PRE-CREATION 
  server/test/com/cloud/configuration/ValidateIpRangeTest.java PRE-CREATION 
  server/test/com/cloud/network/MockN

Re: Review Request: CLOUDSTACK-1904: API : UI : Admin can not delete Events/Archive from other accounts

2013-05-13 Thread Devdeep Singh

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



engine/schema/src/com/cloud/domain/dao/DomainDao.java


Should we call this function as getDomainChildrenIds? Also consider making 
the return object as Set.



engine/schema/src/com/cloud/domain/dao/DomainDaoImpl.java


The camel notation on this looks incorrect. Should it be 
FindIdsOfAllChildrenSearch?



engine/schema/src/com/cloud/event/dao/EventDaoImpl.java


Does it need both, a null check and an empty check?



engine/schema/src/com/cloud/user/dao/AccountDaoImpl.java


Nitpick, should we call it domainIds since we are querying based on domain 
id of the account?



server/src/com/cloud/server/ManagementServerImpl.java


Why do we have to add the domain Id to the list? Won't the query below not 
return this domainId in the result?



server/src/com/cloud/server/ManagementServerImpl.java


Same comment as above. Do we need to explicitly add the domainId to the 
list?


- Devdeep Singh


On May 7, 2013, 10:37 a.m., Sanjay Tripathi wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10796/
> ---
> 
> (Updated May 7, 2013, 10:37 a.m.)
> 
> 
> Review request for cloudstack, Devdeep Singh, Sateesh Chodapuneedi, and Min 
> Chen.
> 
> 
> Description
> ---
> 
> CLOUDSTACK-1904: API : UI : Admin can not delete Events/Archive from other 
> accounts.
> 
> 
> This addresses bug CLOUDSTACK-1904.
> 
> 
> Diffs
> -
> 
>   api/src/org/apache/cloudstack/api/command/user/event/DeleteEventsCmd.java 
> 55ca92a 
>   engine/schema/src/com/cloud/domain/dao/DomainDao.java afeb0f4 
>   engine/schema/src/com/cloud/domain/dao/DomainDaoImpl.java c30ca5e 
>   engine/schema/src/com/cloud/event/dao/EventDao.java da5f47a 
>   engine/schema/src/com/cloud/event/dao/EventDaoImpl.java 6ba59c5 
>   engine/schema/src/com/cloud/user/dao/AccountDao.java 3b7fa66 
>   engine/schema/src/com/cloud/user/dao/AccountDaoImpl.java 892fdcd 
>   server/src/com/cloud/server/ManagementServerImpl.java da8f30e 
>   server/test/com/cloud/event/EventControlsUnitTest.java 3c25275 
> 
> Diff: https://reviews.apache.org/r/10796/diff/
> 
> 
> Testing
> ---
> 
> Tests:
> 1. Create a domain.
> 2. Create an admin account (a11) under this domain.
> 3. Login to the domain admin account and then logout (this is to generate 
> login/logout events).
> 4. Login to Root Admin account.
> 5. Go to Events and try to delete/archive events with account=a11 (domain 
> admin account).
> 6. Event got deleted and verifies the control flow of admin accounts in 
> CloudStack.
> 
> 
> Thanks,
> 
> Sanjay Tripathi
> 
>



Enabling access for jira account

2013-05-13 Thread Gaurav Aradhye
Hello,

Could you please enable create/modify access for my jira account:
gauravaradhye ?

Thanks,
Gaurav Aradhye


Jira account access.

2013-05-13 Thread Ashutosh Kelkar
Hello,

Could you please enable create/modify access for my jira account: ashutoshk ?

Thanks,

Re: [EVENTS] Linux Tag Berlin May 22-25

2013-05-13 Thread Wido den Hollander

Hi,

On 05/01/2013 10:39 AM, Wido den Hollander wrote:

On 04/30/2013 02:32 PM, Sebastien Goasguen wrote:

Hi, [BCC users@]

I managed to get an Apache CloudStack booth at Linux Tag Berlin, May
22-25.

I need help to man the booth and talk about CloudStack. If you are
interested please let me know asap so that I request an exhibitor
badge for you.



I'd have to check. I see that I have an appointment at May 22nd, but I
could maybe go to Berlin on the 23rd, but I'd have to check.



I checked, but I'm not going to make it. That week is very packed for me.

Wido


Wido


thanks,

-Sebastien





Xen Hackathon Dublin 16th-17th

2013-05-13 Thread Sebastien Goasguen
Hi,

There is a Xen Hackathon this week:
http://www.xen.org/community/events/xenhackathondublin2013.html

It's a shame that there is no CloudStack topics proposed :(

Any folks in Dublin want to go ?

-Sebastien


Re: Upgrade from 3.0.2 to 4.0.2 fails due to db schema upgrade fail

2013-05-13 Thread Sebastien Goasguen

On May 11, 2013, at 9:40 AM, France  wrote:

> https://issues.apache.org/jira/browse/CLOUDSTACK-2214
> bug is described in URL above.
> +1 from me. ;-)
> 
> I wish you nice weekend.
> F.

France, thanks. We are dealing with a few upgrade bugs at the moment.

We will get back to you asap.

-Sebastien

> 
> On 11/5/13 3:08 PM, France wrote:
>> I've searched the web, asked on IRC and found no solution.
>> If there is, i'll be grateful to read it.
>> I'm just going to roll back and work on it another weekend, hopefully by 
>> that time, i'll get the schema upgrade scripts.
>> 
>> I also think, this should be noted at least in release notes, so people 
>> don't loose their time on the same issue.
>> 
>> Regards,
>> F.
>> 
>> On 11/5/13 2:48 PM, France wrote:
>>> Hi,
>>> 
>>> as many users before me, who wanted to upgrade to 4.0.2 on CentOS 6.4 using 
>>> RPMs from http://cloudstack.apt-get.eu/rhel/4.0/
>>> i've hit the same error:
>>> 
>>> INFO  [cloud.upgrade.DatabaseIntegrityChecker] (main:) Grabbing lock to 
>>> check for database integrity.
>>> INFO  [cloud.upgrade.DatabaseIntegrityChecker] (main:) Performing database 
>>> integrity check
>>> INFO  [cloud.upgrade.DatabaseUpgradeChecker] (main:) Grabbing lock to check 
>>> for database upgrade.
>>> INFO  [cloud.upgrade.DatabaseUpgradeChecker] (main:) DB version = 3.0.2 
>>> Code Version = 4.0.2.20130420145617
>>> INFO  [cloud.upgrade.DatabaseUpgradeChecker] (main:) Database upgrade must 
>>> be performed from 3.0.2 to 4.0.2.20130420145617
>>> ERROR [cloud.upgrade.DatabaseUpgradeChecker] (main:) The end upgrade 
>>> version is actually at 4.0.0 but our management server code version is at 
>>> 4.0.2.20130420145617
>>> ERROR [utils.component.ComponentLocator] (main:) Problems with running 
>>> checker:DatabaseUpgradeChecker
>>> com.cloud.utils.exception.CloudRuntimeException: The end upgrade version is 
>>> actually at 4.0.0 but our management server code version is at 
>>> 4.0.2.20130420145617
>>> 
>>> 
>>> Is there a work-around or do i have to downgrade back and wait for next 
>>> release?
>>> 
>>> I've looked at
>>> /usr/share/cloud/setup/db/
>>> and it really seems there is no upgrade schema from 4.0 to 4.0.2.
>>> 
>>> Please answer a.s.a.p. so i can downgrade and head home. :-)
>>> 
>>> Regards,
>>> F.
>> 
> 



RE: [MERGE] CLOUDSTACK-763 ACL deny rules

2013-05-13 Thread Kishan Kavala
network_acl branch is merged to master.
commit 595f78f0f770e1cd406e1af1f705036bc66b93ec

From: Kishan Kavala [mailto:kishan.kav...@citrix.com]
Sent: Tuesday, 7 May 2013 8:38 PM
To: dev@cloudstack.apache.org
Subject: [MERGE] CLOUDSTACK-763 ACL deny rules


I would like to merge the network_acl branch to master. Merge includes the 
following enhancements:

- Support for ACL deny rules

- Support for "all" protocol and protocol number

- Introduces ACl container (ACLList)



Jira Ticket: https://issues.apache.org/jira/browse/CLOUDSTACK-760, 
https://issues.apache.org/jira/browse/CLOUDSTACK-763

FS link: 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Support+ACL+deny+rules

Proposal Discussion: Related discussion is available at [1] and [2]

Branch: network_acl. Branch is rebased with latest master

Unit Tests: Below unit tests and integration tests were added:

* NetworkACLServiceTest

* NetworkACLManagerTest

* test_network_acl.py

Rat report:  0 Unknown Licenses (report attached)



Thanks,

Kishan


[1] 
http://mail-archives.apache.org/mod_mbox/cloudstack-dev/201303.mbox/%3cc7522783e0e6d3488d82b9a7f7f004b902c...@sinpex01cl01.citrite.net%3E
[2] 
http://mail-archives.apache.org/mod_mbox/cloudstack-dev/201304.mbox/%3cc7522783e0e6d3488d82b9a7f7f004b90c45d...@sinpex01cl01.citrite.net%3E


Re: [ACS4.1] cloudstack-agent

2013-05-13 Thread Prasanna Santhanam
On Mon, May 13, 2013 at 07:27:54AM +, Paul Angus wrote:
> It's the same hardware as for the 4.0.2 build - it's scripted and
> only difference is the repo used.
> 

I've seen this happen when scripting my install on switching to 4.1.
KVM modules are not detected even though virtualization is enabled on
the host. After installing qemu-kvm and libvirt the cloudstack install went
fine.

https://github.com/vogxn/acs-infra-test/commit/2215407ca65206933144a46f26687150ac0d8169

-- 
Prasanna.,


Powered by BigRock.com



  1   2   >