Review Request 24542: CLOUDSTACK-7302: UI: Removed Hover Interaction from breadcrumbs at top page

2014-08-11 Thread Mihaela Stoica

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

Review request for cloudstack, Brian Federle and Jessica Wang.


Repository: cloudstack-git


Description
---

Removed the pop-up displayed when hovering over breadcrumbs at the top of the 
page.


Diffs
-

  ui/scripts/ui/widgets/cloudBrowser.js 31ac533 

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


Testing
---


Thanks,

Mihaela Stoica



Re: [ACS44] 4.4.1 release candidate

2014-08-11 Thread Rohit Yadav

On 10-Aug-2014, at 10:14 pm, Erik Weber  wrote:

> On Sun, Aug 10, 2014 at 9:42 PM, Ian Duffy  wrote:
>
>> Erik,
>>
>>> Don't know about Rohit, but I don't have infrastructure for it at home.
>>
>> If you have a machine with a decent amount of ram its handy enough to do it
>> all within nested virtualization.
>>
>> https://github.com/imduffy15/GSoC-2014/tree/master/advanced might be of
>> interest to you.
>>
>>
> Thanks Ian,
>
> I generally do most testing locally, as far as I don't have to run more
> than 2 compute nodes it is generally fine.
> What I'm missing is network infrastructure, does your project work without
> a vlan capable switch?

DevCloud works, if you lack resources you may look into getting a portable mini 
PC.
I’m using quad core ZBox these days: http://www.amazon.com/gp/product/B00HZF3MA8

Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +41 779015219 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab



Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build
CSForge – rapid IaaS deployment framework
CloudStack Consulting
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

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


Re: Review Request 17941: CLOUDSTACK-6075: Increase the ram size for router service offering

2014-08-11 Thread Harikrishna Patnala

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

(Updated Aug. 11, 2014, 9:24 a.m.)


Review request for cloudstack and Jayapal Reddy.


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


Repository: cloudstack-git


Description
---

CLOUDSTACK-6075: Increase the ram size for router service offering 
Increased the ram size of Internal load balancer vm service offering also


Diffs (updated)
-

  engine/schema/src/com/cloud/upgrade/dao/Upgrade441to450.java 21b2e13 
  
plugins/network-elements/internal-loadbalancer/src/org/apache/cloudstack/network/lb/InternalLoadBalancerVMManager.java
 803d3a5 
  server/src/com/cloud/configuration/Config.java b499df5 
  server/src/com/cloud/network/router/VirtualNetworkApplianceManager.java 
85ce8b9 
  setup/db/db/schema-441to450.sql 34d5f88 

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


Testing
---

tested locally


Thanks,

Harikrishna Patnala



Re: Review Request 17941: CLOUDSTACK-6075: Increase the ram size for router service offering

2014-08-11 Thread Rohit Yadav

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


Looks GTM, but we'll wait for Jayapal to test/review it.

- Rohit Yadav


On Aug. 11, 2014, 9:24 a.m., Harikrishna Patnala wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/17941/
> ---
> 
> (Updated Aug. 11, 2014, 9:24 a.m.)
> 
> 
> Review request for cloudstack and Jayapal Reddy.
> 
> 
> Bugs: CLOUDSTACK-6075
> https://issues.apache.org/jira/browse/CLOUDSTACK-6075
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> CLOUDSTACK-6075: Increase the ram size for router service offering 
> Increased the ram size of Internal load balancer vm service offering also
> 
> 
> Diffs
> -
> 
>   engine/schema/src/com/cloud/upgrade/dao/Upgrade441to450.java 21b2e13 
>   
> plugins/network-elements/internal-loadbalancer/src/org/apache/cloudstack/network/lb/InternalLoadBalancerVMManager.java
>  803d3a5 
>   server/src/com/cloud/configuration/Config.java b499df5 
>   server/src/com/cloud/network/router/VirtualNetworkApplianceManager.java 
> 85ce8b9 
>   setup/db/db/schema-441to450.sql 34d5f88 
> 
> Diff: https://reviews.apache.org/r/17941/diff/
> 
> 
> Testing
> ---
> 
> tested locally
> 
> 
> Thanks,
> 
> Harikrishna Patnala
> 
>



Review Request 24544: CLOUDSTACK-7294: Passing listall =True for listUsers api admin call

2014-08-11 Thread Gaurav Aradhye

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

Review request for cloudstack, Doug Clark and Santhosh Edukulla.


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


Repository: cloudstack-git


Description
---

According to API changes 
(https://cwiki.apache.org/confluence/display/CLOUDSTACK/List*+API+commands+rules),
 listall parameter is necessary when admin wants to list the resources which 
belong to some other account.

Adding domainid and listall parameter while making listUsers api call through 
admin.


Diffs
-

  tools/marvin/marvin/cloudstackTestClient.py 1ca79ee 

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


Testing
---

Yes.

Tested two failing test cases with this change.

Test Deploy VM with 4 core CPU & verify the usage ... === TestName: 
test_01_multiple_core_vm_start_stop_instance | Status : SUCCESS ===
ok

--
Ran 1 test in 627.195s

OK


@summary: Test List IP Addresses pagination ... === TestName: 
test_01_list_ipaddresses_pagination | Status : SUCCESS ===
ok

--
Ran 1 test in 32.022s

OK


Thanks,

Gaurav Aradhye



Zones, Domains and Templates

2014-08-11 Thread Giri Prasad
Hi,

 I have a customer with several departments like : dept1, dept2, dept3 etc etc. 
I installed CS and am done with the provisioning process.

 Now, I want to create a vm for each dept. For ex: vm1->for->dept1, 
vm2->for->dept2, vm3->for->dept3. Each vm's will have its own set of 
application suite.

 The requirement is to assign a user to a dept. And when the user (in a 
specific dept) log's in, he/she should be able to see only the vm(and its app 
suite), for that specific dept.

 Any insights on how to implement the zone, domains, and templates for this 
scenario.

Thanks & Regards,
Giri


Jenkins build is still unstable: simulator-singlerun #94

2014-08-11 Thread jenkins
See 



Review Request 24547: CLOUDSTACK-7304: Fixed Exception not raised issue in portable IP test cases

2014-08-11 Thread Gaurav Aradhye

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

Review request for cloudstack, Doug Clark and Santhosh Edukulla.


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


Repository: cloudstack-git


Description
---

The test cases failed because the list API did not throw exception, but 
returned None.
Discussed with Alena, in case of IP addresses, when the IP is disassociated 
then it will return None for list call as it is retained in the database but is 
not in allocated state. Changed the test case accordingly.

These two cases failed from past 4 builds only.


Diffs
-

  test/integration/component/test_portable_ip.py b9c9059 

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


Testing
---

Yes.

Log:
test delete account with portable ip with no services enabled ... === TestName: 
test_delete_account_services_disabled | Status : SUCCESS ===
ok
test delete account with portable ip with PF and firewall services enabled ... 
=== TestName: test_delete_account_services_enabled | Status : SUCCESS ===
ok

--
Ran 2 tests in 359.275s

OK


Thanks,

Gaurav Aradhye



Template or root Volume VHD not able to run on standalone xenserver

2014-08-11 Thread Tejas Gadaria
Hi,

I am using ACS 4.2 with Xenserver 6.2 SP1..
Also I have .vhd of template & root volume & want to run on standalone xen
server but, while trying to import vhd from import wizard in xencenter it
says, 'VHD is not suitable for xenserver' .

Is it related to vhd-util, what we are importing in CS Management server?
How can i resolve this issue?

Regards,
Tejas


Review Request 24549: CLOUDSTACK-7305: hypervisor type parameter is mandatory when deploying VM using ISO

2014-08-11 Thread Harikrishna Patnala

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

Review request for cloudstack and koushik pv.


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


Repository: cloudstack-git


Description
---

CLOUDSTACK-7305: User vms are not expunging which are failed to deploy from ISO 
when hypervisor parameter is not passed
hypervisor type parameter is mandatory when deploying VM using ISO


Diffs
-

  api/src/org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java 8ceccb9 
  server/src/com/cloud/vm/UserVmManagerImpl.java 05cc183 

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


Testing
---


Thanks,

Harikrishna Patnala



Jenkins build is still unstable: simulator-singlerun #95

2014-08-11 Thread jenkins
See 



4.5 RM

2014-08-11 Thread David Nalley
Hi folks;

So we haven't had anyone step up to be release manager for 4.5 yet. So
you consider this either a threat or me volunteering depending on your
perspective. :)

