To those using IntelliJ

2013-05-10 Thread Prasanna Santhanam
> Changes
> ---
> 
> removed the stars in import statements from citrixResourceBase.

http://stackoverflow.com/questions/3348816/intellij-never-use-wildcard-imports

-- 
Prasanna.,


Powered by BigRock.com



Re: Review Request: CLOUDSTACK-2178 : "Add guest network" button is not responding

2013-05-10 Thread Isaac Chiang

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

(Updated May 10, 2013, 7:37 a.m.)


Review request for cloudstack and Pranav Saxena.


Changes
---

Patch updated


Description
---

The root cause of the issue is that the makeForm function in dialog.js cannot 
work with dependsOn field correctly.

Changed :
1. Dialog.js : Modify makeForm function in Dialog.js to work correctly with 
"dependsOn" field.
2. Network.js : Add checking for response in the call back function.


This addresses bug CLOUDSTACK-2178.


Diffs (updated)
-

  ui/scripts/network.js 6b310ce 
  ui/scripts/ui/dialog.js bb372fb 

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


Testing
---

Test from ui ans work well


Thanks,

Isaac Chiang



RE: AS4.1 with VMware System VMs

2013-05-10 Thread Paul Angus
As an update:

I deployed the system vm directly from the system vm template OVA on an ESXi 
host, the changed the underlying disk architecture to SCSI and repackaged as an 
OVA.

I then ran the secondary storage system vm template script (pointing it at the 
new OVA).

The template was copied into secondary storage, system VMs booted and demo 
template downloaded - all good.

There is a global setting for IDE/SCSI disks on VMware in CloudStack, if this 
was honoured for system VMs then these steps wouldn't be needed?

Regards,

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

-Original Message-
From: Paul Angus
Sent: 02 May 2013 20:08
To: dev@cloudstack.apache.org
Subject: RE: AS4.1 with VMware System VMs

I'm just working through that process in order to create a new ova (you also 
need to edit 'ddb.adapterType' in the vmdk file according to
 
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1016192
 )


Regards,

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

-Original Message-
From: Musayev, Ilya [mailto:imusa...@webmd.net]
Sent: 02 May 2013 20:03
To: dev@cloudstack.apache.org
Subject: RE: AS4.1 with VMware System VMs

I disagree, I've done it many times.

Edit VM settings, notice the location of VMDK. Delete the disk from vm (but 
don't delete the data). Apply Edit VM setting, add a disk, choose IDE 
controller, choose the disk previously noted, apply, power-on.

> -Original Message-
> From: Paul Angus [mailto:paul.an...@shapeblue.com]
> Sent: Thursday, May 02, 2013 2:05 PM
> To: dev@cloudstack.apache.org
> Subject: RE: AS4.1 with VMware System VMs
>
> I'm afraid it's not that simple, once the disk is created as either
> scsi or ide you can't change it...
>
> Vm from importing the ova directly(boots ok):
> http://i.imgur.com/rLShX89.png System vm created by cloudstack:
> http://i.imgur.com/LeXHOCV.png
>
>
>
> Regards,
>
> Paul Angus
> S: +44 20 3603 0540 | M: +447711418784 paul.an...@shapeblue.com
>
> -Original Message-
> From: Musayev, Ilya [mailto:imusa...@webmd.net]
> Sent: 02 May 2013 18:57
> To: dev@cloudstack.apache.org
> Subject: RE: AS4.1 with VMware System VMs
>
> Switch controller to IDE in vmware to see if it helps, just to confirm
> its controller related.
>
> Regards
> ilya
>
> > -Original Message-
> > From: Kelcey Damage (BT) [mailto:kel...@backbonetechnology.com]
> > Sent: Thursday, May 02, 2013 1:41 PM
> > To: dev@cloudstack.apache.org
> > Subject: RE: AS4.1 with VMware System VMs
> >
> > This comment made my day.
> >
> > (Side note, VMware only claims easy provisioning functionality with
> > RHEL derivatives and Ubuntu)
> >
> > You could re-pack your system VM with the needed virtual scsi driver
> > support I think?
> >
> > >-Original Message-
> > >From: Chip Childers [mailto:chip.child...@sungard.com]
> > >Sent: Thursday, May 02, 2013 10:38 AM
> > >To: dev@cloudstack.apache.org
> > >Subject: Re: AS4.1 with VMware System VMs
> > >
> > >On Thu, May 02, 2013 at 05:33:47PM +, Paul Angus wrote:
> > >> Hi,
> > >>
> > >> My system VMs are being created with a SCSI controller rather
> > >> than an IDE
> > >controller so they just come up with a screen that says 'GRUB' does
> > >anyone have any ideas why this might happen?
> > >>
> > >> (I THINK I built a nonoss repo.)
> > >
> > >You wouldn't have any VMware functionality if you didn't do non-oss.
> >
>
>
>
> 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] Release Blocker Update for 2013-05-08

2013-05-10 Thread Sebastien Goasguen

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



Re: [GSOC] Student interviews

2013-05-10 Thread Sebastien Goasguen

On May 10, 2013, at 12:57 AM, L Radhakrishna Rao  
wrote:

> Please don't take it otherwise
> 
> May i know on how to submit proposal?
> 
> I would like to do this, I was unaware on this.

Sorry, it's too late.

Check https://google-melange.appspot.com/gsoc/homepage/google/gsoc2013 for the 
timeline

Maybe next year,


> 
> Regards,
> RK
> 
> 
> On Fri, May 10, 2013 at 12:21 AM, 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: [GSOC] Student interviews

2013-05-10 Thread L Radhakrishna Rao
Thanks


On Fri, May 10, 2013 at 3:30 PM, Sebastien Goasguen wrote:

>
> On May 10, 2013, at 12:57 AM, L Radhakrishna Rao 
> wrote:
>
> > Please don't take it otherwise
> >
> > May i know on how to submit proposal?
> >
> > I would like to do this, I was unaware on this.
>
> Sorry, it's too late.
>
> Check https://google-melange.appspot.com/gsoc/homepage/google/gsoc2013for the 
> timeline
>
> Maybe next year,
>
>
> >
> > Regards,
> > RK
> >
> >
> > On Fri, May 10, 2013 at 12:21 AM, 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: [PROPOSAL] VMSync improvement to better co-operate with external managers for features like HA/DRS and FT