If no one else steps up by midweek I'm happy to be the RM for 4.5. My
plan would be to likely hit feature freeze nearly immediately, and
pick up the schedule from there; but I don't want to distract from
Daan's 4.4.1 work.

If I do end up taking this on, I'd like to take it as an opportunity
to figure out/put into practice a good, workable git workflow, so I'll
probably be asking Rajani, Rohit, and Leo for some
guidance/suggestions as we move forward.

--David


Re: Zones, Domains and Templates

2014-08-11 Thread Xerex Bueno
You could create a different domain for each department, or you could
create separate projects for every department.  I would think projects
would be easier in terms of user management if you have lateral movement
between those groups.




On 8/11/14, 5:36 AM, "Giri Prasad"  wrote:

>Hi,
>
> I have a customer with several departments like : dept1, dept2, dept3
>etc etc. I installed CS and am done with the provisioning process.
>
> Now, I want to create a vm for each dept. For ex: vm1->for->dept1,
>vm2->for->dept2, vm3->for->dept3. Each vm's will have its own set of
>application suite.
>
> The requirement is to assign a user to a dept. And when the user (in a
>specific dept) log's in, he/she should be able to see only the vm(and its
>app suite), for that specific dept.
>
> Any insights on how to implement the zone, domains, and templates for
>this scenario.
>
>Thanks & Regards,
>Giri




This document is PROPRIETARY and CONFIDENTIAL and may not be duplicated, 
redistributed, or displayed to any other party without the expressed written 
permission of LPS Integration, Inc. If you are not the intended recipient and 
have received this email in error, please destroy the email and contact the LPS 
Integration Security Officer at 866-577-2902 (Phone), 615-349-9009 (Fax) or 230 
Great Circle Rd. Suite 218 Nashville, TN 37228 (US Mail)



Review Request 24550: CLOUDSTACK-7306 Don't run test_01_primary_storage_iscsi on KVM or HyperV

2014-08-11 Thread Alex Brett

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

Review request for cloudstack and Santhosh Edukulla.


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


Repository: cloudstack-git


Description
---

test_01_primary_storage_iscsi in test/integration/smoke/test_primary_storage.py 
currently attempts to set up an iSCSI primary storage pool, regardless of the 
type of host.

For KVM, we only support iSCSI via shared mount point, and for Hyper-V we don't 
support it at all, so the test should skip in these cases.


Diffs
-

  test/integration/smoke/test_primary_storage.py 66aec59 

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


Testing
---

Ran test against KVM host to verify it skips correctly


Thanks,

Alex Brett



Jenkins build is unstable: simulator-hotfix-trigger #17

2014-08-11 Thread jenkins
See 



Review Request 24552: CLOUDSTACK-7307 Add simulator_only attribute to tests which need it

2014-08-11 Thread Alex Brett

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

Review request for cloudstack, Gaurav Aradhye and Santhosh Edukulla.


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


Repository: cloudstack-git


Description
---

See full explanation and justification of this patch on the ticket at 
https://issues.apache.org/jira/browse/CLOUDSTACK-7307

A brief summary is that a number of tests require the simulator (e.g. to check 
the behaviour in a failure condition).

The existing attempt at solving this issue involved setting the 
required_hardware attribute to "simulator only", however
this is not very easy to use with the nosetests runner due to limitations it 
has around handling attributes. By adding a
new attribute (simulator_only), we can simply add !simulator_only to an 
attribute listing to avoid running these tests.


Diffs
-

  test/integration/smoke/misc/test_deploy_vm.py 071d15d 
  test/integration/smoke/misc/test_vm_ha.py 601354e 
  test/integration/smoke/test_vm_sync.py 6d56945 

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


Testing
---

Verified that tests are picked up when run without the new attribute, and not 
picked up when used with !simulator_only in the nosetests -a attribute list.


Thanks,

Alex Brett



Re: Review Request 24552: CLOUDSTACK-7307 Add simulator_only attribute to tests which need it

2014-08-11 Thread Gaurav Aradhye
Santhosh, I agree with Alex here. We should adopt this new tag if it adds
to simplicity.
Good thing is minimal change is needed.

Regards,
Gaurav


On Mon, Aug 11, 2014 at 8:27 PM, Alex Brett  wrote:

>This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/24552/
>   Review request for cloudstack, Gaurav Aradhye and Santhosh Edukulla.
> By Alex Brett.
>  *Bugs: * CLOUDSTACK-7307
> 
>  *Repository: * cloudstack-git
> Description
>
> See full explanation and justification of this patch on the ticket at 
> https://issues.apache.org/jira/browse/CLOUDSTACK-7307
>
> A brief summary is that a number of tests require the simulator (e.g. to 
> check the behaviour in a failure condition).
>
> The existing attempt at solving this issue involved setting the 
> required_hardware attribute to "simulator only", however
> this is not very easy to use with the nosetests runner due to limitations it 
> has around handling attributes. By adding a
> new attribute (simulator_only), we can simply add !simulator_only to an 
> attribute listing to avoid running these tests.
>
>   Testing
>
> Verified that tests are picked up when run without the new attribute, and not 
> picked up when used with !simulator_only in the nosetests -a attribute list.
>
>   Diffs
>
>- test/integration/smoke/misc/test_deploy_vm.py (071d15d)
>- test/integration/smoke/misc/test_vm_ha.py (601354e)
>- test/integration/smoke/test_vm_sync.py (6d56945)
>
> View Diff 
>


Re: 4.5 RM

2014-08-11 Thread Sebastien Goasguen

On Aug 11, 2014, at 9:24 AM, David Nalley  wrote:

> Hi folks;
> 
> So we haven't had anyone step up to be release manager for 4.5 yet. So
> you consider this either a threat or me volunteering depending on your
> perspective. :)
> 
> If no one else steps up by midweek I'm happy to be the RM for 4.5. My
> plan would be to likely hit feature freeze nearly immediately, and
> pick up the schedule from there; but I don't want to distract from
> Daan's 4.4.1 work.
> 
> If I do end up taking this on, I'd like to take it as an opportunity
> to figure out/put into practice a good, workable git workflow, so I'll
> probably be asking Rajani, Rohit, and Leo for some
> guidance/suggestions as we move forward.

IMHO we should not even release 4.5 until we have a agreed upon:

-what our issues are and why we released 4.4 and 4.3 late.
-taken action to resolve those issues
-guarantees that 4.5 will be on time

If we don't do that, I don't even know why we are putting ourselves through the 
pain of a release schedule.

> 
> --David



Jenkins build is still unstable: simulator-singlerun #96

2014-08-11 Thread jenkins
See 



Review Request 24557: Adds tagging support for security group rules

2014-08-11 Thread Stephen Hoogendijk

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

Review request for cloudstack, daan Hoogland and Wei Zhou.


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


Repository: cloudstack-git


Description
---

Adds tagging support for security group rules.


Diffs
-

  api/src/com/cloud/server/ResourceTag.java d91bb7d 
  api/src/org/apache/cloudstack/api/response/SecurityGroupRuleResponse.java 
e2d525a 
  server/src/com/cloud/api/query/dao/SecurityGroupJoinDaoImpl.java 093709d 
  server/src/com/cloud/api/query/vo/ResourceTagJoinVO.java 2c1ff47 
  server/src/com/cloud/tags/TaggedResourceManagerImpl.java e6f317c 

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


Testing
---

api tested with cloudmonkey (create tags, list tags, list security groups). No 
exceptions were found.


Thanks,

Stephen Hoogendijk



Re: Review Request 24557: Adds tagging support for security group rules

2014-08-11 Thread Stephen Hoogendijk

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

(Updated Aug. 11, 2014, 4:04 p.m.)


Review request for cloudstack, daan Hoogland and Wei Zhou.


Changes
---

added code documentation


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


Repository: cloudstack-git


Description
---

Adds tagging support for security group rules.


Diffs (updated)
-

  api/src/com/cloud/server/ResourceTag.java d91bb7d 
  api/src/org/apache/cloudstack/api/response/SecurityGroupRuleResponse.java 
e2d525a 
  server/src/com/cloud/api/query/dao/SecurityGroupJoinDaoImpl.java 093709d 
  server/src/com/cloud/api/query/vo/ResourceTagJoinVO.java 2c1ff47 
  server/src/com/cloud/tags/TaggedResourceManagerImpl.java e6f317c 

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


Testing
---

api tested with cloudmonkey (create tags, list tags, list security groups). No 
exceptions were found.


Thanks,

Stephen Hoogendijk



Re: Review Request 24557: Adds tagging support for security group rules

2014-08-11 Thread Stephen Hoogendijk

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

(Updated Aug. 11, 2014, 4:13 p.m.)


Review request for cloudstack, daan Hoogland and Wei Zhou.


Changes
---

removed debugging code


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


Repository: cloudstack-git


Description
---

Adds tagging support for security group rules.


Diffs (updated)
-

  api/src/com/cloud/server/ResourceTag.java d91bb7d 
  api/src/org/apache/cloudstack/api/response/SecurityGroupRuleResponse.java 
e2d525a 
  server/src/com/cloud/api/query/dao/SecurityGroupJoinDaoImpl.java 093709d 
  server/src/com/cloud/api/query/vo/ResourceTagJoinVO.java 2c1ff47 
  server/src/com/cloud/tags/TaggedResourceManagerImpl.java e6f317c 

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


Testing
---

api tested with cloudmonkey (create tags, list tags, list security groups). No 
exceptions were found.


Thanks,

Stephen Hoogendijk



Re: Review Request 23610: New script for verifying multiple shared networks with overlapped cidrs in different vlans

2014-08-11 Thread Santhosh Edukulla

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



test/integration/component/test_shared_networks.py


remove sanj



test/integration/component/test_shared_networks.py


Use validatelist if possible for easy reading



test/integration/component/test_shared_networks.py


same here and at other places, it will reduce no of lines


- Santhosh Edukulla


On Aug. 11, 2014, 5:38 a.m., sanjeev n wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/23610/
> ---
> 
> (Updated Aug. 11, 2014, 5:38 a.m.)
> 
> 
> Review request for cloudstack, Santhosh Edukulla and SrikanteswaraRao Talluri.
> 
> 
> Bugs: cs-4282
> https://issues.apache.org/jira/browse/cs-4282
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Adding new script for verifying multiple shared networks support with 
> overlapped cidrs in different vlans.
> 1.Create network1 with cidr1 and vlan1--pass
> 2.Create network2 with cidr1 and vlan1--fails
> 3.Create network3 with cidr1 and vlan2- pass
> 
> 
> Diffs
> -
> 
>   test/integration/component/test_shared_networks.py f99bfbf 
> 
> Diff: https://reviews.apache.org/r/23610/diff/
> 
> 
> Testing
> ---
> 
> yes
> 
> 
> Thanks,
> 
> sanjeev n
> 
>



Re: [DISCUSS] Removing template URL format checking logic

2014-08-11 Thread Min Chen
Yes, I have filed and fixed that bug a month ago.

Thanks
-min

On 8/10/14 10:39 PM, "Harikrishna Patnala"
 wrote:

>Hi Rohit,
>
>This was already fixed for templates
>https://issues.apache.org/jira/browse/CLOUDSTACK-6940
>
>We have to do the same for registering ISOs as well.
>
>
>Thanks,
>Harikrishna
>
>On 08-Aug-2014, at 11:20 pm, Rohit Yadav 
>wrote:
>
>> Hi,
>> 
>> With reference to https://issues.apache.org/jira/browse/CLOUDSTACK-5512
>>Marcus and I think we should remove the template URL format checking
>>logic because:
>> 
>> - It does not handle pre-signed URL (say something that does not end
>>with .vhd etc, but has bunch of http params)
>> - One can game the system by say renaming any file to respective format
>> - We dumb down, take whatever URL user gives and use the format they
>>specify in their register template API call
>> 
>> Marcus also notes that TemplateUtils utility would validate selected
>>format.
>> 
>> Please discuss if you¹ve any use-case that can get affected by this?
>> 
>> Regards,
>> Rohit Yadav
>> Software Architect, ShapeBlue
>> M. +41 779015219 | rohit.ya...@shapeblue.com
>> Blog: bhaisaab.org | Twitter: @_bhaisaab
>> 
>> 
>> 
>> Find out more about ShapeBlue and our range of CloudStack related
>>services
>> 
>> IaaS Cloud Design &
>>Build
>> CSForge ­ rapid IaaS deployment framework
>> CloudStack Consulting
>> CloudStack Infrastructure
>>Support
>> CloudStack Bootcamp Training
>>Courses
>> 
>> This email and any attachments to it may be confidential and are
>>intended solely for the use of the individual to whom it is addressed.
>>Any views or opinions expressed are solely those of the author and do
>>not necessarily represent those of Shape Blue Ltd or related companies.
>>If you are not the intended recipient of this email, you must neither
>>take any action based upon its contents, nor copy or show it to anyone.
>>Please contact the sender if you believe you have received this email in
>>error. Shape Blue Ltd is a company incorporated in England & Wales.
>>ShapeBlue Services India LLP is a company incorporated in India and is
>>operated under license from Shape Blue Ltd. Shape Blue Brasil
>>Consultoria Ltda is a company incorporated in Brasil and is operated
>>under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company
>>registered by The Republic of South Africa and is traded under license
>>from Shape Blue Ltd. ShapeBlue is a registered trademark.
>



Re: [DISCUSS] Removing template URL format checking logic

2014-08-11 Thread Rohit Yadav
Thanks for fixing that Min!

I personally did not check the current state of code other than discussing it 
with Marcus on the issue.

Cheers.

On 11-Aug-2014, at 6:54 pm, Min Chen  wrote:

> Yes, I have filed and fixed that bug a month ago.
>
> Thanks
> -min
>
> On 8/10/14 10:39 PM, "Harikrishna Patnala"
>  wrote:
>
>> Hi Rohit,
>>
>> This was already fixed for templates
>> https://issues.apache.org/jira/browse/CLOUDSTACK-6940
>>
>> We have to do the same for registering ISOs as well.
>>
>>
>> Thanks,
>> Harikrishna
>>
>> On 08-Aug-2014, at 11:20 pm, Rohit Yadav 
>> wrote:
>>
>>> Hi,
>>>
>>> With reference to https://issues.apache.org/jira/browse/CLOUDSTACK-5512
>>> Marcus and I think we should remove the template URL format checking
>>> logic because:
>>>
>>> - It does not handle pre-signed URL (say something that does not end
>>> with .vhd etc, but has bunch of http params)
>>> - One can game the system by say renaming any file to respective format
>>> - We dumb down, take whatever URL user gives and use the format they
>>> specify in their register template API call
>>>
>>> Marcus also notes that TemplateUtils utility would validate selected
>>> format.
>>>
>>> Please discuss if you¹ve any use-case that can get affected by this?
>>>
>>> Regards,
>>> Rohit Yadav
>>> Software Architect, ShapeBlue
>>> M. +41 779015219 | rohit.ya...@shapeblue.com
>>> Blog: bhaisaab.org | Twitter: @_bhaisaab
>>>
>>>
>>>
>>> Find out more about ShapeBlue and our range of CloudStack related
>>> services
>>>
>>> IaaS Cloud Design &
>>> Build
>>> CSForge ­ rapid IaaS deployment framework
>>> CloudStack Consulting
>>> CloudStack Infrastructure
>>> Support
>>> CloudStack Bootcamp Training
>>> Courses
>>>
>>> This email and any attachments to it may be confidential and are
>>> intended solely for the use of the individual to whom it is addressed.
>>> Any views or opinions expressed are solely those of the author and do
>>> not necessarily represent those of Shape Blue Ltd or related companies.
>>> If you are not the intended recipient of this email, you must neither
>>> take any action based upon its contents, nor copy or show it to anyone.
>>> Please contact the sender if you believe you have received this email in
>>> error. Shape Blue Ltd is a company incorporated in England & Wales.
>>> ShapeBlue Services India LLP is a company incorporated in India and is
>>> operated under license from Shape Blue Ltd. Shape Blue Brasil
>>> Consultoria Ltda is a company incorporated in Brasil and is operated
>>> under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company
>>> registered by The Republic of South Africa and is traded under license
>>> from Shape Blue Ltd. ShapeBlue is a registered trademark.

Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +41 779015219 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab



Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build
CSForge – rapid IaaS deployment framework
CloudStack Consulting
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

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


Re: 4.5 RM

2014-08-11 Thread Rohit Yadav
Hey David,

On 11-Aug-2014, at 3:24 pm, David Nalley  wrote:

> Hi folks;
>
> So we haven't had anyone step up to be release manager for 4.5 yet. So
> you consider this either a threat or me volunteering depending on your
> perspective. :)

Awesome, go for it!