2013-05-10 Thread Suresh Sadhu
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+improvement

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


Reporting bugs

2013-05-10 Thread Nazri Abdulah
Hi,

I went to the following tutorial :

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Using+Eclipse+With+CloudStack

Then i figure out one issues on importing cloudstack source into eclipse using 
maven.. as following.

Import CloudStack

Now you can import CloudStack using the M2E plugin:

  *
Go to File->Import...
  *
Under Maven select "Existing Maven Projects" and click Next
  *
Browse to and select the root directory of the CloudStack source tree. Once 
selected, Eclipse will scan the source for pom.xml files. Make sure all are 
selected, then click the Finish button.

It was empty, none of the projects was listed. The solution may as the 
following.

cd /Documents/workspace
git clone https://git-wip-us.apache.org/repos/asf/cloudstack.git (successful 
downloaded)

Eclipse will import the projects and build the code. At this point you should 
be able to develop and debug code as usual within Eclipse.


If these are not bugs, please updates any information that can resolve that 
bugs. Thanks

Nazri




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

2013-05-10 Thread Koushik Das

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



core/src/com/cloud/agent/api/routing/createIpAliasCommand.java


Start of class name should be in caps. Same for file name.



core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java


createIpAliasCmd->CreateIpAliasCmd



core/src/com/cloud/network/DnsMasqConfigurator.java


It is better to move this to a separate file so that any changes to the 
content doesn't require a compilation



core/src/com/cloud/network/DnsMasqConfigurator.java


You are appending all the dns entries without any separators



engine/schema/src/com/cloud/network/dao/IPAddressDaoImpl.java


Fix spacing



patches/systemvm/debian/config/root/createIpAlias.sh


Whats this comemnt about?



patches/systemvm/debian/config/root/createIpAlias.sh


Make the logs useful ir remove them



patches/systemvm/debian/config/root/deleteIpAlias.sh


Remove unwanted whitespaces



patches/systemvm/debian/config/root/deleteIpAlias.sh


Some comment explaining why createIpAlias.sh is required would help



patches/systemvm/debian/config/root/dnsmasq.sh


paqth -> path



patches/systemvm/debian/config/root/dnsmasq.sh


This needs to be uncommented.

Also remove unwanted whitespaces



scripts/vm/hypervisor/xenserver/createipAlias.sh


Unwanted comment



scripts/vm/hypervisor/xenserver/createipAlias.sh


Remove whitespaces



server/src/com/cloud/configuration/ConfigurationManager.java


Is this file required to be modified?



server/src/com/cloud/network/router/VirtualNetworkApplianceManager.java


configDhcp -> configDhcpForSubnet



server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java


Again configDhcp, change it to correct name.


- Koushik Das