> If no one else steps up by midweek I'm happy to be the RM for 4.5. My
> plan would be to likely hit feature freeze nearly immediately, and
> pick up the schedule from there; but I don't want to distract from
> Daan's 4.4.1 work.
>
> If I do end up taking this on, I'd like to take it as an opportunity
> to figure out/put into practice a good, workable git workflow, so I'll
> probably be asking Rajani, Rohit, and Leo for some
> guidance/suggestions as we move forward.

I would like to have all the CloudStack contributor companies and their 
sponsored developers give their best to help make Apache CloudStack releases 
more “stable" by testing and better release-participation so when they fork out 
commercial distributions from opensource ones they’ll have to give less effort 
in testing/maintaining their commercial distributions.

I guess the git-flow thing is pretty much not what we want “as it is”, and we 
want to be able to support both opensource and commercial branches. So I 
started a thread on the "cherry-pick vs merge --ff and getting release branch 
more participation” workflow which I think would also try to address my above 
suggestion and that you commit and test on opensource repo/branch first -- 
which I think no ones has objected till now. I’ll start a voting thread on it 
soon.

Cheers,
Rohit Yadav
Software Architect, ShapeBlue
M. +41 779015219 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab



Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build
CSForge – rapid IaaS deployment framework
CloudStack Consulting
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

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


Re: 4.5 RM

2014-08-11 Thread Rohit Yadav
Hi Sebastien,

On 11-Aug-2014, at 5:35 pm, Sebastien Goasguen  wrote:

>
> On Aug 11, 2014, at 9:24 AM, David Nalley  wrote:
>
>> Hi folks;
>>
>> So we haven't had anyone step up to be release manager for 4.5 yet. So
>> you consider this either a threat or me volunteering depending on your
>> perspective. :)
>>
>> If no one else steps up by midweek I'm happy to be the RM for 4.5. My
>> plan would be to likely hit feature freeze nearly immediately, and
>> pick up the schedule from there; but I don't want to distract from
>> Daan's 4.4.1 work.
>>
>> If I do end up taking this on, I'd like to take it as an opportunity
>> to figure out/put into practice a good, workable git workflow, so I'll
>> probably be asking Rajani, Rohit, and Leo for some
>> guidance/suggestions as we move forward.
>
> IMHO we should not even release 4.5 until we have a agreed upon:
>
> -what our issues are and why we released 4.4 and 4.3 late.
> -taken action to resolve those issues
> -guarantees that 4.5 will be on time
>
> If we don't do that, I don't even know why we are putting ourselves through 
> the pain of a release schedule.

We should explore that, Sebastien why don’t we start a thread or should we have 
IRC/Skype/GTM meetings?

I don’t know but why did we stop having IRC meeting and what can we do to start 
doing them periodically again? I think some issues are rather solved 
synchronously using IRC, Skype etc. rather than just going back and forth on it 
on ML.

Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +41 779015219 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab



Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build
CSForge – rapid IaaS deployment framework
CloudStack Consulting
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

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


Re: 4.5 RM

2014-08-11 Thread Sebastien Goasguen

On Aug 11, 2014, at 1:34 PM, Rohit Yadav  wrote:

> Hi Sebastien,
> 
> On 11-Aug-2014, at 5:35 pm, Sebastien Goasguen  wrote:
> 
>> 
>> On Aug 11, 2014, at 9:24 AM, David Nalley  wrote:
>> 
>>> Hi folks;
>>> 
>>> So we haven't had anyone step up to be release manager for 4.5 yet. So
>>> you consider this either a threat or me volunteering depending on your
>>> perspective. :)
>>> 
>>> If no one else steps up by midweek I'm happy to be the RM for 4.5. My
>>> plan would be to likely hit feature freeze nearly immediately, and
>>> pick up the schedule from there; but I don't want to distract from
>>> Daan's 4.4.1 work.
>>> 
>>> If I do end up taking this on, I'd like to take it as an opportunity
>>> to figure out/put into practice a good, workable git workflow, so I'll
>>> probably be asking Rajani, Rohit, and Leo for some
>>> guidance/suggestions as we move forward.
>> 
>> IMHO we should not even release 4.5 until we have a agreed upon:
>> 
>> -what our issues are and why we released 4.4 and 4.3 late.
>> -taken action to resolve those issues
>> -guarantees that 4.5 will be on time
>> 
>> If we don't do that, I don't even know why we are putting ourselves through 
>> the pain of a release schedule.
> 
> We should explore that, Sebastien why don’t we start a thread or should we 
> have IRC/Skype/GTM meetings?
> 
> I don’t know but why did we stop having IRC meeting and what can we do to 
> start doing them periodically again? I think some issues are rather solved 
> synchronously using IRC, Skype etc. rather than just going back and forth on 
> it on ML.
> 

because attendance was low

> Regards,
> Rohit Yadav
> Software Architect, ShapeBlue
> M. +41 779015219 | rohit.ya...@shapeblue.com
> Blog: bhaisaab.org | Twitter: @_bhaisaab
> 
> 
> 
> Find out more about ShapeBlue and our range of CloudStack related services
> 
> IaaS Cloud Design & Build
> CSForge – rapid IaaS deployment framework
> CloudStack Consulting
> CloudStack Infrastructure 
> Support
> CloudStack Bootcamp Training 
> Courses
> 
> This email and any attachments to it may be confidential and are intended 
> solely for the use of the individual to whom it is addressed. Any views or 
> opinions expressed are solely those of the author and do not necessarily 
> represent those of Shape Blue Ltd or related companies. If you are not the 
> intended recipient of this email, you must neither take any action based upon 
> its contents, nor copy or show it to anyone. Please contact the sender if you 
> believe you have received this email in error. Shape Blue Ltd is a company 
> incorporated in England & Wales. ShapeBlue Services India LLP is a company 
> incorporated in India and is operated under license from Shape Blue Ltd. 
> Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
> operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
> registered by The Republic of South Africa and is traded under license from 
> Shape Blue Ltd. ShapeBlue is a registered trademark.



Re: 4.5 RM

2014-08-11 Thread Mike Tutkowski
Thanks for being willing to take on this role, David!


On Mon, Aug 11, 2014 at 7:24 AM, David Nalley  wrote:

> Hi folks;
>
> So we haven't had anyone step up to be release manager for 4.5 yet. So
> you consider this either a threat or me volunteering depending on your
> perspective. :)
>
> If no one else steps up by midweek I'm happy to be the RM for 4.5. My
> plan would be to likely hit feature freeze nearly immediately, and
> pick up the schedule from there; but I don't want to distract from
> Daan's 4.4.1 work.
>
> If I do end up taking this on, I'd like to take it as an opportunity
> to figure out/put into practice a good, workable git workflow, so I'll
> probably be asking Rajani, Rohit, and Leo for some
> guidance/suggestions as we move forward.
>
> --David
>



-- 
*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: Review Request 24557: CLOUDSTACK-7308 - Adds tagging support for security group rules

2014-08-11 Thread Stephen Hoogendijk

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

(Updated Aug. 11, 2014, 6:06 p.m.)


Review request for cloudstack, daan Hoogland and Wei Zhou.


Summary (updated)
-

CLOUDSTACK-7308 - Adds tagging support for security group rules


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


Repository: cloudstack-git


Description
---

Adds tagging support for security group rules.


Diffs
-

  api/src/com/cloud/server/ResourceTag.java d91bb7d 
  api/src/org/apache/cloudstack/api/response/SecurityGroupRuleResponse.java 
e2d525a 
  server/src/com/cloud/api/query/dao/SecurityGroupJoinDaoImpl.java 093709d 
  server/src/com/cloud/api/query/vo/ResourceTagJoinVO.java 2c1ff47 
  server/src/com/cloud/tags/TaggedResourceManagerImpl.java e6f317c 

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


Testing
---

api tested with cloudmonkey (create tags, list tags, list security groups). No 
exceptions were found.


Thanks,

Stephen Hoogendijk



Re: Review Request 24557: CLOUDSTACK-7308 - Adds tagging support for security group rules

2014-08-11 Thread Wei Zhou

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



server/src/com/cloud/api/query/dao/SecurityGroupJoinDaoImpl.java


This is not needed.



server/src/com/cloud/api/query/vo/ResourceTagJoinVO.java


This part of change is not needed.


- Wei Zhou


On Aug. 11, 2014, 6:06 p.m., Stephen Hoogendijk wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/24557/
> ---
> 
> (Updated Aug. 11, 2014, 6:06 p.m.)
> 
> 
> Review request for cloudstack, daan Hoogland and Wei Zhou.
> 
> 
> Bugs: CLOUDSTACK-7308
> https://issues.apache.org/jira/browse/CLOUDSTACK-7308
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Adds tagging support for security group rules.
> 
> 
> Diffs
> -
> 
>   api/src/com/cloud/server/ResourceTag.java d91bb7d 
>   api/src/org/apache/cloudstack/api/response/SecurityGroupRuleResponse.java 
> e2d525a 
>   server/src/com/cloud/api/query/dao/SecurityGroupJoinDaoImpl.java 093709d 
>   server/src/com/cloud/api/query/vo/ResourceTagJoinVO.java 2c1ff47 
>   server/src/com/cloud/tags/TaggedResourceManagerImpl.java e6f317c 
> 
> Diff: https://reviews.apache.org/r/24557/diff/
> 
> 
> Testing
> ---
> 
> api tested with cloudmonkey (create tags, list tags, list security groups). 
> No exceptions were found.
> 
> 
> Thanks,
> 
> Stephen Hoogendijk
> 
>



Review Request 24571: Bugfix CS-7309: Null pointer in usage records listing

2014-08-11 Thread Luis Henrique Okama

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

Review request for cloudstack.


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

https://issues.apache.org/jira/browse/https://issues.apache.org/jira/browse/CLOUDSTACK-7309


Repository: cloudstack-git


Description
---

When listing usage records for running VMs and project to which this VM 
belonged was removed, a Null Pointer Exception happens at the time of building 
an usage response.

Included a verification to see if the project is null.

https://issues.apache.org/jira/browse/CLOUDSTACK-7309


Diffs
-

  server/src/com/cloud/api/ApiResponseHelper.java 7718fc1 

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


Testing
---

Using API, i got a list of instances successfully.


Thanks,

Luis Henrique Okama



UI 404 Error

2014-08-11 Thread mo


On August 11, 2014 at 4:17:16 PM, mo (m...@daoenix.com) wrote:

This is one of the errors I mentioned: 

Unable to connect to remote: is there a server running on port 8250

Also this one.

https://gist.github.com/anonymous/ea821c3e00d9b2baa7b6

- Mo

On August 11, 2014 at 4:05:23 PM, mo (m...@daoenix.com) wrote:

Hello,

Curious, I am getting this message, it’s worked for 10 days without issue. No 
reboots or changes really made by me.


Rebooting agent / management resolves it. Agent log shows it cannot connect, 
but no firewall rules have been altered. 


Any information would be appreciated.

- Mo

Re: UI 404 Error

2014-08-11 Thread mo
it would appear that you must start management first & then agent? I did so, ad 
I am back online.

Still would like to know if there is a particular process to start up. 

On August 11, 2014 at 5:08:45 PM, mo (m...@daoenix.com) wrote:



On August 11, 2014 at 4:17:16 PM, mo (m...@daoenix.com) wrote:

This is one of the errors I mentioned: 

Unable to connect to remote: is there a server running on port 8250

Also this one.

https://gist.github.com/anonymous/ea821c3e00d9b2baa7b6

- Mo

On August 11, 2014 at 4:05:23 PM, mo (m...@daoenix.com) wrote:

Hello,

Curious, I am getting this message, it’s worked for 10 days without issue. No 
reboots or changes really made by me.


Rebooting agent / management resolves it. Agent log shows it cannot connect, 
but no firewall rules have been altered. 


Any information would be appreciated.

- Mo

Re: UI 404 Error

2014-08-11 Thread Carlos Reategui
Did you recently update tomcat?  I've seen it happen where if you update
tomcat it will stop the cloudstack service and start the generic tomcat
service therefore giving 404 errors.


On Mon, Aug 11, 2014 at 2:32 PM, mo  wrote:

> it would appear that you must start management first & then agent? I did
> so, ad I am back online.
>
> Still would like to know if there is a particular process to start up.
>
> On August 11, 2014 at 5:08:45 PM, mo (m...@daoenix.com) wrote:
>
>
>
> On August 11, 2014 at 4:17:16 PM, mo (m...@daoenix.com) wrote:
>
> This is one of the errors I mentioned:
>
> Unable to connect to remote: is there a server running on port 8250
>
> Also this one.
>
> https://gist.github.com/anonymous/ea821c3e00d9b2baa7b6
>
> - Mo
>
> On August 11, 2014 at 4:05:23 PM, mo (m...@daoenix.com) wrote:
>
> Hello,
>
> Curious, I am getting this message, it’s worked for 10 days without issue.
> No reboots or changes really made by me.
>
>
> Rebooting agent / management resolves it. Agent log shows it cannot
> connect, but no firewall rules have been altered.
>
>
> Any information would be appreciated.
>
> - Mo


Re: UI 404 Error

2014-08-11 Thread mo
No updates have been performed. Automatic or otherwise. 

On August 11, 2014 at 5:38:57 PM, Carlos Reategui (car...@reategui.com) wrote:

Did you recently update tomcat? I've seen it happen where if you update  
tomcat it will stop the cloudstack service and start the generic tomcat  
service therefore giving 404 errors.  


On Mon, Aug 11, 2014 at 2:32 PM, mo  wrote:  

> it would appear that you must start management first & then agent? I did  
> so, ad I am back online.  
>  
> Still would like to know if there is a particular process to start up.  
>  
> On August 11, 2014 at 5:08:45 PM, mo (m...@daoenix.com) wrote:  
>  
>  
>  
> On August 11, 2014 at 4:17:16 PM, mo (m...@daoenix.com) wrote:  
>  
> This is one of the errors I mentioned:  
>  
> Unable to connect to remote: is there a server running on port 8250  
>  
> Also this one.  
>  
> https://gist.github.com/anonymous/ea821c3e00d9b2baa7b6  
>  
> - Mo  
>  
> On August 11, 2014 at 4:05:23 PM, mo (m...@daoenix.com) wrote:  
>  
> Hello,  
>  
> Curious, I am getting this message, it’s worked for 10 days without issue.  
> No reboots or changes really made by me.  
>  
>  
> Rebooting agent / management resolves it. Agent log shows it cannot  
> connect, but no firewall rules have been altered.  
>  
>  
> Any information would be appreciated.  
>  
> - Mo  


Re: UI 404 Error

2014-08-11 Thread mo
Wow! I lied, I swear I disabled automatic updates, that’s exactly what 
happened. Systematic updates including Tomcat were updated 8/8. 

They are disabled now, for sure! =P

- Mo

On August 11, 2014 at 5:38:57 PM, Carlos Reategui (car...@reategui.com) wrote:

Did you recently update tomcat? I've seen it happen where if you update  
tomcat it will stop the cloudstack service and start the generic tomcat  
service therefore giving 404 errors.  


On Mon, Aug 11, 2014 at 2:32 PM, mo  wrote:  

> it would appear that you must start management first & then agent? I did  
> so, ad I am back online.  
>  
> Still would like to know if there is a particular process to start up.  
>  
> On August 11, 2014 at 5:08:45 PM, mo (m...@daoenix.com) wrote:  
>  
>  
>  
> On August 11, 2014 at 4:17:16 PM, mo (m...@daoenix.com) wrote:  
>  
> This is one of the errors I mentioned:  
>  
> Unable to connect to remote: is there a server running on port 8250  
>  
> Also this one.  
>  
> https://gist.github.com/anonymous/ea821c3e00d9b2baa7b6  
>  
> - Mo  
>  
> On August 11, 2014 at 4:05:23 PM, mo (m...@daoenix.com) wrote:  
>  
> Hello,  
>  
> Curious, I am getting this message, it’s worked for 10 days without issue.  
> No reboots or changes really made by me.  
>  
>  
> Rebooting agent / management resolves it. Agent log shows it cannot  
> connect, but no firewall rules have been altered.  
>  
>  
> Any information would be appreciated.  
>  
> - Mo  


Re: [DISCUSS] Removing template URL format checking logic

2014-08-11 Thread Min Chen
Just checked in a fix to remove similar format check for ISO for
https://issues.apache.org/jira/browse/CLOUDSTACK-7312.

Thanks
-min

On 8/11/14 9:59 AM, "Rohit Yadav"  wrote:

>Thanks for fixing that Min!
>
>I personally did not check the current state of code other than
>discussing it with Marcus on the issue.
>
>Cheers.
>
>On 11-Aug-2014, at 6:54 pm, Min Chen  wrote:
>
>> Yes, I have filed and fixed that bug a month ago.
>>
>> Thanks
>> -min
>>
>> On 8/10/14 10:39 PM, "Harikrishna Patnala"
>>  wrote:
>>
>>> Hi Rohit,
>>>
>>> This was already fixed for templates
>>> https://issues.apache.org/jira/browse/CLOUDSTACK-6940
>>>
>>> We have to do the same for registering ISOs as well.
>>>
>>>
>>> Thanks,
>>> Harikrishna
>>>
>>> On 08-Aug-2014, at 11:20 pm, Rohit Yadav 
>>> wrote:
>>>
 Hi,

 With reference to
https://issues.apache.org/jira/browse/CLOUDSTACK-5512
 Marcus and I think we should remove the template URL format checking
 logic because:

 - It does not handle pre-signed URL (say something that does not end
 with .vhd etc, but has bunch of http params)
 - One can game the system by say renaming any file to respective
format
 - We dumb down, take whatever URL user gives and use the format they
 specify in their register template API call

 Marcus also notes that TemplateUtils utility would validate selected
 format.

 Please discuss if you¹ve any use-case that can get affected by this?

 Regards,
 Rohit Yadav
 Software Architect, ShapeBlue
 M. +41 779015219 | rohit.ya...@shapeblue.com
 Blog: bhaisaab.org | Twitter: @_bhaisaab



 Find out more about ShapeBlue and our range of CloudStack related
 services

 IaaS Cloud Design &
 Build
 CSForge ­ rapid IaaS deployment
framework
 CloudStack Consulting
 CloudStack Infrastructure
 Support
 CloudStack Bootcamp Training
 Courses

 This email and any attachments to it may be confidential and are
 intended solely for the use of the individual to whom it is addressed.
 Any views or opinions expressed are solely those of the author and do
 not necessarily represent those of Shape Blue Ltd or related
companies.
 If you are not the intended recipient of this email, you must neither
 take any action based upon its contents, nor copy or show it to
anyone.
 Please contact the sender if you believe you have received this email
in
 error. Shape Blue Ltd is a company incorporated in England & Wales.
 ShapeBlue Services India LLP is a company incorporated in India and is
 operated under license from Shape Blue Ltd. Shape Blue Brasil
 Consultoria Ltda is a company incorporated in Brasil and is operated
 under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company
 registered by The Republic of South Africa and is traded under license
 from Shape Blue Ltd. ShapeBlue is a registered trademark.
>
>Regards,
>Rohit Yadav
>Software Architect, ShapeBlue
>M. +41 779015219 | rohit.ya...@shapeblue.com
>Blog: bhaisaab.org | Twitter: @_bhaisaab
>
>
>
>Find out more about ShapeBlue and our range of CloudStack related services
>
>IaaS Cloud Design &
>Build
>CSForge ­ rapid IaaS deployment framework
>CloudStack Consulting
>CloudStack Infrastructure
>Support
>CloudStack Bootcamp Training
>Courses
>
>This email and any attachments to it may be confidential and are intended
>solely for the use of the individual to whom it is addressed. Any views
>or opinions expressed are solely those of the author and do not
>necessarily represent those of Shape Blue Ltd or related companies. If
>you are not the intended recipient of this email, you must neither take
>any action based upon its contents, nor copy or show it to anyone. Please
>contact the sender if you believe you have received this email in error.
>Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue
>Services India LLP is a company incorporated in India and is operated
>under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is
>a company incorporated in Brasil and is operated under license from Shape
>Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of
>South Africa and is traded under license from Shape Blue Ltd. ShapeBlue
>is a registered trademark.



Jenkins build is still unstable: simulator-singlerun #97

2014-08-11 Thread jenkins
See 



Re: Template or root Volume VHD not able to run on standalone xenserver

2014-08-11 Thread Andrei Mikhailovsky
Not sure if this is related, but the only time i've had issues with starting 
vms with XenServer + CloudStack was vhd-utils were not copied to 
/opt/xensource/bin folder. Make sure the file is there.

Andrei



- Original Message -
From: "Tejas Gadaria" 
To: us...@cloudstack.apache.org, dev@cloudstack.apache.org
Sent: Monday, 11 August, 2014 1:27:43 PM
Subject: Template or root Volume VHD not able to run on standalone xenserver

Hi,

I am using ACS 4.2 with Xenserver 6.2 SP1..
Also I have .vhd of template & root volume & want to run on standalone xen
server but, while trying to import vhd from import wizard in xencenter it
says, 'VHD is not suitable for xenserver' .

Is it related to vhd-util, what we are importing in CS Management server?
How can i resolve this issue?

Regards,
Tejas


Jenkins build is still unstable: simulator-singlerun #98

2014-08-11 Thread jenkins
See 



Re: [DISCUSS] Removing template URL format checking logic

2014-08-11 Thread Nitin Mehta
Hi Min,

We need to do this for Upload Volume as well - right ?

Thanks,
-Nitin

On 11/08/14 3:01 PM, "Min Chen"  wrote:

>Just checked in a fix to remove similar format check for ISO for
>https://issues.apache.org/jira/browse/CLOUDSTACK-7312.
>
>Thanks
>-min
>
>On 8/11/14 9:59 AM, "Rohit Yadav"  wrote:
>
>>Thanks for fixing that Min!
>>
>>I personally did not check the current state of code other than
>>discussing it with Marcus on the issue.
>>
>>Cheers.
>>
>>On 11-Aug-2014, at 6:54 pm, Min Chen  wrote:
>>
>>> Yes, I have filed and fixed that bug a month ago.
>>>
>>> Thanks
>>> -min
>>>
>>> On 8/10/14 10:39 PM, "Harikrishna Patnala"
>>>  wrote:
>>>
 Hi Rohit,

 This was already fixed for templates
 https://issues.apache.org/jira/browse/CLOUDSTACK-6940

 We have to do the same for registering ISOs as well.


 Thanks,
 Harikrishna

 On 08-Aug-2014, at 11:20 pm, Rohit Yadav 
 wrote:

> Hi,
>
> With reference to
>https://issues.apache.org/jira/browse/CLOUDSTACK-5512
> Marcus and I think we should remove the template URL format checking
> logic because:
>
> - It does not handle pre-signed URL (say something that does not end
> with .vhd etc, but has bunch of http params)
> - One can game the system by say renaming any file to respective
>format
> - We dumb down, take whatever URL user gives and use the format they
> specify in their register template API call
>
> Marcus also notes that TemplateUtils utility would validate selected
> format.
>
> Please discuss if you¹ve any use-case that can get affected by this?
>
> Regards,
> Rohit Yadav
> Software Architect, ShapeBlue
> M. +41 779015219 | rohit.ya...@shapeblue.com
> Blog: bhaisaab.org | Twitter: @_bhaisaab
>
>
>
> Find out more about ShapeBlue and our range of CloudStack related
> services
>
> IaaS Cloud Design &
> Build
> CSForge ­ rapid IaaS deployment
>framework
> CloudStack Consulting
> CloudStack Infrastructure
> Support
> CloudStack Bootcamp Training
> Courses
>
> This email and any attachments to it may be confidential and are
> intended solely for the use of the individual to whom it is
>addressed.
> Any views or opinions expressed are solely those of the author and do
> not necessarily represent those of Shape Blue Ltd or related
>companies.
> If you are not the intended recipient of this email, you must neither
> take any action based upon its contents, nor copy or show it to
>anyone.
> Please contact the sender if you believe you have received this email
>in
> error. Shape Blue Ltd is a company incorporated in England & Wales.
> ShapeBlue Services India LLP is a company incorporated in India and
>is
> operated under license from Shape Blue Ltd. Shape Blue Brasil
> Consultoria Ltda is a company incorporated in Brasil and is operated
> under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company
> registered by The Republic of South Africa and is traded under
>license
> from Shape Blue Ltd. ShapeBlue is a registered trademark.
>>
>>Regards,
>>Rohit Yadav
>>Software Architect, ShapeBlue
>>M. +41 779015219 | rohit.ya...@shapeblue.com
>>Blog: bhaisaab.org | Twitter: @_bhaisaab
>>
>>
>>
>>Find out more about ShapeBlue and our range of CloudStack related
>>services
>>
>>IaaS Cloud Design &
>>Build
>>CSForge ­ rapid IaaS deployment framework
>>CloudStack Consulting
>>CloudStack Infrastructure
>>Support
>>CloudStack Bootcamp Training
>>Courses
>>
>>This email and any attachments to it may be confidential and are intended
>>solely for the use of the individual to whom it is addressed. Any views
>>or opinions expressed are solely those of the author and do not
>>necessarily represent those of Shape Blue Ltd or related companies. If
>>you are not the intended recipient of this email, you must neither take
>>any action based upon its contents, nor copy or show it to anyone. Please
>>contact the sender if you believe you have received this email in error.
>>Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue
>>Services India LLP is a company incorporated in India and is operated
>>under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is
>>a company incorporated in Brasil and is operated under license from Shape
>>Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Repu