On May 10, 2013, 6:54 a.m., bharat kumar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/11027/
> ---
> 
> (Updated May 10, 2013, 6:54 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
> 
> Also accomodated some of the changes suggested by koushik. 
> corrected the import statements. renamed the IpAlias command to createIpAlias 
> command. 
> 
> 
> 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 36f232c 
> 

About XAPI task queue

2013-05-10 Thread Nguyen Anh Tu
Hi forks,

I'm working on CS + XCP. I have a question:

When starting VM, Async job "startvm" is sent to XCP Host via xapi. Then we
have to wait until xapi task responses.  This code here:

void startVM(Connection conn, Host host, VM vm, String vmName) throws
XmlRpcException {
Task task = null;
try {
   * task = vm.startOnAsync(conn, host, false, true);*
try {
//poll every 1 seconds , timeout after 10 minutes
*waitForTask(conn, task, 1000, 10 * 60 * 1000);*
*checkForSuccess(conn, task);*
} catch (Types.HandleInvalid e) {
if (vm.getPowerState(conn) == Types.VmPowerState.RUNNING) {
task = null;
return;
}
throw new CloudRuntimeException("Shutdown VM catch
HandleInvalid and VM is not in RUNNING state");
}
} catch (XenAPIException e) {
String msg = "Unable to start VM(" + vmName + ") on host(" +
_host.uuid +") due to " + e.toString();
s_logger.warn(msg, e);
throw new CloudRuntimeException(msg);
}finally {
if( task != null) {
try {
task.destroy(conn);
} catch (Exception e1) {
s_logger.debug("unable to destroy task(" +
task.toString() + ") on host(" + _host.uuid +") due to " + e1.toString());
}
}
}
}

Can you explain how xapi task work? How xapi queue work? When its task
responses?

Thanks,

-- 

N.g.U.y.e.N.A.n.H.t.U


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

2013-05-10 Thread bharat kumar

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

(Updated May 10, 2013, 11:18 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

Also accomodated some of the changes suggested by koushik. 
corrected the import statements. renamed the IpAlias command to createIpAlias 
command. 


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 36f232c 
  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/api/routing/createIpAliasCommand.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 67c1e07 
  engine/schema/src/com/cloud/vm/dao/NicDaoImpl.java c70d194 
  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
 d87da64 
  
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 bce1776 
  server/src/com/cloud/configuration/ConfigurationManagerImpl.java 37ca793 
  server/src/com/cloud/network/NetworkManager.java 4af716c 
  server/src/com/cloud/network/NetworkManagerImpl.java 4fffbc1 
  server/src/com/cloud/network/addr/PublicIp.java 25e9d30 
  server/src/com/cloud/network/element/VirtualRouterElement.java f601f4f 
  server/src/com/cloud/network/router/VirtualNetworkApplianceManager.java 
f49ab79 
  server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java 
6620e0a 
  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/MockNetworkManagerImpl.java 2f717c8 
  server/test/com/cloud/vpc/MockConfigurationManagerImpl.java 83b1924 
  server/test/com/cloud/vpc/MockNetworkManagerImpl.java f884ba1 
  server/test/com

private gateway creation seems buggy

2013-05-10 Thread Daan Hoogland
LS,

When I create a private gateway in 4.1 I get two networks created. After 
deleting the gateway only one gets deleted:

'204', 'vpc-TestVPC_279-privateNetwork', 
'b440933a-51c6-48aa-888c-c56cc7ae6fb1', 'vpc-TestVPC_279-privateNetwork', 
'Guest', 'Vlan', 'vlan://321', '10.11.10.1', '10.11.10.0/24', 'Dhcp', '5', 
'200', '1', 'ExternalGuestNetworkGuru', 'Destroy', '204', '1', '1', NULL, NULL, 
NULL, '0', 'Account', NULL, NULL, 'Isolated', '0', '2013-05-10 11:30:22', 
'2013-05-10 11:33:00', '0', NULL, NULL, NULL
'205', 'vpc-TestVPC_279-privateNetwork', 
'435ff400-a1ee-4e41-9f36-37156ccbc49c', 'vpc-TestVPC_279-privateNetwork', 
'Guest', 'Vlan', 'vlan://321', '10.11.10.1', '10.11.10.0/24', 'Static', '5', 
'200', '1', 'PrivateNetworkGuru', 'Setup', '204', '1', '1', NULL, NULL, NULL, 
'0', 'Account', NULL, NULL, 'Isolated', '0', '2013-05-10 11:30:22', NULL, '0', 
NULL, NULL, NULL

Is this a bug or is this intended? I noticed this in head trying to get the 
gateway created in the nicira nvp.

Regards,
Daan Hoogland


Re: Reporting bugs

2013-05-10 Thread Sebastien Goasguen

On May 10, 2013, at 6:43 AM, Nazri Abdulah  wrote:

> Hi,
> 
> I went to the following tutorial :
> 
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Using+Eclipse+With+CloudStack
> 
> Then i figure out one issues on importing cloudstack source into eclipse 
> using maven.. as following.
> 
> Import CloudStack
> 
> Now you can import CloudStack using the M2E plugin:
> 
>  *
> Go to File->Import...
>  *
> Under Maven select "Existing Maven Projects" and click Next
>  *
> Browse to and select the root directory of the CloudStack source tree. Once 
> selected, Eclipse will scan the source for pom.xml files. Make sure all are 
> selected, then click the Finish button.
> 
> It was empty, none of the projects was listed. The solution may as the 
> following.
> 
> cd /Documents/workspace
> git clone https://git-wip-us.apache.org/repos/asf/cloudstack.git (successful 
> downloaded)
> 
> Eclipse will import the projects and build the code. At this point you should 
> be able to develop and debug code as usual within Eclipse.
> 
> 
> If these are not bugs, please updates any information that can resolve that 
> bugs. Thanks
> 
> Nazri

Nazri, it's not a bug, you do need to clone the git repository and point 
eclipse to it.

I updated the wiki page.

Let us know if you are still having issues.

thanks,

-Sebastien

> 
> 



Re: [GSOC] Student interviews

2013-05-10 Thread Sebastien Goasguen

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-10 Thread bharat kumar

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

(Updated May 10, 2013, 11:51 a.m.)


Review request for cloudstack, Abhinandan Prateek and Koushik Das.


Changes
---

Jira ticket https://issues.apache.org/jira/browse/CLOUDSTACK-702

FS https://cwiki.apache.org/confluence/display/CLOUDSTACK/Multiple+Ip+ranges+FS

Unit tests server/test/com/cloud/configuration/ValidateIpRangeTest.java

RAT build is successful.


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

Also accomodated some of the changes suggested by koushik. 
corrected the import statements. renamed the IpAlias command to createIpAlias 
command. 


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 36f232c 
  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/api/routing/createIpAliasCommand.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 67c1e07 
  engine/schema/src/com/cloud/vm/dao/NicDaoImpl.java c70d194 
  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
 d87da64 
  
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 bce1776 
  server/src/com/cloud/configuration/ConfigurationManagerImpl.java 37ca793 
  server/src/com/cloud/network/NetworkManager.java 4af716c 
  server/src/com/cloud/network/NetworkManagerImpl.java 4fffbc1 
  server/src/com/cloud/network/addr/PublicIp.java 25e9d30 
  server/src/com/cloud/network/element/VirtualRouterElement.java f601f4f 
  server/src/com/cloud/network/router/VirtualNetworkApplianceManager.java 
f49ab79 
  server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java 
6620e0a 
  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/configurati

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

2013-05-10 Thread bharat kumar


> On May 10, 2013, 10:49 a.m., Koushik Das wrote:
> > core/src/com/cloud/network/DnsMasqConfigurator.java, line 47
> > 
> >
> > It is better to move this to a separate file so that any changes to the 
> > content doesn't require a compilation

created an enhancement bug for doing this 
https://issues.apache.org/jira/browse/CLOUDSTACK-2438


- bharat


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


On May 10, 2013, 11:51 a.m., bharat kumar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/11027/
> ---
> 
> (Updated May 10, 2013, 11:51 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
> 
> Also accomodated some of the changes suggested by koushik. 
> corrected the import statements. renamed the IpAlias command to createIpAlias 
> command. 
> 
> 
> 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 36f232c 
>   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/api/routing/createIpAliasCommand.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 67c1e07 
>   engine/schema/src/com/cloud/vm/dao/NicDaoImpl.java c70d194 
>   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
>  d87da64 
>   
> 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 bce1776 
>   server/src/com/cloud/configuration/ConfigurationManagerImpl.java 37ca793 
>   server/src/com/clo

Review Request: Description: Fix to handle 4.0 VmWare template upgrade

2013-05-10 Thread Kishan Kavala

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

Review request for cloudstack and Chip Childers.


Description
---

Fix to handle 4.0 VmWare template upgrade .


This addresses bug CLOUDSTACK-2309.


Diffs
-

  server/src/com/cloud/upgrade/dao/Upgrade302to40.java 753f64e 

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


Testing
---

Testing upgrade from 3.0 to 4.1 on VmWare


Thanks,

Kishan Kavala



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

2013-05-10 Thread bharat kumar

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

(Updated May 10, 2013, 12:08 p.m.)


Review request for cloudstack, Abhinandan Prateek and Koushik Das.


Changes
---

Marvin tests are at 
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=53e4965
This feature is implemented only for ipv4.


Description (updated)
---

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 36f232c 
  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/api/routing/createIpAliasCommand.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 67c1e07 
  engine/schema/src/com/cloud/vm/dao/NicDaoImpl.java c70d194 
  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
 d87da64 
  
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 bce1776 
  server/src/com/cloud/configuration/ConfigurationManagerImpl.java 37ca793 
  server/src/com/cloud/network/NetworkManager.java 4af716c 
  server/src/com/cloud/network/NetworkManagerImpl.java 4fffbc1 
  server/src/com/cloud/network/addr/PublicIp.java 25e9d30 
  server/src/com/cloud/network/element/VirtualRouterElement.java f601f4f 
  server/src/com/cloud/network/router/VirtualNetworkApplianceManager.java 
f49ab79 
  server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java 
6620e0a 
  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/con

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

2013-05-10 Thread Kishan Kavala


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



Re: Suggestion needed for CLOUDSTACK-212

2013-05-10 Thread Dharmesh Kakadia
Just saw this. I have done the refactoring and code is available at
https://github.com/dharmeshkakadia/incubator-cloudstack/tree/com.cloud-to-org.apache-refactoringto
try. In case we want to do it after 4.2-freeze, I am ready to redo it.

Thanks,
Dharmesh


On Fri, May 10, 2013 at 3:28 AM, Animesh Chaturvedi <
animesh.chaturv...@citrix.com> wrote:

>
>
> > -Original Message-
> > From: Chip Childers [mailto:chip.child...@sungard.com]
> > Sent: Wednesday, May 08, 2013 6:31 AM
> > To: dev@cloudstack.apache.org
> > Subject: Re: Suggestion needed for CLOUDSTACK-212
> >
> > Dharmesh,
> >
> > I'd also suggest that you actually plan on submitting this after the 4.2
> feature
> > freeze, to be included in 4.3.  This is the type of change that has
> bitten us
> > with almost every release...  and doing it close to the end of the merge
> > window may not be a good idea.  Our general preference is to do these
> types
> > of changes in master right *after* the latest feature release has it's
> branch
> > cut.
> >
> > -chip
> [Animesh>] yes 4.2 freeze is just 3 weeks out. This can be merged into
> master in early June
> >
> > On Wed, May 08, 2013 at 10:29:22AM +0530, Dharmesh Kakadia wrote:
> > > ok. I will go with that.
> > >
> > > Thanks,
> > > Dharmesh
> > >
> > > On Wed, May 8, 2013 at 1:08 AM, Chip Childers
> > wrote:
> > >
> > > > On Tue, May 07, 2013 at 11:14:12PM +0530, Dharmesh Kakadia wrote:
> > > > > Hi,
> > > > >
> > > > > I am trying to move java package structure from com.cloud to
> > > > > org.apache (
> > > > > https://issues.apache.org/jira/browse/CLOUDSTACK-212). I am
> > thinking of doing it the following way (Totally newbie), needed feedback
> on
> > that.
> > > > >
> > > > > 1. grep "com.cloud" on the entire repo.
> > > > > 2. update all package declarations using eclipse.
> > > > > 3. Update scripts etc found in 1 manually.
> > > > >
> > > > > Will it be a good way to do it ? Any better suggestion ?
> > > > >
> > > > > Thanks,
> > > > > Dharmesh
> > > >
> > > > That seems like a reasonable approach.  We will probably want to
> > > > create a branch when you submit a patch for this, and apply it
> > > > there...  just to spend some time ensuring that the changes work.
> > > >
> > > > -chip
> > > >
>


Re: Review Request: ACL on private gateway feature

2013-05-10 Thread Jayapal Reddy

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


Changes
---

Updated diff file.


Description
---

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


This addresses bug CLOUDSTACK-768.


Diffs (updated)
-

  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



Template not getting downloaded on latest master

2013-05-10 Thread Saksham Srivastava
Hi,

I did a fresh setup of CloudStack master,
Both the system vms are running fine and the secondary storage is also 
shown enabled.
But the built-in template is not getting downloaded.
ISO Registration happens but the ISO download is not initiated.

I keep on getting this message in the logs:

2013-05-10 19:12:20,380 DEBUG [cloud.server.StatsCollector] 
(StatsCollector-2:null) There is no secondary storage VM for secondary 
storage host nfs://10.102.192.100/cpg_vol/saksham/secondaryapachemay

Has anyone else seen this issue?

I am using VMWare ESX as my host and  systemvmtemplate-4.2.ova as my 
system-vm template.

Thanks,
Saksham

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

2013-05-10 Thread bharat kumar

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

(Updated May 10, 2013, 1:50 p.m.)


Review request for cloudstack, Abhinandan Prateek and Koushik Das.


Changes
---

Rebased with latest master.


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 67c8ccf 
  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/api/routing/createIpAliasCommand.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 c912430 
  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/MockNetworkManagerImpl

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

2013-05-10 Thread bharat kumar

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

(Updated May 10, 2013, 2:23 p.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 (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 67c8ccf 
  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 c912430 
  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/MockNetworkManagerImpl.java eb5fc25 
  server/test/com/cloud/vpc/Mock

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

2013-05-10 Thread bharat kumar

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

(Updated May 10, 2013, 2:30 p.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 (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 67c8ccf 
  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 c912430 
  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/MockNetworkManagerImpl.java eb5fc25 
  server/test/com/cloud/vpc/Mock

Re: Template not getting downloaded on latest master

2013-05-10 Thread Kishan Kavala

Saksham,
 Can you check the logs for file permission related errors? It could be related 
to CLOUDSTACK-2064

On 10-May-2013, at 7:20 PM, "Saksham Srivastava" 
 wrote:

> Hi,
> 
> I did a fresh setup of CloudStack master,
> Both the system vms are running fine and the secondary storage is also 
> shown enabled.
> But the built-in template is not getting downloaded.
> ISO Registration happens but the ISO download is not initiated.
> 
> I keep on getting this message in the logs:
> 
> 2013-05-10 19:12:20,380 DEBUG [cloud.server.StatsCollector] 
> (StatsCollector-2:null) There is no secondary storage VM for secondary 
> storage host nfs://10.102.192.100/cpg_vol/saksham/secondaryapachemay
> 
> Has anyone else seen this issue?
> 
> I am using VMWare ESX as my host and  systemvmtemplate-4.2.ova as my 
> system-vm template.
> 
> Thanks,
> Saksham


Re: External Network Usage

2013-05-10 Thread Kishan Kavala
Will,
I don't think there is any documentation. You can check JuniperSRX for 
reference. 
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=blob_plain;f=plugins/network-elements/juniper-srx/src/com/cloud/network/resource/JuniperSrxResource.java;hb=HEAD

Usage answer should contain bytes sent/received for each Public IP.

On 08-May-2013, at 9:26 PM, "Will Stevens" 
mailto:wstev...@cloudops.com>> wrote:

Hey All,
In my Palo Alto Firewall integration, I have not yet implemented usage
tracking.

I am getting messages in the console as follows:
(ExternalNetworkMonitor-1:) Didn't get an external network usage answer for
guest VLAN 3037

I believe this is implemented through the
'ExternalNetworkResourceUsageCommand'.  I have a basic stub in place for
this, but I am just returning a new 'ExternalNetworkResourceUsageAnswer'.

I have not been able to find any documentation on now the
ExternalNetworkMonitor works.  Is there any docs on how to integrate with
this somewhere?  If not, is it possible for someone can give me a basic
idea of how this is expected to function? What type of data should I be
adding to this?

Thanks,

Will


Re: External Network Usage

2013-05-10 Thread Will Stevens
Hi Kishan,
Thanks for the reply.  Yes, that is the only reference I have found as
well.  Since I have never worked with a Juniper device, there are things in
that implementation which are a little difficult to follow.

The usage input and output are actually tracked in different zones in that
implementation, so it does not look like it is just the public IP.  It may
be a biproduct of using source nat per zone, but that is not totally clear
to me.  Also, in that implementation there appears to be tracking of usage
on the private VLAN tags as well.

So this functionality is meant to provide the bytes sent/received over the
public network?  Is that it or is there more to this than just that?

Thanks,

Will


On Fri, May 10, 2013 at 11:23 AM, Kishan Kavala wrote:

> Will,
> I don't think there is any documentation. You can check JuniperSRX for
> reference.
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=blob_plain;f=plugins/network-elements/juniper-srx/src/com/cloud/network/resource/JuniperSrxResource.java;hb=HEAD
>
> Usage answer should contain bytes sent/received for each Public IP.
>
> On 08-May-2013, at 9:26 PM, "Will Stevens"  wstev...@cloudops.com>> wrote:
>
> Hey All,
> In my Palo Alto Firewall integration, I have not yet implemented usage
> tracking.
>
> I am getting messages in the console as follows:
> (ExternalNetworkMonitor-1:) Didn't get an external network usage answer for
> guest VLAN 3037
>
> I believe this is implemented through the
> 'ExternalNetworkResourceUsageCommand'.  I have a basic stub in place for
> this, but I am just returning a new 'ExternalNetworkResourceUsageAnswer'.
>
> I have not been able to find any documentation on now the
> ExternalNetworkMonitor works.  Is there any docs on how to integrate with
> this somewhere?  If not, is it possible for someone can give me a basic
> idea of how this is expected to function? What type of data should I be
> adding to this?
>
> Thanks,
>
> Will
>


Question

2013-05-10 Thread MEHDI ALI SOLTANI
Hi 
I just downloaded   cloudstack from 
git clone https://git-wip-us.apache.org/repos/asf/cloudstack.git
 i want to build cloudstack but according to 
https://cwiki.apache.org/CLOUDSTACK/how-to-build-on-master-branch.html

I dont know weather i should build it non-oss or oss .
Or does it different I build non-oss or oss 

Thanks,
Mehdi Ali Soltani

RE: Question

2013-05-10 Thread Pranav Saxena
If you are looking forward to use any external devices like Netscaler or vmware 
hypervisor or netapp , you'll have to use non-oss  . The document itself says 
that you 'll need to download those Jars separately from the links provided . 
If you don't want to do all this , then go for OSS set up . 

-Original Message-
From: MEHDI ALI SOLTANI [mailto:mehdi_alisolt...@yahoo.com] 
Sent: Friday, May 10, 2013 9:20 PM
To: dev@cloudstack.apache.org
Subject: Question

Hi
I just downloaded   cloudstack from
git clone https://git-wip-us.apache.org/repos/asf/cloudstack.git
 i want to build cloudstack but according to 
https://cwiki.apache.org/CLOUDSTACK/how-to-build-on-master-branch.html

I dont know weather i should build it non-oss or oss .
Or does it different I build non-oss or oss 

Thanks,
Mehdi Ali Soltani


CloudStack Compile Error

2013-05-10 Thread MEHDI ALI SOLTANI
Hi 
I used mvn clean install -P developer,systemvm according to 
https://cwiki.apache.org/CLOUDSTACK/how-to-build-on-master-branch.html
but i got this error  
.
.
.
Exception in thread "main" java.lang.UnsupportedClassVersionError: 
XmlToHtmlConverter : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: XmlToHtmlConverter. Program will exit.
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack . SUCCESS [6.625s]
[INFO] Apache CloudStack Utils ... SUCCESS [27.954s]
[INFO] Apache CloudStack API . SUCCESS [25.212s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.163s]


...
INFO] Apache CloudStack Developer Tools . SUCCESS [0.159s]
[INFO] Apache CloudStack apidocs . FAILURE [16.577s]
[INFO] Apache CloudStack marvin .. SKIPPED
[INFO] Apache CloudStack cloudmonkey cli . SKIPPED
[INFO] Apache CloudStack DevCloud  SKIPPED
[INFO] Apache CloudStack DevCloud-KVM  SKIPPED
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 10:53.864s
[INFO] Finished at: Fri May 10 20:21:00 IRDT 2013
[INFO] Final Memory: 47M/329M
[INFO] 
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec 
(compile) on project cloud-apidoc: Command execution failed. Process exited 
with an error: 1 (Exit value: 1) -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn  -rf :cloud-apidoc

I tested it without developer    mvn clean install -P systemvm 

but, again i got the same error.
please tell me how I can fix this error.

Sincerely
Mehdi Ali Soltani

Review Request: Implicit dedication of resources to an account

2013-05-10 Thread Devdeep Singh

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

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 the account. If none 
are available then empty hosts are tried. Otherwise deploy vm fails.
4. Verified for a deployment request with implicit planner in preferred mode, 
first the planner looks for hosts running implicit vm of the account. If none 
are available then empty hosts are tried. Then in tries on all hosts besides 
the one running implicit strict vms of other account.
5. Unit tests to validate different scenarios.
6. Made sure there are no rat failures and patch applies cleanly.


Thanks,

Devdeep Singh



Review request for implicit dedication of resources

2013-05-10 Thread Devdeep Singh
I have put implicit dedication of resources feature up for review. It 
implements the implicit dedication portion of the feature proposed at [1] and 
conforms to the FS available at [2]. It was developed in the feature branch 
[3]. The patch is available at [4]. It includes unit tests for verifying the 
functionality. I am also working on writing marvin tests for the feature. The 
feature is dependent on the changes being made for [5] in the planner_reserve 
branch.

Please take a look at it and let me know your comments.

[1] http://apache.markmail.org/thread/fwl45cfmpum52zwc
[2] 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Dedicated+Resources+-+Private+zone%2C+pod%2C+cluster%2C+host+Functional+Spec
[3] https://github.com/devdeep/cloudstack/commit/implicit-dedication
[4] https://reviews.apache.org/r/11045/
[5] 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/DeploymentPlanner+choice+via+ServiceOffering

Regards,
Devdeep


RE: Template not getting downloaded on latest master

2013-05-10 Thread Saksham Srivastava
Kishan, the logs do not show any error related to permission. It does not 
appear to be related to 2064.
The only message in the logs is "There is no secondary storage VM for secondary
storage host"

Seems like Water Duan has raised a similar issue on dev-list.

Thanks,
Saksham

From: Kishan Kavala [kishan.kav...@citrix.com]
Sent: Friday, May 10, 2013 8:31 PM
To: 
Cc: dev@cloudstack.apache.org
Subject: Re: Template not getting downloaded on latest master

Saksham,
 Can you check the logs for file permission related errors? It could be related 
to CLOUDSTACK-2064

On 10-May-2013, at 7:20 PM, "Saksham Srivastava" 
 wrote:

> Hi,
>
> I did a fresh setup of CloudStack master,
> Both the system vms are running fine and the secondary storage is also
> shown enabled.
> But the built-in template is not getting downloaded.
> ISO Registration happens but the ISO download is not initiated.
>
> I keep on getting this message in the logs:
>
> 2013-05-10 19:12:20,380 DEBUG [cloud.server.StatsCollector]
> (StatsCollector-2:null) There is no secondary storage VM for secondary
> storage host nfs://10.102.192.100/cpg_vol/saksham/secondaryapachemay
>
> Has anyone else seen this issue?
>
> I am using VMWare ESX as my host and  systemvmtemplate-4.2.ova as my
> system-vm template.
>
> Thanks,
> Saksham


Review Request: Fix a logging issue in my previsous hypervisor template code.

2013-05-10 Thread Fang Wang

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

Review request for cloudstack and Kelven Yang.


Description
---

As Alex pointed out, I need not to log the stacktrace in the 
hypervisorTemplateAdapter method to obtain the OVA packing. Fix it and remove 
the logging. 


Diffs
-

  server/src/com/cloud/template/HypervisorTemplateAdapter.java 322f32e 

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


Testing
---


Thanks,

Fang Wang



[MERGE] UI support for Cisco ASA1000v

2013-05-10 Thread Brian Federle
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


Review Request: Protect VNC port with password on KVM.

2013-05-10 Thread Fang Wang

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

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



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

2013-05-10 Thread David Nalley

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


Is there a jira bug for this? 

What kind of testing can we add to this to confirm it actually works as 
intended? 

- David Nalley


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



Re: Review Request: PVLAN provisioning support for vmware Distributed Virtual Switch deployments on cloudstack.

2013-05-10 Thread Sheng Yang

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



server/src/com/cloud/vm/UserVmManagerImpl.java


I meant, if you get the command executed in vmware resources, then you 
won't need hypervisor specify lines here.



server/src/com/cloud/vm/VirtualMachineManagerImpl.java


Still here.


- Sheng Yang


On May 10, 2013, 2:32 a.m., Venkata Siva Vijayendra Bhamidipati wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/11019/
> ---
> 
> (Updated May 10, 2013, 2:32 a.m.)
> 
> 
> Review request for cloudstack, Chip Childers, Sheng Yang, Sateesh 
> Chodapuneedi, Kelven Yang, and Animesh Chaturvedi.
> 
> 
> Description
> ---
> 
> Please find attached the diffs for pvlan support for vmware DVSwitch 
> deployments on cloudstack. You will find two diffs - the parent diff is 
> Sateesh's fix for CLOUSTACK-2316 which is needed to be cherry-picked on the 
> pvlan branch from the master. The other diff contains the changes for pvlan 
> support.
> 
> These diffs do not contain changes for pvlan provisioning on the Cisco Nexus 
> 1000v distributed virtual switch.
> 
> 
> This addresses bug CLOUDSTACK-1456.
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
>  99ad1ca 
>   server/src/com/cloud/network/NetworkManagerImpl.java 7a09eb5 
>   server/src/com/cloud/network/NetworkModelImpl.java bd62886 
>   server/src/com/cloud/vm/UserVmManagerImpl.java 683f0da 
>   server/src/com/cloud/vm/VirtualMachineManagerImpl.java b0d6378 
>   
> vmware-base/src/com/cloud/hypervisor/vmware/mo/DistributedVirtualSwitchMO.java
>  247be2a 
>   vmware-base/src/com/cloud/hypervisor/vmware/mo/HypervisorHostHelper.java 
> 7f323c5 
> 
> Diff: https://reviews.apache.org/r/11019/diff/
> 
> 
> Testing
> ---
> 
> The code has been tested on the Vmware DVSwitch for advanced shared networks 
> on vmware cluster deployments on cloudstack. Unit tests will be the same as 
> those provided by Sheng as part of the overall PVLAN support for XenServer 
> and KVM, and will exercise the vmware pvlan code path when user VMs are 
> created with vNICs sitting on advanced shared networks that have the optional 
> Private VLAN value set during their creation. VM live migration using vmware 
> vMotion has also been tested with these changes on vmware and it works as 
> expected.
> 
> Further testing will be carried out and this review request will be updated 
> accordingly.
> 
> 
> Thanks,
> 
> Venkata Siva Vijayendra Bhamidipati
> 
>



Re: Review Request: bug fix for https://issues.apache.org/jira/browse/CLOUDSTACK-1907

2013-05-10 Thread ASF Subversion and Git Services

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


Commit 738d35a61d12aa4ff4aef89f546a077e8629 in branch 
refs/heads/object_store from Chip Childers 
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=738d35a ]

CLOUDSTACK-1907: Debian Squeeze 6.0 (64-bit) is not experimental any more


- ASF Subversion and Git Services


On May 8, 2013, 6:45 p.m., edison su wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/11012/
> ---
> 
> (Updated May 8, 2013, 6:45 p.m.)
> 
> 
> Review request for cloudstack and Chip Childers.
> 
> 
> Description
> ---
> 
> Fix bug: https://issues.apache.org/jira/browse/CLOUDSTACK-1907, 
> 
> 
> This addresses bug CLOUDSTACK-1907.
> 
> 
> Diffs
> -
> 
>   
> plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/discoverer/XcpServerDiscoverer.java
>  a711ec0 
>   
> plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixHelper.java
>  828a827 
>   
> plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XcpServerResource.java
>  0ce91bc 
> 
> Diff: https://reviews.apache.org/r/11012/diff/
> 
> 
> Testing
> ---
> 
> no
> 
> 
> Thanks,
> 
> edison su
> 
>



Re: Review Request: (CLOUDSTACK-2318) update volumes.path to fix stop/start vm error after upgrade from 2.2.14 to 3.0.0

2013-05-10 Thread ASF Subversion and Git Services

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


Commit 99d0936314571e645f62e40bf4d227232be89632 in branch 
refs/heads/object_store from Chip Childers 
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=99d0936 ]

CLOUDSTACK-2318: update volumes.path to fix stop/start vm error after
upgrade from 2.2.14 to 3.0.0

Signed-off-by: Chip Childers 


- ASF Subversion and Git Services


On May 8, 2013, 8:45 a.m., Wei Zhou wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/11005/
> ---
> 
> (Updated May 8, 2013, 8:45 a.m.)
> 
> 
> Review request for cloudstack and Chip Childers.
> 
> 
> Description
> ---
> 
> more details in 
> http://markmail.org/message/h2qiuapd4jkxzhpo?q=KVM+Agent+problem
> https://issues.apache.org/jira/browse/CLOUDSTACK-2318
> 
> 
> This addresses bug CLOUDSTACK-2318.
> 
> 
> Diffs
> -
> 
>   setup/db/db/schema-2214to30.sql 60eceea 
> 
> Diff: https://reviews.apache.org/r/11005/diff/
> 
> 
> Testing
> ---
> 
> Testing ok.
> 
> 
> Thanks,
> 
> Wei Zhou
> 
>



Re: haproxy on VMWare systemVM template

2013-05-10 Thread Chiradeep Vittal
Fixed by fetching haproxy 1.4.8-1 from squeeze-backports

On 5/9/13 4:16 PM, "Sheng Yang"  wrote:

>Don't know. We can use Ubuntu package for now if it possible.
>
>or just use sid packages if possible?
>
>dnsmasq version is 0.62, which is good enough for ipv6.
>
>--Sheng
>
>
>On Thu, May 9, 2013 at 4:04 PM, Chiradeep Vittal <
>chiradeep.vit...@citrix.com> wrote:
>
>> How old? When did it disappear?
>>
>> I propose using the Ubuntu  package.
>> In tools/appliance/definitions/systemvmtemplate/postinstall.sh
>>
>> wget
>> 
>>http://security.ubuntu.com/ubuntu/pool/main/h/haproxy/haproxy_1.4.18-0ubu
>>nt
>> u2.1_i386.deb
>>
>> dpkg -i haproxy_1.4.18-0ubuntu2.1_i386.deb
>>
>> Also do we know if the system vm template contains the version of
>>dnsmasq
>> that is known to work for ipv6 support?
>>
>> --
>> Chiradeep
>>
>> On 5/9/13 3:48 PM, "Sheng Yang"  wrote:
>>
>> >No idea. Probably we should just grab some old generated systemvm for
>>now.
>> >
>> >--Sheng
>> >
>> >
>> >On Thu, May 9, 2013 at 3:37 PM, Chiradeep Vittal <
>> >chiradeep.vit...@citrix.com> wrote:
>> >
>> >> Should we use the Ubuntu package for now?
>> >>
>> >> On 5/9/13 2:03 PM, "Sheng Yang"  wrote:
>> >>
>> >> >HAproxy is missing in Debian 7.0's repo, due to old maintainer is
>> >>missing.
>> >> >
>> >> >http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674447
>> >> >http://lists.debian.org/debian-qa/2013/04/msg00039.html
>> >> >
>> >> >The new maintainer took over it at Apr 20th, but there is no
>>schedule
>> >>of
>> >> >recovering yet.
>> >> >
>> >> >That's why depends on everyday generated systemvm template is
>> >>dangerous.
>> >> >
>> >> >--Sheng
>> >> >
>> >> >
>> >> >On Tue, Apr 23, 2013 at 12:09 AM, Rohit Yadav 
>> >> wrote:
>> >> >
>> >> >> On Mon, Apr 22, 2013 at 11:45 AM, Abhinandan Prateek <
>> >> >> agneya2...@hotmail.com
>> >> >> > wrote:
>> >> >>
>> >> >> > The haproxy and port map services are not installed on VMWare
>> >>system
>> >> >>VM
>> >> >> > template. Is the path used to create the templates different for
>> >> >> different
>> >> >> > Hypervisor templates ? I was under the assumption that the
>>services
>> >> >> > installed on all the system VM templates meant for different
>> >> >>hypervisors
>> >> >> > should be same ?
>> >> >> >
>> >> >>
>> >> >> No? Pl. see tools/appliance/systemvmtemplate/postinstall.sh, if
>>it's
>> >> >>there
>> >> >> those pkgs will be installed.
>> >> >> For the template I created, I had built it with veewee on my
>>system
>> >>and
>> >> >> then imported it in vmware fusion to install the vmware-tools.
>> >> >>
>> >> >> Cheers.
>> >> >>
>> >> >>
>> >> >> >
>> >> >> > -abhi
>> >> >> >
>> >> >>
>> >>
>> >>
>>
>>



Re: Suggestion needed for CLOUDSTACK-212

2013-05-10 Thread David Nalley
Dharmesh:

Thanks for tackling this - I imagine there might be a little bit of churn,
as features finally land in master, but shouldn't be much - I may pull this
into a feature branch, and we can routinely rebase and see where we stand.

Thanks for being patient and flexible.

--David

On Friday, May 10, 2013, Dharmesh Kakadia wrote:

> Just saw this. I have done the refactoring and code is available at
>
> https://github.com/dharmeshkakadia/incubator-cloudstack/tree/com.cloud-to-org.apache-refactoringto
> try. In case we want to do it after 4.2-freeze, I am ready to redo it.
>
> Thanks,
> Dharmesh
>
>
> On Fri, May 10, 2013 at 3:28 AM, Animesh Chaturvedi <
> animesh.chaturv...@citrix.com > wrote:
>
> >
> >
> > > -Original Message-
> > > From: Chip Childers [mailto:chip.child...@sungard.com ]
> > > Sent: Wednesday, May 08, 2013 6:31 AM
> > > To: dev@cloudstack.apache.org 
> > > Subject: Re: Suggestion needed for CLOUDSTACK-212
> > >
> > > Dharmesh,
> > >
> > > I'd also suggest that you actually plan on submitting this after the
> 4.2
> > feature
> > > freeze, to be included in 4.3.  This is the type of change that has
> > bitten us
> > > with almost every release...  and doing it close to the end of the
> merge
> > > window may not be a good idea.  Our general preference is to do these
> > types
> > > of changes in master right *after* the latest feature release has it's
> > branch
> > > cut.
> > >
> > > -chip
> > [Animesh>] yes 4.2 freeze is just 3 weeks out. This can be merged into
> > master in early June
> > >
> > > On Wed, May 08, 2013 at 10:29:22AM +0530, Dharmesh Kakadia wrote:
> > > > ok. I will go with that.
> > > >
> > > > Thanks,
> > > > Dharmesh
> > > >
> > > > On Wed, May 8, 2013 at 1:08 AM, Chip Childers
> > > >wrote:
> > > >
> > > > > On Tue, May 07, 2013 at 11:14:12PM +0530, Dharmesh Kakadia wrote:
> > > > > > Hi,
> > > > > >
> > > > > > I am trying to move java package structure from com.cloud to
> > > > > > org.apache (
> > > > > > https://issues.apache.org/jira/browse/CLOUDSTACK-212). I am
> > > thinking of doing it the following way (Totally newbie), needed
> feedback
> > on
> > > that.
> > > > > >
> > > > > > 1. grep "com.cloud" on the entire repo.
> > > > > > 2. update all package declarations using eclipse.
> > > > > > 3. Update scripts etc found in 1 manually.
> > > > > >
> > > > > > Will it be a good way to do it ? Any better suggestion ?
> > > > > >
> > > > > > Thanks,
> > > > > > Dharmesh
> > > > >
> > > > > That seems like a reasonable approach.  We will probably want to
> > > > > create a branch when you submit a patch for this, and apply it
> > > > > there...  just to spend some time ensuring that the changes work.
> > > > >
> > > > > -chip
> > > > >
> >
>


Re: Suggestion needed for CLOUDSTACK-212

2013-05-10 Thread Dharmesh Kakadia
ok. great.

Thanks,
Dharmesh


On Sat, May 11, 2013 at 5:53 AM, David Nalley  wrote:

> Dharmesh:
>
> Thanks for tackling this - I imagine there might be a little bit of churn,
> as features finally land in master, but shouldn't be much - I may pull this
> into a feature branch, and we can routinely rebase and see where we stand.
>
> Thanks for being patient and flexible.
>
> --David
>
> On Friday, May 10, 2013, Dharmesh Kakadia wrote:
>
> > Just saw this. I have done the refactoring and code is available at
> >
> >
> https://github.com/dharmeshkakadia/incubator-cloudstack/tree/com.cloud-to-org.apache-refactoringto
> > try. In case we want to do it after 4.2-freeze, I am ready to redo it.
> >
> > Thanks,
> > Dharmesh
> >
> >
> > On Fri, May 10, 2013 at 3:28 AM, Animesh Chaturvedi <
> > animesh.chaturv...@citrix.com > wrote:
> >
> > >
> > >
> > > > -Original Message-
> > > > From: Chip Childers [mailto:chip.child...@sungard.com]
> > > > Sent: Wednesday, May 08, 2013 6:31 AM
> > > > To: dev@cloudstack.apache.org 
> > > > Subject: Re: Suggestion needed for CLOUDSTACK-212
> > > >
> > > > Dharmesh,
> > > >
> > > > I'd also suggest that you actually plan on submitting this after the
> > 4.2
> > > feature
> > > > freeze, to be included in 4.3.  This is the type of change that has
> > > bitten us
> > > > with almost every release...  and doing it close to the end of the
> > merge
> > > > window may not be a good idea.  Our general preference is to do these
> > > types
> > > > of changes in master right *after* the latest feature release has
> it's
> > > branch
> > > > cut.
> > > >
> > > > -chip
> > > [Animesh>] yes 4.2 freeze is just 3 weeks out. This can be merged into
> > > master in early June
> > > >
> > > > On Wed, May 08, 2013 at 10:29:22AM +0530, Dharmesh Kakadia wrote:
> > > > > ok. I will go with that.
> > > > >
> > > > > Thanks,
> > > > > Dharmesh
> > > > >
> > > > > On Wed, May 8, 2013 at 1:08 AM, Chip Childers
> > > > >wrote:
> > > > >
> > > > > > On Tue, May 07, 2013 at 11:14:12PM +0530, Dharmesh Kakadia wrote:
> > > > > > > Hi,
> > > > > > >
> > > > > > > I am trying to move java package structure from com.cloud to
> > > > > > > org.apache (
> > > > > > > https://issues.apache.org/jira/browse/CLOUDSTACK-212). I am
> > > > thinking of doing it the following way (Totally newbie), needed
> > feedback
> > > on
> > > > that.
> > > > > > >
> > > > > > > 1. grep "com.cloud" on the entire repo.
> > > > > > > 2. update all package declarations using eclipse.
> > > > > > > 3. Update scripts etc found in 1 manually.
> > > > > > >
> > > > > > > Will it be a good way to do it ? Any better suggestion ?
> > > > > > >
> > > > > > > Thanks,
> > > > > > > Dharmesh
> > > > > >
> > > > > > That seems like a reasonable approach.  We will probably want to
> > > > > > create a branch when you submit a patch for this, and apply it
> > > > > > there...  just to spend some time ensuring that the changes work.
> > > > > >
> > > > > > -chip
> > > > > >
> > >
> >
>