Re: [DISCUSS] Removing template URL format checking logic

2014-08-11 Thread Min Chen
Yes. But on second thought, I think that purely removing template url
format checking is too brute force and aggressive, and will cause hard
time in debugging issues thrown by later orchestration flow that relies on
template/volume in specific file format. A better fix to address the issue
raised in CLOUDSTACK-5512 is to fix the code to parse download or upload
URI properly to get correct path. I will check in such a fix soon.

Thanks
-min

On 8/11/14 5:16 PM, "Nitin Mehta"  wrote:

>Hi Min,
>
>We need to do this for Upload Volume as well - right ?
>
>Thanks,
>-Nitin
>
>On 11/08/14 3:01 PM, "Min Chen"  wrote:
>
>>Just checked in a fix to remove similar format check for ISO for
>>https://issues.apache.org/jira/browse/CLOUDSTACK-7312.
>>
>>Thanks
>>-min
>>
>>On 8/11/14 9:59 AM, "Rohit Yadav"  wrote:
>>
>>>Thanks for fixing that Min!
>>>
>>>I personally did not check the current state of code other than
>>>discussing it with Marcus on the issue.
>>>
>>>Cheers.
>>>
>>>On 11-Aug-2014, at 6:54 pm, Min Chen  wrote:
>>>
 Yes, I have filed and fixed that bug a month ago.

 Thanks
 -min

 On 8/10/14 10:39 PM, "Harikrishna Patnala"
  wrote:

> Hi Rohit,
>
> This was already fixed for templates
> https://issues.apache.org/jira/browse/CLOUDSTACK-6940
>
> We have to do the same for registering ISOs as well.
>
>
> Thanks,
> Harikrishna
>
> On 08-Aug-2014, at 11:20 pm, Rohit Yadav 
> wrote:
>
>> Hi,
>>
>> With reference to
>>https://issues.apache.org/jira/browse/CLOUDSTACK-5512
>> Marcus and I think we should remove the template URL format checking
>> logic because:
>>
>> - It does not handle pre-signed URL (say something that does not end
>> with .vhd etc, but has bunch of http params)
>> - One can game the system by say renaming any file to respective
>>format
>> - We dumb down, take whatever URL user gives and use the format they
>> specify in their register template API call
>>
>> Marcus also notes that TemplateUtils utility would validate selected
>> format.
>>
>> Please discuss if you¹ve any use-case that can get affected by this?
>>
>> Regards,
>> Rohit Yadav
>> Software Architect, ShapeBlue
>> M. +41 779015219 | rohit.ya...@shapeblue.com
>> Blog: bhaisaab.org | Twitter: @_bhaisaab
>>
>>
>>
>> Find out more about ShapeBlue and our range of CloudStack related
>> services
>>
>> IaaS Cloud Design &
>> Build
>> CSForge ­ rapid IaaS deployment
>>framework
>> CloudStack Consulting
>> CloudStack Infrastructure
>> Support
>> CloudStack Bootcamp Training
>> Courses
>>
>> This email and any attachments to it may be confidential and are
>> intended solely for the use of the individual to whom it is
>>addressed.
>> Any views or opinions expressed are solely those of the author and
>>do
>> not necessarily represent those of Shape Blue Ltd or related
>>companies.
>> If you are not the intended recipient of this email, you must
>>neither
>> take any action based upon its contents, nor copy or show it to
>>anyone.
>> Please contact the sender if you believe you have received this
>>email
>>in
>> error. Shape Blue Ltd is a company incorporated in England & Wales.
>> ShapeBlue Services India LLP is a company incorporated in India and
>>is
>> operated under license from Shape Blue Ltd. Shape Blue Brasil
>> Consultoria Ltda is a company incorporated in Brasil and is operated
>> under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company
>> registered by The Republic of South Africa and is traded under
>>license
>> from Shape Blue Ltd. ShapeBlue is a registered trademark.
>>>
>>>Regards,
>>>Rohit Yadav
>>>Software Architect, ShapeBlue
>>>M. +41 779015219 | rohit.ya...@shapeblue.com
>>>Blog: bhaisaab.org | Twitter: @_bhaisaab
>>>
>>>
>>>
>>>Find out more about ShapeBlue and our range of CloudStack related
>>>services
>>>
>>>IaaS Cloud Design &
>>>Build
>>>CSForge ­ rapid IaaS deployment framework
>>>CloudStack Consulting
>>>CloudStack Infrastructure
>>>Support
>>>CloudStack Bootcamp Training
>>>Courses
>>>
>>>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 repres

Re: [DISCUSS] Removing template URL format checking logic

2014-08-11 Thread Nitin Mehta
Yes, its important to fail fast and suggest the user that he/she didn't
register the correct format URI.
Also we shouldn’t have boiler plate code for checking the url format for
register iso/template/volume. It should be one util method.
But would you know all the valid formats a URL can be - or will you just
check for say 'vhd' in the URL ?

Thanks,
-Nitin

On 11/08/14 5:26 PM, "Min Chen"  wrote:

>Yes. But on second thought, I think that purely removing template url
>format checking is too brute force and aggressive, and will cause hard
>time in debugging issues thrown by later orchestration flow that relies on
>template/volume in specific file format. A better fix to address the issue
>raised in CLOUDSTACK-5512 is to fix the code to parse download or upload
>URI properly to get correct path. I will check in such a fix soon.
>
>Thanks
>-min
>
>On 8/11/14 5:16 PM, "Nitin Mehta"  wrote:
>
>>Hi Min,
>>
>>We need to do this for Upload Volume as well - right ?
>>
>>Thanks,
>>-Nitin
>>
>>On 11/08/14 3:01 PM, "Min Chen"  wrote:
>>
>>>Just checked in a fix to remove similar format check for ISO for
>>>https://issues.apache.org/jira/browse/CLOUDSTACK-7312.
>>>
>>>Thanks
>>>-min
>>>
>>>On 8/11/14 9:59 AM, "Rohit Yadav"  wrote:
>>>
Thanks for fixing that Min!

I personally did not check the current state of code other than
discussing it with Marcus on the issue.

Cheers.

On 11-Aug-2014, at 6:54 pm, Min Chen  wrote:

> Yes, I have filed and fixed that bug a month ago.
>
> Thanks
> -min
>
> On 8/10/14 10:39 PM, "Harikrishna Patnala"
>  wrote:
>
>> Hi Rohit,
>>
>> This was already fixed for templates
>> https://issues.apache.org/jira/browse/CLOUDSTACK-6940
>>
>> We have to do the same for registering ISOs as well.
>>
>>
>> Thanks,
>> Harikrishna
>>
>> On 08-Aug-2014, at 11:20 pm, Rohit Yadav 
>> wrote:
>>
>>> Hi,
>>>
>>> With reference to
>>>https://issues.apache.org/jira/browse/CLOUDSTACK-5512
>>> Marcus and I think we should remove the template URL format
>>>checking
>>> logic because:
>>>
>>> - It does not handle pre-signed URL (say something that does not
>>>end
>>> with .vhd etc, but has bunch of http params)
>>> - One can game the system by say renaming any file to respective
>>>format
>>> - We dumb down, take whatever URL user gives and use the format
>>>they
>>> specify in their register template API call
>>>
>>> Marcus also notes that TemplateUtils utility would validate
>>>selected
>>> format.
>>>
>>> Please discuss if you¹ve any use-case that can get affected by
>>>this?
>>>
>>> Regards,
>>> Rohit Yadav
>>> Software Architect, ShapeBlue
>>> M. +41 779015219 | rohit.ya...@shapeblue.com
>>> Blog: bhaisaab.org | Twitter: @_bhaisaab
>>>
>>>
>>>
>>> Find out more about ShapeBlue and our range of CloudStack related
>>> services
>>>
>>> IaaS Cloud Design &
>>> Build
>>> CSForge ­ rapid IaaS deployment
>>>framework
>>> CloudStack Consulting
>>> CloudStack Infrastructure
>>> Support
>>> CloudStack Bootcamp Training
>>> Courses
>>>
>>> This email and any attachments to it may be confidential and are
>>> intended solely for the use of the individual to whom it is
>>>addressed.
>>> Any views or opinions expressed are solely those of the author and
>>>do
>>> not necessarily represent those of Shape Blue Ltd or related
>>>companies.
>>> If you are not the intended recipient of this email, you must
>>>neither
>>> take any action based upon its contents, nor copy or show it to
>>>anyone.
>>> Please contact the sender if you believe you have received this
>>>email
>>>in
>>> error. Shape Blue Ltd is a company incorporated in England & Wales.
>>> ShapeBlue Services India LLP is a company incorporated in India and
>>>is
>>> operated under license from Shape Blue Ltd. Shape Blue Brasil
>>> Consultoria Ltda is a company incorporated in Brasil and is
>>>operated
>>> under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a
>>>company
>>> registered by The Republic of South Africa and is traded under
>>>license
>>> from Shape Blue Ltd. ShapeBlue is a registered trademark.

Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +41 779015219 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab



Find out more about ShapeBlue and our range of CloudStack related
services

IaaS Cloud Design &
Build

Build failed in Jenkins: simulator-hotfix-trigger #18

2014-08-11 Thread jenkins
See 

--
[...truncated 7095 lines...]
[INFO] 
[INFO] Building Apache CloudStack Developer Mode 4.4.1-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-developer ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- properties-maven-plugin:1.0-alpha-2:read-project-properties 
(default) @ cloud-developer ---
[WARNING] Ignoring missing properties file: 

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

main:
[INFO] Executed tasks
[INFO] 
[INFO] >>> exec-maven-plugin:1.2.1:java (create-schema-simulator) @ 
cloud-developer >>>
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-developer ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] <<< exec-maven-plugin:1.2.1:java (create-schema-simulator) @ 
cloud-developer <<<
[INFO] 
[INFO] --- exec-maven-plugin:1.2.1:java (create-schema-simulator) @ 
cloud-developer ---
log4j:WARN No appenders could be found for logger 
(org.springframework.core.env.StandardEnvironment).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more 
info.
> WARNING: Provided file does not exist: 

> Initializing database=simulator with host=localhost port=3306 
username=cloud password=cloud
> Running query: drop database if exists `simulator`
> Running query: create database `simulator`
> Running query: GRANT ALL ON simulator.* to 'cloud'@`localhost` 
identified by 'cloud'
> Running query: GRANT ALL ON simulator.* to 'cloud'@`%` identified 
by 'cloud'
> Processing SQL file at 

> Processing SQL file at 

> Processing SQL file at 

> Processing upgrade: com.cloud.upgrade.DatabaseUpgradeChecker
[INFO] 
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ 
cloud-developer ---
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ 
cloud-developer ---
[INFO] Installing 

 to 
/var/lib/jenkins/.m2/repository/org/apache/cloudstack/cloud-developer/4.4.1-SNAPSHOT/cloud-developer-4.4.1-SNAPSHOT.pom
[INFO] 
[INFO] BUILD SUCCESS
[INFO] 
[INFO] Total time: 21.907s
[INFO] Finished at: Mon Aug 11 19:59:58 EDT 2014
[INFO] Final Memory: 40M/168M
[INFO] 
[simulator-hotfix-trigger] $ /bin/bash -x /tmp/hudson9044148902805185280.sh
+ grep -q Launcher
+ jps -l
+ rm -f xunit.xml
+ rm -rf /tmp/MarvinLogs
+ echo Check for initialization of the management server
Check for initialization of the management server
+ COUNTER=0
+ SERVER_PID=13687
+ mvn -P systemvm,simulator -pl :cloud-client-ui jetty:run
+ '[' 0 -lt 44 ']'
+ grep -q 'Management server node 127.0.0.1 is up' jetty-output.out
+ sleep 5
+ COUNTER=1
+ '[' 1 -lt 44 ']'
+ grep -q 'Management server node 127.0.0.1 is up' jetty-output.out
+ sleep 5
+ COUNTER=2
+ '[' 2 -lt 44 ']'
+ grep -q 'Management server node 127.0.0.1 is up' jetty-output.out
+ sleep 5
+ COUNTER=3
+ '[' 3 -lt 44 ']'
+ grep -q 'Management server node 127.0.0.1 is up' jetty-output.out
+ sleep 5
+ COUNTER=4
+ '[' 4 -lt 44 ']'
+ grep -q 'Management server node 127.0.0.1 is up' jetty-output.out
+ sleep 5
+ COUNTER=5
+ '[' 5 -lt 44 ']'
+ grep -q 'Management server node 127.0.0.1 is up' jetty-output.out
+ sleep 5
+ COUNTER=6
+ '[' 6 -lt 44 ']'
+ grep -q 'Management server node 127.0.0.1 is up' jetty-output.out
+ sleep 5
+ COUNTER=7
+ '[' 7 -lt 44 ']'
+ grep -q 'Management server node 127.0.0.1 is up' jetty-output.out
+ sleep 5
+ COUNTER=8
+ '[' 8 -lt 44 ']'
+ grep -q 'Management server node 127.0.0.1 is up' jetty-output.out
+ sleep 5
+ COUNTER=9
+ '[' 9 -lt 44 ']'
+ grep -q 'Management server node 127.0.0.1 is up' jetty-output.out
+ sleep 5
+ COUNTER=10
+ 

Cloud Stack 4.4, Xen 6.2 SP1 does not establish VPC site2site

2014-08-11 Thread Amin Samir
Hello,

 
 

We did install new CS 4.4 version using Xen Server 6.2 SP1 and the latest 
updates, then tried to establish VPC site 2 site it is not working.

 
New template used 10th 

 of August.

 
Thanks for sharing your experience.

 
 
 

Kind Regards

 


[SHOW] Authentication refactoring

2014-08-11 Thread Rohit Yadav
Hi,

The way we handle login and logout is hardcoded and since there is no 
APICommand/BaseCmd implementation the apidoc, apidiscovery and other don’t 
discover these apis. For supporting SAML as an authentication mechanism, I’ve 
refactored the Auth mechanism as a pluggable service that loads with api-server 
artifact and both login and logout are now implemented as a pseduo BaseCmd 
classes.

I call them pseudo because their execute() is never called, the authentication 
guards in ApiServlet class make sure we call an authenticate method of such 
classes. Since, they are tightly coupled with cloud-server’s ApiServlet it only 
made sense to have the interface definition and implementation within the same 
package/artifact as well. This also solves the apidoc issue for login/logout 
and saml related auth apis.

I’ll merge them after sometime and continue working on saml stuff. Will push 
the code in the branch “auth-refactor” in an hour for review/testing now. This 
does not break anything and should not cause any auth related issues for all 
existing clients.

Any suggestions, feedback welcome! Refactoring was pretty straight forward but 
I’ll make sure to write a wiki page on this before merging to master.

Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +41 779015219 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab



Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build
CSForge – rapid IaaS deployment framework
CloudStack Consulting
CloudStack Infrastructure 
Support
CloudStack Bootcamp Training Courses

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


Review Request 24589: Test script to verify fix for CS-5332

2014-08-11 Thread sanjeev n

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

Review request for cloudstack and Santhosh Edukulla.


Bugs: CS-5332
https://issues.apache.org/jira/browse/CS-5332


Repository: cloudstack-git


Description
---

This patch verifies the fix for CS-5332 (Network offering does not use new 
system offering for router).
Test involves following steps:
1.Create new system offering for domain router
2.create network offering and use the above offering for VR
3.Implement network and deploy vm in it


Diffs
-

  test/integration/component/test_network_offering.py f2251ff8 

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


Testing
---

Yes


Thanks,

sanjeev n



Re: Cloud Stack 4.4, Xen 6.2 SP1 does not establish VPC site2site

2014-08-11 Thread Erik Weber
Anything in the logs?

Erik
12. aug. 2014 03:49 skrev "Amin Samir"  følgende:

> Hello,
>
>
>
>
> We did install new CS 4.4 version using Xen Server 6.2 SP1 and the latest
> updates, then tried to establish VPC site 2 site it is not working.
>
>
> New template used 10th <
> http://cloudstack.apt-get.eu/systemvm/4.4/systemvm64template-4.4.0-6-xen.vhd.bz2>
> of August.
>
>
> Thanks for sharing your experience.
>
>
>
>
>
> Kind Regards
>
>
>